@mxtommy/kip 3.10.3 → 3.10.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/CHANGELOG.md +7 -1
  2. package/package.json +1 -1
  3. package/public/{chunk-AREYGJLO.js → chunk-2MAVQD65.js} +1 -1
  4. package/public/{chunk-X45MUE6N.js → chunk-66OJ5PZF.js} +1 -1
  5. package/public/{chunk-2XB2ZNXV.js → chunk-6NRGS3BZ.js} +1 -1
  6. package/public/{chunk-DSWRNQDG.js → chunk-ANRGX57I.js} +11 -11
  7. package/public/{chunk-HHR4WMHS.js → chunk-CS5U3NWY.js} +1 -1
  8. package/public/{chunk-4N6AW5Y5.js → chunk-EJ4JM3HG.js} +1 -1
  9. package/public/{chunk-RJDZKEUA.js → chunk-F4VOQO2M.js} +1 -1
  10. package/public/{chunk-JDDRJMPN.js → chunk-FFE275CO.js} +1 -1
  11. package/public/{chunk-SVI34QP4.js → chunk-FPMCI7XZ.js} +1 -1
  12. package/public/{chunk-KABAIECE.js → chunk-G4B4D3XR.js} +1 -1
  13. package/public/{chunk-ZOYXBB55.js → chunk-GIZH6HIB.js} +1 -1
  14. package/public/{chunk-LYPFRDZT.js → chunk-GMZROOAF.js} +1 -1
  15. package/public/{chunk-B6IRZFL5.js → chunk-I6UWIF55.js} +1 -1
  16. package/public/{chunk-O2GGGUBC.js → chunk-IZAPOSYM.js} +1 -1
  17. package/public/{chunk-JHI7SSDT.js → chunk-KPOCVRYH.js} +1 -1
  18. package/public/{chunk-MRF22PVK.js → chunk-OX4U3HT6.js} +1 -1
  19. package/public/{chunk-DSBAZLLN.js → chunk-PYBIMDD3.js} +1 -1
  20. package/public/{chunk-QZO4362R.js → chunk-TARCFDF4.js} +1 -1
  21. package/public/{chunk-5NKFZDV5.js → chunk-TIXQ3FAF.js} +1 -1
  22. package/public/{chunk-EOXCM3IV.js → chunk-VZ77T3BF.js} +1 -1
  23. package/public/{chunk-4APSKT6I.js → chunk-X5HFS54R.js} +1 -1
  24. package/public/{chunk-ZGO25KK6.js → chunk-XE352AKG.js} +1 -1
  25. package/public/{chunk-WUFURHSA.js → chunk-XFU5YJJP.js} +1 -1
  26. package/public/{chunk-RNSD64U3.js → chunk-Z4FDWG2W.js} +1 -1
  27. package/public/index.html +1 -1
  28. package/public/{main-5QLZ4ZUU.js → main-ASCSBNAW.js} +11 -11
@@ -1,3 +1,3 @@
1
- import{b as Wt,c as jt,f as Ue,g as Yt,h as Jt,k as Xt,m as Le}from"./chunk-5NKFZDV5.js";import{C as Ht,g as Rt,y as Nt,z as Vt}from"./chunk-WUFURHSA.js";import{B as Kt,M as Bt,N as Gt,j as xt,n as Ut,p as Lt,u as zt}from"./chunk-ZOYXBB55.js";import{i as Fe,q as Pe,r as qe,s as qt}from"./chunk-O2GGGUBC.js";import{Ab as L,Bb as z,Bd as At,Cd as Re,E as te,Ed as Dt,F as _e,Fa as q,Fb as _t,Gd as Ie,Hb as Te,Ia as pt,Jb as bt,K as st,Kb as Ee,Lb as Ae,Oa as ht,Od as It,Pa as ft,Ua as gt,V as be,W as we,Wa as ie,Wb as wt,X as V,Xb as Ct,ab as ne,bb as ke,ca as ot,cb as Se,d as Kr,da as lt,e as Nr,ea as re,ga as y,ge as Ft,hb as Me,he as Pt,ib as D,ic as kt,j as ee,ja as H,jb as U,ka as B,kb as yt,la as ct,na as Ce,oc as St,qc as I,ra as ut,rb as xe,rc as De,tb as j,ua as mt,vb as G,vd as Ot,w as ve,wa as dt,wb as vt,xb as Oe,xd as Tt,yb as ae,yc as Mt,yd as oe,z as at,zb as se,zd as Et}from"./chunk-DSWRNQDG.js";var Qt=Kr((ze,Ke)=>{(function(u,w){typeof ze=="object"&&typeof Ke<"u"?Ke.exports=w():typeof define=="function"&&define.amd?define(w):(u=typeof globalThis<"u"?globalThis:u||self,u.Qty=w())})(ze,function(){"use strict";function u(e){return typeof e=="string"||e instanceof String}var w=Number.isFinite||window.isFinite;function t(e){return w(e)}function n(e){return e}function s(e){var r={};return e.filter(function(i){return r.hasOwnProperty(i)?!1:r[i]=!0})}function l(e,r){if(r.length!==e.length)return!1;for(var i=0;i<e.length;i++)if(r[i].compareArray&&!r[i].compareArray(e[i])||r[i]!==e[i])return!1;return!0}function h(e,r){Object.keys(r).forEach(function(i){e[i]=r[i]})}function f(){for(var e=1,r=0,i=0;i<arguments.length;i++){var a=arguments[i];r=r+Ve(a),e*=a}return r!==0?Y(e,r):e}function v(e,r){if(r===0)throw new Error("Divide by zero");var i=Math.pow(10,Ve(r)),a=i/(i*r);return f(e,a)}function Y(e,r){return Math.round(e*Math.pow(10,r))/Math.pow(10,r)}function Ve(e){if(!isFinite(e))return 0;for(var r=0;e%1!==0;)e*=10,r++;return r}function p(){var e;if(!this)return e=Object.create(p.prototype),p.apply(e,arguments),e;e=Error.apply(this,arguments),this.name="QtyError",this.message=e.message,this.stack=e.stack}p.prototype=Object.create(Error.prototype,{constructor:{value:p}});function W(e,r){throw new p("Incompatible units: "+e+" and "+r)}var x={"<googol>":[["googol"],1e100,"prefix"],"<kibi>":[["Ki","Kibi","kibi"],Math.pow(2,10),"prefix"],"<mebi>":[["Mi","Mebi","mebi"],Math.pow(2,20),"prefix"],"<gibi>":[["Gi","Gibi","gibi"],Math.pow(2,30),"prefix"],"<tebi>":[["Ti","Tebi","tebi"],Math.pow(2,40),"prefix"],"<pebi>":[["Pi","Pebi","pebi"],Math.pow(2,50),"prefix"],"<exi>":[["Ei","Exi","exi"],Math.pow(2,60),"prefix"],"<zebi>":[["Zi","Zebi","zebi"],Math.pow(2,70),"prefix"],"<yebi>":[["Yi","Yebi","yebi"],Math.pow(2,80),"prefix"],"<yotta>":[["Y","Yotta","yotta"],1e24,"prefix"],"<zetta>":[["Z","Zetta","zetta"],1e21,"prefix"],"<exa>":[["E","Exa","exa"],1e18,"prefix"],"<peta>":[["P","Peta","peta"],1e15,"prefix"],"<tera>":[["T","Tera","tera"],1e12,"prefix"],"<giga>":[["G","Giga","giga"],1e9,"prefix"],"<mega>":[["M","Mega","mega"],1e6,"prefix"],"<kilo>":[["k","kilo"],1e3,"prefix"],"<hecto>":[["h","Hecto","hecto"],100,"prefix"],"<deca>":[["da","Deca","deca","deka"],10,"prefix"],"<deci>":[["d","Deci","deci"],.1,"prefix"],"<centi>":[["c","Centi","centi"],.01,"prefix"],"<milli>":[["m","Milli","milli"],.001,"prefix"],"<micro>":[["u","\u03BC","\xB5","Micro","mc","micro"],1e-6,"prefix"],"<nano>":[["n","Nano","nano"],1e-9,"prefix"],"<pico>":[["p","Pico","pico"],1e-12,"prefix"],"<femto>":[["f","Femto","femto"],1e-15,"prefix"],"<atto>":[["a","Atto","atto"],1e-18,"prefix"],"<zepto>":[["z","Zepto","zepto"],1e-21,"prefix"],"<yocto>":[["y","Yocto","yocto"],1e-24,"prefix"],"<1>":[["1","<1>"],1,""],"<meter>":[["m","meter","meters","metre","metres"],1,"length",["<meter>"]],"<inch>":[["in","inch","inches",'"'],.0254,"length",["<meter>"]],"<foot>":[["ft","foot","feet","'"],.3048,"length",["<meter>"]],"<yard>":[["yd","yard","yards"],.9144,"length",["<meter>"]],"<mile>":[["mi","mile","miles"],1609.344,"length",["<meter>"]],"<naut-mile>":[["nmi","naut-mile"],1852,"length",["<meter>"]],"<league>":[["league","leagues"],4828,"length",["<meter>"]],"<furlong>":[["furlong","furlongs"],201.2,"length",["<meter>"]],"<rod>":[["rd","rod","rods"],5.029,"length",["<meter>"]],"<mil>":[["mil","mils"],254e-7,"length",["<meter>"]],"<angstrom>":[["ang","angstrom","angstroms"],1e-10,"length",["<meter>"]],"<fathom>":[["fathom","fathoms"],1.829,"length",["<meter>"]],"<pica>":[["pica","picas"],.00423333333,"length",["<meter>"]],"<point>":[["pt","point","points"],.000352777778,"length",["<meter>"]],"<redshift>":[["z","red-shift","redshift"],1302773e20,"length",["<meter>"]],"<AU>":[["AU","astronomical-unit"],1495979e5,"length",["<meter>"]],"<light-second>":[["ls","light-second"],299792500,"length",["<meter>"]],"<light-minute>":[["lmin","light-minute"],1798755e4,"length",["<meter>"]],"<light-year>":[["ly","light-year"],9460528e9,"length",["<meter>"]],"<parsec>":[["pc","parsec","parsecs"],3085678e10,"length",["<meter>"]],"<datamile>":[["DM","datamile"],1828.8,"length",["<meter>"]],"<kilogram>":[["kg","kilogram","kilograms"],1,"mass",["<kilogram>"]],"<AMU>":[["u","AMU","amu"],1660538921e-36,"mass",["<kilogram>"]],"<dalton>":[["Da","Dalton","Daltons","dalton","daltons"],1660538921e-36,"mass",["<kilogram>"]],"<slug>":[["slug","slugs"],14.5939029,"mass",["<kilogram>"]],"<short-ton>":[["tn","ton","short-ton"],907.18474,"mass",["<kilogram>"]],"<metric-ton>":[["t","tonne","metric-ton"],1e3,"mass",["<kilogram>"]],"<carat>":[["ct","carat","carats"],2e-4,"mass",["<kilogram>"]],"<pound>":[["lbs","lb","pound","pounds","#"],.45359237,"mass",["<kilogram>"]],"<ounce>":[["oz","ounce","ounces"],.0283495231,"mass",["<kilogram>"]],"<gram>":[["g","gram","grams","gramme","grammes"],.001,"mass",["<kilogram>"]],"<grain>":[["grain","grains","gr"],6479891e-11,"mass",["<kilogram>"]],"<dram>":[["dram","drams","dr"],.0017718452,"mass",["<kilogram>"]],"<stone>":[["stone","stones","st"],6.35029318,"mass",["<kilogram>"]],"<hectare>":[["hectare"],1e4,"area",["<meter>","<meter>"]],"<acre>":[["acre","acres"],4046.85642,"area",["<meter>","<meter>"]],"<sqft>":[["sqft"],1,"area",["<foot>","<foot>"]],"<liter>":[["l","L","liter","liters","litre","litres"],.001,"volume",["<meter>","<meter>","<meter>"]],"<gallon>":[["gal","gallon","gallons"],.0037854118,"volume",["<meter>","<meter>","<meter>"]],"<gallon-imp>":[["galimp","gallon-imp","gallons-imp"],.00454609,"volume",["<meter>","<meter>","<meter>"]],"<quart>":[["qt","quart","quarts"],.00094635295,"volume",["<meter>","<meter>","<meter>"]],"<pint>":[["pt","pint","pints"],.000473176475,"volume",["<meter>","<meter>","<meter>"]],"<pint-imp>":[["ptimp","pint-imp","pints-imp"],.00056826125,"volume",["<meter>","<meter>","<meter>"]],"<cup>":[["cu","cup","cups"],.000236588238,"volume",["<meter>","<meter>","<meter>"]],"<fluid-ounce>":[["floz","fluid-ounce","fluid-ounces"],295735297e-13,"volume",["<meter>","<meter>","<meter>"]],"<fluid-ounce-imp>":[["flozimp","floz-imp","fluid-ounce-imp","fluid-ounces-imp"],284130625e-13,"volume",["<meter>","<meter>","<meter>"]],"<tablespoon>":[["tb","tbsp","tbs","tablespoon","tablespoons"],147867648e-13,"volume",["<meter>","<meter>","<meter>"]],"<teaspoon>":[["tsp","teaspoon","teaspoons"],492892161e-14,"volume",["<meter>","<meter>","<meter>"]],"<bushel>":[["bu","bsh","bushel","bushels"],.035239072,"volume",["<meter>","<meter>","<meter>"]],"<oilbarrel>":[["bbl","oilbarrel","oilbarrels","oil-barrel","oil-barrels"],.158987294928,"volume",["<meter>","<meter>","<meter>"]],"<beerbarrel>":[["bl","bl-us","beerbarrel","beerbarrels","beer-barrel","beer-barrels"],.1173477658,"volume",["<meter>","<meter>","<meter>"]],"<beerbarrel-imp>":[["blimp","bl-imp","beerbarrel-imp","beerbarrels-imp","beer-barrel-imp","beer-barrels-imp"],.16365924,"volume",["<meter>","<meter>","<meter>"]],"<kph>":[["kph"],.277777778,"speed",["<meter>"],["<second>"]],"<mph>":[["mph"],.44704,"speed",["<meter>"],["<second>"]],"<knot>":[["kt","kn","kts","knot","knots"],.514444444,"speed",["<meter>"],["<second>"]],"<fps>":[["fps"],.3048,"speed",["<meter>"],["<second>"]],"<gee>":[["gee"],9.80665,"acceleration",["<meter>"],["<second>","<second>"]],"<Gal>":[["Gal"],.01,"acceleration",["<meter>"],["<second>","<second>"]],"<kelvin>":[["degK","kelvin"],1,"temperature",["<kelvin>"]],"<celsius>":[["degC","celsius","celsius","centigrade"],1,"temperature",["<kelvin>"]],"<fahrenheit>":[["degF","fahrenheit"],5/9,"temperature",["<kelvin>"]],"<rankine>":[["degR","rankine"],5/9,"temperature",["<kelvin>"]],"<temp-K>":[["tempK","temp-K"],1,"temperature",["<temp-K>"]],"<temp-C>":[["tempC","temp-C"],1,"temperature",["<temp-K>"]],"<temp-F>":[["tempF","temp-F"],5/9,"temperature",["<temp-K>"]],"<temp-R>":[["tempR","temp-R"],5/9,"temperature",["<temp-K>"]],"<second>":[["s","sec","secs","second","seconds"],1,"time",["<second>"]],"<minute>":[["min","mins","minute","minutes"],60,"time",["<second>"]],"<hour>":[["h","hr","hrs","hour","hours"],3600,"time",["<second>"]],"<day>":[["d","day","days"],3600*24,"time",["<second>"]],"<week>":[["wk","week","weeks"],7*3600*24,"time",["<second>"]],"<fortnight>":[["fortnight","fortnights"],1209600,"time",["<second>"]],"<year>":[["y","yr","year","years","annum"],31556926,"time",["<second>"]],"<decade>":[["decade","decades"],315569260,"time",["<second>"]],"<century>":[["century","centuries"],3155692600,"time",["<second>"]],"<pascal>":[["Pa","pascal","Pascal"],1,"pressure",["<kilogram>"],["<meter>","<second>","<second>"]],"<bar>":[["bar","bars"],1e5,"pressure",["<kilogram>"],["<meter>","<second>","<second>"]],"<mmHg>":[["mmHg"],133.322368,"pressure",["<kilogram>"],["<meter>","<second>","<second>"]],"<inHg>":[["inHg"],3386.3881472,"pressure",["<kilogram>"],["<meter>","<second>","<second>"]],"<torr>":[["torr"],133.322368,"pressure",["<kilogram>"],["<meter>","<second>","<second>"]],"<atm>":[["atm","ATM","atmosphere","atmospheres"],101325,"pressure",["<kilogram>"],["<meter>","<second>","<second>"]],"<psi>":[["psi"],6894.76,"pressure",["<kilogram>"],["<meter>","<second>","<second>"]],"<cmh2o>":[["cmH2O","cmh2o"],98.0638,"pressure",["<kilogram>"],["<meter>","<second>","<second>"]],"<inh2o>":[["inH2O","inh2o"],249.082052,"pressure",["<kilogram>"],["<meter>","<second>","<second>"]],"<poise>":[["P","poise"],.1,"viscosity",["<kilogram>"],["<meter>","<second>"]],"<stokes>":[["St","stokes"],1e-4,"viscosity",["<meter>","<meter>"],["<second>"]],"<mole>":[["mol","mole"],1,"substance",["<mole>"]],"<molar>":[["M","molar"],1e3,"molar_concentration",["<mole>"],["<meter>","<meter>","<meter>"]],"<wtpercent>":[["wt%","wtpercent"],10,"molar_concentration",["<kilogram>"],["<meter>","<meter>","<meter>"]],"<katal>":[["kat","katal","Katal"],1,"activity",["<mole>"],["<second>"]],"<unit>":[["U","enzUnit","unit"],16667e-19,"activity",["<mole>"],["<second>"]],"<farad>":[["F","farad","Farad"],1,"capacitance",["<second>","<second>","<second>","<second>","<ampere>","<ampere>"],["<meter>","<meter>","<kilogram>"]],"<coulomb>":[["C","coulomb","Coulomb"],1,"charge",["<ampere>","<second>"]],"<Ah>":[["Ah"],3600,"charge",["<ampere>","<second>"]],"<ampere>":[["A","Ampere","ampere","amp","amps"],1,"current",["<ampere>"]],"<siemens>":[["S","Siemens","siemens"],1,"conductance",["<second>","<second>","<second>","<ampere>","<ampere>"],["<kilogram>","<meter>","<meter>"]],"<henry>":[["H","Henry","henry"],1,"inductance",["<meter>","<meter>","<kilogram>"],["<second>","<second>","<ampere>","<ampere>"]],"<volt>":[["V","Volt","volt","volts"],1,"potential",["<meter>","<meter>","<kilogram>"],["<second>","<second>","<second>","<ampere>"]],"<ohm>":[["Ohm","ohm","\u03A9","\u2126"],1,"resistance",["<meter>","<meter>","<kilogram>"],["<second>","<second>","<second>","<ampere>","<ampere>"]],"<weber>":[["Wb","weber","webers"],1,"magnetism",["<meter>","<meter>","<kilogram>"],["<second>","<second>","<ampere>"]],"<tesla>":[["T","tesla","teslas"],1,"magnetism",["<kilogram>"],["<second>","<second>","<ampere>"]],"<gauss>":[["G","gauss"],1e-4,"magnetism",["<kilogram>"],["<second>","<second>","<ampere>"]],"<maxwell>":[["Mx","maxwell","maxwells"],1e-8,"magnetism",["<meter>","<meter>","<kilogram>"],["<second>","<second>","<ampere>"]],"<oersted>":[["Oe","oersted","oersteds"],250/Math.PI,"magnetism",["<ampere>"],["<meter>"]],"<joule>":[["J","joule","Joule","joules","Joules"],1,"energy",["<meter>","<meter>","<kilogram>"],["<second>","<second>"]],"<erg>":[["erg","ergs"],1e-7,"energy",["<meter>","<meter>","<kilogram>"],["<second>","<second>"]],"<btu>":[["BTU","btu","BTUs"],1055.056,"energy",["<meter>","<meter>","<kilogram>"],["<second>","<second>"]],"<calorie>":[["cal","calorie","calories"],4.184,"energy",["<meter>","<meter>","<kilogram>"],["<second>","<second>"]],"<Calorie>":[["Cal","Calorie","Calories"],4184,"energy",["<meter>","<meter>","<kilogram>"],["<second>","<second>"]],"<therm-US>":[["th","therm","therms","Therm","therm-US"],105480400,"energy",["<meter>","<meter>","<kilogram>"],["<second>","<second>"]],"<Wh>":[["Wh"],3600,"energy",["<meter>","<meter>","<kilogram>"],["<second>","<second>"]],"<electronvolt>":[["eV","electronvolt","electronvolts"],1602176634e-28,"energy",["<meter>","<meter>","<kilogram>"],["<second>","<second>"]],"<newton>":[["N","Newton","newton"],1,"force",["<kilogram>","<meter>"],["<second>","<second>"]],"<dyne>":[["dyn","dyne"],1e-5,"force",["<kilogram>","<meter>"],["<second>","<second>"]],"<pound-force>":[["lbf","pound-force"],4.448222,"force",["<kilogram>","<meter>"],["<second>","<second>"]],"<hertz>":[["Hz","hertz","Hertz"],1,"frequency",["<1>"],["<second>"]],"<radian>":[["rad","radian","radians"],1,"angle",["<radian>"]],"<degree>":[["deg","degree","degrees"],Math.PI/180,"angle",["<radian>"]],"<arcminute>":[["arcmin","arcminute","arcminutes"],Math.PI/10800,"angle",["<radian>"]],"<arcsecond>":[["arcsec","arcsecond","arcseconds"],Math.PI/648e3,"angle",["<radian>"]],"<gradian>":[["gon","grad","gradian","grads"],Math.PI/200,"angle",["<radian>"]],"<steradian>":[["sr","steradian","steradians"],1,"solid_angle",["<steradian>"]],"<rotation>":[["rotation"],2*Math.PI,"angle",["<radian>"]],"<rpm>":[["rpm"],2*Math.PI/60,"angular_velocity",["<radian>"],["<second>"]],"<byte>":[["B","byte","bytes"],1,"information",["<byte>"]],"<bit>":[["b","bit","bits"],.125,"information",["<byte>"]],"<Bps>":[["Bps"],1,"information_rate",["<byte>"],["<second>"]],"<bps>":[["bps"],.125,"information_rate",["<byte>"],["<second>"]],"<dollar>":[["USD","dollar"],1,"currency",["<dollar>"]],"<cents>":[["cents"],.01,"currency",["<dollar>"]],"<candela>":[["cd","candela"],1,"luminosity",["<candela>"]],"<lumen>":[["lm","lumen"],1,"luminous_power",["<candela>","<steradian>"]],"<lux>":[["lux"],1,"illuminance",["<candela>","<steradian>"],["<meter>","<meter>"]],"<watt>":[["W","watt","watts"],1,"power",["<kilogram>","<meter>","<meter>"],["<second>","<second>","<second>"]],"<volt-ampere>":[["VA","volt-ampere"],1,"power",["<kilogram>","<meter>","<meter>"],["<second>","<second>","<second>"]],"<volt-ampere-reactive>":[["var","Var","VAr","VAR","volt-ampere-reactive"],1,"power",["<kilogram>","<meter>","<meter>"],["<second>","<second>","<second>"]],"<horsepower>":[["hp","horsepower"],745.699872,"power",["<kilogram>","<meter>","<meter>"],["<second>","<second>","<second>"]],"<gray>":[["Gy","gray","grays"],1,"radiation",["<meter>","<meter>"],["<second>","<second>"]],"<roentgen>":[["R","roentgen"],.00933,"radiation",["<meter>","<meter>"],["<second>","<second>"]],"<sievert>":[["Sv","sievert","sieverts"],1,"radiation",["<meter>","<meter>"],["<second>","<second>"]],"<becquerel>":[["Bq","becquerel","becquerels"],1,"radiation",["<1>"],["<second>"]],"<curie>":[["Ci","curie","curies"],37e9,"radiation",["<1>"],["<second>"]],"<cpm>":[["cpm"],1/60,"rate",["<count>"],["<second>"]],"<dpm>":[["dpm"],1/60,"rate",["<count>"],["<second>"]],"<bpm>":[["bpm"],1/60,"rate",["<count>"],["<second>"]],"<dot>":[["dot","dots"],1,"resolution",["<each>"]],"<pixel>":[["pixel","px"],1,"resolution",["<each>"]],"<ppi>":[["ppi"],1,"resolution",["<pixel>"],["<inch>"]],"<dpi>":[["dpi"],1,"typography",["<dot>"],["<inch>"]],"<cell>":[["cells","cell"],1,"counting",["<each>"]],"<each>":[["each"],1,"counting",["<each>"]],"<count>":[["count"],1,"counting",["<each>"]],"<base-pair>":[["bp","base-pair"],1,"counting",["<each>"]],"<nucleotide>":[["nt","nucleotide"],1,"counting",["<each>"]],"<molecule>":[["molecule","molecules"],1,"counting",["<1>"]],"<dozen>":[["doz","dz","dozen"],12,"prefix_only",["<each>"]],"<percent>":[["%","percent"],.01,"prefix_only",["<1>"]],"<ppm>":[["ppm"],1e-6,"prefix_only",["<1>"]],"<ppb>":[["ppb"],1e-9,"prefix_only",["<1>"]],"<ppt>":[["ppt"],1e-12,"prefix_only",["<1>"]],"<ppq>":[["ppq"],1e-15,"prefix_only",["<1>"]],"<gross>":[["gr","gross"],144,"prefix_only",["<dozen>","<dozen>"]],"<decibel>":[["dB","decibel","decibels"],1,"logarithmic",["<decibel>"]]},sr=["<meter>","<kilogram>","<second>","<mole>","<ampere>","<radian>","<kelvin>","<temp-K>","<byte>","<dollar>","<candela>","<each>","<steradian>","<decibel>"],J="<1>",C=[J];function or(e,r){var i=r[1],a=r[3]||[],o=r[4]||[];if(!t(i))throw new p(e+": Invalid unit definition. 'scalar' must be a number");a.forEach(function(c){if(x[c]===void 0)throw new p(e+": Invalid unit definition. Unit "+c+" in 'numerator' is not recognized")}),o.forEach(function(c){if(x[c]===void 0)throw new p(e+": Invalid unit definition. Unit "+c+" in 'denominator' is not recognized")})}var A={},X={},S={},K={},Q={};for(var R in x)if(x.hasOwnProperty(R)){var O=x[R];if(O[2]==="prefix"){A[R]=O[1];for(var ce=0;ce<O[0].length;ce++)X[O[0][ce]]=R}else{or(R,O),S[R]={scalar:O[1],numerator:O[3],denominator:O[4]};for(var ue=0;ue<O[0].length;ue++)K[O[0][ue]]=R}Q[R]=O[0][0]}function lr(e){var r,i=[],a=Object.keys(x);if(typeof e>"u")for(r=0;r<a.length;r++)["","prefix"].indexOf(x[a[r]][2])===-1&&i.push(a[r].substr(1,a[r].length-2));else{if(this.getKinds().indexOf(e)===-1)throw new p("Kind not recognized");for(r=0;r<a.length;r++)x[a[r]][2]===e&&i.push(a[r].substr(1,a[r].length-2))}return i.sort(function(o,c){return o.toLowerCase()<c.toLowerCase()?-1:o.toLowerCase()>c.toLowerCase()?1:0})}function cr(e){if(!K[e])throw new p("Unit not recognized");return x[K[e]][0]}var me=["length","time","temperature","mass","current","substance","luminosity","currency","information","angle"];function ur(){if(this.signature)return this.signature;for(var e=He.call(this),r=0;r<e.length;r++)e[r]*=Math.pow(20,r);return e.reduce(function(i,a){return i+a},0)}function He(){if(!this.isBase())return He.call(this.toBase());for(var e=new Array(me.length),r=0;r<e.length;r++)e[r]=0;for(var i,a,o=0;o<this.numerator.length;o++)(i=x[this.numerator[o]])&&(a=me.indexOf(i[2]),a>=0&&(e[a]=e[a]+1));for(var c=0;c<this.denominator.length;c++)(i=x[this.denominator[c]])&&(a=me.indexOf(i[2]),a>=0&&(e[a]=e[a]-1));return e}var Be="[+-]",de="\\d+",mr=Be+"?"+de,Ge="\\."+de,dr="(?:"+de+"(?:"+Ge+")?)|(?:"+Ge+")",pr="[Ee]"+mr,hr="(?:"+dr+")(?:"+pr+")?",fr=Be+"?\\s*"+hr,gr="("+fr+")?\\s*([^/]*)(?:/(.+))?",yr=new RegExp("^"+gr+"$"),We="\\^|\\*{2}",je="[01234]",vr=new RegExp("([^ \\*\\d]+?)(?:"+We+")?(-?"+je+"(?![a-zA-Z]))"),_r=new RegExp("([^ \\*\\d]+?)(?:"+We+")?("+je+"(?![a-zA-Z]))");function Ye(e){u(e)||(e=e.toString()),e=e.trim();var r=yr.exec(e);if(!r)throw new p(e+": Quantity not recognized");var i=r[1];i?(i=i.replace(/\s/g,""),this.scalar=parseFloat(i)):this.scalar=1;for(var a=r[2],o=r[3],c,_,g;r=vr.exec(a);){if(c=parseFloat(r[2]),isNaN(c))throw new p("Unit exponent is not a number");if(c===0&&!pe.test(r[1]))throw new p("Unit not recognized");_=r[1]+" ",g="";for(var b=0;b<Math.abs(c);b++)g+=_;c>=0?a=a.replace(r[0],g):(o=o?o+g:g,a=a.replace(r[0],""))}for(;r=_r.exec(o);){if(c=parseFloat(r[2]),isNaN(c))throw new p("Unit exponent is not a number");if(c===0&&!pe.test(r[1]))throw new p("Unit not recognized");_=r[1]+" ",g="";for(var M=0;M<c;M++)g+=_;o=o.replace(r[0],g)}a&&(this.numerator=Qe(a.trim())),o&&(this.denominator=Qe(o.trim()))}var br=Object.keys(X).sort(function(e,r){return r.length-e.length}).join("|"),wr=Object.keys(K).sort(function(e,r){return r.length-e.length}).join("|"),Cr="\\b|$",Je="("+br+")??("+wr+")(?:"+Cr+")",pe=new RegExp("^\\s*("+Je+"[\\s\\*]*)+$"),kr=new RegExp(Je,"g"),Xe={};function Qe(e){var r=Xe[e];if(r)return r;var i,a=[];if(!pe.test(e))throw new p("Unit not recognized");for(;i=kr.exec(e);)a.push(i.slice(1));return a=a.map(function(o){return X[o[0]]?[X[o[0]],K[o[1]]]:[K[o[1]]]}),a=a.reduce(function(o,c){return o.concat(c)},[]),a=a.filter(function(o){return o}),Xe[e]=a,a}function Sr(e){if(!u(e))throw new p("Argument should be a string");try{return this(e)}catch{return null}}function Z(e){return e instanceof m}function m(e,r){if(Mr.apply(null,arguments),!Z(this))return new m(e,r);if(this.scalar=null,this.baseScalar=null,this.signature=null,this._conversionCache={},this.numerator=C,this.denominator=C,Ze(e)?(this.scalar=e.scalar,this.numerator=e.numerator&&e.numerator.length!==0?e.numerator:C,this.denominator=e.denominator&&e.denominator.length!==0?e.denominator:C):r?(Ye.call(this,r),this.scalar=e):Ye.call(this,e),this.denominator.join("*").indexOf("temp")>=0)throw new p("Cannot divide with temperatures");if(this.numerator.join("*").indexOf("temp")>=0){if(this.numerator.length>1)throw new p("Cannot multiply by temperatures");if(!l(this.denominator,C))throw new p("Cannot divide with temperatures")}if(this.initValue=e,xr.call(this),this.isTemperature()&&this.baseScalar<0)throw new p("Temperatures must not be less than absolute zero")}m.prototype={constructor:m};function Mr(e,r){if(r){if(!(t(e)&&u(r)))throw new p("Only number accepted as initialization value when units are explicitly provided")}else if(!(u(e)||t(e)||Z(e)||Ze(e)))throw new p("Only string, number or quantity accepted as single initialization value")}function Ze(e){return e&&typeof e=="object"&&e.hasOwnProperty("scalar")}function xr(){if(this.baseScalar)return this.baseScalar;if(this.isBase())this.baseScalar=this.scalar,this.signature=ur.call(this);else{var e=this.toBase();this.baseScalar=e.scalar,this.signature=e.signature}}var he={"-312078":"elastance","-312058":"resistance","-312038":"inductance","-152058":"potential","-152040":"magnetism","-152038":"magnetism","-7997":"specific_volume","-79":"snap","-59":"jolt","-39":"acceleration","-38":"radiation","-20":"frequency","-19":"speed","-18":"viscosity","-17":"volumetric_flow","-1":"wavenumber",0:"unitless",1:"length",2:"area",3:"volume",20:"time",400:"temperature",7941:"yank",7942:"power",7959:"pressure",7961:"force",7962:"energy",7979:"viscosity",7981:"momentum",7982:"angular_momentum",7997:"density",7998:"area_density",8e3:"mass",152020:"radiation_exposure",159999:"magnetism",16e4:"current",160020:"charge",312058:"conductance",312078:"capacitance",3199980:"activity",3199997:"molar_concentration",32e5:"substance",63999998:"illuminance",64e6:"luminous_power",128e7:"currency","25599999980":"information_rate","25600000000":"information","511999999980":"angular_velocity","512000000000":"angle"};function Or(){return s(Object.keys(he).map(function(e){return he[e]}))}m.prototype.kind=function(){return he[this.signature.toString()]},h(m.prototype,{isDegrees:function(){return(this.signature===null||this.signature===400)&&this.numerator.length===1&&l(this.denominator,C)&&(this.numerator[0].match(/<temp-[CFRK]>/)||this.numerator[0].match(/<(kelvin|celsius|rankine|fahrenheit)>/))},isTemperature:function(){return this.isDegrees()&&this.numerator[0].match(/<temp-[CFRK]>/)}});function Tr(e,r){var i=e.units(),a=r.to(i),o=m(fe(i));return m({scalar:e.scalar-a.scalar,numerator:o.numerator,denominator:o.denominator})}function Er(e,r){var i=r.to(fe(e.units()));return m({scalar:e.scalar-i.scalar,numerator:e.numerator,denominator:e.denominator})}function $e(e,r){var i=r.to(fe(e.units()));return m({scalar:e.scalar+i.scalar,numerator:e.numerator,denominator:e.denominator})}function fe(e){if(e==="tempK")return"degK";if(e==="tempC")return"degC";if(e==="tempF")return"degF";if(e==="tempR")return"degR";throw new p("Unknown type for temp conversion from: "+e)}function Ar(e,r){var i=Dr(e),a=r.units(),o;if(a==="degK")o=i.scalar;else if(a==="degC")o=i.scalar;else if(a==="degF")o=i.scalar*9/5;else if(a==="degR")o=i.scalar*9/5;else throw new p("Unknown type for degree conversion to: "+a);return m({scalar:o,numerator:r.numerator,denominator:r.denominator})}function Dr(e){var r=e.units(),i;if(r.match(/(deg)[CFRK]/))i=e.baseScalar;else if(r==="tempK")i=e.scalar;else if(r==="tempC")i=e.scalar;else if(r==="tempF")i=e.scalar*5/9;else if(r==="tempR")i=e.scalar*5/9;else throw new p("Unknown type for temp conversion from: "+r);return m({scalar:i,numerator:["<kelvin>"],denominator:C})}function Rr(e,r){var i=r.units(),a;if(i==="tempK")a=e.baseScalar;else if(i==="tempC")a=e.baseScalar-273.15;else if(i==="tempF")a=e.baseScalar*9/5-459.67;else if(i==="tempR")a=e.baseScalar*9/5;else throw new p("Unknown type for temp conversion to: "+i);return m({scalar:a,numerator:r.numerator,denominator:r.denominator})}function Ir(e){var r=e.units(),i;if(r.match(/(deg)[CFRK]/))i=e.baseScalar;else if(r==="tempK")i=e.scalar;else if(r==="tempC")i=e.scalar+273.15;else if(r==="tempF")i=(e.scalar+459.67)*5/9;else if(r==="tempR")i=e.scalar*5/9;else throw new p("Unknown type for temp conversion from: "+r);return m({scalar:i,numerator:["<temp-K>"],denominator:C})}h(m.prototype,{to:function(e){var r,i;if(e==null)return this;if(!u(e))return this.to(e.units());if(r=this._conversionCache[e],r)return r;if(i=m(e),i.units()===this.units())return this;if(!this.isCompatible(i))this.isInverse(i)?i=this.inverse().to(e):W(this.units(),i.units());else if(i.isTemperature())i=Rr(this,i);else if(i.isDegrees())i=Ar(this,i);else{var a=v(this.baseScalar,i.baseScalar);i=m({scalar:a,numerator:i.numerator,denominator:i.denominator})}return this._conversionCache[e]=i,i},toBase:function(){if(this.isBase())return this;if(this.isTemperature())return Ir(this);var e=et[this.units()];return e||(e=Pr(this.numerator,this.denominator),et[this.units()]=e),e.mul(this.scalar)},toFloat:function(){if(this.isUnitless())return this.scalar;throw new p("Can't convert to Float unless unitless. Use Unit#scalar")},toPrec:function(e){if(u(e)&&(e=m(e)),t(e)&&(e=m(e+" "+this.units())),this.isUnitless()?e.isUnitless()||W(this.units(),e.units()):e=e.to(this.units()),e.scalar===0)throw new p("Divide by zero");var r=f(Math.round(this.scalar/e.scalar),e.scalar);return m(r+this.units())}});function Fr(e,r){var i=m(e),a=m(r);if(i.eq(a))return n;var o;return i.isTemperature()?o=function(c){return i.mul(c).to(a).scalar}:o=function(c){return c*i.baseScalar/a.baseScalar},function(_){var g,b,M;if(Array.isArray(_)){for(b=_.length,M=[],g=0;g<b;g++)M.push(o(_[g]));return M}else return o(_)}}var et={};function Pr(e,r){for(var i=[],a=[],o=1,c,_=0;_<e.length;_++)c=e[_],A[c]?o=f(o,A[c]):S[c]&&(o*=S[c].scalar,S[c].numerator&&i.push(S[c].numerator),S[c].denominator&&a.push(S[c].denominator));for(var g=0;g<r.length;g++)c=r[g],A[c]?o/=A[c]:S[c]&&(o/=S[c].scalar,S[c].numerator&&a.push(S[c].numerator),S[c].denominator&&i.push(S[c].denominator));return i=i.reduce(function(b,M){return b.concat(M)},[]),a=a.reduce(function(b,M){return b.concat(M)},[]),m({scalar:o,numerator:i,denominator:a})}m.parse=Sr,m.getUnits=lr,m.getAliases=cr,m.mulSafe=f,m.divSafe=v,m.getKinds=Or,m.swiftConverter=Fr,m.Error=p,h(m.prototype,{add:function(e){if(u(e)&&(e=m(e)),this.isCompatible(e)||W(this.units(),e.units()),this.isTemperature()&&e.isTemperature())throw new p("Cannot add two temperatures");return this.isTemperature()?$e(this,e):e.isTemperature()?$e(e,this):m({scalar:this.scalar+e.to(this).scalar,numerator:this.numerator,denominator:this.denominator})},sub:function(e){if(u(e)&&(e=m(e)),this.isCompatible(e)||W(this.units(),e.units()),this.isTemperature()&&e.isTemperature())return Tr(this,e);if(this.isTemperature())return Er(this,e);if(e.isTemperature())throw new p("Cannot subtract a temperature from a differential degree unit");return m({scalar:this.scalar-e.to(this).scalar,numerator:this.numerator,denominator:this.denominator})},mul:function(e){if(t(e))return m({scalar:f(this.scalar,e),numerator:this.numerator,denominator:this.denominator});if(u(e)&&(e=m(e)),(this.isTemperature()||e.isTemperature())&&!(this.isUnitless()||e.isUnitless()))throw new p("Cannot multiply by temperatures");var r=this,i=e;r.isCompatible(i)&&r.signature!==400&&(i=i.to(r));var a=tt(r.numerator,r.denominator,i.numerator,i.denominator);return m({scalar:f(r.scalar,i.scalar,a[2]),numerator:a[0],denominator:a[1]})},div:function(e){if(t(e)){if(e===0)throw new p("Divide by zero");return m({scalar:this.scalar/e,numerator:this.numerator,denominator:this.denominator})}else u(e)&&(e=m(e));if(e.scalar===0)throw new p("Divide by zero");if(e.isTemperature())throw new p("Cannot divide with temperatures");if(this.isTemperature()&&!e.isUnitless())throw new p("Cannot divide with temperatures");var r=this,i=e;r.isCompatible(i)&&r.signature!==400&&(i=i.to(r));var a=tt(r.numerator,r.denominator,i.denominator,i.numerator);return m({scalar:f(r.scalar,a[2])/i.scalar,numerator:a[0],denominator:a[1]})},inverse:function(){if(this.isTemperature())throw new p("Cannot divide with temperatures");if(this.scalar===0)throw new p("Divide by zero");return m({scalar:1/this.scalar,numerator:this.denominator,denominator:this.numerator})}});function tt(e,r,i,a){function o(T){return T!==J}e=e.filter(o),i=i.filter(o),r=r.filter(o),a=a.filter(o);var c={};function _(T,F){for(var E,$,ye,P=0;P<T.length;P++)if(A[T[P]]?(E=T[P+1],$=T[P],ye=A[$],P++):(E=T[P],$=null,ye=1),E&&E!==J)if(c[E]){c[E][0]+=F;var zr=c[E][2]?A[c[E][2]]:1;c[E][F===1?3:4]*=v(ye,zr)}else c[E]=[F,E,$,1,1]}_(e,1),_(r,-1),_(i,1),_(a,-1);var g=[],b=[],M=1;for(var nt in c)if(c.hasOwnProperty(nt)){var k=c[nt],N;if(k[0]>0)for(N=0;N<k[0];N++)g.push(k[2]===null?k[1]:[k[2],k[1]]);else if(k[0]<0)for(N=0;N<-k[0];N++)b.push(k[2]===null?k[1]:[k[2],k[1]]);M*=v(k[3],k[4])}return g.length===0&&(g=C),b.length===0&&(b=C),g=g.reduce(function(T,F){return T.concat(F)},[]),b=b.reduce(function(T,F){return T.concat(F)},[]),[g,b,M]}h(m.prototype,{eq:function(e){return this.compareTo(e)===0},lt:function(e){return this.compareTo(e)===-1},lte:function(e){return this.eq(e)||this.lt(e)},gt:function(e){return this.compareTo(e)===1},gte:function(e){return this.eq(e)||this.gt(e)},compareTo:function(e){if(u(e))return this.compareTo(m(e));if(this.isCompatible(e)||W(this.units(),e.units()),this.baseScalar<e.baseScalar)return-1;if(this.baseScalar===e.baseScalar)return 0;if(this.baseScalar>e.baseScalar)return 1},same:function(e){return this.scalar===e.scalar&&this.units()===e.units()}}),h(m.prototype,{isUnitless:function(){return[this.numerator,this.denominator].every(function(e){return l(e,C)})},isCompatible:function(e){return u(e)?this.isCompatible(m(e)):Z(e)&&e.signature!==void 0?this.signature===e.signature:!1},isInverse:function(e){return this.inverse().isCompatible(e)},isBase:function(){return this._isBase!==void 0?this._isBase:this.isDegrees()&&this.numerator[0].match(/<(kelvin|temp-K)>/)?(this._isBase=!0,this._isBase):(this.numerator.concat(this.denominator).forEach(function(e){e!==J&&sr.indexOf(e)===-1&&(this._isBase=!1)},this),this._isBase===!1?this._isBase:(this._isBase=!0,this._isBase))}});function ge(){}ge.prototype.get=function(e){return arguments.length>1&&(e=Array.apply(null,arguments)),e.reduce(function(r,i,a){if(r){var o=r[i];return a===e.length-1?o?o.data:void 0:o}},this)},ge.prototype.set=function(e,r){return arguments.length>2&&(e=Array.prototype.slice.call(arguments,0,-1),r=arguments[arguments.length-1]),e.reduce(function(i,a,o){var c=i[a];return c===void 0&&(c=i[a]={}),o===e.length-1?(c.data=r,r):c},this)};function qr(e,r){return(e+" "+r).trim()}m.formatter=qr,h(m.prototype,{units:function(){if(this._units!==void 0)return this._units;var e=l(this.numerator,C),r=l(this.denominator,C);if(e&&r)return this._units="",this._units;var i=it(this.numerator),a=it(this.denominator);return this._units=i+(r?"":"/"+a),this._units},toString:function(e,r){var i;if(t(e))i=this.units(),r=e;else if(u(e))i=e;else if(Z(e))return this.toPrec(e).toString(r);var a=this.to(i),o=r!==void 0?Y(a.scalar,r):a.scalar;return a=(o+" "+a.units()).trim(),a},format:function(e,r){arguments.length===1&&typeof e=="function"&&(r=e,e=void 0),r=r||m.formatter;var i=this.to(e);return r.call(this,i.scalar,i.units())}});var rt=new ge;function it(e){var r=rt.get(e);if(r)return r;var i=l(e,C);return i?r="1":r=Lr(Ur(e)).join("*"),rt.set(e,r),r}function Ur(e){for(var r=[],i,a,o=0;o<e.length;o++)i=e[o],a=e[o+1],A[i]?(r.push(Q[i]+Q[a]),o++):r.push(Q[i]);return r}function Lr(e){var r=e.reduce(function(i,a){var o=i[a];return o||i.push(o=i[a]=[a,0]),o[1]++,i},[]);return r.map(function(i){return i[0]+(i[1]>1?i[1]:"")})}return m.version="1.8.0",m})});var d=Nr(Qt());var li=(()=>{class u{AppSettingsService=y(xt);data=y(Rt);_defaultUnitsSub;_conversionList=[{group:"Unitless",units:[{measure:"unitless",description:"As-Is numeric value"},{measure:" ",description:"No unit label - As-Is numeric value"}]},{group:"Speed",units:[{measure:"knots",description:"Knots - Nautical miles per hour"},{measure:"kph",description:"kph - Kilometers per hour"},{measure:"mph",description:"mph - Miles per hour"},{measure:"m/s",description:"m/s - Meters per second (base)"}]},{group:"Flow",units:[{measure:"m3/s",description:"Cubic meters per second (base)"},{measure:"l/min",description:"Liters per minute"},{measure:"l/h",description:"Liters per hour"},{measure:"g/min",description:"Gallons per minute"},{measure:"g/h",description:"Gallons per hour"}]},{group:"Fuel Distance",units:[{measure:"m/m3",description:"Meters per cubic meter (base)"},{measure:"nm/l",description:"Nautical Miles per liter"},{measure:"nm/g",description:"Nautical Miles per gallon"},{measure:"km/l",description:"Kilometers per liter"},{measure:"mpg",description:"Miles per Gallon"}]},{group:"Energy Distance",units:[{measure:"m/J",description:"Meters per Joule (base)"},{measure:"nm/J",description:"Nautical Miles per Joule"},{measure:"km/J",description:"Kilometers per Joule"},{measure:"nm/kWh",description:"Nautical Miles per Kilowatt-hour"},{measure:"km/kWh",description:"Kilometers per Kilowatt-hour"}]},{group:"Temperature",units:[{measure:"K",description:"Kelvin (base)"},{measure:"celsius",description:"Celsius"},{measure:"fahrenheit",description:"Fahrenheit"}]},{group:"Length",units:[{measure:"m",description:"Meters (base)"},{measure:"mm",description:"Millimeters"},{measure:"fathom",description:"Fathoms"},{measure:"nm",description:"Nautical Miles"},{measure:"km",description:"Kilometers"},{measure:"mi",description:"Miles"},{measure:"feet",description:"Feet"},{measure:"inch",description:"Inches"}]},{group:"Volume",units:[{measure:"liter",description:"Liters (base)"},{measure:"m3",description:"Cubic Meters"},{measure:"gallon",description:"Gallons"}]},{group:"Current",units:[{measure:"A",description:"Amperes (base)"},{measure:"mA",description:"Milliamperes"}]},{group:"Potential",units:[{measure:"V",description:"Volts (base)"},{measure:"mV",description:"Millivolts"}]},{group:"Charge",units:[{measure:"C",description:"Coulomb (base)"},{measure:"Ah",description:"Ampere*Hours"}]},{group:"Power",units:[{measure:"W",description:"Watts (base)"},{measure:"mW",description:"Milliwatts"}]},{group:"Energy",units:[{measure:"J",description:"Joules (base)"},{measure:"kWh",description:"Kilowatt*Hours"}]},{group:"Resistance",units:[{measure:"ohm",description:"\u2126 (base)"},{measure:"kiloohm",description:"k\u2126"}]},{group:"Pressure",units:[{measure:"Pa",description:"Pa (base)"},{measure:"kPa",description:"kPa"},{measure:"hPa",description:"hPa"},{measure:"mbar",description:"mbar"},{measure:"bar",description:"Bars"},{measure:"psi",description:"psi"},{measure:"mmHg",description:"mmHg"},{measure:"inHg",description:"inHg"}]},{group:"Density",units:[{measure:"kg/m3",description:"Air density - kg/cubic meter (base)"}]},{group:"Time",units:[{measure:"s",description:"Seconds (base)"},{measure:"Minutes",description:"Minutes"},{measure:"Hours",description:"Hours"},{measure:"Days",description:"Days"},{measure:"D HH:MM:SS",description:"Day Hour:Minute:sec"}]},{group:"Angular Velocity",units:[{measure:"rad/s",description:"Radians per second (base)"},{measure:"deg/s",description:"Degrees per second"},{measure:"deg/min",description:"Degrees per minute"}]},{group:"Angle",units:[{measure:"rad",description:"Radians (base)"},{measure:"deg",description:"Degrees"},{measure:"grad",description:"Gradians"}]},{group:"Frequency",units:[{measure:"rpm",description:"RPM - Rotations per minute"},{measure:"Hz",description:"Hz - Hertz (base)"},{measure:"KHz",description:"KHz - Kilohertz"},{measure:"MHz",description:"MHz - Megahertz"},{measure:"GHz",description:"GHz - Gigahertz"}]},{group:"Ratio",units:[{measure:"percent",description:"As percentage value"},{measure:"percentraw",description:"As ratio 0-1 with % sign"},{measure:"ratio",description:"Ratio 0-1 (base)"}]},{group:"Position",units:[{measure:"pdeg",description:"Position Degrees"},{measure:"latitudeMin",description:"Latitude in minutes"},{measure:"latitudeSec",description:"Latitude in seconds"},{measure:"longitudeMin",description:"Longitude in minutes"},{measure:"longitudeSec",description:"Longitude in seconds"}]}];skBaseUnits=[{unit:"s",properties:{display:"s",quantity:"Time",quantityDisplay:"t",description:"Elapsed time (interval) in seconds"}},{unit:"Hz",properties:{display:"Hz",quantity:"Frequency",quantityDisplay:"f",description:"Frequency in Hertz"}},{unit:"m3",properties:{display:"m\xB3",quantity:"Volume",quantityDisplay:"V",description:"Volume in cubic meters"}},{unit:"m3/s",properties:{display:"m\xB3/s",quantity:"Flow",quantityDisplay:"Q",description:"Liquid or gas flow in cubic meters per second"}},{unit:"kg/s",properties:{display:"kg/s",quantity:"Mass flow rate",quantityDisplay:"\u1E41",description:"Liquid or gas flow in kilograms per second"}},{unit:"kg/m3",properties:{display:"kg/m\xB3",quantity:"Density",quantityDisplay:"\u03C1",description:"Density in kg per cubic meter"}},{unit:"deg",properties:{display:"Position",quantity:"Angle",quantityDisplay:"\u2220",description:"Latitude or longitude in decimal degrees"}},{unit:"rad",properties:{display:"\xB0",quantity:"Angle",quantityDisplay:"\u2220",description:"Angular arc in radians"}},{unit:"rad/s",properties:{display:"\u33AD/s",quantity:"Rotation",quantityDisplay:"\u03C9",description:"Angular rate in radians per second"}},{unit:"A",properties:{display:"A",quantity:"Current",quantityDisplay:"I",description:"Electrical current in ampere"}},{unit:"C",properties:{display:"C",quantity:"Charge",quantityDisplay:"Q",description:"Electrical charge in Coulomb"}},{unit:"V",properties:{display:"V",quantity:"Voltage",quantityDisplay:"V",description:"Electrical potential in volt"}},{unit:"W",properties:{display:"W",quantity:"Power",quantityDisplay:"P",description:"Power in watt"}},{unit:"Nm",properties:{display:"Nm",quantity:"Torque",quantityDisplay:"\u03C4",description:"Torque in Newton meter"}},{unit:"J",properties:{display:"J",quantity:"Energy",quantityDisplay:"E",description:"Electrical energy in joule"}},{unit:"ohm",properties:{display:"\u2126",quantity:"Resistance",quantityDisplay:"R",description:"Electrical resistance in ohm"}},{unit:"m",properties:{display:"m",quantity:"Distance",quantityDisplay:"d",description:"Distance in meters"}},{unit:"m/s",properties:{display:"m/s",quantity:"Speed",quantityDisplay:"v",description:"Speed in meters per second"}},{unit:"m2",properties:{display:"\u33A1",quantity:"Area",quantityDisplay:"A",description:"(Surface) area in square meters"}},{unit:"K",properties:{display:"K",quantity:"Temperature",quantityDisplay:"T",description:"Temperature in kelvin"}},{unit:"Pa",properties:{display:"Pa",quantity:"Pressure",quantityDisplay:"P",description:"Pressure in pascal"}},{unit:"kg",properties:{display:"kg",quantity:"Mass",quantityDisplay:"m",description:"Mass in kilogram"}},{unit:"ratio",properties:{display:"",quantity:"Ratio",quantityDisplay:"\u03C6",description:"Relative value compared to reference or normal value. 0 = 0%, 1 = 100%, 1e-3 = 1 ppt"}},{unit:"m/s2",properties:{display:"m/s\xB2",quantity:"Acceleration",quantityDisplay:"a",description:"Acceleration in meters per second squared"}},{unit:"rad/s2",properties:{display:"rad/s\xB2",quantity:"Angular acceleration",quantityDisplay:"a",description:"Angular acceleration in radians per second squared"}},{unit:"N",properties:{display:"N",quantity:"Force",quantityDisplay:"F",description:"Force in newton"}},{unit:"T",properties:{display:"T",quantity:"Magnetic field",quantityDisplay:"B",description:"Magnetic field strength in tesla"}},{unit:"Lux",properties:{display:"lx",quantity:"Light Intensity",quantityDisplay:"Ev",description:"Light Intensity in lux"}},{unit:"Pa/s",properties:{display:"Pa/s",quantity:"Pressure rate",quantityDisplay:"R",description:"Pressure change rate in pascal per second"}},{unit:"Pa.s",properties:{display:"Pa s",quantity:"Viscosity",quantityDisplay:"\u03BC",description:"Viscosity in pascal seconds"}}];_defaultUnits=null;constructor(){this._defaultUnitsSub=this.AppSettingsService.getDefaultUnitsAsO().subscribe(t=>{this._defaultUnits=t})}unitConversionFunctions={unitless:function(t){return t}," ":function(t){return t},knots:d.default.swiftConverter("m/s","kn"),kph:d.default.swiftConverter("m/s","kph"),"m/s":function(t){return t},mph:d.default.swiftConverter("m/s","mph"),liter:d.default.swiftConverter("m^3","liter"),gallon:d.default.swiftConverter("m^3","gallon"),m3:function(t){return t},"m3/s":function(t){return t},"l/min":d.default.swiftConverter("m^3/s","liter/minute"),"l/h":d.default.swiftConverter("m^3/s","liter/hour"),"g/min":d.default.swiftConverter("m^3/s","gallon/minute"),"g/h":d.default.swiftConverter("m^3/s","gallon/hour"),"m/m3":function(t){return t},"nm/l":d.default.swiftConverter("m/m^3","naut-mile/liter"),"nm/g":d.default.swiftConverter("m/m^3","naut-mile/gallon"),"km/l":d.default.swiftConverter("m/m^3","km/liter"),mpg:d.default.swiftConverter("m/m^3","mile/gallon"),"m/J":function(t){return t},"nm/J":d.default.swiftConverter("m/J","naut-mile/J"),"km/J":d.default.swiftConverter("km/J","km/J"),"nm/kWh":d.default.swiftConverter("m/J","naut-mile/kWh"),"km/kWh":d.default.swiftConverter("m/J","km/kWh"),K:function(t){return t},celsius:d.default.swiftConverter("tempK","tempC"),fahrenheit:d.default.swiftConverter("tempK","tempF"),m:function(t){return t},mm:function(t){return t*1e3},fathom:d.default.swiftConverter("m","fathom"),feet:d.default.swiftConverter("m","foot"),inch:d.default.swiftConverter("m","in"),km:d.default.swiftConverter("m","km"),nm:d.default.swiftConverter("m","nmi"),mi:d.default.swiftConverter("m","mi"),V:function(t){return t},mV:function(t){return t*1e3},A:function(t){return t},mA:function(t){return t*1e3},C:function(t){return t},Ah:d.default.swiftConverter("C","Ah"),W:function(t){return t},mW:function(t){return t*1e3},J:function(t){return t},kWh:d.default.swiftConverter("J","kWh"),ohm:function(t){return t},kiloohm:function(t){return t/1e3},Pa:function(t){return t},bar:d.default.swiftConverter("Pa","bar"),psi:d.default.swiftConverter("Pa","psi"),mmHg:d.default.swiftConverter("Pa","mmHg"),inHg:d.default.swiftConverter("Pa","inHg"),hPa:d.default.swiftConverter("Pa","hPa"),kPa:d.default.swiftConverter("Pa","kPa"),mbar:d.default.swiftConverter("Pa","millibar"),"kg/m3":function(t){return t},s:function(t){return t},Minutes:d.default.swiftConverter("s","minutes"),Hours:d.default.swiftConverter("s","hours"),Days:d.default.swiftConverter("s","days"),"D HH:MM:SS":function(t){t=parseInt(t,10);let n=t<0;t=Math.abs(t);let s=Math.floor(t/86400),l=Math.floor(t%86400/3600),h=Math.floor(t%3600/60),f=Math.floor(t%60),v=n?"-":"";return s>0?v+=s+"d "+l.toString()+":"+h.toString().padStart(2,"0")+":"+f.toString().padStart(2,"0"):v+=l.toString()+":"+h.toString().padStart(2,"0")+":"+f.toString().padStart(2,"0"),v},"rad/s":function(t){return t},"deg/s":d.default.swiftConverter("rad/s","deg/s"),"deg/min":d.default.swiftConverter("rad/s","deg/min"),rpm:function(t){return t*60},Hz:function(t){return t},KHz:function(t){return t/1e3},MHz:function(t){return t/1e6},GHz:function(t){return t/1e9},rad:function(t){return t},deg:d.default.swiftConverter("rad","deg"),grad:d.default.swiftConverter("rad","grad"),percent:function(t){return t*100},percentraw:function(t){return t},ratio:function(t){return t},pdeg:function(t){return t},latitudeMin:function(t){let n=Math.trunc(t),s="N";t<0&&(s="S",n=n*-1);let l=t%1*60;return s=="S"&&(l=l*-1),n+"\xB0 "+l.toFixed(2).padStart(5,"0")+"' "+s},latitudeSec:function(t){let n=Math.trunc(t),s="N";t<0&&(s="S",n=n*-1);let l=t%1*60;s=="S"&&(l=l*-1);let h=Math.trunc(l),f=l%1*60;return n+"\xB0 "+h+"' "+f.toFixed(2).padStart(5,"0")+'" '+s},longitudeMin:function(t){let n=Math.trunc(t),s="E";t<0&&(s="W",n=n*-1);let l=t%1*60;return s=="W"&&(l=l*-1),n+"\xB0 "+l.toFixed(2).padStart(5,"0")+"' "+s},longitudeSec:function(t){let n=Math.trunc(t),s="E";t<0&&(s="W",n=n*-1);let l=t%1*60;s=="W"&&(l=l*-1);let h=Math.trunc(l),f=l%1*60;return n+"\xB0 "+h+"' "+f.toFixed(2).padStart(5,"0")+'" '+s}};convertToUnit(t,n){if(!(t in this.unitConversionFunctions)||n===null)return null;let s=+n;return this.unitConversionFunctions[t](s)}getDefaults(){return this._defaultUnits}getConversions(){return this._conversionList}getConversionsForPath(t){let n=this.data.getPathUnitType(t),s="unitless",l="unitless";if(n===null||n==="RFC 3339 (UTC)")return{base:s,conversions:this._conversionList};{let h=this._conversionList.filter(f=>f.group=="Position"&&(t.includes("position.latitude")||t.includes("position.longitude"))?!0:f.units.find(Y=>Y.measure==n)?(l=this._defaultUnits[f.group],!0):!1);return h.length>0?{base:l,conversions:h}:(console.log("[Units Service] Unit type: "+n+", found for path: "+t+`
1
+ import{b as Wt,c as jt,f as Ue,g as Yt,h as Jt,k as Xt,m as Le}from"./chunk-TIXQ3FAF.js";import{C as Ht,g as Rt,y as Nt,z as Vt}from"./chunk-XFU5YJJP.js";import{B as Kt,M as Bt,N as Gt,j as xt,n as Ut,p as Lt,u as zt}from"./chunk-GIZH6HIB.js";import{i as Fe,q as Pe,r as qe,s as qt}from"./chunk-IZAPOSYM.js";import{Ab as L,Bb as z,Bd as At,Cd as Re,E as te,Ed as Dt,F as _e,Fa as q,Fb as _t,Gd as Ie,Hb as Te,Ia as pt,Jb as bt,K as st,Kb as Ee,Lb as Ae,Oa as ht,Od as It,Pa as ft,Ua as gt,V as be,W as we,Wa as ie,Wb as wt,X as V,Xb as Ct,ab as ne,bb as ke,ca as ot,cb as Se,d as Kr,da as lt,e as Nr,ea as re,ga as y,ge as Ft,hb as Me,he as Pt,ib as D,ic as kt,j as ee,ja as H,jb as U,ka as B,kb as yt,la as ct,na as Ce,oc as St,qc as I,ra as ut,rb as xe,rc as De,tb as j,ua as mt,vb as G,vd as Ot,w as ve,wa as dt,wb as vt,xb as Oe,xd as Tt,yb as ae,yc as Mt,yd as oe,z as at,zb as se,zd as Et}from"./chunk-ANRGX57I.js";var Qt=Kr((ze,Ke)=>{(function(u,w){typeof ze=="object"&&typeof Ke<"u"?Ke.exports=w():typeof define=="function"&&define.amd?define(w):(u=typeof globalThis<"u"?globalThis:u||self,u.Qty=w())})(ze,function(){"use strict";function u(e){return typeof e=="string"||e instanceof String}var w=Number.isFinite||window.isFinite;function t(e){return w(e)}function n(e){return e}function s(e){var r={};return e.filter(function(i){return r.hasOwnProperty(i)?!1:r[i]=!0})}function l(e,r){if(r.length!==e.length)return!1;for(var i=0;i<e.length;i++)if(r[i].compareArray&&!r[i].compareArray(e[i])||r[i]!==e[i])return!1;return!0}function h(e,r){Object.keys(r).forEach(function(i){e[i]=r[i]})}function f(){for(var e=1,r=0,i=0;i<arguments.length;i++){var a=arguments[i];r=r+Ve(a),e*=a}return r!==0?Y(e,r):e}function v(e,r){if(r===0)throw new Error("Divide by zero");var i=Math.pow(10,Ve(r)),a=i/(i*r);return f(e,a)}function Y(e,r){return Math.round(e*Math.pow(10,r))/Math.pow(10,r)}function Ve(e){if(!isFinite(e))return 0;for(var r=0;e%1!==0;)e*=10,r++;return r}function p(){var e;if(!this)return e=Object.create(p.prototype),p.apply(e,arguments),e;e=Error.apply(this,arguments),this.name="QtyError",this.message=e.message,this.stack=e.stack}p.prototype=Object.create(Error.prototype,{constructor:{value:p}});function W(e,r){throw new p("Incompatible units: "+e+" and "+r)}var x={"<googol>":[["googol"],1e100,"prefix"],"<kibi>":[["Ki","Kibi","kibi"],Math.pow(2,10),"prefix"],"<mebi>":[["Mi","Mebi","mebi"],Math.pow(2,20),"prefix"],"<gibi>":[["Gi","Gibi","gibi"],Math.pow(2,30),"prefix"],"<tebi>":[["Ti","Tebi","tebi"],Math.pow(2,40),"prefix"],"<pebi>":[["Pi","Pebi","pebi"],Math.pow(2,50),"prefix"],"<exi>":[["Ei","Exi","exi"],Math.pow(2,60),"prefix"],"<zebi>":[["Zi","Zebi","zebi"],Math.pow(2,70),"prefix"],"<yebi>":[["Yi","Yebi","yebi"],Math.pow(2,80),"prefix"],"<yotta>":[["Y","Yotta","yotta"],1e24,"prefix"],"<zetta>":[["Z","Zetta","zetta"],1e21,"prefix"],"<exa>":[["E","Exa","exa"],1e18,"prefix"],"<peta>":[["P","Peta","peta"],1e15,"prefix"],"<tera>":[["T","Tera","tera"],1e12,"prefix"],"<giga>":[["G","Giga","giga"],1e9,"prefix"],"<mega>":[["M","Mega","mega"],1e6,"prefix"],"<kilo>":[["k","kilo"],1e3,"prefix"],"<hecto>":[["h","Hecto","hecto"],100,"prefix"],"<deca>":[["da","Deca","deca","deka"],10,"prefix"],"<deci>":[["d","Deci","deci"],.1,"prefix"],"<centi>":[["c","Centi","centi"],.01,"prefix"],"<milli>":[["m","Milli","milli"],.001,"prefix"],"<micro>":[["u","\u03BC","\xB5","Micro","mc","micro"],1e-6,"prefix"],"<nano>":[["n","Nano","nano"],1e-9,"prefix"],"<pico>":[["p","Pico","pico"],1e-12,"prefix"],"<femto>":[["f","Femto","femto"],1e-15,"prefix"],"<atto>":[["a","Atto","atto"],1e-18,"prefix"],"<zepto>":[["z","Zepto","zepto"],1e-21,"prefix"],"<yocto>":[["y","Yocto","yocto"],1e-24,"prefix"],"<1>":[["1","<1>"],1,""],"<meter>":[["m","meter","meters","metre","metres"],1,"length",["<meter>"]],"<inch>":[["in","inch","inches",'"'],.0254,"length",["<meter>"]],"<foot>":[["ft","foot","feet","'"],.3048,"length",["<meter>"]],"<yard>":[["yd","yard","yards"],.9144,"length",["<meter>"]],"<mile>":[["mi","mile","miles"],1609.344,"length",["<meter>"]],"<naut-mile>":[["nmi","naut-mile"],1852,"length",["<meter>"]],"<league>":[["league","leagues"],4828,"length",["<meter>"]],"<furlong>":[["furlong","furlongs"],201.2,"length",["<meter>"]],"<rod>":[["rd","rod","rods"],5.029,"length",["<meter>"]],"<mil>":[["mil","mils"],254e-7,"length",["<meter>"]],"<angstrom>":[["ang","angstrom","angstroms"],1e-10,"length",["<meter>"]],"<fathom>":[["fathom","fathoms"],1.829,"length",["<meter>"]],"<pica>":[["pica","picas"],.00423333333,"length",["<meter>"]],"<point>":[["pt","point","points"],.000352777778,"length",["<meter>"]],"<redshift>":[["z","red-shift","redshift"],1302773e20,"length",["<meter>"]],"<AU>":[["AU","astronomical-unit"],1495979e5,"length",["<meter>"]],"<light-second>":[["ls","light-second"],299792500,"length",["<meter>"]],"<light-minute>":[["lmin","light-minute"],1798755e4,"length",["<meter>"]],"<light-year>":[["ly","light-year"],9460528e9,"length",["<meter>"]],"<parsec>":[["pc","parsec","parsecs"],3085678e10,"length",["<meter>"]],"<datamile>":[["DM","datamile"],1828.8,"length",["<meter>"]],"<kilogram>":[["kg","kilogram","kilograms"],1,"mass",["<kilogram>"]],"<AMU>":[["u","AMU","amu"],1660538921e-36,"mass",["<kilogram>"]],"<dalton>":[["Da","Dalton","Daltons","dalton","daltons"],1660538921e-36,"mass",["<kilogram>"]],"<slug>":[["slug","slugs"],14.5939029,"mass",["<kilogram>"]],"<short-ton>":[["tn","ton","short-ton"],907.18474,"mass",["<kilogram>"]],"<metric-ton>":[["t","tonne","metric-ton"],1e3,"mass",["<kilogram>"]],"<carat>":[["ct","carat","carats"],2e-4,"mass",["<kilogram>"]],"<pound>":[["lbs","lb","pound","pounds","#"],.45359237,"mass",["<kilogram>"]],"<ounce>":[["oz","ounce","ounces"],.0283495231,"mass",["<kilogram>"]],"<gram>":[["g","gram","grams","gramme","grammes"],.001,"mass",["<kilogram>"]],"<grain>":[["grain","grains","gr"],6479891e-11,"mass",["<kilogram>"]],"<dram>":[["dram","drams","dr"],.0017718452,"mass",["<kilogram>"]],"<stone>":[["stone","stones","st"],6.35029318,"mass",["<kilogram>"]],"<hectare>":[["hectare"],1e4,"area",["<meter>","<meter>"]],"<acre>":[["acre","acres"],4046.85642,"area",["<meter>","<meter>"]],"<sqft>":[["sqft"],1,"area",["<foot>","<foot>"]],"<liter>":[["l","L","liter","liters","litre","litres"],.001,"volume",["<meter>","<meter>","<meter>"]],"<gallon>":[["gal","gallon","gallons"],.0037854118,"volume",["<meter>","<meter>","<meter>"]],"<gallon-imp>":[["galimp","gallon-imp","gallons-imp"],.00454609,"volume",["<meter>","<meter>","<meter>"]],"<quart>":[["qt","quart","quarts"],.00094635295,"volume",["<meter>","<meter>","<meter>"]],"<pint>":[["pt","pint","pints"],.000473176475,"volume",["<meter>","<meter>","<meter>"]],"<pint-imp>":[["ptimp","pint-imp","pints-imp"],.00056826125,"volume",["<meter>","<meter>","<meter>"]],"<cup>":[["cu","cup","cups"],.000236588238,"volume",["<meter>","<meter>","<meter>"]],"<fluid-ounce>":[["floz","fluid-ounce","fluid-ounces"],295735297e-13,"volume",["<meter>","<meter>","<meter>"]],"<fluid-ounce-imp>":[["flozimp","floz-imp","fluid-ounce-imp","fluid-ounces-imp"],284130625e-13,"volume",["<meter>","<meter>","<meter>"]],"<tablespoon>":[["tb","tbsp","tbs","tablespoon","tablespoons"],147867648e-13,"volume",["<meter>","<meter>","<meter>"]],"<teaspoon>":[["tsp","teaspoon","teaspoons"],492892161e-14,"volume",["<meter>","<meter>","<meter>"]],"<bushel>":[["bu","bsh","bushel","bushels"],.035239072,"volume",["<meter>","<meter>","<meter>"]],"<oilbarrel>":[["bbl","oilbarrel","oilbarrels","oil-barrel","oil-barrels"],.158987294928,"volume",["<meter>","<meter>","<meter>"]],"<beerbarrel>":[["bl","bl-us","beerbarrel","beerbarrels","beer-barrel","beer-barrels"],.1173477658,"volume",["<meter>","<meter>","<meter>"]],"<beerbarrel-imp>":[["blimp","bl-imp","beerbarrel-imp","beerbarrels-imp","beer-barrel-imp","beer-barrels-imp"],.16365924,"volume",["<meter>","<meter>","<meter>"]],"<kph>":[["kph"],.277777778,"speed",["<meter>"],["<second>"]],"<mph>":[["mph"],.44704,"speed",["<meter>"],["<second>"]],"<knot>":[["kt","kn","kts","knot","knots"],.514444444,"speed",["<meter>"],["<second>"]],"<fps>":[["fps"],.3048,"speed",["<meter>"],["<second>"]],"<gee>":[["gee"],9.80665,"acceleration",["<meter>"],["<second>","<second>"]],"<Gal>":[["Gal"],.01,"acceleration",["<meter>"],["<second>","<second>"]],"<kelvin>":[["degK","kelvin"],1,"temperature",["<kelvin>"]],"<celsius>":[["degC","celsius","celsius","centigrade"],1,"temperature",["<kelvin>"]],"<fahrenheit>":[["degF","fahrenheit"],5/9,"temperature",["<kelvin>"]],"<rankine>":[["degR","rankine"],5/9,"temperature",["<kelvin>"]],"<temp-K>":[["tempK","temp-K"],1,"temperature",["<temp-K>"]],"<temp-C>":[["tempC","temp-C"],1,"temperature",["<temp-K>"]],"<temp-F>":[["tempF","temp-F"],5/9,"temperature",["<temp-K>"]],"<temp-R>":[["tempR","temp-R"],5/9,"temperature",["<temp-K>"]],"<second>":[["s","sec","secs","second","seconds"],1,"time",["<second>"]],"<minute>":[["min","mins","minute","minutes"],60,"time",["<second>"]],"<hour>":[["h","hr","hrs","hour","hours"],3600,"time",["<second>"]],"<day>":[["d","day","days"],3600*24,"time",["<second>"]],"<week>":[["wk","week","weeks"],7*3600*24,"time",["<second>"]],"<fortnight>":[["fortnight","fortnights"],1209600,"time",["<second>"]],"<year>":[["y","yr","year","years","annum"],31556926,"time",["<second>"]],"<decade>":[["decade","decades"],315569260,"time",["<second>"]],"<century>":[["century","centuries"],3155692600,"time",["<second>"]],"<pascal>":[["Pa","pascal","Pascal"],1,"pressure",["<kilogram>"],["<meter>","<second>","<second>"]],"<bar>":[["bar","bars"],1e5,"pressure",["<kilogram>"],["<meter>","<second>","<second>"]],"<mmHg>":[["mmHg"],133.322368,"pressure",["<kilogram>"],["<meter>","<second>","<second>"]],"<inHg>":[["inHg"],3386.3881472,"pressure",["<kilogram>"],["<meter>","<second>","<second>"]],"<torr>":[["torr"],133.322368,"pressure",["<kilogram>"],["<meter>","<second>","<second>"]],"<atm>":[["atm","ATM","atmosphere","atmospheres"],101325,"pressure",["<kilogram>"],["<meter>","<second>","<second>"]],"<psi>":[["psi"],6894.76,"pressure",["<kilogram>"],["<meter>","<second>","<second>"]],"<cmh2o>":[["cmH2O","cmh2o"],98.0638,"pressure",["<kilogram>"],["<meter>","<second>","<second>"]],"<inh2o>":[["inH2O","inh2o"],249.082052,"pressure",["<kilogram>"],["<meter>","<second>","<second>"]],"<poise>":[["P","poise"],.1,"viscosity",["<kilogram>"],["<meter>","<second>"]],"<stokes>":[["St","stokes"],1e-4,"viscosity",["<meter>","<meter>"],["<second>"]],"<mole>":[["mol","mole"],1,"substance",["<mole>"]],"<molar>":[["M","molar"],1e3,"molar_concentration",["<mole>"],["<meter>","<meter>","<meter>"]],"<wtpercent>":[["wt%","wtpercent"],10,"molar_concentration",["<kilogram>"],["<meter>","<meter>","<meter>"]],"<katal>":[["kat","katal","Katal"],1,"activity",["<mole>"],["<second>"]],"<unit>":[["U","enzUnit","unit"],16667e-19,"activity",["<mole>"],["<second>"]],"<farad>":[["F","farad","Farad"],1,"capacitance",["<second>","<second>","<second>","<second>","<ampere>","<ampere>"],["<meter>","<meter>","<kilogram>"]],"<coulomb>":[["C","coulomb","Coulomb"],1,"charge",["<ampere>","<second>"]],"<Ah>":[["Ah"],3600,"charge",["<ampere>","<second>"]],"<ampere>":[["A","Ampere","ampere","amp","amps"],1,"current",["<ampere>"]],"<siemens>":[["S","Siemens","siemens"],1,"conductance",["<second>","<second>","<second>","<ampere>","<ampere>"],["<kilogram>","<meter>","<meter>"]],"<henry>":[["H","Henry","henry"],1,"inductance",["<meter>","<meter>","<kilogram>"],["<second>","<second>","<ampere>","<ampere>"]],"<volt>":[["V","Volt","volt","volts"],1,"potential",["<meter>","<meter>","<kilogram>"],["<second>","<second>","<second>","<ampere>"]],"<ohm>":[["Ohm","ohm","\u03A9","\u2126"],1,"resistance",["<meter>","<meter>","<kilogram>"],["<second>","<second>","<second>","<ampere>","<ampere>"]],"<weber>":[["Wb","weber","webers"],1,"magnetism",["<meter>","<meter>","<kilogram>"],["<second>","<second>","<ampere>"]],"<tesla>":[["T","tesla","teslas"],1,"magnetism",["<kilogram>"],["<second>","<second>","<ampere>"]],"<gauss>":[["G","gauss"],1e-4,"magnetism",["<kilogram>"],["<second>","<second>","<ampere>"]],"<maxwell>":[["Mx","maxwell","maxwells"],1e-8,"magnetism",["<meter>","<meter>","<kilogram>"],["<second>","<second>","<ampere>"]],"<oersted>":[["Oe","oersted","oersteds"],250/Math.PI,"magnetism",["<ampere>"],["<meter>"]],"<joule>":[["J","joule","Joule","joules","Joules"],1,"energy",["<meter>","<meter>","<kilogram>"],["<second>","<second>"]],"<erg>":[["erg","ergs"],1e-7,"energy",["<meter>","<meter>","<kilogram>"],["<second>","<second>"]],"<btu>":[["BTU","btu","BTUs"],1055.056,"energy",["<meter>","<meter>","<kilogram>"],["<second>","<second>"]],"<calorie>":[["cal","calorie","calories"],4.184,"energy",["<meter>","<meter>","<kilogram>"],["<second>","<second>"]],"<Calorie>":[["Cal","Calorie","Calories"],4184,"energy",["<meter>","<meter>","<kilogram>"],["<second>","<second>"]],"<therm-US>":[["th","therm","therms","Therm","therm-US"],105480400,"energy",["<meter>","<meter>","<kilogram>"],["<second>","<second>"]],"<Wh>":[["Wh"],3600,"energy",["<meter>","<meter>","<kilogram>"],["<second>","<second>"]],"<electronvolt>":[["eV","electronvolt","electronvolts"],1602176634e-28,"energy",["<meter>","<meter>","<kilogram>"],["<second>","<second>"]],"<newton>":[["N","Newton","newton"],1,"force",["<kilogram>","<meter>"],["<second>","<second>"]],"<dyne>":[["dyn","dyne"],1e-5,"force",["<kilogram>","<meter>"],["<second>","<second>"]],"<pound-force>":[["lbf","pound-force"],4.448222,"force",["<kilogram>","<meter>"],["<second>","<second>"]],"<hertz>":[["Hz","hertz","Hertz"],1,"frequency",["<1>"],["<second>"]],"<radian>":[["rad","radian","radians"],1,"angle",["<radian>"]],"<degree>":[["deg","degree","degrees"],Math.PI/180,"angle",["<radian>"]],"<arcminute>":[["arcmin","arcminute","arcminutes"],Math.PI/10800,"angle",["<radian>"]],"<arcsecond>":[["arcsec","arcsecond","arcseconds"],Math.PI/648e3,"angle",["<radian>"]],"<gradian>":[["gon","grad","gradian","grads"],Math.PI/200,"angle",["<radian>"]],"<steradian>":[["sr","steradian","steradians"],1,"solid_angle",["<steradian>"]],"<rotation>":[["rotation"],2*Math.PI,"angle",["<radian>"]],"<rpm>":[["rpm"],2*Math.PI/60,"angular_velocity",["<radian>"],["<second>"]],"<byte>":[["B","byte","bytes"],1,"information",["<byte>"]],"<bit>":[["b","bit","bits"],.125,"information",["<byte>"]],"<Bps>":[["Bps"],1,"information_rate",["<byte>"],["<second>"]],"<bps>":[["bps"],.125,"information_rate",["<byte>"],["<second>"]],"<dollar>":[["USD","dollar"],1,"currency",["<dollar>"]],"<cents>":[["cents"],.01,"currency",["<dollar>"]],"<candela>":[["cd","candela"],1,"luminosity",["<candela>"]],"<lumen>":[["lm","lumen"],1,"luminous_power",["<candela>","<steradian>"]],"<lux>":[["lux"],1,"illuminance",["<candela>","<steradian>"],["<meter>","<meter>"]],"<watt>":[["W","watt","watts"],1,"power",["<kilogram>","<meter>","<meter>"],["<second>","<second>","<second>"]],"<volt-ampere>":[["VA","volt-ampere"],1,"power",["<kilogram>","<meter>","<meter>"],["<second>","<second>","<second>"]],"<volt-ampere-reactive>":[["var","Var","VAr","VAR","volt-ampere-reactive"],1,"power",["<kilogram>","<meter>","<meter>"],["<second>","<second>","<second>"]],"<horsepower>":[["hp","horsepower"],745.699872,"power",["<kilogram>","<meter>","<meter>"],["<second>","<second>","<second>"]],"<gray>":[["Gy","gray","grays"],1,"radiation",["<meter>","<meter>"],["<second>","<second>"]],"<roentgen>":[["R","roentgen"],.00933,"radiation",["<meter>","<meter>"],["<second>","<second>"]],"<sievert>":[["Sv","sievert","sieverts"],1,"radiation",["<meter>","<meter>"],["<second>","<second>"]],"<becquerel>":[["Bq","becquerel","becquerels"],1,"radiation",["<1>"],["<second>"]],"<curie>":[["Ci","curie","curies"],37e9,"radiation",["<1>"],["<second>"]],"<cpm>":[["cpm"],1/60,"rate",["<count>"],["<second>"]],"<dpm>":[["dpm"],1/60,"rate",["<count>"],["<second>"]],"<bpm>":[["bpm"],1/60,"rate",["<count>"],["<second>"]],"<dot>":[["dot","dots"],1,"resolution",["<each>"]],"<pixel>":[["pixel","px"],1,"resolution",["<each>"]],"<ppi>":[["ppi"],1,"resolution",["<pixel>"],["<inch>"]],"<dpi>":[["dpi"],1,"typography",["<dot>"],["<inch>"]],"<cell>":[["cells","cell"],1,"counting",["<each>"]],"<each>":[["each"],1,"counting",["<each>"]],"<count>":[["count"],1,"counting",["<each>"]],"<base-pair>":[["bp","base-pair"],1,"counting",["<each>"]],"<nucleotide>":[["nt","nucleotide"],1,"counting",["<each>"]],"<molecule>":[["molecule","molecules"],1,"counting",["<1>"]],"<dozen>":[["doz","dz","dozen"],12,"prefix_only",["<each>"]],"<percent>":[["%","percent"],.01,"prefix_only",["<1>"]],"<ppm>":[["ppm"],1e-6,"prefix_only",["<1>"]],"<ppb>":[["ppb"],1e-9,"prefix_only",["<1>"]],"<ppt>":[["ppt"],1e-12,"prefix_only",["<1>"]],"<ppq>":[["ppq"],1e-15,"prefix_only",["<1>"]],"<gross>":[["gr","gross"],144,"prefix_only",["<dozen>","<dozen>"]],"<decibel>":[["dB","decibel","decibels"],1,"logarithmic",["<decibel>"]]},sr=["<meter>","<kilogram>","<second>","<mole>","<ampere>","<radian>","<kelvin>","<temp-K>","<byte>","<dollar>","<candela>","<each>","<steradian>","<decibel>"],J="<1>",C=[J];function or(e,r){var i=r[1],a=r[3]||[],o=r[4]||[];if(!t(i))throw new p(e+": Invalid unit definition. 'scalar' must be a number");a.forEach(function(c){if(x[c]===void 0)throw new p(e+": Invalid unit definition. Unit "+c+" in 'numerator' is not recognized")}),o.forEach(function(c){if(x[c]===void 0)throw new p(e+": Invalid unit definition. Unit "+c+" in 'denominator' is not recognized")})}var A={},X={},S={},K={},Q={};for(var R in x)if(x.hasOwnProperty(R)){var O=x[R];if(O[2]==="prefix"){A[R]=O[1];for(var ce=0;ce<O[0].length;ce++)X[O[0][ce]]=R}else{or(R,O),S[R]={scalar:O[1],numerator:O[3],denominator:O[4]};for(var ue=0;ue<O[0].length;ue++)K[O[0][ue]]=R}Q[R]=O[0][0]}function lr(e){var r,i=[],a=Object.keys(x);if(typeof e>"u")for(r=0;r<a.length;r++)["","prefix"].indexOf(x[a[r]][2])===-1&&i.push(a[r].substr(1,a[r].length-2));else{if(this.getKinds().indexOf(e)===-1)throw new p("Kind not recognized");for(r=0;r<a.length;r++)x[a[r]][2]===e&&i.push(a[r].substr(1,a[r].length-2))}return i.sort(function(o,c){return o.toLowerCase()<c.toLowerCase()?-1:o.toLowerCase()>c.toLowerCase()?1:0})}function cr(e){if(!K[e])throw new p("Unit not recognized");return x[K[e]][0]}var me=["length","time","temperature","mass","current","substance","luminosity","currency","information","angle"];function ur(){if(this.signature)return this.signature;for(var e=He.call(this),r=0;r<e.length;r++)e[r]*=Math.pow(20,r);return e.reduce(function(i,a){return i+a},0)}function He(){if(!this.isBase())return He.call(this.toBase());for(var e=new Array(me.length),r=0;r<e.length;r++)e[r]=0;for(var i,a,o=0;o<this.numerator.length;o++)(i=x[this.numerator[o]])&&(a=me.indexOf(i[2]),a>=0&&(e[a]=e[a]+1));for(var c=0;c<this.denominator.length;c++)(i=x[this.denominator[c]])&&(a=me.indexOf(i[2]),a>=0&&(e[a]=e[a]-1));return e}var Be="[+-]",de="\\d+",mr=Be+"?"+de,Ge="\\."+de,dr="(?:"+de+"(?:"+Ge+")?)|(?:"+Ge+")",pr="[Ee]"+mr,hr="(?:"+dr+")(?:"+pr+")?",fr=Be+"?\\s*"+hr,gr="("+fr+")?\\s*([^/]*)(?:/(.+))?",yr=new RegExp("^"+gr+"$"),We="\\^|\\*{2}",je="[01234]",vr=new RegExp("([^ \\*\\d]+?)(?:"+We+")?(-?"+je+"(?![a-zA-Z]))"),_r=new RegExp("([^ \\*\\d]+?)(?:"+We+")?("+je+"(?![a-zA-Z]))");function Ye(e){u(e)||(e=e.toString()),e=e.trim();var r=yr.exec(e);if(!r)throw new p(e+": Quantity not recognized");var i=r[1];i?(i=i.replace(/\s/g,""),this.scalar=parseFloat(i)):this.scalar=1;for(var a=r[2],o=r[3],c,_,g;r=vr.exec(a);){if(c=parseFloat(r[2]),isNaN(c))throw new p("Unit exponent is not a number");if(c===0&&!pe.test(r[1]))throw new p("Unit not recognized");_=r[1]+" ",g="";for(var b=0;b<Math.abs(c);b++)g+=_;c>=0?a=a.replace(r[0],g):(o=o?o+g:g,a=a.replace(r[0],""))}for(;r=_r.exec(o);){if(c=parseFloat(r[2]),isNaN(c))throw new p("Unit exponent is not a number");if(c===0&&!pe.test(r[1]))throw new p("Unit not recognized");_=r[1]+" ",g="";for(var M=0;M<c;M++)g+=_;o=o.replace(r[0],g)}a&&(this.numerator=Qe(a.trim())),o&&(this.denominator=Qe(o.trim()))}var br=Object.keys(X).sort(function(e,r){return r.length-e.length}).join("|"),wr=Object.keys(K).sort(function(e,r){return r.length-e.length}).join("|"),Cr="\\b|$",Je="("+br+")??("+wr+")(?:"+Cr+")",pe=new RegExp("^\\s*("+Je+"[\\s\\*]*)+$"),kr=new RegExp(Je,"g"),Xe={};function Qe(e){var r=Xe[e];if(r)return r;var i,a=[];if(!pe.test(e))throw new p("Unit not recognized");for(;i=kr.exec(e);)a.push(i.slice(1));return a=a.map(function(o){return X[o[0]]?[X[o[0]],K[o[1]]]:[K[o[1]]]}),a=a.reduce(function(o,c){return o.concat(c)},[]),a=a.filter(function(o){return o}),Xe[e]=a,a}function Sr(e){if(!u(e))throw new p("Argument should be a string");try{return this(e)}catch{return null}}function Z(e){return e instanceof m}function m(e,r){if(Mr.apply(null,arguments),!Z(this))return new m(e,r);if(this.scalar=null,this.baseScalar=null,this.signature=null,this._conversionCache={},this.numerator=C,this.denominator=C,Ze(e)?(this.scalar=e.scalar,this.numerator=e.numerator&&e.numerator.length!==0?e.numerator:C,this.denominator=e.denominator&&e.denominator.length!==0?e.denominator:C):r?(Ye.call(this,r),this.scalar=e):Ye.call(this,e),this.denominator.join("*").indexOf("temp")>=0)throw new p("Cannot divide with temperatures");if(this.numerator.join("*").indexOf("temp")>=0){if(this.numerator.length>1)throw new p("Cannot multiply by temperatures");if(!l(this.denominator,C))throw new p("Cannot divide with temperatures")}if(this.initValue=e,xr.call(this),this.isTemperature()&&this.baseScalar<0)throw new p("Temperatures must not be less than absolute zero")}m.prototype={constructor:m};function Mr(e,r){if(r){if(!(t(e)&&u(r)))throw new p("Only number accepted as initialization value when units are explicitly provided")}else if(!(u(e)||t(e)||Z(e)||Ze(e)))throw new p("Only string, number or quantity accepted as single initialization value")}function Ze(e){return e&&typeof e=="object"&&e.hasOwnProperty("scalar")}function xr(){if(this.baseScalar)return this.baseScalar;if(this.isBase())this.baseScalar=this.scalar,this.signature=ur.call(this);else{var e=this.toBase();this.baseScalar=e.scalar,this.signature=e.signature}}var he={"-312078":"elastance","-312058":"resistance","-312038":"inductance","-152058":"potential","-152040":"magnetism","-152038":"magnetism","-7997":"specific_volume","-79":"snap","-59":"jolt","-39":"acceleration","-38":"radiation","-20":"frequency","-19":"speed","-18":"viscosity","-17":"volumetric_flow","-1":"wavenumber",0:"unitless",1:"length",2:"area",3:"volume",20:"time",400:"temperature",7941:"yank",7942:"power",7959:"pressure",7961:"force",7962:"energy",7979:"viscosity",7981:"momentum",7982:"angular_momentum",7997:"density",7998:"area_density",8e3:"mass",152020:"radiation_exposure",159999:"magnetism",16e4:"current",160020:"charge",312058:"conductance",312078:"capacitance",3199980:"activity",3199997:"molar_concentration",32e5:"substance",63999998:"illuminance",64e6:"luminous_power",128e7:"currency","25599999980":"information_rate","25600000000":"information","511999999980":"angular_velocity","512000000000":"angle"};function Or(){return s(Object.keys(he).map(function(e){return he[e]}))}m.prototype.kind=function(){return he[this.signature.toString()]},h(m.prototype,{isDegrees:function(){return(this.signature===null||this.signature===400)&&this.numerator.length===1&&l(this.denominator,C)&&(this.numerator[0].match(/<temp-[CFRK]>/)||this.numerator[0].match(/<(kelvin|celsius|rankine|fahrenheit)>/))},isTemperature:function(){return this.isDegrees()&&this.numerator[0].match(/<temp-[CFRK]>/)}});function Tr(e,r){var i=e.units(),a=r.to(i),o=m(fe(i));return m({scalar:e.scalar-a.scalar,numerator:o.numerator,denominator:o.denominator})}function Er(e,r){var i=r.to(fe(e.units()));return m({scalar:e.scalar-i.scalar,numerator:e.numerator,denominator:e.denominator})}function $e(e,r){var i=r.to(fe(e.units()));return m({scalar:e.scalar+i.scalar,numerator:e.numerator,denominator:e.denominator})}function fe(e){if(e==="tempK")return"degK";if(e==="tempC")return"degC";if(e==="tempF")return"degF";if(e==="tempR")return"degR";throw new p("Unknown type for temp conversion from: "+e)}function Ar(e,r){var i=Dr(e),a=r.units(),o;if(a==="degK")o=i.scalar;else if(a==="degC")o=i.scalar;else if(a==="degF")o=i.scalar*9/5;else if(a==="degR")o=i.scalar*9/5;else throw new p("Unknown type for degree conversion to: "+a);return m({scalar:o,numerator:r.numerator,denominator:r.denominator})}function Dr(e){var r=e.units(),i;if(r.match(/(deg)[CFRK]/))i=e.baseScalar;else if(r==="tempK")i=e.scalar;else if(r==="tempC")i=e.scalar;else if(r==="tempF")i=e.scalar*5/9;else if(r==="tempR")i=e.scalar*5/9;else throw new p("Unknown type for temp conversion from: "+r);return m({scalar:i,numerator:["<kelvin>"],denominator:C})}function Rr(e,r){var i=r.units(),a;if(i==="tempK")a=e.baseScalar;else if(i==="tempC")a=e.baseScalar-273.15;else if(i==="tempF")a=e.baseScalar*9/5-459.67;else if(i==="tempR")a=e.baseScalar*9/5;else throw new p("Unknown type for temp conversion to: "+i);return m({scalar:a,numerator:r.numerator,denominator:r.denominator})}function Ir(e){var r=e.units(),i;if(r.match(/(deg)[CFRK]/))i=e.baseScalar;else if(r==="tempK")i=e.scalar;else if(r==="tempC")i=e.scalar+273.15;else if(r==="tempF")i=(e.scalar+459.67)*5/9;else if(r==="tempR")i=e.scalar*5/9;else throw new p("Unknown type for temp conversion from: "+r);return m({scalar:i,numerator:["<temp-K>"],denominator:C})}h(m.prototype,{to:function(e){var r,i;if(e==null)return this;if(!u(e))return this.to(e.units());if(r=this._conversionCache[e],r)return r;if(i=m(e),i.units()===this.units())return this;if(!this.isCompatible(i))this.isInverse(i)?i=this.inverse().to(e):W(this.units(),i.units());else if(i.isTemperature())i=Rr(this,i);else if(i.isDegrees())i=Ar(this,i);else{var a=v(this.baseScalar,i.baseScalar);i=m({scalar:a,numerator:i.numerator,denominator:i.denominator})}return this._conversionCache[e]=i,i},toBase:function(){if(this.isBase())return this;if(this.isTemperature())return Ir(this);var e=et[this.units()];return e||(e=Pr(this.numerator,this.denominator),et[this.units()]=e),e.mul(this.scalar)},toFloat:function(){if(this.isUnitless())return this.scalar;throw new p("Can't convert to Float unless unitless. Use Unit#scalar")},toPrec:function(e){if(u(e)&&(e=m(e)),t(e)&&(e=m(e+" "+this.units())),this.isUnitless()?e.isUnitless()||W(this.units(),e.units()):e=e.to(this.units()),e.scalar===0)throw new p("Divide by zero");var r=f(Math.round(this.scalar/e.scalar),e.scalar);return m(r+this.units())}});function Fr(e,r){var i=m(e),a=m(r);if(i.eq(a))return n;var o;return i.isTemperature()?o=function(c){return i.mul(c).to(a).scalar}:o=function(c){return c*i.baseScalar/a.baseScalar},function(_){var g,b,M;if(Array.isArray(_)){for(b=_.length,M=[],g=0;g<b;g++)M.push(o(_[g]));return M}else return o(_)}}var et={};function Pr(e,r){for(var i=[],a=[],o=1,c,_=0;_<e.length;_++)c=e[_],A[c]?o=f(o,A[c]):S[c]&&(o*=S[c].scalar,S[c].numerator&&i.push(S[c].numerator),S[c].denominator&&a.push(S[c].denominator));for(var g=0;g<r.length;g++)c=r[g],A[c]?o/=A[c]:S[c]&&(o/=S[c].scalar,S[c].numerator&&a.push(S[c].numerator),S[c].denominator&&i.push(S[c].denominator));return i=i.reduce(function(b,M){return b.concat(M)},[]),a=a.reduce(function(b,M){return b.concat(M)},[]),m({scalar:o,numerator:i,denominator:a})}m.parse=Sr,m.getUnits=lr,m.getAliases=cr,m.mulSafe=f,m.divSafe=v,m.getKinds=Or,m.swiftConverter=Fr,m.Error=p,h(m.prototype,{add:function(e){if(u(e)&&(e=m(e)),this.isCompatible(e)||W(this.units(),e.units()),this.isTemperature()&&e.isTemperature())throw new p("Cannot add two temperatures");return this.isTemperature()?$e(this,e):e.isTemperature()?$e(e,this):m({scalar:this.scalar+e.to(this).scalar,numerator:this.numerator,denominator:this.denominator})},sub:function(e){if(u(e)&&(e=m(e)),this.isCompatible(e)||W(this.units(),e.units()),this.isTemperature()&&e.isTemperature())return Tr(this,e);if(this.isTemperature())return Er(this,e);if(e.isTemperature())throw new p("Cannot subtract a temperature from a differential degree unit");return m({scalar:this.scalar-e.to(this).scalar,numerator:this.numerator,denominator:this.denominator})},mul:function(e){if(t(e))return m({scalar:f(this.scalar,e),numerator:this.numerator,denominator:this.denominator});if(u(e)&&(e=m(e)),(this.isTemperature()||e.isTemperature())&&!(this.isUnitless()||e.isUnitless()))throw new p("Cannot multiply by temperatures");var r=this,i=e;r.isCompatible(i)&&r.signature!==400&&(i=i.to(r));var a=tt(r.numerator,r.denominator,i.numerator,i.denominator);return m({scalar:f(r.scalar,i.scalar,a[2]),numerator:a[0],denominator:a[1]})},div:function(e){if(t(e)){if(e===0)throw new p("Divide by zero");return m({scalar:this.scalar/e,numerator:this.numerator,denominator:this.denominator})}else u(e)&&(e=m(e));if(e.scalar===0)throw new p("Divide by zero");if(e.isTemperature())throw new p("Cannot divide with temperatures");if(this.isTemperature()&&!e.isUnitless())throw new p("Cannot divide with temperatures");var r=this,i=e;r.isCompatible(i)&&r.signature!==400&&(i=i.to(r));var a=tt(r.numerator,r.denominator,i.denominator,i.numerator);return m({scalar:f(r.scalar,a[2])/i.scalar,numerator:a[0],denominator:a[1]})},inverse:function(){if(this.isTemperature())throw new p("Cannot divide with temperatures");if(this.scalar===0)throw new p("Divide by zero");return m({scalar:1/this.scalar,numerator:this.denominator,denominator:this.numerator})}});function tt(e,r,i,a){function o(T){return T!==J}e=e.filter(o),i=i.filter(o),r=r.filter(o),a=a.filter(o);var c={};function _(T,F){for(var E,$,ye,P=0;P<T.length;P++)if(A[T[P]]?(E=T[P+1],$=T[P],ye=A[$],P++):(E=T[P],$=null,ye=1),E&&E!==J)if(c[E]){c[E][0]+=F;var zr=c[E][2]?A[c[E][2]]:1;c[E][F===1?3:4]*=v(ye,zr)}else c[E]=[F,E,$,1,1]}_(e,1),_(r,-1),_(i,1),_(a,-1);var g=[],b=[],M=1;for(var nt in c)if(c.hasOwnProperty(nt)){var k=c[nt],N;if(k[0]>0)for(N=0;N<k[0];N++)g.push(k[2]===null?k[1]:[k[2],k[1]]);else if(k[0]<0)for(N=0;N<-k[0];N++)b.push(k[2]===null?k[1]:[k[2],k[1]]);M*=v(k[3],k[4])}return g.length===0&&(g=C),b.length===0&&(b=C),g=g.reduce(function(T,F){return T.concat(F)},[]),b=b.reduce(function(T,F){return T.concat(F)},[]),[g,b,M]}h(m.prototype,{eq:function(e){return this.compareTo(e)===0},lt:function(e){return this.compareTo(e)===-1},lte:function(e){return this.eq(e)||this.lt(e)},gt:function(e){return this.compareTo(e)===1},gte:function(e){return this.eq(e)||this.gt(e)},compareTo:function(e){if(u(e))return this.compareTo(m(e));if(this.isCompatible(e)||W(this.units(),e.units()),this.baseScalar<e.baseScalar)return-1;if(this.baseScalar===e.baseScalar)return 0;if(this.baseScalar>e.baseScalar)return 1},same:function(e){return this.scalar===e.scalar&&this.units()===e.units()}}),h(m.prototype,{isUnitless:function(){return[this.numerator,this.denominator].every(function(e){return l(e,C)})},isCompatible:function(e){return u(e)?this.isCompatible(m(e)):Z(e)&&e.signature!==void 0?this.signature===e.signature:!1},isInverse:function(e){return this.inverse().isCompatible(e)},isBase:function(){return this._isBase!==void 0?this._isBase:this.isDegrees()&&this.numerator[0].match(/<(kelvin|temp-K)>/)?(this._isBase=!0,this._isBase):(this.numerator.concat(this.denominator).forEach(function(e){e!==J&&sr.indexOf(e)===-1&&(this._isBase=!1)},this),this._isBase===!1?this._isBase:(this._isBase=!0,this._isBase))}});function ge(){}ge.prototype.get=function(e){return arguments.length>1&&(e=Array.apply(null,arguments)),e.reduce(function(r,i,a){if(r){var o=r[i];return a===e.length-1?o?o.data:void 0:o}},this)},ge.prototype.set=function(e,r){return arguments.length>2&&(e=Array.prototype.slice.call(arguments,0,-1),r=arguments[arguments.length-1]),e.reduce(function(i,a,o){var c=i[a];return c===void 0&&(c=i[a]={}),o===e.length-1?(c.data=r,r):c},this)};function qr(e,r){return(e+" "+r).trim()}m.formatter=qr,h(m.prototype,{units:function(){if(this._units!==void 0)return this._units;var e=l(this.numerator,C),r=l(this.denominator,C);if(e&&r)return this._units="",this._units;var i=it(this.numerator),a=it(this.denominator);return this._units=i+(r?"":"/"+a),this._units},toString:function(e,r){var i;if(t(e))i=this.units(),r=e;else if(u(e))i=e;else if(Z(e))return this.toPrec(e).toString(r);var a=this.to(i),o=r!==void 0?Y(a.scalar,r):a.scalar;return a=(o+" "+a.units()).trim(),a},format:function(e,r){arguments.length===1&&typeof e=="function"&&(r=e,e=void 0),r=r||m.formatter;var i=this.to(e);return r.call(this,i.scalar,i.units())}});var rt=new ge;function it(e){var r=rt.get(e);if(r)return r;var i=l(e,C);return i?r="1":r=Lr(Ur(e)).join("*"),rt.set(e,r),r}function Ur(e){for(var r=[],i,a,o=0;o<e.length;o++)i=e[o],a=e[o+1],A[i]?(r.push(Q[i]+Q[a]),o++):r.push(Q[i]);return r}function Lr(e){var r=e.reduce(function(i,a){var o=i[a];return o||i.push(o=i[a]=[a,0]),o[1]++,i},[]);return r.map(function(i){return i[0]+(i[1]>1?i[1]:"")})}return m.version="1.8.0",m})});var d=Nr(Qt());var li=(()=>{class u{AppSettingsService=y(xt);data=y(Rt);_defaultUnitsSub;_conversionList=[{group:"Unitless",units:[{measure:"unitless",description:"As-Is numeric value"},{measure:" ",description:"No unit label - As-Is numeric value"}]},{group:"Speed",units:[{measure:"knots",description:"Knots - Nautical miles per hour"},{measure:"kph",description:"kph - Kilometers per hour"},{measure:"mph",description:"mph - Miles per hour"},{measure:"m/s",description:"m/s - Meters per second (base)"}]},{group:"Flow",units:[{measure:"m3/s",description:"Cubic meters per second (base)"},{measure:"l/min",description:"Liters per minute"},{measure:"l/h",description:"Liters per hour"},{measure:"g/min",description:"Gallons per minute"},{measure:"g/h",description:"Gallons per hour"}]},{group:"Fuel Distance",units:[{measure:"m/m3",description:"Meters per cubic meter (base)"},{measure:"nm/l",description:"Nautical Miles per liter"},{measure:"nm/g",description:"Nautical Miles per gallon"},{measure:"km/l",description:"Kilometers per liter"},{measure:"mpg",description:"Miles per Gallon"}]},{group:"Energy Distance",units:[{measure:"m/J",description:"Meters per Joule (base)"},{measure:"nm/J",description:"Nautical Miles per Joule"},{measure:"km/J",description:"Kilometers per Joule"},{measure:"nm/kWh",description:"Nautical Miles per Kilowatt-hour"},{measure:"km/kWh",description:"Kilometers per Kilowatt-hour"}]},{group:"Temperature",units:[{measure:"K",description:"Kelvin (base)"},{measure:"celsius",description:"Celsius"},{measure:"fahrenheit",description:"Fahrenheit"}]},{group:"Length",units:[{measure:"m",description:"Meters (base)"},{measure:"mm",description:"Millimeters"},{measure:"fathom",description:"Fathoms"},{measure:"nm",description:"Nautical Miles"},{measure:"km",description:"Kilometers"},{measure:"mi",description:"Miles"},{measure:"feet",description:"Feet"},{measure:"inch",description:"Inches"}]},{group:"Volume",units:[{measure:"liter",description:"Liters (base)"},{measure:"m3",description:"Cubic Meters"},{measure:"gallon",description:"Gallons"}]},{group:"Current",units:[{measure:"A",description:"Amperes (base)"},{measure:"mA",description:"Milliamperes"}]},{group:"Potential",units:[{measure:"V",description:"Volts (base)"},{measure:"mV",description:"Millivolts"}]},{group:"Charge",units:[{measure:"C",description:"Coulomb (base)"},{measure:"Ah",description:"Ampere*Hours"}]},{group:"Power",units:[{measure:"W",description:"Watts (base)"},{measure:"mW",description:"Milliwatts"}]},{group:"Energy",units:[{measure:"J",description:"Joules (base)"},{measure:"kWh",description:"Kilowatt*Hours"}]},{group:"Resistance",units:[{measure:"ohm",description:"\u2126 (base)"},{measure:"kiloohm",description:"k\u2126"}]},{group:"Pressure",units:[{measure:"Pa",description:"Pa (base)"},{measure:"kPa",description:"kPa"},{measure:"hPa",description:"hPa"},{measure:"mbar",description:"mbar"},{measure:"bar",description:"Bars"},{measure:"psi",description:"psi"},{measure:"mmHg",description:"mmHg"},{measure:"inHg",description:"inHg"}]},{group:"Density",units:[{measure:"kg/m3",description:"Air density - kg/cubic meter (base)"}]},{group:"Time",units:[{measure:"s",description:"Seconds (base)"},{measure:"Minutes",description:"Minutes"},{measure:"Hours",description:"Hours"},{measure:"Days",description:"Days"},{measure:"D HH:MM:SS",description:"Day Hour:Minute:sec"}]},{group:"Angular Velocity",units:[{measure:"rad/s",description:"Radians per second (base)"},{measure:"deg/s",description:"Degrees per second"},{measure:"deg/min",description:"Degrees per minute"}]},{group:"Angle",units:[{measure:"rad",description:"Radians (base)"},{measure:"deg",description:"Degrees"},{measure:"grad",description:"Gradians"}]},{group:"Frequency",units:[{measure:"rpm",description:"RPM - Rotations per minute"},{measure:"Hz",description:"Hz - Hertz (base)"},{measure:"KHz",description:"KHz - Kilohertz"},{measure:"MHz",description:"MHz - Megahertz"},{measure:"GHz",description:"GHz - Gigahertz"}]},{group:"Ratio",units:[{measure:"percent",description:"As percentage value"},{measure:"percentraw",description:"As ratio 0-1 with % sign"},{measure:"ratio",description:"Ratio 0-1 (base)"}]},{group:"Position",units:[{measure:"pdeg",description:"Position Degrees"},{measure:"latitudeMin",description:"Latitude in minutes"},{measure:"latitudeSec",description:"Latitude in seconds"},{measure:"longitudeMin",description:"Longitude in minutes"},{measure:"longitudeSec",description:"Longitude in seconds"}]}];skBaseUnits=[{unit:"s",properties:{display:"s",quantity:"Time",quantityDisplay:"t",description:"Elapsed time (interval) in seconds"}},{unit:"Hz",properties:{display:"Hz",quantity:"Frequency",quantityDisplay:"f",description:"Frequency in Hertz"}},{unit:"m3",properties:{display:"m\xB3",quantity:"Volume",quantityDisplay:"V",description:"Volume in cubic meters"}},{unit:"m3/s",properties:{display:"m\xB3/s",quantity:"Flow",quantityDisplay:"Q",description:"Liquid or gas flow in cubic meters per second"}},{unit:"kg/s",properties:{display:"kg/s",quantity:"Mass flow rate",quantityDisplay:"\u1E41",description:"Liquid or gas flow in kilograms per second"}},{unit:"kg/m3",properties:{display:"kg/m\xB3",quantity:"Density",quantityDisplay:"\u03C1",description:"Density in kg per cubic meter"}},{unit:"deg",properties:{display:"Position",quantity:"Angle",quantityDisplay:"\u2220",description:"Latitude or longitude in decimal degrees"}},{unit:"rad",properties:{display:"\xB0",quantity:"Angle",quantityDisplay:"\u2220",description:"Angular arc in radians"}},{unit:"rad/s",properties:{display:"\u33AD/s",quantity:"Rotation",quantityDisplay:"\u03C9",description:"Angular rate in radians per second"}},{unit:"A",properties:{display:"A",quantity:"Current",quantityDisplay:"I",description:"Electrical current in ampere"}},{unit:"C",properties:{display:"C",quantity:"Charge",quantityDisplay:"Q",description:"Electrical charge in Coulomb"}},{unit:"V",properties:{display:"V",quantity:"Voltage",quantityDisplay:"V",description:"Electrical potential in volt"}},{unit:"W",properties:{display:"W",quantity:"Power",quantityDisplay:"P",description:"Power in watt"}},{unit:"Nm",properties:{display:"Nm",quantity:"Torque",quantityDisplay:"\u03C4",description:"Torque in Newton meter"}},{unit:"J",properties:{display:"J",quantity:"Energy",quantityDisplay:"E",description:"Electrical energy in joule"}},{unit:"ohm",properties:{display:"\u2126",quantity:"Resistance",quantityDisplay:"R",description:"Electrical resistance in ohm"}},{unit:"m",properties:{display:"m",quantity:"Distance",quantityDisplay:"d",description:"Distance in meters"}},{unit:"m/s",properties:{display:"m/s",quantity:"Speed",quantityDisplay:"v",description:"Speed in meters per second"}},{unit:"m2",properties:{display:"\u33A1",quantity:"Area",quantityDisplay:"A",description:"(Surface) area in square meters"}},{unit:"K",properties:{display:"K",quantity:"Temperature",quantityDisplay:"T",description:"Temperature in kelvin"}},{unit:"Pa",properties:{display:"Pa",quantity:"Pressure",quantityDisplay:"P",description:"Pressure in pascal"}},{unit:"kg",properties:{display:"kg",quantity:"Mass",quantityDisplay:"m",description:"Mass in kilogram"}},{unit:"ratio",properties:{display:"",quantity:"Ratio",quantityDisplay:"\u03C6",description:"Relative value compared to reference or normal value. 0 = 0%, 1 = 100%, 1e-3 = 1 ppt"}},{unit:"m/s2",properties:{display:"m/s\xB2",quantity:"Acceleration",quantityDisplay:"a",description:"Acceleration in meters per second squared"}},{unit:"rad/s2",properties:{display:"rad/s\xB2",quantity:"Angular acceleration",quantityDisplay:"a",description:"Angular acceleration in radians per second squared"}},{unit:"N",properties:{display:"N",quantity:"Force",quantityDisplay:"F",description:"Force in newton"}},{unit:"T",properties:{display:"T",quantity:"Magnetic field",quantityDisplay:"B",description:"Magnetic field strength in tesla"}},{unit:"Lux",properties:{display:"lx",quantity:"Light Intensity",quantityDisplay:"Ev",description:"Light Intensity in lux"}},{unit:"Pa/s",properties:{display:"Pa/s",quantity:"Pressure rate",quantityDisplay:"R",description:"Pressure change rate in pascal per second"}},{unit:"Pa.s",properties:{display:"Pa s",quantity:"Viscosity",quantityDisplay:"\u03BC",description:"Viscosity in pascal seconds"}}];_defaultUnits=null;constructor(){this._defaultUnitsSub=this.AppSettingsService.getDefaultUnitsAsO().subscribe(t=>{this._defaultUnits=t})}unitConversionFunctions={unitless:function(t){return t}," ":function(t){return t},knots:d.default.swiftConverter("m/s","kn"),kph:d.default.swiftConverter("m/s","kph"),"m/s":function(t){return t},mph:d.default.swiftConverter("m/s","mph"),liter:d.default.swiftConverter("m^3","liter"),gallon:d.default.swiftConverter("m^3","gallon"),m3:function(t){return t},"m3/s":function(t){return t},"l/min":d.default.swiftConverter("m^3/s","liter/minute"),"l/h":d.default.swiftConverter("m^3/s","liter/hour"),"g/min":d.default.swiftConverter("m^3/s","gallon/minute"),"g/h":d.default.swiftConverter("m^3/s","gallon/hour"),"m/m3":function(t){return t},"nm/l":d.default.swiftConverter("m/m^3","naut-mile/liter"),"nm/g":d.default.swiftConverter("m/m^3","naut-mile/gallon"),"km/l":d.default.swiftConverter("m/m^3","km/liter"),mpg:d.default.swiftConverter("m/m^3","mile/gallon"),"m/J":function(t){return t},"nm/J":d.default.swiftConverter("m/J","naut-mile/J"),"km/J":d.default.swiftConverter("km/J","km/J"),"nm/kWh":d.default.swiftConverter("m/J","naut-mile/kWh"),"km/kWh":d.default.swiftConverter("m/J","km/kWh"),K:function(t){return t},celsius:d.default.swiftConverter("tempK","tempC"),fahrenheit:d.default.swiftConverter("tempK","tempF"),m:function(t){return t},mm:function(t){return t*1e3},fathom:d.default.swiftConverter("m","fathom"),feet:d.default.swiftConverter("m","foot"),inch:d.default.swiftConverter("m","in"),km:d.default.swiftConverter("m","km"),nm:d.default.swiftConverter("m","nmi"),mi:d.default.swiftConverter("m","mi"),V:function(t){return t},mV:function(t){return t*1e3},A:function(t){return t},mA:function(t){return t*1e3},C:function(t){return t},Ah:d.default.swiftConverter("C","Ah"),W:function(t){return t},mW:function(t){return t*1e3},J:function(t){return t},kWh:d.default.swiftConverter("J","kWh"),ohm:function(t){return t},kiloohm:function(t){return t/1e3},Pa:function(t){return t},bar:d.default.swiftConverter("Pa","bar"),psi:d.default.swiftConverter("Pa","psi"),mmHg:d.default.swiftConverter("Pa","mmHg"),inHg:d.default.swiftConverter("Pa","inHg"),hPa:d.default.swiftConverter("Pa","hPa"),kPa:d.default.swiftConverter("Pa","kPa"),mbar:d.default.swiftConverter("Pa","millibar"),"kg/m3":function(t){return t},s:function(t){return t},Minutes:d.default.swiftConverter("s","minutes"),Hours:d.default.swiftConverter("s","hours"),Days:d.default.swiftConverter("s","days"),"D HH:MM:SS":function(t){t=parseInt(t,10);let n=t<0;t=Math.abs(t);let s=Math.floor(t/86400),l=Math.floor(t%86400/3600),h=Math.floor(t%3600/60),f=Math.floor(t%60),v=n?"-":"";return s>0?v+=s+"d "+l.toString()+":"+h.toString().padStart(2,"0")+":"+f.toString().padStart(2,"0"):v+=l.toString()+":"+h.toString().padStart(2,"0")+":"+f.toString().padStart(2,"0"),v},"rad/s":function(t){return t},"deg/s":d.default.swiftConverter("rad/s","deg/s"),"deg/min":d.default.swiftConverter("rad/s","deg/min"),rpm:function(t){return t*60},Hz:function(t){return t},KHz:function(t){return t/1e3},MHz:function(t){return t/1e6},GHz:function(t){return t/1e9},rad:function(t){return t},deg:d.default.swiftConverter("rad","deg"),grad:d.default.swiftConverter("rad","grad"),percent:function(t){return t*100},percentraw:function(t){return t},ratio:function(t){return t},pdeg:function(t){return t},latitudeMin:function(t){let n=Math.trunc(t),s="N";t<0&&(s="S",n=n*-1);let l=t%1*60;return s=="S"&&(l=l*-1),n+"\xB0 "+l.toFixed(2).padStart(5,"0")+"' "+s},latitudeSec:function(t){let n=Math.trunc(t),s="N";t<0&&(s="S",n=n*-1);let l=t%1*60;s=="S"&&(l=l*-1);let h=Math.trunc(l),f=l%1*60;return n+"\xB0 "+h+"' "+f.toFixed(2).padStart(5,"0")+'" '+s},longitudeMin:function(t){let n=Math.trunc(t),s="E";t<0&&(s="W",n=n*-1);let l=t%1*60;return s=="W"&&(l=l*-1),n+"\xB0 "+l.toFixed(2).padStart(5,"0")+"' "+s},longitudeSec:function(t){let n=Math.trunc(t),s="E";t<0&&(s="W",n=n*-1);let l=t%1*60;s=="W"&&(l=l*-1);let h=Math.trunc(l),f=l%1*60;return n+"\xB0 "+h+"' "+f.toFixed(2).padStart(5,"0")+'" '+s}};convertToUnit(t,n){if(!(t in this.unitConversionFunctions)||n===null)return null;let s=+n;return this.unitConversionFunctions[t](s)}getDefaults(){return this._defaultUnits}getConversions(){return this._conversionList}getConversionsForPath(t){let n=this.data.getPathUnitType(t),s="unitless",l="unitless";if(n===null||n==="RFC 3339 (UTC)")return{base:s,conversions:this._conversionList};{let h=this._conversionList.filter(f=>f.group=="Position"&&(t.includes("position.latitude")||t.includes("position.longitude"))?!0:f.units.find(Y=>Y.measure==n)?(l=this._defaultUnits[f.group],!0):!1);return h.length>0?{base:l,conversions:h}:(console.log("[Units Service] Unit type: "+n+", found for path: "+t+`
2
2
  but Kip does not support it.`),{base:s,conversions:this._conversionList})}}ngOnDestroy(){this._defaultUnitsSub?.unsubscribe()}static \u0275fac=function(n){return new(n||u)};static \u0275prov=ot({token:u,factory:u.\u0275fac})}return u})();var jr=["trigger"],Yr=["panel"],Jr=[[["mat-select-trigger"]],"*"],Xr=["mat-select-trigger","*"];function Qr(u,w){if(u&1&&(D(0,"span",4),Ee(1),U()),u&2){let t=G();q(),Ae(t.placeholder)}}function Zr(u,w){u&1&&Oe(0)}function $r(u,w){if(u&1&&(D(0,"span",11),Ee(1),U()),u&2){let t=G(2);q(),Ae(t.triggerValue)}}function ei(u,w){if(u&1&&(D(0,"span",5),ke(1,Zr,1,0)(2,$r,2,1,"span",11),U()),u&2){let t=G();q(),Se(t.customTrigger?1:2)}}function ti(u,w){if(u&1){let t=xe();D(0,"div",12,1),j("keydown",function(s){H(t);let l=G();return B(l._handleKeydown(s))}),Oe(2,1),U()}if(u&2){let t=G();bt(wt("mat-mdc-select-panel mdc-menu-surface mdc-menu-surface--open ",t._getPanelTheme())),Te("mat-select-panel-animations-enabled",!t._animationsDisabled),Me("ngClass",t.panelClass),ne("id",t.id+"-panel")("aria-multiselectable",t.multiple)("aria-label",t.ariaLabel||null)("aria-labelledby",t._getPanelAriaLabelledby())}}var Ne=new re("mat-select-scroll-strategy",{providedIn:"root",factory:()=>{let u=y(Ce);return()=>Fe(u)}});function rr(u){let w=y(Ce);return()=>Fe(w)}var ir=new re("MAT_SELECT_CONFIG"),nr={provide:Ne,deps:[],useFactory:rr},ar=new re("MatSelectTrigger"),le=class{source;value;constructor(w,t){this.source=w,this.value=t}},ri=(()=>{class u{_viewportRuler=y(Ft);_changeDetectorRef=y(St);_elementRef=y(dt);_dir=y(Dt,{optional:!0});_idGenerator=y(Tt);_renderer=y(pt);_parentFormField=y(Vt,{optional:!0});ngControl=y(Lt,{self:!0,optional:!0});_liveAnnouncer=y(Ot);_defaultOptions=y(ir,{optional:!0});_animationsDisabled=It();_initialized=new ee;_cleanupDetach;options;optionGroups;customTrigger;_positions=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:"mat-mdc-select-panel-above"}];_scrollOptionIntoView(t){let n=this.options.toArray()[t];if(n){let s=this.panel.nativeElement,l=Yt(t,this.options,this.optionGroups),h=n._getHostElement();t===0&&l===1?s.scrollTop=0:s.scrollTop=Jt(h.offsetTop,h.offsetHeight,s.scrollTop,s.offsetHeight)}}_positioningSettled(){this._scrollOptionIntoView(this._keyManager.activeItemIndex||0)}_getChangeEvent(t){return new le(this,t)}_scrollStrategyFactory=y(Ne);_panelOpen=!1;_compareWith=(t,n)=>t===n;_uid=this._idGenerator.getId("mat-select-");_triggerAriaLabelledBy=null;_previousControl;_destroy=new ee;_errorStateTracker;stateChanges=new ee;disableAutomaticLabeling=!0;userAriaDescribedBy;_selectionModel;_keyManager;_preferredOverlayOrigin;_overlayWidth;_onChange=()=>{};_onTouched=()=>{};_valueId=this._idGenerator.getId("mat-select-value-");_scrollStrategy;_overlayPanelClass=this._defaultOptions?.overlayPanelClass||"";get focused(){return this._focused||this._panelOpen}_focused=!1;controlType="mat-select";trigger;panel;_overlayDir;panelClass;disabled=!1;get disableRipple(){return this._disableRipple()}set disableRipple(t){this._disableRipple.set(t)}_disableRipple=ut(!1);tabIndex=0;get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(t){this._hideSingleSelectionIndicator=t,this._syncParentProperties()}_hideSingleSelectionIndicator=this._defaultOptions?.hideSingleSelectionIndicator??!1;get placeholder(){return this._placeholder}set placeholder(t){this._placeholder=t,this.stateChanges.next()}_placeholder;get required(){return this._required??this.ngControl?.control?.hasValidator(Ut.required)??!1}set required(t){this._required=t,this.stateChanges.next()}_required;get multiple(){return this._multiple}set multiple(t){this._selectionModel,this._multiple=t}_multiple=!1;disableOptionCentering=this._defaultOptions?.disableOptionCentering??!1;get compareWith(){return this._compareWith}set compareWith(t){this._compareWith=t,this._selectionModel&&this._initializeSelection()}get value(){return this._value}set value(t){this._assignValue(t)&&this._onChange(t)}_value;ariaLabel="";ariaLabelledby;get errorStateMatcher(){return this._errorStateTracker.matcher}set errorStateMatcher(t){this._errorStateTracker.matcher=t}typeaheadDebounceInterval;sortComparator;get id(){return this._id}set id(t){this._id=t||this._uid,this.stateChanges.next()}_id;get errorState(){return this._errorStateTracker.errorState}set errorState(t){this._errorStateTracker.errorState=t}panelWidth=this._defaultOptions&&typeof this._defaultOptions.panelWidth<"u"?this._defaultOptions.panelWidth:"auto";canSelectNullableOptions=this._defaultOptions?.canSelectNullableOptions??!1;optionSelectionChanges=at(()=>{let t=this.options;return t?t.changes.pipe(be(t),we(()=>te(...t.map(n=>n.onSelectionChange)))):this._initialized.pipe(we(()=>this.optionSelectionChanges))});openedChange=new ie;_openedStream=this.openedChange.pipe(_e(t=>t),ve(()=>{}));_closedStream=this.openedChange.pipe(_e(t=>!t),ve(()=>{}));selectionChange=new ie;valueChange=new ie;constructor(){let t=y(Bt),n=y(zt,{optional:!0}),s=y(Kt,{optional:!0}),l=y(new kt("tabindex"),{optional:!0});this.ngControl&&(this.ngControl.valueAccessor=this),this._defaultOptions?.typeaheadDebounceInterval!=null&&(this.typeaheadDebounceInterval=this._defaultOptions.typeaheadDebounceInterval),this._errorStateTracker=new Gt(t,this.ngControl,s,n,this.stateChanges),this._scrollStrategy=this._scrollStrategyFactory(),this.tabIndex=l==null?0:parseInt(l)||0,this.id=this.id}ngOnInit(){this._selectionModel=new Xt(this.multiple),this.stateChanges.next(),this._viewportRuler.change().pipe(V(this._destroy)).subscribe(()=>{this.panelOpen&&(this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._changeDetectorRef.detectChanges())})}ngAfterContentInit(){this._initialized.next(),this._initialized.complete(),this._initKeyManager(),this._selectionModel.changed.pipe(V(this._destroy)).subscribe(t=>{t.added.forEach(n=>n.select()),t.removed.forEach(n=>n.deselect())}),this.options.changes.pipe(be(null),V(this._destroy)).subscribe(()=>{this._resetOptions(),this._initializeSelection()})}ngDoCheck(){let t=this._getTriggerAriaLabelledby(),n=this.ngControl;if(t!==this._triggerAriaLabelledBy){let s=this._elementRef.nativeElement;this._triggerAriaLabelledBy=t,t?s.setAttribute("aria-labelledby",t):s.removeAttribute("aria-labelledby")}n&&(this._previousControl!==n.control&&(this._previousControl!==void 0&&n.disabled!==null&&n.disabled!==this.disabled&&(this.disabled=n.disabled),this._previousControl=n.control),this.updateErrorState())}ngOnChanges(t){(t.disabled||t.userAriaDescribedBy)&&this.stateChanges.next(),t.typeaheadDebounceInterval&&this._keyManager&&this._keyManager.withTypeAhead(this.typeaheadDebounceInterval)}ngOnDestroy(){this._cleanupDetach?.(),this._keyManager?.destroy(),this._destroy.next(),this._destroy.complete(),this.stateChanges.complete(),this._clearFromModal()}toggle(){this.panelOpen?this.close():this.open()}open(){this._canOpen()&&(this._parentFormField&&(this._preferredOverlayOrigin=this._parentFormField.getConnectedOverlayOrigin()),this._cleanupDetach?.(),this._overlayWidth=this._getOverlayWidth(this._preferredOverlayOrigin),this._applyModalPanelOwnership(),this._panelOpen=!0,this._overlayDir.positionChange.pipe(st(1)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this._positioningSettled()}),this._overlayDir.attachOverlay(),this._keyManager.withHorizontalOrientation(null),this._highlightCorrectOption(),this._changeDetectorRef.markForCheck(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!0)))}_trackedModal=null;_applyModalPanelOwnership(){let t=this._elementRef.nativeElement.closest('body > .cdk-overlay-container [aria-modal="true"]');if(!t)return;let n=`${this.id}-panel`;this._trackedModal&&Re(this._trackedModal,"aria-owns",n),At(t,"aria-owns",n),this._trackedModal=t}_clearFromModal(){if(!this._trackedModal)return;let t=`${this.id}-panel`;Re(this._trackedModal,"aria-owns",t),this._trackedModal=null}close(){this._panelOpen&&(this._panelOpen=!1,this._exitAndDetach(),this._keyManager.withHorizontalOrientation(this._isRtl()?"rtl":"ltr"),this._changeDetectorRef.markForCheck(),this._onTouched(),this.stateChanges.next(),Promise.resolve().then(()=>this.openedChange.emit(!1)))}_exitAndDetach(){if(this._animationsDisabled||!this.panel){this._detachOverlay();return}this._cleanupDetach?.(),this._cleanupDetach=()=>{n(),clearTimeout(s),this._cleanupDetach=void 0};let t=this.panel.nativeElement,n=this._renderer.listen(t,"animationend",l=>{l.animationName==="_mat-select-exit"&&(this._cleanupDetach?.(),this._detachOverlay())}),s=setTimeout(()=>{this._cleanupDetach?.(),this._detachOverlay()},200);t.classList.add("mat-select-panel-exit")}_detachOverlay(){this._overlayDir.detachOverlay(),this._changeDetectorRef.markForCheck()}writeValue(t){this._assignValue(t)}registerOnChange(t){this._onChange=t}registerOnTouched(t){this._onTouched=t}setDisabledState(t){this.disabled=t,this._changeDetectorRef.markForCheck(),this.stateChanges.next()}get panelOpen(){return this._panelOpen}get selected(){return this.multiple?this._selectionModel?.selected||[]:this._selectionModel?.selected[0]}get triggerValue(){if(this.empty)return"";if(this._multiple){let t=this._selectionModel.selected.map(n=>n.viewValue);return this._isRtl()&&t.reverse(),t.join(", ")}return this._selectionModel.selected[0].viewValue}updateErrorState(){this._errorStateTracker.updateErrorState()}_isRtl(){return this._dir?this._dir.value==="rtl":!1}_handleKeydown(t){this.disabled||(this.panelOpen?this._handleOpenKeydown(t):this._handleClosedKeydown(t))}_handleClosedKeydown(t){let n=t.keyCode,s=n===40||n===38||n===37||n===39,l=n===13||n===32,h=this._keyManager;if(!h.isTyping()&&l&&!oe(t)||(this.multiple||t.altKey)&&s)t.preventDefault(),this.open();else if(!this.multiple){let f=this.selected;h.onKeydown(t);let v=this.selected;v&&f!==v&&this._liveAnnouncer.announce(v.viewValue,1e4)}}_handleOpenKeydown(t){let n=this._keyManager,s=t.keyCode,l=s===40||s===38,h=n.isTyping();if(l&&t.altKey)t.preventDefault(),this.close();else if(!h&&(s===13||s===32)&&n.activeItem&&!oe(t))t.preventDefault(),n.activeItem._selectViaInteraction();else if(!h&&this._multiple&&s===65&&t.ctrlKey){t.preventDefault();let f=this.options.some(v=>!v.disabled&&!v.selected);this.options.forEach(v=>{v.disabled||(f?v.select():v.deselect())})}else{let f=n.activeItemIndex;n.onKeydown(t),this._multiple&&l&&t.shiftKey&&n.activeItem&&n.activeItemIndex!==f&&n.activeItem._selectViaInteraction()}}_handleOverlayKeydown(t){t.keyCode===27&&!oe(t)&&(t.preventDefault(),this.close())}_onFocus(){this.disabled||(this._focused=!0,this.stateChanges.next())}_onBlur(){this._focused=!1,this._keyManager?.cancelTypeahead(),!this.disabled&&!this.panelOpen&&(this._onTouched(),this._changeDetectorRef.markForCheck(),this.stateChanges.next())}_getPanelTheme(){return this._parentFormField?`mat-${this._parentFormField.color}`:""}get empty(){return!this._selectionModel||this._selectionModel.isEmpty()}_initializeSelection(){Promise.resolve().then(()=>{this.ngControl&&(this._value=this.ngControl.value),this._setSelectionByValue(this._value),this.stateChanges.next()})}_setSelectionByValue(t){if(this.options.forEach(n=>n.setInactiveStyles()),this._selectionModel.clear(),this.multiple&&t)Array.isArray(t),t.forEach(n=>this._selectOptionByValue(n)),this._sortValues();else{let n=this._selectOptionByValue(t);n?this._keyManager.updateActiveItem(n):this.panelOpen||this._keyManager.updateActiveItem(-1)}this._changeDetectorRef.markForCheck()}_selectOptionByValue(t){let n=this.options.find(s=>{if(this._selectionModel.isSelected(s))return!1;try{return(s.value!=null||this.canSelectNullableOptions)&&this._compareWith(s.value,t)}catch{return!1}});return n&&this._selectionModel.select(n),n}_assignValue(t){return t!==this._value||this._multiple&&Array.isArray(t)?(this.options&&this._setSelectionByValue(t),this._value=t,!0):!1}_skipPredicate=t=>this.panelOpen?!1:t.disabled;_getOverlayWidth(t){return this.panelWidth==="auto"?(t instanceof Pe?t.elementRef:t||this._elementRef).nativeElement.getBoundingClientRect().width:this.panelWidth===null?"":this.panelWidth}_syncParentProperties(){if(this.options)for(let t of this.options)t._changeDetectorRef.markForCheck()}_initKeyManager(){this._keyManager=new Et(this.options).withTypeAhead(this.typeaheadDebounceInterval).withVerticalOrientation().withHorizontalOrientation(this._isRtl()?"rtl":"ltr").withHomeAndEnd().withPageUpDown().withAllowedModifierKeys(["shiftKey"]).skipPredicate(this._skipPredicate),this._keyManager.tabOut.subscribe(()=>{this.panelOpen&&(!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction(),this.focus(),this.close())}),this._keyManager.change.subscribe(()=>{this._panelOpen&&this.panel?this._scrollOptionIntoView(this._keyManager.activeItemIndex||0):!this._panelOpen&&!this.multiple&&this._keyManager.activeItem&&this._keyManager.activeItem._selectViaInteraction()})}_resetOptions(){let t=te(this.options.changes,this._destroy);this.optionSelectionChanges.pipe(V(t)).subscribe(n=>{this._onSelect(n.source,n.isUserInput),n.isUserInput&&!this.multiple&&this._panelOpen&&(this.close(),this.focus())}),te(...this.options.map(n=>n._stateChanges)).pipe(V(t)).subscribe(()=>{this._changeDetectorRef.detectChanges(),this.stateChanges.next()})}_onSelect(t,n){let s=this._selectionModel.isSelected(t);!this.canSelectNullableOptions&&t.value==null&&!this._multiple?(t.deselect(),this._selectionModel.clear(),this.value!=null&&this._propagateChanges(t.value)):(s!==t.selected&&(t.selected?this._selectionModel.select(t):this._selectionModel.deselect(t)),n&&this._keyManager.setActiveItem(t),this.multiple&&(this._sortValues(),n&&this.focus())),s!==this._selectionModel.isSelected(t)&&this._propagateChanges(),this.stateChanges.next()}_sortValues(){if(this.multiple){let t=this.options.toArray();this._selectionModel.sort((n,s)=>this.sortComparator?this.sortComparator(n,s,t):t.indexOf(n)-t.indexOf(s)),this.stateChanges.next()}}_propagateChanges(t){let n;this.multiple?n=this.selected.map(s=>s.value):n=this.selected?this.selected.value:t,this._value=n,this.valueChange.emit(n),this._onChange(n),this.selectionChange.emit(this._getChangeEvent(n)),this._changeDetectorRef.markForCheck()}_highlightCorrectOption(){if(this._keyManager)if(this.empty){let t=-1;for(let n=0;n<this.options.length;n++)if(!this.options.get(n).disabled){t=n;break}this._keyManager.setActiveItem(t)}else this._keyManager.setActiveItem(this._selectionModel.selected[0])}_canOpen(){return!this._panelOpen&&!this.disabled&&this.options?.length>0&&!!this._overlayDir}focus(t){this._elementRef.nativeElement.focus(t)}_getPanelAriaLabelledby(){if(this.ariaLabel)return null;let t=this._parentFormField?.getLabelId()||null,n=t?t+" ":"";return this.ariaLabelledby?n+this.ariaLabelledby:t}_getAriaActiveDescendant(){return this.panelOpen&&this._keyManager&&this._keyManager.activeItem?this._keyManager.activeItem.id:null}_getTriggerAriaLabelledby(){if(this.ariaLabel)return null;let t=this._parentFormField?.getLabelId()||"";return this.ariaLabelledby&&(t+=" "+this.ariaLabelledby),t||(t=this._valueId),t}get describedByIds(){return this._elementRef.nativeElement.getAttribute("aria-describedby")?.split(" ")||[]}setDescribedByIds(t){t.length?this._elementRef.nativeElement.setAttribute("aria-describedby",t.join(" ")):this._elementRef.nativeElement.removeAttribute("aria-describedby")}onContainerClick(){this.focus(),this.open()}get shouldLabelFloat(){return this.panelOpen||!this.empty||this.focused&&!!this.placeholder}static \u0275fac=function(n){return new(n||u)};static \u0275cmp=ht({type:u,selectors:[["mat-select"]],contentQueries:function(n,s,l){if(n&1&&(ae(l,ar,5),ae(l,Ue,5),ae(l,jt,5)),n&2){let h;L(h=z())&&(s.customTrigger=h.first),L(h=z())&&(s.options=h),L(h=z())&&(s.optionGroups=h)}},viewQuery:function(n,s){if(n&1&&(se(jr,5),se(Yr,5),se(qe,5)),n&2){let l;L(l=z())&&(s.trigger=l.first),L(l=z())&&(s.panel=l.first),L(l=z())&&(s._overlayDir=l.first)}},hostAttrs:["role","combobox","aria-haspopup","listbox",1,"mat-mdc-select"],hostVars:19,hostBindings:function(n,s){n&1&&j("keydown",function(h){return s._handleKeydown(h)})("focus",function(){return s._onFocus()})("blur",function(){return s._onBlur()}),n&2&&(ne("id",s.id)("tabindex",s.disabled?-1:s.tabIndex)("aria-controls",s.panelOpen?s.id+"-panel":null)("aria-expanded",s.panelOpen)("aria-label",s.ariaLabel||null)("aria-required",s.required.toString())("aria-disabled",s.disabled.toString())("aria-invalid",s.errorState)("aria-activedescendant",s._getAriaActiveDescendant()),Te("mat-mdc-select-disabled",s.disabled)("mat-mdc-select-invalid",s.errorState)("mat-mdc-select-required",s.required)("mat-mdc-select-empty",s.empty)("mat-mdc-select-multiple",s.multiple))},inputs:{userAriaDescribedBy:[0,"aria-describedby","userAriaDescribedBy"],panelClass:"panelClass",disabled:[2,"disabled","disabled",I],disableRipple:[2,"disableRipple","disableRipple",I],tabIndex:[2,"tabIndex","tabIndex",t=>t==null?0:De(t)],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",I],placeholder:"placeholder",required:[2,"required","required",I],multiple:[2,"multiple","multiple",I],disableOptionCentering:[2,"disableOptionCentering","disableOptionCentering",I],compareWith:"compareWith",value:"value",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],errorStateMatcher:"errorStateMatcher",typeaheadDebounceInterval:[2,"typeaheadDebounceInterval","typeaheadDebounceInterval",De],sortComparator:"sortComparator",id:"id",panelWidth:"panelWidth",canSelectNullableOptions:[2,"canSelectNullableOptions","canSelectNullableOptions",I]},outputs:{openedChange:"openedChange",_openedStream:"opened",_closedStream:"closed",selectionChange:"selectionChange",valueChange:"valueChange"},exportAs:["matSelect"],features:[Ct([{provide:Nt,useExisting:u},{provide:Wt,useExisting:u}]),mt],ngContentSelectors:Xr,decls:11,vars:9,consts:[["fallbackOverlayOrigin","cdkOverlayOrigin","trigger",""],["panel",""],["cdk-overlay-origin","",1,"mat-mdc-select-trigger",3,"click"],[1,"mat-mdc-select-value"],[1,"mat-mdc-select-placeholder","mat-mdc-select-min-line"],[1,"mat-mdc-select-value-text"],[1,"mat-mdc-select-arrow-wrapper"],[1,"mat-mdc-select-arrow"],["viewBox","0 0 24 24","width","24px","height","24px","focusable","false","aria-hidden","true"],["d","M7 10l5 5 5-5z"],["cdk-connected-overlay","","cdkConnectedOverlayLockPosition","","cdkConnectedOverlayHasBackdrop","","cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop",3,"detach","backdropClick","overlayKeydown","cdkConnectedOverlayDisableClose","cdkConnectedOverlayPanelClass","cdkConnectedOverlayScrollStrategy","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayWidth","cdkConnectedOverlayFlexibleDimensions"],[1,"mat-mdc-select-min-line"],["role","listbox","tabindex","-1",3,"keydown","ngClass"]],template:function(n,s){if(n&1){let l=xe();vt(Jr),D(0,"div",2,0),j("click",function(){return H(l),B(s.open())}),D(3,"div",3),ke(4,Qr,2,1,"span",4)(5,ei,3,1,"span",5),U(),D(6,"div",6)(7,"div",7),ct(),D(8,"svg",8),yt(9,"path",9),U()()()(),gt(10,ti,3,10,"ng-template",10),j("detach",function(){return H(l),B(s.close())})("backdropClick",function(){return H(l),B(s.close())})("overlayKeydown",function(f){return H(l),B(s._handleOverlayKeydown(f))})}if(n&2){let l=_t(1);q(3),ne("id",s._valueId),q(),Se(s.empty?4:5),q(6),Me("cdkConnectedOverlayDisableClose",!0)("cdkConnectedOverlayPanelClass",s._overlayPanelClass)("cdkConnectedOverlayScrollStrategy",s._scrollStrategy)("cdkConnectedOverlayOrigin",s._preferredOverlayOrigin||l)("cdkConnectedOverlayPositions",s._positions)("cdkConnectedOverlayWidth",s._overlayWidth)("cdkConnectedOverlayFlexibleDimensions",!0)}},dependencies:[Pe,qe,Mt],styles:[`@keyframes _mat-select-enter{from{opacity:0;transform:scaleY(0.8)}to{opacity:1;transform:none}}@keyframes _mat-select-exit{from{opacity:1}to{opacity:0}}.mat-mdc-select{display:inline-block;width:100%;outline:none;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-select-enabled-trigger-text-color, var(--mat-sys-on-surface));font-family:var(--mat-select-trigger-text-font, var(--mat-sys-body-large-font));line-height:var(--mat-select-trigger-text-line-height, var(--mat-sys-body-large-line-height));font-size:var(--mat-select-trigger-text-size, var(--mat-sys-body-large-size));font-weight:var(--mat-select-trigger-text-weight, var(--mat-sys-body-large-weight));letter-spacing:var(--mat-select-trigger-text-tracking, var(--mat-sys-body-large-tracking))}div.mat-mdc-select-panel{box-shadow:var(--mat-select-container-elevation-shadow, 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12))}.mat-mdc-select-disabled{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-disabled .mat-mdc-select-placeholder{color:var(--mat-select-disabled-trigger-text-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-trigger{display:inline-flex;align-items:center;cursor:pointer;position:relative;box-sizing:border-box;width:100%}.mat-mdc-select-disabled .mat-mdc-select-trigger{-webkit-user-select:none;user-select:none;cursor:default}.mat-mdc-select-value{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mat-mdc-select-value-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mat-mdc-select-arrow-wrapper{height:24px;flex-shrink:0;display:inline-flex;align-items:center}.mat-form-field-appearance-fill .mdc-text-field--no-label .mat-mdc-select-arrow-wrapper{transform:none}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-invalid .mat-mdc-select-arrow,.mat-form-field-invalid:not(.mat-form-field-disabled) .mat-mdc-form-field-infix::after{color:var(--mat-select-invalid-arrow-color, var(--mat-sys-error))}.mat-mdc-select-arrow{width:10px;height:5px;position:relative;color:var(--mat-select-enabled-arrow-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field.mat-focused .mat-mdc-select-arrow{color:var(--mat-select-focused-arrow-color, var(--mat-sys-primary))}.mat-mdc-form-field .mat-mdc-select.mat-mdc-select-disabled .mat-mdc-select-arrow{color:var(--mat-select-disabled-arrow-color, color-mix(in srgb, var(--mat-sys-on-surface) 38%, transparent))}.mat-mdc-select-arrow svg{fill:currentColor;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}@media(forced-colors: active){.mat-mdc-select-arrow svg{fill:CanvasText}.mat-mdc-select-disabled .mat-mdc-select-arrow svg{fill:GrayText}}div.mat-mdc-select-panel{width:100%;max-height:275px;outline:0;overflow:auto;padding:8px 0;border-radius:4px;box-sizing:border-box;position:relative;background-color:var(--mat-select-panel-background-color, var(--mat-sys-surface-container))}@media(forced-colors: active){div.mat-mdc-select-panel{outline:solid 1px}}.cdk-overlay-pane:not(.mat-mdc-select-panel-above) div.mat-mdc-select-panel{border-top-left-radius:0;border-top-right-radius:0;transform-origin:top center}.mat-mdc-select-panel-above div.mat-mdc-select-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:bottom center}.mat-select-panel-animations-enabled{animation:_mat-select-enter 120ms cubic-bezier(0, 0, 0.2, 1)}.mat-select-panel-animations-enabled.mat-select-panel-exit{animation:_mat-select-exit 100ms linear}.mat-mdc-select-placeholder{transition:color 400ms 133.3333333333ms cubic-bezier(0.25, 0.8, 0.25, 1);color:var(--mat-select-placeholder-text-color, var(--mat-sys-on-surface-variant))}.mat-mdc-form-field:not(.mat-form-field-animations-enabled) .mat-mdc-select-placeholder,._mat-animation-noopable .mat-mdc-select-placeholder{transition:none}.mat-form-field-hide-placeholder .mat-mdc-select-placeholder{color:rgba(0,0,0,0);-webkit-text-fill-color:rgba(0,0,0,0);transition:none;display:block}.mat-mdc-form-field-type-mat-select:not(.mat-form-field-disabled) .mat-mdc-text-field-wrapper{cursor:pointer}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mat-mdc-floating-label{max-width:calc(100% - 18px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-fill .mdc-floating-label--float-above{max-width:calc(100%/0.75 - 24px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-notched-outline__notch{max-width:calc(100% - 60px)}.mat-mdc-form-field-type-mat-select.mat-form-field-appearance-outline .mdc-text-field--label-floating .mdc-notched-outline__notch{max-width:calc(100% - 24px)}.mat-mdc-select-min-line:empty::before{content:" ";white-space:pre;width:1px;display:inline-block;visibility:hidden}.mat-form-field-appearance-fill .mat-mdc-select-arrow-wrapper{transform:var(--mat-select-arrow-transform, translateY(-8px))}
3
3
  `],encapsulation:2,changeDetection:0})}return u})();var ii=(()=>{class u{static \u0275fac=function(n){return new(n||u)};static \u0275mod=ft({type:u});static \u0275inj=lt({providers:[nr],imports:[qt,Le,Ie,Pt,Ht,Le,Ie]})}return u})();export{ri as a,ii as b,li as c};
@@ -1,2 +1,2 @@
1
- import{$a as Rt,Ed as rt,F as mt,Fd as Mt,Ga as T,Ha as X,Ia as St,Jd as At,Kd as at,La as M,Na as et,Oa as kt,Pa as L,Pd as p,Qa as E,Sa as it,Wa as m,Xa as S,Y as bt,Ya as ot,a as N,b as vt,ca as b,da as I,ea as wt,ee as W,fd as H,g as C,ga as c,gd as j,ge as x,ia as Y,ie as lt,j as O,na as v,nd as st,oa as w,pd as nt,qc as k,tc as Pt,ua as Ct,va as V,wa as P,wc as Et,xd as xt,yd as Dt,za as Ot}from"./chunk-DSWRNQDG.js";var A=class{_attachedHost;attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;t!=null&&(this._attachedHost=null,t.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(t){this._attachedHost=t}},ht=class extends A{component;viewContainerRef;injector;projectableNodes;constructor(t,e,i,s){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.projectableNodes=s}},D=class extends A{templateRef;viewContainerRef;context;injector;constructor(t,e,i,s){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i,this.injector=s}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}},ct=class extends A{element;constructor(t){super(),this.element=t instanceof P?t.nativeElement:t}},z=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(t){if(t instanceof ht)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof D)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof ct)return this._attachedPortal=t,this.attachDomPortal(t)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},Z=class extends z{outletElement;_appRef;_defaultInjector;constructor(t,e,i){super(),this.outletElement=t,this._appRef=e,this._defaultInjector=i}attachComponentPortal(t){let e;if(t.viewContainerRef){let i=t.injector||t.viewContainerRef.injector,s=i.get(et,null,{optional:!0})||void 0;e=t.viewContainerRef.createComponent(t.component,{index:t.viewContainerRef.length,injector:i,ngModuleRef:s,projectableNodes:t.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else{let i=this._appRef,s=t.injector||this._defaultInjector||v.NULL,n=s.get(Y,i.injector);e=Pt(t.component,{elementInjector:s,environmentInjector:n,projectableNodes:t.projectableNodes||void 0}),i.attachView(e.hostView),this.setDisposeFn(()=>{i.viewCount>0&&i.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=t,e}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return i.rootNodes.forEach(s=>this.outletElement.appendChild(s)),i.detectChanges(),this.setDisposeFn(()=>{let s=e.indexOf(i);s!==-1&&e.remove(s)}),this._attachedPortal=t,i}attachDomPortal=t=>{let e=t.element;e.parentNode;let i=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}},fe=(()=>{class o extends D{constructor(){let e=c(T),i=c(M);super(e,i)}static \u0275fac=function(i){return new(i||o)};static \u0275dir=E({type:o,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[it]})}return o})();var pe=(()=>{class o extends z{_moduleRef=c(et,{optional:!0});_document=c(w);_viewContainerRef=c(M);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new m;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,s=i.createComponent(e.component,{index:i.length,injector:e.injector||i.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=e,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachDomPortal=e=>{let i=e.element;i.parentNode;let s=this._document.createComment("dom-portal");e.setAttachedHost(this),i.parentNode.insertBefore(s,i),this._getRootNode().appendChild(i),this._attachedPortal=e,super.setDisposeFn(()=>{s.parentNode&&s.parentNode.replaceChild(i,s)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(i){return new(i||o)};static \u0275dir=E({type:o,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[it]})}return o})();var Bt=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=L({type:o});static \u0275inj=I({})}return o})();var Ft=At();function Lt(o){return new K(o.get(x),o.get(w))}var K=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(t,e){this._viewportRuler=t,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=p(-this._previousScrollPosition.left),t.style.top=p(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let t=this._document.documentElement,e=this._document.body,i=t.style,s=e.style,n=i.scrollBehavior||"",r=s.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),Ft&&(i.scrollBehavior=s.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Ft&&(i.scrollBehavior=n,s.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}};function Ht(o,t){return new $(o.get(W),o.get(S),o.get(x),t)}var $=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(t,e,i,s){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=s}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(this._scrollSubscription)return;let t=this._scrollDispatcher.scrolled(0).pipe(mt(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}};var B=class{enable(){}disable(){}attach(){}};function dt(o,t){return t.some(e=>{let i=o.bottom<e.top,s=o.top>e.bottom,n=o.right<e.left,r=o.left>e.right;return i||s||n||r})}function Nt(o,t){return t.some(e=>{let i=o.top<e.top,s=o.bottom>e.bottom,n=o.left<e.left,r=o.right>e.right;return i||s||n||r})}function tt(o,t){return new G(o.get(W),o.get(x),o.get(S),t)}var G=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(t,e,i,s){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=s}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(!this._scrollSubscription){let t=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(t).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:s}=this._viewportRuler.getViewportSize();dt(e,[{width:i,height:s,bottom:s,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},jt=(()=>{class o{_injector=c(v);constructor(){}noop=()=>new B;close=e=>Ht(this._injector,e);block=()=>Lt(this._injector);reposition=e=>tt(this._injector,e);static \u0275fac=function(i){return new(i||o)};static \u0275prov=b({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),F=class{positionStrategy;scrollStrategy=new B;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(t){if(t){let e=Object.keys(t);for(let i of e)t[i]!==void 0&&(this[i]=t[i])}}};var q=class{connectionPair;scrollableViewProperties;constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}};var Wt=(()=>{class o{_attachedOverlays=[];_document=c(w);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(i){return new(i||o)};static \u0275prov=b({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),zt=(()=>{class o extends Wt{_ngZone=c(S);_renderer=c(X).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let i=this._attachedOverlays;for(let s=i.length-1;s>-1;s--)if(i[s]._keydownEvents.observers.length>0){this._ngZone.run(()=>i[s]._keydownEvents.next(e));break}};static \u0275fac=(()=>{let e;return function(s){return(e||(e=V(o)))(s||o)}})();static \u0275prov=b({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),Zt=(()=>{class o extends Wt{_platform=c(j);_ngZone=c(S);_renderer=c(X).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(e){if(super.add(e),!this._isAttached){let i=this._document.body,s={capture:!0},n=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[n.listen(i,"pointerdown",this._pointerDownListener,s),n.listen(i,"click",this._clickListener,s),n.listen(i,"auxclick",this._clickListener,s),n.listen(i,"contextmenu",this._clickListener,s)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=H(e)};_clickListener=e=>{let i=H(e),s=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let n=this._attachedOverlays.slice();for(let r=n.length-1;r>-1;r--){let a=n[r];if(a._outsidePointerEvents.observers.length<1||!a.hasAttached())continue;if(It(a.overlayElement,i)||It(a.overlayElement,s))break;let h=a._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>h.next(e)):h.next(e)}};static \u0275fac=(()=>{let e;return function(s){return(e||(e=V(o)))(s||o)}})();static \u0275prov=b({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function It(o,t){let e=typeof ShadowRoot<"u"&&ShadowRoot,i=t;for(;i;){if(i===o)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}var Kt=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275cmp=kt({type:o,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,s){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
1
+ import{$a as Rt,Ed as rt,F as mt,Fd as Mt,Ga as T,Ha as X,Ia as St,Jd as At,Kd as at,La as M,Na as et,Oa as kt,Pa as L,Pd as p,Qa as E,Sa as it,Wa as m,Xa as S,Y as bt,Ya as ot,a as N,b as vt,ca as b,da as I,ea as wt,ee as W,fd as H,g as C,ga as c,gd as j,ge as x,ia as Y,ie as lt,j as O,na as v,nd as st,oa as w,pd as nt,qc as k,tc as Pt,ua as Ct,va as V,wa as P,wc as Et,xd as xt,yd as Dt,za as Ot}from"./chunk-ANRGX57I.js";var A=class{_attachedHost;attach(t){return this._attachedHost=t,t.attach(this)}detach(){let t=this._attachedHost;t!=null&&(this._attachedHost=null,t.detach())}get isAttached(){return this._attachedHost!=null}setAttachedHost(t){this._attachedHost=t}},ht=class extends A{component;viewContainerRef;injector;projectableNodes;constructor(t,e,i,s){super(),this.component=t,this.viewContainerRef=e,this.injector=i,this.projectableNodes=s}},D=class extends A{templateRef;viewContainerRef;context;injector;constructor(t,e,i,s){super(),this.templateRef=t,this.viewContainerRef=e,this.context=i,this.injector=s}get origin(){return this.templateRef.elementRef}attach(t,e=this.context){return this.context=e,super.attach(t)}detach(){return this.context=void 0,super.detach()}},ct=class extends A{element;constructor(t){super(),this.element=t instanceof P?t.nativeElement:t}},z=class{_attachedPortal;_disposeFn;_isDisposed=!1;hasAttached(){return!!this._attachedPortal}attach(t){if(t instanceof ht)return this._attachedPortal=t,this.attachComponentPortal(t);if(t instanceof D)return this._attachedPortal=t,this.attachTemplatePortal(t);if(this.attachDomPortal&&t instanceof ct)return this._attachedPortal=t,this.attachDomPortal(t)}attachDomPortal=null;detach(){this._attachedPortal&&(this._attachedPortal.setAttachedHost(null),this._attachedPortal=null),this._invokeDisposeFn()}dispose(){this.hasAttached()&&this.detach(),this._invokeDisposeFn(),this._isDisposed=!0}setDisposeFn(t){this._disposeFn=t}_invokeDisposeFn(){this._disposeFn&&(this._disposeFn(),this._disposeFn=null)}},Z=class extends z{outletElement;_appRef;_defaultInjector;constructor(t,e,i){super(),this.outletElement=t,this._appRef=e,this._defaultInjector=i}attachComponentPortal(t){let e;if(t.viewContainerRef){let i=t.injector||t.viewContainerRef.injector,s=i.get(et,null,{optional:!0})||void 0;e=t.viewContainerRef.createComponent(t.component,{index:t.viewContainerRef.length,injector:i,ngModuleRef:s,projectableNodes:t.projectableNodes||void 0}),this.setDisposeFn(()=>e.destroy())}else{let i=this._appRef,s=t.injector||this._defaultInjector||v.NULL,n=s.get(Y,i.injector);e=Pt(t.component,{elementInjector:s,environmentInjector:n,projectableNodes:t.projectableNodes||void 0}),i.attachView(e.hostView),this.setDisposeFn(()=>{i.viewCount>0&&i.detachView(e.hostView),e.destroy()})}return this.outletElement.appendChild(this._getComponentRootNode(e)),this._attachedPortal=t,e}attachTemplatePortal(t){let e=t.viewContainerRef,i=e.createEmbeddedView(t.templateRef,t.context,{injector:t.injector});return i.rootNodes.forEach(s=>this.outletElement.appendChild(s)),i.detectChanges(),this.setDisposeFn(()=>{let s=e.indexOf(i);s!==-1&&e.remove(s)}),this._attachedPortal=t,i}attachDomPortal=t=>{let e=t.element;e.parentNode;let i=this.outletElement.ownerDocument.createComment("dom-portal");e.parentNode.insertBefore(i,e),this.outletElement.appendChild(e),this._attachedPortal=t,super.setDisposeFn(()=>{i.parentNode&&i.parentNode.replaceChild(e,i)})};dispose(){super.dispose(),this.outletElement.remove()}_getComponentRootNode(t){return t.hostView.rootNodes[0]}},fe=(()=>{class o extends D{constructor(){let e=c(T),i=c(M);super(e,i)}static \u0275fac=function(i){return new(i||o)};static \u0275dir=E({type:o,selectors:[["","cdkPortal",""]],exportAs:["cdkPortal"],features:[it]})}return o})();var pe=(()=>{class o extends z{_moduleRef=c(et,{optional:!0});_document=c(w);_viewContainerRef=c(M);_isInitialized=!1;_attachedRef;constructor(){super()}get portal(){return this._attachedPortal}set portal(e){this.hasAttached()&&!e&&!this._isInitialized||(this.hasAttached()&&super.detach(),e&&super.attach(e),this._attachedPortal=e||null)}attached=new m;get attachedRef(){return this._attachedRef}ngOnInit(){this._isInitialized=!0}ngOnDestroy(){super.dispose(),this._attachedRef=this._attachedPortal=null}attachComponentPortal(e){e.setAttachedHost(this);let i=e.viewContainerRef!=null?e.viewContainerRef:this._viewContainerRef,s=i.createComponent(e.component,{index:i.length,injector:e.injector||i.injector,projectableNodes:e.projectableNodes||void 0,ngModuleRef:this._moduleRef||void 0});return i!==this._viewContainerRef&&this._getRootNode().appendChild(s.hostView.rootNodes[0]),super.setDisposeFn(()=>s.destroy()),this._attachedPortal=e,this._attachedRef=s,this.attached.emit(s),s}attachTemplatePortal(e){e.setAttachedHost(this);let i=this._viewContainerRef.createEmbeddedView(e.templateRef,e.context,{injector:e.injector});return super.setDisposeFn(()=>this._viewContainerRef.clear()),this._attachedPortal=e,this._attachedRef=i,this.attached.emit(i),i}attachDomPortal=e=>{let i=e.element;i.parentNode;let s=this._document.createComment("dom-portal");e.setAttachedHost(this),i.parentNode.insertBefore(s,i),this._getRootNode().appendChild(i),this._attachedPortal=e,super.setDisposeFn(()=>{s.parentNode&&s.parentNode.replaceChild(i,s)})};_getRootNode(){let e=this._viewContainerRef.element.nativeElement;return e.nodeType===e.ELEMENT_NODE?e:e.parentNode}static \u0275fac=function(i){return new(i||o)};static \u0275dir=E({type:o,selectors:[["","cdkPortalOutlet",""]],inputs:{portal:[0,"cdkPortalOutlet","portal"]},outputs:{attached:"attached"},exportAs:["cdkPortalOutlet"],features:[it]})}return o})();var Bt=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=L({type:o});static \u0275inj=I({})}return o})();var Ft=At();function Lt(o){return new K(o.get(x),o.get(w))}var K=class{_viewportRuler;_previousHTMLStyles={top:"",left:""};_previousScrollPosition;_isEnabled=!1;_document;constructor(t,e){this._viewportRuler=t,this._document=e}attach(){}enable(){if(this._canBeEnabled()){let t=this._document.documentElement;this._previousScrollPosition=this._viewportRuler.getViewportScrollPosition(),this._previousHTMLStyles.left=t.style.left||"",this._previousHTMLStyles.top=t.style.top||"",t.style.left=p(-this._previousScrollPosition.left),t.style.top=p(-this._previousScrollPosition.top),t.classList.add("cdk-global-scrollblock"),this._isEnabled=!0}}disable(){if(this._isEnabled){let t=this._document.documentElement,e=this._document.body,i=t.style,s=e.style,n=i.scrollBehavior||"",r=s.scrollBehavior||"";this._isEnabled=!1,i.left=this._previousHTMLStyles.left,i.top=this._previousHTMLStyles.top,t.classList.remove("cdk-global-scrollblock"),Ft&&(i.scrollBehavior=s.scrollBehavior="auto"),window.scroll(this._previousScrollPosition.left,this._previousScrollPosition.top),Ft&&(i.scrollBehavior=n,s.scrollBehavior=r)}}_canBeEnabled(){if(this._document.documentElement.classList.contains("cdk-global-scrollblock")||this._isEnabled)return!1;let e=this._document.documentElement,i=this._viewportRuler.getViewportSize();return e.scrollHeight>i.height||e.scrollWidth>i.width}};function Ht(o,t){return new $(o.get(W),o.get(S),o.get(x),t)}var $=class{_scrollDispatcher;_ngZone;_viewportRuler;_config;_scrollSubscription=null;_overlayRef;_initialScrollPosition;constructor(t,e,i,s){this._scrollDispatcher=t,this._ngZone=e,this._viewportRuler=i,this._config=s}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(this._scrollSubscription)return;let t=this._scrollDispatcher.scrolled(0).pipe(mt(e=>!e||!this._overlayRef.overlayElement.contains(e.getElementRef().nativeElement)));this._config&&this._config.threshold&&this._config.threshold>1?(this._initialScrollPosition=this._viewportRuler.getViewportScrollPosition().top,this._scrollSubscription=t.subscribe(()=>{let e=this._viewportRuler.getViewportScrollPosition().top;Math.abs(e-this._initialScrollPosition)>this._config.threshold?this._detach():this._overlayRef.updatePosition()})):this._scrollSubscription=t.subscribe(this._detach)}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}_detach=()=>{this.disable(),this._overlayRef.hasAttached()&&this._ngZone.run(()=>this._overlayRef.detach())}};var B=class{enable(){}disable(){}attach(){}};function dt(o,t){return t.some(e=>{let i=o.bottom<e.top,s=o.top>e.bottom,n=o.right<e.left,r=o.left>e.right;return i||s||n||r})}function Nt(o,t){return t.some(e=>{let i=o.top<e.top,s=o.bottom>e.bottom,n=o.left<e.left,r=o.right>e.right;return i||s||n||r})}function tt(o,t){return new G(o.get(W),o.get(x),o.get(S),t)}var G=class{_scrollDispatcher;_viewportRuler;_ngZone;_config;_scrollSubscription=null;_overlayRef;constructor(t,e,i,s){this._scrollDispatcher=t,this._viewportRuler=e,this._ngZone=i,this._config=s}attach(t){this._overlayRef,this._overlayRef=t}enable(){if(!this._scrollSubscription){let t=this._config?this._config.scrollThrottle:0;this._scrollSubscription=this._scrollDispatcher.scrolled(t).subscribe(()=>{if(this._overlayRef.updatePosition(),this._config&&this._config.autoClose){let e=this._overlayRef.overlayElement.getBoundingClientRect(),{width:i,height:s}=this._viewportRuler.getViewportSize();dt(e,[{width:i,height:s,bottom:s,right:i,top:0,left:0}])&&(this.disable(),this._ngZone.run(()=>this._overlayRef.detach()))}})}}disable(){this._scrollSubscription&&(this._scrollSubscription.unsubscribe(),this._scrollSubscription=null)}detach(){this.disable(),this._overlayRef=null}},jt=(()=>{class o{_injector=c(v);constructor(){}noop=()=>new B;close=e=>Ht(this._injector,e);block=()=>Lt(this._injector);reposition=e=>tt(this._injector,e);static \u0275fac=function(i){return new(i||o)};static \u0275prov=b({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),F=class{positionStrategy;scrollStrategy=new B;panelClass="";hasBackdrop=!1;backdropClass="cdk-overlay-dark-backdrop";disableAnimations;width;height;minWidth;minHeight;maxWidth;maxHeight;direction;disposeOnNavigation=!1;constructor(t){if(t){let e=Object.keys(t);for(let i of e)t[i]!==void 0&&(this[i]=t[i])}}};var q=class{connectionPair;scrollableViewProperties;constructor(t,e){this.connectionPair=t,this.scrollableViewProperties=e}};var Wt=(()=>{class o{_attachedOverlays=[];_document=c(w);_isAttached;constructor(){}ngOnDestroy(){this.detach()}add(e){this.remove(e),this._attachedOverlays.push(e)}remove(e){let i=this._attachedOverlays.indexOf(e);i>-1&&this._attachedOverlays.splice(i,1),this._attachedOverlays.length===0&&this.detach()}static \u0275fac=function(i){return new(i||o)};static \u0275prov=b({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),zt=(()=>{class o extends Wt{_ngZone=c(S);_renderer=c(X).createRenderer(null,null);_cleanupKeydown;add(e){super.add(e),this._isAttached||(this._ngZone.runOutsideAngular(()=>{this._cleanupKeydown=this._renderer.listen("body","keydown",this._keydownListener)}),this._isAttached=!0)}detach(){this._isAttached&&(this._cleanupKeydown?.(),this._isAttached=!1)}_keydownListener=e=>{let i=this._attachedOverlays;for(let s=i.length-1;s>-1;s--)if(i[s]._keydownEvents.observers.length>0){this._ngZone.run(()=>i[s]._keydownEvents.next(e));break}};static \u0275fac=(()=>{let e;return function(s){return(e||(e=V(o)))(s||o)}})();static \u0275prov=b({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),Zt=(()=>{class o extends Wt{_platform=c(j);_ngZone=c(S);_renderer=c(X).createRenderer(null,null);_cursorOriginalValue;_cursorStyleIsSet=!1;_pointerDownEventTarget;_cleanups;add(e){if(super.add(e),!this._isAttached){let i=this._document.body,s={capture:!0},n=this._renderer;this._cleanups=this._ngZone.runOutsideAngular(()=>[n.listen(i,"pointerdown",this._pointerDownListener,s),n.listen(i,"click",this._clickListener,s),n.listen(i,"auxclick",this._clickListener,s),n.listen(i,"contextmenu",this._clickListener,s)]),this._platform.IOS&&!this._cursorStyleIsSet&&(this._cursorOriginalValue=i.style.cursor,i.style.cursor="pointer",this._cursorStyleIsSet=!0),this._isAttached=!0}}detach(){this._isAttached&&(this._cleanups?.forEach(e=>e()),this._cleanups=void 0,this._platform.IOS&&this._cursorStyleIsSet&&(this._document.body.style.cursor=this._cursorOriginalValue,this._cursorStyleIsSet=!1),this._isAttached=!1)}_pointerDownListener=e=>{this._pointerDownEventTarget=H(e)};_clickListener=e=>{let i=H(e),s=e.type==="click"&&this._pointerDownEventTarget?this._pointerDownEventTarget:i;this._pointerDownEventTarget=null;let n=this._attachedOverlays.slice();for(let r=n.length-1;r>-1;r--){let a=n[r];if(a._outsidePointerEvents.observers.length<1||!a.hasAttached())continue;if(It(a.overlayElement,i)||It(a.overlayElement,s))break;let h=a._outsidePointerEvents;this._ngZone?this._ngZone.run(()=>h.next(e)):h.next(e)}};static \u0275fac=(()=>{let e;return function(s){return(e||(e=V(o)))(s||o)}})();static \u0275prov=b({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function It(o,t){let e=typeof ShadowRoot<"u"&&ShadowRoot,i=t;for(;i;){if(i===o)return!0;i=e&&i instanceof ShadowRoot?i.host:i.parentNode}return!1}var Kt=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275cmp=kt({type:o,selectors:[["ng-component"]],hostAttrs:["cdk-overlay-style-loader",""],decls:0,vars:0,template:function(i,s){},styles:[`.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed}@layer cdk-overlay{.cdk-overlay-container{z-index:1000}}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute}@layer cdk-overlay{.cdk-global-overlay-wrapper{z-index:1000}}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;display:flex;max-width:100%;max-height:100%}@layer cdk-overlay{.cdk-overlay-pane{z-index:1000}}.cdk-overlay-backdrop{position:absolute;top:0;bottom:0;left:0;right:0;pointer-events:auto;-webkit-tap-highlight-color:rgba(0,0,0,0);opacity:0;touch-action:manipulation}@layer cdk-overlay{.cdk-overlay-backdrop{z-index:1000;transition:opacity 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}}@media(prefers-reduced-motion){.cdk-overlay-backdrop{transition-duration:1ms}}.cdk-overlay-backdrop-showing{opacity:1}@media(forced-colors: active){.cdk-overlay-backdrop-showing{opacity:.6}}@layer cdk-overlay{.cdk-overlay-dark-backdrop{background:rgba(0,0,0,.32)}}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing,.cdk-high-contrast-active .cdk-overlay-transparent-backdrop{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;display:flex;flex-direction:column;min-width:1px;min-height:1px}@layer cdk-overlay{.cdk-overlay-connected-position-bounding-box{z-index:1000}}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}
2
2
  `],encapsulation:2,changeDetection:0})}return o})(),ut=(()=>{class o{_platform=c(j);_containerElement;_document=c(w);_styleLoader=c(st);constructor(){}ngOnDestroy(){this._containerElement?.remove()}getContainerElement(){return this._loadStyles(),this._containerElement||this._createContainer(),this._containerElement}_createContainer(){let e="cdk-overlay-container";if(this._platform.isBrowser||at()){let s=this._document.querySelectorAll(`.${e}[platform="server"], .${e}[platform="test"]`);for(let n=0;n<s.length;n++)s[n].remove()}let i=this._document.createElement("div");i.classList.add(e),at()?i.setAttribute("platform","test"):this._platform.isBrowser||i.setAttribute("platform","server"),this._document.body.appendChild(i),this._containerElement=i}_loadStyles(){this._styleLoader.load(Kt)}static \u0275fac=function(i){return new(i||o)};static \u0275prov=b({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),ft=class{_renderer;_ngZone;element;_cleanupClick;_cleanupTransitionEnd;_fallbackTimeout;constructor(t,e,i,s){this._renderer=e,this._ngZone=i,this.element=t.createElement("div"),this.element.classList.add("cdk-overlay-backdrop"),this._cleanupClick=e.listen(this.element,"click",s)}detach(){this._ngZone.runOutsideAngular(()=>{let t=this.element;clearTimeout(this._fallbackTimeout),this._cleanupTransitionEnd?.(),this._cleanupTransitionEnd=this._renderer.listen(t,"transitionend",this.dispose),this._fallbackTimeout=setTimeout(this.dispose,500),t.style.pointerEvents="none",t.classList.remove("cdk-overlay-backdrop-showing")})}dispose=()=>{clearTimeout(this._fallbackTimeout),this._cleanupClick?.(),this._cleanupTransitionEnd?.(),this._cleanupClick=this._cleanupTransitionEnd=this._fallbackTimeout=void 0,this.element.remove()}},U=class{_portalOutlet;_host;_pane;_config;_ngZone;_keyboardDispatcher;_document;_location;_outsideClickDispatcher;_animationsDisabled;_injector;_renderer;_backdropClick=new O;_attachments=new O;_detachments=new O;_positionStrategy;_scrollStrategy;_locationChanges=C.EMPTY;_backdropRef=null;_detachContentMutationObserver;_detachContentAfterRenderRef;_previousHostParent;_keydownEvents=new O;_outsidePointerEvents=new O;_afterNextRenderRef;constructor(t,e,i,s,n,r,a,h,d,l=!1,f,y){this._portalOutlet=t,this._host=e,this._pane=i,this._config=s,this._ngZone=n,this._keyboardDispatcher=r,this._document=a,this._location=h,this._outsideClickDispatcher=d,this._animationsDisabled=l,this._injector=f,this._renderer=y,s.scrollStrategy&&(this._scrollStrategy=s.scrollStrategy,this._scrollStrategy.attach(this)),this._positionStrategy=s.positionStrategy}get overlayElement(){return this._pane}get backdropElement(){return this._backdropRef?.element||null}get hostElement(){return this._host}attach(t){!this._host.parentElement&&this._previousHostParent&&this._previousHostParent.appendChild(this._host);let e=this._portalOutlet.attach(t);return this._positionStrategy&&this._positionStrategy.attach(this),this._updateStackingOrder(),this._updateElementSize(),this._updateElementDirection(),this._scrollStrategy&&this._scrollStrategy.enable(),this._afterNextRenderRef?.destroy(),this._afterNextRenderRef=ot(()=>{this.hasAttached()&&this.updatePosition()},{injector:this._injector}),this._togglePointerEvents(!0),this._config.hasBackdrop&&this._attachBackdrop(),this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!0),this._attachments.next(),this._completeDetachContent(),this._keyboardDispatcher.add(this),this._config.disposeOnNavigation&&(this._locationChanges=this._location.subscribe(()=>this.dispose())),this._outsideClickDispatcher.add(this),typeof e?.onDestroy=="function"&&e.onDestroy(()=>{this.hasAttached()&&this._ngZone.runOutsideAngular(()=>Promise.resolve().then(()=>this.detach()))}),e}detach(){if(!this.hasAttached())return;this.detachBackdrop(),this._togglePointerEvents(!1),this._positionStrategy&&this._positionStrategy.detach&&this._positionStrategy.detach(),this._scrollStrategy&&this._scrollStrategy.disable();let t=this._portalOutlet.detach();return this._detachments.next(),this._completeDetachContent(),this._keyboardDispatcher.remove(this),this._detachContentWhenEmpty(),this._locationChanges.unsubscribe(),this._outsideClickDispatcher.remove(this),t}dispose(){let t=this.hasAttached();this._positionStrategy&&this._positionStrategy.dispose(),this._disposeScrollStrategy(),this._backdropRef?.dispose(),this._locationChanges.unsubscribe(),this._keyboardDispatcher.remove(this),this._portalOutlet.dispose(),this._attachments.complete(),this._backdropClick.complete(),this._keydownEvents.complete(),this._outsidePointerEvents.complete(),this._outsideClickDispatcher.remove(this),this._host?.remove(),this._afterNextRenderRef?.destroy(),this._previousHostParent=this._pane=this._host=this._backdropRef=null,t&&this._detachments.next(),this._detachments.complete(),this._completeDetachContent()}hasAttached(){return this._portalOutlet.hasAttached()}backdropClick(){return this._backdropClick}attachments(){return this._attachments}detachments(){return this._detachments}keydownEvents(){return this._keydownEvents}outsidePointerEvents(){return this._outsidePointerEvents}getConfig(){return this._config}updatePosition(){this._positionStrategy&&this._positionStrategy.apply()}updatePositionStrategy(t){t!==this._positionStrategy&&(this._positionStrategy&&this._positionStrategy.dispose(),this._positionStrategy=t,this.hasAttached()&&(t.attach(this),this.updatePosition()))}updateSize(t){this._config=N(N({},this._config),t),this._updateElementSize()}setDirection(t){this._config=vt(N({},this._config),{direction:t}),this._updateElementDirection()}addPanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!0)}removePanelClass(t){this._pane&&this._toggleClasses(this._pane,t,!1)}getDirection(){let t=this._config.direction;return t?typeof t=="string"?t:t.value:"ltr"}updateScrollStrategy(t){t!==this._scrollStrategy&&(this._disposeScrollStrategy(),this._scrollStrategy=t,this.hasAttached()&&(t.attach(this),t.enable()))}_updateElementDirection(){this._host.setAttribute("dir",this.getDirection())}_updateElementSize(){if(!this._pane)return;let t=this._pane.style;t.width=p(this._config.width),t.height=p(this._config.height),t.minWidth=p(this._config.minWidth),t.minHeight=p(this._config.minHeight),t.maxWidth=p(this._config.maxWidth),t.maxHeight=p(this._config.maxHeight)}_togglePointerEvents(t){this._pane.style.pointerEvents=t?"":"none"}_attachBackdrop(){let t="cdk-overlay-backdrop-showing";this._backdropRef?.dispose(),this._backdropRef=new ft(this._document,this._renderer,this._ngZone,e=>{this._backdropClick.next(e)}),this._animationsDisabled&&this._backdropRef.element.classList.add("cdk-overlay-backdrop-noop-animation"),this._config.backdropClass&&this._toggleClasses(this._backdropRef.element,this._config.backdropClass,!0),this._host.parentElement.insertBefore(this._backdropRef.element,this._host),!this._animationsDisabled&&typeof requestAnimationFrame<"u"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>this._backdropRef?.element.classList.add(t))}):this._backdropRef.element.classList.add(t)}_updateStackingOrder(){this._host.nextSibling&&this._host.parentNode.appendChild(this._host)}detachBackdrop(){this._animationsDisabled?(this._backdropRef?.dispose(),this._backdropRef=null):this._backdropRef?.detach()}_toggleClasses(t,e,i){let s=nt(e||[]).filter(n=>!!n);s.length&&(i?t.classList.add(...s):t.classList.remove(...s))}_detachContentWhenEmpty(){let t=!1;try{this._detachContentAfterRenderRef=ot(()=>{t=!0,this._detachContent()},{injector:this._injector})}catch(e){if(t)throw e;this._detachContent()}globalThis.MutationObserver&&this._pane&&(this._detachContentMutationObserver||=new globalThis.MutationObserver(()=>{this._detachContent()}),this._detachContentMutationObserver.observe(this._pane,{childList:!0}))}_detachContent(){(!this._pane||!this._host||this._pane.children.length===0)&&(this._pane&&this._config.panelClass&&this._toggleClasses(this._pane,this._config.panelClass,!1),this._host&&this._host.parentElement&&(this._previousHostParent=this._host.parentElement,this._host.remove()),this._completeDetachContent())}_completeDetachContent(){this._detachContentAfterRenderRef?.destroy(),this._detachContentAfterRenderRef=void 0,this._detachContentMutationObserver?.disconnect()}_disposeScrollStrategy(){let t=this._scrollStrategy;t?.disable(),t?.detach?.()}},Yt="cdk-overlay-connected-position-bounding-box",Qt=/([A-Za-z%]+)$/;function _t(o,t){return new J(t,o.get(x),o.get(w),o.get(j),o.get(ut))}var J=class{_viewportRuler;_document;_platform;_overlayContainer;_overlayRef;_isInitialRender;_lastBoundingBoxSize={width:0,height:0};_isPushed=!1;_canPush=!0;_growAfterOpen=!1;_hasFlexibleDimensions=!0;_positionLocked=!1;_originRect;_overlayRect;_viewportRect;_containerRect;_viewportMargin=0;_scrollables=[];_preferredPositions=[];_origin;_pane;_isDisposed;_boundingBox;_lastPosition;_lastScrollVisibility;_positionChanges=new O;_resizeSubscription=C.EMPTY;_offsetX=0;_offsetY=0;_transformOriginSelector;_appliedPanelClasses=[];_previousPushAmount;positionChanges=this._positionChanges;get positions(){return this._preferredPositions}constructor(t,e,i,s,n){this._viewportRuler=e,this._document=i,this._platform=s,this._overlayContainer=n,this.setOrigin(t)}attach(t){this._overlayRef&&this._overlayRef,this._validatePositions(),t.hostElement.classList.add(Yt),this._overlayRef=t,this._boundingBox=t.hostElement,this._pane=t.overlayElement,this._isDisposed=!1,this._isInitialRender=!0,this._lastPosition=null,this._resizeSubscription.unsubscribe(),this._resizeSubscription=this._viewportRuler.change().subscribe(()=>{this._isInitialRender=!0,this.apply()})}apply(){if(this._isDisposed||!this._platform.isBrowser)return;if(!this._isInitialRender&&this._positionLocked&&this._lastPosition){this.reapplyLastPosition();return}this._clearPanelClasses(),this._resetOverlayElementStyles(),this._resetBoundingBoxStyles(),this._viewportRect=this._getNarrowedViewportRect(),this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let t=this._originRect,e=this._overlayRect,i=this._viewportRect,s=this._containerRect,n=[],r;for(let a of this._preferredPositions){let h=this._getOriginPoint(t,s,a),d=this._getOverlayPoint(h,e,a),l=this._getOverlayFit(d,e,i,a);if(l.isCompletelyWithinViewport){this._isPushed=!1,this._applyPosition(a,h);return}if(this._canFitWithFlexibleDimensions(l,d,i)){n.push({position:a,origin:h,overlayRect:e,boundingBoxRect:this._calculateBoundingBoxRect(h,a)});continue}(!r||r.overlayFit.visibleArea<l.visibleArea)&&(r={overlayFit:l,overlayPoint:d,originPoint:h,position:a,overlayRect:e})}if(n.length){let a=null,h=-1;for(let d of n){let l=d.boundingBoxRect.width*d.boundingBoxRect.height*(d.position.weight||1);l>h&&(h=l,a=d)}this._isPushed=!1,this._applyPosition(a.position,a.origin);return}if(this._canPush){this._isPushed=!0,this._applyPosition(r.position,r.originPoint);return}this._applyPosition(r.position,r.originPoint)}detach(){this._clearPanelClasses(),this._lastPosition=null,this._previousPushAmount=null,this._resizeSubscription.unsubscribe()}dispose(){this._isDisposed||(this._boundingBox&&R(this._boundingBox.style,{top:"",left:"",right:"",bottom:"",height:"",width:"",alignItems:"",justifyContent:""}),this._pane&&this._resetOverlayElementStyles(),this._overlayRef&&this._overlayRef.hostElement.classList.remove(Yt),this.detach(),this._positionChanges.complete(),this._overlayRef=this._boundingBox=null,this._isDisposed=!0)}reapplyLastPosition(){if(this._isDisposed||!this._platform.isBrowser)return;let t=this._lastPosition;if(t){this._originRect=this._getOriginRect(),this._overlayRect=this._pane.getBoundingClientRect(),this._viewportRect=this._getNarrowedViewportRect(),this._containerRect=this._overlayContainer.getContainerElement().getBoundingClientRect();let e=this._getOriginPoint(this._originRect,this._containerRect,t);this._applyPosition(t,e)}else this.apply()}withScrollableContainers(t){return this._scrollables=t,this}withPositions(t){return this._preferredPositions=t,t.indexOf(this._lastPosition)===-1&&(this._lastPosition=null),this._validatePositions(),this}withViewportMargin(t){return this._viewportMargin=t,this}withFlexibleDimensions(t=!0){return this._hasFlexibleDimensions=t,this}withGrowAfterOpen(t=!0){return this._growAfterOpen=t,this}withPush(t=!0){return this._canPush=t,this}withLockedPosition(t=!0){return this._positionLocked=t,this}setOrigin(t){return this._origin=t,this}withDefaultOffsetX(t){return this._offsetX=t,this}withDefaultOffsetY(t){return this._offsetY=t,this}withTransformOriginOn(t){return this._transformOriginSelector=t,this}_getOriginPoint(t,e,i){let s;if(i.originX=="center")s=t.left+t.width/2;else{let r=this._isRtl()?t.right:t.left,a=this._isRtl()?t.left:t.right;s=i.originX=="start"?r:a}e.left<0&&(s-=e.left);let n;return i.originY=="center"?n=t.top+t.height/2:n=i.originY=="top"?t.top:t.bottom,e.top<0&&(n-=e.top),{x:s,y:n}}_getOverlayPoint(t,e,i){let s;i.overlayX=="center"?s=-e.width/2:i.overlayX==="start"?s=this._isRtl()?-e.width:0:s=this._isRtl()?0:-e.width;let n;return i.overlayY=="center"?n=-e.height/2:n=i.overlayY=="top"?0:-e.height,{x:t.x+s,y:t.y+n}}_getOverlayFit(t,e,i,s){let n=Tt(e),{x:r,y:a}=t,h=this._getOffset(s,"x"),d=this._getOffset(s,"y");h&&(r+=h),d&&(a+=d);let l=0-r,f=r+n.width-i.width,y=0-a,_=a+n.height-i.height,u=this._subtractOverflows(n.width,l,f),g=this._subtractOverflows(n.height,y,_),yt=u*g;return{visibleArea:yt,isCompletelyWithinViewport:n.width*n.height===yt,fitsInViewportVertically:g===n.height,fitsInViewportHorizontally:u==n.width}}_canFitWithFlexibleDimensions(t,e,i){if(this._hasFlexibleDimensions){let s=i.bottom-e.y,n=i.right-e.x,r=Vt(this._overlayRef.getConfig().minHeight),a=Vt(this._overlayRef.getConfig().minWidth),h=t.fitsInViewportVertically||r!=null&&r<=s,d=t.fitsInViewportHorizontally||a!=null&&a<=n;return h&&d}return!1}_pushOverlayOnScreen(t,e,i){if(this._previousPushAmount&&this._positionLocked)return{x:t.x+this._previousPushAmount.x,y:t.y+this._previousPushAmount.y};let s=Tt(e),n=this._viewportRect,r=Math.max(t.x+s.width-n.width,0),a=Math.max(t.y+s.height-n.height,0),h=Math.max(n.top-i.top-t.y,0),d=Math.max(n.left-i.left-t.x,0),l=0,f=0;return s.width<=n.width?l=d||-r:l=t.x<this._viewportMargin?n.left-i.left-t.x:0,s.height<=n.height?f=h||-a:f=t.y<this._viewportMargin?n.top-i.top-t.y:0,this._previousPushAmount={x:l,y:f},{x:t.x+l,y:t.y+f}}_applyPosition(t,e){if(this._setTransformOrigin(t),this._setOverlayElementStyles(e,t),this._setBoundingBoxStyles(e,t),t.panelClass&&this._addPanelClasses(t.panelClass),this._positionChanges.observers.length){let i=this._getScrollVisibility();if(t!==this._lastPosition||!this._lastScrollVisibility||!te(this._lastScrollVisibility,i)){let s=new q(t,i);this._positionChanges.next(s)}this._lastScrollVisibility=i}this._lastPosition=t,this._isInitialRender=!1}_setTransformOrigin(t){if(!this._transformOriginSelector)return;let e=this._boundingBox.querySelectorAll(this._transformOriginSelector),i,s=t.overlayY;t.overlayX==="center"?i="center":this._isRtl()?i=t.overlayX==="start"?"right":"left":i=t.overlayX==="start"?"left":"right";for(let n=0;n<e.length;n++)e[n].style.transformOrigin=`${i} ${s}`}_calculateBoundingBoxRect(t,e){let i=this._viewportRect,s=this._isRtl(),n,r,a;if(e.overlayY==="top")r=t.y,n=i.height-r+this._viewportMargin;else if(e.overlayY==="bottom")a=i.height-t.y+this._viewportMargin*2,n=i.height-a+this._viewportMargin;else{let _=Math.min(i.bottom-t.y+i.top,t.y),u=this._lastBoundingBoxSize.height;n=_*2,r=t.y-_,n>u&&!this._isInitialRender&&!this._growAfterOpen&&(r=t.y-u/2)}let h=e.overlayX==="start"&&!s||e.overlayX==="end"&&s,d=e.overlayX==="end"&&!s||e.overlayX==="start"&&s,l,f,y;if(d)y=i.width-t.x+this._viewportMargin*2,l=t.x-this._viewportMargin;else if(h)f=t.x,l=i.right-t.x;else{let _=Math.min(i.right-t.x+i.left,t.x),u=this._lastBoundingBoxSize.width;l=_*2,f=t.x-_,l>u&&!this._isInitialRender&&!this._growAfterOpen&&(f=t.x-u/2)}return{top:r,left:f,bottom:a,right:y,width:l,height:n}}_setBoundingBoxStyles(t,e){let i=this._calculateBoundingBoxRect(t,e);!this._isInitialRender&&!this._growAfterOpen&&(i.height=Math.min(i.height,this._lastBoundingBoxSize.height),i.width=Math.min(i.width,this._lastBoundingBoxSize.width));let s={};if(this._hasExactPosition())s.top=s.left="0",s.bottom=s.right=s.maxHeight=s.maxWidth="",s.width=s.height="100%";else{let n=this._overlayRef.getConfig().maxHeight,r=this._overlayRef.getConfig().maxWidth;s.height=p(i.height),s.top=p(i.top),s.bottom=p(i.bottom),s.width=p(i.width),s.left=p(i.left),s.right=p(i.right),e.overlayX==="center"?s.alignItems="center":s.alignItems=e.overlayX==="end"?"flex-end":"flex-start",e.overlayY==="center"?s.justifyContent="center":s.justifyContent=e.overlayY==="bottom"?"flex-end":"flex-start",n&&(s.maxHeight=p(n)),r&&(s.maxWidth=p(r))}this._lastBoundingBoxSize=i,R(this._boundingBox.style,s)}_resetBoundingBoxStyles(){R(this._boundingBox.style,{top:"0",left:"0",right:"0",bottom:"0",height:"",width:"",alignItems:"",justifyContent:""})}_resetOverlayElementStyles(){R(this._pane.style,{top:"",left:"",bottom:"",right:"",position:"",transform:""})}_setOverlayElementStyles(t,e){let i={},s=this._hasExactPosition(),n=this._hasFlexibleDimensions,r=this._overlayRef.getConfig();if(s){let l=this._viewportRuler.getViewportScrollPosition();R(i,this._getExactOverlayY(e,t,l)),R(i,this._getExactOverlayX(e,t,l))}else i.position="static";let a="",h=this._getOffset(e,"x"),d=this._getOffset(e,"y");h&&(a+=`translateX(${h}px) `),d&&(a+=`translateY(${d}px)`),i.transform=a.trim(),r.maxHeight&&(s?i.maxHeight=p(r.maxHeight):n&&(i.maxHeight="")),r.maxWidth&&(s?i.maxWidth=p(r.maxWidth):n&&(i.maxWidth="")),R(this._pane.style,i)}_getExactOverlayY(t,e,i){let s={top:"",bottom:""},n=this._getOverlayPoint(e,this._overlayRect,t);if(this._isPushed&&(n=this._pushOverlayOnScreen(n,this._overlayRect,i)),t.overlayY==="bottom"){let r=this._document.documentElement.clientHeight;s.bottom=`${r-(n.y+this._overlayRect.height)}px`}else s.top=p(n.y);return s}_getExactOverlayX(t,e,i){let s={left:"",right:""},n=this._getOverlayPoint(e,this._overlayRect,t);this._isPushed&&(n=this._pushOverlayOnScreen(n,this._overlayRect,i));let r;if(this._isRtl()?r=t.overlayX==="end"?"left":"right":r=t.overlayX==="end"?"right":"left",r==="right"){let a=this._document.documentElement.clientWidth;s.right=`${a-(n.x+this._overlayRect.width)}px`}else s.left=p(n.x);return s}_getScrollVisibility(){let t=this._getOriginRect(),e=this._pane.getBoundingClientRect(),i=this._scrollables.map(s=>s.getElementRef().nativeElement.getBoundingClientRect());return{isOriginClipped:Nt(t,i),isOriginOutsideView:dt(t,i),isOverlayClipped:Nt(e,i),isOverlayOutsideView:dt(e,i)}}_subtractOverflows(t,...e){return e.reduce((i,s)=>i-Math.max(s,0),t)}_getNarrowedViewportRect(){let t=this._document.documentElement.clientWidth,e=this._document.documentElement.clientHeight,i=this._viewportRuler.getViewportScrollPosition();return{top:i.top+this._viewportMargin,left:i.left+this._viewportMargin,right:i.left+t-this._viewportMargin,bottom:i.top+e-this._viewportMargin,width:t-2*this._viewportMargin,height:e-2*this._viewportMargin}}_isRtl(){return this._overlayRef.getDirection()==="rtl"}_hasExactPosition(){return!this._hasFlexibleDimensions||this._isPushed}_getOffset(t,e){return e==="x"?t.offsetX==null?this._offsetX:t.offsetX:t.offsetY==null?this._offsetY:t.offsetY}_validatePositions(){}_addPanelClasses(t){this._pane&&nt(t).forEach(e=>{e!==""&&this._appliedPanelClasses.indexOf(e)===-1&&(this._appliedPanelClasses.push(e),this._pane.classList.add(e))})}_clearPanelClasses(){this._pane&&(this._appliedPanelClasses.forEach(t=>{this._pane.classList.remove(t)}),this._appliedPanelClasses=[])}_getOriginRect(){let t=this._origin;if(t instanceof P)return t.nativeElement.getBoundingClientRect();if(t instanceof Element)return t.getBoundingClientRect();let e=t.width||0,i=t.height||0;return{top:t.y,bottom:t.y+i,left:t.x,right:t.x+e,height:i,width:e}}};function R(o,t){for(let e in t)t.hasOwnProperty(e)&&(o[e]=t[e]);return o}function Vt(o){if(typeof o!="number"&&o!=null){let[t,e]=o.split(Qt);return!e||e==="px"?parseFloat(t):null}return o||null}function Tt(o){return{top:Math.floor(o.top),right:Math.floor(o.right),bottom:Math.floor(o.bottom),left:Math.floor(o.left),width:Math.floor(o.width),height:Math.floor(o.height)}}function te(o,t){return o===t?!0:o.isOriginClipped===t.isOriginClipped&&o.isOriginOutsideView===t.isOriginOutsideView&&o.isOverlayClipped===t.isOverlayClipped&&o.isOverlayOutsideView===t.isOverlayOutsideView}var Xt="cdk-global-overlay-wrapper";function $t(o){return new Q}var Q=class{_overlayRef;_cssPosition="static";_topOffset="";_bottomOffset="";_alignItems="";_xPosition="";_xOffset="";_width="";_height="";_isDisposed=!1;attach(t){let e=t.getConfig();this._overlayRef=t,this._width&&!e.width&&t.updateSize({width:this._width}),this._height&&!e.height&&t.updateSize({height:this._height}),t.hostElement.classList.add(Xt),this._isDisposed=!1}top(t=""){return this._bottomOffset="",this._topOffset=t,this._alignItems="flex-start",this}left(t=""){return this._xOffset=t,this._xPosition="left",this}bottom(t=""){return this._topOffset="",this._bottomOffset=t,this._alignItems="flex-end",this}right(t=""){return this._xOffset=t,this._xPosition="right",this}start(t=""){return this._xOffset=t,this._xPosition="start",this}end(t=""){return this._xOffset=t,this._xPosition="end",this}width(t=""){return this._overlayRef?this._overlayRef.updateSize({width:t}):this._width=t,this}height(t=""){return this._overlayRef?this._overlayRef.updateSize({height:t}):this._height=t,this}centerHorizontally(t=""){return this.left(t),this._xPosition="center",this}centerVertically(t=""){return this.top(t),this._alignItems="center",this}apply(){if(!this._overlayRef||!this._overlayRef.hasAttached())return;let t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement.style,i=this._overlayRef.getConfig(),{width:s,height:n,maxWidth:r,maxHeight:a}=i,h=(s==="100%"||s==="100vw")&&(!r||r==="100%"||r==="100vw"),d=(n==="100%"||n==="100vh")&&(!a||a==="100%"||a==="100vh"),l=this._xPosition,f=this._xOffset,y=this._overlayRef.getConfig().direction==="rtl",_="",u="",g="";h?g="flex-start":l==="center"?(g="center",y?u=f:_=f):y?l==="left"||l==="end"?(g="flex-end",_=f):(l==="right"||l==="start")&&(g="flex-start",u=f):l==="left"||l==="start"?(g="flex-start",_=f):(l==="right"||l==="end")&&(g="flex-end",u=f),t.position=this._cssPosition,t.marginLeft=h?"0":_,t.marginTop=d?"0":this._topOffset,t.marginBottom=this._bottomOffset,t.marginRight=h?"0":u,e.justifyContent=g,e.alignItems=d?"flex-start":this._alignItems}dispose(){if(this._isDisposed||!this._overlayRef)return;let t=this._overlayRef.overlayElement.style,e=this._overlayRef.hostElement,i=e.style;e.classList.remove(Xt),i.justifyContent=i.alignItems=t.marginTop=t.marginBottom=t.marginLeft=t.marginRight=t.position="",this._overlayRef=null,this._isDisposed=!0}},Gt=(()=>{class o{_injector=c(v);constructor(){}global(){return $t()}flexibleConnectedTo(e){return _t(this._injector,e)}static \u0275fac=function(i){return new(i||o)};static \u0275prov=b({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})();function gt(o,t){o.get(st).load(Kt);let e=o.get(ut),i=o.get(w),s=o.get(xt),n=o.get(Rt),r=o.get(rt),a=i.createElement("div"),h=i.createElement("div");h.id=s.getId("cdk-overlay-"),h.classList.add("cdk-overlay-pane"),a.appendChild(h),e.getContainerElement().appendChild(a);let d=new Z(h,n,o),l=new F(t),f=o.get(St,null,{optional:!0})||o.get(X).createRenderer(null,null);return l.direction=l.direction||r.value,new U(d,a,h,l,o.get(S),o.get(zt),i,o.get(Et),o.get(Zt),t?.disableAnimations??o.get(Ot,null,{optional:!0})==="NoopAnimations",o.get(Y),f)}var qt=(()=>{class o{scrollStrategies=c(jt);_positionBuilder=c(Gt);_injector=c(v);constructor(){}create(e){return gt(this._injector,e)}position(){return this._positionBuilder}static \u0275fac=function(i){return new(i||o)};static \u0275prov=b({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})(),ee=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom"},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],Ut=new wt("cdk-connected-overlay-scroll-strategy",{providedIn:"root",factory:()=>{let o=c(v);return()=>tt(o)}}),pt=(()=>{class o{elementRef=c(P);constructor(){}static \u0275fac=function(i){return new(i||o)};static \u0275dir=E({type:o,selectors:[["","cdk-overlay-origin",""],["","overlay-origin",""],["","cdkOverlayOrigin",""]],exportAs:["cdkOverlayOrigin"]})}return o})(),ie=(()=>{class o{_dir=c(rt,{optional:!0});_injector=c(v);_overlayRef;_templatePortal;_backdropSubscription=C.EMPTY;_attachSubscription=C.EMPTY;_detachSubscription=C.EMPTY;_positionSubscription=C.EMPTY;_offsetX;_offsetY;_position;_scrollStrategyFactory=c(Ut);_disposeOnNavigation=!1;_ngZone=c(S);origin;positions;positionStrategy;get offsetX(){return this._offsetX}set offsetX(e){this._offsetX=e,this._position&&this._updatePositionStrategy(this._position)}get offsetY(){return this._offsetY}set offsetY(e){this._offsetY=e,this._position&&this._updatePositionStrategy(this._position)}width;height;minWidth;minHeight;backdropClass;panelClass;viewportMargin=0;scrollStrategy;open=!1;disableClose=!1;transformOriginSelector;hasBackdrop=!1;lockPosition=!1;flexibleDimensions=!1;growAfterOpen=!1;push=!1;get disposeOnNavigation(){return this._disposeOnNavigation}set disposeOnNavigation(e){this._disposeOnNavigation=e}backdropClick=new m;positionChange=new m;attach=new m;detach=new m;overlayKeydown=new m;overlayOutsideClick=new m;constructor(){let e=c(T),i=c(M);this._templatePortal=new D(e,i),this.scrollStrategy=this._scrollStrategyFactory()}get overlayRef(){return this._overlayRef}get dir(){return this._dir?this._dir.value:"ltr"}ngOnDestroy(){this._attachSubscription.unsubscribe(),this._detachSubscription.unsubscribe(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this._overlayRef?.dispose()}ngOnChanges(e){this._position&&(this._updatePositionStrategy(this._position),this._overlayRef?.updateSize({width:this.width,minWidth:this.minWidth,height:this.height,minHeight:this.minHeight}),e.origin&&this.open&&this._position.apply()),e.open&&(this.open?this.attachOverlay():this.detachOverlay())}_createOverlay(){(!this.positions||!this.positions.length)&&(this.positions=ee);let e=this._overlayRef=gt(this._injector,this._buildConfig());this._attachSubscription=e.attachments().subscribe(()=>this.attach.emit()),this._detachSubscription=e.detachments().subscribe(()=>this.detach.emit()),e.keydownEvents().subscribe(i=>{this.overlayKeydown.next(i),i.keyCode===27&&!this.disableClose&&!Dt(i)&&(i.preventDefault(),this.detachOverlay())}),this._overlayRef.outsidePointerEvents().subscribe(i=>{let s=this._getOriginElement(),n=H(i);(!s||s!==n&&!s.contains(n))&&this.overlayOutsideClick.next(i)})}_buildConfig(){let e=this._position=this.positionStrategy||this._createPositionStrategy(),i=new F({direction:this._dir||"ltr",positionStrategy:e,scrollStrategy:this.scrollStrategy,hasBackdrop:this.hasBackdrop,disposeOnNavigation:this.disposeOnNavigation});return(this.width||this.width===0)&&(i.width=this.width),(this.height||this.height===0)&&(i.height=this.height),(this.minWidth||this.minWidth===0)&&(i.minWidth=this.minWidth),(this.minHeight||this.minHeight===0)&&(i.minHeight=this.minHeight),this.backdropClass&&(i.backdropClass=this.backdropClass),this.panelClass&&(i.panelClass=this.panelClass),i}_updatePositionStrategy(e){let i=this.positions.map(s=>({originX:s.originX,originY:s.originY,overlayX:s.overlayX,overlayY:s.overlayY,offsetX:s.offsetX||this.offsetX,offsetY:s.offsetY||this.offsetY,panelClass:s.panelClass||void 0}));return e.setOrigin(this._getOrigin()).withPositions(i).withFlexibleDimensions(this.flexibleDimensions).withPush(this.push).withGrowAfterOpen(this.growAfterOpen).withViewportMargin(this.viewportMargin).withLockedPosition(this.lockPosition).withTransformOriginOn(this.transformOriginSelector)}_createPositionStrategy(){let e=_t(this._injector,this._getOrigin());return this._updatePositionStrategy(e),e}_getOrigin(){return this.origin instanceof pt?this.origin.elementRef:this.origin}_getOriginElement(){return this.origin instanceof pt?this.origin.elementRef.nativeElement:this.origin instanceof P?this.origin.nativeElement:typeof Element<"u"&&this.origin instanceof Element?this.origin:null}attachOverlay(){this._overlayRef?this._overlayRef.getConfig().hasBackdrop=this.hasBackdrop:this._createOverlay(),this._overlayRef.hasAttached()||this._overlayRef.attach(this._templatePortal),this.hasBackdrop?this._backdropSubscription=this._overlayRef.backdropClick().subscribe(e=>{this.backdropClick.emit(e)}):this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.positionChange.observers.length>0&&(this._positionSubscription=this._position.positionChanges.pipe(bt(()=>this.positionChange.observers.length>0)).subscribe(e=>{this._ngZone.run(()=>this.positionChange.emit(e)),this.positionChange.observers.length===0&&this._positionSubscription.unsubscribe()})),this.open=!0}detachOverlay(){this._overlayRef?.detach(),this._backdropSubscription.unsubscribe(),this._positionSubscription.unsubscribe(),this.open=!1}static \u0275fac=function(i){return new(i||o)};static \u0275dir=E({type:o,selectors:[["","cdk-connected-overlay",""],["","connected-overlay",""],["","cdkConnectedOverlay",""]],inputs:{origin:[0,"cdkConnectedOverlayOrigin","origin"],positions:[0,"cdkConnectedOverlayPositions","positions"],positionStrategy:[0,"cdkConnectedOverlayPositionStrategy","positionStrategy"],offsetX:[0,"cdkConnectedOverlayOffsetX","offsetX"],offsetY:[0,"cdkConnectedOverlayOffsetY","offsetY"],width:[0,"cdkConnectedOverlayWidth","width"],height:[0,"cdkConnectedOverlayHeight","height"],minWidth:[0,"cdkConnectedOverlayMinWidth","minWidth"],minHeight:[0,"cdkConnectedOverlayMinHeight","minHeight"],backdropClass:[0,"cdkConnectedOverlayBackdropClass","backdropClass"],panelClass:[0,"cdkConnectedOverlayPanelClass","panelClass"],viewportMargin:[0,"cdkConnectedOverlayViewportMargin","viewportMargin"],scrollStrategy:[0,"cdkConnectedOverlayScrollStrategy","scrollStrategy"],open:[0,"cdkConnectedOverlayOpen","open"],disableClose:[0,"cdkConnectedOverlayDisableClose","disableClose"],transformOriginSelector:[0,"cdkConnectedOverlayTransformOriginOn","transformOriginSelector"],hasBackdrop:[2,"cdkConnectedOverlayHasBackdrop","hasBackdrop",k],lockPosition:[2,"cdkConnectedOverlayLockPosition","lockPosition",k],flexibleDimensions:[2,"cdkConnectedOverlayFlexibleDimensions","flexibleDimensions",k],growAfterOpen:[2,"cdkConnectedOverlayGrowAfterOpen","growAfterOpen",k],push:[2,"cdkConnectedOverlayPush","push",k],disposeOnNavigation:[2,"cdkConnectedOverlayDisposeOnNavigation","disposeOnNavigation",k]},outputs:{backdropClick:"backdropClick",positionChange:"positionChange",attach:"attach",detach:"detach",overlayKeydown:"overlayKeydown",overlayOutsideClick:"overlayOutsideClick"},exportAs:["cdkConnectedOverlay"],features:[Ct]})}return o})();function oe(o){let t=c(v);return()=>tt(t)}var se={provide:Ut,useFactory:oe},ne=(()=>{class o{static \u0275fac=function(i){return new(i||o)};static \u0275mod=L({type:o});static \u0275inj=I({providers:[qt,se],imports:[Mt,Bt,lt,lt]})}return o})();export{ht as a,D as b,z as c,Z as d,fe as e,pe as f,Bt as g,Lt as h,tt as i,F as j,ut as k,U as l,_t as m,$t as n,gt as o,qt as p,pt as q,ie as r,ne as s};