@clear-capabilities/agentic-security-scanner 0.177.0 → 0.178.0
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{createRequire as t}from"module";var s={33898:t=>{function webpackEmptyAsyncContext(t){return Promise.resolve().then(()=>{var s=new Error("Cannot find module '"+t+"'");s.code="MODULE_NOT_FOUND";throw s})}webpackEmptyAsyncContext.keys=()=>[];webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=33898;t.exports=webpackEmptyAsyncContext},76747:t=>{function BrowserslistError(t){this.name="BrowserslistError";this.message=t;this.browserslist=true;if(Error.captureStackTrace){Error.captureStackTrace(this,BrowserslistError)}}BrowserslistError.prototype=Error.prototype;t.exports=BrowserslistError},77913:(t,s,i)=>{var r=i(57409);var a=i(73909);var o=i(25588).X;var l=i(69666);var u=i(93147);var p=i(16928);var f=i(76747);var h=i(11393);var m=i(49694);var g=365.259641*24*60*60*1e3;var x="37";var k=14;var _="153";function isVersionsMatch(t,s){return(t+".").indexOf(s+".")===0}function isEolReleased(t){var s=t.slice(1);return browserslist.nodeVersions.some(function(t){return isVersionsMatch(t,s)})}function normalize(t){return t.filter(function(t){return typeof t==="string"})}function normalizeElectron(t){var s=t;if(t.split(".").length===3){s=t.split(".").slice(0,-1).join(".")}return s}function nameMapper(t){return function mapName(s){return t+" "+s}}function getMajor(t){return parseInt(t.split(".")[0])}function getMajorVersions(t,s){if(t.length===0)return[];var i=uniq(t.map(getMajor));var r=i[i.length-s];if(!r){return t}var a=[];for(var o=t.length-1;o>=0;o--){if(r>getMajor(t[o]))break;a.unshift(t[o])}return a}function uniq(t){var s=[];for(var i=0;i<t.length;i++){if(s.indexOf(t[i])===-1)s.push(t[i])}return s}function fillUsage(t,s,i){for(var r in i){t[s+" "+r]=i[r]}}function filterUsage(t,s,i){return Object.keys(t).filter(function(r){var a=t[r];if(a==null){return false}switch(s){case"<":return a<i;case"<=":return a<=i;case">":return a>i;default:return a>=i}})}function generateFilter(t,s){if(t===">"){return function(t){return parseLatestFloat(t)>parseLatestFloat(s)}}else if(t===">="){return function(t){return parseLatestFloat(t)>=parseLatestFloat(s)}}else if(t==="<"){return function(t){return parseFloat(t)<parseFloat(s)}}else{return function(t){return parseFloat(t)<=parseFloat(s)}}function parseLatestFloat(t){return parseFloat(t.split("-")[1]||t)}}function generateSemverFilter(t,s){s=s.split(".").map(parseSimpleInt);s[1]=s[1]||0;s[2]=s[2]||0;if(t===">"){return function(t){t=t.split(".").map(parseSimpleInt);return compareSemver(t,s)>0}}else if(t===">="){return function(t){t=t.split(".").map(parseSimpleInt);return compareSemver(t,s)>=0}}else if(t==="<"){return function(t){t=t.split(".").map(parseSimpleInt);return compareSemver(s,t)>0}}else{return function(t){t=t.split(".").map(parseSimpleInt);return compareSemver(s,t)>=0}}}function parseSimpleInt(t){return parseInt(t)}function compare(t,s){if(t<s)return-1;if(t>s)return+1;return 0}function compareSemver(t,s){return compare(parseInt(t[0]),parseInt(s[0]))||compare(parseInt(t[1]||"0"),parseInt(s[1]||"0"))||compare(parseInt(t[2]||"0"),parseInt(s[2]||"0"))}function semverFilterLoose(t,s){s=s.split(".").map(parseSimpleInt);if(typeof s[1]==="undefined"){s[1]="x"}switch(t){case"<=":return function(t){t=t.split(".").map(parseSimpleInt);return compareSemverLoose(t,s)<=0};case">=":default:return function(t){t=t.split(".").map(parseSimpleInt);return compareSemverLoose(t,s)>=0}}}function compareSemverLoose(t,s){if(t[0]!==s[0]){return t[0]<s[0]?-1:+1}if(s[1]==="x"){return 0}if(t[1]!==s[1]){return t[1]<s[1]?-1:+1}return 0}function resolveVersion(t,s){if(t.versions.indexOf(s)!==-1){return s}else if(browserslist.versionAliases[t.name][s]){return browserslist.versionAliases[t.name][s]}else{return false}}function normalizeVersion(t,s){var i=resolveVersion(t,s);if(i){return i}else if(t.versions.length===1){return t.versions[0]}else{return false}}function filterByYear(t,s){t=t/1e3;return Object.keys(o).reduce(function(i,r){var a=byName(r,s);if(!a)return i;var o=Object.keys(a.releaseDate).filter(function(s){var i=a.releaseDate[s];return i!==null&&i>=t});return i.concat(o.map(nameMapper(a.name)))},[])}function cloneData(t){return{name:t.name,versions:t.versions,released:t.released,releaseDate:t.releaseDate}}function byName(t,s){t=t.toLowerCase();t=browserslist.aliases[t]||t;if(s.mobileToDesktop&&browserslist.desktopNames[t]){var i=browserslist.data[browserslist.desktopNames[t]];if(t==="android"){return normalizeAndroidData(cloneData(browserslist.data[t]),i)}else{var r=cloneData(i);r.name=t;return r}}return browserslist.data[t]}function normalizeAndroidVersions(t,s){var i=s.indexOf(x);return t.filter(function(t){return/^(?:[2-4]\.|[34]$)/.test(t)}).concat(s.slice(i))}var T=["__proto__","constructor","prototype"];function copyObject(t){var s={};for(var i in t){if(T.indexOf(i)===-1){s[i]=t[i]}}return s}function normalizeAndroidData(t,s){t.released=normalizeAndroidVersions(t.released,s.released);t.versions=normalizeAndroidVersions(t.versions,s.versions);t.releaseDate=copyObject(t.releaseDate);t.released.forEach(function(i){if(t.releaseDate[i]===undefined){t.releaseDate[i]=s.releaseDate[i]}});return t}function checkName(t,s){var i=byName(t,s);if(!i)throw new f("Unknown browser "+t);return i}function unknownQuery(t){return new f("Unknown browser query `"+t+"`. "+"Maybe you are using old Browserslist or made typo in query.")}function filterJumps(t,s,i,r){var a=1;switch(s){case"android":if(r.mobileToDesktop)return t;var o=browserslist.data.chrome.released;a=o.length-o.indexOf(x);break;case"op_mob":var l=browserslist.data.op_mob.released.slice(-1)[0];a=getMajor(l)-k+1;break;default:return t}if(i<=a){return t.slice(-1)}return t.slice(a-1-i)}function isSupported(t,s){return typeof t==="string"&&(t.indexOf("y")>=0||s&&t.indexOf("a")>=0)}function resolve(t,s){return parseQueries(t).reduce(function(t,i,r){if(i.not&&r===0){throw new f("Write any browsers query (for instance, `defaults`) "+"before `"+i.query+"`")}var a=P[i.type];var o=a.select.call(browserslist,s,i).map(function(t){var i=t.split(" ");if(i[1]==="0"){return i[0]+" "+byName(i[0],s).versions[0]}else{return t}});if(!i.not&&i.compose==="or"){for(var l=0;l<o.length;l++){t.push(o[l])}return t}var u=new Set(o);var p=!i.not;return t.filter(function(t){return u.has(t)===p})},[])}function prepareOpts(t){if(typeof t==="undefined")t={};if(typeof t.path==="undefined"){t.path=p.resolve?p.resolve("."):"."}return t}function prepareQueries(t,s){if(typeof t==="undefined"||t===null){var i=browserslist.loadConfig(s);if(i){t=i}else{t=browserslist.defaults}}return t}function checkQueries(t){if(!(typeof t==="string"||Array.isArray(t))){throw new f("Browser queries must be an array or string. Got "+typeof t+".")}}var C=500;function boundedCacheSet(t,s,i){if(t.size>=C){t.delete(t.keys().next().value)}t.set(s,i)}var A=new Map;var I=new Map;function browserslist(t,s){s=prepareOpts(s);t=prepareQueries(t,s);checkQueries(t);var i=parseQueries(t).some(function(t){return P[t.type].needsPath});var r={ignoreUnknownVersions:s.ignoreUnknownVersions,dangerousExtend:s.dangerousExtend,throwOnMissing:s.throwOnMissing,mobileToDesktop:s.mobileToDesktop,env:s.env};if(i){r.path=s.path}h.oldDataWarning(browserslist.data);var a=h.getStat(s,browserslist.data);if(a){r.customUsage={};for(var o in a){fillUsage(r.customUsage,o,a[o])}}var l=JSON.stringify([t,r]);if(A.has(l))return A.get(l);var u=uniq(resolve(t,r)).sort(function(t,s){t=t.split(" ");s=s.split(" ");if(t[0]===s[0]){var i=t[1].split("-")[0];var r=s[1].split("-")[0];return compareSemver(r.split("."),i.split("."))}else{return compare(t[0],s[0])}});if(!h.env.BROWSERSLIST_DISABLE_CACHE){boundedCacheSet(A,l,u)}return u}function parseQueries(t){var s=JSON.stringify(t);if(I.has(s))return I.get(s);var i=m(P,t);if(!h.env.BROWSERSLIST_DISABLE_CACHE){boundedCacheSet(I,s,i)}return i}function loadCustomUsage(t,s){var i=h.loadStat(t,s,browserslist.data);if(i){t.customUsage={};for(var r in i){fillUsage(t.customUsage,r,i[r])}}if(!t.customUsage){throw new f("Custom usage statistics was not provided")}return t.customUsage}browserslist.parse=function(t,s){s=prepareOpts(s);t=prepareQueries(t,s);checkQueries(t);return parseQueries(t)};browserslist.cache={};browserslist.data={};browserslist.usage={global:{},custom:null};browserslist.defaults=["> 0.5%","last 2 versions","Firefox ESR","not dead"];browserslist.aliases={fx:"firefox",ff:"firefox",ios:"ios_saf",explorer:"ie",blackberry:"bb",explorermobile:"ie_mob",operamini:"op_mini",operamobile:"op_mob",chromeandroid:"and_chr",firefoxandroid:"and_ff",ucandroid:"and_uc",qqandroid:"and_qq"};browserslist.desktopNames={and_chr:"chrome",and_ff:"firefox",ie_mob:"ie",android:"chrome"};browserslist.versionAliases={};browserslist.clearCaches=h.clearCaches;browserslist.parseConfig=h.parseConfig;browserslist.readConfig=h.readConfig;browserslist.findConfigFile=h.findConfigFile;browserslist.findConfig=h.findConfig;browserslist.loadConfig=h.loadConfig;browserslist.coverage=function(t,s){var i;if(typeof s==="undefined"){i=browserslist.usage.global}else if(s==="my stats"){var r={};r.path=p.resolve?p.resolve("."):".";var a=h.getStat(r);if(!a){throw new f("Custom usage statistics was not provided")}i={};for(var o in a){fillUsage(i,o,a[o])}}else if(typeof s==="string"){if(s.length>2){s=s.toLowerCase()}else{s=s.toUpperCase()}h.loadCountry(browserslist.usage,s,browserslist.data);i=browserslist.usage[s]}else{if("dataByBrowser"in s){s=s.dataByBrowser}i={};for(var l in s){for(var u in s[l]){i[l+" "+u]=s[l][u]}}}return t.reduce(function(t,s){var r=i[s];if(r===undefined){r=i[s.replace(/ \S+$/," 0")]}return t+(r||0)},0)};function nodeQuery(t,s){var i=browserslist.nodeVersions.filter(function(t){return isVersionsMatch(t,s.version)});if(i.length===0){if(t.ignoreUnknownVersions){return[]}else{throw new f("Unknown version "+s.version+" of Node.js")}}return["node "+i[i.length-1]]}function sinceQuery(t,s){var i=parseInt(s.year);var r=parseInt(s.month||"01")-1;var a=parseInt(s.day||"01");return filterByYear(Date.UTC(i,r,a,0,0,0),t)}function bbmTransform(t){var s={chrome:"chrome",chrome_android:"and_chr",edge:"edge",firefox:"firefox",firefox_android:"and_ff",safari:"safari",safari_ios:"ios_saf",webview_android:"android",samsunginternet_android:"samsung",opera_android:"op_mob",opera:"opera",qq_android:"and_qq",uc_android:"and_uc",kai_os:"kaios"};return t.filter(function(t){return Object.keys(s).indexOf(t.browser)!==-1}).map(function(t){return s[t.browser]+" >= "+t.version})}function coverQuery(t,s){var i=parseFloat(s.coverage);var r=browserslist.usage.global;if(s.place){if(s.place.match(/^my\s+stats$/i)){if(!t.customUsage){throw new f("Custom usage statistics was not provided")}r=t.customUsage}else{var a;if(s.place.length===2){a=s.place.toUpperCase()}else{a=s.place.toLowerCase()}h.loadCountry(browserslist.usage,a,browserslist.data);r=browserslist.usage[a]}}else if(s.config){r=loadCustomUsage(t,s.config)}var o=Object.keys(r).sort(function(t,s){return r[s]-r[t]});var l=0;var u=[];var p;for(var m=0;m<o.length;m++){p=o[m];if(!r[p])break;l+=r[p];u.push(p);if(l>=i)break}return u}var P={last_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+major\s+versions?$/i,select:function(t,s){return Object.keys(o).reduce(function(i,r){var a=byName(r,t);if(!a)return i;var o=getMajorVersions(a.released,s.versions);o=o.map(nameMapper(a.name));o=filterJumps(o,a.name,s.versions,t);return i.concat(o)},[])}},last_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+versions?$/i,select:function(t,s){return Object.keys(o).reduce(function(i,r){var a=byName(r,t);if(!a)return i;var o=a.released.slice(-s.versions);o=o.map(nameMapper(a.name));o=filterJumps(o,a.name,s.versions,t);return i.concat(o)},[])}},last_electron_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+electron\s+major\s+versions?$/i,select:function(t,s){var i=getMajorVersions(Object.keys(l),s.versions);return i.map(function(t){return"chrome "+l[t]})}},last_node_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+node\s+major\s+versions?$/i,select:function(t,s){return getMajorVersions(browserslist.nodeVersions,s.versions).map(function(t){return"node "+t})}},last_browser_major_versions:{matches:["versions","browser"],regexp:/^last\s+(\d+)\s+(\w+)\s+major\s+versions?$/i,select:function(t,s){var i=checkName(s.browser,t);var r=getMajorVersions(i.released,s.versions);var a=r.map(nameMapper(i.name));a=filterJumps(a,i.name,s.versions,t);return a}},last_electron_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+electron\s+versions?$/i,select:function(t,s){return Object.keys(l).slice(-s.versions).map(function(t){return"chrome "+l[t]})}},last_node_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+node\s+versions?$/i,select:function(t,s){return browserslist.nodeVersions.slice(-s.versions).map(function(t){return"node "+t})}},last_browser_versions:{matches:["versions","browser"],regexp:/^last\s+(\d+)\s+(\w+)\s+versions?$/i,select:function(t,s){var i=checkName(s.browser,t);var r=i.released.slice(-s.versions).map(nameMapper(i.name));r=filterJumps(r,i.name,s.versions,t);return r}},unreleased_versions:{matches:[],regexp:/^unreleased\s+versions$/i,select:function(t){return Object.keys(o).reduce(function(s,i){var r=byName(i,t);if(!r)return s;var a=r.versions.filter(function(t){return r.released.indexOf(t)===-1});a=a.map(nameMapper(r.name));return s.concat(a)},[])}},unreleased_electron_versions:{matches:[],regexp:/^unreleased\s+electron\s+versions?$/i,select:function(){return[]}},unreleased_browser_versions:{matches:["browser"],regexp:/^unreleased\s+(\w+)\s+versions?$/i,select:function(t,s){var i=checkName(s.browser,t);return i.versions.filter(function(t){return i.released.indexOf(t)===-1}).map(nameMapper(i.name))}},last_years:{matches:["years"],regexp:/^last\s+((\d+\.)?\d+)\s+years?$/i,select:function(t,s){return filterByYear(Date.now()-g*s.years,t)}},since_y:{matches:["year"],regexp:/^since (\d+)$/i,select:sinceQuery},since_y_m:{matches:["year","month"],regexp:/^since (\d+)-(\d+)$/i,select:sinceQuery},since_y_m_d:{matches:["year","month","day"],regexp:/^since (\d+)-(\d+)-(\d+)$/i,select:sinceQuery},baseline:{matches:["year","availability","date","downstream","kaios"],regexp:/^baseline\s+(?!\s)(?:(\d+)|(newly|widely)\s+(?!\s)available(?:\s+(?!\s)on\s+(?!\s)(\d{4}-\d{2}-\d{2}))?)?(\s+(?!\s)with\s+(?!\s)downstream)?(\s+(?!\s)including\s+(?!\s)kaios)?$/i,select:function(t,s){var i=s.availability&&s.availability.toLowerCase();if(i==="newly"&&s.date){throw new f('Using newly available with a date is not supported, please use "widely available on YYYY-MM-DD" and add 30 months to the date you specified.')}var a={includeDownstreamBrowsers:!!s.downstream,includeKaiOS:!!s.kaios,suppressWarnings:true};if(s.year){a.targetYear=s.year}else if(s.date){a.widelyAvailableOnDate=s.date}else if(i==="newly"){a.widelyAvailableOnDate=(new Date).setMonth((new Date).getMonth()+30)}var o;if(a.includeKaiOS&&!a.includeDownstreamBrowsers){a.includeDownstreamBrowsers=true;var l=r.getCompatibleVersions(a);a.includeDownstreamBrowsers=false;a.includeKaiOS=false;o=r.getCompatibleVersions(a).concat(l.filter(function(t){return t.browser==="kai_os"}))}else{o=r.getCompatibleVersions(a)}return resolve(bbmTransform(o),t)}},popularity:{matches:["sign","popularity"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%$/,select:function(t,s){var i=parseFloat(s.popularity);var r=browserslist.usage.global;return filterUsage(r,s.sign,i)}},popularity_in_my_stats:{matches:["sign","popularity"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+my\s+stats$/i,select:function(t,s){var i=parseFloat(s.popularity);if(!t.customUsage){throw new f("Custom usage statistics was not provided")}var r=t.customUsage;return filterUsage(r,s.sign,i)}},popularity_in_config_stats:{matches:["sign","popularity","config"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/i,select:function(t,s){var i=parseFloat(s.popularity);var r=loadCustomUsage(t,s.config);return filterUsage(r,s.sign,i)}},popularity_in_place:{matches:["sign","popularity","place"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+((alt-)?\w\w)$/i,select:function(t,s){var i=parseFloat(s.popularity);var r=s.place;if(r.length===2){r=r.toUpperCase()}else{r=r.toLowerCase()}h.loadCountry(browserslist.usage,r,browserslist.data);var a=browserslist.usage[r];return filterUsage(a,s.sign,i)}},cover:{matches:["coverage"],regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%$/i,select:coverQuery},cover_in:{matches:["coverage","place"],regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(my\s+stats|(alt-)?\w\w)$/i,select:coverQuery},cover_config:{matches:["coverage","config"],regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/i,select:coverQuery},supports:{matches:["supportType","feature"],regexp:/^(?:(fully|partially)\s+)?supports\s+([\w-]+)$/i,select:function(t,s){h.loadFeature(browserslist.cache,s.feature);var i=s.supportType&&s.supportType.toLowerCase();var r=i!=="fully";var a=browserslist.cache[s.feature];var o=[];for(var l in a){var u=byName(l,t);var p=u.released.length-1;while(p>=0){if(u.released[p]in a[l])break;p--}var f=t.mobileToDesktop&&l in browserslist.desktopNames&&isSupported(a[l][u.released[p]],r);u.versions.forEach(function(t){var s=a[l][t];if(s===undefined&&f){s=a[browserslist.desktopNames[l]][t]}if(isSupported(s,r)){o.push(l+" "+t)}})}return o}},electron_range:{matches:["from","to"],regexp:/^electron\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(t,s){var i=normalizeElectron(s.from);var r=normalizeElectron(s.to);var a=parseFloat(s.from);var o=parseFloat(s.to);if(!l[i]){throw new f("Unknown version "+a+" of electron")}if(!l[r]){throw new f("Unknown version "+o+" of electron")}return Object.keys(l).filter(semverFilterLoose(">=",s.from)).filter(semverFilterLoose("<=",s.to)).map(function(t){return"chrome "+l[t]})}},node_range:{matches:["from","to"],regexp:/^node\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(t,s){return browserslist.nodeVersions.filter(semverFilterLoose(">=",s.from)).filter(semverFilterLoose("<=",s.to)).map(function(t){return"node "+t})}},browser_range:{matches:["browser","from","to"],regexp:/^(\w+)\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(t,s){var i=checkName(s.browser,t);var r=parseFloat(normalizeVersion(i,s.from)||s.from);var a=parseFloat(normalizeVersion(i,s.to)||s.to);function filter(t){var s=parseFloat(t);return s>=r&&s<=a}return i.released.filter(filter).map(nameMapper(i.name))}},electron_ray:{matches:["sign","version"],regexp:/^electron\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(t,s){var i=normalizeElectron(s.version);return Object.keys(l).filter(generateFilter(s.sign,i)).map(function(t){return"chrome "+l[t]})}},node_ray:{matches:["sign","version"],regexp:/^node\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(t,s){return browserslist.nodeVersions.filter(generateSemverFilter(s.sign,s.version)).map(function(t){return"node "+t})}},browser_ray:{matches:["browser","sign","version"],regexp:/^(\w+)\s*(>=?|<=?)\s*([\d.]+|esr)$/i,select:function(t,s){var i=s.version;var r=checkName(s.browser,t);var a=browserslist.versionAliases[r.name][i.toLowerCase()];if(a)i=a;if(!/[\d.]+/.test(i)){throw new f("Unknown version "+i+" of "+s.browser)}return r.released.filter(generateFilter(s.sign,i)).map(function(t){return r.name+" "+t})}},firefox_esr:{matches:[],regexp:/^(firefox|ff|fx)\s+esr$/i,select:function(){return["firefox "+_]}},opera_mini_all:{matches:[],regexp:/(operamini|op_mini)\s+all/i,select:function(){return["op_mini all"]}},electron_version:{matches:["version"],regexp:/^electron\s+([\d.]+)$/i,select:function(t,s){var i=normalizeElectron(s.version);var r=l[i];if(!r){throw new f("Unknown version "+s.version+" of electron")}return["chrome "+r]}},node_major_version:{matches:["version"],regexp:/^node\s+(\d+)$/i,select:nodeQuery},node_minor_version:{matches:["version"],regexp:/^node\s+(\d+\.\d+)$/i,select:nodeQuery},node_patch_version:{matches:["version"],regexp:/^node\s+(\d+\.\d+\.\d+)$/i,select:nodeQuery},current_node:{matches:[],regexp:/^current\s+node$/i,select:function(t){return[h.currentNode(resolve,t)]}},maintained_node:{matches:[],regexp:/^maintained\s+node\s+versions$/i,select:function(t){var s=Date.now();var i=Object.keys(u).filter(function(t){return s<Date.parse(u[t].end)&&s>Date.parse(u[t].start)&&isEolReleased(t)}).map(function(t){return"node "+t.slice(1)});return resolve(i,t)}},phantomjs_1_9:{matches:[],regexp:/^phantomjs\s+1.9$/i,select:function(){return["safari 5"]}},phantomjs_2_1:{matches:[],regexp:/^phantomjs\s+2.1$/i,select:function(){return["safari 6"]}},browser_version:{matches:["browser","version"],regexp:/^(\w+)\s+(tp|[\d.]+)$/i,select:function(t,s){var i=s.version;if(/^tp$/i.test(i))i="TP";var r=checkName(s.browser,t);var a=normalizeVersion(r,i);if(a){i=a}else{if(i.indexOf(".")===-1){a=i+".0"}else{a=i.replace(/\.0$/,"")}a=normalizeVersion(r,a);if(a){i=a}else if(t.ignoreUnknownVersions){return[]}else{throw new f("Unknown version "+i+" of "+s.browser)}}return[r.name+" "+i]}},browserslist_config:{matches:[],regexp:/^browserslist config$/i,needsPath:true,select:function(t){return browserslist(undefined,t)}},extends:{matches:["config"],regexp:/^extends (.+)$/i,needsPath:true,select:function(t,s){return resolve(h.loadQueries(t,s.config),t)}},defaults:{matches:[],regexp:/^defaults$/i,select:function(t){return resolve(browserslist.defaults,t)}},dead:{matches:[],regexp:/^dead$/i,select:function(t){var s=["Baidu >= 0","ie <= 11","ie_mob <= 11","bb <= 10","op_mob <= 12.1","samsung 4"];return resolve(s,t)}},unknown:{matches:[],regexp:/^(\w+)$/i,select:function(t,s){if(byName(s.query,t)){throw new f("Specify versions in Browserslist query for browser "+s.query)}else{throw unknownQuery(s.query)}}}};(function(){for(var t in o){var s=o[t];browserslist.data[t]={name:t,versions:normalize(o[t].versions),released:normalize(o[t].versions.slice(0,-3)),releaseDate:o[t].release_date};fillUsage(browserslist.usage.global,t,s.usage_global);browserslist.versionAliases[t]={};for(var i=0;i<s.versions.length;i++){var r=s.versions[i];if(!r)continue;if(r.indexOf("-")!==-1){var l=r.split("-");for(var u=0;u<l.length;u++){browserslist.versionAliases[t][l[u]]=r}}}}browserslist.nodeVersions=a.map(function(t){return t.version})})();browserslist.versionAliases.firefox.esr=_;t.exports=browserslist},11393:(s,i,r)=>{var a=r(13702)["default"];var o=r(84358)["default"];var l=r(79896);var u=r(16928);var p=r(76747);var f=/^\s*\[(.+)]\s*$/;var h=/^browserslist-config-/;var m=/^@[^/]+(?:\/[^/]+)?\/browserslist-config(?:-|$|\/)/;var g="Browserslist config should be a string or an array "+"of strings with browser queries";var x="unknown";var k="directory";var _="file";var T=false;var C={};var A={};var I={};function checkExtend(t){var s=" Use `dangerousExtend` option to disable.";if(!h.test(t)&&!m.test(t)){throw new p("Browserslist config needs `browserslist-config-` prefix. "+s)}if(t.indexOf("\\")!==-1){throw new p("`\\` not allowed in Browserslist config name. "+s)}if(t.replace(/^@[^/]+\//,"").indexOf(".")!==-1){throw new p("`.` not allowed in Browserslist config name. "+s)}if(t.indexOf("node_modules")!==-1){throw new p("`node_modules` not allowed in Browserslist config."+s)}}function getPathType(t){var s;try{s=l.existsSync(t)&&l.statSync(t)}catch(t){if(t.code!=="ENOENT"&&t.code!=="EACCES"&&t.code!=="ERR_ACCESS_DENIED"){throw t}}if(s&&s.isDirectory())return k;if(s&&s.isFile())return _;return x}function isFile(t){return getPathType(t)===_}function isDirectory(t){return getPathType(t)===k}function eachParent(t,s,i){var r=u.resolve(t);var a=[];var o;do{if(!pathInRoot(r)){break}if(i&&r in i){o=i[r];break}a.push(r);if(!isDirectory(r)){continue}var l=s(r);if(typeof l!=="undefined"){o=l;break}}while(r!==(r=u.dirname(r)));if(i&&!process.env.BROWSERSLIST_DISABLE_CACHE){a.forEach(function(t){i[t]=o})}return o}function pathInRoot(t){if(!process.env.BROWSERSLIST_ROOT_PATH)return true;var s=u.resolve(process.env.BROWSERSLIST_ROOT_PATH);if(u.relative(s,t).substring(0,2)===".."){return false}return true}function check(t){if(Array.isArray(t)){for(var s=0;s<t.length;s++){if(typeof t[s]!=="string"){throw new p(g)}}}else if(typeof t!=="string"){throw new p(g)}}function pickEnv(t,s){if(typeof t!=="object")return t;var i;if(typeof s.env==="string"){i=s.env}else if(process.env.BROWSERSLIST_ENV){i=process.env.BROWSERSLIST_ENV}else if(process.env.NODE_ENV){i=process.env.NODE_ENV}else{i="production"}if(s.throwOnMissing){if(i&&i!=="defaults"&&!t[i]){throw new p("Missing config for Browserslist environment `"+i+"`")}}return t[i]||t.defaults}function parsePackage(t){var s=l.readFileSync(t).toString().replace(/^\uFEFF/m,"");var i;if(s.indexOf('"browserslist"')>=0){i=JSON.parse(s).browserslist}else if(s.indexOf('"browserlist"')>=0){var r=JSON.parse(s);if(r.browserlist&&!r.browserslist){throw new p("`browserlist` key instead of `browserslist` in "+t)}}if(Array.isArray(i)||typeof i==="string"){i={defaults:i}}for(var a in i){check(i[a])}return i}function parsePackageOrReadConfig(t){if(t in I){return I[t]}var i=u.basename(t)==="package.json";var r=i?parsePackage(t):s.exports.readConfig(t);if(!process.env.BROWSERSLIST_DISABLE_CACHE){I[t]=r}return r}function latestReleaseTime(t){var s=0;for(var i in t){var r=t[i].releaseDate||{};for(var a in r){if(s<r[a]){s=r[a]}}}return s*1e3}function getMonthsPassed(t){var s=new Date;var i=new Date(t);var r=s.getFullYear()-i.getFullYear();var a=s.getMonth()-i.getMonth();return r*12+a}function normalizeStats(t,s){if(!t){t={}}if(s&&"dataByBrowser"in s){s=s.dataByBrowser}if(typeof s!=="object")return undefined;var i=Object.create(null);for(var r in s){var a=Object.keys(s[r]);var o=Object.prototype.hasOwnProperty.call(t,r)&&t[r];if(a.length===1&&o&&o.versions.length===1){var l=o.versions[0];i[r]=Object.create(null);i[r][l]=s[r][a[0]]}else{i[r]=s[r]}}return i}function normalizeUsageData(t,s){for(var i in t){var r=t[i];if("0"in r){var a=s[i].versions;r[a[a.length-1]]=r[0];delete r[0]}}}s.exports={loadQueries:function loadQueries(s,i){if(!s.dangerousExtend&&!process.env.BROWSERSLIST_DANGEROUS_EXTEND){checkExtend(i)}var a=t(import.meta.url)(r(64973).resolve(i,{paths:[".",s.path]}));if(typeof a==="object"&&a!==null&&a.__esModule){a=a.default}if(a){if(Array.isArray(a)){return a}else if(typeof a==="object"){if(!a.defaults)a.defaults=[];return pickEnv(a,s,i)}}throw new p("`"+i+"` config exports not an array of queries"+" or an object of envs")},loadStat:function loadStat(s,i,a){if(!s.dangerousExtend&&!process.env.BROWSERSLIST_DANGEROUS_EXTEND){checkExtend(i)}var o=t(import.meta.url)(r(64973).resolve(u.posix.join(i,"browserslist-stats.json"),{paths:["."]}));return normalizeStats(a,o)},getStat:function getStat(t,s){var i;if(t.stats){i=t.stats}else if(process.env.BROWSERSLIST_STATS){i=process.env.BROWSERSLIST_STATS}else if(t.path&&u.resolve&&l.existsSync){i=eachParent(t.path,function(t){var s=u.join(t,"browserslist-stats.json");return isFile(s)?s:undefined},C)}if(typeof i==="string"){try{i=JSON.parse(l.readFileSync(i))}catch(t){throw new p("Can't read "+i)}}return normalizeStats(s,i)},loadConfig:function loadConfig(t){if(process.env.BROWSERSLIST){return process.env.BROWSERSLIST}else if(t.config||process.env.BROWSERSLIST_CONFIG){var i=t.config||process.env.BROWSERSLIST_CONFIG;return pickEnv(parsePackageOrReadConfig(i),t)}else if(t.path){return pickEnv(s.exports.findConfig(t.path),t)}else{return undefined}},loadCountry:function loadCountry(s,i,r){var a=i.replace(/[^\w-]/g,"");if(!s[a]){var l;try{l=t(import.meta.url)("caniuse-lite/data/regions/"+a+".js")}catch(t){throw new p("Unknown region name `"+a+"`.")}var u=o(l);normalizeUsageData(u,r);s[i]=Object.create(null);for(var f in u){for(var h in u[f]){s[i][f+" "+h]=u[f][h]}}}},loadFeature:function loadFeature(s,i){i=i.replace(/[^\w-]/g,"");if(s[i])return;var r;try{r=t(import.meta.url)("caniuse-lite/data/features/"+i+".js")}catch(t){throw new p("Unknown feature name `"+i+"`.")}var o=a(r).stats;s[i]={};for(var l in o){s[i][l]={};for(var u in o[l]){s[i][l][u]=o[l][u]}}},parseConfig:function parseConfig(t){var s={defaults:[]};var i=["defaults"];t.toString().replace(/#[^\n]*/g,"").split(/\n|,/).map(function(t){return t.trim()}).filter(function(t){return t!==""}).forEach(function(t){if(f.test(t)){i=t.match(f)[1].trim().split(" ");i.forEach(function(t){if(s[t]){throw new p("Duplicate section "+t+" in Browserslist config")}s[t]=[]})}else{i.forEach(function(i){s[i].push(t)})}});return s},readConfig:function readConfig(t){if(!isFile(t)){throw new p("Can't read "+t+" config")}return s.exports.parseConfig(l.readFileSync(t))},findConfigFile:function findConfigFile(t){return eachParent(t,function(t){var s=u.join(t,"browserslist");var i=u.join(t,"package.json");var r=u.join(t,".browserslistrc");var a;if(isFile(i)){try{a=parsePackage(i)}catch(t){if(t.name==="BrowserslistError")throw t;console.warn("[Browserslist] Could not parse "+i+". Ignoring it.")}}if(isFile(s)&&a){throw new p(t+" contains both browserslist and package.json with browsers")}else if(isFile(r)&&a){throw new p(t+" contains both .browserslistrc and package.json with browsers")}else if(isFile(s)&&isFile(r)){throw new p(t+" contains both .browserslistrc and browserslist")}else if(isFile(s)){return s}else if(isFile(r)){return r}else if(a){return i}},A)},findConfig:function findConfig(t){var s=this.findConfigFile(t);return s?parsePackageOrReadConfig(s):undefined},clearCaches:function clearCaches(){T=false;C={};A={};I={};this.cache={}},oldDataWarning:function oldDataWarning(t){if(T)return;T=true;if(process.env.BROWSERSLIST_IGNORE_OLD_DATA)return;var s=latestReleaseTime(t);var i=getMonthsPassed(s);if(s!==0&&i>=6){if(process.env.BROWSERSLIST_TRACE_WARNING){console.info("Last browser release in DB: "+String(new Date(s)));console.trace()}var r=i+" "+(i>1?"months":"month");console.warn("Browserslist: browsers data (caniuse-lite) is "+r+" old. Please run:\n"+" npx update-browserslist-db@latest\n"+" Why you should do it regularly: "+"https://github.com/browserslist/update-db#readme")}},currentNode:function currentNode(){return"node "+process.versions.node},env:process.env}},49694:t=>{var s=/\s/;function endsWithOperator(t){var i=t.length;while(i>0&&s.test(t[i-1]))i--;if(t[i-1]===","){return t.slice(0,i-1).trim().length>0}var r=t.slice(Math.max(0,i-3),i).toLowerCase();var a=0;if(r==="and"){a=3}else if(r.slice(-2)==="or"){a=2}if(a===0||i<=a||!s.test(t[i-a-1])){return false}return t.slice(0,i-a).trim().length>0}function flatten(t){if(!Array.isArray(t))return[t];var s=[];var i=[t];while(i.length){var r=i.pop();if(Array.isArray(r)){for(var a=r.length-1;a>=0;a--){i.push(r[a])}}else{s.push(r)}}return s}function matchQuery(t,s){var i={query:s};if(/^not /i.test(s)){i.not=true;s=s.slice(4)}for(var r in t){var a=t[r];var o=s.match(a.regexp);if(o){i.type=r;for(var l=0;l<a.matches.length;l++){i[a.matches[l]]=o[l+1]}return i}}i.type="unknown";return i}function pushClause(t,s,i,r){var a=matchQuery(t,i.trim());a.compose=r;s.push(a)}function parseBlock(t,i,r){if(i.length===0)return;var a=i.length;var o=0;var l="or";var u=0;while(u<a){var p=i[u];if(p===","){if(u!==0)pushClause(t,r,i.slice(o,u),l);u++;while(u<a&&s.test(i[u]))u++;l="or";o=u;continue}if(s.test(p)){var f=u;while(f<a&&s.test(i[f]))f++;if(f+3<a&&(i[f]==="a"||i[f]==="A")&&(i[f+1]==="n"||i[f+1]==="N")&&(i[f+2]==="d"||i[f+2]==="D")&&s.test(i[f+3])){if(u!==0)pushClause(t,r,i.slice(o,u),l);var h=f+3;while(h<a&&s.test(i[h]))h++;l="and";u=h;o=h;continue}else if(f+2<a&&(i[f]==="o"||i[f]==="O")&&(i[f+1]==="r"||i[f+1]==="R")&&s.test(i[f+2])){if(u!==0)pushClause(t,r,i.slice(o,u),l);var m=f+2;while(m<a&&s.test(i[m]))m++;l="or";u=m;o=m;continue}else{u=f;continue}}u++}pushClause(t,r,i.slice(o),l)}t.exports=function parse(t,s){if(!Array.isArray(s))s=[s];var i=[];var r=[];s.forEach(function(t){if(t.length===0)return;r.push(t);if(endsWithOperator(t))return;i.push(r.join("\n"));r=[]});if(r.length>0)i.push(r.join("\n"));return flatten(i.map(function(s){var i=[];parseBlock(t,s,i);return i}))}},48540:t=>{t.exports={A:{A:{L:0,D:0,E:0,F:0,A:0,B:.235824,FD:0},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","FD","L","D","E","F","A","B","","",""],E:"IE",F:{FD:962323200,L:998870400,D:1161129600,E:1237420800,F:1300060800,A:1346716800,B:1381968e3}},B:{A:{0:0,1:0,2:0,3:.201433,4:.216172,5:0,6:.014739,7:0,8:.014739,9:0,C:0,M:0,N:0,G:0,O:0,P:0,Q:0,R:0,H:0,S:0,T:0,U:0,V:0,W:0,X:0,Y:0,Z:0,a:0,b:0,c:.009826,d:0,e:0,f:0,g:0,h:0,i:0,j:0,k:0,l:0,m:0,n:0,o:0,p:0,q:0,r:0,s:0,t:.029478,u:0,v:0,w:0,x:0,y:0,z:0,AB:0,BB:0,RB:.004913,SB:0,TB:0,CB:.024565,DB:0,EB:.014739,FB:0,GB:.004913,UB:.004913,VB:.004913,WB:.009826,XB:.009826,YB:.009826,ZB:.009826,aB:.009826,bB:.009826,cB:.024565,dB:.014739,eB:.024565,fB:.029478,gB:.024565,hB:.054043,iB:.510952,jB:3.62088,kB:.211259,lB:0,I:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","C","M","N","G","O","P","Q","R","H","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","RB","SB","TB","CB","DB","EB","FB","GB","UB","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","I","","",""],E:"Edge",F:{0:1692576e3,1:1694649600,2:1697155200,3:1698969600,4:1701993600,5:1706227200,6:1708732800,7:1711152e3,8:1713398400,9:1715990400,C:1438128e3,M:1447286400,N:1470096e3,G:1491868800,O:1508198400,P:1525046400,Q:1542067200,R:1579046400,H:1581033600,S:1586736e3,T:1590019200,U:1594857600,V:1598486400,W:1602201600,X:1605830400,Y:161136e4,Z:1614816e3,a:1618358400,b:1622073600,c:1626912e3,d:1630627200,e:1632441600,f:1634774400,g:1637539200,h:1641427200,i:1643932800,j:1646265600,k:1649635200,l:1651190400,m:1653955200,n:1655942400,o:1659657600,p:1661990400,q:1664755200,r:1666915200,s:1670198400,t:1673481600,u:1675900800,v:1678665600,w:1680825600,x:1683158400,y:1685664e3,z:1689897600,AB:1718841600,BB:1721865600,RB:1724371200,SB:1726704e3,TB:1729123200,CB:1731542400,DB:1737417600,EB:1740614400,FB:1741219200,GB:1743984e3,UB:1746316800,VB:1748476800,WB:1750896e3,XB:1754611200,YB:1756944e3,ZB:1759363200,aB:1761868800,bB:1764806400,cB:1768780800,dB:1770854400,eB:1773446400,fB:1775692800,gB:1778112e3,hB:1780531200,iB:1782950400,jB:1785369600,kB:1787788800,lB:1788998400,I:1790208e3},D:{C:"ms",M:"ms",N:"ms",G:"ms",O:"ms",P:"ms",Q:"ms"}},C:{A:{0:0,1:0,2:0,3:0,4:.216172,5:.407779,6:0,7:.019652,8:.009826,9:.009826,GD:0,fC:0,J:0,mB:.004913,L:0,D:0,E:0,F:0,A:0,B:0,C:0,M:0,N:0,G:0,O:0,P:0,Q:0,nB:0,HB:0,IB:0,JB:0,KB:0,LB:0,MB:0,NB:0,K:0,OB:0,PB:0,QB:0,oB:0,pB:0,qB:0,rB:0,sB:0,tB:0,uB:0,vB:0,wB:0,xB:0,yB:0,zB:0,"0B":0,"1B":0,"2B":0,"3B":0,"4B":0,"5B":0,"6B":0,"7B":0,"8B":0,"9B":.004913,AC:0,BC:0,CC:0,DC:0,EC:0,FC:0,gC:0,GC:0,hC:0,HC:0,IC:0,JC:0,KC:0,LC:0,MC:0,NC:0,OC:0,PC:0,QC:0,RC:0,SC:0,TC:0,UC:0,VC:0,WC:0,XC:0,R:0,H:0,S:0,iC:0,T:0,U:0,V:0,W:0,X:0,Y:0,Z:0,a:0,b:0,c:0,d:0,e:0,f:0,g:0,h:0,i:0,j:0,k:0,l:0,m:0,n:0,o:0,p:0,q:0,r:0,s:0,t:0,u:0,v:0,w:0,x:0,y:0,z:.127738,AB:0,BB:.004913,RB:.014739,SB:.004913,TB:0,CB:0,DB:.014739,EB:.024565,FB:0,GB:.132651,UB:.009826,VB:0,WB:0,XB:0,YB:.073695,ZB:0,aB:0,bB:0,cB:0,dB:0,eB:.004913,fB:.019652,gB:.004913,hB:.004913,iB:.024565,jB:.014739,kB:.073695,lB:.825384,I:.451996,jC:0,kC:0,YC:0,HD:0,ID:0,JD:0,KD:0,LD:0},B:"moz",C:["GD","fC","KD","LD","J","mB","L","D","E","F","A","B","C","M","N","G","O","P","Q","nB","HB","IB","JB","KB","LB","MB","NB","K","OB","PB","QB","oB","pB","qB","rB","sB","tB","uB","vB","wB","xB","yB","zB","0B","1B","2B","3B","4B","5B","6B","7B","8B","9B","AC","BC","CC","DC","EC","FC","gC","GC","hC","HC","IC","JC","KC","LC","MC","NC","OC","PC","QC","RC","SC","TC","UC","VC","WC","XC","R","H","S","iC","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","RB","SB","TB","CB","DB","EB","FB","GB","UB","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","I","jC","kC","YC","HD","ID","JD"],E:"Firefox",F:{0:1690848e3,1:1693267200,2:1695686400,3:1698105600,4:1700524800,5:1702944e3,6:1705968e3,7:1708387200,8:1710806400,9:1713225600,GD:1161648e3,fC:1213660800,KD:124632e4,LD:1264032e3,J:1300752e3,mB:1308614400,L:1313452800,D:1317081600,E:1317081600,F:1320710400,A:1324339200,B:1327968e3,C:1331596800,M:1335225600,N:1338854400,G:1342483200,O:1346112e3,P:1349740800,Q:1353628800,nB:1357603200,HB:1361232e3,IB:1364860800,JB:1368489600,KB:1372118400,LB:1375747200,MB:1379376e3,NB:1386633600,K:1391472e3,OB:1395100800,PB:1398729600,QB:1402358400,oB:1405987200,pB:1409616e3,qB:1413244800,rB:1417392e3,sB:1421107200,tB:1424736e3,uB:1428278400,vB:1431475200,wB:1435881600,xB:1439251200,yB:144288e4,zB:1446508800,"0B":1450137600,"1B":1453852800,"2B":1457395200,"3B":1461628800,"4B":1465257600,"5B":1470096e3,"6B":1474329600,"7B":1479168e3,"8B":1485216e3,"9B":1488844800,AC:149256e4,BC:1497312e3,CC:1502150400,DC:1506556800,EC:1510617600,FC:1516665600,gC:1520985600,GC:1525824e3,hC:1529971200,HC:1536105600,IC:1540252800,JC:1544486400,KC:154872e4,LC:1552953600,MC:1558396800,NC:1562630400,OC:1567468800,PC:1571788800,QC:1575331200,RC:1578355200,SC:1581379200,TC:1583798400,UC:1586304e3,VC:1588636800,WC:1591056e3,XC:1593475200,R:1595894400,H:1598313600,S:1600732800,iC:1603152e3,T:1605571200,U:1607990400,V:1611619200,W:1614038400,X:1616457600,Y:1618790400,Z:1622505600,a:1626134400,b:1628553600,c:1630972800,d:1633392e3,e:1635811200,f:1638835200,g:1641859200,h:1644364800,i:1646697600,j:1649116800,k:1651536e3,l:1653955200,m:1656374400,n:1658793600,o:1661212800,p:1663632e3,q:1666051200,r:1668470400,s:1670889600,t:1673913600,u:1676332800,v:1678752e3,w:1681171200,x:1683590400,y:1686009600,z:1688428800,AB:1715644800,BB:1718064e3,RB:1720483200,SB:1722902400,TB:1725321600,CB:1727740800,DB:173016e4,EB:1732579200,FB:1736208e3,GB:1738627200,UB:1741046400,VB:1743465600,WB:1745884800,XB:1748304e3,YB:1750723200,ZB:1753142400,aB:1755561600,bB:1757980800,cB:17604e5,dB:1762819200,eB:1765238400,fB:1768262400,gB:1771891200,hB:1774310400,iB:1776729600,jB:1779148800,kB:1781568e3,lB:1784592e3,I:1787011200,jC:1788220800,kC:1789430400,YC:179064e4,HD:null,ID:null,JD:null}},D:{A:{0:.137564,1:.058956,2:.225998,3:.422518,4:.515865,5:.024565,6:.039304,7:.024565,8:.142477,9:.19652,J:0,mB:0,L:0,D:0,E:0,F:0,A:0,B:0,C:0,M:0,N:0,G:0,O:0,P:0,Q:0,nB:0,HB:0,IB:0,JB:0,KB:0,LB:0,MB:0,NB:0,K:0,OB:0,PB:0,QB:0,oB:0,pB:0,qB:0,rB:0,sB:0,tB:0,uB:0,vB:0,wB:.019652,xB:.019652,yB:.019652,zB:.019652,"0B":.019652,"1B":.019652,"2B":.019652,"3B":.019652,"4B":.019652,"5B":.024565,"6B":.024565,"7B":.019652,"8B":.019652,"9B":.024565,AC:.024565,BC:.019652,CC:.019652,DC:.019652,EC:.019652,FC:.019652,gC:.019652,GC:.019652,hC:0,HC:0,IC:0,JC:0,KC:0,LC:0,MC:0,NC:0,OC:.044217,PC:.058956,QC:0,RC:0,SC:0,TC:0,UC:0,VC:0,WC:0,XC:0,R:.019652,H:0,S:0,T:0,U:0,V:0,W:.004913,X:.019652,Y:0,Z:0,a:0,b:.004913,c:0,d:.009826,e:0,f:0,g:0,h:.004913,i:.019652,j:.004913,k:0,l:.009826,m:.009826,n:.108086,o:.054043,p:.054043,q:.054043,r:.054043,s:.058956,t:.555169,u:.054043,v:.078608,w:.054043,x:0,y:.014739,z:.009826,AB:.039304,BB:.014739,RB:.04913,SB:.009826,TB:.029478,CB:.191607,DB:.171955,EB:.137564,FB:.034391,GB:.039304,UB:.117912,VB:.14739,WB:.117912,XB:.058956,YB:.044217,ZB:.044217,aB:.235824,bB:.044217,cB:.329171,dB:4.05814,eB:.108086,fB:.181781,gB:.338997,hB:1.57707,iB:3.84688,jB:9.34944,kB:.481474,lB:.014739,I:0,jC:0,kC:0,YC:0},B:"webkit",C:["","","","","","","","","J","mB","L","D","E","F","A","B","C","M","N","G","O","P","Q","nB","HB","IB","JB","KB","LB","MB","NB","K","OB","PB","QB","oB","pB","qB","rB","sB","tB","uB","vB","wB","xB","yB","zB","0B","1B","2B","3B","4B","5B","6B","7B","8B","9B","AC","BC","CC","DC","EC","FC","gC","GC","hC","HC","IC","JC","KC","LC","MC","NC","OC","PC","QC","RC","SC","TC","UC","VC","WC","XC","R","H","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","RB","SB","TB","CB","DB","EB","FB","GB","UB","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","I","jC","kC","YC"],E:"Chrome",F:{0:1692057600,1:1694476800,2:1696896e3,3:1698710400,4:1701993600,5:1705968e3,6:1708387200,7:1710806400,8:1713225600,9:1715644800,J:1264377600,mB:1274745600,L:1283385600,D:1287619200,E:1291248e3,F:1296777600,A:1299542400,B:1303862400,C:1307404800,M:1312243200,N:1316131200,G:1316131200,O:1319500800,P:1323734400,Q:1328659200,nB:1332892800,HB:133704e4,IB:1340668800,JB:1343692800,KB:1348531200,LB:1352246400,MB:1357862400,NB:1361404800,K:1364428800,OB:1369094400,PB:1374105600,QB:1376956800,oB:1384214400,pB:1389657600,qB:1392940800,rB:1397001600,sB:1400544e3,tB:1405468800,uB:1409011200,vB:141264e4,wB:1416268800,xB:1421798400,yB:1425513600,zB:1429401600,"0B":143208e4,"1B":1437523200,"2B":1441152e3,"3B":1444780800,"4B":1449014400,"5B":1453248e3,"6B":1456963200,"7B":1460592e3,"8B":1464134400,"9B":1469059200,AC:1472601600,BC:1476230400,CC:1480550400,DC:1485302400,EC:1489017600,FC:149256e4,gC:1496707200,GC:1500940800,hC:1504569600,HC:1508198400,IC:1512518400,JC:1516752e3,KC:1520294400,LC:1523923200,MC:1527552e3,NC:1532390400,OC:1536019200,PC:1539648e3,QC:1543968e3,RC:154872e4,SC:1552348800,TC:1555977600,UC:1559606400,VC:1564444800,WC:1568073600,XC:1571702400,R:1575936e3,H:1580860800,S:1586304e3,T:1589846400,U:1594684800,V:1598313600,W:1601942400,X:1605571200,Y:1611014400,Z:1614556800,a:1618272e3,b:1621987200,c:1626739200,d:1630368e3,e:1632268800,f:1634601600,g:1637020800,h:1641340800,i:1643673600,j:1646092800,k:1648512e3,l:1650931200,m:1653350400,n:1655769600,o:1659398400,p:1661817600,q:1664236800,r:1666656e3,s:166968e4,t:1673308800,u:1675728e3,v:1678147200,w:1680566400,x:1682985600,y:1685404800,z:1689724800,AB:1718064e3,BB:1721174400,RB:1724112e3,SB:1726531200,TB:1728950400,CB:1731369600,DB:1736812800,EB:1738627200,FB:1741046400,GB:1743465600,UB:1745884800,VB:1748304e3,WB:1750723200,XB:1754352e3,YB:1756771200,ZB:1759190400,aB:1761609600,bB:1764633600,cB:1768262400,dB:1770681600,eB:1773100800,fB:177552e4,gB:1777939200,hB:1780358400,iB:1782777600,jB:1785196800,kB:1787616e3,lB:1788825600,I:1790035200,jC:null,kC:null,YC:null}},E:{A:{J:0,mB:0,L:0,D:0,E:0,F:0,A:0,B:0,C:0,M:0,N:.004913,G:0,K:.009826,MD:0,lC:0,ND:0,OD:0,PD:0,QD:0,mC:0,ZC:0,aC:0,RD:.014739,SD:.014739,TD:0,nC:0,oC:0,bC:0,UD:.063869,cC:0,pC:.004913,qC:0,rC:.009826,sC:0,tC:.009826,VD:.103173,dC:.004913,uC:.093347,vC:.004913,wC:.009826,xC:.029478,yC:.034391,WD:.127738,eC:.004913,zC:.014739,"0C":.004913,"1C":.024565,"2C":.009826,"3C":.255476,"4C":.009826,"5C":.014739,"6C":.04913,"7C":.063869,"8C":.04913,"9C":.766428,AD:.663255,BD:0,CD:0,XD:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","MD","lC","J","mB","ND","L","OD","D","PD","E","F","QD","A","mC","B","ZC","C","aC","M","RD","N","SD","G","TD","nC","oC","bC","UD","cC","pC","qC","rC","sC","tC","VD","dC","uC","vC","wC","xC","yC","WD","eC","zC","0C","1C","2C","3C","4C","5C","6C","7C","8C","9C","AD","K","BD","CD","XD"],E:"Safari",F:{MD:1205798400,lC:1226534400,J:1244419200,mB:1275868800,ND:131112e4,L:1343174400,OD:13824e5,D:13824e5,PD:1410998400,E:1413417600,F:1443657600,QD:1458518400,A:1474329600,mC:1490572800,B:1505779200,ZC:1522281600,C:1537142400,aC:1553472e3,M:1568851200,RD:1585008e3,N:1600214400,SD:1619395200,G:1632096e3,TD:1635292800,nC:1639353600,oC:1647216e3,bC:1652745600,UD:1658275200,cC:1662940800,pC:1666569600,qC:1670889600,rC:1674432e3,sC:1679875200,tC:1684368e3,VD:1690156800,dC:1695686400,uC:1698192e3,vC:1702252800,wC:1705881600,xC:1709596800,yC:1715558400,WD:1722211200,eC:1726444800,zC:1730073600,"0C":1733875200,"1C":1737936e3,"2C":1743379200,"3C":1747008e3,"4C":1757894400,"5C":1762128e3,"6C":1762041600,"7C":1770854400,"8C":1774310400,"9C":1778457600,AD:1785110400,K:1789344e3,BD:null,CD:null,XD:null}},F:{A:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,F:0,B:0,C:0,G:0,O:0,P:0,Q:0,nB:0,HB:0,IB:0,JB:0,KB:0,LB:0,MB:0,NB:0,K:0,OB:0,PB:0,QB:0,oB:0,pB:0,qB:0,rB:0,sB:0,tB:0,uB:0,vB:0,wB:0,xB:0,yB:0,zB:0,"0B":0,"1B":0,"2B":0,"3B":0,"4B":0,"5B":0,"6B":0,"7B":0,"8B":0,"9B":0,AC:0,BC:0,CC:0,DC:0,EC:0,FC:0,GC:0,HC:0,IC:0,JC:0,KC:0,LC:0,MC:0,NC:0,OC:0,PC:0,QC:0,RC:0,SC:0,TC:0,UC:0,VC:0,WC:0,XC:0,R:0,H:0,S:0,iC:0,T:0,U:0,V:0,W:0,X:0,Y:0,Z:.024565,a:.024565,b:.024565,c:0,d:0,e:0,f:.029478,g:0,h:0,i:0,j:.009826,k:.142477,l:.014739,m:0,n:0,o:0,p:0,q:.009826,r:0,s:0,t:0,u:0,v:0,w:0,x:0,y:0,z:0,AB:0,BB:0,CB:0,DB:0,EB:.324258,FB:.275128,GB:.014739,YD:0,ZD:0,aD:0,bD:0,ZC:0,DD:0,cD:0,aC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","F","YD","ZD","aD","bD","B","ZC","DD","cD","C","aC","G","O","P","Q","nB","HB","IB","JB","KB","LB","MB","NB","K","OB","PB","QB","oB","pB","qB","rB","sB","tB","uB","vB","wB","xB","yB","zB","0B","1B","2B","3B","4B","5B","6B","7B","8B","9B","AC","BC","CC","DC","EC","FC","GC","HC","IC","JC","KC","LC","MC","NC","OC","PC","QC","RC","SC","TC","UC","VC","WC","XC","R","H","S","iC","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","GB","","",""],E:"Opera",F:{0:1736294400,1:1739404800,2:1744675200,3:1747094400,4:1751414400,5:1756339200,6:1757548800,7:1761609600,8:1762992e3,9:1764806400,F:1150761600,YD:1223424e3,ZD:1251763200,aD:1267488e3,bD:1277942400,B:1292457600,ZC:1302566400,DD:1309219200,cD:1323129600,C:1323129600,aC:1352073600,G:1372723200,O:1377561600,P:1381104e3,Q:1386288e3,nB:1390867200,HB:1393891200,IB:1399334400,JB:1401753600,KB:1405987200,LB:1409616e3,MB:1413331200,NB:1417132800,K:1422316800,OB:1425945600,PB:1430179200,QB:1433808e3,oB:1438646400,pB:1442448e3,qB:1445904e3,rB:1449100800,sB:1454371200,tB:1457308800,uB:146232e4,vB:1465344e3,wB:1470096e3,xB:1474329600,yB:1477267200,zB:1481587200,"0B":1486425600,"1B":1490054400,"2B":1494374400,"3B":1498003200,"4B":1502236800,"5B":1506470400,"6B":1510099200,"7B":1515024e3,"8B":1517961600,"9B":1521676800,AC:1525910400,BC:1530144e3,CC:1534982400,DC:1537833600,EC:1543363200,FC:1548201600,GC:1554768e3,HC:1561593600,IC:1566259200,JC:1570406400,KC:1573689600,LC:1578441600,MC:1583971200,NC:1587513600,OC:1592956800,PC:1595894400,QC:1600128e3,RC:1603238400,SC:161352e4,TC:1612224e3,UC:1616544e3,VC:1619568e3,WC:1623715200,XC:1627948800,R:1631577600,H:1633392e3,S:1635984e3,iC:1638403200,T:1642550400,U:1644969600,V:1647993600,W:1650412800,X:1652745600,Y:1654646400,Z:1657152e3,a:1660780800,b:1663113600,c:1668816e3,d:1668643200,e:1671062400,f:1675209600,g:1677024e3,h:1679529600,i:1681948800,j:1684195200,k:1687219200,l:1690329600,m:1692748800,n:1696204800,o:169992e4,p:169992e4,q:1702944e3,r:1707264e3,s:1710115200,t:1711497600,u:1716336e3,v:1719273600,w:1721088e3,x:1724284800,y:1727222400,z:1732665600,AB:1769990400,BB:1772064e3,CB:1776124800,DB:1779926400,EB:1782691200,FB:1785974400,GB:1787184e3},D:{F:"o",B:"o",C:"o",YD:"o",ZD:"o",aD:"o",bD:"o",ZC:"o",DD:"o",cD:"o",aC:"o"}},G:{A:{E:0,lC:0,dD:0,ED:.00264472,eD:0,fD:0,gD:.00264472,hD:0,iD:.00132236,jD:0,kD:0,lD:.014546,mD:.0978546,nD:.00264472,oD:0,pD:.0423155,qD:0,rD:.00793416,sD:0,tD:.00264472,uD:.0066118,vD:.00925652,wD:.0119012,nC:.0066118,oC:.00793416,bC:.0105789,xD:.206288,cC:.0158683,pC:.0277696,qC:.014546,rC:.033059,sC:.00793416,tC:.0119012,yD:.275051,dC:.0105789,uC:.0158683,vC:.014546,wC:.0211578,xC:.0304143,yC:.0621509,zD:.158683,eC:.0357037,zC:.0674404,"0C":.0462826,"1C":.112401,"2C":.0555391,"3C":1.7918,"4C":.100499,"5C":.101822,"6C":.268439,"7C":.30282,"8C":.234058,"9C":4.25139,AD:4.70363,"0D":0,BD:0,CD:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","lC","dD","ED","eD","fD","gD","E","hD","iD","jD","kD","lD","mD","nD","oD","pD","qD","rD","sD","tD","uD","vD","wD","nC","oC","bC","xD","cC","pC","qC","rC","sC","tC","yD","dC","uC","vC","wC","xC","yC","zD","eC","zC","0C","1C","2C","3C","4C","5C","6C","7C","8C","9C","AD","0D","BD","CD",""],E:"Safari on iOS",F:{lC:1270252800,dD:1283904e3,ED:1299628800,eD:1331078400,fD:1359331200,gD:1394409600,E:1410912e3,hD:1413763200,iD:1442361600,jD:1458518400,kD:1473724800,lD:1490572800,mD:1505779200,nD:1522281600,oD:1537142400,pD:1553472e3,qD:1568851200,rD:1572220800,sD:1580169600,tD:1585008e3,uD:1600214400,vD:1619395200,wD:1632096e3,nC:1639353600,oC:1647216e3,bC:1652659200,xD:1658275200,cC:1662940800,pC:1666569600,qC:1670889600,rC:1674432e3,sC:1679875200,tC:1684368e3,yD:1690156800,dC:1694995200,uC:1698192e3,vC:1702252800,wC:1705881600,xC:1709596800,yC:1715558400,zD:1722211200,eC:1726444800,zC:1730073600,"0C":1733875200,"1C":1737936e3,"2C":1743379200,"3C":1747008e3,"4C":1757894400,"5C":1762128e3,"6C":1765497600,"7C":1770854400,"8C":1774310400,"9C":1778457600,AD:1785110400,"0D":1789344e3,BD:null,CD:null}},H:{A:{"1D":0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","1D","","",""],E:"Opera Mini",F:{"1D":1426464e3}},I:{A:{fC:0,J:0,I:.0304855,"2D":0,"3D":0,"4D":0,"5D":30516e-10,ED:0,"6D":0,"7D":15258e-9},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","2D","3D","4D","fC","J","5D","ED","6D","7D","I","","",""],E:"Android Browser",F:{"2D":1256515200,"3D":1274313600,"4D":1291593600,fC:1298332800,J:1318896e3,"5D":1341792e3,ED:1374624e3,"6D":1386547200,"7D":1401667200,I:1790035200}},J:{A:{D:0,A:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","D","A","","",""],E:"Blackberry Browser",F:{D:1325376e3,A:1359504e3}},K:{A:{A:0,B:0,C:0,H:.971426,ZC:0,DD:0,aC:0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","ZC","DD","C","aC","H","","",""],E:"Opera Mobile",F:{A:1287100800,B:1300752e3,ZC:1314835200,DD:1318291200,C:1330300800,aC:1349740800,H:1709769600},D:{H:"webkit"}},L:{A:{I:44.0186},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","I","","",""],E:"Chrome for Android",F:{I:1790035200}},M:{A:{YC:.38145},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","YC","","",""],E:"Firefox for Android",F:{YC:179064e4}},N:{A:{A:0,B:0},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","","",""],E:"IE Mobile",F:{A:1340150400,B:1353456e3}},O:{A:{bC:.63575},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bC","","",""],E:"UC Browser for Android",F:{bC:1710115200},D:{bC:"webkit"}},P:{A:{J:0,HB:0,IB:0,JB:.00666714,KB:.00666714,LB:.00666714,MB:.0133343,NB:.0266686,K:.0200014,OB:.04667,PB:.0800057,QB:1.08008,"8D":0,"9D":0,AE:0,BE:0,CE:0,mC:0,DE:0,EE:0,FE:0,GE:0,HE:0,cC:0,dC:0,eC:0,IE:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","J","8D","9D","AE","BE","CE","mC","DE","EE","FE","GE","HE","cC","dC","eC","IE","HB","IB","JB","KB","LB","MB","NB","K","OB","PB","QB","","",""],E:"Samsung Internet",F:{J:1461024e3,"8D":1481846400,"9D":1509408e3,AE:1528329600,BE:1546128e3,CE:1554163200,mC:1567900800,DE:1582588800,EE:1593475200,FE:1605657600,GE:1618531200,HE:1629072e3,cC:1640736e3,dC:1651708800,eC:1659657600,IE:1667260800,HB:1677369600,IB:1684454400,JB:1689292800,KB:1697587200,LB:1711497600,MB:1715126400,NB:1717718400,K:1725667200,OB:1746057600,PB:1761264e3,QB:1779235200}},Q:{A:{JE:.091548},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","JE","","",""],E:"QQ Browser",F:{JE:1710288e3}},R:{A:{KE:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","KE","","",""],E:"Baidu Browser",F:{KE:1710201600}},S:{A:{LE:.005086,ME:0},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","LE","ME","","",""],E:"KaiOS Browser",F:{LE:1527811200,ME:1631664e3}}}},63473:t=>{t.exports={0:"116",1:"117",2:"118",3:"119",4:"120",5:"121",6:"122",7:"123",8:"124",9:"125",A:"10",B:"11",C:"12",D:"7",E:"8",F:"9",G:"15",H:"80",I:"154",J:"4",K:"27",L:"6",M:"13",N:"14",O:"16",P:"17",Q:"18",R:"79",S:"81",T:"83",U:"84",V:"85",W:"86",X:"87",Y:"88",Z:"89",a:"90",b:"91",c:"92",d:"93",e:"94",f:"95",g:"96",h:"97",i:"98",j:"99",k:"100",l:"101",m:"102",n:"103",o:"104",p:"105",q:"106",r:"107",s:"108",t:"109",u:"110",v:"111",w:"112",x:"113",y:"114",z:"115",AB:"126",BB:"127",CB:"131",DB:"132",EB:"133",FB:"134",GB:"135",HB:"20",IB:"21",JB:"22",KB:"23",LB:"24",MB:"25",NB:"26",OB:"28",PB:"29",QB:"30",RB:"128",SB:"129",TB:"130",UB:"136",VB:"137",WB:"138",XB:"139",YB:"140",ZB:"141",aB:"142",bB:"143",cB:"144",dB:"145",eB:"146",fB:"147",gB:"148",hB:"149",iB:"150",jB:"151",kB:"152",lB:"153",mB:"5",nB:"19",oB:"31",pB:"32",qB:"33",rB:"34",sB:"35",tB:"36",uB:"37",vB:"38",wB:"39",xB:"40",yB:"41",zB:"42","0B":"43","1B":"44","2B":"45","3B":"46","4B":"47","5B":"48","6B":"49","7B":"50","8B":"51","9B":"52",AC:"53",BC:"54",CC:"55",DC:"56",EC:"57",FC:"58",GC:"60",HC:"62",IC:"63",JC:"64",KC:"65",LC:"66",MC:"67",NC:"68",OC:"69",PC:"70",QC:"71",RC:"72",SC:"73",TC:"74",UC:"75",VC:"76",WC:"77",XC:"78",YC:"157",ZC:"11.1",aC:"12.1",bC:"15.5",cC:"16.0",dC:"17.0",eC:"18.0",fC:"3",gC:"59",hC:"61",iC:"82",jC:"155",kC:"156",lC:"3.2",mC:"10.1",nC:"15.2-15.3",oC:"15.4",pC:"16.1",qC:"16.2",rC:"16.3",sC:"16.4",tC:"16.5",uC:"17.1",vC:"17.2",wC:"17.3",xC:"17.4",yC:"17.5",zC:"18.1","0C":"18.2","1C":"18.3","2C":"18.4","3C":"18.5-18.7","4C":"26.0","5C":"26.1","6C":"26.2","7C":"26.3","8C":"26.4","9C":"26.5",AD:"26.6",BD:"27.1",CD:"27.2",DD:"11.5",ED:"4.2-4.3",FD:"5.5",GD:"2",HD:"158",ID:"159",JD:"160",KD:"3.5",LD:"3.6",MD:"3.1",ND:"5.1",OD:"6.1",PD:"7.1",QD:"9.1",RD:"13.1",SD:"14.1",TD:"15.1",UD:"15.6",VD:"16.6",WD:"17.6",XD:"TP",YD:"9.5-9.6",ZD:"10.0-10.1",aD:"10.5",bD:"10.6",cD:"11.6",dD:"4.0-4.1",eD:"5.0-5.1",fD:"6.0-6.1",gD:"7.0-7.1",hD:"8.1-8.4",iD:"9.0-9.2",jD:"9.3",kD:"10.0-10.2",lD:"10.3",mD:"11.0-11.2",nD:"11.3-11.4",oD:"12.0-12.1",pD:"12.2-12.5",qD:"13.0-13.1",rD:"13.2",sD:"13.3",tD:"13.4-13.7",uD:"14.0-14.4",vD:"14.5-14.8",wD:"15.0-15.1",xD:"15.6-15.8",yD:"16.6-16.7",zD:"17.6-17.7","0D":"27.0","1D":"all","2D":"2.1","3D":"2.2","4D":"2.3","5D":"4.1","6D":"4.4","7D":"4.4.3-4.4.4","8D":"5.0-5.4","9D":"6.2-6.4",AE:"7.2-7.4",BE:"8.2",CE:"9.2",DE:"11.1-11.2",EE:"12.0",FE:"13.0",GE:"14.0",HE:"15.0",IE:"19.0",JE:"14.9",KE:"13.52",LE:"2.5",ME:"3.0-3.1"}},61507:t=>{t.exports={A:"ie",B:"edge",C:"firefox",D:"chrome",E:"safari",F:"opera",G:"ios_saf",H:"op_mini",I:"android",J:"bb",K:"op_mob",L:"and_chr",M:"and_ff",N:"ie_mob",O:"and_uc",P:"samsung",Q:"and_qq",R:"baidu",S:"kaios"}},41492:t=>{t.exports={0:"_I _JB",1:"_d eD",2:"_JC _s",3:"_wS _vI",4:"_5 _e",5:"J mB",6:"B C",7:"_Y _UF",8:"_1S _HG",9:"lD _AB",A:"A B",B:"D A",C:"LE ME",D:"_GE _jP",E:"_TC FD",F:"J _U",G:"_HD _xS",H:"_RC _SP",I:"_w _VB",J:"_YH _uI",K:"_H _uI",L:"KD LD",M:"_3 _s",N:"_GE _yS",O:"_TH _uE",P:"_IG _xS",Q:"_yI _DC",R:"_DU _WH",S:"_zS _zE",T:"_j _O",U:"_FB _wE",V:"F _A",W:"_HD _oK",X:"I _x",Y:"_5 _fC",Z:"_SC FD",a:"_H _uM",b:"_GB FD",c:"_0B _0S",d:"lC _FG",e:"MD lC",f:"_g _L",g:"GD fC",h:"_lI _CD",i:"_UM _NP",j:"F _6",k:"J _e",l:"_h _wC",m:"2D 3D",n:"_m 4D",o:"_g _7",p:"_l _gK",q:"_g _Y",r:"_d _xC",s:"_JD _AB",t:"E _2S",u:"_5 _VH",v:"_7 _eC",w:"C _CC",x:"6D 7D",y:"_yI _uB",z:"_3E FD",AB:"_wI _kB",BB:"_jD _AB",CB:"_6 _yS",DB:"_vM _xM",EB:"_r gD",FB:"_IH _NB",GB:"_gD E",HB:"_gD FD",IB:"_1I _WH",JB:"R _8D",KB:"C M",LB:"fC _n",MB:"_9D _UP",NB:"_CG _rB",OB:"_3 _gC",PB:"F _PD",QB:"_wM _WH",RB:"_2I _XH",SB:"_IG _6S",TB:"_VC _XH",UB:"_OG _0M",VB:"_BC _AC",WB:"_eC iC",XB:"_3 _JD",YB:"_EU _xM",ZB:"H aC",aB:"_w _BC",bB:"_o _WB",cB:"_GE _tB",dB:"_EU _lP",eB:"_8S _2S",fB:"F _iK",gB:"_A _tB",hB:"_FB _xU",iB:"_OB kD",jB:"_GU _lP",kB:"_nK _sE",lB:"_yE _uB",mB:"F YD",nB:"mB _YB",oB:"_yM _0S",pB:"_1I _3S",qB:"_RB mC",rB:"PB QB",sB:"HC IC",tB:"ZC DD",uB:"_WB _tM",vB:"_CE _kD",wB:"_5 L",xB:"_FB _FU",yB:"_FB _LU",zB:"_tE QD","0B":"_H _j","1B":"JB _EC","2B":"_cC _XK","3B":"J _SH","4B":"_1S GC","5B":"_w G","6B":"IB _1B","7B":"_eP _MU","8B":"_IG _zI","9B":"_lC _s",AC:"P Q",BC:"G O",CC:"M N",DC:"_eC _rE",EC:"_HH _NB",FC:"_Y G",GC:"_yE _DC",HC:"_UF _DC",IC:"_Y _lD",JC:"E _rM",KC:"_5 _gD",LC:"_UF _uB",MC:"_vC _A",NC:"_PH _HG",OC:"_hK _mC",PC:"_g KD",QC:"_pK _3S",RC:"_PF _DH",SC:"_gD _vC",TC:"_SC _A",UC:"_cK _kI",VC:"_5 _SC",WC:"_HE _gE",XC:"_LD _tM",YC:"_yC _qE",ZC:"_wB _rP",aC:"yB zB",bC:"0B 1B",cC:"_VB nB",dC:"_QF _TF",eC:"_kE _SF",fC:"_TC _w",gC:"iD jD",hC:"_mE _GD",iC:"D _vC",jC:"nB _FB",kC:"_SF _rE",lC:"E hD",mC:"_kP _kB",nC:"9B _hE",oC:"_DD LC",pC:"_3B AE",qC:"F _TH",rC:"J 8D",sC:"lC dD",tC:"_yI _zE",uC:"_GT _vE",vC:"E F",wC:"_tU YC",xC:"eD fD",yC:"_XB _wI",zC:"_q _lD","0C":"_XB mD","1C":"K _vE","2C":"_g _OU","3C":"_KG _PU","4C":"_wB _VH","5C":"_KC _rP","6C":"_QD _tB","7C":"_GU _KU","8C":"_SD _s","9C":"_sP _uI",AD:"_yK _sE",BD:"_MB _YM",CD:"_dM _EG",DD:"_sB _3T",ED:"gC GC",FD:"_oE _lS",GD:"_ED hC",HD:"fC J",ID:"mC ZC",JD:"_gC _jD",KD:"_NH _GD",LD:"_SF iC",MD:"_JG _QF",ND:"_XB _GG",OD:"J _sI",PD:"_wM _mP",QD:"_zM _TH",RD:"_NH _xI",SD:"E _HU",TD:"_oI _KE",UD:"ND _zB",VD:"_VF _nP",WD:"_zS _WB",XD:"C _ZB",YD:"I 7D",ZD:"_H _HC",aD:"_Y _bH",bD:"_6 _jP",cD:"_pD _qE",dD:"_qP _uK",eD:"_vK _5I",fD:"_yU _zE",gD:"L D",hD:"vB wB",iD:"_jE _hE",jD:"kD lD",kD:"_mE _xI",lD:"_DE _BE",mD:"_KD _DC",nD:"_RF _GD",oD:"_A _w",pD:"_FC _wU",qD:"_LD _rI",rD:"_IE _cM",sD:"_9D V",tD:"_9D _TP",uD:"_wC _gK",vD:"_sB JC",wD:"E _vI",xD:"_RC 4",yD:"_FB _0U",zD:"_bC 2B","0D":"_QD _jK","1D":"_AT _2E","2D":"_uP _5S","3D":"_fH R","4D":"_DN _5S","5D":"_QU _HC","6D":"_SU _L","7D":"_zU _lK","8D":"H S","9D":"T U",AE:"_LH _iE",BE:"_MH _UC",CE:"_AE _dC",DE:"_nE _CE",EE:"aC RD",FE:"_sS _uS",GE:"_A C",HE:"_MB _ZK",IE:"_DD _bP",JE:"O _AC",KE:"_kK _kB",LE:"_hC _DC",ME:"_Y _DE",NE:"_CE _BE",OE:"_ID _EE",PE:"_HT _jM",QE:"J _UU",RE:"K _UT",SE:"_H _5S",TE:"_iD CC",UE:"_nS _TD",VE:"_AU _sE",WE:"_j _GJ",XE:"_aH FE",YE:"_XF _XG",ZE:"_6I _JU",aE:"_QG _uI",bE:"_AT _mD",cE:"_xP _JU",dE:"_QT _kB",eE:"_VU _vE",fE:"AB BB",gE:"_zT _bI",hE:"AC BC",iE:"rB sB",jE:"8B 9B",kE:"_DD _eK",lE:"_BD _h",mE:"_BE _NH",nE:"_cC _FB",oE:"eC zC",pE:"_hM _iM",qE:"cC _nI",rE:"_lE _wC",sE:"_nM _fK",tE:"OD PD",uE:"_jK aC",vE:"_mK _lK",wE:"_sI _sM",xE:"_ID _tI",yE:"_CE _hC",zE:"_uB _L","0E":"_cC _IH","1E":"_MB _WK","2E":"_KD _uB","3E":"_SC A","4E":"_JB iC","5E":"_iD _KH","6E":"_VF M","7E":"_mM VD","8E":"_Y _JG","9E":"_Y _MD",AF:"_yC _nK",BF:"_H _NG",CF:"_H _2M",DF:"_FB _sM",EF:"_CD _wC",FF:"_gC kD",GF:"_HD _QH",HF:"_q _YU",IF:"_ND pD",JF:"_oC MC",KF:"_6I _oP",LF:"_DT _2E",MF:"_zP _RD",NF:"_BN _GC",OF:"W X",PF:"0 1",QF:"tB uB",RF:"_KH _fM",SF:"_gM _JB",TF:"_mI _aC",UF:"_PH _GD",VF:"_KG C",WF:"_0E MB",XF:"_ND _qI",YF:"LB _NB",ZF:"_SP _fE",aF:"_MB _dS",bF:"_hC _uB",cF:"_j _lD",dF:"_rK rB",eF:"_jC _vB",fF:"_cC HB",gF:"_BC P",hF:"_MB _OP",iF:"_Y _7S",jF:"_HE _zT",kF:"_IC _5E",lF:"_aH _hP",mF:"PD QD",nF:"_OD mC",oF:"J _QH",pF:"_H _2E",qF:"_H _NU",rF:"_FB _qS",sF:"_FB _aU",tF:"_CD _uD",uF:"_Y _7M",vF:"_Y _fF",wF:"_UH _4S",xF:"_yI _eC",yF:"_a aC",zF:"_y LD","0F":"_qP _2K","1F":"_4B _O","2F":"_aB P","3F":"_XF vD","4F":"_pC BE","5F":"_CT _mD","6F":"_VG _YS","7F":"_FT _lB","8F":"_MT _qD","9F":"_1U _iP",AG:"v w",BG:"_ZS _RP",CG:"MB _0T",DG:"TC UC",EG:"_aK _hI",FG:"dD ED",GG:"mD _hK",HG:"GC _WB",IG:"_HD I",JG:"_nE _AE",KG:"_5 _TC",LG:"_hS _UC",MG:"OB _rB",NG:"_dC _kD",OG:"_5 _GB",PG:"_fM _GD",QG:"_H _JE",RG:"_BD _lI",SG:"_0I _DC",TG:"_kE _DG",UG:"_jE AC",VG:"_1M _FH",WG:"_yT _fE",XG:"_rS nC",YG:"_lM _fK",ZG:"_sK 6B",aG:"_mM yD",bG:"_H _1B",cG:"_MH _cK",dG:"_tK pB",eG:"_CE _mE",fG:"_kE TC",gG:"_pD _mK",hG:"B _tB",iG:"L ND",jG:"1 _DH",kG:"jD _BB",lG:"_RC _EH",mG:"_JB _sD",nG:"_JB _tD",oG:"_H _VM",pG:"_NH GC",qG:"_Y _cC",rG:"_Y _0E",sG:"_Y _sK",tG:"_oE _4T",uG:"_q _L",vG:"_yE _eC",wG:"_vM _2U",xG:"_W 6D",yG:"_v _WC",zG:"_pD _7E","0G":"_qP _GN","1G":"_bB _eT","2G":"_fB aD","3G":"_ZF _l","4G":"_6M _vB","5G":"_6M _GC","6G":"_aF _PP","7G":"_AN _vB","8G":"_hF d","9G":"_lH _mI",AH:"_RU _O",BH:"_aT _DC",CH:"_3U _xK",DH:"2 3",EH:"4 _wT",FH:"p _aS",GH:"HB IB",HH:"KB LB",IH:"_XK _HH",JH:"_VP TB",KH:"CC DC",LH:"oB _iS",MH:"_bC _hS",NH:"_iD _RF",OH:"sC tC",PH:"_DE _mE",QH:"5D ED",RH:"pD _nS",SH:"8D 9D",TH:"_iK _pI",UH:"G K",VH:"_e ND",WH:"_xE _vE",XH:"_VH _zB",YH:"_H _I",ZH:"_DE _MH",aH:"_OD _pM",bH:"_MD _mI",cH:"_WM _YK",dH:"_cC _GH",eH:"_1E _ZS",fH:"_kE _gM",gH:"_j _DE",hH:"_3I _l",iH:"_3I _h",jH:"K _MG",kH:"_vC _oD",lH:"_AE _QF",mH:"u _YK",nH:"wB _4I",oH:"3B _UC",pH:"_H _pP",qH:"_wT _WG",rH:"_KC _0M",sH:"N G",tH:"uD _KE",uH:"_fE _p",vH:"_JB _rE",wH:"_JB _WC",xH:"_WK _BG",yH:"_H _mD",zH:"_H _LC","0H":"_H _BT","1H":"_H _SG","2H":"_H _hH","3H":"_H _iH","4H":"_H _mH","5H":"_H _PT","6H":"_vC A","7H":"_LH rB","8H":"_Y _EJ","9H":"_7 _kE",AI:"_3 iD",BI:"_pK _oP",CI:"_VC _0M",DI:"_3E _UD",EI:"_5E EC",FI:"_QG _KN",GI:"_ZF _h",HI:"_CT _RD",II:"_eH k",JI:"_0C nD",KI:"_6E _7U",LI:"_EN _l",MI:"_iF SD",NI:"_kF EC",OI:"_1K _uI",PI:"_HN _NG",QI:"_IN _2M",RI:"_bG _lB",SI:"_1P _8I",TI:"_MJ _kD",UI:"_TT _LE",VI:"_5K _nK",WI:"_gT _KU",XI:"_cU _L",YI:"_dU _O",ZI:"_5U _O",aI:"_6U _L",bI:"y z",cI:"7 8",dI:"n o",eI:"Z a",fI:"_PP h",gI:"_YS u",hI:"_1T _XP",iI:"_bM _ZM",jI:"_ZP SC",kI:"6B 7B",lI:"_JH _eM",mI:"_hD xB",nI:"pC _jS",oI:"tD uD",pI:"aD bD",qI:"_RH _oI",rI:"_BD _i",sI:"_SH _vS",tI:"_EE _FE",uI:"_JB _lE",vI:"_xC _rM",wI:"_GG _kP",xI:"_HG _rI",yI:"_H _7",zI:"_QH _x","0I":"_dC _hC","1I":"B _pK","2I":"_VC A","3I":"_eI _YM","4I":"xB _aC","5I":"cD aC","6I":"_CC _UH","7I":"_iS _iE","8I":"_RF _xI","9I":"_nD _uB",AJ:"_qK PB",BJ:"mB _fC",CJ:"uB _TF",DJ:"_OH _BU",EJ:"_ZH 4B",FJ:"_JD _GG",GJ:"_TH _jK",HJ:"_H QB",IJ:"FC _GD",JJ:"KC _eK",KJ:"_Y _PH",LJ:"_q _DE",MJ:"_H zB",NJ:"GC hC",OJ:"_H _9S",PJ:"_H _4I",QJ:"_RG _dM",RJ:"_PH GC",SJ:"D E",TJ:"TB _eM",UJ:"nB _IH",VJ:"UC _bK",WJ:"ND _tE",XJ:"oD _mC",YJ:"_H _8D",ZJ:"_H _9I",aJ:"_H _oH",bJ:"_H _XT",cJ:"_H _RN",dJ:"_FB _9U",eJ:"_AE tB",fJ:"_BE 8B",gJ:"_fC G",hJ:"_Y _2B",iJ:"_Y _qK",jJ:"_Y _WF",kJ:"_Y _AJ",lJ:"_Y _FN",mJ:"_FD _5T",nJ:"_SH AE",oJ:"_HD _zI",pJ:"_GE M",qJ:"_YH _JB",rJ:"_iC _A",sJ:"_ND _RH",tJ:"_v _9D",uJ:"_IC _UG",vJ:"_0 _9D",wJ:"_lC _FJ",xJ:"_qP _uE",yJ:"_rD QC",zJ:"_zC _eU","0J":"_zC _8U","1J":"_sP _eF","2J":"_aF f","3J":"_TG VC","4J":"_ME _bC","5J":"_vP _LE","6J":"_vP _bF","7J":"_8M _LE","8J":"_VD aC","9J":"_IT _NG",AK:"_8E tB",BK:"_HJ _GC",CK:"_JT _h",DK:"_JT _l",EK:"_pH _i",FK:"_MN _mD",GK:"_WT _kC",HK:"_6K _i",IK:"_7K q",JK:"_SN _qD",KK:"_3P _NU",LK:"_6P n",MK:"_hT _wE",NK:"_iT _HC",OK:"_jT _i",PK:"_fU _L",QK:"_AV _O",RK:"_BV _O",SK:"_CV _O",TK:"_DV _L",UK:"_EV _L",VK:"_FV _O",WK:"_dS _fI",XK:"_GH JB",YK:"_gE _fE",ZK:"_WK _XM",aK:"_aM _eS",bK:"_aP XC",cK:"4B 5B",dK:"_cM _jI",eK:"_bP _dK",fK:"0D _jM",gK:"_vU JD",hK:"nD oD",iK:"YD ZD",jK:"_tB cD",kK:"_rS _tS",lK:"_nM _qM",mK:"_mM _BU",nK:"_mM _CU",oK:"_n _QH",pK:"_w _UH",qK:"_0E _CG",rK:"_nE _LH",sK:"_ZH _cK",tK:"_nE oB",uK:"_pI _uE",vK:"_3M _uM",wK:"_0T _rB",xK:"_sS nC",yK:"_OH _CU",zK:"_nD _DC","0K":"_4E _rI","1K":"_H Q","2K":"bD _uE","3K":"NC _dK","4K":"_RH tD","5K":"_JD _wI","6K":"_BD _JH","7K":"_1M p","8K":"_rD _ZP","9K":"_H _cH",AL:"F A",BL:"B _w",CL:"_TG _aP",DL:"C aC",EL:"C _jP",FL:"C _5I",GL:"Q _jC",HL:"J _zI",IL:"J _gU",JL:"K _NT",KL:"DD _5I",LL:"_xT _dI",ML:"_NP _iI",NL:"_FH _YS",OL:"_H _uB",PL:"_H _q",QL:"_H _kD",RL:"_H _zK",SL:"_H _dT",TL:"_H _7P",UL:"_H _GV",VL:"_H _HV",WL:"_vC _PD",XL:"_FB _iP",YL:"_2T _EG",ZL:"_RF GC",aL:"_SF _sD",bL:"_Y _VB",cL:"_Y _tK",dL:"_Y _dH",eL:"_Y _gF",fL:"_Y _ZG",gL:"_dP _fK",hL:"_lS _YG",iL:"_HD _UN",jL:"_GG _qI",kL:"_xC gD",lL:"_ID aC",mL:"_xE _mK",nL:"_hC _eC",oL:"_q _PH",pL:"_q _lT",qL:"_q _iU",rL:"_q _jU",sL:"_o _IV",tL:"_jC _GC",uL:"_IE OC",vL:"_0 _1M",wL:"_oD G",xL:"_JE _jC",yL:"_vK aC",zL:"_CT _2E","0L":"_DT _mD","1L":"_uP _HC","2L":"_vP _kD","3L":"_xP _4S","4L":"_8M _bF","5L":"_zP _2E","6L":"_AN _GC","7L":"_EN _h","8L":"_1P _9I","9L":"_JN _8I",AM:"_JN _zK",BM:"_KT _9I",CM:"_LT _vB",DM:"_LN _2E",EM:"_eG GC",FM:"_VT _LC",GM:"_PJ _kD",HM:"_XU _O",IM:"_XU _hU",JM:"_cT _XC",KM:"_TN _wE",LM:"_VN _L",MM:"_8P _DC",NM:"_9P _kC",OM:"_kT _sE",PM:"_JV _rI",QM:"_KV _O",RM:"_LV _O",SM:"_MV _L",TM:"EB FB",UM:"CB DB",VM:"_OF Y",WM:"_FH _gI",XM:"_BG _WM",YM:"_ZK _YK",ZM:"WB XB",aM:"eB fB",bM:"UB VB",cM:"OC PC",dM:"_YP _2T",eM:"_i _iI",fM:"EC FC",gM:"_DG _bK",hM:"dC uC",iM:"vC wC",jM:"BD CD",kM:"6C 7C",lM:"_5T _dP",mM:"_qE _OH",nM:"_FD _lM",oM:"dC _8T",pM:"mC _9T",qM:"_jM XD",rM:"gD hD",sM:"_pM _iP",tM:"_rE _gK",uM:"_PH _xI",vM:"_Y _UH",wM:"_A _pK",xM:"ND _lP",yM:"_H _6",zM:"F B","0M":"_VH _tE","1M":"_1E _BG","2M":"_0I _uB","3M":"_H C","4M":"_3T _eK","5M":"5B _kI","6M":"_H _NB","7M":"_2B KB","8M":"_H _aC","9M":"_gS _dK",AN:"_H _YF",BN:"_H _wK",CN:"TD _uS",DN:"_H N",EN:"_H _IU",FN:"_WF _cS",GN:"ZD _uK",HN:"_H sB",IN:"_H _iE",JN:"_H BC",KN:"_jC _lB",LN:"_H _UC",MN:"_H _LG",NN:"_H _eK",ON:"_H _ET",PN:"_WF NB",QN:"_4E _tM",RN:"SC _qD",SN:"_H _jI",TN:"J _IH",UN:"4D _QH",VN:"_q _MD",WN:"_H _TU",XN:"_MH 4B",YN:"_V _w",ZN:"_yC _aG",aN:"ZC _tI",bN:"_QP _fI",cN:"_H _3K",dN:"_H _4U",eN:"_OE _xK",fN:"C _yS",gN:"N _VB",hN:"J _wE",iN:"IB _mT",jN:"MB NB",kN:"K _lK",lN:"1B _hS",mN:"ZD aD",nN:"ED _x",oN:"uD _kK",pN:"_QP _qT",qN:"_AC _jC",rN:"_WM _gE",sN:"_H _JB",tN:"_H _kC",uN:"_H _6B",vN:"_H _eF",wN:"_H _YN",xN:"_H _AQ",yN:"_H _NV",zN:"_TC C","0N":"_eS _hI","1N":"_JH _UM","2N":"_fM _xI","3N":"_QF _mI","4N":"_CE _XN","5N":"_mE GC","6N":"_Y _BC","7N":"_Y _ZH","8N":"_Y _rK","9N":"_kS _YG",AO:"_fP _lU",BO:"_HD _n",CO:"_HD _6S",DO:"_7 HC",EO:"_q _SV",FO:"_DU _XV",GO:"_1E i",HO:"_HE v",IO:"_ND _4K",JO:"_v _MB",KO:"_IC 8B",LO:"_IC _jE",MO:"_IC _iD",NO:"_0 _WC",OO:"_0 _jF",PO:"_JE nB",QO:"_tD Z",RO:"_6M _lB",SO:"_ME 0B",TO:"_8M _kD",UO:"_NE 8B",VO:"_NE _iD",WO:"_ET _dC",XO:"_FT _vB",YO:"_IT _2M",ZO:"_IT _SG",aO:"_HN _2M",bO:"_IN _NG",cO:"_KT _8I",dO:"_LT _GC",eO:"_KJ gC",fO:"_KJ _ED",gO:"_OT _QV",hO:"_LJ _L",iO:"_LJ _RV",jO:"_2P _i",kO:"_RT _lB",lO:"_RT _GC",mO:"_LN _mD",nO:"_ST _vB",oO:"_ST _GC",pO:"_TT _kD",qO:"_RU _PV",rO:"_nF DE",sO:"_NN _kC",tO:"_NN _XC",uO:"_ON _2M",vO:"_ON _SG",wO:"_qH _p",xO:"_VT _HC",yO:"_YT _vI",zO:"_YT _2S","0O":"_bT _kC","1O":"_bT _XC","2O":"_fT _hH","3O":"_9K _h","4O":"_WN _p","5O":"_ZN _pE","6O":"_BQ _QN","7O":"_CQ 6B","8O":"_DQ dC","9O":"_oT _kU",AP:"_pT nD",BP:"_mU _HC",CP:"_nU _O",DP:"_OV _wE",EP:"_TV _O",FP:"_UV _O",GP:"_VV _O",HP:"_WV _O",IP:"_YV _L",JP:"_ZV _L",KP:"_aV _L",LP:"_bV _L",MP:"_cV _O",NP:"_TM GB",OP:"b c",PP:"f g",QP:"d e",RP:"_bS _dI",SP:"_EH _yT",TP:"V _VM",UP:"_TP _eI",VP:"RB SB",WP:"YB ZB",XP:"lB I",YP:"_WP _fS",ZP:"QC RC",aP:"VC WC",bP:"LC _gS",cP:"4C 5C",dP:"_uU AD",eP:"oC bC",fP:"xC yC",gP:"rD sD",hP:"FE GE",iP:"_hP _qS",jP:"_tB aC",kP:"_qI _kK",lP:"_zB _WH",mP:"QD _WH",nP:"_XH _ID",oP:"_tI _vE",pP:"_XM _YK",qP:"_yM _uM",rP:"_VH OD",sP:"_H _AC",tP:"1B _LG",uP:"_H _CC",vP:"_H _TF",wP:"_eP UD",xP:"N _UH",yP:"_fI _pP",zP:"_H _tP","0P":"fC _7","1P":"_H _nC","2P":"_H _YM","3P":"_H DC","4P":"_H _jH","5P":"_H _ZU","6P":"_eH _bS","7P":"WC XC","8P":"_H _IJ","9P":"_H _JJ",AQ:"X Y",BQ:"_H XC",CQ:"_CE _cG",DQ:"_lF _mS",EQ:"B _5B",FQ:"RC SC",GQ:"ZC aC",HQ:"_H _GD",IQ:"_H _nH",JQ:"_H _NJ",KQ:"L FD",LQ:"9 _fE",MQ:"C H",NQ:"C _uE",OQ:"R H",PQ:"m _dI",QQ:"VB _ZM",RQ:"J lC",SQ:"mB ND",TQ:"nB _XK",UQ:"MB _cS",VQ:"K _sT",WQ:"K _rU",XQ:"oB pB",YQ:"sB _dC",ZQ:"sB _0I",aQ:"9B AC",bQ:"iC _tM",cQ:"DD aC",dQ:"3D 4D",eQ:"_8D _rE",fQ:"_PF 2",gQ:"_JB _9D",hQ:"_H _w",iQ:"_H _LE",jQ:"_H _bF",kQ:"_H _yP",lQ:"_H _QN",mQ:"_H _BL",nQ:"_H _oU",oQ:"_H _dV",pQ:"_H _eV",qQ:"_H _hV",rQ:"_CC _VB",sQ:"_vC _mF",tQ:"_FB _8T",uQ:"_FB _oM",vQ:"_BD _VP",wQ:"_QF vB",xQ:"_hE _RF",yQ:"_DD _L",zQ:"_5 ND","0Q":"_CE 0B","1Q":"_fC _JG","2Q":"_Y _dF","3Q":"_FD _cP","4Q":"_6 _GN","5Q":"_6 _GQ","6Q":"_pM _hP","7Q":"_pI _jK","8Q":"_7 _DD","9Q":"_7 _IE",AR:"_7 _oC",BR:"_7 _vD",CR:"_7 _fG",DR:"_zB mC",ER:"_zB _eN",FR:"_j _kV",GR:"_IG _pU",HR:"_yE _WB",IR:"_lD 8B",JR:"_V FD",KR:"_HE _AG",LR:"_KG _nP",MR:"_v _VG",NR:"_v _jF",OR:"_pD cC",PR:"_3I _i",QR:"_QD ZC",RR:"_4B _mV",SR:"_8 _jV",TR:"_8 _vV",UR:"_zC _L",VR:"_sD _OF",WR:"_8S _vI",XR:"_PG _uB",YR:"_vK _uE",ZR:"_cF _gV",aR:"_cF _lV",bR:"_DT _RD",cR:"_6E _7S",dR:"_FT _GC",eR:"_9M _tT",fR:"_FJ _qI",gR:"_FJ _4K",hR:"_gH _O",iR:"_BN _lB",jR:"_mF mC",kR:"_1K _KN",lR:"_HJ _vB",mR:"_KT _zK",nR:"_LT _lB",oR:"_MT _XC",pR:"_OT _O",qR:"_2P _h",rR:"_2P _l",sR:"_RT _vB",tR:"_MN _RD",uR:"_ST _lB",vR:"_9E vB",wR:"_AF _FD",xR:"_OJ _h",yR:"_OJ _l",zR:"_WT _XC","0R":"_gG _FD","1R":"_cT _kC","2R":"_dT G","3R":"_rH XD","4R":"_fT _iH","5R":"_4P _vB","6R":"_4P _lB","7R":"_5P _h","8R":"_5P _l","9R":"_RJ _8K",AS:"_AL _rT",BS:"_CL _L",CS:"_bN _XM",DS:"_cN _XC",ES:"_dN _i",FS:"_EQ _aN",GS:"_FQ _LD",HS:"_HQ _DC",IS:"_IQ _LE",JS:"_JQ _uB",KS:"_uT cB",LS:"_vT _aK",MS:"_qU _kC",NS:"_fV _NT",OS:"_iV _i",PS:"_nV _L",QS:"_oV _O",RS:"_pV _O",SS:"_qV _O",TS:"_rV _L",US:"_sV _L",VS:"_tV _L",WS:"_uV _L",XS:"_wV _O",YS:"s t",ZS:"i j",aS:"q r",bS:"k _xT",cS:"NB K",dS:"_OP _QP",eS:"_sU iB",fS:"aB bB",gS:"MC NC",hS:"2B 3B",iS:"pB qB",jS:"qC rC",kS:"2C 3C",lS:"_4T _kS",mS:"HE cC",nS:"qD _gP",oS:"_6T WD",pS:"BE CE",qS:"_mS _oM",rS:"vD wD",sS:"SD TD",tS:"_7T xD",uS:"_7T UD",vS:"AE _pS",wS:"E _d",xS:"_oK _x",yS:"H _jP",zS:"_H _o","0S":"_uM _O","1S":"_j _PH","2S":"_vI _s","3S":"ZC _oP","4S":"_FE _vE","5S":"_VB _uI","6S":"4D _zI","7S":"_nP _EE","8S":"E _FG","9S":"_bI _fE",AT:"_H _kI",BT:"_gI _YK",CT:"_H _5M",DT:"_H 7B",ET:"qB _iE",FT:"_H _rB",GT:"K _wP",HT:"_mK _nM",IT:"_H _7I",JT:"_H _YK",KT:"_H _hE",LT:"_H _EC",MT:"_H _4M",NT:"_lM _qM",OT:"_j _MD",PT:"h _pP",QT:"wD _tS",RT:"_H _FB",ST:"_H _MG",TT:"_H _CJ",UT:"_DJ _lK",VT:"_H _fC",WT:"_H _9M",XT:"_bK _0K",YT:"E ED",ZT:"_aS _BT",aT:"_H hC",bT:"_H _dK",cT:"_H _WU",dT:"_iC _oD",eT:"_WC _L",fT:"_H Y",gT:"_vC _wM",hT:"J _XK",iT:"_H _kH",jT:"_H _ZT",kT:"_fP zD",lT:"_ZH _L",mT:"JB _HH",nT:"PC _jI",oT:"_vC _GE",pT:"_JD mD",qT:"_yP _p",rT:"QD mC",sT:"_dP _qM",tT:"_qD _O",uT:"_RG _YP",vT:"_WD _QJ",wT:"5 6",xT:"l m",yT:"_cI 9",zT:"_AG x","0T":"_cS OB","1T":"jB kB","2T":"cB dB","3T":"JC KC","4T":"0C 1C","5T":"_cP _kM","6T":"_pE _fP","7T":"nC _eP","8T":"eC IE","9T":"DE EE",AU:"_6T zD",BU:"VD _oS",CU:"yD _AU",DU:"_vM _XH",EU:"_fC _UH",FU:"_vS _sM",GU:"_iC _wM",HU:"fD _rM",IU:"_UP _YM",JU:"RD _4S",KU:"PD _mP",LU:"_pS _sM",MU:"xD _kB",NU:"_PG _DC",OU:"_5 _L",PU:"_XH mC",QU:"_H _BJ",RU:"_j _JG",SU:"_q _qK",TU:"x _9S",UU:"I _zI",VU:"_UH _CN",WU:"IC _4M",XU:"_j _bH",YU:"_dH _L",ZU:"U _IU",aU:"CE _sM",bU:"_RP _cH",cU:"_q _JG",dU:"_gH 0B",eU:"_jE _L",fU:"_g _VC",gU:"HB _wE",hU:"yB _O",iU:"_VB _L",jU:"_nE _L",kU:"QD _ID",lU:"WD _lK",mU:"_H _oD",nU:"_OT _hD",oU:"g _PT",pU:"3D _6S",qU:"_H _nT",rU:"_lS _NT",sU:"gB hB",tU:"jC kC",uU:"8C 9C",vU:"HD ID",wU:"_XH _xE",xU:"9D _FU",yU:"_H _0P",zU:"K _oS","0U":"GE _qS","1U":"_FB _9T","2U":"lC _xM","3U":"_FC _7S","4U":"e _yP","5U":"_j _0E","6U":"_q _dG","7U":"_nP aC","8U":"8B _L","9U":"EE _iP",AV:"_j _7M",BV:"_j _dF",CV:"_j _FN",DV:"_q _0E",EV:"_q _EJ",FV:"_cF _UG",GV:"a _YM",HV:"r _BT",IV:"HC _L",JV:"_H _WB",KV:"_j _tK",LV:"_j _AJ",MV:"_q _sK",NV:"j _bU",OV:"J _GH",PV:"tB _O",QV:"vB _O",RV:"0B _L",SV:"_BC _L",TV:"_j _2B",UV:"_j _rK",VV:"_j _ZG",WV:"_j _PN",XV:"_xE _PE",YV:"_q _WF",ZV:"_q _rK",aV:"_q _tK",bV:"_q _AJ",cV:"_4B _rD",dV:"o _cH",eV:"w _TU",fV:"K _kS",gV:"8B _O",hV:"UC _XT",iV:"_H _bU",jV:"_MB _O",kV:"_VB _O",lV:"_jE _O",mV:"_DD _O",nV:"_g _KC",oV:"_j _ZH",pV:"_j _qK",qV:"_j _dH",rV:"_q _7M",sV:"_q _dF",tV:"_q _gF",uV:"_q _PN",vV:"_1E _O",wV:"_4B _8K"}},88984:t=>{t.exports={1:"ls",2:"rec",3:"pr",4:"cr",5:"wd",6:"other",7:"unoff"}},47910:t=>{t.exports={y:1<<0,n:1<<1,a:1<<2,p:1<<3,u:1<<4,x:1<<5,d:1<<6}},25588:(t,s,i)=>{const r=i(52891).browsers;const a=i(8681).browserVersions;const o=i(48540);function unpackBrowserVersions(t){return Object.keys(t).reduce((s,i)=>{s[a[i]]=t[i];return s},{})}t.exports.X=Object.keys(o).reduce((t,s)=>{let i=o[s];t[r[s]]=Object.keys(i).reduce((t,s)=>{if(s==="A"){t.usage_global=unpackBrowserVersions(i[s])}else if(s==="C"){t.versions=i[s].reduce((t,s)=>{if(s===""){t.push(null)}else{t.push(a[s])}return t},[])}else if(s==="D"){t.prefix_exceptions=unpackBrowserVersions(i[s])}else if(s==="E"){t.browser=i[s]}else if(s==="F"){t.release_date=Object.keys(i[s]).reduce((t,r)=>{t[a[r]]=i[s][r];return t},{})}else{t.prefix=i[s]}return t},{});return t},{})},8681:(t,s,i)=>{t.exports.browserVersions=i(63473)},52891:(t,s,i)=>{t.exports.browsers=i(61507)},13702:(t,s,i)=>{const r=i(88984);const a=i(47910);const o=i(52891).browsers;const l=i(8681).browserVersions;const u=i(35084).versionGroups;const p=Math.log(2);const f={};function expandKey(t){let s=f[t];if(s===undefined){s=f[t]=expandGroups(u[t],[])}return s}function expandGroups(t,s){let i=0;for(let r=0,a=t.length;r<=a;r++){if(r===a||t.charCodeAt(r)===32){if(r>i){if(t.charCodeAt(i)===95){let a=expandKey(t.slice(i+1,r));for(let t=0;t<a.length;t++)s.push(a[t])}else{s.push(t.slice(i,r))}}i=r+1}}return s}function unpackSupport(t){let s=Object.keys(a).reduce((s,i)=>{if(t&a[i])s.push(i);return s},[]);let i=t>>7;let r=[];while(i){let t=Math.floor(Math.log(i)/p)+1;r.unshift(`#${t}`);i-=Math.pow(2,t-1)}return s.concat(r).join(" ")}function unpackFeature(t){let s={status:r[t.B],title:t.C,shown:t.D};s.stats=Object.keys(t.A).reduce((s,i)=>{let r=t.A[i];s[o[i]]=Object.keys(r).reduce((t,s)=>{let i=expandGroups(r[s],[]);let a=unpackSupport(s);i.forEach(s=>t[l[s]]=a);return t},{});return s},{});return s}t.exports=unpackFeature;t.exports["default"]=unpackFeature},84358:(t,s,i)=>{const r=i(52891).browsers;function unpackRegion(t){return Object.keys(t).reduce((s,i)=>{let a=t[i];s[r[i]]=Object.keys(a).reduce((t,s)=>{let i=a[s];if(s==="_"){i.split(" ").forEach(s=>t[s]=null)}else{t[s]=i}return t},{});return s},{})}t.exports=unpackRegion;t.exports["default"]=unpackRegion},35084:(t,s,i)=>{t.exports.versionGroups=i(41492)},25288:(t,s)=>{Object.defineProperty(s,"commentRegex",{get:function getCommentRegex(){return/^\s*?\/[\/\*][@#]\s+?sourceMappingURL=data:(((?:application|text)\/json)(?:;charset=([^;,]+?)?)?)?(?:;(base64))?,(.*?)$/gm}});Object.defineProperty(s,"mapFileCommentRegex",{get:function getMapFileCommentRegex(){return/(?:\/\/[@#][ \t]+?sourceMappingURL=([^\s'"`]+?)[ \t]*?$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^*]+?)[ \t]*?(?:\*\/){1}[ \t]*?$)/gm}});var i;if(typeof Buffer!=="undefined"){if(typeof Buffer.from==="function"){i=decodeBase64WithBufferFrom}else{i=decodeBase64WithNewBuffer}}else{i=decodeBase64WithAtob}function decodeBase64WithBufferFrom(t){return Buffer.from(t,"base64").toString()}function decodeBase64WithNewBuffer(t){if(typeof value==="number"){throw new TypeError("The value to decode must not be of type number.")}return new Buffer(t,"base64").toString()}function decodeBase64WithAtob(t){return decodeURIComponent(escape(atob(t)))}function stripComment(t){return t.split(",").pop()}function readFromFileMap(t,i){var r=s.mapFileCommentRegex.exec(t);var a=r[1]||r[2];try{var t=i(a);if(t!=null&&typeof t.catch==="function"){return t.catch(throwError)}else{return t}}catch(t){throwError(t)}function throwError(t){throw new Error("An error occurred while trying to read the map file at "+a+"\n"+t.stack)}}function Converter(t,s){s=s||{};if(s.hasComment){t=stripComment(t)}if(s.encoding==="base64"){t=i(t)}else if(s.encoding==="uri"){t=decodeURIComponent(t)}if(s.isJSON||s.encoding){t=JSON.parse(t)}this.sourcemap=t}Converter.prototype.toJSON=function(t){return JSON.stringify(this.sourcemap,null,t)};if(typeof Buffer!=="undefined"){if(typeof Buffer.from==="function"){Converter.prototype.toBase64=encodeBase64WithBufferFrom}else{Converter.prototype.toBase64=encodeBase64WithNewBuffer}}else{Converter.prototype.toBase64=encodeBase64WithBtoa}function encodeBase64WithBufferFrom(){var t=this.toJSON();return Buffer.from(t,"utf8").toString("base64")}function encodeBase64WithNewBuffer(){var t=this.toJSON();if(typeof t==="number"){throw new TypeError("The json to encode must not be of type number.")}return new Buffer(t,"utf8").toString("base64")}function encodeBase64WithBtoa(){var t=this.toJSON();return btoa(unescape(encodeURIComponent(t)))}Converter.prototype.toURI=function(){var t=this.toJSON();return encodeURIComponent(t)};Converter.prototype.toComment=function(t){var s,i,r;if(t!=null&&t.encoding==="uri"){s="";i=this.toURI()}else{s=";base64";i=this.toBase64()}r="sourceMappingURL=data:application/json;charset=utf-8"+s+","+i;return t!=null&&t.multiline?"/*# "+r+" */":"//# "+r};Converter.prototype.toObject=function(){return JSON.parse(this.toJSON())};Converter.prototype.addProperty=function(t,s){if(this.sourcemap.hasOwnProperty(t))throw new Error('property "'+t+'" already exists on the sourcemap, use set property instead');return this.setProperty(t,s)};Converter.prototype.setProperty=function(t,s){this.sourcemap[t]=s;return this};Converter.prototype.getProperty=function(t){return this.sourcemap[t]};s.fromObject=function(t){return new Converter(t)};s.fromJSON=function(t){return new Converter(t,{isJSON:true})};s.fromURI=function(t){return new Converter(t,{encoding:"uri"})};s.fromBase64=function(t){return new Converter(t,{encoding:"base64"})};s.fromComment=function(t){var i,r;t=t.replace(/^\/\*/g,"//").replace(/\*\/$/g,"");i=s.commentRegex.exec(t);r=i&&i[4]||"uri";return new Converter(t,{encoding:r,hasComment:true})};function makeConverter(t){return new Converter(t,{isJSON:true})}s.fromMapFileComment=function(t,s){if(typeof s==="string"){throw new Error("String directory paths are no longer supported with `fromMapFileComment`\n"+"Please review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading")}var i=readFromFileMap(t,s);if(i!=null&&typeof i.then==="function"){return i.then(makeConverter)}else{return makeConverter(i)}};s.fromSource=function(t){var i=t.match(s.commentRegex);return i?s.fromComment(i.pop()):null};s.fromMapFileSource=function(t,i){if(typeof i==="string"){throw new Error("String directory paths are no longer supported with `fromMapFileSource`\n"+"Please review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading")}var r=t.match(s.mapFileCommentRegex);return r?s.fromMapFileComment(r.pop(),i):null};s.removeComments=function(t){return t.replace(s.commentRegex,"")};s.removeMapFileComments=function(t){return t.replace(s.mapFileCommentRegex,"")};s.generateMapFileComment=function(t,s){var i="sourceMappingURL="+t;return s&&s.multiline?"/*# "+i+" */":"//# "+i}},69666:t=>{t.exports={"0.20":"39",.21:"41",.22:"41",.23:"41",.24:"41",.25:"42",.26:"42",.27:"43",.28:"43",.29:"43","0.30":"44",.31:"45",.32:"45",.33:"45",.34:"45",.35:"45",.36:"47",.37:"49","1.0":"49",1.1:"50",1.2:"51",1.3:"52",1.4:"53",1.5:"54",1.6:"56",1.7:"58",1.8:"59","2.0":"61",2.1:"61","3.0":"66",3.1:"66","4.0":"69",4.1:"69",4.2:"69","5.0":"73","6.0":"76",6.1:"76","7.0":"78",7.1:"78",7.2:"78",7.3:"78","8.0":"80",8.1:"80",8.2:"80",8.3:"80",8.4:"80",8.5:"80","9.0":"83",9.1:"83",9.2:"83",9.3:"83",9.4:"83","10.0":"85",10.1:"85",10.2:"85",10.3:"85",10.4:"85","11.0":"87",11.1:"87",11.2:"87",11.3:"87",11.4:"87",11.5:"87","12.0":"89",12.1:"89",12.2:"89","13.0":"91",13.1:"91",13.2:"91",13.3:"91",13.4:"91",13.5:"91",13.6:"91","14.0":"93",14.1:"93",14.2:"93","15.0":"94",15.1:"94",15.2:"94",15.3:"94",15.4:"94",15.5:"94","16.0":"96",16.1:"96",16.2:"96","17.0":"98",17.1:"98",17.2:"98",17.3:"98",17.4:"98","18.0":"100",18.1:"100",18.2:"100",18.3:"100","19.0":"102",19.1:"102","20.0":"104",20.1:"104",20.2:"104",20.3:"104","21.0":"106",21.1:"106",21.2:"106",21.3:"106",21.4:"106","22.0":"108",22.1:"108",22.2:"108",22.3:"108","23.0":"110",23.1:"110",23.2:"110",23.3:"110","24.0":"112",24.1:"112",24.2:"112",24.3:"112",24.4:"112",24.5:"112",24.6:"112",24.7:"112",24.8:"112","25.0":"114",25.1:"114",25.2:"114",25.3:"114",25.4:"114",25.5:"114",25.6:"114",25.7:"114",25.8:"114",25.9:"114","26.0":"116",26.1:"116",26.2:"116",26.3:"116",26.4:"116",26.5:"116",26.6:"116","27.0":"118",27.1:"118",27.2:"118",27.3:"118","28.0":"120",28.1:"120",28.2:"120",28.3:"120","29.0":"122",29.1:"122",29.2:"122",29.3:"122",29.4:"122","30.0":"124",30.1:"124",30.2:"124",30.3:"124",30.4:"124",30.5:"124","31.0":"126",31.1:"126",31.2:"126",31.3:"126",31.4:"126",31.5:"126",31.6:"126",31.7:"126","32.0":"128",32.1:"128",32.2:"128",32.3:"128","33.0":"130",33.1:"130",33.2:"130",33.3:"130",33.4:"130","34.0":"132",34.1:"132",34.2:"132",34.3:"132",34.4:"132",34.5:"132","35.0":"134",35.1:"134",35.2:"134",35.3:"134",35.4:"134",35.5:"134",35.6:"134",35.7:"134","36.0":"136",36.1:"136",36.2:"136",36.3:"136",36.4:"136",36.5:"136",36.6:"136",36.7:"136",36.8:"136",36.9:"136","37.0":"138",37.1:"138",37.2:"138",37.3:"138",37.4:"138",37.5:"138",37.6:"138",37.7:"138",37.8:"138",37.9:"138","37.10":"138","38.0":"140",38.1:"140",38.2:"140",38.3:"140",38.4:"140",38.5:"140",38.6:"140",38.7:"140",38.8:"140","39.0":"142",39.1:"142",39.2:"142",39.3:"142",39.4:"142",39.5:"142",39.6:"142",39.7:"142",39.8:"142","40.0":"144",40.1:"144",40.2:"144",40.3:"144",40.4:"144",40.5:"144",40.6:"144",40.7:"144",40.8:"144",40.9:"144","40.10":"144","41.0":"146",41.1:"146",41.2:"146",41.3:"146",41.4:"146",41.5:"146",41.6:"146",41.7:"146",41.8:"146",41.9:"146","41.10":"146","42.0":"148",42.1:"148",42.2:"148",42.3:"148",42.4:"148",42.5:"148",42.6:"148",42.7:"148",42.8:"148",42.9:"148","42.10":"148",42.11:"148","43.0":"150",43.1:"150",43.2:"150",43.3:"150",43.4:"150",43.5:"150",43.6:"150",43.7:"150","44.0":"152",44.1:"152",44.2:"152",44.3:"152",44.4:"152",44.5:"152",44.6:"152","45.0":"156"}},7469:t=>{t.exports=function(t){var s,i,r;var a=t||1;function keep(t,o){if(++s>a){r=i;reset(1);++s}i[t]=o}function reset(t){s=0;i=Object.create(null);t||(r=Object.create(null))}reset();return{clear:reset,has:function(t){return i[t]!==void 0||r[t]!==void 0},get:function(t){var s=i[t];if(s!==void 0)return s;if((s=r[t])!==void 0){keep(t,s);return s}},set:function(t,s){if(i[t]!==void 0){i[t]=s}else{keep(t,s)}}}}},9621:t=>{const s=Symbol.for("gensync:v1:start");const i=Symbol.for("gensync:v1:suspend");const r="GENSYNC_EXPECTED_START";const a="GENSYNC_EXPECTED_SUSPEND";const o="GENSYNC_OPTIONS_ERROR";const l="GENSYNC_RACE_NONEMPTY";const u="GENSYNC_ERRBACK_NO_CALLBACK";t.exports=Object.assign(function gensync(t){let s=t;if(typeof t!=="function"){s=newGenerator(t)}else{s=wrapGenerator(t)}return Object.assign(s,makeFunctionAPI(s))},{all:buildOperation({name:"all",arity:1,sync:function(t){const s=Array.from(t[0]);return s.map(t=>evaluateSync(t))},async:function(t,s,i){const r=Array.from(t[0]);if(r.length===0){Promise.resolve().then(()=>s([]));return}let a=0;const o=r.map(()=>undefined);r.forEach((t,r)=>{evaluateAsync(t,t=>{o[r]=t;a+=1;if(a===o.length)s(o)},i)})}}),race:buildOperation({name:"race",arity:1,sync:function(t){const s=Array.from(t[0]);if(s.length===0){throw makeError("Must race at least 1 item",l)}return evaluateSync(s[0])},async:function(t,s,i){const r=Array.from(t[0]);if(r.length===0){throw makeError("Must race at least 1 item",l)}for(const t of r){evaluateAsync(t,s,i)}}})});function makeFunctionAPI(t){const s={sync:function(...s){return evaluateSync(t.apply(this,s))},async:function(...s){return new Promise((i,r)=>{evaluateAsync(t.apply(this,s),i,r)})},errback:function(...s){const i=s.pop();if(typeof i!=="function"){throw makeError("Asynchronous function called without callback",u)}let r;try{r=t.apply(this,s)}catch(t){i(t);return}evaluateAsync(r,t=>i(undefined,t),t=>i(t))}};return s}function assertTypeof(t,s,i,r){if(typeof i===t||r&&typeof i==="undefined"){return}let a;if(r){a=`Expected opts.${s} to be either a ${t}, or undefined.`}else{a=`Expected opts.${s} to be a ${t}.`}throw makeError(a,o)}function makeError(t,s){return Object.assign(new Error(t),{code:s})}function newGenerator({name:t,arity:s,sync:i,async:r,errback:a}){assertTypeof("string","name",t,true);assertTypeof("number","arity",s,true);assertTypeof("function","sync",i);assertTypeof("function","async",r,true);assertTypeof("function","errback",a,true);if(r&&a){throw makeError("Expected one of either opts.async or opts.errback, but got _both_.",o)}if(typeof t!=="string"){let s;if(a&&a.name&&a.name!=="errback"){s=a.name}if(r&&r.name&&r.name!=="async"){s=r.name.replace(/Async$/,"")}if(i&&i.name&&i.name!=="sync"){s=i.name.replace(/Sync$/,"")}if(typeof s==="string"){t=s}}if(typeof s!=="number"){s=i.length}return buildOperation({name:t,arity:s,sync:function(t){return i.apply(this,t)},async:function(t,s,o){if(r){r.apply(this,t).then(s,o)}else if(a){a.call(this,...t,(t,i)=>{if(t==null)s(i);else o(t)})}else{s(i.apply(this,t))}}})}function wrapGenerator(t){return setFunctionMetadata(t.name,t.length,function(...s){return t.apply(this,s)})}function buildOperation({name:t,arity:r,sync:a,async:o}){return setFunctionMetadata(t,r,function*(...t){const r=yield s;if(!r){const s=a.call(this,t);return s}let l;try{o.call(this,t,t=>{if(l)return;l={value:t};r()},t=>{if(l)return;l={err:t};r()})}catch(t){l={err:t};r()}yield i;if(l.hasOwnProperty("err")){throw l.err}return l.value})}function evaluateSync(t){let s;while(!({value:s}=t.next()).done){assertStart(s,t)}return s}function evaluateAsync(t,s,i){(function step(){try{let i;while(!({value:i}=t.next()).done){assertStart(i,t);let s=true;let r=false;const a=t.next(()=>{if(s){r=true}else{step()}});s=false;assertSuspend(a,t);if(!r){return}}return s(i)}catch(t){return i(t)}})()}function assertStart(t,i){if(t===s)return;throwError(i,makeError(`Got unexpected yielded value in gensync generator: ${JSON.stringify(t)}. Did you perhaps mean to use 'yield*' instead of 'yield'?`,r))}function assertSuspend({value:t,done:s},r){if(!s&&t===i)return;throwError(r,makeError(s?"Unexpected generator completion. If you get this, it is probably a gensync bug.":`Expected GENSYNC_SUSPEND, got ${JSON.stringify(t)}. If you get this, it is probably a gensync bug.`,a))}function throwError(t,s){if(t.throw)t.throw(s);throw s}function isIterable(t){return!!t&&(typeof t==="object"||typeof t==="function")&&!t[Symbol.iterator]}function setFunctionMetadata(t,s,i){if(typeof t==="string"){const s=Object.getOwnPropertyDescriptor(i,"name");if(!s||s.configurable){Object.defineProperty(i,"name",Object.assign(s||{},{configurable:true,value:t}))}}if(typeof s==="number"){const t=Object.getOwnPropertyDescriptor(i,"length");if(!t||t.configurable){Object.defineProperty(i,"length",Object.assign(t||{},{configurable:true,value:s}))}}return i}},59376:t=>{const s={};const i=s.hasOwnProperty;const forOwn=(t,s)=>{for(const r in t){if(i.call(t,r)){s(r,t[r])}}};const extend=(t,s)=>{if(!s){return t}forOwn(s,(s,i)=>{t[s]=i});return t};const forEach=(t,s)=>{const i=t.length;let r=-1;while(++r<i){s(t[r])}};const fourHexEscape=t=>"\\u"+("0000"+t).slice(-4);const hexadecimal=(t,s)=>{let i=t.toString(16);if(s)return i;return i.toUpperCase()};const r=s.toString;const a=Array.isArray;const isBuffer=t=>typeof Buffer==="function"&&Buffer.isBuffer(t);const isObject=t=>r.call(t)=="[object Object]";const isString=t=>typeof t=="string"||r.call(t)=="[object String]";const isNumber=t=>typeof t=="number"||r.call(t)=="[object Number]";const isBigInt=t=>typeof t=="bigint";const isFunction=t=>typeof t=="function";const isMap=t=>r.call(t)=="[object Map]";const isSet=t=>r.call(t)=="[object Set]";const o={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"};const l=/[\\\b\f\n\r\t]/;const u=/[0-9]/;const p=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;const f=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g;const h=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g;const jsesc=(t,s)=>{const increaseIndentation=()=>{_=k;++s.indentLevel;k=s.indent.repeat(s.indentLevel)};const i={escapeEverything:false,minimal:false,isScriptContext:false,quotes:"single",wrap:false,es6:false,json:false,compact:true,lowercaseHex:false,numbers:"decimal",indent:"\t",indentLevel:0,__inline1__:false,__inline2__:false};const r=s&&s.json;if(r){i.quotes="double";i.wrap=true}s=extend(i,s);if(s.quotes!="single"&&s.quotes!="double"&&s.quotes!="backtick"){s.quotes="single"}const m=s.quotes=="double"?'"':s.quotes=="backtick"?"`":"'";const g=s.compact;const x=s.lowercaseHex;let k=s.indent.repeat(s.indentLevel);let _="";const T=s.__inline1__;const C=s.__inline2__;const A=g?"":"\n";let I;let P=true;const $=s.numbers=="binary";const O=s.numbers=="octal";const D=s.numbers=="decimal";const N=s.numbers=="hexadecimal";if(r&&t&&isFunction(t.toJSON)){t=t.toJSON()}if(!isString(t)){if(isMap(t)){if(t.size==0){return"new Map()"}if(!g){s.__inline1__=true;s.__inline2__=false}return"new Map("+jsesc(Array.from(t),s)+")"}if(isSet(t)){if(t.size==0){return"new Set()"}return"new Set("+jsesc(Array.from(t),s)+")"}if(isBuffer(t)){if(t.length==0){return"Buffer.from([])"}return"Buffer.from("+jsesc(Array.from(t),s)+")"}if(a(t)){I=[];s.wrap=true;if(T){s.__inline1__=false;s.__inline2__=true}if(!C){increaseIndentation()}forEach(t,t=>{P=false;if(C){s.__inline2__=false}I.push((g||C?"":k)+jsesc(t,s))});if(P){return"[]"}if(C){return"["+I.join(", ")+"]"}return"["+A+I.join(","+A)+A+(g?"":_)+"]"}else if(isNumber(t)||isBigInt(t)){if(r){return JSON.stringify(Number(t))}let s;if(D){s=String(t)}else if(N){let i=t.toString(16);if(!x){i=i.toUpperCase()}s="0x"+i}else if($){s="0b"+t.toString(2)}else if(O){s="0o"+t.toString(8)}if(isBigInt(t)){return s+"n"}return s}else if(isBigInt(t)){if(r){return JSON.stringify(Number(t))}return t+"n"}else if(!isObject(t)){if(r){return JSON.stringify(t)||"null"}return String(t)}else{I=[];s.wrap=true;increaseIndentation();forOwn(t,(t,i)=>{P=false;I.push((g?"":k)+jsesc(t,s)+":"+(g?"":" ")+jsesc(i,s))});if(P){return"{}"}return"{"+A+I.join(","+A)+A+(g?"":_)+"}"}}const j=s.escapeEverything?f:h;I=t.replace(j,(t,i,a,f,h,g)=>{if(i){if(s.minimal)return i;const t=i.charCodeAt(0);const r=i.charCodeAt(1);if(s.es6){const s=(t-55296)*1024+r-56320+65536;const i=hexadecimal(s,x);return"\\u{"+i+"}"}return fourHexEscape(hexadecimal(t,x))+fourHexEscape(hexadecimal(r,x))}if(a){return fourHexEscape(hexadecimal(a.charCodeAt(0),x))}if(t=="\0"&&!r&&!u.test(g.charAt(h+1))){return"\\0"}if(f){if(f==m||s.escapeEverything){return"\\"+f}return f}if(l.test(t)){return o[t]}if(s.minimal&&!p.test(t)){return t}const k=hexadecimal(t.charCodeAt(0),x);if(r||k.length>2){return fourHexEscape(k)}return"\\x"+("00"+k).slice(-2)});if(m=="`"){I=I.replace(/\$\{/g,"\\${")}if(s.isScriptContext){I=I.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,r?"\\u003C!--":"\\x3C!--")}if(s.wrap){I=m+I+m}return I};jsesc.version="3.0.2";t.exports=jsesc},84841:(t,s,i)=>{const r=i(55438);const a=i(91568);const o={parse:r,stringify:a};t.exports=o},55438:(t,s,i)=>{const r=i(37393);let a;let o;let l;let u;let p;let f;let h;let m;let g;t.exports=function parse(t,s){a=String(t);o="start";l=[];u=0;p=1;f=0;h=undefined;m=undefined;g=undefined;do{h=lex();I[o]()}while(h.type!=="eof");if(typeof s==="function"){return internalize({"":g},"",s)}return g};function internalize(t,s,i){const r=t[s];if(r!=null&&typeof r==="object"){if(Array.isArray(r)){for(let t=0;t<r.length;t++){const s=String(t);const a=internalize(r,s,i);if(a===undefined){delete r[s]}else{Object.defineProperty(r,s,{value:a,writable:true,enumerable:true,configurable:true})}}}else{for(const t in r){const s=internalize(r,t,i);if(s===undefined){delete r[t]}else{Object.defineProperty(r,t,{value:s,writable:true,enumerable:true,configurable:true})}}}}return i.call(t,s,r)}let x;let k;let _;let T;let C;function lex(){x="default";k="";_=false;T=1;for(;;){C=peek();const t=A[x]();if(t){return t}}}function peek(){if(a[u]){return String.fromCodePoint(a.codePointAt(u))}}function read(){const t=peek();if(t==="\n"){p++;f=0}else if(t){f+=t.length}else{f++}if(t){u+=t.length}return t}const A={default(){switch(C){case"\t":case"\v":case"\f":case" ":case" ":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":read();return;case"/":read();x="comment";return;case undefined:read();return newToken("eof")}if(r.isSpaceSeparator(C)){read();return}return A[o]()},comment(){switch(C){case"*":read();x="multiLineComment";return;case"/":read();x="singleLineComment";return}throw invalidChar(read())},multiLineComment(){switch(C){case"*":read();x="multiLineCommentAsterisk";return;case undefined:throw invalidChar(read())}read()},multiLineCommentAsterisk(){switch(C){case"*":read();return;case"/":read();x="default";return;case undefined:throw invalidChar(read())}read();x="multiLineComment"},singleLineComment(){switch(C){case"\n":case"\r":case"\u2028":case"\u2029":read();x="default";return;case undefined:read();return newToken("eof")}read()},value(){switch(C){case"{":case"[":return newToken("punctuator",read());case"n":read();literal("ull");return newToken("null",null);case"t":read();literal("rue");return newToken("boolean",true);case"f":read();literal("alse");return newToken("boolean",false);case"-":case"+":if(read()==="-"){T=-1}x="sign";return;case".":k=read();x="decimalPointLeading";return;case"0":k=read();x="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":k=read();x="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Infinity);case"N":read();literal("aN");return newToken("numeric",NaN);case'"':case"'":_=read()==='"';k="";x="string";return}throw invalidChar(read())},identifierNameStartEscape(){if(C!=="u"){throw invalidChar(read())}read();const t=unicodeEscape();switch(t){case"$":case"_":break;default:if(!r.isIdStartChar(t)){throw invalidIdentifier()}break}k+=t;x="identifierName"},identifierName(){switch(C){case"$":case"_":case"":case"":k+=read();return;case"\\":read();x="identifierNameEscape";return}if(r.isIdContinueChar(C)){k+=read();return}return newToken("identifier",k)},identifierNameEscape(){if(C!=="u"){throw invalidChar(read())}read();const t=unicodeEscape();switch(t){case"$":case"_":case"":case"":break;default:if(!r.isIdContinueChar(t)){throw invalidIdentifier()}break}k+=t;x="identifierName"},sign(){switch(C){case".":k=read();x="decimalPointLeading";return;case"0":k=read();x="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":k=read();x="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",T*Infinity);case"N":read();literal("aN");return newToken("numeric",NaN)}throw invalidChar(read())},zero(){switch(C){case".":k+=read();x="decimalPoint";return;case"e":case"E":k+=read();x="decimalExponent";return;case"x":case"X":k+=read();x="hexadecimal";return}return newToken("numeric",T*0)},decimalInteger(){switch(C){case".":k+=read();x="decimalPoint";return;case"e":case"E":k+=read();x="decimalExponent";return}if(r.isDigit(C)){k+=read();return}return newToken("numeric",T*Number(k))},decimalPointLeading(){if(r.isDigit(C)){k+=read();x="decimalFraction";return}throw invalidChar(read())},decimalPoint(){switch(C){case"e":case"E":k+=read();x="decimalExponent";return}if(r.isDigit(C)){k+=read();x="decimalFraction";return}return newToken("numeric",T*Number(k))},decimalFraction(){switch(C){case"e":case"E":k+=read();x="decimalExponent";return}if(r.isDigit(C)){k+=read();return}return newToken("numeric",T*Number(k))},decimalExponent(){switch(C){case"+":case"-":k+=read();x="decimalExponentSign";return}if(r.isDigit(C)){k+=read();x="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentSign(){if(r.isDigit(C)){k+=read();x="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentInteger(){if(r.isDigit(C)){k+=read();return}return newToken("numeric",T*Number(k))},hexadecimal(){if(r.isHexDigit(C)){k+=read();x="hexadecimalInteger";return}throw invalidChar(read())},hexadecimalInteger(){if(r.isHexDigit(C)){k+=read();return}return newToken("numeric",T*Number(k))},string(){switch(C){case"\\":read();k+=escape();return;case'"':if(_){read();return newToken("string",k)}k+=read();return;case"'":if(!_){read();return newToken("string",k)}k+=read();return;case"\n":case"\r":throw invalidChar(read());case"\u2028":case"\u2029":separatorChar(C);break;case undefined:throw invalidChar(read())}k+=read()},start(){switch(C){case"{":case"[":return newToken("punctuator",read())}x="value"},beforePropertyName(){switch(C){case"$":case"_":k=read();x="identifierName";return;case"\\":read();x="identifierNameStartEscape";return;case"}":return newToken("punctuator",read());case'"':case"'":_=read()==='"';x="string";return}if(r.isIdStartChar(C)){k+=read();x="identifierName";return}throw invalidChar(read())},afterPropertyName(){if(C===":"){return newToken("punctuator",read())}throw invalidChar(read())},beforePropertyValue(){x="value"},afterPropertyValue(){switch(C){case",":case"}":return newToken("punctuator",read())}throw invalidChar(read())},beforeArrayValue(){if(C==="]"){return newToken("punctuator",read())}x="value"},afterArrayValue(){switch(C){case",":case"]":return newToken("punctuator",read())}throw invalidChar(read())},end(){throw invalidChar(read())}};function newToken(t,s){return{type:t,value:s,line:p,column:f}}function literal(t){for(const s of t){const t=peek();if(t!==s){throw invalidChar(read())}read()}}function escape(){const t=peek();switch(t){case"b":read();return"\b";case"f":read();return"\f";case"n":read();return"\n";case"r":read();return"\r";case"t":read();return"\t";case"v":read();return"\v";case"0":read();if(r.isDigit(peek())){throw invalidChar(read())}return"\0";case"x":read();return hexEscape();case"u":read();return unicodeEscape();case"\n":case"\u2028":case"\u2029":read();return"";case"\r":read();if(peek()==="\n"){read()}return"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw invalidChar(read());case undefined:throw invalidChar(read())}return read()}function hexEscape(){let t="";let s=peek();if(!r.isHexDigit(s)){throw invalidChar(read())}t+=read();s=peek();if(!r.isHexDigit(s)){throw invalidChar(read())}t+=read();return String.fromCodePoint(parseInt(t,16))}function unicodeEscape(){let t="";let s=4;while(s-- >0){const s=peek();if(!r.isHexDigit(s)){throw invalidChar(read())}t+=read()}return String.fromCodePoint(parseInt(t,16))}const I={start(){if(h.type==="eof"){throw invalidEOF()}push()},beforePropertyName(){switch(h.type){case"identifier":case"string":m=h.value;o="afterPropertyName";return;case"punctuator":pop();return;case"eof":throw invalidEOF()}},afterPropertyName(){if(h.type==="eof"){throw invalidEOF()}o="beforePropertyValue"},beforePropertyValue(){if(h.type==="eof"){throw invalidEOF()}push()},beforeArrayValue(){if(h.type==="eof"){throw invalidEOF()}if(h.type==="punctuator"&&h.value==="]"){pop();return}push()},afterPropertyValue(){if(h.type==="eof"){throw invalidEOF()}switch(h.value){case",":o="beforePropertyName";return;case"}":pop()}},afterArrayValue(){if(h.type==="eof"){throw invalidEOF()}switch(h.value){case",":o="beforeArrayValue";return;case"]":pop()}},end(){}};function push(){let t;switch(h.type){case"punctuator":switch(h.value){case"{":t={};break;case"[":t=[];break}break;case"null":case"boolean":case"numeric":case"string":t=h.value;break}if(g===undefined){g=t}else{const s=l[l.length-1];if(Array.isArray(s)){s.push(t)}else{Object.defineProperty(s,m,{value:t,writable:true,enumerable:true,configurable:true})}}if(t!==null&&typeof t==="object"){l.push(t);if(Array.isArray(t)){o="beforeArrayValue"}else{o="beforePropertyName"}}else{const t=l[l.length-1];if(t==null){o="end"}else if(Array.isArray(t)){o="afterArrayValue"}else{o="afterPropertyValue"}}}function pop(){l.pop();const t=l[l.length-1];if(t==null){o="end"}else if(Array.isArray(t)){o="afterArrayValue"}else{o="afterPropertyValue"}}function invalidChar(t){if(t===undefined){return syntaxError(`JSON5: invalid end of input at ${p}:${f}`)}return syntaxError(`JSON5: invalid character '${formatChar(t)}' at ${p}:${f}`)}function invalidEOF(){return syntaxError(`JSON5: invalid end of input at ${p}:${f}`)}function invalidIdentifier(){f-=5;return syntaxError(`JSON5: invalid identifier character at ${p}:${f}`)}function separatorChar(t){console.warn(`JSON5: '${formatChar(t)}' in strings is not valid ECMAScript; consider escaping`)}function formatChar(t){const s={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(s[t]){return s[t]}if(t<" "){const s=t.charCodeAt(0).toString(16);return"\\x"+("00"+s).substring(s.length)}return t}function syntaxError(t){const s=new SyntaxError(t);s.lineNumber=p;s.columnNumber=f;return s}},91568:(t,s,i)=>{const r=i(37393);t.exports=function stringify(t,s,i){const a=[];let o="";let l;let u;let p="";let f;if(s!=null&&typeof s==="object"&&!Array.isArray(s)){i=s.space;f=s.quote;s=s.replacer}if(typeof s==="function"){u=s}else if(Array.isArray(s)){l=[];for(const t of s){let s;if(typeof t==="string"){s=t}else if(typeof t==="number"||t instanceof String||t instanceof Number){s=String(t)}if(s!==undefined&&l.indexOf(s)<0){l.push(s)}}}if(i instanceof Number){i=Number(i)}else if(i instanceof String){i=String(i)}if(typeof i==="number"){if(i>0){i=Math.min(10,Math.floor(i));p=" ".substr(0,i)}}else if(typeof i==="string"){p=i.substr(0,10)}return serializeProperty("",{"":t});function serializeProperty(t,s){let i=s[t];if(i!=null){if(typeof i.toJSON5==="function"){i=i.toJSON5(t)}else if(typeof i.toJSON==="function"){i=i.toJSON(t)}}if(u){i=u.call(s,t,i)}if(i instanceof Number){i=Number(i)}else if(i instanceof String){i=String(i)}else if(i instanceof Boolean){i=i.valueOf()}switch(i){case null:return"null";case true:return"true";case false:return"false"}if(typeof i==="string"){return quoteString(i,false)}if(typeof i==="number"){return String(i)}if(typeof i==="object"){return Array.isArray(i)?serializeArray(i):serializeObject(i)}return undefined}function quoteString(t){const s={"'":.1,'"':.2};const i={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};let a="";for(let o=0;o<t.length;o++){const l=t[o];switch(l){case"'":case'"':s[l]++;a+=l;continue;case"\0":if(r.isDigit(t[o+1])){a+="\\x00";continue}}if(i[l]){a+=i[l];continue}if(l<" "){let t=l.charCodeAt(0).toString(16);a+="\\x"+("00"+t).substring(t.length);continue}a+=l}const o=f||Object.keys(s).reduce((t,i)=>s[t]<s[i]?t:i);a=a.replace(new RegExp(o,"g"),i[o]);return o+a+o}function serializeObject(t){if(a.indexOf(t)>=0){throw TypeError("Converting circular structure to JSON5")}a.push(t);let s=o;o=o+p;let i=l||Object.keys(t);let r=[];for(const s of i){const i=serializeProperty(s,t);if(i!==undefined){let t=serializeKey(s)+":";if(p!==""){t+=" "}t+=i;r.push(t)}}let u;if(r.length===0){u="{}"}else{let t;if(p===""){t=r.join(",");u="{"+t+"}"}else{let i=",\n"+o;t=r.join(i);u="{\n"+o+t+",\n"+s+"}"}}a.pop();o=s;return u}function serializeKey(t){if(t.length===0){return quoteString(t,true)}const s=String.fromCodePoint(t.codePointAt(0));if(!r.isIdStartChar(s)){return quoteString(t,true)}for(let i=s.length;i<t.length;i++){if(!r.isIdContinueChar(String.fromCodePoint(t.codePointAt(i)))){return quoteString(t,true)}}return t}function serializeArray(t){if(a.indexOf(t)>=0){throw TypeError("Converting circular structure to JSON5")}a.push(t);let s=o;o=o+p;let i=[];for(let s=0;s<t.length;s++){const r=serializeProperty(String(s),t);i.push(r!==undefined?r:"null")}let r;if(i.length===0){r="[]"}else{if(p===""){let t=i.join(",");r="["+t+"]"}else{let t=",\n"+o;let a=i.join(t);r="[\n"+o+a+",\n"+s+"]"}}a.pop();o=s;return r}}},57414:t=>{t.exports.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;t.exports.ID_Start=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/;t.exports.ID_Continue=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},37393:(t,s,i)=>{const r=i(57414);t.exports={isSpaceSeparator(t){return typeof t==="string"&&r.Space_Separator.test(t)},isIdStartChar(t){return typeof t==="string"&&(t>="a"&&t<="z"||t>="A"&&t<="Z"||t==="$"||t==="_"||r.ID_Start.test(t))},isIdContinueChar(t){return typeof t==="string"&&(t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"||t==="$"||t==="_"||t===""||t===""||r.ID_Continue.test(t))},isDigit(t){return typeof t==="string"&&/[0-9]/.test(t)},isHexDigit(t){return typeof t==="string"&&/[0-9A-Fa-f]/.test(t)}}},64973:t=>{function webpackEmptyContext(t){var s=new Error("Cannot find module '"+t+"'");s.code="MODULE_NOT_FOUND";throw s}webpackEmptyContext.keys=()=>[];webpackEmptyContext.resolve=webpackEmptyContext;webpackEmptyContext.id=64973;t.exports=webpackEmptyContext},43089:(t,s,i)=>{t.exports=i.p+"37d64df006576248d0d8.json"},76982:s=>{s.exports=t(import.meta.url)("crypto")},79896:s=>{s.exports=t(import.meta.url)("fs")},34589:s=>{s.exports=t(import.meta.url)("node:assert")},31421:s=>{s.exports=t(import.meta.url)("node:child_process")},77598:s=>{s.exports=t(import.meta.url)("node:crypto")},40610:s=>{s.exports=t(import.meta.url)("node:dns")},73024:s=>{s.exports=t(import.meta.url)("node:fs")},51455:s=>{s.exports=t(import.meta.url)("node:fs/promises")},37067:s=>{s.exports=t(import.meta.url)("node:http")},98995:s=>{s.exports=t(import.meta.url)("node:module")},77030:s=>{s.exports=t(import.meta.url)("node:net")},48161:s=>{s.exports=t(import.meta.url)("node:os")},76760:s=>{s.exports=t(import.meta.url)("node:path")},80481:s=>{s.exports=t(import.meta.url)("node:readline")},80099:s=>{s.exports=t(import.meta.url)("node:sqlite")},73136:s=>{s.exports=t(import.meta.url)("node:url")},57975:s=>{s.exports=t(import.meta.url)("node:util")},78877:s=>{s.exports=t(import.meta.url)("node:v8")},30714:s=>{s.exports=t(import.meta.url)("node:vm")},75919:s=>{s.exports=t(import.meta.url)("node:worker_threads")},38522:s=>{s.exports=t(import.meta.url)("node:zlib")},16928:s=>{s.exports=t(import.meta.url)("path")},28167:s=>{s.exports=t(import.meta.url)("worker_threads")},57409:(t,s)=>{"function"==typeof SuppressedError&&SuppressedError;const n=(t,s)=>{if(t===s)return 0;const[i=0,r=0]=t.split(".",2).map(Number),[a=0,o=0]=s.split(".",2).map(Number);if(isNaN(i)||isNaN(r))throw new Error(`Invalid version: ${t}`);if(isNaN(a)||isNaN(o))throw new Error(`Invalid version: ${s}`);return i!==a?i>a?1:-1:r!==o?r>o?1:-1:0},i={c:{longName:"chrome"},ca:{longName:"chrome_android"},e:{longName:"edge"},f:{longName:"firefox"},fa:{longName:"firefox_android"},s:{longName:"safari"},si:{longName:"safari_ios"},o:{longName:"opera",engine:"Blink"},oa:{longName:"opera_android",engine:"Blink"},sa:{longName:"samsunginternet_android",engine:"Blink"},wva:{longName:"webview_android",engine:"Blink"},y:{longName:"ya_android",engine:"Blink"},u:{longName:"uc_android",engine:"Blink"},q:{longName:"qq_android",engine:"Blink"},k:{longName:"kai_os",engine:"Gecko"},fb:{longName:"facebook_android",engine:"Blink"},ia:{longName:"instagram_android",engine:"Blink"}},e=t=>6===t.length&&/^\d{6}$/.test(t)?`20${t.slice(0,2)}-${t.slice(2,4)}-${t.slice(4,6)}`:8===t.length&&/^\d{8}$/.test(t)?`${t.slice(0,4)}-${t.slice(4,6)}-${t.slice(6,8)}`:t,r={},a={};let o="",l=!1;"pre_baseline\nc,1,081211\nc,2,090521\nc,3,090915\nc,4,100125\nc,5,100525\nc,6,100902\nc,7,101019\nc,8,101202\nc,9,110203\nc,10,110308\nc,11,110427\nc,12,110607\nc,13,110802\nc,14,110916\nc,15,111025\nc,16,111213\nc,17,120208\nc,18,120328\nc,19,120515\nc,20,120626\nc,21,120731\nc,22,120925\nc,23,121106\nc,24,130110\nc,25,130221\nc,26,130326\nc,27,130521\nc,28,130709\nc,29,130820\nc,30,131001\nc,31,131112\nc,32,140114\nc,33,140220\nc,34,140408\nc,35,140520\nc,36,140716\nc,37,140826\nc,38,141007\nc,39,141118\nc,40,150121\nc,41,150303\nc,42,150414\nc,43,150519\nc,44,150721\nca,18,120627\nca,25,130227\nca,26,130403\nca,27,130522\nca,28,130710\nca,29,130821\nca,30,131002\nca,31,131114\nca,32,140115\nca,33,140226\nca,34,140402\nca,35,140520\nca,36,140716\nca,37,140903\nca,38,141008\nca,39,141112\nca,40,150121\nca,41,150311\nca,42,150415\nca,43,150527\nf,1,041109\nf,1.5,051129\nf,2,061024\nf,3,080617\nf,3.5,090630\nf,3.6,100121\nf,4,110322\nf,5,110621\nf,6,110816\nf,7,110927\nf,8,111108\nf,9,111220\nf,10,120131\nf,11,120313\nf,12,120424\nf,13,120605\nf,14,120717\nf,15,120828\nf,16,121009\nf,17,121120\nf,18,130108\nf,19,130219\nf,20,130402\nf,21,130514\nf,22,130625\nf,23,130806\nf,24,130917\nf,25,131029\nf,26,131210\nf,27,140204\nf,28,140318\nf,29,140429\nf,30,140610\nf,31,140722\nf,32,140902\nf,33,141014\nf,34,141201\nf,35,150113\nf,36,150224\nf,37,150331\nf,38,150512\nf,39,150702\nfa,4,110329\nfa,5,110621\nfa,6,110816\nfa,7,110927\nfa,8,111108\nfa,9,111221\nfa,10,120131\nfa,14,120626\nfa,15,120828\nfa,16,121009\nfa,17,121120\nfa,18,130108\nfa,19,130219\nfa,20,130402\nfa,21,130514\nfa,22,130625\nfa,23,130806\nfa,24,130917\nfa,25,131029\nfa,26,131210\nfa,27,140204\nfa,28,140318\nfa,29,140429\nfa,30,140610\nfa,31,140722\nfa,32,140902\nfa,33,141014\nfa,34,141201\nfa,35,150113\nfa,36,150227\nfa,37,150331\nfa,38,150512\nfa,39,150702\ns,1,030623\ns,1.1,031024\ns,1.2,040202\ns,1.3,050415\ns,2,050429\ns,3,071026\ns,3.1,080318\ns,4,090608\ns,5,100607\ns,5.1,110720\ns,6,120725\ns,7,131022\ns,8,141016\nsi,1,070629\nsi,2,080711\nsi,3,090617\nsi,3.2,100403\nsi,4,100621\nsi,4.2,101122\nsi,5,111012\nsi,6,120910\nsi,7,130918\nsi,8,140917\n20150729\nc,38,141007\nca,38,141008\ne,12,150729\nf,38,150512\nfa,38,150512\ns,8,141016\nsi,8,140917\no,25,141015,38\noa,25,141016,38\nsa,3.0,150410,38\nwva,38,141008,38\ny,14.12,u,38\nu,11.1,u,40\nq,8.1,u,57\nk,2.0,170701,48\nfb,66,u,48\nia,23,u,62\n20150916\nsi,9,150916\n20150922\nf,41,150922\nfa,41,150922\n20150930\nc,44,150721\nca,44,150729\ns,9,150930\no,31,150804,44\noa,32,150923,45\nsa,4.0,160311,44\nwva,44,150729,44\ny,15.9,u,44\nu,11.6,u,57\n20151112\ne,13,151112\n20151231\nc,44,150721\nca,44,150729\ne,13,151112\nf,41,150922\nfa,41,150922\ns,9,150930\nsi,9,150916\no,31,150804,44\noa,32,150923,45\nsa,4.0,160311,44\nwva,44,150729,44\ny,15.9,u,44\nu,11.6,u,57\nq,8.1,u,57\nk,2.0,170701,48\nfb,66,u,48\nia,23,u,62\n20160308\nf,45,160308\nfa,45,160308\n20160321\ns,9.1,160321\nsi,9.3,160321\n20160607\nf,47,160607\nfa,47,160607\n20160802\ne,14,160802\n20160907\nc,53,160831\nca,53,160907\no,40,160920,53\noa,41,161025,54\nsa,6.0,170823,56\nwva,53,160907,53\ny,16.10,u,53\nfb,95,u,53\n20160920\nf,49,160920\nfa,49,160920\ns,10,160920\nsi,10,160913\nk,3.0,210901,84\n20161231\nc,53,160831\nca,53,160907\ne,14,160802\nf,49,160920\nfa,49,160920\ns,10,160920\nsi,10,160913\no,40,160920,53\noa,41,161025,54\nsa,6.0,170823,56\nwva,53,160907,53\ny,16.10,u,53\nu,11.6,u,57\nq,8.1,u,57\nk,3.0,210901,84\nfb,95,u,53\nia,23,u,62\n20170201\nc,56,170125\nca,56,170201\nf,50,161115\nfa,50,161115\no,43,170207,56\noa,43,170927,59\nwva,56,170201,56\ny,17.3,u,56\nfb,112,u,56\n20170307\nf,52,170307\nfa,52,170307\n20170316\nca,57,170316\n20170327\ns,10.1,170327\nsi,10.3,170327\n20170405\nc,57,170309\ne,15,170405\no,44,170321,57\nsa,7.0,180316,59\nwva,57,170316,57\ny,17.4,u,57\nfb,117,u,57\n20170419\nf,53,170419\nfa,53,170419\n20170919\ns,11,170919\nsi,11,170919\n20170928\nfa,56,170928\n20171017\ne,16,171017\n20171024\nc,62,171017\nca,62,171024\no,49,171108,62\noa,46,180514,63\nsa,8.0,180718,63\nwva,62,171024,62\ny,17.11,u,62\nu,13.3,200909,78\nq,9.6,u,66\nfb,149,u,62\n20171128\nfa,57,171128\n20171231\nc,62,171017\nca,62,171024\ne,16,171017\nf,53,170419\nfa,57,171128\ns,11,170919\nsi,11,170919\no,49,171108,62\noa,46,180514,63\nsa,8.0,180718,63\nwva,62,171024,62\ny,17.11,u,62\nu,13.3,200909,78\nq,9.6,u,66\nk,3.0,210901,84\nfb,149,u,62\nia,23,u,62\n20180412\ns,11.1,180412\nsi,11.3,180329\n20180430\ne,17,180430\n20180509\nc,66,180417\nca,66,180417\nf,60,180509\nfa,60,180509\no,53,180510,66\noa,47,180723,66\nsa,9.0,180915,67\nwva,66,180417,66\ny,18.6,u,66\nfb,169,u,66\nia,42,u,66\n20180905\nf,62,180905\nfa,62,180905\n20181002\ne,18,181002\n20181023\nf,63,181023\nfa,63,181023\n20181211\nf,64,181211\nfa,64,181211\n20181231\nc,66,180417\nca,66,180417\ne,18,181002\nf,64,181211\nfa,64,181211\ns,11.1,180412\nsi,11.3,180329\no,53,180510,66\noa,47,180723,66\nsa,9.0,180915,67\nwva,66,180417,66\ny,18.6,u,66\nu,13.3,200909,78\nq,9.6,u,66\nk,3.0,210901,84\nfb,169,u,66\nia,42,u,66\n20190129\nf,65,190129\nfa,65,190129\n20190325\ns,12.1,190325\nsi,12.2,190325\n20190919\ns,13,190919\nsi,13,190919\n20191231\nc,66,180417\nca,66,180417\ne,18,181002\nf,65,190129\nfa,65,190129\ns,13,190919\nsi,13,190919\no,53,180510,66\noa,47,180723,66\nsa,9.0,180915,67\nwva,66,180417,66\ny,18.6,u,66\nu,13.3,200909,78\nq,9.6,u,66\nk,3.0,210901,84\nfb,169,u,66\nia,42,u,66\n20200115\nc,76,190730\nca,76,190730\ne,79,200115\nf,68,190709\nfa,68,190709\no,63,190820,76\noa,54,191018,76\nsa,12.0,200619,79\nwva,76,190730,76\ny,19.9,u,76\nq,10.9,201122,77\nfb,233,u,76\nia,96,u,80\n20200204\nc,80,200204\nca,80,200204\no,67,200303,80\noa,57,200330,80\nsa,13.0,201202,83\nwva,80,200204,80\ny,20.3,u,80\nu,15.3,230317,100\nq,11.7,211102,89\nfb,256,u,80\n20200207\ne,80,200207\n20200324\ns,13.1,200324\nsi,13.4,200324\n20200413\nc,81,200407\nca,81,200407\ne,81,200413\no,68,200422,81\noa,58,200513,81\nwva,81,200407,81\ny,20.4,u,81\nfb,266,u,81\nia,137,u,81\n20200727\nc,84,200727\nca,84,200727\ne,84,200716\no,70,200727,84\noa,60,200923,85\nsa,14.0,210417,87\nwva,84,200727,84\ny,20.8,200902,84\nfb,297,201202,86\nia,153,u,84\n20200728\nf,78,200630\nfa,79,200728\n20200827\nc,85,200825\nca,85,200825\ne,85,200827\no,71,200915,85\nwva,85,200825,85\ny,20.9,200927,85\nia,163,u,92\n20200916\nf,79,200728\ns,14,200916\nsi,14,200916\n20201020\nc,86,201020\nca,86,201020\ne,86,201009\no,72,201021,86\noa,61,201207,86\nwva,86,201020,86\ny,20.11,201111,86\n20201117\nf,83,201117\nfa,83,201117\n20201119\nc,87,201117\nca,87,201117\ne,87,201119\no,73,201209,87\noa,62,210216,87\nwva,87,201117,87\ny,20.12,201220,87\nfb,348,211219,96\n20201231\nc,87,201117\nca,87,201117\ne,87,201119\nf,83,201117\nfa,83,201117\ns,14,200916\nsi,14,200916\no,73,201209,87\noa,62,210216,87\nsa,14.0,210417,87\nwva,87,201117,87\ny,20.12,201220,87\nu,15.3,230317,100\nq,11.7,211102,89\nk,3.0,210901,84\nfb,348,211219,96\nia,163,u,92\n20210121\nc,88,210119\nca,88,210119\ne,88,210121\nf,84,201215\nfa,84,201215\no,74,210202,88\noa,63,210416,89\nsa,15.0,210813,90\nwva,88,210119,88\ny,21.1,211231,88\n20210126\nf,85,210126\nfa,85,210126\nk,4.0,250501,123\n20210426\nc,89,210302\nca,89,210302\ne,89,210304\nf,86,210223\nfa,86,210223\ns,14.1,210426\nsi,14.5,210426\no,75,210324,89\nwva,89,210302,89\ny,21.3,210404,89\n20210810\nf,91,210810\nfa,91,210810\n20210902\ne,93,210902\n20210907\nf,92,210907\nfa,92,210907\n20210920\nc,93,210831\nca,93,210831\ns,15,210920\nsi,15,210920\no,79,210914,93\noa,66,211215,94\nsa,17.0,220504,96\nwva,93,210831,93\ny,21.9,210929,93\nq,13.4,230426,98\nia,258,221104,106\n20211005\nf,93,211005\nfa,93,211005\n20211025\ns,15.1,211025\nsi,15.1,211025\n20211102\nf,94,211102\nfa,94,211102\n20211119\nc,96,211115\nca,96,211115\ne,96,211119\no,82,211202,96\noa,67,220131,96\nwva,96,211115,96\ny,22.1,211231,96\n20211207\nf,95,211207\n20211213\ns,15.2,211213\nsi,15.2,211213\n20211231\nc,96,211115\nca,96,211115\ne,96,211119\nf,95,211207\nfa,94,211102\ns,15.2,211213\nsi,15.2,211213\no,82,211202,96\noa,67,220131,96\nsa,17.0,220504,96\nwva,96,211115,96\ny,22.1,211231,96\nu,15.3,230317,100\nq,13.4,230426,98\nk,4.0,250501,123\nfb,348,211219,96\nia,258,221104,106\n20220106\nc,97,220104\nca,97,220104\ne,97,220106\no,83,220119,97\noa,68,220330,99\nsa,18.0,220808,99\nwva,97,220104,97\ny,22.3,220325,98\nfb,399,230204,109\n20220203\nc,98,220201\nca,98,220201\ne,98,220203\nf,96,220111\nfa,96,220111\no,84,220216,98\nwva,98,220201,98\n20220303\nc,99,220301\nca,99,220301\ne,99,220303\no,85,220323,99\nwva,99,220301,99\ny,22.5,220520,100\nq,14.2,231014,109\n20220314\nf,98,220308\nfa,98,220308\ns,15.4,220314\nsi,15.4,220314\n20220428\nc,101,220426\nca,101,220426\ne,101,220428\no,87,220517,101\noa,70,220629,102\nsa,19.0,221101,102\nwva,101,220426,101\ny,22.7,220707,102\nu,17.6,250515,123\n20220503\nf,100,220503\nfa,100,220503\n20220531\nf,101,220531\nfa,101,220531\n20220628\nf,102,220628\nfa,102,220628\n20220726\nf,103,220726\nfa,103,220726\n20220805\nc,104,220802\nca,104,220802\ne,104,220805\no,90,220818,104\noa,71,220916,104\nsa,20.0,230210,106\nwva,104,220802,104\ny,22.8,u,104\n20220823\nf,104,220823\nfa,104,220823\n20220902\nc,105,220902\nca,105,220902\ne,105,220901\ns,15.6,220720\nsi,15.6,220720\no,91,220914,105\noa,72,221021,106\nwva,105,220902,105\ny,22.11,221111,106\n20220912\ns,16,220912\nsi,16,220912\n20221003\nc,106,220927\nca,106,220927\ne,106,221003\no,92,221019,106\nwva,106,220927,106\n20221027\nc,107,221025\nca,107,221025\ne,107,221027\no,93,221117,107\noa,73,230117,108\nsa,21.0,230519,110\nwva,107,221025,107\ny,23.1,230110,108\nia,279,231231,109\n20221115\nf,107,221115\nfa,107,221115\n20221205\nc,108,221129\nca,108,221129\ne,108,221205\no,94,221215,108\nwva,108,221129,108\n20221213\nf,108,221213\nfa,108,221213\n20221231\nc,108,221129\nca,108,221129\ne,108,221205\nf,108,221213\nfa,108,221213\ns,16,220912\nsi,16,220912\no,94,221215,108\noa,73,230117,108\nsa,21.0,230519,110\nwva,108,221129,108\ny,23.1,230110,108\nu,17.6,250515,123\nq,14.2,231014,109\nk,4.0,250501,123\nfb,399,230204,109\nia,279,231231,109\n20230112\nc,109,230110\nca,109,230110\ne,109,230112\no,95,230201,109\noa,74,230313,110\nwva,109,230110,109\ny,23.3,230326,110\n20230214\nf,110,230214\nfa,110,230214\n20230313\nc,111,230307\nca,111,230307\ne,111,230313\no,97,230322,111\noa,75,230517,112\nsa,22.0,230714,111\nwva,111,230301,111\ny,23.5,230519,112\nq,19.1,250708,121\nfb,420,230628,114\nia,288,u,114\n20230314\nf,111,230314\nfa,111,230314\n20230327\ns,16.4,230327\nsi,16.4,230327\n20230411\nf,112,230411\nfa,112,230411\n20230509\nf,113,230509\nfa,113,230509\n20230606\nf,114,230606\nfa,114,230606\n20230704\nc,112,230404\nca,112,230404\ne,112,230406\nf,115,230704\nfa,115,230704\no,98,230420,112\nsa,23.0,231018,115\nwva,112,230404,112\n20230721\nc,115,230718\nca,115,230721\ne,115,230721\no,101,230726,115\noa,77,230831,115\nwva,115,230721,115\ny,23.9,230913,116\nfb,430,230903,116\nia,292,u,115\n20230801\nf,116,230801\nfa,116,230801\n20230915\nc,117,230912\nca,117,230912\ne,117,230915\no,103,231003,117\noa,78,231023,117\nsa,24.0,240125,117\nwva,117,230912,117\ny,23.11,231115,118\nfb,434,231005,117\nia,302,u,117\n20230918\ns,17,230918\nsi,17,230918\n20231013\nc,118,231010\nca,118,231010\ne,118,231013\nf,118,230926\nfa,118,230926\no,104,231023,118\noa,79,231206,119\nsa,25.0,240424,121\nwva,118,231010,118\nfb,437,u,118\nia,306,240117,118\n20231024\nf,119,231024\nfa,119,231024\n20231102\nc,119,231031\nca,119,231031\ne,119,231102\no,105,231114,119\nwva,119,231031,119\ny,24.1,240118,120\nfb,439,231111,119\nia,309,u,119\n20231121\nf,120,231121\nfa,120,231121\n20231205\nca,120,231205\n20231207\nc,120,231205\ne,120,231207\no,106,231219,120\noa,80,240125,120\nwva,120,231205,120\nfb,443,231207,120\nia,311,u,120\n20231211\ns,17.2,231211\nsi,17.2,231211\n20231219\nf,121,231219\nfa,121,231219\n20231231\nc,120,231205\nca,120,231205\ne,120,231207\nf,121,231219\nfa,121,231219\ns,17.2,231211\nsi,17.2,231211\no,106,231219,120\noa,80,240125,120\nsa,25.0,240424,121\nwva,120,231205,120\ny,24.1,240118,120\nu,17.6,250515,123\nq,19.1,250708,121\nk,4.0,250501,123\nfb,443,231207,120\nia,311,u,120\n20240123\nf,122,240123\nfa,122,240123\n20240125\nc,121,240123\nca,121,240123\ne,121,240125\no,107,240207,121\noa,81,240314,122\nwva,121,240123,121\ny,24.4,240327,122\nfb,448,240129,121\nia,317,240203,121\n20240220\nf,123,240220\nfa,123,240220\n20240305\ns,17.4,240305\nsi,17.4,240305\n20240319\nf,124,240319\nfa,124,240319\n20240322\nc,123,240319\nca,123,240319\ne,123,240322\no,109,240327,123\noa,82,240502,124\nsa,27.0,241106,125\nwva,123,240319,123\ny,24.6,240604,124\nfb,465,240707,126\nia,338,240706,126\n20240416\nf,125,240416\nfa,125,240416\n20240418\nc,124,240416\nca,124,240416\ne,124,240418\no,110,240514,124\nwva,124,240416,124\n20240513\ns,17.5,240513\nsi,17.5,240513\n20240514\nf,126,240514\nfa,126,240514\n20240517\nc,125,240514\nca,125,240514\ne,125,240517\no,111,240612,125\noa,83,240625,126\nwva,125,240514,125\ny,24.7,240718,126\n20240611\nf,127,240611\nfa,127,240611\n20240709\nf,128,240709\nfa,128,240709\n20240725\nc,127,240723\nca,127,240723\ne,127,240725\no,113,240822,127\noa,84,240826,127\nsa,28.0,250402,130\nwva,127,240723,127\ny,24.10,241011,128\nfb,474,240730,127\nia,346,240901,127\n20240806\nf,129,240806\nfa,129,240806\n20240903\nf,130,240903\nfa,130,240903\n20240916\ns,18,240916\nsi,18,240916\n20241001\nf,131,241001\nfa,131,241001\n20241017\nc,130,241015\nca,130,241015\ne,130,241017\no,115,241127,130\noa,86,241202,130\nwva,130,241015,130\ny,24.12,241130,130\nfb,486,241018,130\nia,355,241106,130\n20241029\nf,132,241029\nfa,132,241029\n20241211\ns,18.2,241211\nsi,18.2,241211\n20241231\nc,130,241015\nca,130,241015\ne,130,241017\nf,132,241029\nfa,132,241029\ns,18.2,241211\nsi,18.2,241211\no,115,241127,130\noa,86,241202,130\nsa,28.0,250402,130\nwva,130,241015,130\ny,24.12,241130,130\nfb,486,241018,130\nia,355,241106,130\n20250107\nf,134,250107\nfa,134,250107\n20250127\nsi,18.3,250127\n20250304\nf,136,250304\nfa,136,250304\n20250331\ns,18.4,250331\nsi,18.4,250331\n20250401\nc,133,250204\nca,133,250204\ne,133,250206\nf,137,250401\nfa,137,250401\no,118,250415,133\noa,88,250319,134\nsa,29.0,251025,136\nwva,133,250204,133\ny,25.4,250423,134\nfb,503,250312,134\nia,378,250503,135\n20250404\nc,135,250401\nca,135,250401\ne,135,250404\no,120,250702,135\noa,89,250429,135\nwva,135,250401,135\ny,25.6,250904,136\nfb,514,250528,136\n20250429\nf,138,250429\nfa,138,250429\n20250501\nc,136,250429\nca,136,250429\ne,136,250501\no,121,250827,137\noa,90,250618,137\nwva,136,250429,136\nia,381,250619,137\n20250512\nsi,18.5,250512\n20250527\nf,139,250527\nfa,139,250527\n20250529\nc,137,250527\nca,137,250527\ne,137,250529\nsa,30.0,260511,143\nwva,137,250527,137\ny,25.8,250830,138\nfb,515,250531,137\n20250626\nc,138,250624\nca,138,250624\ne,138,250626\no,122,250911,138\noa,91,250819,139\nwva,138,250624,138\nia,390,250726,138\n20250819\nf,142,250819\nfa,142,250819\n20250905\nc,140,250902\nca,140,250902\ne,140,250905\no,124,251113,140\noa,92,251008,140\nwva,140,250902,140\ny,25.10,251009,140\nia,399,250928,140\n20250915\ns,26,250915\nsi,26,250915\n20250916\nf,143,250916\nfa,143,250916\n20251003\nc,141,250930\nca,141,250930\ne,141,251003\no,125,251204,141\noa,93,251125,142\nwva,141,250930,141\ny,25.12,251207,142\nia,400,251006,141\n20251014\nf,144,251014\nfa,144,251014\n20251111\nf,145,251111\nfa,145,251111\n20251212\ns,26.2,251212\nsi,26.2,251212\n20251231\nc,141,250930\nca,141,250930\ne,141,251003\nf,145,251111\nfa,145,251111\ns,26.2,251212\nsi,26.2,251212\no,125,251204,141\noa,93,251125,142\nsa,30.0,260511,143\nwva,141,250930,141\ny,25.12,251207,142\nia,400,251006,141\n20260113\nf,147,260113\nfa,147,260113\n20260211\ns,26.3,260211\nsi,26.3,260211\n20260214\nc,145,260210\nca,145,260210\ne,145,260214\no,129,260318,145\noa,96,260310,145\nwva,145,260210,145\ny,26.4,260425,146\nia,423,260405,146\n20260224\nf,148,260224\nfa,148,260224\n20260313\nc,146,260310\nca,146,260310\ne,146,260313\no,130,260408,146\noa,97,260416,146\nwva,146,260310,146\n20260324\nf,149,260324\nfa,149,260324\ns,26.4,260324\nsi,26.4,260324\n20260410\nc,147,260407\nca,147,260407\ne,147,260410\no,131,260429,147\noa,98,260505,147\nwva,147,260407,147\ny,26.6,260608,148\nia,430,260530,148\n20260505\nca,148,260505\n20260507\nc,148,260505\ne,148,260507\no,132,260528,148\noa,99,260610,148\nwva,148,260505,148\n20260511\ns,26.5,260511\nsi,26.5,260511\n20260519\nf,151,260519\nfa,151,260519\n20260616\nf,152,260616\nfa,152,260616\n20260721\nf,153,260721\nfa,153,260721\n20260818\nf,154,260818\nfa,154,260818\n20260901\nf,155,260901\nfa,155,260901\n20260911\nc,153,260908\nca,153,260908\ne,153,260911\no,137,u,153\nwva,153,260908,153\nia,446,260912,153\n20260914\ns,27,260914\nsi,27,260914\nreleases\nc,45,150901\nc,46,151013\nc,47,151201\nc,48,160120\nc,49,160302\nc,50,160413\nc,51,160525\nc,52,160720\nc,54,161012\nc,55,161201\nc,58,170419\nc,59,170605\nc,60,170725\nc,61,170905\nc,63,171206\nc,64,180123\nc,65,180306\nc,67,180529\nc,68,180724\nc,69,180904\nc,70,181016\nc,71,181204\nc,72,190129\nc,73,190312\nc,74,190423\nc,75,190604\nc,77,190910\nc,78,191022\nc,79,191210\nc,83,200519\nc,90,210413\nc,91,210525\nc,92,210720\nc,94,210921\nc,95,211019\nc,100,220329\nc,102,220524\nc,103,220621\nc,110,230207\nc,113,230502\nc,114,230530\nc,116,230815\nc,122,240220\nc,126,240611\nc,128,240820\nc,129,240917\nc,131,241112\nc,132,250114\nc,134,250304\nc,139,250805\nc,142,251028\nc,143,251202\nc,144,260113\nc,149,260602\nc,150,260630\nc,151,260728\nc,152,260825\nc,154,260922\nc,155,261006\nc,156,261020\nca,45,150901\nca,46,151014\nca,47,151202\nca,48,160126\nca,49,160309\nca,50,160413\nca,51,160608\nca,52,160727\nca,54,161019\nca,55,161206\nca,58,170425\nca,59,170606\nca,60,170801\nca,61,170905\nca,63,171205\nca,64,180123\nca,65,180306\nca,67,180531\nca,68,180724\nca,69,180904\nca,70,181017\nca,71,181204\nca,72,190129\nca,73,190312\nca,74,190424\nca,75,190604\nca,77,190910\nca,78,191022\nca,79,191217\nca,83,200519\nca,90,210413\nca,91,210525\nca,92,210720\nca,94,210921\nca,95,211019\nca,100,220329\nca,102,220524\nca,103,220621\nca,110,230207\nca,113,230502\nca,114,230530\nca,116,230815\nca,122,240220\nca,126,240611\nca,128,240820\nca,129,240917\nca,131,241112\nca,132,250114\nca,134,250304\nca,139,250805\nca,142,251028\nca,143,251202\nca,144,260113\nca,149,260602\nca,150,260630\nca,151,260728\nca,152,260825\nca,154,260922\nca,155,261006\nca,156,261020\ne,83,200521\ne,90,210415\ne,91,210527\ne,92,210722\ne,94,210924\ne,95,211021\ne,100,220401\ne,102,220531\ne,103,220623\ne,110,230209\ne,113,230505\ne,114,230602\ne,116,230821\ne,122,240223\ne,126,240613\ne,128,240822\ne,129,240919\ne,131,241114\ne,132,250117\ne,134,250306\ne,139,250807\ne,142,251031\ne,143,251205\ne,144,260121\ne,149,260604\ne,150,260702\ne,151,260731\ne,152,260828\ne,154,260924\ne,155,261008\ne,156,261022\nf,40,150811\nf,42,151103\nf,43,151215\nf,44,160126\nf,46,160426\nf,48,160802\nf,51,170124\nf,54,170613\nf,55,170808\nf,56,170928\nf,57,171114\nf,58,180123\nf,59,180313\nf,61,180626\nf,66,190319\nf,67,190521\nf,69,190903\nf,70,191022\nf,71,191210\nf,72,200107\nf,73,200211\nf,74,200310\nf,75,200407\nf,76,200505\nf,77,200602\nf,80,200825\nf,81,200922\nf,82,201020\nf,87,210323\nf,88,210419\nf,89,210601\nf,90,210713\nf,97,220208\nf,99,220405\nf,105,220920\nf,106,221018\nf,109,230117\nf,117,230829\nf,133,241126\nf,135,250204\nf,140,250624\nf,141,250722\nf,146,251209\nf,150,260421\nf,156,260915\nf,157,260929\nf,158,261013\nf,159,261027\nfa,40,150811\nfa,42,151103\nfa,43,151215\nfa,44,160126\nfa,46,160426\nfa,48,160802\nfa,51,170124\nfa,54,170613\nfa,55,170808\nfa,58,180122\nfa,59,180313\nfa,61,180626\nfa,66,190319\nfa,67,190521\nfa,80,200831\nfa,81,200922\nfa,82,201020\nfa,87,210323\nfa,88,210419\nfa,89,210601\nfa,90,210713\nfa,95,211207\nfa,97,220208\nfa,99,220405\nfa,105,220920\nfa,106,221018\nfa,109,230117\nfa,117,230829\nfa,133,241126\nfa,135,250204\nfa,140,250624\nfa,141,250722\nfa,146,251209\nfa,150,260421\nfa,156,260915\nfa,157,260929\nfa,158,261013\nfa,159,261027\ns,12,180917\ns,15.3,220126\ns,15.5,220516\ns,16.1,221024\ns,16.2,221213\ns,16.3,230123\ns,16.5,230518\ns,16.6,230724\ns,17.1,231025\ns,17.3,240122\ns,17.6,240729\ns,18.1,241028\ns,18.3,250127\ns,18.5,250512\ns,18.6,250729\ns,26.1,251103\ns,26.6,260727\ns,27.2,u\nsi,12,180917\nsi,15.3,220126\nsi,15.5,220516\nsi,16.1,221024\nsi,16.2,221213\nsi,16.3,230123\nsi,16.5,230518\nsi,16.6,230724\nsi,17.1,231025\nsi,17.3,240122\nsi,17.6,240729\nsi,18.1,241028\nsi,18.6,250729\nsi,26.1,251103\nsi,26.6,260727\nsi,27.2,u\no,15,130702,28\no,16,130827,29\no,17,131008,30\no,18,131119,31\no,19,140128,32\no,20,140304,33\no,21,140506,34\no,22,140603,35\no,23,140722,36\no,24,140902,37\no,26,141203,39\no,27,150127,40\no,28,150310,41\no,29,150428,42\no,30,150609,43\no,32,150915,45\no,33,151027,46\no,34,151208,47\no,35,160202,48\no,36,160315,49\no,37,160504,50\no,38,160608,51\no,39,160802,52\no,41,161025,54\no,42,161213,55\no,45,170510,58\no,46,170622,59\no,47,170809,60\no,48,170927,61\no,50,180104,63\no,51,180207,64\no,52,180322,65\no,54,180628,67\no,55,180816,68\no,56,180925,69\no,57,181128,70\no,58,190123,71\no,60,190409,73\no,62,190627,75\no,64,191007,77\no,65,191113,78\no,66,200107,79\no,69,200624,83\no,76,210428,90\no,77,210609,91\no,78,210803,92\no,80,211005,94\no,81,211104,95\no,86,220420,100\no,88,220608,102\no,89,220707,103\no,96,230222,110\no,99,230516,113\no,100,230629,114\no,102,230823,116\no,108,240305,122\no,112,240711,126\no,114,240925,128\no,116,250108,131\no,117,250213,132\no,119,250513,134\no,123,251028,139\no,126,260108,142\no,127,260202,143\no,128,260226,144\no,133,260629,149\no,134,260806,150\no,135,260820,151\no,136,260917,152\no,138,u,154\noa,15,130708,28\noa,16,130918,29\noa,18,131120,31\noa,19,140128,32\noa,20,140306,33\noa,21,140422,34\noa,22,140617,35\noa,24,140910,37\noa,26,141202,39\noa,27,150129,40\noa,28,150310,41\noa,29,150428,42\noa,30,150610,43\noa,33,151103,46\noa,34,151216,47\noa,35,160204,48\noa,36,160331,49\noa,37,160616,50\noa,42,170121,55\noa,44,171211,60\noa,45,180215,61\noa,48,181108,69\noa,49,181207,70\noa,50,190218,71\noa,51,190321,72\noa,52,190517,73\noa,53,190711,74\noa,55,191203,77\noa,56,200206,78\noa,59,200630,83\noa,64,210525,91\noa,65,211020,92\noa,69,220509,100\noa,76,230626,114\noa,85,241029,128\noa,87,250122,132\noa,94,260113,143\noa,95,260211,144\noa,100,260701,149\noa,101,260826,151\noa,102,260923,152\nsa,1.5,130925,28\nsa,1.6,140411,28\nsa,2.0,141017,34\nsa,2.1,150107,34\nsa,3.2,150824,38\nsa,4.2,160802,44\nsa,5.0,161215,51\nsa,5.2,170421,51\nsa,5.4,170517,51\nsa,6.2,171026,56\nsa,6.4,180219,56\nsa,7.2,180620,59\nsa,7.4,180912,59\nsa,8.2,181221,63\nsa,9.2,190402,67\nsa,9.4,190725,67\nsa,10.0,190822,71\nsa,10.2,191009,71\nsa,11.0,191205,75\nsa,11.2,200322,75\nsa,12.1,200707,79\nsa,13.2,210120,83\nsa,14.2,210625,87\nsa,16.0,211125,92\nsa,16.2,220306,92\nsa,18.1,220909,99\nsa,19.1,221108,102\nsa,26.0,240607,122\nwva,4.4,131209,30\nwva,4.4.3,140602,33\nwva,37,140903,37\nwva,39,141112,39\nwva,40,150121,40\nwva,41,150311,41\nwva,42,150415,42\nwva,43,150527,43\nwva,45,150901,45\nwva,46,151014,46\nwva,47,151202,47\nwva,48,160126,48\nwva,49,160309,49\nwva,50,160413,50\nwva,51,160608,51\nwva,52,160727,52\nwva,54,161019,54\nwva,55,161206,55\nwva,58,170425,58\nwva,59,170606,59\nwva,60,170801,60\nwva,61,170905,61\nwva,63,171205,63\nwva,64,180123,64\nwva,65,180306,65\nwva,67,180531,67\nwva,68,180724,68\nwva,69,180904,69\nwva,70,181017,70\nwva,71,181204,71\nwva,72,190129,72\nwva,73,190312,73\nwva,74,190424,74\nwva,75,190604,75\nwva,77,190910,77\nwva,78,191022,78\nwva,79,191217,79\nwva,83,200519,83\nwva,90,210413,90\nwva,91,210525,91\nwva,92,210720,92\nwva,94,210921,94\nwva,95,211019,95\nwva,100,220329,100\nwva,102,220524,102\nwva,103,220621,103\nwva,110,230207,110\nwva,113,230502,113\nwva,114,230530,114\nwva,116,230815,116\nwva,122,240220,122\nwva,126,240611,126\nwva,128,240820,128\nwva,129,240917,129\nwva,131,241112,131\nwva,132,250114,132\nwva,134,250304,134\nwva,139,250805,139\nwva,142,251028,142\nwva,143,251202,143\nwva,144,260113,144\nwva,149,260602,149\nwva,150,260630,150\nwva,151,260728,151\nwva,152,260825,152\nwva,154,260922,154\nwva,155,261006,155\nwva,156,261020,156\ny,1.0,u,25\ny,1.5,u,22\ny,1.6,u,25\ny,1.7,u,25\ny,1.20,u,25\ny,2.5,u,25\ny,3.2,u,25\ny,4.6,u,25\ny,5.3,u,25\ny,5.4,u,25\ny,7.4,u,25\ny,9.6,u,25\ny,10.5,u,25\ny,11.4,u,25\ny,11.5,u,25\ny,12.7,u,25\ny,13.9,u,28\ny,13.10,u,28\ny,13.11,u,28\ny,13.12,u,30\ny,14.2,u,32\ny,14.4,u,33\ny,14.5,u,34\ny,14.7,u,35\ny,14.8,u,36\ny,14.10,u,37\ny,15.2,u,40\ny,15.4,u,41\ny,15.6,u,42\ny,15.7,u,43\ny,15.10,u,45\ny,15.12,u,46\ny,16.2,u,47\ny,16.3,u,47\ny,16.4,u,49\ny,16.6,u,50\ny,16.7,u,51\ny,16.9,u,52\ny,16.11,u,54\ny,17.1,u,55\ny,17.6,u,58\ny,17.7,u,59\ny,17.9,u,60\ny,17.10,u,61\ny,18.1,u,63\ny,18.2,u,63\ny,18.3,u,64\ny,18.4,u,65\ny,18.7,u,67\ny,18.9,u,68\ny,18.10,u,69\ny,18.11,u,70\ny,19.1,u,71\ny,19.3,u,72\ny,19.4,u,73\ny,19.5,u,75\ny,19.6,u,75\ny,19.7,u,75\ny,19.10,u,77\ny,19.11,u,78\ny,19.12,u,78\ny,20.2,u,79\ny,20.6,u,81\ny,20.7,u,83\ny,21.2,u,88\ny,21.5,u,90\ny,21.6,210928,91\ny,21.8,210928,92\ny,21.11,211029,94\ny,22.4,u,92\ny,22.9,220827,104\ny,23.7,230706,114\ny,24.2,240325,120\ny,24.9,241001,126\ny,25.2,250424,132\ny,25.3,250423,132\ny,26.3,260304,144\ny,26.7,260723,149\ny,26.8,260801,150\nu,10.5,u,31\nu,10.7,u,31\nu,10.8,u,31\nu,10.10,u,31\nu,11.0,u,31\nu,11.2,u,40\nu,11.3,u,40\nu,11.4,u,40\nu,11.5,u,40\nu,11.8,u,57\nu,11.9,u,57\nu,12.0,u,57\nu,12.1,u,57\nu,12.2,u,57\nu,12.3,u,57\nu,12.4,u,57\nu,12.5,u,57\nu,12.6,u,57\nu,12.7,u,57\nu,12.8,u,57\nu,12.9,u,57\nu,12.10,u,57\nu,12.11,u,57\nu,12.12,u,57\nu,12.13,u,57\nu,12.14,u,57\nu,13.0,u,57\nu,13.1,u,57\nu,13.2,u,57\nu,13.4,210928,78\nu,13.5,230825,78\nu,13.6,231217,78\nu,13.7,230624,78\nu,13.8,220430,78\nu,13.9,220518,78\nu,15.0,220824,78\nu,15.1,221111,78\nu,15.2,230423,78\nu,15.4,231025,100\nu,15.5,230822,100\nu,16.0,230824,100\nu,16.1,231015,100\nu,16.2,231209,100\nu,16.3,240308,100\nu,16.4,241003,100\nu,16.5,240530,100\nu,16.6,240723,100\nu,17.0,240824,100\nu,17.1,240926,100\nu,17.2,241129,100\nu,17.3,250107,100\nu,17.4,250226,100\nu,17.5,250408,100\nu,17.7,250611,123\nu,17.8,250730,123\nu,18.0,250817,123\nu,18.1,251004,123\nu,18.2,251104,123\nu,18.3,251212,123\nu,18.4,260109,123\nu,18.5,260128,123\nu,18.6,260321,123\nu,18.8,260503,123\nu,18.9,260702,123\nu,18.10,260808,123\nu,19.0,260824,123\nq,6.0,u,37\nq,6.1,u,37\nq,6.2,u,37\nq,6.3,u,37\nq,6.4,u,37\nq,6.6,u,37\nq,6.7,u,37\nq,6.8,u,37\nq,6.9,u,37\nq,7.0,u,37\nq,7.1,u,37\nq,7.2,u,37\nq,7.3,u,37\nq,7.4,u,37\nq,7.5,u,37\nq,7.6,u,37\nq,7.7,u,37\nq,7.8,u,37\nq,7.9,u,37\nq,8.0,u,37\nq,8.2,u,57\nq,8.3,u,57\nq,8.4,u,57\nq,8.5,u,57\nq,8.6,u,57\nq,8.7,u,57\nq,8.8,u,57\nq,8.9,u,57\nq,9.1,u,57\nq,9.7,u,66\nq,9.8,u,66\nq,10.0,u,66\nq,10.1,u,66\nq,10.2,u,66\nq,10.3,u,66\nq,10.4,u,66\nq,10.5,u,66\nq,10.7,200909,66\nq,11.0,u,77\nq,11.2,210130,77\nq,11.3,210331,77\nq,11.9,u,89\nq,12.0,211104,89\nq,12.1,211105,89\nq,12.2,211207,89\nq,12.5,220407,89\nq,12.7,220521,89\nq,12.8,220630,89\nq,12.9,220726,89\nq,13.0,220815,89\nq,13.1,220910,89\nq,13.2,221026,89\nq,13.3,221109,89\nq,13.5,230206,98\nq,13.6,230209,98\nq,13.7,230421,98\nq,13.8,230421,98\nq,14.0,231212,98\nq,14.1,230716,98\nq,14.3,230913,109\nq,14.4,231031,109\nq,14.5,231112,109\nq,14.6,231224,109\nq,14.7,240118,109\nq,14.8,240304,109\nq,14.9,240409,109\nq,15.0,240417,109\nq,15.1,240518,109\nq,15.2,241024,109\nq,15.3,240728,109\nq,15.4,240907,109\nq,15.5,240924,109\nq,15.6,241024,109\nq,15.7,241203,109\nq,15.8,241211,109\nq,15.9,250201,109\nq,19.2,250715,121\nq,19.3,250831,121\nq,19.4,250920,121\nq,19.5,251023,121\nq,19.6,251117,121\nq,19.7,251218,121\nq,19.8,260120,121\nq,19.9,260309,121\nq,20.0,260406,121\nq,20.1,260430,121\nq,20.2,260610,121\nq,20.3,260617,121\nq,20.4,260728,121\nq,20.5,260817,121\nq,20.6,260915,121\nk,1.0,170301,37\nk,2.5,170701,48\nk,3.1,220301,84\nfb,68,u,48\nfb,74,u,50\nfb,75,u,50\nfb,76,u,50\nfb,77,u,50\nfb,78,u,50\nfb,79,u,50\nfb,80,u,51\nfb,81,u,51\nfb,82,u,51\nfb,83,u,51\nfb,84,u,51\nfb,86,u,51\nfb,87,u,52\nfb,88,u,52\nfb,89,u,52\nfb,90,u,52\nfb,91,u,52\nfb,92,u,52\nfb,93,u,52\nfb,94,u,52\nfb,96,u,53\nfb,97,u,53\nfb,98,u,53\nfb,99,u,53\nfb,100,u,54\nfb,101,u,54\nfb,103,u,54\nfb,104,u,54\nfb,105,u,54\nfb,106,u,55\nfb,107,u,55\nfb,108,u,55\nfb,109,u,55\nfb,110,u,55\nfb,111,u,55\nfb,113,u,56\nfb,114,u,56\nfb,115,u,56\nfb,116,u,56\nfb,118,u,57\nfb,119,u,57\nfb,120,u,57\nfb,121,u,57\nfb,122,u,58\nfb,123,u,58\nfb,124,u,58\nfb,125,u,58\nfb,126,u,58\nfb,127,u,58\nfb,128,u,58\nfb,129,u,58\nfb,130,u,59\nfb,131,u,59\nfb,132,u,59\nfb,133,u,59\nfb,134,u,59\nfb,135,u,59\nfb,136,u,59\nfb,137,u,59\nfb,138,u,60\nfb,140,u,60\nfb,142,u,61\nfb,143,u,61\nfb,144,u,61\nfb,145,u,61\nfb,146,u,61\nfb,147,u,61\nfb,148,u,61\nfb,150,u,62\nfb,151,u,62\nfb,152,u,62\nfb,153,u,63\nfb,154,u,63\nfb,155,u,63\nfb,156,u,63\nfb,157,u,64\nfb,158,u,64\nfb,159,u,64\nfb,160,u,64\nfb,161,u,64\nfb,162,u,64\nfb,163,u,65\nfb,164,u,65\nfb,165,u,65\nfb,166,u,65\nfb,167,u,65\nfb,168,u,65\nfb,170,u,66\nfb,171,u,66\nfb,172,u,66\nfb,173,u,66\nfb,174,u,66\nfb,175,u,67\nfb,176,u,67\nfb,177,u,67\nfb,178,u,67\nfb,180,u,67\nfb,181,u,67\nfb,182,u,67\nfb,183,u,68\nfb,184,u,68\nfb,185,u,68\nfb,186,u,68\nfb,187,u,68\nfb,188,u,68\nfb,202,u,71\nfb,227,u,75\nfb,228,u,75\nfb,229,u,75\nfb,230,u,75\nfb,231,u,75\nfb,235,u,76\nfb,236,u,76\nfb,237,u,76\nfb,238,u,76\nfb,240,u,77\nfb,241,u,77\nfb,242,u,77\nfb,243,u,77\nfb,244,u,78\nfb,245,u,78\nfb,246,u,78\nfb,247,u,78\nfb,248,u,78\nfb,249,u,78\nfb,250,u,78\nfb,251,u,79\nfb,252,u,79\nfb,253,u,79\nfb,254,u,79\nfb,255,u,79\nfb,257,u,80\nfb,258,u,80\nfb,259,u,80\nfb,260,u,80\nfb,261,u,80\nfb,262,u,80\nfb,263,u,80\nfb,264,u,80\nfb,265,u,80\nfb,267,u,81\nfb,268,u,81\nfb,269,u,81\nfb,270,u,81\nfb,271,u,81\nfb,272,u,83\nfb,273,u,83\nfb,274,u,83\nfb,275,u,83\nfb,400,230210,109\nfb,436,231013,117\nfb,438,231028,118\nfb,440,231112,119\nfb,441,231120,119\nfb,442,231129,119\nfb,444,231213,120\nfb,445,231221,120\nfb,446,240106,120\nfb,447,240112,120\nfb,449,240202,121\nfb,450,240205,121\nfb,451,240217,121\nfb,452,240225,122\nfb,453,240228,122\nfb,454,240304,122\nfb,466,u,126\nfb,469,u,126\nfb,471,240710,126\nfb,472,240711,126\nfb,475,240801,127\nfb,476,240809,127\nfb,477,240816,127\nfb,478,240821,128\nfb,479,240831,128\nfb,480,240907,128\nfb,481,240914,128\nfb,482,240920,129\nfb,483,240927,129\nfb,484,241004,129\nfb,485,241011,129\nfb,487,241026,130\nfb,488,241102,130\nfb,489,241109,130\nfb,494,241226,131\nfb,497,250126,132\nia,24,u,62\nia,25,u,62\nia,26,u,63\nia,27,u,63\nia,28,u,63\nia,29,u,63\nia,30,u,63\nia,31,u,64\nia,32,u,64\nia,33,u,64\nia,34,u,64\nia,35,u,65\nia,36,u,65\nia,37,u,65\nia,38,u,65\nia,39,u,65\nia,40,u,65\nia,41,u,65\nia,43,u,66\nia,44,u,66\nia,45,u,66\nia,46,u,66\nia,47,u,66\nia,48,u,67\nia,49,u,67\nia,50,u,67\nia,51,u,67\nia,52,u,67\nia,53,u,67\nia,54,u,67\nia,55,u,67\nia,56,u,68\nia,57,u,68\nia,58,u,68\nia,59,u,68\nia,60,u,68\nia,61,u,68\nia,65,u,69\nia,66,u,69\nia,68,u,69\nia,72,u,70\nia,74,u,71\nia,75,u,71\nia,79,u,71\nia,81,u,72\nia,82,u,72\nia,83,u,72\nia,84,u,73\nia,86,u,73\nia,95,u,74\nia,97,u,80\nia,98,u,80\nia,103,u,80\nia,104,u,80\nia,117,u,80\nia,118,u,80\nia,119,u,80\nia,120,u,80\nia,121,u,80\nia,127,u,80\nia,128,u,80\nia,129,u,80\nia,130,u,80\nia,131,u,80\nia,132,u,80\nia,133,u,80\nia,134,u,80\nia,135,u,80\nia,136,u,80\nia,138,u,81\nia,139,u,81\nia,140,u,81\nia,141,u,81\nia,142,u,81\nia,143,u,83\nia,144,u,83\nia,145,u,83\nia,146,u,83\nia,164,u,92\nia,230,u,92\nia,259,221104,106\nia,281,u,109\nia,289,231221,114\nia,290,231230,114\nia,295,u,115\nia,296,u,115\nia,297,u,115\nia,298,240111,115\nia,299,u,115\nia,300,u,116\nia,301,240112,116\nia,303,u,117\nia,304,u,117\nia,305,u,117\nia,307,u,118\nia,308,240119,118\nia,310,u,119\nia,312,u,120\nia,313,u,120\nia,314,u,120\nia,315,240119,120\nia,316,240125,120\nia,318,240216,121\nia,320,240304,121\nia,321,240307,122\nia,347,240911,127\nia,349,240920,128\nia,366,u,132\nia,367,250215,132\nia,382,250619,137\nia,383,250618,137\nia,384,250616,137\nia,385,250627,137\nia,387,250709,137\nia,392,250812,138\nia,394,250826,139\nia,395,250913,139\nia,396,250920,139\nia,397,250919,139\nia,401,251008,141\nia,404,251031,141\nia,406,251116,141\nia,407,251123,142\nia,408,251128,142\nia,409,251216,143\nia,410,251217,143\nia,411,260107,143\nia,438,260722,150\nia,443,260821,151\nia,444,260827,151\n".split("\n").forEach(t=>{if(t=t.trim())if("releases"!==t){if(l){const s=t.split(",");if(s.length>=3){const[t,i,r,o]=s,l=[t,i,e(r.trim())];o&&l.push(o.trim()),a[t]||(a[t]=[]),a[t].push(l)}return}if(t.startsWith("20")||t.startsWith("pre_baseline"))return o=e(t),void(r[o]=[]);{const s=t.split(",");if(s.length>=3){const[t,i,a,l]=s,u=[t,i,e(a.trim())];if(l&&u.push(l.trim()),!r[o])throw new Error(`Timeline entry for date ${o} is undefined. This should not happen.`);r[o].push(u)}}}else l=!0});const u={};Object.keys(i).forEach(t=>{var s;u[t]=[...null!==(s=a[t])&&void 0!==s?s:[]]}),Object.keys(r).forEach(t=>{r[t].forEach(t=>{const s=t[0];u[s]&&(u[s].some(s=>s[1]===t[1])||u[s].push(t))})}),Object.keys(u).forEach(t=>{u[t].sort((t,s)=>n(t[1],s[1]))});let p=!1;const f=Object.keys(i).filter(t=>void 0===i[t].engine).map(t=>{const{longName:s}=i[t];return{shortName:t,longName:s}}),h=["webview_android","samsunginternet_android","opera_android","opera","ya_android","uc_android","qq_android","kai_os","facebook_android","instagram_android"],b=t=>{const s=[],i=[];return t.forEach(t=>{f.some(s=>s.longName===t.browser)?s.push(t):i.push(t)}),s.sort((t,s)=>t.browser<s.browser?-1:t.browser>s.browser?1:n(t.version,s.version)),i.sort((t,s)=>{const i=h.indexOf(t.browser),r=h.indexOf(s.browser);return i!==r?i-r:n(t.version,s.version)}),[...s,...i]};let m=!1;const w=t=>{if(!1===t.includeDownstreamBrowsers&&!0===t.includeKaiOS)throw new Error("KaiOS is a downstream browser and can only be included if you include other downstream browsers. Please ensure you use `includeDownstreamBrowsers: true`.")},v=(t,s,r,a,o)=>{var l;const u={browser:s,version:r,release_date:"u"===a?"unknown":a};return o&&(u.engine_version=o,u.engine=null===(l=i[t])||void 0===l?void 0:l.engine),u};function y(t){var s,a,o,l,h,g,x;let k=null!=t?t:{},_={listAllCompatibleVersions:null!==(s=k.listAllCompatibleVersions)&&void 0!==s&&s,includeDownstreamBrowsers:null!==(a=k.includeDownstreamBrowsers)&&void 0!==a&&a,widelyAvailableOnDate:null!==(o=k.widelyAvailableOnDate)&&void 0!==o?o:void 0,targetYear:null!==(l=k.targetYear)&&void 0!==l?l:void 0,includeKaiOS:null!==(h=k.includeKaiOS)&&void 0!==h&&h,overrideLastUpdated:null!==(g=k.overrideLastUpdated)&&void 0!==g?g:void 0,suppressWarnings:null!==(x=k.suppressWarnings)&&void 0!==x&&x},T=new Date;if(_.widelyAvailableOnDate||_.targetYear){if(_.targetYear&&_.widelyAvailableOnDate)throw new Error("You cannot use targetYear and widelyAvailableOnDate at the same time. Please remove one of these options and try again.");_.widelyAvailableOnDate?T=new Date(_.widelyAvailableOnDate):_.targetYear&&(T=new Date(`${_.targetYear}-12-31`))}else T=new Date;if((_.widelyAvailableOnDate||void 0===_.targetYear)&&T.setMonth(T.getMonth()-30),!_.suppressWarnings){if(((t,s)=>{if(p||"undefined"!=typeof process&&process.env&&(process.env.BROWSERSLIST_IGNORE_OLD_DATA||process.env.BASELINE_BROWSER_MAPPING_IGNORE_OLD_DATA))return;const i=new Date;i.setMonth(i.getMonth()-2),t>i&&(null!=s?s:1790882315498)<i.getTime()&&(console.warn("[baseline-browser-mapping] The data in this module is over two months old and you are targetting a recent feature cut off date of "+t.toISOString().slice(0,10)+". To ensure accurate Baseline data, please update to the latest version of this module using the package manager of your choice.You can suppress these warnings using the environment variables `BROWSERSLIST_IGNORE_OLD_DATA=true` or `BASELINE_BROWSER_MAPPING_IGNORE_OLD_DATA=true` or by passing `suppressWarnings: true` when you call `getCompatibleVersions()` or `getAllVersions()`."),p=!0)})(T,_.overrideLastUpdated),w(_),T.getFullYear()<2015&&!m&&console.warn(new Error("There are no browser versions compatible with Baseline before 2015. You may receive unexpected results.")),T.getFullYear()<2002)throw new Error("None of the browsers in the core set were released before 2002. Please use a date after 2002.");if(T.getFullYear()>(new Date).getFullYear())throw new Error("There are no browser versions compatible with Baseline in the future")}const C=T<new Date("2015-07-29"),A={};Object.keys(i).forEach(t=>{A[t]=void 0}),Object.keys(r).forEach(t=>{const s=r[t];let i=!1;i="pre_baseline"===t||new Date(t)<=T,i&&s.forEach(s=>{const i=s[0];"pre_baseline"!==t&&(A[i]=s)})});const I=[];return Object.keys(i).forEach(t=>{var s,r;const{longName:a}=i[t];if(!_.includeKaiOS&&"k"===t)return;const o=f.some(s=>s.shortName===t);if(_.includeDownstreamBrowsers||o)if(C)if(_.listAllCompatibleVersions){I.push({browser:a,version:"0",release_date:""});(null!==(s=u[t])&&void 0!==s?s:[]).forEach(s=>{I.push(v(t,a,s[1],s[2],s[3]))})}else I.push({browser:a,version:"0",release_date:""});else{const s=A[t];if(!s)return;const i=s[1];if(_.listAllCompatibleVersions){(null!==(r=u[t])&&void 0!==r?r:[]).forEach(s=>{const r=s[1];n(r,i)>=0&&I.push(v(t,a,r,s[2],s[3]))})}else I.push(v(t,a,i,s[2],s[3]))}}),b(I)}s._resetHasWarned=function(){p=!1},s.getAllVersions=function(t){var s,i,r,a,o;m=!0;let l=null!=t?t:{},u={outputFormat:null!==(s=l.outputFormat)&&void 0!==s?s:"array",includeDownstreamBrowsers:null!==(i=l.includeDownstreamBrowsers)&&void 0!==i&&i,useSupports:null!==(r=l.useSupports)&&void 0!==r&&r,includeKaiOS:null!==(a=l.includeKaiOS)&&void 0!==a&&a,suppressWarnings:null!==(o=l.suppressWarnings)&&void 0!==o&&o};w(u);let p=(new Date).getFullYear()+1;const h=[...Array(p).keys()].slice(2015),g={};h.forEach(t=>{g[t]={},y({targetYear:t,suppressWarnings:u.suppressWarnings}).forEach(s=>{g[t]&&(g[t][s.browser]=s)})});const x=y({suppressWarnings:u.suppressWarnings}),k={};x.forEach(t=>{k[t.browser]=t});const _=new Date;_.setMonth(_.getMonth()+30);const T=y({widelyAvailableOnDate:_.toISOString().slice(0,10),suppressWarnings:u.suppressWarnings}),C={};T.forEach(t=>{C[t.browser]=t});const A=y({targetYear:2002,listAllCompatibleVersions:!0,suppressWarnings:u.suppressWarnings}),I=[];if(f.map(t=>t.longName).forEach(t=>{var s,i,r,a;let o=A.filter(s=>s.browser==t).sort((t,s)=>n(t.version,s.version)),l=null!==(i=null===(s=k[t])||void 0===s?void 0:s.version)&&void 0!==i?i:"0",f=null!==(a=null===(r=C[t])||void 0===r?void 0:r.version)&&void 0!==a?a:"0";h.forEach(s=>{var i;if(g[s]){let r=(null!==(i=g[s][t])&&void 0!==i?i:{version:"0"}).version,a=o.findIndex(t=>0===n(t.version,r));(s===p-1?o:o.slice(0,a)).forEach(t=>{let i=n(t.version,l)>=0,r=n(t.version,f)>=0,a=Object.assign(Object.assign({},t),{year:s<=2015?"pre_baseline":s-1});u.useSupports?(i&&(a.supports="widely"),r&&(a.supports="newly")):a=Object.assign(Object.assign({},a),{wa_compatible:i}),I.push(a)}),o=o.slice(a,o.length)}})}),u.includeDownstreamBrowsers){y({targetYear:2002,listAllCompatibleVersions:!0,includeDownstreamBrowsers:!0,includeKaiOS:u.includeKaiOS,suppressWarnings:u.suppressWarnings}).filter(t=>!f.map(t=>t.longName).includes(t.browser)).forEach(t=>{const s="Gecko"===t.engine?"firefox":"chrome";let i=I.find(i=>i.browser===s&&i.version===t.engine_version);i&&(u.useSupports?I.push(Object.assign(Object.assign({},t),{year:i.year,supports:i.supports})):I.push(Object.assign(Object.assign({},t),{year:i.year,wa_compatible:i.wa_compatible})))})}if(I.sort((t,s)=>{if("pre_baseline"===t.year&&"pre_baseline"!==s.year)return-1;if("pre_baseline"===s.year&&"pre_baseline"!==t.year)return 1;if("pre_baseline"!==t.year&&"pre_baseline"!==s.year){if(t.year<s.year)return-1;if(t.year>s.year)return 1}return t.browser<s.browser?-1:t.browser>s.browser?1:n(t.version,s.version)}),"object"===u.outputFormat){const t={};return I.forEach(s=>{t[s.browser]||(t[s.browser]={});let i={year:s.year,release_date:s.release_date,engine:s.engine,engine_version:s.engine_version};t[s.browser][s.version]=u.useSupports?s.supports?Object.assign(Object.assign({},i),{supports:s.supports}):i:Object.assign(Object.assign({},i),{wa_compatible:s.wa_compatible})}),null!=t?t:{}}if("csv"===u.outputFormat){let t=`"browser","version","year","${u.useSupports?"supports":"wa_compatible"}","release_date","engine","engine_version"`;return I.forEach(s=>{var i,r,a,o;let l={browser:s.browser,version:s.version,year:s.year,release_date:null!==(i=s.release_date)&&void 0!==i?i:"NULL",engine:null!==(r=s.engine)&&void 0!==r?r:"NULL",engine_version:null!==(a=s.engine_version)&&void 0!==a?a:"NULL"};l=u.useSupports?Object.assign(Object.assign({},l),{supports:null!==(o=s.supports)&&void 0!==o?o:""}):Object.assign(Object.assign({},l),{wa_compatible:s.wa_compatible}),t+=`\n"${l.browser}","${l.version}","${l.year}","${u.useSupports?l.supports:l.wa_compatible}","${l.release_date}","${l.engine}","${l.engine_version}"`}),t}return I},s.getCompatibleVersions=y,s.getTimeline=function(t){var s,a,o,l;const u=null!=t?t:{},p=null!==(s=u.groupBy)&&void 0!==s?s:"date",h=null!==(a=u.listAllBrowsers)&&void 0!==a&&a,m=null!==(o=u.includeDownstreamBrowsers)&&void 0!==o&&o,g=null!==(l=u.includeKaiOS)&&void 0!==l&&l;if(!1===m&&!0===g)throw new Error("KaiOS is a downstream browser and can only be included if you include other downstream browsers. Please ensure you use `includeDownstreamBrowsers: true`.");const x={},k=[];if(Object.keys(r).forEach(t=>{const s=r[t];if("pre_baseline"===t)return;const a=new Set;s.forEach(t=>{const s=t[0],i=x[s],r=t[1];i&&i[1]===r||a.add(s),x[s]=t});const o=[];if(Object.keys(i).forEach(t=>{const{longName:s}=i[t];if(!g&&"k"===t)return;const r=f.some(s=>s.shortName===t);if(!m&&!r)return;const l=a.has(t);if(h||l){const i=x[t];i&&o.push(v(t,s,i[1],i[2],i[3]))}}),o.length>0){const s=b(o);k.push({date:t,browsers:s})}}),"browser"===p){const t={};return Object.keys(i).forEach(s=>{const{longName:r}=i[s];if(!g&&"k"===s)return;const a=f.some(t=>t.shortName===s);(m||a)&&(t[r]=[])}),k.forEach(s=>{s.browsers.forEach(i=>{const{browser:r}=i,a=function(t,s){var i={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&s.indexOf(r)<0&&(i[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(t);a<r.length;a++)s.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(t,r[a])&&(i[r[a]]=t[r[a]])}return i}(i,["browser"]);t[r]&&t[r].push(Object.assign({date:s.date},a))})}),t}return k}},65387:(t,s,i)=>{i.a(t,async(t,r)=>{try{i.d(s,{I:()=>parseProvenanceFlags});var a=i(73024);var o=i(51455);var l=i(76760);var u=i(77598);var p=i(98995);var f=i(71130);var h=i(34594);var m=i(45950);var g=i(30373);var x=i(75917);var k=i(42883);var _=i(24240);var T=i(38260);var C=i(74877);var A=i(53767);var I=i(83892);var P=i(89277);var $=i(2615);var O=i(39516);var D=i(64519);var N=i(70126);var j=i(96974);var R=i(69400);var L=i(84407);var F=i(97730);var M=i(18189);var B=i(55864);var W=i(62101);var U=i(54712);var H=i(31174);var V=i(70471);var K=t([m,x,k,F]);[m,x,k,F]=K.then?(await K)():K;const G=(0,p.createRequire)(import.meta.url);const J=G("../package.json").version;function writeStdout(t){const s=Buffer.from(String(t),"utf8");let i=0;while(i<s.length){try{i+=a.writeSync(1,s,i,s.length-i)}catch(t){if(t.code==="EAGAIN")continue;if(t.code==="EPIPE")return;throw t}}}const X=new Set(["json","sarif","oscal","cyclonedx","sbom","spdx","vex","openvex","pbom","aibom","mlbom"]);function isMachineFormat(t){return X.has(String(t))}const Y=new Set(["cli","json","md","markdown","sarif","oscal","stix","junit","csv","html","cyclonedx","sbom","spdx","vex","openvex","pbom","aibom","aibom-md","mlbom","ship","pro","summary"]);function scanProgressReporter(){return t=>{if(process.stderr.isTTY)process.stderr.write(`\r[${t.phase}] ${t.current}/${t.total} ${t.file} `)}}function clearScanProgressLine(){if(process.stderr.isTTY)process.stderr.write("\r"+" ".repeat(80)+"\r")}const Q=a.constants.O_WRONLY|a.constants.O_CREAT|a.constants.O_TRUNC|(a.constants.O_NOFOLLOW||0);async function _writeStateNoFollow(t,s){if(!a.constants.O_NOFOLLOW){try{if((await o.lstat(t)).isSymbolicLink())return false}catch{}}try{await o.writeFile(t,s,{flag:Q,mode:420});return true}catch(t){if(t&&(t.code==="ELOOP"||t.code==="EMLINK"))return false;throw t}}function _verifyLastScan(t,s){const i=(0,f.Ef)(t,s);return i}const Z=`agentic-security <command> [options]\n\n 🛡 Created by ClearCapabilities.Com · https://clearcapabilities.com\n\nCommands:\n secure [path] [--launch] Smart router: tells you the single best next action\n scan [path] Full SAST + SCA + Secrets sweep (default: cwd)\n ship (internal) Vibecoder verdict — invoked by /scan-all\n ci [path] Baseline-aware CI scan: auto-detects PR base ref,\n writes SARIF + JUnit + JSON, applies --fail-on policy\n fix --finding <id> [--preview|--apply] Show diff or apply fix for a single finding\n undo [--all|--list|--compact] Revert the most recent applied fix; --compact archives terminal entries (--retain-days N --prune-backups)\n accept --finding <id> Soft-suppress a finding for 30 days (vibecoder)\n setup [project-dir] Install /security-* shortcut commands into a project\n profile set <vibecoder|pro> Set or change the persona profile\n profile show Print current profile\n org-scan --repos <list> Pro: scan multiple repos and produce roll-up\n triage list|assign|trend Pro: per-finding state, MTTR, assignment\n rules validate Pro: lint .agentic-security/rules.yml\n packs list List available curated rule packs\n rule list | test <glob> List/test custom YAML rules in .agentic-security/rules/\n tickets sync --provider <p> Two-way sync findings ↔ GitHub Issues / Linear / Jira\n digest --slack <webhook> Vibecoder: send daily digest to Slack\n mcp Start the MCP stdio server (scan_diff, query_taint, explain_finding, apply_fix)\n lsp Start the Language Server Protocol server on stdio (what the editor plugins run)\n validator-cache stats|gc Inspect / prune .agentic-security/llm-cache/ (use --older-than <days> --dry-run)\n verify [--finding <id>] Re-run the verifier loop on last-scan findings (use --live --target <url> to execute PoCs)\n ask "<question>" [target] Bounded local-model Q&A with read-only tool access (requires AGENTIC_SECURITY_LLM_PRESET=ollama)\n release-view <package.json> Developer, CISO and auditor views of one signed release package (--view, --format text|json|html, --previous, --public-key)\n reset [--yes] [--keep ...] Right-to-delete: wipe accumulated learned state under .agentic-security/ (preserves operator-authored config)\n --expired only remove artifacts past their retention-class TTL\n Every run writes a deletion-report.json proving what was planned/deleted/preserved/failed.\n export --out <dir> Copy every present .agentic-security/ artifact to <dir> with a manifest (export-manifest.json,\n unsigned) proving what was exported and what failed — for migration or legal-preservation purposes.\n legal-hold add --artifact <name> --owner <id> --reason <text> [--expires <date>]\n Exempt a registered artifact from retention TTL and reset (both --expired and plain)\n legal-hold remove --artifact <name> Lift a hold\n legal-hold list [--all] List active holds (--all also shows past holds whose expires_at has passed)\n calibration-feedback record --finding-id <id> --outcome accepted-risk|realized-incident [--note <text>]\n Opt-in: report a real-world outcome for a past finding, for calibration validation\n calibration-report [--format cli|json] Aggregated, privacy-preserving calibration report from recorded feedback\n rule-synth [--dry-run] Auto-synthesise suppression rules from repeated FP verdicts (proposes — does not activate)\n compliance [--privacy] Assess the last scan against NIST Privacy Framework 1.1\n --list show bundled + BYO frameworks\n --walkthrough <id> auditor narrative for any framework\n --report <id> synonym for --walkthrough\n --gap only the failing controls\n --format cli|json|md|oscal (default cli)\n --format oscal NIST OSCAL assessment-results.\n Controls the engine could not\n decide carry NO finding — see\n docs/OSCAL.md.\n --fail-on gap exit 1 when a control is failing\n Reads .agentic-security/last-scan.json — run a scan first.\n version Print version\n banner [--full] Print the Patch-the-frog mascot + brand lockup\n harness [path] [--include-home] Multi-harness config audit: scans .claude/,\n .cursor/, .codex/, .gemini/, .kiro/, .opencode/,\n .trae/, .qwen/, .zed/, .continue/, .aider/ at the\n project root. --include-home also sweeps ~/.\n scan-baseline --current <f> --previous <f>\n Finding-level diff between two scan JSON outputs.\n Reports added / removed / changed findings.\n boundaries --from <dir> [--findings <last-scan.json>] [--environment <name>] [--out <file>] [--json]\n Build a deployment boundary graph from local configuration\n (and optional sanitized traces) and attach a boundary context\n to each finding of a scan result. Read-only, local files only.\n Off by default: set AGENTIC_SECURITY_ASSURANCE_DEPLOYMENT_BOUNDARIES=1.\n Exit: 0 ok, 1 failed, 2 usage, 3 feature off or blocked.\n context <build|inspect|diff|review|status|eval|verify|export|cleanup> [--root <dir>]\n Deterministic Context Intelligence (opt-in, additive): resolve entry points,\n write one inspectable, hash-bound context bundle each, and optionally run\n focused single-call model reviews over them. 'context build' makes no model\n call and no network call. Run 'agentic-security context' for the full usage.\n explore [path] [--port <n>] [--keep-open]\n Start a local, read-only server over an\n already-scanned lineage graph (run\n AGENTIC_SECURITY_LINEAGE_DEEP=1 scan first)\n dataflow export [path] --format png|pdf|svg|json|csv|html|dpia|ropa|briefing|recipients|coverage --output <file>\n Export the already-scanned lineage graph.\n --view architecture|privacy|trace|inventory (default: architecture;\n png/pdf/svg only — no-op + warning for json/csv/html/dpia/ropa/briefing/recipients/coverage)\n --size standard|2x AC-23 pinned PNG sizes (default: standard)\n --width <n> --height <n> custom PNG size, <= 20000 (mutually exclusive with --size)\n --no-redact include unredacted content (json/html only; no-op + warning for csv/dpia/ropa/briefing/recipients/coverage)\n --filter <path.json> {nodeIds,edgeIds} to scope the export (no-op + warning for csv/coverage)\n --audience board|ciso|privacy|compliance|regulator|technical\n (default: technical; briefing only — wording/verbosity, never facts)\n dataflow scenario apply [path] --operations <file.json> --output <file> [--format json|markdown]\n Simulate a hypothetical architecture change against the\n already-scanned lineage graph — never mutates the real scan.\n --privacy-sink-policy <path-to-json> re-evaluate each touched\n flow's policyVerdict under this policy file\n --environment <name> environment context for --privacy-sink-policy\n dataflow impact assess [path] --target <canonical-id> --output <file> [--format json|markdown]\n Blast-radius impact assessment over the already-scanned lineage\n graph — read-only, never mutates anything, never re-runs a scan.\n --target node:*|edge:*|flow:*|data:* the compromised entity's id\n governance propose-edit [path] --patch <file.json> [--output <file>] [--yes] [--base-digest <hex>]\n Propose a validated, reviewable edit to\n recipient-profiles.json. Without --yes,\n previews the diff and writes nothing.\n federate declare [path] --local-node <node-id> --remote-graph <file>\n --remote-node <node-id> [--repository <label>]\n [--relationship data_flow] [--rationale <text>]\n [--output <file>] [--yes] [--base-digest <hex>]\n [--local-target <t>] [--local-config <c>]\n [--remote-target <t>] [--remote-config <c>]\n Declare a CrossRepoLink between a node in the\n current locally-scanned graph and a node in a\n remote graph export (dataflow export --format\n json). Without --yes, previews and writes nothing.\n federate list [path] [--output <file>]\n List every declared cross-repo link, reporting\n whether each side still resolves.\n invariants export --invariant <file> --fixture <dir> [--ledger <file>] [--commit <sha>] [--seed <n>] [--output <file>]\n Reproducible bounded business-logic scenario package for\n one contract (no fixture source, no secrets, not a proof\n of correctness). Needs the invariant-scenarios feature.\n invariants coverage --invariant <file> | --invariants-dir <dir> [--ledger <file>] [--results <file>] [--json]\n Bounded business coverage: approved vs proposed contracts,\n exercised actors/states/transitions, explicit gaps.\n portfolio progress --store <file> [--budgets <file>] [--findings <file>] [--blocking-severity <s>] [--json]\n Coverage-aware portfolio progress: verified units, blocked/failed/stale\n units, repository coverage, remaining budget, pending human review and\n stale workers. A finished controller is never reported as passed.\n Needs the portfolio-assurance feature.\n portfolio retention plan|apply|verify-log --records <file> --root <dir> [--policy <file>] [--holds <file>] [--store <file>] [--log <file> --actor <name>]\n Retention by class (replay evidence, metadata, model traces, secrets)\n with legal holds; a required current receipt is never deleted and\n every deletion is logged first.\n portfolio backend probe --mode local|shared --dir <dir>\n Is a storage backend usable? An unavailable shared backend is the\n typed blocked state; nothing falls back to a local write.\n portfolio export --store <file> --out <file> | portfolio import --from <file> --mode <m> --dir <d>\n One self-checking, secret-free state file for an air-gapped machine.\n invariants regress <artifact.json>\n Re-execute a verified-repair regression artifact from the\n file alone. Exit 0 passed, 1 failed, 3 not run.\n remediation open [path] --assessment <impact-report.json> --owner <id> --due <YYYY-MM-DD>\n --control <text> --required-evidence <flowId,...>\n [--id <itemId>] [--snapshot <commit>] [--allow-manual-attestation]\n [--output <file>] [--yes]\n Open a new remediation work item against an incident\n snapshot. Without --yes, previews the folded item and\n writes nothing to the append-only ledger.\n remediation update [path] --id <itemId> --state <in_progress|awaiting_verification>\n [--base-event <hash>] [--output <file>] [--yes]\n Advance a remediation item's state. --state verified is\n always refused — see remediation verify (AC-31).\n remediation verify [path] --id <itemId> [--against <commit>]\n [--manual-attestation --approver <id> --reason <text> [--author <id>]]\n [--base-event <hash>] [--output <file>] [--yes]\n Verify a remediation item against a fresh lineage scan (or an\n explicitly-permitted manual attestation). AC-31: marking work\n complete never sets "verified" — only this command can.\n remediation reopen-check [path] [--drift-policy <file>] [--against <commit>]\n [--output <file>] [--yes]\n Reopen verified items whose control regressed (drift-policy match,\n or an affected flow removed/changed in the latest diff). No\n --base-event: this can append events across many items at once.\n remediation accept-risk [path] --id <itemId> --approver <id> --reason <text>\n --scope <text> --expires <YYYY-MM-DD> [--author <id>]\n [--base-event <hash>] [--output <file>] [--yes]\n Record an accepted-risk exception, gated on the operator's\n authorized-approvers registry when one exists.\n remediation list [path] [--format json|markdown] [--output <file>]\n List every remediation item folded from the ledger.\n\nOptions:\n --profile vibecoder|pro Override profile for this run\n --only sast|sca|secrets Limit scan to one pillar\n --format <fmt> cli | json | md | sarif | oscal | stix | junit | csv | html | cyclonedx | spdx | pbom | aibom | aibom-md | mlbom\n --pack <name> Focus on a curated rule pack (repeatable): owasp-top-10 | cwe-top-25 | llm-security | supply-chain\n --baseline <ref> Diff against a git ref; only findings new vs. that ref count (ci subcommand)\n --fail-on critical|high|medium|low|none ci-mode exit policy (default: critical)\n --fail-on-new (ci) block ONLY on findings this PR introduced vs\n the baseline ref — never the pre-existing backlog\n --policy <file.rego> ci-mode policy-as-code gate; deny[] rules fail the build (FR-SDLC-9)\n --assurance advisory|standard|strict (ci) incomplete-analysis behavior (default: standard).\n strict fails the build when any analyzer failed, timed out,\n or was silently skipped by policy — independent of --fail-on (FR-204)\n --columns standard|mitre|capec|owasp Pro-mode column set (default: standard)\n --confidence <0..1> Override per-profile confidence threshold\n --firehose Show ALL findings (ignore confidence threshold)\n --honest Show only high-confidence (≥0.9) findings\n --exposed-only Filter to findings the production stack does NOT mitigate\n --mitigated-only Filter to findings already mitigated by WAF/auth/network/flag\n --unreachable-only Filter to findings on unreachable code paths\n --persona <name> Filter to findings whose top-2 personas include <name>\n (script-kiddie|opportunistic-criminal|apt-nation-state|\n supply-chain-attacker|malicious-insider)\n --show-personas Append per-persona top-picks block\n --show-bounty Append predicted bug-bounty payout block\n --show-playbook Append attack-playbook block for high+ findings\n --show-spof Append single-point-of-failure-controls block\n --show-trust-boundary Append the auto-generated trust-boundary Mermaid diagram\n --show-threat-model Append the auto-derived STRIDE threat model summary\n --show-drift Append calibration-drift alarms (overconfidence detection)\n --sca-reachable-only Only SCA findings where the vulnerable function is reachable\n --scorecard Enrich components with OSSF Scorecard scores\n --no-network Skip OSV/registry queries (offline mode)\n --pr [ref] Diff-aware: scan only files changed since ref (auto-detects PR base)\n --deterministic Reproducible scan: stable sort, no-network, lockfile-checked\n --incremental Reuse taint summaries from prior scans (speeds up deep mode in CI)\n --set-baseline Save current findings as baseline (suppresses pre-existing issues)\n --since-baseline Only show findings NOT in the saved baseline\n --hide-proven-safe Drop findings discharged by a flow proof (provably safe)\n --secret-history Also sweep recent git history for committed secrets\n --validate-secrets Label each detected secret live/dead/unknown (opt-in, network, offline-degrading)\n (removed from HEAD but recoverable from .git)\n --history-depth <n> Commits to sweep with --secret-history (default 50)\n --no-epss Skip EPSS exploit-prediction enrichment (default: enabled)\n --no-blast-radius Skip blast-radius / cost framing (default: enabled)\n --verbose Include fix bodies + taxonomy in CLI output\n (with --firehose, also prints each finding's git-origin provenance)\n --output <file> Write report to file instead of stdout\n --machine-output Always write .agentic-security/findings.{sarif,json,csv}\n\nFinding provenance (which commit introduced each finding):\n --provenance <standard|deep> Resolution depth (default: standard; deep explores non-linear ancestry — merges, reverts, cherry-picks)\n --no-provenance Skip git-history provenance entirely (findings report not_available)\n --provenance-since <ref> Do not walk history earlier than this git ref/commit\n --provenance-timeout <ms> Whole-scan provenance budget in MILLISECONDS (default 60000)\n --include-author-email Keep commit author emails in output (redacted by default)\n --pseudonymize-authors Replace commit author names with a stable Contributor-XXXXXXXX id\n --require-provenance Report unresolved provenance as a scan-health condition\n (downgrades scanHealth.status to 'partial'; never changes the exit code)\n\nExit codes:\n 0 = clean 1 = low/medium 2 = high 3 = critical 4 = error`;function loadPersonaProfile(t,s){const i=s.flags.profile;const r=(0,I.iH)(t);if(i==="pro"||i==="vibecoder"){return{...r,profile:i}}return r}function printBanner(t){const s=!!process.stderr.isTTY&&!process.env.NO_COLOR;const i=s?{FROG:"[38;2;255;107;44m",DEEP:"[38;2;201;52;20m",CREAM:"[38;2;244;239;230m",DIM:"[2m",BOLD:"[1m",RESET:"[0m"}:{FROG:"",DEEP:"",CREAM:"",DIM:"",BOLD:"",RESET:""};const r=J;const a=!t.flags.full;if(a){const t=["",` ${i.FROG}╭─╮╭─╮${i.RESET} ${i.BOLD}agentic-security${i.RESET} ${i.DIM}·${i.RESET} ${i.CREAM}by Clear Capabilities${i.RESET} ${i.DIM}· v${r}${i.RESET}`,` ${i.FROG}│${i.BOLD}◉${i.RESET}${i.FROG}││${i.BOLD}◉${i.RESET}${i.FROG}│${i.RESET} ${i.DIM}Tiny.${i.RESET} ${i.FROG}${i.BOLD}Bright.${i.RESET} ${i.DIM}Watching.${i.RESET}`,` ${i.FROG}╰─╯╰─╯${i.RESET}`,""];process.stdout.write(t.join("\n"));return}const o=["",` ${i.FROG}╭───╮ ╭───╮${i.RESET}`,` ${i.FROG}│ ${i.BOLD}◉${i.RESET}${i.FROG} │ │ ${i.BOLD}◉${i.RESET}${i.FROG} │${i.RESET} ${i.BOLD}agentic-security${i.RESET}`,` ${i.FROG}╰─┬─╯ ╰─┬─╯${i.RESET} ${i.DIM}─────────────────${i.RESET}`,` ${i.FROG}╭──┴─────┴──╮${i.RESET} ${i.CREAM}Tiny. ${i.FROG}${i.BOLD}Bright.${i.RESET}${i.CREAM} Watching.${i.RESET}`,` ${i.FROG}│ ${i.DEEP}·${i.FROG} ${i.BOLD}⌣${i.RESET}${i.FROG} ${i.DEEP}·${i.FROG} │${i.RESET} ${i.CREAM}by Clear Capabilities Inc.${i.RESET} ${i.DIM}· v${r}${i.RESET}`,` ${i.FROG}╰───────────╯${i.RESET} ${i.DIM}https://clearcapabilities.com${i.RESET}`,""];process.stdout.write(o.join("\n"))}function effectiveConfidence(t,s){if(s.flags["firehose"])return 0;if(s.flags["honest"])return.9;if(s.flags["confidence"]!=null)return parseFloat(s.flags["confidence"]);return t.confidenceMin??(t.profile==="pro"?.3:.9)}function renderV3Blocks(t,s){const i=[];const r=t.findings||[];if(s["show-personas"]){i.push("\n── Per-attacker-persona top picks ───────────────────────────────");const t=new Map;for(const s of r){if(!Array.isArray(s.personaTopTwo))continue;for(const i of s.personaTopTwo){if(!t.has(i))t.set(i,[]);t.get(i).push(s)}}if(!t.size)i.push(" (no findings carry persona scores yet — rerun /scan)");for(const[s,r]of t){r.sort((t,s)=>(s.personaMaxScore||0)-(t.personaMaxScore||0));i.push(`\n ${s} (${r.length} relevant)`);for(const t of r.slice(0,3)){const s=(t.severity||"").toUpperCase();i.push(` [${s}] ${(t.vuln||"").slice(0,60)} — ${t.file}:${t.line}`)}}}if(s["show-bounty"]){i.push("\n── Predicted bug-bounty payouts ─────────────────────────────────");const t=r.filter(t=>t.predictedBountyUsd);if(!t.length)i.push(" (no findings carry bounty predictions — rerun /scan)");const s=t.slice().sort((t,s)=>(s.predictedBountyUsd.likely||0)-(t.predictedBountyUsd.likely||0));for(const t of s.slice(0,15)){const s=t.predictedBountyUsd;i.push(` $${s.low}-$${s.high} (likely $${s.likely}, ${s.program}) — ${(t.vuln||"").slice(0,50)} ${t.file}:${t.line}`)}}if(s["show-playbook"]){i.push("\n── Attack playbooks (high+ findings only) ───────────────────────");const t=r.filter(t=>t.attackPlaybook);if(!t.length)i.push(" (no high+/critical findings to show playbooks for)");for(const s of t.slice(0,5)){const t=s.attackPlaybook;i.push(`\n ${t.cwe} — ${t.title} (${s.file}:${s.line})`);i.push(" ────────────────────────────────────");i.push(t.script.split("\n").map(t=>" "+t).join("\n"))}}if(s["show-spof"]){i.push("\n── Single-point-of-failure controls (counterfactual) ────────────");const s=t._v3?.counterfactual?.spofControls||[];if(!s.length)i.push(" (no SPOF controls detected — either no controls or no clusters of high+ findings depend on one)");for(const t of s.slice(0,10)){i.push(` ${t.control} @ ${t.location} — would expose ${t.wouldExpose} high+ findings if removed`)}}if(s["show-trust-boundary"]){i.push("\n── Trust-boundary diagram (Mermaid) ─────────────────────────────");const s=t._v3?.trustBoundaryDiagram;if(!s)i.push(" (no diagram — rerun /scan)");else{i.push(" ```mermaid");i.push(s.mermaid.split("\n").map(t=>" "+t).join("\n"));i.push(" ```")}}if(s["show-threat-model"]){i.push("\n── Auto-generated STRIDE threat model ───────────────────────────");const s=t._v3?.threatModel;if(!s)i.push(" (no threat model — rerun /scan)");else{i.push(` Assets: ${s.summary.assetCount} Trust boundaries: ${s.summary.boundaryCount}`);for(const[t,r]of Object.entries(s.summary.strideCounts)){i.push(` ${t.padEnd(22)} ${r}`)}}}if(s["show-drift"]){i.push("\n── Calibration-drift alarms ─────────────────────────────────────");const s=t._v3?.calibrationDrift;const r=s?.alarms||[];if(!r.length)i.push(" (no drift detected — confidence matches realized accuracy within threshold)");for(const t of r){i.push(` ${t.family}: reported ${(t.reportedAccuracy*100).toFixed(0)}% vs realized ${(t.realizedAccuracy*100).toFixed(0)}% (N=${t.sampleSize})`);i.push(` ${t.recommendation}`)}}return i.join("\n")}function _bundleSha(){const t=l.dirname(new URL(import.meta.url).pathname);try{const s=a.readFileSync(l.join(t,"agentic-security.mjs.sha256"),"utf8").trim();const i=/^([0-9a-f]{64})\b/.exec(s);if(i)return i[1]}catch{}return"unavailable"}async function writeMachineOutput(t,s,r,a,u){const p=(0,H.Pn)(t);const{isSafeStateDir:f,stateWritesEnabled:h}=await Promise.resolve().then(i.bind(i,31174));if(!h()||!f(p)){if(process.env.AGENTIC_SECURITY_DEBUG==="1")process.stderr.write(`[agentic-security] refusing to write machine output at ${p} — no project marker\n`);return}await o.mkdir(p,{recursive:true});await _writeStateNoFollow(l.join(p,"findings.json"),JSON.stringify((0,x.U2)(s,r),null,2));if(a.profile==="pro"||a.machineOutput||u&&u.flags["machine-output"]){await _writeStateNoFollow(l.join(p,"findings.sarif"),JSON.stringify((0,x.$l)(s,r),null,2));await _writeStateNoFollow(l.join(p,"findings.csv"),(0,x._O)(s))}}function parseArgs(t){const s={_:[],flags:{}};for(let i=0;i<t.length;i++){const r=t[i];if(r.startsWith("--")){const[a,o]=r.slice(2).split("=",2);if(o!==undefined){s.flags[a]=o;continue}const l=t[i+1];if(l&&!l.startsWith("--")){s.flags[a]=l;i++}else s.flags[a]=true}else{s._.push(r)}}return s}const ee=new Set(["standard","deep"]);function parseProvenanceFlags(t){const s={mode:"standard",since:null,timeoutMs:undefined,includeEmail:false,pseudonymize:false,requireProvenance:false,disabled:true,warning:null};const i=[];for(let r=0;r<t.length;r++){const a=t[r];if(typeof a!=="string"||!a.startsWith("--"))continue;const o=a.indexOf("=");const l=o===-1?a:a.slice(0,o);const u=o===-1?undefined:a.slice(o+1);const takeValue=()=>{if(u!==undefined)return u;const s=t[r+1];if(s!==undefined&&!String(s).startsWith("--")){r++;return s}return undefined};if(l==="--no-provenance")s.disabled=true;else if(l==="--provenance"){s.disabled=false;const a=u!==undefined?u:ee.has(String(t[r+1]))?t[++r]:undefined;if(a==="deep"||a==="standard"||a===undefined){s.mode=a||"standard"}else{i.push(`unrecognised --provenance mode '${a}' (expected standard|deep), running standard`)}}else if(l==="--provenance-since"){s.since=takeValue()??null;s.disabled=false}else if(l==="--provenance-timeout"){const t=takeValue();if(t===undefined){i.push("--provenance-timeout requires a value in milliseconds; using the default budget")}else if(!/^\d+$/.test(String(t).trim())||parseInt(t,10)<=0){i.push(`--provenance-timeout expects a positive integer number of MILLISECONDS, got '${t}'; using the default budget`)}else{s.timeoutMs=parseInt(t,10);s.disabled=false}}else if(l==="--include-author-email"){s.includeEmail=true;s.disabled=false}else if(l==="--pseudonymize-authors"){s.pseudonymize=true;s.disabled=false}else if(l==="--require-provenance"){s.requireProvenance=true;s.disabled=false}}s.warning=i.length?i.join("; "):null;return s}async function cmdScan(t){if(t.flags["no-state"]){const{setStateWritesEnabled:t}=await Promise.resolve().then(i.bind(i,31174));t(false)}const s=t._[1]||".";const r=l.resolve(s);const u=loadPersonaProfile(r,t);const p=t.flags.format||(u.profile==="pro"?"cli":"ship");if(!Y.has(String(p))){process.stderr.write(`agentic-security scan: unsupported --format ${JSON.stringify(String(p))}. Supported: ${[...Y].join(" | ")}.\n`);return 2}const I=!!t.flags.verbose;const L=t.flags.output;const F=!!t.flags["no-network"];if(F)process.env.AGENTIC_SECURITY_OFFLINE="1";if(t.flags["deterministic"]){process.env.AGENTIC_SECURITY_DETERMINISTIC="1";process.env.AGENTIC_SECURITY_OFFLINE="1";const t=(0,D.Pz)(r);if(!t.ok){process.stderr.write(`[deterministic] lockfile mismatch:\n - ${t.mismatches.join("\n - ")}\n`);process.stderr.write(`[deterministic] run \`agentic-security rules lock\` to refresh.\n`);return 4}}if(t.flags["watch"]){process.env.AGENTIC_SECURITY_INCREMENTAL="1";const{watchProject:t,computeDelta:s,persistStatus:a,renderStatusLine:o}=await i.e(9220).then(i.bind(i,19220));process.stderr.write(`[watch] scanning ${r} on change — Ctrl-C to stop. Status → .agentic-security/watch-status.md\n`);const l=await(0,m.runScan)(r,{onProgress:scanProgressReporter()});clearScanProgressLine();let u=l.scan.findings||[];await t(r,async()=>{try{const{scan:t}=await(0,m.runScan)(r,{onProgress:scanProgressReporter()});clearScanProgressLine();const i=t.findings||[];const l=s(u,i);a(r,l);process.stderr.write("[watch] "+o(l)+"\n");u=i}catch(t){process.stderr.write(`[watch] rescan failed: ${t.message}\n`)}});return 0}const M=!!(t.flags["pr"]||t.flags["changed-since"]);if(t.flags["incremental"]||process.env.AGENTIC_SECURITY_INCREMENTAL==="1"||M){process.env.AGENTIC_SECURITY_INCREMENTAL="1"}if(t.flags["no-deep"])process.env.AGENTIC_SECURITY_DEEP="0";else if(t.flags["deep"])process.env.AGENTIC_SECURITY_DEEP="1";else if(process.env.AGENTIC_SECURITY_DEEP==null||process.env.AGENTIC_SECURITY_DEEP===""){const t=!!(process.env.CI||process.env.GITHUB_ACTIONS||process.env.GITLAB_CI||process.env.BUILDKITE||process.env.CIRCLECI||process.env.JENKINS_URL);if(!t)process.env.AGENTIC_SECURITY_DEEP="1"}let B=t.flags["changed-since"]||null;if(t.flags["pr"]){const s=t.flags["pr"];B=typeof s==="string"&&s!=="true"?s:detectBaseline()||"origin/main";process.stderr.write(`[pr-mode] scanning files changed since: ${B}\n`)}const W=parseProvenanceFlags(process.argv.slice(2));if(W.warning)console.error(`Warning: ${W.warning}`);if(W.disabled)process.env.AGENTIC_SECURITY_NO_PROVENANCE="1";process.env.AGENTIC_SECURITY_PROVENANCE_MODE=W.mode;if(W.since)process.env.AGENTIC_SECURITY_PROVENANCE_SINCE=W.since;if(W.timeoutMs)process.env.AGENTIC_SECURITY_PROVENANCE_TIMEOUT_MS=String(W.timeoutMs);if(W.includeEmail)process.env.AGENTIC_SECURITY_INCLUDE_AUTHOR_EMAIL="1";if(W.pseudonymize)process.env.AGENTIC_SECURITY_PSEUDONYMIZE_AUTHORS="1";const{scan:U,meta:V}=await(0,m.runScan)(s,{changedSince:B,onProgress:scanProgressReporter()});if(W.requireProvenance){const t=[];for(const[s,i]of[["findings",U.findings],["secrets",U.secrets],["supplyChain",U.supplyChain],["logicVulns",U.logicVulns]]){for(const r of i||[]){if(!r||typeof r!=="object")continue;if((0,h.lL)(r.findingProvenance))continue;t.push(r.id||r.stableId||`${s}:${r.name||r.file||r.type||"entry"}`)}}if(t.length>0){const s=`--require-provenance: ${t.length} finding(s) have unresolved provenance`;U.scanHealth={...U.scanHealth||{},conditions:[...Array.isArray(U.scanHealth?.conditions)?U.scanHealth.conditions:[],s],status:(U.scanHealth?.status??"complete")==="complete"?"partial":U.scanHealth.status,provenanceIncomplete:t}}}if(V&&V.engineVersion==null)V.engineVersion=J;clearScanProgressLine();const K=t.flags.only;if(K){if(K==="sast"){U.secrets=[];U.supplyChain=[]}if(K==="sca"){U.findings=[];U.secrets=[];U.logicVulns=[]}if(K==="secrets"){U.findings=[];U.supplyChain=[];U.logicVulns=[]}}const G=(0,H.statePath)(s||".","baseline.json");if(t.flags["set-baseline"]){const{normalizeFindings:t}=await Promise.resolve().then(i.bind(i,75917));const s=new Set(t(U).map(t=>t.stableId||t.id));for(const t of["secrets","supplyChain","logicVulns"])for(const i of U[t]||[])if(i&&typeof i.id==="string"&&i.id.includes(":"))s.add(i.id);a.mkdirSync(l.dirname(G),{recursive:true});a.writeFileSync(G,JSON.stringify({ids:[...s],createdAt:(new Date).toISOString(),count:s.size},null,2));process.stderr.write(`[baseline] saved ${s.size} findings as baseline\n`)}if(t.flags["since-baseline"]&&a.existsSync(G)){try{const t=JSON.parse(a.readFileSync(G,"utf8"));const s=new Set(t.ids||[]);const r=U.findings.length;U.findings=(U.findings||[]).filter(t=>!s.has(t.stableId||t.id));const{normalizeFindings:o}=await Promise.resolve().then(i.bind(i,75917));const l={findings:[],secrets:[],supplyChain:[],logicVulns:[],suppressions:[],components:[],routes:[],filesScanned:0};for(const t of["secrets","supplyChain","logicVulns"]){if(!Array.isArray(U[t]))continue;U[t]=U[t].filter(i=>{if(!i)return true;let r=i.stableId||i.id;try{const s=o({...l,[t]:[i]})[0];if(s)r=s.stableId||s.id}catch{}return!s.has(r)&&!(typeof i.id==="string"&&i.id.includes(":")&&s.has(i.id))})}process.stderr.write(`[baseline] filtered ${r-U.findings.length} baseline findings, ${U.findings.length} new\n`)}catch{}}if(t.flags["hide-proven-safe"]){const t=(U.findings||[]).length;U.findings=(U.findings||[]).filter(t=>!t.provablySafe);process.stderr.write(`[proof] hid ${t-(U.findings||[]).length} provably-safe finding(s)\n`)}if(t.flags["secret-history"]){try{const{sweepGitHistory:s}=await i.e(1444).then(i.bind(i,51444));const{scanCredentials:a}=await i.e(4384).then(i.bind(i,74384));const o=parseInt(t.flags["history-depth"]||"50",10);const l=s(r,a,{maxCommits:o});if(l.length){U.secrets=[...U.secrets||[],...l];process.stderr.write(`[secret-history] ${l.length} secret(s) found in the last ${o} commits — rotate even if removed from HEAD\n`)}else{process.stderr.write(`[secret-history] no secrets found in the last ${o} commits\n`)}}catch(t){if(process.env.AGENTIC_SECURITY_DEBUG==="1")process.stderr.write(`[secret-history] ${t&&t.message}\n`)}}if(t.flags["scorecard"])process.env.AGENTIC_SECURITY_SCORECARD="1";if(t.flags["sca-reachable-only"]){U.supplyChain=(U.supplyChain||[]).filter(t=>t.functionReachable==="reachable"||t.functionReachable!=="unreachable")}const X=effectiveConfidence(u,t);const Q={...u,confidenceMin:X};U.findings=(0,P.px)(U.findings||[],r,u);U.secrets=(0,P.px)(U.secrets||[],r,u);U.logicVulns=(0,P.px)(U.logicVulns||[],r,u);U.supplyChain=(0,P.px)(U.supplyChain||[],r,u);U.findings=(0,$.iu)(U.findings||[],r);U.secrets=(0,$.iu)(U.secrets||[],r);U.logicVulns=(0,$.iu)(U.logicVulns||[],r);try{const t=(0,$.Y2)(r);if(t){U.suppressedRules=t;const s=(0,$.Qv)(t);if(s)process.stderr.write(`⚠️ agentic-security: ${s}\n`)}}catch{}const Z=t.flags.pack;const ee=Z?Array.isArray(Z)?Z:String(Z).split(","):[];if(ee.length)Object.assign(U,(0,O.ld)(U,ee));try{const{fileContents:t}=await Promise.resolve().then(i.bind(i,45950)).then(t=>t.readTree(r));const s=(0,R.hr)(r,t);if(s.length){U.findings=[...U.findings||[],...s];if(process.stderr.isTTY){process.stderr.write(`[custom-rules] +${s.length} finding(s) from ${(0,R.Lh)(r).length} rule(s)\n`)}}}catch{}if(U.scanHealth){try{const{applyFreshness:t}=await Promise.resolve().then(i.bind(i,74839));U.scanHealth=t(U.scanHealth,{customRules:(0,R.MP)(r)})}catch{}}if(!t.flags["no-epss"]&&!(0,D.Dh)()&&!F){try{await(0,N.H4)(U)}catch{}}try{const{annotateRiskDollars:t}=await Promise.resolve().then(i.bind(i,94488));t(r,U.findings||[])}catch{}try{const{annotateCompositeRisk:t}=await Promise.resolve().then(i.bind(i,18812));t(U.findings||[]);t(U.supplyChain||[])}catch{}if(!t.flags["no-blast-radius"]){try{(0,j.I)(U,r)}catch{}}if(t.flags["exposed-only"]){U.findings=(U.findings||[]).filter(t=>t.mitigationVerdict==="exposed-in-prod"||!t.mitigationVerdict);U.supplyChain=(U.supplyChain||[]).filter(t=>t.mitigationVerdict==="exposed-in-prod"||!t.mitigationVerdict)}if(t.flags["mitigated-only"]){U.findings=(U.findings||[]).filter(t=>t.mitigationVerdict==="mitigated-in-prod");U.supplyChain=(U.supplyChain||[]).filter(t=>t.mitigationVerdict==="mitigated-in-prod")}if(t.flags["unreachable-only"]){U.findings=(U.findings||[]).filter(t=>t.mitigationVerdict==="unreachable-in-prod");U.supplyChain=(U.supplyChain||[]).filter(t=>t.mitigationVerdict==="unreachable-in-prod")}if(t.flags["persona"]){const s=String(t.flags["persona"]);U.findings=(U.findings||[]).filter(t=>Array.isArray(t.personaTopTwo)&&t.personaTopTwo.includes(s))}if((0,D.Dh)())(0,D.je)(U,V);try{const{computeRunAttestation:t}=await i.e(9207).then(i.bind(i,9207));const{keyProvenance:s}=await Promise.resolve().then(i.bind(i,71130));const{effectiveVersion:a}=await Promise.resolve().then(i.bind(i,6998));U.attestation=t({findings:(0,x.normalizeFindings)(U),engineVersion:J,rulesetVersion:a(r).version,bundleSha:_bundleSha(),root:r,sign:true});if(U.attestation)U.attestation.keyProvenance=s()}catch{}await writeMachineOutput(r,U,V,u,t);const te=!!t.flags["include-suppressed"];let ne;if(p==="json")ne=JSON.stringify((0,x.U2)(U,V,{includeSuppressed:te}),null,2);else if(p==="md"||p==="markdown")ne=(0,x.l6)(U,V);else if(p==="sarif")ne=JSON.stringify((0,x.$l)(U,V),null,2);else if(p==="oscal")ne=JSON.stringify((0,k.i1)(U,V),null,2);else if(p==="stix")ne=JSON.stringify((0,x.IE)(U,V),null,2);else if(p==="junit")ne=(0,x.U5)(U,V);else if(p==="csv")ne=(0,x._O)(U);else if(p==="html")ne=(0,x.FE)(U,V);else if(p==="cyclonedx"||p==="sbom")ne=JSON.stringify((0,_.V)(U,V),null,2);else if(p==="spdx")ne=JSON.stringify((0,_.L)(U,V),null,2);else if(p==="vex"||p==="openvex")ne=JSON.stringify((0,x.zO)(U,V),null,2);else if(p==="pbom")ne=JSON.stringify((0,T.Cj)(U.fc||{},V,{languageBuild:(await Promise.all([i.e(6359),i.e(3531)]).then(i.bind(i,33531))).languagePbom({...U.fc||{},...U.depFileContents||{}})}),null,2);else if(p==="aibom")ne=JSON.stringify((0,C.hY)(U,U.fc||{},{...V,manifests:U.depFileContents||{}}),null,2);else if(p==="mlbom")ne=JSON.stringify((0,C.IK)((0,C.hY)(U,U.fc||{},{...V,manifests:U.depFileContents||{}}),V),null,2);else if(p==="aibom-md")ne=(0,C.dx)((0,C.hY)(U,U.fc||{},{...V,manifests:U.depFileContents||{}}));else if(p==="ship")ne=(0,x.FL)(U,{profile:Q});else if(p==="pro")ne=(0,x.Tz)(U,{profile:Q,columns:t.flags.columns});else if(p==="cli")ne=(0,x.sn)(U,{profile:Q,columns:t.flags.columns,verbose:I});else ne=(0,x.mC)(U);if(t.flags.firehose&&(!p||p==="ship"||p==="summary")){const t=!W.disabled&&process.env.AGENTIC_SECURITY_NO_PROVENANCE!=="1";ne+="\n\n"+(0,x.yF)(U,{verbose:I,provenance:I&&t})}if(p==="cli"||p==="ship"||p==="pro"||p==="md"||p==="markdown"){ne+=renderV3Blocks(U,t.flags)}if(L)await o.writeFile(L,ne);else writeStdout(ne+"\n");const{isSafeStateDir:se,stateWritesEnabled:ie}=await Promise.resolve().then(i.bind(i,31174));const re=(0,H.Pn)(l.resolve(s));let ae=null;if(ie()&&se(re)){await o.mkdir(re,{recursive:true});ae=(0,x.U2)(U,V);delete ae.lineageGraph;if(!t.flags.deterministic){try{const{stampFindingTimestamps:t,buildBaselineMap:s,renderSlaSummary:r,fingerprintFinding:a,computeMTTR:u}=await i.e(5830).then(i.bind(i,95830));let f=new Map;let h=[];try{const t=JSON.parse(await o.readFile(l.join(re,"last-scan.json"),"utf8"));f=s(t);h=[...t?.findings||[],...t?.secrets||[],...(t?.supplyChain||[]).filter(t=>t.type==="vulnerable_dep")]}catch{}const m=Date.now();t(ae.findings||[],f,m);t(ae.secrets||[],f,m);t((ae.supplyChain||[]).filter(t=>t.type==="vulnerable_dep"),f,m);const g=new Set([...ae.findings||[],...ae.secrets||[],...(ae.supplyChain||[]).filter(t=>t.type==="vulnerable_dep")].map(a));const x=h.filter(t=>!g.has(a(t)));ae.mttr=u(x);const k=isMachineFormat(p);if(!k){const t=r(ae.findings||[]);if(t)process.stderr.write(`⏰ agentic-security: ${t}\n`);if(ae.mttr.count>0){process.stderr.write(`✅ agentic-security: ${ae.mttr.count} finding(s) fixed since last scan, median ${Math.round(ae.mttr.medianDays)}d to remediate\n`)}}}catch(t){if(process.env.AGENTIC_SECURITY_MTTR_DEBUG==="1"||process.env.CI||process.env.GITHUB_ACTIONS){process.stderr.write(`agentic-security: MTTR computation failed (best-effort, scan unaffected): ${t&&t.stack||t}\n`)}}try{const{fixDurationReport:t,renderFixDurationSummary:r}=await Promise.resolve().then(i.bind(i,32238));const a=t(l.resolve(s));if(a.attempts>0){ae.fixMetrics=a;const t=isMachineFormat(p);const s=r(a);if(!t&&s)process.stderr.write(`🔧 agentic-security: ${s}\n`)}}catch{}}if(t.flags["validate-secrets"]||process.env.AGENTIC_SECURITY_VALIDATE_SECRETS==="1"){try{const{checkSecretLive:t}=await i.e(9801).then(i.bind(i,49801));let s=0;for(const i of ae.secrets||[]){const{verdict:r,provider:a}=await t(i);i.liveVerdict=r;if(a)i.liveProvider=a;if(r==="live")s++}if(s>0)process.stderr.write(`🔴 agentic-security: ${s} LIVE secret(s) validated — rotate immediately (even if already removed from HEAD).\n`)}catch{}}const a=JSON.stringify(ae,null,2);await _writeStateNoFollow(l.join(re,"last-scan.json"),a);try{await _writeStateNoFollow(l.join(re,"last-scan.json.sig"),(0,f.lU)(a))}catch{}try{const{persistLanguageArtifacts:t}=await i.e(6333).then(i.bind(i,78714));t(l.resolve(s),{...U,scanHealth:ae.scanHealth||U.scanHealth})}catch{}if(U.lineageGraph){try{const t=JSON.stringify(U.lineageGraph,null,2);await _writeStateNoFollow(l.join(re,"lineage-graph.json"),t);try{await _writeStateNoFollow(l.join(re,"lineage-graph.json.sig"),(0,f.lU)(t))}catch{}}catch{}try{(0,g.HR)(U.lineageGraph,r)}catch{}}}else{if(process.env.AGENTIC_SECURITY_DEBUG==="1")process.stderr.write(`[agentic-security] refusing to write state at ${re} — no project marker in ${l.resolve(s)}\n`)}try{const t=ae!==null?(0,A.zf)(re,ae):null;if(t&&process.stderr.isTTY&&!isMachineFormat(p)){const s=(0,A.L9)(t);const i=(0,A.KR)(t);if(s)process.stderr.write("\n"+s+"\n");if(i)process.stderr.write("🛡️ "+i+"\n")}}catch{}return(0,x.Rr)(U)}async function cmdShip(t){const s=t._[1]||".";t.flags.format="ship";const i=await cmdScan(t);return i>=4?i:0}function detectBaseline(){return process.env.GITHUB_BASE_REF||process.env.CI_MERGE_REQUEST_TARGET_BRANCH_NAME||process.env.BUILDKITE_PULL_REQUEST_BASE_BRANCH||process.env.BITBUCKET_PR_DESTINATION_BRANCH||null}function ciExitCode(t,s){switch(s){case"none":return 0;case"critical":default:return t>=3?1:0;case"high":return t>=2?1:0;case"medium":case"low":return t>=1?1:0}}async function cmdCi(t){const s=t._[1]||".";const r=l.resolve(s);const a=t.flags["fail-on"]||"critical";const u=t.flags.baseline||detectBaseline();if(u)process.stderr.write(`[ci] baseline: ${u}\n`);else process.stderr.write(`[ci] full scan (no baseline ref detected)\n`);const p=loadPersonaProfile(r,t);const{scan:f,meta:h}=await(0,m.runScan)(s,{changedSince:u||null,onProgress:scanProgressReporter()});clearScanProgressLine();f.findings=(0,P.px)(f.findings||[],r,p);f.secrets=(0,P.px)(f.secrets||[],r,p);f.logicVulns=(0,P.px)(f.logicVulns||[],r,p);f.supplyChain=(0,P.px)(f.supplyChain||[],r,p);f.findings=(0,$.iu)(f.findings||[],r);f.secrets=(0,$.iu)(f.secrets||[],r);f.logicVulns=(0,$.iu)(f.logicVulns||[],r);const g=t.flags.pack;const k=g?Array.isArray(g)?g:String(g).split(","):[];if(k.length)Object.assign(f,(0,O.ld)(f,k));try{const{computeRunAttestation:t}=await i.e(9207).then(i.bind(i,9207));const{keyProvenance:s}=await Promise.resolve().then(i.bind(i,71130));const{effectiveVersion:a}=await Promise.resolve().then(i.bind(i,6998));f.attestation=t({findings:(0,x.normalizeFindings)(f),engineVersion:J,rulesetVersion:a(r).version,bundleSha:_bundleSha(),root:r,sign:true});if(f.attestation)f.attestation.keyProvenance=s()}catch{}const _=(0,H.Pn)(r);const{isSafeStateDir:T,stateWritesEnabled:C}=await Promise.resolve().then(i.bind(i,31174));const A=C()&&T(_);if(!A){if(process.env.AGENTIC_SECURITY_DEBUG==="1")process.stderr.write(`[agentic-security] refusing to write CI artifacts at ${_} — no project marker\n`)}else{await o.mkdir(_,{recursive:true});await _writeStateNoFollow(l.join(_,"findings.json"),JSON.stringify((0,x.U2)(f,h),null,2));await _writeStateNoFollow(l.join(_,"findings.sarif"),JSON.stringify((0,x.$l)(f,h),null,2));await _writeStateNoFollow(l.join(_,"findings.junit.xml"),(0,x.U5)(f,h))}const I=(0,x.Rr)(f);const D=(0,x.normalizeFindings)(f);const N={critical:0,high:0,medium:0,low:0,info:0};for(const t of D)N[t.severity]=(N[t.severity]||0)+1;const j=f.scanHealth;const R=j&&j.status&&j.status!=="complete"?`[ci] ⚠ scan-health=${j.status} — ${(j.conditions||[])[0]||"analysis did not complete cleanly"}${(j.conditions||[]).length>1?` (+${j.conditions.length-1} more)`:""}\n`:`[ci] scan-health=${j&&j.status?j.status:"unknown"}\n`;process.stderr.write(`[ci] ${D.length} findings — ${N.critical} critical · ${N.high} high · ${N.medium} medium · ${N.low} low · ${N.info} info\n`+R+(A?`[ci] artifacts: .agentic-security/findings.{json,sarif,junit.xml}\n`:`[ci] artifacts: NOT written (state writes refused — set AGENTIC_SECURITY_DEBUG=1 for the reason)\n`)+`[ci] fail-on=${a} scan-exit=${I}\n`);const L=t.flags.policy;if(L){const{evaluatePolicy:t}=await i.e(7227).then(i.bind(i,67227));const s=t(l.resolve(L),D);if(!s.ok){console.error(`[ci] policy gate error: ${s.reason||"unknown"}`);return 1}if(s.denials.length){console.error(`[ci] policy gate FAILED (${s.runner}, ${s.denials.length} denial(s)):`);for(const t of s.denials.slice(0,20))console.error(` - ${t}`);return 1}process.stderr.write(`[ci] policy gate PASSED (${s.runner}, 0 denials)\n`)}const{evaluateAssuranceMode:F,ASSURANCE_MODES:M,DEFAULT_ASSURANCE_MODE:B}=await i.e(4970).then(i.bind(i,94970));const W=t.flags.assurance||B;if(!M.includes(W)){console.error(`[ci] --assurance must be one of: ${M.join("|")} (got '${W}')`);return 1}const U=F(W,f.scanHealth,D);if(!U.ok){console.error(`[ci] assurance gate FAILED (mode=${W}): ${U.reason}`);return 1}if(W==="strict")process.stderr.write(`[ci] assurance gate PASSED (mode=strict)\n`);if(t.flags["fail-on-new"]){const t=u;if(!t){process.stderr.write("[ci] --fail-on-new requires a baseline ref (--baseline <ref> or a CI base-branch env var)\n");return 1}try{const{computePrDelta:r,netNewGate:o}=await i.e(5637).then(i.bind(i,55637));const l=await r(s,{baseRef:t});const u=o(l,a);process.stderr.write(`[ci] net-new vs ${t}: +${l.introduced.length} introduced · -${l.resolved.length} resolved · ${l.persistent.length} pre-existing (not gated)\n`+`[ci] net-new gate fail-on=${a} → ${u.fail?"FAIL":"pass"}${u.blocked.length?" ("+u.blocked.length+" blocking)":""}\n`);for(const t of u.blocked.slice(0,20))process.stderr.write(` + [${(t.severity||"").toUpperCase()}] ${t.vuln||t.type} ${t.file}:${t.line}\n`);return u.fail?1:0}catch(t){process.stderr.write(`[ci] net-new gate error: ${t&&t.message||t} — falling back to full --fail-on gate\n`)}}return ciExitCode(I,a)}async function cmdAccept(t){const s=l.resolve(t._[1]||".");const i=t.flags.finding;if(!i){console.error("--finding <id> required");return 4}const r=t.flags.reason||"vibecoded for now";const u=(0,H.statePath)(s,"findings.json");if(!a.existsSync(u)){console.error("No prior scan found. Run `agentic-security scan` first.");return 4}const p=JSON.parse(await o.readFile(u,"utf8"));const f=(p.findings||[]).find(t=>t.id===i);if(!f){console.error(`Finding ${i} not found.`);return 4}if(f.severity==="critical"&&!t.flags["accept-critical"]){console.error("Cannot soft-accept a CRITICAL finding without --accept-critical.");return 4}const h=(0,P.zY)(s,f,r);console.log(`✓ Accepted finding ${i} until ${h}.`);console.log(` ${I.ow}`);return 0}async function cmdProfile(t){const s=l.resolve(t._[2]||".");const i=t._[1];if(i==="show"){const t=(0,I.iH)(s);console.log(`Profile: ${t.profile}`);console.log(` confidence threshold: ${t.confidenceMin}`);console.log(` taxonomy visible: ${t.showTaxonomy}`);console.log(` suppression schema: ${t.suppression}`);console.log(` machine output: ${t.machineOutput?"always":"on-request"}`);console.log(` ${I.ow}`);return 0}if(i==="set"){const i=t._[2];if(i!=="vibecoder"&&i!=="pro"){console.error("profile set <vibecoder|pro>");return 4}const r=(0,I.Lt)(s,{profile:i});console.log(`✓ Profile set to: ${r.profile}`);return 0}if(i==="detect"){const t=(0,I.lt)(s);console.log(`Detected profile: ${t}`);return 0}console.error("profile show | profile set <vibecoder|pro> | profile detect");return 4}async function cmdTriage(t){const s=l.resolve(t._[t._.length-1]&&!t._[t._.length-1].startsWith("--")?t._[t._.length-1]:".");const r=t._[1];if(t.flags.explain){const r=String(t.flags.explain);const l=(0,H.statePath)(s,"last-scan.json");if(!a.existsSync(l)){console.error("No prior scan found. Run `agentic-security scan` first.");return 4}const u=JSON.parse(await o.readFile(l,"utf8"));const p=(u.findings||[]).find(t=>t.id===r)||(u.secrets||[]).find(t=>t.id===r);if(!p){console.error(`Finding ${r} not found in last scan.`);return 4}console.log("Deterministic evidence");console.log("-----------------------");console.log(` ${p.vuln||p.title||"finding"} [${p.severity||"unknown"}] ${p.cwe||""}`.trim());console.log(` ${p.file}:${p.line||"?"}`);if(p.description)console.log(` ${p.description}`);const{proposeOllamaExplanation:f,EXPLAIN_ERROR:h}=await i.e(957).then(i.bind(i,957));const m=await f({finding:{file:p.file,line:p.line,vuln:p.vuln,cwe:p.cwe,severity:p.severity,confidence:p.confidence??p.llm_confidence},contextSnippet:p.snippet||"",scanRoot:s});console.log("");if(m.ok){console.log(`Model-generated explanation (${m.model}) — not deterministic evidence`);console.log("-----------------------------------------------------------------------");console.log(` ${m.modelExplanation}`);if(m.confidenceNote)console.log(` (${m.confidenceNote})`)}else if(m.code===h.NOT_CONFIGURED){console.log("(No AI-assisted explanation — configure AGENTIC_SECURITY_LLM_PRESET=ollama for one.)")}else{console.log(`(AI-assisted explanation unavailable: ${m.code} — ${m.reason})`)}return 0}if(t.flags.poc){const r=String(t.flags.poc);const l=(0,H.statePath)(s,"last-scan.json");if(!a.existsSync(l)){console.error("No prior scan found. Run `agentic-security scan` first.");return 4}const u=JSON.parse(await o.readFile(l,"utf8"));const p=(u.findings||[]).find(t=>t.id===r)||(u.secrets||[]).find(t=>t.id===r);if(!p){console.error(`Finding ${r} not found in last scan.`);return 4}console.log("Deterministic evidence");console.log("-----------------------");console.log(` ${p.vuln||p.title||"finding"} [${p.severity||"unknown"}] ${p.cwe||""}`.trim());console.log(` ${p.file}:${p.line||"?"}`);if(p.description)console.log(` ${p.description}`);const{proposeOllamaPoc:f,POC_PROPOSAL_ERROR:h}=await i.e(6994).then(i.bind(i,86994));const m=await f({finding:{file:p.file,line:p.line,vuln:p.vuln,cwe:p.cwe,severity:p.severity},contextSnippet:p.snippet||"",scanRoot:s});console.log("");if(m.ok){console.log(`Model-generated PoC sketch (${m.model}) — unverified, not executed`);console.log("-----------------------------------------------------------------------");console.log(` ${m.pocNarrative}`);if(m.exampleInput)console.log(` Example input: ${m.exampleInput}`);if(m.expectedResult)console.log(` Expected result: ${m.expectedResult}`)}else if(m.code===h.NOT_CONFIGURED){console.log("(No AI-assisted PoC sketch — configure AGENTIC_SECURITY_LLM_PRESET=ollama for one.)")}else{console.log(`(AI-assisted PoC sketch unavailable: ${m.code} — ${m.reason})`)}return 0}if(r==="exploit"||r==="validate"&&t.flags.execution){if(r==="exploit"&&!t.flags.prove){console.error("triage exploit requires --prove (it executes a reproducer in an isolated environment).");return 4}const s=t._[t._.length-1];const a=l.resolve(t.flags.root||(s&&!String(s).startsWith("--")&&s!==t._[1]&&s!==t._[2]?s:"."));return(await i.e(2066).then(i.bind(i,92066))).cmdProve(t,a)}const u=(0,I.iH)(s);if(u.profile!=="pro"){console.error("Triage is a pro-mode feature. Run `agentic-security profile set pro` to enable.");return 4}const p=(0,H.statePath)(s,"findings.json");if(a.existsSync(p)){const t=JSON.parse(await o.readFile(p,"utf8"));W.j(s,t.findings||[],{scanHealth:t.scanHealth||null})}if(r==="list"){const r={};if(t.flags.status)r.state=t.flags.status;if(t.flags.severity)r.severity=t.flags.severity;if(t.flags.assignee)r.assignee=t.flags.assignee;if(t.flags.unassigned)r.unassigned=true;const a=W.p_(s,r);const o=!!t.flags.evidence;const l=o?(await i.e(2199).then(i.bind(i,62199))).latestProof:null;const u=["ID","Severity","State","Assignee","File:Line","Vuln",...o?["Evidence"]:[]].join(" ");console.log(u);console.log("─".repeat(80));for(const t of a.slice(0,50)){const i=o?l(s,t.id)?.record?.state??"none":null;console.log([t.id.slice(0,16),(t.severity||"").padEnd(8),t.state.padEnd(13),(t.assignee||"—").padEnd(20),`${t.file}:${t.line}`.padEnd(40),t.vuln,...o?[i]:[]].join(" "))}return 0}if(r==="assign"){const i=t._[2];const r=t._[3]||t.flags.assignee;if(!i||!r){console.error("triage assign <id> <assignee>");return 4}const a=W.kp(s,i,r);if(!a.ok){console.error(a.error);return 4}console.log(`✓ Assigned ${i} to ${r}`);return 0}if(r==="transition"){const i=t._[2];const r=t._[3];const a=W.kY(s,i,r,t.flags.comment);if(!a.ok){console.error(a.error);return 4}console.log(`✓ ${i} → ${r}`);return 0}if(r==="trend"){const r=parseInt(t.flags.since||"30",10);const a=W.GW(s,r);console.log(`Trend over ${a.sinceDays} days:`);console.log(` Opened: ${a.opened}`);console.log(` Closed: ${a.closed}`);console.log(` Net: ${a.net} (${a.net<=0?"improving":"regressing"})`);console.log(` Open: critical=${a.openBySev.critical} high=${a.openBySev.high} medium=${a.openBySev.medium} low=${a.openBySev.low}`);if(a.medianMttrDays!=null)console.log(` MTTR median: ${a.medianMttrDays.toFixed(1)} days`);console.log(` Total open: ${a.totalOpen}`);const{productionFeedbackReport:o,renderProductionFeedbackSummary:l}=await i.e(1920).then(i.bind(i,61920));const u=o(s,{sinceDays:r});const p=l(u);if(p){console.log("");console.log(p)}return 0}console.error("triage list | assign <id> <assignee> | transition <id> <state> | trend [--since N]");return 4}async function cmdOrgScan(t){const s=t.flags.repos;if(!s){console.error("--repos <path1,path2,...> required");return 4}const i=s.split(",").map(t=>t.trim()).filter(Boolean);const r=parseInt(t.flags.workers||"4",10);const a={scannedAt:(new Date).toISOString(),repos:[]};console.log(`🛡 agentic-security org-scan — ${i.length} repo(s), ${r} worker(s)`);console.log(` created by ClearCapabilities.Com`);console.log("");const l=i.slice();const u=[];while(l.length||u.length){while(u.length<r&&l.length){const t=l.shift();const s=(async()=>{const s=Date.now();try{const{scan:i,meta:r}=await(0,m.runScan)(t);const o={critical:0,high:0,medium:0,low:0,info:0};for(const t of i.findings||[])o[t.severity||"medium"]++;for(const t of i.secrets||[])o[t.severity||"high"]++;a.repos.push({repo:t,scanned:i.filesScanned||0,critical:o.critical,high:o.high,medium:o.medium,low:o.low,elapsed_ms:Date.now()-s});console.log(` ✓ ${t.padEnd(60)} crit=${o.critical} high=${o.high} (${((Date.now()-s)/1e3).toFixed(1)}s)`)}catch(s){a.repos.push({repo:t,error:s.message});console.log(` ✗ ${t.padEnd(60)} ERROR: ${s.message}`)}})();u.push(s);s.finally(()=>{const t=u.indexOf(s);if(t>=0)u.splice(t,1)})}if(u.length)await Promise.race(u)}const p=a.repos.reduce((t,s)=>({critical:t.critical+(s.critical||0),high:t.high+(s.high||0),medium:t.medium+(s.medium||0),low:t.low+(s.low||0)}),{critical:0,high:0,medium:0,low:0});console.log("");console.log("Org-wide summary:");console.log(` Critical: ${p.critical} High: ${p.high} Medium: ${p.medium} Low: ${p.low}`);const f=a.repos.filter(t=>!t.error).sort((t,s)=>s.critical+s.high-(t.critical+t.high)).slice(0,5);if(f.length){console.log("");console.log("Top 5 repos by critical+high:");for(const t of f)console.log(` ${t.repo.padEnd(60)} crit=${t.critical} high=${t.high}`)}const h=t.flags.output||"org-scan-"+(new Date).toISOString().slice(0,10)+".json";await o.writeFile(h,JSON.stringify(a,null,2));console.log(`\nFull rollup: ${h}`);return 0}async function cmdRules(t){const s=t._[1];if(s==="synthesize"||s==="evaluate"||s==="promote"||s==="status"||s==="rollback"||s==="cost"||s==="regress"){return(await Promise.all([i.e(7838),i.e(5937)]).then(i.bind(i,65937))).cmdRules(t,l.resolve(t.flags.root||"."))}const r=l.resolve(t._[2]||".");if(s==="validate"){const t=(0,$.ec)(r);if(t.ok){console.log("✓ rules.yml is valid");return 0}console.error("rules.yml has errors:");for(const s of t.errors)console.error(" - "+s);return 4}if(s==="lock"){const{path:t,lock:s}=(0,D.zv)(r);console.log(`✓ wrote ${t}`);console.log(` scanner: ${s.scannerVersion} rulePackHash: ${s.rulePackHash}`);return 0}console.error("rules validate | rules lock | rules synthesize <finding-id> --spec <file.json> [--auto] | rules evaluate|promote|status|rollback|cost <rule-id>");return 4}async function cmdHarness(t){const s=l.resolve(t._[1]||".");const r=!!t.flags["include-home"];const{discoverHarnessConfigs:a,summarizeHarnessPresence:u}=await i.e(2830).then(i.bind(i,2830));const{scanClaudeSettings:p}=await Promise.resolve().then(i.bind(i,1836));const{scanClaudeMdPromptInjection:f}=await Promise.resolve().then(i.bind(i,58955));const{scanClaudeHookInjection:h}=await Promise.resolve().then(i.bind(i,29106));const{scanMCP:m}=await Promise.resolve().then(i.bind(i,48050));const{scanCredentials:g}=await i.e(4384).then(i.bind(i,74384));const k=await a(s,{includeHome:r});const _=u(k);const T=Object.keys(k).length;process.stderr.write(`[harness] discovered harnesses: ${_.length?_.join(", "):"(none found)"}\n`);process.stderr.write(`[harness] scanning ${T} config file(s)${r?" (incl. ~/)":""}\n`);if(T===0){process.stdout.write("No harness configuration files found.\n");return 0}const C=[];const A=[];for(const[t,s]of Object.entries(k)){try{C.push(...p(t,s))}catch{}try{C.push(...f(t,s))}catch{}try{C.push(...h(t,s))}catch{}try{C.push(...m(t,s))}catch{}try{A.push(...g(t,s))}catch{}}for(const t of C){if(!t.confidence)t.confidence=.9}const I={findings:C,secrets:A,logicVulns:[],supplyChain:[],routes:[],components:[],suppressions:[],filesScanned:T,fc:k};const P={startedAt:(new Date).toISOString(),durationMs:0,mode:"harness"};const $=t.flags.format||"cli";let O;if($==="json")O=JSON.stringify((0,x.U2)(I,P),null,2);else if($==="sarif")O=JSON.stringify((0,x.$l)(I,P),null,2);else if($==="md"||$==="markdown")O=(0,x.l6)(I,P);else if($==="ship")O=(0,x.FL)(I,{profile:{profile:"vibecoder",confidenceMin:0}});else O=(0,x.sn)(I,{profile:{profile:"pro",confidenceMin:0}});if(($==="cli"||$==="ship")&&_.length){O+=`\n\nHarnesses discovered: ${_.join(", ")}${r?" (project + ~/)":" (project only)"}\n`}if(t.flags.output)await o.writeFile(t.flags.output,O);else writeStdout(O+"\n");return(0,x.Rr)(I)}async function cmdScanBaseline(t){const s=t.flags.previous;const r=t.flags.current;if(!s||!r){console.error("Usage: agentic-security scan-baseline --previous <a.json> --current <b.json> [--format cli|json]");return 2}let o,l;try{o=JSON.parse(a.readFileSync(s,"utf8"))}catch(t){console.error(`Cannot read previous scan: ${t.message}`);return 2}try{l=JSON.parse(a.readFileSync(r,"utf8"))}catch(t){console.error(`Cannot read current scan: ${t.message}`);return 2}const{diffScans:u,renderDiff:p}=await i.e(1660).then(i.bind(i,51660));const f=u(o,l);if(t.flags.format==="json"){process.stdout.write(JSON.stringify({summary:{added:f.added.length,removed:f.removed.length,changed:f.changed.length,unchanged:f.unchanged},diff:f},null,2))}else{process.stdout.write(p(f))}const h=f.added.length||f.removed.length||f.changed.length;return h?1:0}async function cmdSecure(t){const s=l.resolve(t._[1]||".");const i=t.flags.launch?"launch":t.flags.deploy?"deploy":null;const r=(0,B.LD)({scanRoot:s,intent:i});process.stdout.write((0,B.WE)(r));if(t.flags.json)process.stdout.write(JSON.stringify(r,null,2)+"\n");if(t.flags.run&&/^agentic-security /.test(r.command)){process.stderr.write(`\n[secure] running: ${r.command}\n`);const t=r.command.replace(/^agentic-security /,"").split(" ");process.argv=[process.argv[0],process.argv[1],...t];return main()}return 0}async function cmdTickets(t){const s=t._[1];const r=l.resolve(t.flags.root||".");if(s==="sync"){const s=t.flags.provider;if(!s){console.error("--provider github|linear|jira required");return 4}const i=await(0,M.F)({scanRoot:r,provider:s,severity:t.flags.severity||"high",repo:t.flags.repo,teamId:t.flags["team-id"],dryRun:!!t.flags["dry-run"]});if(!i.ok){console.error(i.error);return 4}console.log(`✓ tickets sync (${s}${t.flags["dry-run"]?", dry-run":""})`);console.log(` created: ${i.created.length} closed: ${i.closed.length} failed: ${i.failed.length} tracked: ${i.totalTracked}`);for(const t of i.created.slice(0,10))console.log(` + ${t.externalId||"(dry-run)"} ${t.id}`);for(const t of i.closed.slice(0,10))console.log(` ↩ ${t.externalId||"(dry-run)"} ${t.id}`);for(const t of i.failed.slice(0,10))console.log(` ✗ ${t.id} ${t.error}`);return i.failed.length?1:0}if(s==="list"){const{readState:t}=await Promise.resolve().then(i.bind(i,18189));const s=t(r);const a=Object.entries(s);if(!a.length){console.log("No tracked tickets.");return 0}for(const[t,s]of a){console.log(` ${s.state.padEnd(7)} ${s.provider.padEnd(7)} ${s.externalUrl||s.externalId} ${t}`)}return 0}console.error("Usage: agentic-security tickets sync --provider <github|linear|jira> [--repo OWNER/REPO] [--team-id ID] [--severity high|critical] [--dry-run]");return 4}async function cmdRule(t){const s=t._[1];if(s==="test"){const s=t._[2];if(!s){console.error("Usage: agentic-security rule test <fixture-glob>");return 4}const i=l.resolve(t.flags.root||".");const r=await(0,R.rt)(i,s);return r.ok?0:4}if(s==="list"){const s=l.resolve(t.flags.root||".");const i=(0,R.Lh)(s);if(!i.length){console.log(`No custom rules in ${l.join(s,".agentic-security/rules/")}.`);return 0}for(const t of i)console.log(` ${t.id} [${t.severity}] ${t.title}`);return 0}console.error("Usage: agentic-security rule test <glob> | rule list");return 4}async function cmdValidatorCache(t){const s=t._[1]||"help";const r=l.resolve(t._[2]||".");const u=(0,H.statePath)(r,"llm-cache");if(!a.existsSync(u)){console.log(`No validator cache at ${u}`);return 0}if(s==="list"||s==="stats"){const t=await o.readdir(u);let s=0,i=0;for(const r of t){if(!r.endsWith(".json"))continue;try{const t=await o.stat(l.join(u,r));s++;i+=t.size}catch{}}console.log(`validator cache: ${s} entries, ${(i/1024).toFixed(1)} KB at ${u}`);return 0}if(s==="gc"||s==="prune"){const s=parseInt(t.flags["older-than"]||"30",10);const r=!!t.flags["dry-run"];const a=Date.now()-s*24*60*60*1e3;const{PROMPT_VERSION:p}=await Promise.resolve().then(i.bind(i,27865));if(!p){console.error("agentic-security: validator module did not export PROMPT_VERSION — refusing to GC (would prune everything).");return 4}const f=p;const h=await o.readdir(u);let m=0,g=0,x=0;for(const t of h){if(!t.endsWith(".json"))continue;const s=l.join(u,t);let i,p;try{i=await o.stat(s)}catch{continue}try{p=JSON.parse(await o.readFile(s,"utf8"))}catch{p=null}const h=i.mtimeMs<a;const k=p&&f&&p.prompt_version&&p.prompt_version!==f;if(h||k){if(!r){try{await o.unlink(s)}catch{}}m++;x+=i.size}else{g++}}console.log(`${r?"[dry-run] would remove":"removed"} ${m} entries (${(x/1024).toFixed(1)} KB), kept ${g}.`);return 0}console.error("Usage: agentic-security validator-cache <stats|gc> [path] [--older-than <days>] [--dry-run]");return 4}async function cmdModels(t){const s=t._[1]||"status";const{ollamaEndpointConfig:r,listOllamaModels:a,DEFAULT_OLLAMA_HOST:o}=await Promise.resolve().then(i.bind(i,23837));const{classifyModelFamily:l,capabilitiesFromFamilyHint:u,detectSystemMemory:p,detectMemoryTier:f,recommendAdmission:h,MEMORY_PROFILES:m}=await i.e(4399).then(i.bind(i,54399));const{getModelCapabilities:g}=await i.e(7039).then(i.bind(i,27039));const{resolveProvider:x}=await Promise.resolve().then(i.bind(i,38947));const k=!!t.flags.probe;const _=!!t.flags.force;const T={};if(t.flags.host)T.AGENTIC_SECURITY_OLLAMA_HOST=String(t.flags.host);if(t.flags["allow-remote-ollama"])T.AGENTIC_SECURITY_OLLAMA_ALLOW_REMOTE="1";const C={...process.env,...T};if(s==="list"||s==="status"||s==="doctor"){const i=r(C);if(!i.ok){console.log(`✗ ${i.reason}`);console.log("\nThe deterministic scanner will still run.\nNo cloud provider will be used automatically.");return t.flags.json?(writeStdout(JSON.stringify({ok:false,code:i.code,reason:i.reason},null,2)+"\n"),0):1}const o=await a({host:i.config.host});if(!o.ok){console.log(`✗ Ollama server is not reachable at ${i.config.host}`);console.log(` (${o.code}: ${o.reason})`);console.log("\nThe deterministic scanner will still run.\nNo cloud provider will be used automatically.");if(t.flags.json)writeStdout(JSON.stringify({ok:false,code:o.code,reason:o.reason},null,2)+"\n");return 1}if(s==="list"){if(t.flags.json){writeStdout(JSON.stringify({ok:true,host:i.config.host,models:o.models},null,2)+"\n");return 0}console.log(`Installed models (${i.config.host}):`);if(o.models.length===0)console.log(" (none installed)");for(const t of o.models){const s=l(t.name);const i=u(t.name);const r=Number.isFinite(t.sizeBytes)?(t.sizeBytes/1024**3).toFixed(1)+"GB":"?";console.log(` ${t.name.padEnd(24)} family=${s.padEnd(14)} size=${r.padEnd(8)} tools=${i.tools===true?"yes":i.tools===false?"no":"not-detected"}`)}return 0}const m=p();const T=f(m.totalBytes);const A=x({role:"validate",env:C});const I=A.ok?A.config.model:null;const P=(m.totalBytes/1024**3).toFixed(1);const $=(m.freeBytes/1024**3).toFixed(1);const O=[];O.push(s==="doctor"?"agentic-security local AI doctor":"agentic-security models status");O.push("");O.push("✓ Ollama server reachable");O.push(i.config.offline?"✓ Endpoint is loopback-only":`↗ Endpoint is REMOTE (${i.config.host}) — offline guarantee does not apply`);O.push(`✓ ${o.models.length} model(s) installed`);O.push("");O.push(`System RAM: ${P} GB (free: ${$} GB)`);O.push(`Memory tier: ${T}`);if(I){const t=o.models.some(t=>t.name===I);O.push(`Default model: ${I} ${t?"":"(NOT currently installed)"}`);const s=T==="8gb"?"8gb":l(I)==="gemma4"?"16gb-gemma":"16gb-qwen";const r=h({profile:s,freeBytes:m.freeBytes,requestedModel:I});if(r.admitted){O.push(` ✓ memory admission passed — context ${r.contextTokens} tokens`+(r.fellBackToSmallerModel?` (fell back to ${r.model})`:r.reducedContext?" (context reduced)":""))}else{O.push(` ✗ memory admission FAILED — ${r.reason}`)}if(r.priorOOMWarning)O.push(` ⚠ ${r.priorOOMWarning}`);const a=await g({host:i.config.host,model:I,probe:k,force:_});const u=a.capabilities;const p=u.source?.runtimeProbe?a.cached?"runtime-probed, cached":"runtime-probed":u.source?.metadata?"Ollama metadata":"family hint — not runtime-probed";O.push(` chat=${u.chat?"yes":"no"} structuredJson=${u.structuredJson} tools=${u.tools} (${p})`);if(k)O.push(a.cached?" ✓ capability probe cached (pass --force to re-probe)":" ✓ capability probe ran (now cached)");else O.push(" ↗ run with --probe to runtime-verify structured output / tool calling (consumes inference time)")}else{O.push("Default model: (none resolved)")}O.push("");O.push("Cloud fallback: disabled");O.push("Deterministic scanner: enabled");if(t.flags.json){writeStdout(JSON.stringify({ok:true,host:i.config.host,offline:i.config.offline,egress:i.config.egress,installedModels:o.models.map(t=>t.name),systemRamGb:Number(P),freeRamGb:Number($),memoryTier:T,defaultModel:I,cloudFallback:false},null,2)+"\n")}else{console.log(O.join("\n"))}return 0}if(s==="inspect"){const s=t._[2];if(!s){console.error("Usage: agentic-security models inspect <model>");return 4}const i=r(C);if(!i.ok){console.log(`✗ ${i.reason}`);return 1}const o=await a({host:i.config.host});if(!o.ok){console.log(`✗ Ollama server is not reachable at ${i.config.host} (${o.code})`);return 1}const u=o.models.find(t=>t.name===s);const p=l(s);const f=await g({host:i.config.host,model:s,probe:k,force:_});const h=f.capabilities;const m={name:s,installed:!!u,family:p,capabilities:h,cached:f.cached,metadata:u||null};if(t.flags.json){writeStdout(JSON.stringify(m,null,2)+"\n");return 0}const x=h.source?.runtimeProbe?f.cached?"runtime-probed, cached":"runtime-probed":h.source?.metadata?"Ollama metadata":"hint only";console.log(`${s}`);console.log(` installed: ${m.installed?"yes":"no"}`);console.log(` family (hint): ${p}`);console.log(` capabilities (${x}): chat=${h.chat} structuredJson=${h.structuredJson} tools=${h.tools} thinking=${h.thinking}`);if(!k)console.log(" (run with --probe to runtime-verify structured output / tool calling)");if(u){console.log(` size: ${u.sizeBytes?(u.sizeBytes/1024**3).toFixed(1)+"GB":"?"}`);console.log(` parameters: ${u.parameterSize||"?"} quantization: ${u.quantization||"?"}`)}return 0}if(s==="test"){const s=t._[2];if(!s){console.error("Usage: agentic-security models test <model>");return 4}const i=r(C);if(!i.ok){console.log(`✗ ${i.reason}`);return 1}const o=await a({host:i.config.host});if(!o.ok){console.log(`✗ Ollama server is not reachable at ${i.config.host} (${o.code})`);return 1}if(!o.models.some(t=>t.name===s)){console.log(`✗ Model '${s}' is not installed. Run \`ollama pull ${s}\` first.`);return 1}const l=await g({host:i.config.host,model:s,probe:true,force:!!t.flags.force});const u=l.capabilities;if(t.flags.json){writeStdout(JSON.stringify({ok:true,name:s,capabilities:u,cached:l.cached},null,2)+"\n");return 0}console.log(`agentic-security models test ${s}${t.flags.force?" --force":""}`);console.log("");console.log(` chat: ${u.chat?"✓ yes":"✗ no"}`);console.log(` structured JSON: ${u.structuredJson===true?"✓ yes":u.structuredJson===false?"✗ no":"? unknown (probe inconclusive)"}`);console.log(` tool calling: ${u.tools===true?"✓ yes":u.tools===false?"✗ no":"? unknown (probe inconclusive)"}`);if(u.contextTokens)console.log(` context window: ${u.contextTokens} tokens`);console.log(` ${l.cached?"✓ capability probe cached (already ran before — pass --force to re-probe)":"✓ capability probe ran (now cached)"}`);return 0}if(s==="pull"){const s=t._[2]||"<model>";console.log(`Model '${s}' is not installed, or you asked to pull it.\n\n`+"agentic-security never downloads model weights on your behalf — that keeps "+'"offline mode" honest (no surprise egress the moment you run a scan).\n\n'+"Install it yourself, before disconnecting:\n"+` ollama pull ${s==="<model>"?"<model>":s}`);return 1}console.error("Usage: agentic-security models <list|status|doctor|inspect <model>|test <model>|pull <model>> [--host <url>] [--json] [--probe] [--force]");console.error(`Default Ollama host: ${o}`);return 4}async function cmdAsk(t){const s=t._[1];if(!s){console.error('Usage: agentic-security ask "<question>" [target] [--max-iterations N] [--timeout-ms N]');return 4}const r=l.resolve(t._[2]&&!t._[2].startsWith("--")?t._[2]:".");const{runAgentLoop:a,AGENT_LOOP_ERROR:o,DEFAULT_MAX_TOOL_ITERATIONS:u}=await Promise.all([i.e(7039),i.e(5756)]).then(i.bind(i,95756));const p={};if(t.flags.host)p.AGENTIC_SECURITY_OLLAMA_HOST=String(t.flags.host);if(t.flags["allow-remote-ollama"])p.AGENTIC_SECURITY_OLLAMA_ALLOW_REMOTE="1";if(t.flags["timeout-ms"])p.AGENTIC_SECURITY_LLM_AGENT_TIMEOUT_MS=String(t.flags["timeout-ms"]);const f={...process.env,...p};const h=t.flags["max-iterations"]?parseInt(t.flags["max-iterations"],10):u;const m=await a({goal:s,scanRoot:r,env:f,maxToolIterations:h});if(m.priorOOMWarning)console.log(`⚠ ${m.priorOOMWarning}`);if(!m.ok){if(m.code===o.NOT_CONFIGURED){console.log("No local model configured for tool use — set AGENTIC_SECURITY_LLM_PRESET=ollama (see `agentic-security models doctor`).")}else if(m.code===o.TOOLS_UNSUPPORTED){console.log(`✗ ${m.reason}`)}else{console.log(`✗ ${m.code}: ${m.reason}`)}return 1}if(t.flags.json){writeStdout(JSON.stringify(m,null,2)+"\n");return m.stopReason==="complete"?0:1}for(const t of m.toolCalls){console.log(` → ${t.name}(${JSON.stringify(t.args)}) ${t.ok?"ok":`failed: ${t.code}`}`)}console.log("");if(m.stopReason==="complete"){console.log(m.finalText||"(no answer)");return 0}if(m.stopReason==="policy-violation"){console.log("✗ Stopped: the model requested a tool it was never offered.");return 1}if(m.stopReason==="max-iterations"){console.log(`✗ Stopped after the ${u}-iteration bound without a final answer. Try narrowing the question.`);return 1}console.log("✗ Stopped: wall-clock timeout reached without a final answer. Try --timeout-ms <N> for a slow/cold-loading model (raising AGENTIC_SECURITY_LLM_TIMEOUT_MS alone does not extend this budget).");return 1}async function cmdVerify(t){const s=l.resolve(t.flags.root||".");const r=(0,H.statePath)(s,"last-scan.json");if(!a.existsSync(r)){console.error(`No prior scan found at ${r}. Run \`agentic-security scan\` first.`);return 4}const u=JSON.parse(await o.readFile(r,"utf8"));const p=u.findings||[];let f=t.flags.target||process.env.AGENTIC_SECURITY_VERIFY_TARGET||null;const h=!!t.flags.live||process.env.AGENTIC_SECURITY_VERIFY_LIVE==="1";if(h&&!f){const{loadTargetManifest:t,describeTarget:r,validateTarget:a}=await i.e(1301).then(i.bind(i,81301));const o=t(s);if(o.ok){const t=a(o.target);if(!t.ok){console.error(`Verifier target manifest rejected: ${t.reason}`);return 4}f=o.target.url;console.error(`Verifier target: ${r(o.target)}`);console.error(`(Read from .agentic-security/verifier-target.yaml; bring it up yourself before re-running --live.)`)}else{console.error("--live requires --target <url>, AGENTIC_SECURITY_VERIFY_TARGET, or a .agentic-security/verifier-target.yaml manifest.");console.error(` Manifest check: ${o.reason}`);return 4}}if(h){process.env.AGENTIC_SECURITY_VERIFY_LIVE="1";process.env.AGENTIC_SECURITY_VERIFY_TARGET=f}const{annotateVerifierVerdicts:m,verifierCoverageSummary:g,recordVerifierRun:x,verifierVerificationRecords:k}=await Promise.resolve().then(i.bind(i,60135));const _=t.flags.finding?p.filter(s=>s.id===t.flags.finding||s.stableId===t.flags.finding):p;if(!_.length){console.error(`No matching findings (use --finding <id>).`);return 4}const T={};const C=new Set;for(const t of _){const s=t.file||t.sink?.file;if(s)C.add(s)}for(const t of C){try{const i=l.resolve(s,t);const r=a.statSync(i);if(r.size<=5e5)T[t]=a.readFileSync(i,"utf8")}catch{}}m(_,{target:f,fileContents:T});const A=g(_);console.log(`Verified ${_.length} finding(s):`);for(const[t,s]of Object.entries(A))console.log(` ${t}: ${s}`);const{headCommit:I}=await Promise.resolve().then(i.bind(i,85578));x(s,{findingCount:_.length,live:h,target:f||null,summary:A,verificationRecords:k(_,{commit:I(s)})});if(t.flags.verbose||t.flags.finding){for(const t of _){console.log(` ${t.file}:${t.line} ${t.vuln}`);console.log(` → ${t.verifier_verdict||"none"} (${t.verifier_reason||"no-reason"})${t.verifier_runner?" ["+t.verifier_runner+"]":""}`)}}u.findings=p;await o.writeFile(r,JSON.stringify(u,null,2));return 0}async function cmdReset(t){const s=l.resolve(t.flags.root||".");const r=(0,H.Pn)(s);if(!a.existsSync(r)){console.log(`No state to reset at ${r}`);return 0}const u=new Set((0,V.DV)().map(t=>t.name));const p=new Set((t.flags.keep||"").split(",").filter(Boolean));let f;if(t.flags.expired){const{findExpiredArtifacts:t}=await i.e(6730).then(i.bind(i,96730));f=t(s).filter(t=>!p.has(t.name)).map(t=>({name:t.name,dir:t.isDir,ageDays:t.ageDays,ttlDays:t.ttlDays,retentionClass:t.retentionClass}))}else{f=[];for(const t of await o.readdir(r,{withFileTypes:true})){if(p.has(t.name))continue;if(u.has(t.name)){f.push({name:t.name,dir:t.isDirectory()})}}}const{loadLegalHolds:h,isUnderHold:m}=await i.e(5144).then(i.bind(i,45144));const g=h(s);const x=[];f=f.filter(t=>{const s=m(t.name,g);if(!s)return true;x.push({name:t.name,dir:!!t.dir,reason:`active legal hold (owner: ${s.owner}, reason: ${s.reason})`});return false});if(!f.length){console.log(t.flags.expired?`Nothing expired under ${r}.`:`Nothing to reset under ${r}.`);if(x.length){console.log(`Preserving ${x.length} artifact(s) under active legal hold: ${x.map(t=>t.name).sort().join(", ")}`)}return 0}console.log(`agentic-security reset${t.flags.expired?" --expired":""} — will remove from ${r}:`);for(const s of f){const i=t.flags.expired?` (${s.retentionClass}, ${s.ageDays.toFixed(1)}d old, ttl ${s.ttlDays}d)`:"";console.log(` ${s.name}${s.dir?"/":""}${i}`)}console.log("");const k=new Set(f.map(t=>t.name));const _=new Set(x.map(t=>t.name));const T=x.map(t=>t.name+(t.dir?"/":""));const C=x.map(t=>({name:t.name,reason:t.reason}));for(const s of await o.readdir(r,{withFileTypes:true})){if(p.has(s.name)||k.has(s.name)||_.has(s.name))continue;if(!t.flags.expired&&u.has(s.name))continue;T.push(s.name+(s.isDirectory()?"/":""));C.push({name:s.name,reason:t.flags.expired&&u.has(s.name)?"generated artifact still within its retention TTL":"operator-authored configuration"})}if(T.length){console.log(t.flags.expired?`Preserving operator-authored config and generated artifacts still within their TTL: ${T.sort().join(", ")}`:`Preserving operator-authored config: ${T.sort().join(", ")}`)}const{buildDeletionReport:A,writeDeletionReport:I}=await i.e(7552).then(i.bind(i,67552));const P=t.flags.expired?"reset --expired":"reset";if(!t.flags.yes){console.log("");console.log("Pass --yes to proceed (or --keep <name,name> to spare specific items).");I(s,A({mode:P,dryRun:true,root:s,items:f.map(t=>({name:t.name,dir:!!t.dir,status:"planned",retentionClass:t.retentionClass||null,ageDays:t.ageDays??null,ttlDays:t.ttlDays??null})),preserved:C}));return 0}const $=[];for(const t of f){const s=l.join(r,t.name);const i={name:t.name,dir:!!t.dir,retentionClass:t.retentionClass||null,ageDays:t.ageDays??null,ttlDays:t.ttlDays??null};try{if(t.dir)await o.rm(s,{recursive:true,force:true});else await o.rm(s,{force:true});$.push({...i,status:"deleted"})}catch(t){console.error(`reset: failed to remove ${s}: ${t.message}`);$.push({...i,status:"failed",error:t.message})}}const O=$.filter(t=>t.status==="failed").length;console.log(`Reset ${$.length-O} item(s)${O?`, ${O} failed`:""}. Operator-authored config preserved.`);const D=I(s,A({mode:P,dryRun:false,root:s,items:$,preserved:C}));if(D)console.log(`Deletion report: ${l.relative(s,D)}`);return O?1:0}async function cmdExport(t){const s=l.resolve(t.flags.root||".");const r=(0,H.Pn)(s);if(!a.existsSync(r)){console.log(`No state to export at ${r}`);return 0}if(!t.flags.out){console.error("export: --out <dir> is required.");return 2}const u=l.resolve(t.flags.out);await o.mkdir(u,{recursive:true});const{ARTIFACT_REGISTRY:p}=await Promise.resolve().then(i.bind(i,70471));const{buildExportReport:f,writeExportReport:h}=await i.e(7552).then(i.bind(i,67552));const{createHash:m}=await Promise.resolve().then(i.t.bind(i,77598,19));const g=new Set((await o.readdir(r,{withFileTypes:true})).map(t=>t.name));const x=[];for(const t of p){if(!g.has(t.name))continue;const s=l.join(r,t.name);const i=l.join(u,t.name);try{await o.mkdir(l.dirname(i),{recursive:true});if(t.kind==="dir"){await o.cp(s,i,{recursive:true});x.push({name:t.name,classification:t.classification,retentionClass:t.retentionClass||null,status:"exported",sha256:null})}else{await o.copyFile(s,i);const r=m("sha256").update(a.readFileSync(s)).digest("hex");x.push({name:t.name,classification:t.classification,retentionClass:t.retentionClass||null,status:"exported",sha256:r})}}catch(s){x.push({name:t.name,classification:t.classification,retentionClass:t.retentionClass||null,status:"failed",error:s.message})}}const k=f({root:s,outDir:u,items:x});const _=l.join(u,"export-manifest.json");await o.writeFile(_,JSON.stringify(k,null,2)+"\n");h(s,k);const T=x.filter(t=>t.status==="failed").length;console.log(`Exported ${x.length-T} artifact(s) to ${u}${T?`, ${T} failed`:""}.`);console.log(`Manifest: ${_}`);return T?1:0}async function cmdLegalHold(t){const s=l.resolve(t.flags.root||".");const r=t._[1];const{addLegalHold:a,removeLegalHold:o,listLegalHolds:u}=await i.e(5144).then(i.bind(i,45144));if(r==="add"){const i=a(s,{artifact:t.flags.artifact,owner:t.flags.owner,reason:t.flags.reason,expires_at:t.flags.expires});if(!i.ok){console.error(`legal-hold add: ${i.reason}`);return 2}console.log(`Legal hold placed on "${i.hold.artifact}" (owner: ${i.hold.owner}${i.hold.expires_at?`, expires ${i.hold.expires_at}`:", indefinite"}).`);return 0}if(r==="remove"){if(!t.flags.artifact){console.error("legal-hold remove: --artifact <name> is required.");return 2}const i=o(s,t.flags.artifact);console.log(i?`Removed ${i} hold(s) on "${t.flags.artifact}".`:`No hold found on "${t.flags.artifact}".`);return 0}if(r==="list"||!r){const i=u(s,{includeExpired:!!t.flags.all});if(!i.length){console.log(t.flags.all?"No legal holds recorded (ever).":"No active legal holds.");return 0}for(const t of i){console.log(` ${t.artifact} owner=${t.owner} reason="${t.reason}" expires=${t.expires_at||"never"} created=${t.created_at}`)}return 0}console.error(`legal-hold: unknown subcommand "${r}" (expected add|remove|list).`);return 2}async function cmdCalibrationFeedback(t){const s=l.resolve(t.flags.root||".");const r=t._[1];const{recordCalibrationFeedback:a,OUTCOMES:o}=await i.e(3001).then(i.bind(i,53001));if(r==="record"){const i=a(s,{findingId:t.flags["finding-id"],outcome:t.flags.outcome,note:t.flags.note});if(!i.ok){console.error(`calibration-feedback record: ${i.reason}`);return 2}console.log(`Recorded "${i.record.outcome}" for finding ${t.flags["finding-id"]}.`);return 0}console.error(`calibration-feedback: unknown subcommand "${r}" (expected record --finding-id <id> --outcome ${o.join("|")} [--note <text>]).`);return 2}async function cmdCalibrationReport(t){const s=l.resolve(t.flags.root||".");const{buildCalibrationReport:r,renderCalibrationReportSummary:a}=await i.e(3001).then(i.bind(i,53001));const o=r(s);if(t.flags.format==="json"){writeStdout(JSON.stringify(o,null,2)+"\n");return 0}const u=a(o);console.log(u||"No calibration feedback recorded yet — this is opt-in; see `calibration-feedback record --help`.");return 0}const te=/\.(?:js|jsx|mjs|cjs|ts|tsx|py|java|cs|kt|go|php|rb|l?hs|nix)$/i;const ne=["node_modules/**",".git/**","dist/**","build/**","vendor/**","**/.agentic-security/**","dist-newstyle/**",".stack-work/**",".direnv/**"];const se=2e3;async function cmdHunt(t){const s=l.resolve(t.flags.root||t._[1]||".");const{listFiles:r}=await Promise.resolve().then(i.bind(i,30397));const{buildProjectIR:o}=await Promise.resolve().then(i.bind(i,28149));const{runDiscovery:u}=await Promise.all([i.e(9579),i.e(550)]).then(i.bind(i,99579));const{LENSES:p}=await i.e(3499).then(i.bind(i,33499));const f=(await r(s,{ignore:ne})).filter(t=>te.test(t));if(f.length>se){console.error(`agentic-security: ${f.length} source files exceeds the ${se}-file hunt cap.`);console.error("Narrow the scope with --root <subdir>. Discovery is token-expensive and");console.error("unbounded fan-out on a large repository is the wrong default.");return 2}const h={};for(const t of f){try{h[t]=a.readFileSync(l.join(s,t),"utf8")}catch{}}const{perFile:m,callGraph:g}=o(h);let x=null,k=null;try{x=JSON.parse(a.readFileSync((0,H.statePath)(s,"last-scan.json"),"utf8"))}catch{}try{k=JSON.parse(a.readFileSync((0,H.statePath)(s,"triage-feedback.json"),"utf8"))}catch{}const _=t.flags.lens?String(t.flags.lens).split(",").map(t=>t.trim()).filter(Boolean):undefined;const intFlag=s=>t.flags[s]?parseInt(t.flags[s],10):undefined;const numFlag=s=>t.flags[s]?Number(t.flags[s]):undefined;const T=await u({perFileIR:m,callGraph:g,fileContents:h,priorScan:x,triageFeedback:k},{lenses:_,maxAreas:intFlag("max-areas"),maxLlmCalls:intFlag("max-llm-calls"),maxWallMs:intFlag("max-wall-ms"),maxCandidates:intFlag("max-candidates"),maxCostUsd:numFlag("max-cost-usd"),scanRoot:t.flags["no-memory"]?undefined:s,endpoints:t.flags.endpoints,costPerCallUsd:numFlag("cost-per-call-usd")});const C=T.coverage;console.log("");console.log(`Discovery — ${f.length} file(s), ${C.areasPlanned} focus area(s), ${C.lensesPerArea} lens(es) each`);console.log(` areas hunted: ${C.areasHunted}/${C.areasPlanned} (fully: ${C.areasFullyHunted}) degraded runs: ${C.degradedRuns}/${T.runs.length}`);console.log(` budget: ${C.llmCalls}/${C.maxLlmCalls} LLM calls${C.budgetExhausted?" ← EXHAUSTED, run is incomplete":""}`+`${C.candidatesCapped?` ${C.candidatesCapped} candidate(s) capped`:""}`+`${C.callsPerFinding!==null&&C.callsPerFinding!==undefined?` ${C.callsPerFinding} calls/finding`:""}`);if(C.priorRuns!==null&&C.priorRuns!==undefined){console.log(` memory: ${C.priorRuns} prior run(s)`+`${C.rememberedRefutals?`, ${C.rememberedRefutals} candidate(s) skipped as already refuted`:""}`);if(C.nextWave?.summary)console.log(` next wave: ${C.nextWave.summary}`)}console.log(` confirmation: ${JSON.stringify(C.confirmedByTier)} panels: ${C.panelsRun} (undecided ${C.undecidedPanels})`);console.log("");if(T.fresh.length===0){console.log("No new candidates survived confirmation and refutation.")}else{console.log(`${T.fresh.length} new candidate finding(s):`);for(const t of T.fresh){console.log(` [${t.severity}] ${t.file}:${t.line} ${t.vuln}`);console.log(` lens=${t.discovery.lens} confirmation=${t.discovery.confirmation?.tier||"unknown"}`)}}if(T.duplicates.length||T.suppressed.length||T.refutedCandidates.length){console.log("");console.log(` (${T.duplicates.length} already known, ${T.suppressed.length} previously marked false positive, `+`${T.refutedCandidates.length} refuted by the panel)`)}if(T.fresh.length&&!t.flags["no-variants"]){try{const{sweepRootCauses:t,formatSweepLedger:s}=await Promise.resolve().then(i.bind(i,13846));const r=t(T.fresh,h,{confirmedOnly:false});const a=s(r);if(a){console.log("");console.log("Variant sweep (siblings of the findings above):");console.log(` ${a}`)}}catch{}}if(C.reasons.length){console.log("");console.log("Coverage gaps:");for(const t of C.reasons)console.log(` · ${t}`)}if(T.runs.length&&C.degradedRuns===T.runs.length){console.log("");console.log("EVERY hunter run degraded — this result says nothing about the code.");console.log("Set AGENTIC_SECURITY_LLM_ENDPOINT to enable discovery.")}console.log("");console.log(`Lenses available: ${p.map(t=>t.key).join(", ")} (--lens a,b to narrow)`);return 0}function _lineageStalenessNoteLines(t,s,i,r){if(t)return null;const a=r.charAt(0).toUpperCase()+r.slice(1);if(!s.ok){if(s.reason==="missing"){return["NOTE: no lineage graph found (AGENTIC_SECURITY_LINEAGE_DEEP=1 was not set on",`the scan that produced last-scan.json) — ${r} reads "unknown", by design.`]}return[`NOTE: lineage graph could not be loaded (${s.reason}: ${s.message})`,`— ${r} reads "unknown", by design.`]}if(i.scanHealth?.lineageAnalysis?.failure){return["NOTE: a lineage graph exists on disk, but this scan's own lineage build",`failed (${i.scanHealth.lineageAnalysis.failure}) — ignoring the stale graph`,"rather than asserting a fact about code it may no longer reflect.",`${a} reads "unknown", by design.`]}return["NOTE: a lineage graph exists on disk from an earlier deep scan, but this scan","did not run one (AGENTIC_SECURITY_LINEAGE_DEEP=1 was not set) — ignoring the","stale graph rather than asserting a fact about code it may no longer reflect.",`${a} reads "unknown", by design.`]}async function cmdCompliance(t){const s=l.resolve(t.flags.root||".");const r=String(t.flags.format||"cli");const{assessPrivacyFramework:o,PRIVACY_FRAMEWORK_ID:u,BUCKETS:p}=await Promise.resolve().then(i.bind(i,30784));const{listFrameworks:f,loadFramework:h,evaluateFramework:m,renderWalkthrough:g}=await Promise.resolve().then(i.bind(i,63870));if(t.flags.list){const t=f(s);if(r==="json"){writeStdout(JSON.stringify(t,null,2)+"\n");return 0}for(const s of t)console.log(` ${s.id.padEnd(20)} ${s.name} [${s.source}]`);return 0}let x;try{x=JSON.parse(a.readFileSync((0,H.statePath)(s,"last-scan.json"),"utf8"))}catch{console.error("No .agentic-security/last-scan.json — run `agentic-security scan .` first.");console.error("Refusing to assess an unscanned project: every control would report as");console.error("unassessed, which is correct but useless, and one flag away from looking clean.");return 2}x.filesScanned=x._scanMeta?.filesScanned??x.scanned?.files??0;const k=t.flags.walkthrough||t.flags.report;if(k&&k!==true){const o=h(s,String(k));if(!o){console.error(`Unknown framework "${k}". Try --list.`);return 2}const{loadFreshLineageGraph:l}=await i.e(8218).then(i.bind(i,78218));const{graph:u,fresh:p,loaded:f}=l(s,x);const _=m(s,o,{...x,lineageGraph:u});if(t.flags.truth===true&&(r==="oscal"||r==="json")){const{assessFrameworkTruth:t}=await i.e(1898).then(i.bind(i,51898));let l={};try{l=JSON.parse(a.readFileSync((0,H.statePath)(s,"compliance-applicability.json"),"utf8"))?.[o.id]||{}}catch{}const u=t(o,_,{scanStatus:x.scanHealth?.status,scanExaminedFiles:x.filesScanned>0,notApplicable:l});if(r==="json"){writeStdout(JSON.stringify(u,null,2)+"\n");return 0}const{toOSCALCompliance:p,complianceRowsFromTruth:f}=await Promise.resolve().then(i.bind(i,42883));writeStdout(JSON.stringify(p(o,f(u),{startedAt:x.startedAt||x._scanMeta?.startedAt}),null,2)+"\n");return 0}if(r==="oscal"){const{toOSCALCompliance:t,complianceRowsFromEvaluation:s}=await Promise.resolve().then(i.bind(i,42883));writeStdout(JSON.stringify(t(o,s(_),{startedAt:x.startedAt||x._scanMeta?.startedAt}),null,2)+"\n");return 0}if(r==="json"){writeStdout(JSON.stringify(_,null,2)+"\n");return 0}console.log(g(o,_,{}));const T=_lineageStalenessNoteLines(p,f,x,"every graph: mapping in this walkthrough");if(T){console.log("");for(const t of T)console.log(t)}return 0}const _=o(s,x);if(!_){console.error(`Framework ${u} could not be loaded.`);return 2}const T=!!t.flags.gap;if(r==="oscal"){const{toOSCALCompliance:r,complianceRowsFromPrivacy:a}=await Promise.resolve().then(i.bind(i,42883));const o=h(s,u)||{id:u,name:_.frameworkName};writeStdout(JSON.stringify(r(o,a(_),{startedAt:x.startedAt||x._scanMeta?.startedAt}),null,2)+"\n");return t.flags["fail-on"]==="gap"&&_.summary.gap>0?1:0}if(r==="json"){writeStdout(JSON.stringify(T?{..._,controls:_.controls.filter(t=>t.bucket==="gap")}:_,null,2)+"\n")}else if(r==="md"){console.log(a.readFileSync((0,H.statePath)(s,"privacy-framework.md"),"utf8"))}else{console.log(`\n${_.frameworkName}\n`);console.log(` ${_.interpretation}\n`);for(const t of p){const s=_.controls.filter(s=>s.bucket===t);if(!s.length||T&&t!=="gap")continue;console.log(` ${t} (${s.length})`);for(const t of s){console.log(` ${t.id.padEnd(11)} ${t.summary.slice(0,84)}`);const s=_.findings.find(s=>s.id===`privacy-framework:${t.id}`);if(s)console.log(` → ${s.remediation}`)}console.log("")}console.log(' A control that is "manual" or "engine-gap" is NOT evidence of compliance.');console.log(" This organizes scanner evidence; a licensed assessor owns the attestation.\n")}if(t.flags["fail-on"]==="gap"&&_.summary.gap>0)return 1;return 0}async function cmdAttest(t){const s=l.resolve(t.flags.root||".");if(t.flags.provenance){const{buildProvenanceEvidenceBundle:r,signProvenanceEvidenceBundle:o,ensureKeyPair:u}=await i.e(2271).then(i.bind(i,22271));let p;try{p=JSON.parse(a.readFileSync((0,H.statePath)(s,"last-scan.json"),"utf8"))}catch{console.error("No .agentic-security/last-scan.json — run a scan first.");return 2}const f=p.findings||[];const h=t.flags.provenance===true?undefined:t.flags.provenance;const m=(h?f.filter(t=>t.id===h||t.stableId===h):f).filter(t=>t.findingProvenance);if(!m.length){console.error(h?`No finding matching "${h}" with findingProvenance.`:"No findings with findingProvenance to attest.");return 2}const g=u();if(g.created)console.error(`Generated a new signing key at ${g.privateKey} (public: ${g.publicKey}).`);const x=(0,H.statePath)(s,"attestations");a.mkdirSync(x,{recursive:true});const k={engineVersion:p.engineVersion||null,repoIdentity:null,head:p.commit||null};let _=0;for(const t of m){const s=o(r(t,k),g.privateKeyPem);const i=`provenance-${t.stableId||t.id||`finding-${_}`}.json`.replace(/[^\w.-]/g,"_");a.writeFileSync(l.join(x,i),JSON.stringify(s,null,2)+"\n");_++}console.log(`Signed ${_} provenance evidence bundle(s) → ${l.relative(s,x)}/`);console.log(`Public key (share this with whoever verifies): ${g.publicKey}`);console.log("");console.log("A bundle proves its contents are unmodified since signing. It does NOT");console.log("prove the origin commit is correctly identified — read confidence.level.");return 0}if(t.flags.obligations){const r=t.flags.obligations===true?null:t.flags.obligations;if(!r){const{listFrameworks:t}=await Promise.resolve().then(i.bind(i,63870));console.error("Usage: agentic-security attest --obligations <framework-id>");console.error(`Bundled frameworks: ${t(s).map(t=>t.id).join(", ")}`);return 2}const{loadFramework:o,evaluateFramework:u}=await Promise.resolve().then(i.bind(i,63870));const{buildObligationEvidencePack:p,signObligationEvidencePack:f,ensureKeyPair:h}=await i.e(6829).then(i.bind(i,6829));const{loadFreshLineageGraph:m}=await i.e(8218).then(i.bind(i,78218));let g;try{g=JSON.parse(a.readFileSync((0,H.statePath)(s,"last-scan.json"),"utf8"))}catch{console.error("No .agentic-security/last-scan.json — run a scan first.");return 2}const x=o(s,r);if(!x){console.error(`Unknown framework: ${r}`);return 2}const{graph:k,fresh:_,loaded:T}=m(s,g);const C=u(s,x,{...g,lineageGraph:k});const A=p({graph:k,framework:x,evaluation:C,scanHealth:g.scanHealth??null,engineVersion:g.attestation?.engineVersion||null,rulesetVersion:g.attestation?.rulesetVersion||null,bundleSha:g.attestation?.bundleSha||null});const I=h();if(I.created)console.error(`Generated a new signing key at ${I.privateKey} (public: ${I.publicKey}).`);const P=(0,H.statePath)(s,"attestations");a.mkdirSync(P,{recursive:true});const $=f(A,I.privateKeyPem);const O=`evidence-pack-${r}.json`.replace(/[^\w.-]/g,"_");a.writeFileSync(l.join(P,O),JSON.stringify($,null,2)+"\n");console.log(`Signed evidence pack for ${r} → ${l.relative(s,l.join(P,O))}`);console.log(`Public key (share this with whoever verifies): ${I.publicKey}`);console.log("");const D=A.facts.filter(t=>t.state==="gap_detected").length;console.log(` facts: ${A.facts.length} ${D>0?"⚠️ gaps: "+D+" ":""}unknown: ${A.unknownItems.length} manual: ${A.manualItems.length} accepted exceptions: ${A.acceptedExceptions.length}`);console.log("");console.log("A pack proves its contents are unmodified since signing. It does NOT");console.log("certify compliance — read the pack's own `disclaimer` field.");const N=_lineageStalenessNoteLines(_,T,g,"every graph: fact in this pack");if(N){console.log("");for(const t of N)console.log(t)}return 0}const{ensureKeyPair:r,buildEvidenceBundle:o,signEvidenceBundle:u}=await Promise.resolve().then(i.bind(i,98317));let p;try{p=JSON.parse(a.readFileSync((0,H.statePath)(s,"last-scan.json"),"utf8"))}catch{console.error("No .agentic-security/last-scan.json — run a scan first.");return 2}const f=p.findings||[];const h=t.flags.id;const m=h?f.filter(t=>t.id===h||t.stableId===h):f;if(!m.length){console.error(h?`No finding matching "${h}".`:"No findings to attest.");return 2}const g=r();if(g.created)console.error(`Generated a new signing key at ${g.privateKey} (public: ${g.publicKey}).`);const x=(0,H.statePath)(s,"attestations");a.mkdirSync(x,{recursive:true});const k={engineVersion:p.engineVersion||null,rulesetVersion:p.rulesetVersion||null,bundleSha:p.bundleSha||null,commit:p.commit||null};let _=0;for(const t of m){const s=u(o(t,k),g.privateKeyPem);const i=`${t.stableId||t.id||`finding-${_}`}.json`.replace(/[^\w.-]/g,"_");a.writeFileSync(l.join(x,i),JSON.stringify(s,null,2)+"\n");_++}console.log(`Signed ${_} evidence bundle(s) → ${l.relative(s,x)}/`);console.log(`Public key (share this with whoever verifies): ${g.publicKey}`);console.log("");console.log("A bundle proves its contents are unmodified since signing. It does NOT");console.log("prove the finding is real — read evidence.proofTier for that.");return 0}function _asRunAttestation(t){if(t&&typeof t.digest==="string"&&t.canonicalisation)return t;if(t&&t.attestation&&typeof t.attestation.digest==="string")return t.attestation;return null}async function cmdVerifyRunAttestation(t,s){const r=l.resolve(s.flags.against||".");if(!a.existsSync(r)){console.error(`--against path does not exist: ${r}`);return 2}console.log(`Re-scanning ${r} to check it reproduces the attested digest...`);const{runScan:o}=await Promise.resolve().then(i.bind(i,45950));const{normalizeFindings:u}=await Promise.resolve().then(i.bind(i,75917));const{effectiveVersion:p}=await Promise.resolve().then(i.bind(i,6998));const{verifyRunAttestation:f}=await i.e(9207).then(i.bind(i,9207));const{scan:h}=await o(r,{onProgress:scanProgressReporter()});clearScanProgressLine();const m=f(t,{findings:u(h),engineVersion:J,rulesetVersion:p(r).version,bundleSha:_bundleSha(),root:r});if(!m.ok){console.error(`✗ INVALID — ${m.reason}`);return 1}console.log("✓ VALID — a fresh scan of this project reproduces the attested digest exactly.");console.log("");console.log(` digest: ${t.digest}`);console.log(` findingCount: ${t.findingCount}`);console.log(` proves: ${t.proves}`);console.log(` does NOT prove: ${t.doesNotProve}`);return 0}async function cmdReleaseView(t){const s=t._[1];if(!s){console.error("Usage: agentic-security release-view <release-package.json> [--view developer|ciso|auditor|all] [--format text|json|html] [--previous <older-package.json>] [--public-key <path>]");return 2}let r;let o=null;try{r=JSON.parse(a.readFileSync(l.resolve(s),"utf8"))}catch(t){console.error(`Could not read the package: ${t.message}`);return 2}if(t.flags.previous){try{o=JSON.parse(a.readFileSync(l.resolve(String(t.flags.previous)),"utf8"))}catch(t){console.error(`Could not read the previous package: ${t.message}`);return 2}}let u=null;if(t.flags["public-key"]){let s;try{s=a.readFileSync(l.resolve(String(t.flags["public-key"])),"utf8")}catch{console.error(`Could not read public key at ${t.flags["public-key"]}.`);return 2}const{verifyReleasePackage:o}=await i.e(3917).then(i.bind(i,93917));u=o(r,s)}const{buildViews:p,renderText:f,renderHtml:h}=await i.e(6579).then(i.bind(i,56579));const m=p(r,{previous:o,verification:u});const g=String(t.flags.format||"text");const x=String(t.flags.view||"all");if(!["text","json","html"].includes(g)||!["developer","ciso","auditor","all"].includes(x)){console.error("Unknown --format or --view.");return 2}if(g==="json")writeStdout(JSON.stringify(x==="all"?{developer:m.developer,ciso:m.ciso,auditor:m.auditor}:m[x],null,2)+"\n");else if(g==="html")writeStdout(h(m));else writeStdout(f(m,x));return u&&!u.ok?1:0}async function cmdVerifyAttestation(t){const{verifyEvidenceBundle:s,keyPaths:r}=await Promise.resolve().then(i.bind(i,98317));const o=t.flags.bundle||t._[1];if(!o){console.error("Usage: agentic-security verify-attestation <bundle.json|last-scan.json> [--public-key <path>] [--against <project-path>]");return 2}let u;try{const t=a.readFileSync(l.resolve(o),"utf8");const{maybeDecryptForRead:s}=await Promise.resolve().then(i.bind(i,39984));u=JSON.parse(s(t))}catch(t){console.error(`Could not read bundle: ${t.message}`);return 2}const p=_asRunAttestation(u);if(p)return cmdVerifyRunAttestation(p,t);const f=t.flags["public-key"]||r().publicKey;let m=null;try{m=a.readFileSync(l.resolve(f),"utf8")}catch{console.error(`Could not read public key at ${f}. Pass --public-key <path>.`);return 2}if(u["@type"]==="ComplianceEvidence"){const{verifyComplianceEvidence:t}=await Promise.resolve().then(i.bind(i,28148));const s=t(u,m);if(!s.ok){console.error(`✗ INVALID — ${s.reason}`);return 1}console.log("✓ VALID — the compliance evidence manifest is exactly what the signer produced.");console.log("");console.log(` framework: ${u.framework} version: ${u.version}`);console.log(` generated: ${u.generatedAt}`);if(u.evidenceDigest)console.log(` evidence digest: ${u.evidenceDigest}`);console.log(` compliant: ${u.summary?.compliant??"n/a"} non-compliant: ${u.summary?.nonCompliant??"n/a"} stale: ${u.summary?.stale??0} gap: ${u.summary?.gap??0}`);return 0}const{verifyArtifactEvidenceBundle:g,ARTIFACT_BUNDLE_SCHEMA:x}=await i.e(8825).then(i.bind(i,58825));if(u.schema===x){const t=g(u,m);if(!t.ok){console.error(`✗ INVALID — ${t.reason}`);return 1}console.log("✓ VALID — the image evidence bundle is exactly what the signer produced.");console.log(` image: ${u.artifact.digest} ${u.artifact.os}/${u.artifact.architecture}`);console.log(` vulnerabilities listed: ${u.scan.vulnerabilities.length} of ${u.scan.truncated.vulnerabilitiesTotal}; recoverable secrets: ${u.scan.truncated.secretsTotal}; image signature: ${u.signature.state}`);console.log(` ${u.doesNotProve}`);return 0}const{verifyProvenanceEvidenceBundle:k,PROVENANCE_BUNDLE_SCHEMA:_}=await i.e(2271).then(i.bind(i,22271));if(u.schema===_){const t=k(u,m);if(!t.ok){console.error(`✗ INVALID — ${t.reason}`);return 1}const s=u.provenance||{};console.log("✓ VALID — the provenance record is exactly what the signer attested.");console.log("");console.log(` finding: ${u.finding?.stableId||u.finding?.id||"?"}`);console.log(` status: ${s.status||"n/a"} method: ${s.method||"n/a"}`);if(s.findingOrigin)console.log(` origin: ${s.findingOrigin.commit||"?"} by ${(0,h.dk)(s.findingOrigin.authorName)||"?"} on ${s.findingOrigin.authorDate||"?"}`);console.log(` confidence: ${s.confidence?.level||"n/a"} (${s.confidence?.score??"n/a"})`);if((s.limitations||[]).length)console.log(` limitations: ${s.limitations.join("; ")}`);console.log("");console.log(` proves: ${u.proves}`);console.log(` does NOT prove: ${u.doesNotProve}`);return 0}const{verifyObligationEvidencePack:T,OBLIGATION_EVIDENCE_PACK_SCHEMA:C}=await i.e(6829).then(i.bind(i,6829));if(u.schema===C){const t=T(u,m);if(!t.ok){console.error(`✗ INVALID — ${t.reason}`);return 1}console.log("✓ VALID — the evidence pack is exactly what the signer produced.");console.log("");console.log(` framework: ${u.framework?.id} version: ${u.framework?.version}`);const s=(u.facts??[]).filter(t=>t?.state==="gap_detected").length;console.log(` facts: ${u.facts?.length??0} ${s>0?"⚠️ gaps: "+s+" ":""}unknown: ${u.unknownItems?.length??0} manual: ${u.manualItems?.length??0} accepted exceptions: ${u.acceptedExceptions?.length??0}`);if(u.graphDigest)console.log(` graph digest: ${u.graphDigest}`);console.log("");console.log(` ${u.disclaimer}`);return 0}const A=s(u,m);if(!A.ok){console.error(`✗ INVALID — ${A.reason}`);return 1}const I=u.finding||{};console.log("✓ VALID — the bundle is exactly what the signer attested.");console.log("");console.log(` ${I.severity?`[${I.severity}] `:""}${I.vuln||"(no title)"} ${I.file||"?"}:${I.line??"?"}`);console.log(` cwe ${I.cwe||"n/a"} parser ${I.parser||"n/a"} proof tier ${u.evidence?.proofTier||"n/a"}`);console.log("");console.log(` proves: ${u.proves}`);console.log(` does NOT prove: ${u.doesNotProve}`);console.log(` trust basis: ${A.trustBasis}${A.issuer?` (issuer ${A.issuer.id})`:""}`);console.log(` ${A.trustNote}`);return 0}async function cmdPolicyExplain(t){const s=l.resolve(t.flags.root||".");const{loadPolicyBundles:r,loadPolicyPublicKey:o,resolveEffectivePolicy:u}=await i.e(3736).then(i.bind(i,23736));const p=r(s);if(!p.length){console.log("No policy bundles found under .agentic-security/policy-bundles/ (organization.json, repository.json, environment.json).");return 0}let f=null;const h=t.flags["public-key"];if(h){try{f=a.readFileSync(l.resolve(h),"utf8")}catch(t){console.error(`Could not read public key at ${h}: ${t.message}`);return 2}}else{f=o(s)}const{effective:m,provenance:g,accepted:x,rejected:k}=u(p,f);console.log(`Accepted (${x.length}): ${x.join(", ")||"none"}`);if(k.length){console.log(`Rejected (${k.length}):`);for(const t of k)console.log(` ✗ ${t.scope}: ${t.reason}`)}console.log("");console.log("Effective policy:");const _=Object.keys(m).sort();if(!_.length){console.log(" (empty — no accepted bundle contributed any key)")}else{for(const t of _)console.log(` ${t} = ${JSON.stringify(m[t])} [from: ${g[t]}]`)}return 0}async function cmdPolicySign(t){const s=l.resolve(t.flags.root||".");const{ensurePolicyKeyPair:r,buildPolicyBundle:o,signPolicyBundle:u}=await i.e(3736).then(i.bind(i,23736));const p=t.flags.scope;if(!["organization","repository","environment"].includes(p)){console.error("Usage: agentic-security policy-sign --scope <organization|repository|environment> --policy <json-file> [--expires <ISO-date>] [--out <path>]");return 2}const f=t.flags.policy;if(!f){console.error("--policy <json-file> is required (the policy object to sign).");return 2}let h;try{h=JSON.parse(a.readFileSync(l.resolve(f),"utf8"))}catch(t){console.error(`Could not read --policy file: ${t.message}`);return 2}const m=r();if(m.created)console.error(`Generated a new policy-signing key at ${m.privateKey} (public: ${m.publicKey}). Distribute the PUBLIC key to every repository that must trust bundles you sign.`);const g=o(p,h,{expiresAt:t.flags.expires||null});if(!g){console.error("Could not build a bundle — check --scope and that --policy is a JSON object.");return 2}const x=u(g,m.privateKeyPem);const k=t.flags.out||`${p}.json`;a.writeFileSync(l.resolve(k),JSON.stringify(x,null,2)+"\n");console.log(`✓ signed ${p} policy bundle written to ${k}`);console.log(` public key for verification: ${m.publicKey}`);return 0}async function cmdRuleSynth(t){const s=l.resolve(t.flags.root||".");const{synthesizeRules:r}=await i.e(8476).then(i.bind(i,78476));const a=r(s,{threshold:t.flags.threshold,dryRun:!!t.flags["dry-run"]});if(!a.length){console.log("No proposals — either no triage feedback, or no shape clustered above threshold.");return 0}console.log(`Synthesised ${a.length} proposal(s) in .agentic-security/rules-proposed/:`);for(const t of a){console.log(` ${t.file} (${t.count} FPs, family=${t.family||t.rule}, glob=${t.dirGlob})`)}console.log("");console.log("Review each YAML before moving it to .agentic-security/rules/ to make it active.");return 0}async function cmdPacks(t){const s=t._[1]||"list";if(s!=="list"){console.error("Usage: agentic-security packs list");return 4}const i=(0,O.Xj)();const r=Math.max(...i.map(t=>t.name.length));console.log("Available rule packs (use --pack <name>):\n");for(const t of i){console.log(` ${t.name.padEnd(r)} ${t.description} [${t.cweCount} CWEs]`)}return 0}async function cmdDigest(t){const s=l.resolve(t._[1]||".");const i=(0,I.iH)(s);const r=(0,H.statePath)(s,"findings.json");if(!a.existsSync(r)){console.error("No prior scan found.");return 4}const u=JSON.parse(await o.readFile(r,"utf8"));const p=(u.findings||[]).filter(t=>t.severity==="critical"||t.severity==="high");const f={critical:0,high:0,medium:0,low:0,info:0};for(const t of u.findings||[])f[t.severity||"medium"]++;const h=t.flags.project||l.basename(s);if(t.flags.slack){const s=(0,U.Fi)(p,f,{project:h});const i=await(0,U.WW)(t.flags.slack,s);console.log(i.ok?`✓ Slack digest sent`:`✗ Slack failed: ${i.reason||i.status}`);return i.ok?0:4}if(t.flags.discord){const s=(0,U.bh)(p,f,{project:h});const i=await(0,U.WW)(t.flags.discord,s);console.log(i.ok?`✓ Discord digest sent`:`✗ Discord failed: ${i.reason||i.status}`);return i.ok?0:4}console.error("digest --slack <url> OR digest --discord <url>");return 4}async function cmdFix(t){const s=t.flags.finding;const r=!!t.flags.preview;const u=!!t.flags.apply;const p=l.resolve(t.flags.root||".");if(!s){console.error("--finding <id> required");return 4}const f=(0,H.statePath)(p,"last-scan.json");if(!a.existsSync(f)){console.error("No prior scan found. Run `agentic-security scan` first.");return 4}const h=await o.readFile(f,"utf8");const m=_verifyLastScan(h,f+".sig");if(m===false){console.error("Warning: last-scan.json integrity check failed — file may have been modified outside the scanner. Re-run `agentic-security scan` to refresh.")}const g=JSON.parse(h);const x=(g.findings||[]).find(t=>t.id===s)||(g.secrets||[]).find(t=>t.id===s);if(!x){console.error(`Finding ${s} not found in last scan.`);return 4}if(!r&&!u){writeStdout(JSON.stringify(x,null,2)+"\n");if(x.fix?.code){console.log("\n--- suggested patch ---\n");console.log(x.fix.code)}console.log("\nUse --preview to see a diff, or --apply to apply directly.");return 0}{const{languageOfFinding:s,languageFixPreview:r,loadLanguageProject:a,isLanguageDependencyFinding:o,languageUpgradePreview:l}=await Promise.resolve().then(i.bind(i,52603));if(o(x)){if(u&&m!==true){console.error(`Refusing to apply: last-scan.json integrity check ${m===false?"failed (tampered)":"could not verify (unsigned)"} — re-run \`agentic-security scan\` to refresh.`);return 4}const s=a(p);const i=await l(x,{...s.files,...s.manifests},{apply:u,root:p,toRef:t.flags.to||null});if(!i.ok){console.error(`No dependency fix for this finding (${i.status}${i.tier?`, ${i.tier}`:""}): ${i.reason||"unsupported"}`);return 4}console.log(`${i.label} (${i.tier}): ${i.explanation}`);console.log(i.diff);for(const t of i.consequences||[])console.log(` note: ${t}`);console.log(u?"\nApplied. This is a source edit only: re-resolve or re-lock, then rescan. Revert with `agentic-security undo`.":"\nRun with --apply to write this change. Use `agentic-security undo` to revert.");return 0}if(s(x)){if(u&&m!==true){console.error(`Refusing to apply: last-scan.json integrity check ${m===false?"failed (tampered)":"could not verify (unsigned)"} — re-run \`agentic-security scan\` to refresh.`);return 4}const t=a(p);const s=await r(x,t.files,{apply:u,root:p});if(!s.ok){console.error(`No verified fix for this finding (${s.status}${s.tier?`, ${s.tier}`:""}): ${s.reason||"unsupported"}`);return 4}console.log(`${s.label||"FIX"}${s.tier?` (${s.tier})`:""}: ${s.explanation||""}`.trim());console.log(s.diff);for(const t of s.consequences||[])console.log(` note: ${t}`);if(u){console.log(`\nApplied. Verified: ${Object.entries(s.gates||{}).map(([t,s])=>`${t}=${s&&s.ok===false?"FAILED":s&&s.ran===false?"not-run":"ok"}`).join(" ")}. Revert with \`agentic-security undo\`.`)}else console.log("\nVerified (syntax, rescan: the finding is gone and nothing new appears). Run with --apply to write this change. Use `agentic-security undo` to revert.");return 0}}let k;try{k=(0,F.ey)(p,x.file,"finding.file")}catch(t){console.error(`path-escape refused: ${t.message}`);return 4}if(!a.existsSync(k)){console.error(`File not found: ${k}`);return 4}const _=await o.readFile(k,"utf8");let T=null;if(typeof x.fix?.replacement==="string")T=x.fix.replacement;else if(typeof x.fix?.replaceLine==="string"&&x.line){const t=_.split("\n");if(t[x.line-1]!==undefined){t[x.line-1]=x.fix.replaceLine;T=t.join("\n")}}let C=null;if(T===null){const{proposeOllamaFix:t,FIX_PROPOSAL_ERROR:s}=await i.e(6257).then(i.bind(i,66257));const r=await t({finding:{file:x.file,line:x.line,vuln:x.vuln,cwe:x.cwe,severity:x.severity},fileContent:_,scanRoot:p});if(r.ok){T=r.replacement;C={model:r.model,rationale:r.rationale,expectedSecurityEffect:r.expectedSecurityEffect}}else if(r.code!==s.NOT_CONFIGURED){console.error(`Ollama fix proposal unavailable (${r.code}): ${r.reason}`)}}if(T===null){console.error("No mechanical fix is available for this finding. Use the security-fixer subagent (default `fix` mode), or configure AGENTIC_SECURITY_LLM_PRESET=ollama for an AI-assisted proposal, then apply with `--apply`.");return 4}if(C){console.log(`AI-assisted proposal (model: ${C.model}) — not yet mechanically verified:`);if(C.rationale)console.log(` rationale: ${C.rationale}`);if(C.expectedSecurityEffect)console.log(` expected effect: ${C.expectedSecurityEffect}`);console.log("")}if(r){console.log((0,L.VH)(_,T,x.file));console.log("\nRun with --apply to write this change. Use `agentic-security undo` to revert.");return 0}if(m!==true){console.error(`Refusing to apply: last-scan.json integrity check ${m===false?"failed (tampered)":"could not verify (unsigned)"} — re-run \`agentic-security scan\` to refresh.`);return 4}const A=t.flags["approved-by"]||null;const I=t.flags["approval-reason"]||null;const P=t.flags["author"]||null;const $=A||I||P?{approval:{approvedBy:A||"",reason:I||""},...P?{author:P}:{}}:null;if(t.flags["require-proof"]){const{resolveReproducer:s}=await i.e(2066).then(i.bind(i,92066));const{findSiblings:r}=await Promise.all([i.e(7838),i.e(5099)]).then(i.bind(i,25099));const{verifyFixWithProof:a,formatFixProof:o}=await i.e(818).then(i.bind(i,818));const{verifyFix:l}=await Promise.resolve().then(i.bind(i,27838));const u=s(p,x,t.flags.reproducer);if(!u.reproducer){console.error(`--require-proof: no reproducer for ${x.id}, and none could be generated: ${u.reason}. Refusing to apply; nothing was executed. Supply --reproducer <file>.`);return 4}if(u.generated)console.error(`--require-proof: using a reproducer generated from the finding (${u.generated.shape}, ${u.generated.class}); it counts only if executing it confirms the exploit.`);const f={[x.file]:T};const h=await l({scanRoot:p,originalFindingStableId:x.stableId||null,files:f,recordMetrics:false});const m=r({root:p,finding:x,scanFindings:g.findings||[]});const k=m.siblings.map(t=>({id:t.id??null,file:t.file,line:t.line,source:t.source}));if(m.truncated.length)console.error(`--require-proof: the sibling search stopped early (${m.truncated.join(", ")}); absence of siblings is not shown.`);const _=await a({finding:x,reproducer:u.reproducer,files:f,scanRoot:p,staticVerification:h,siblings:k,siblingSearchTruncated:m.truncated});console.log(o(_));try{(await i.e(932).then(i.bind(i,58551))).saveRecord(p,x.stableId||x.id,"fix",_)}catch{}if(!_.verified){console.error("\nRefusing to apply: the fix is not proof-verified (--require-proof).");return 4}}let O=await(0,F.On)({scanRoot:p,finding:{file:x.file,id:x.id,stableId:x.stableId||null,ruleId:x.cwe||x.title,vuln:x.vuln||x.title},files:{[x.file]:T},fixMeta:$});if(!O.ok&&C&&!O.budgetExceeded){console.log(`AI-assisted proposal was rejected (${O.reason}) — asking for one revised attempt...`);const{proposeOllamaFix:t}=await i.e(6257).then(i.bind(i,66257));const s=await t({finding:{file:x.file,line:x.line,vuln:x.vuln,cwe:x.cwe,severity:x.severity},fileContent:_,scanRoot:p,rejectionFeedback:O.reason});if(s.ok){const t=await(0,F.On)({scanRoot:p,finding:{file:x.file,id:x.id,stableId:x.stableId||null,ruleId:x.cwe||x.title,vuln:x.vuln||x.title},files:{[x.file]:s.replacement},fixMeta:$});O=t;if(t.ok){console.log(` revised proposal accepted (rationale: ${s.rationale||"n/a"})`)}}}if(!O.ok){console.error(`Refusing to apply: ${O.reason}`);if(O.budgetExceeded)console.error(` (${O.attempts}/${O.maxAttempts} attempts already made for this finding)`);return 4}const D=O.written[0];console.log(`✓ applied fix ${D.historyId} (file: ${D.file})`);console.log(` backup: ${D.backupPath}`);if(O.verifiedFull){console.log(" verified: yes — fully verified (rescan clean, no new medium+ finding, lint, tests)")}else{const t=(O.verify?.degradedLegs||[]).join("; ")||"a required leg";console.log(` verified: yes, but NOT fully verified — rescan clean, no new medium+ finding; ${t}`)}console.log(` revert with: agentic-security undo`);return 0}async function cmdUndo(t){const s=l.resolve(t.flags.root||".");if(t.flags.list){const t=(0,L.Pq)(s);if(!t.length){console.log("No fix history.");return 0}for(const s of t){const t=s.reverted?"↩ reverted":"✓ applied ";console.log(` ${t} ${s.id} ${s.file} (${s.vuln||s.findingId})`)}return 0}if(t.flags.compact){const i=parseInt(t.flags["retain-days"]||"90",10);const r=await(0,L.WM)(s,{retainDays:i,pruneBackups:!!t.flags["prune-backups"]});console.log(`Compacted: archived ${r.archived} entries, retained ${r.kept} in active log.`);return 0}if(t.flags.all){const t=await(0,L.wC)(s);if(!t.length){console.log("Nothing to revert.");return 0}for(const s of t)console.log(`↩ reverted ${s.id} ${s.file}`);console.log(`Reverted ${t.length} fix(es).`);return 0}const i=await(0,L.xH)(s);if(!i){console.log("Nothing to revert.");return 0}if(i.error){console.error(i.error);return 4}console.log(`↩ reverted ${i.id} ${i.file}`);console.log(` finding: ${i.vuln||i.findingId}`);return 0}async function cmdSetupLlmOllama(t){const{ollamaEndpointConfig:s,listOllamaModels:r,DEFAULT_OLLAMA_HOST:a}=await Promise.resolve().then(i.bind(i,23837));const{detectSystemMemory:o,detectMemoryTier:l,recommendAdmission:u,classifyModelFamily:p}=await i.e(4399).then(i.bind(i,54399));const f={};if(t.flags.host)f.AGENTIC_SECURITY_OLLAMA_HOST=String(t.flags.host);const h={...process.env,...f};const m=s(h);console.log("Local LLM provider: Ollama");if(!m.ok){console.log(`✗ ${m.reason}`);return 1}console.log(`Server: ${m.config.host}`);const g=await r({host:m.config.host});if(!g.ok){console.log(`✗ Ollama server is not reachable at ${m.config.host} (${g.code}: ${g.reason})`);console.log("\nInstall Ollama and pull a model first — see docs/guides/ollama.md.");console.log("The deterministic scanner will still run. No cloud provider will be used automatically.");return 1}console.log("Status: reachable");console.log("");if(g.models.length===0){console.log("No models installed. Pull one first, e.g.:");console.log(" ollama pull qwen3.5:4b");return 1}console.log("Installed models:");for(const t of g.models){const s=Number.isFinite(t.sizeBytes)?(t.sizeBytes/1024**3).toFixed(1)+"GB":"?";console.log(` ${t.name.padEnd(24)} ${s}`)}console.log("");let x=t.flags.model?String(t.flags.model):null;if(x&&!g.models.some(t=>t.name===x)){console.log(`↗ '${x}' is not currently installed — pull it first with \`ollama pull ${x}\`. Continuing with this choice anyway.`)}if(!x){const t=o();const s=l(t.totalBytes);const i=new Set(g.models.map(t=>t.name));const r=s==="8gb"?"qwen3.5:4b":g.models.some(t=>p(t.name)==="gemma4")?null:"qwen3.5:9b";x=r&&i.has(r)?r:g.models[0].name;console.log(`Choose default model: ${x} (auto-selected for your ${s==="unknown"?"detected":s} memory tier — pass --model to choose a different installed model)`)}else{console.log(`Choose default model: ${x}`)}console.log("");const k=o();const _=l(k.totalBytes);const T=_==="8gb"?"8gb":p(x)==="gemma4"?"16gb-gemma":"16gb-qwen";const C=u({profile:T,freeBytes:k.freeBytes,requestedModel:x});console.log("Offline LLM mode:");console.log(" ✓ Only loopback model requests are allowed");console.log(" ✓ No cloud fallback");console.log(" ✓ Missing local model falls back to deterministic-only scanning");if(!C.admitted){console.log(` ↗ Memory admission check: ${C.reason}`)}if(C.priorOOMWarning)console.log(` ⚠ ${C.priorOOMWarning}`);console.log("");console.log("To use this configuration, export:");console.log(" export AGENTIC_SECURITY_LLM_PRESET=ollama");console.log(` export AGENTIC_SECURITY_LLM_MODEL=${x}`);if(m.config.host!==a)console.log(` export AGENTIC_SECURITY_OLLAMA_HOST=${m.config.host}`);console.log("");console.log("Then verify with: agentic-security models doctor");return 0}async function cmdSetup(t){if(t.flags.llm){const s=String(t.flags.llm).toLowerCase();if(s==="ollama")return cmdSetupLlmOllama(t);console.error(`agentic-security setup --llm: unsupported provider "${s}" (only "ollama" runs a discovery/config flow here — other providers (anthropic/openai/gemini/local) configure via their AGENTIC_SECURITY_LLM_* env vars directly, no setup step needed).`);return 4}const s=l.resolve(t._[1]||".");const i=l.join(s,".claude","commands");await o.mkdir(i,{recursive:true});const r=l.resolve(process.argv[1]);const a={"security-scan-all.md":`---\ndescription: Run a full security scan (SAST + SCA + Secrets) on this project or a given path.\nargument-hint: "[path]"\n---\n\`\`\`bash\nnode ${r} scan \${1:-.}; ec=$?; [ $ec -le 3 ] && exit 0 || exit $ec\n\`\`\`\nOutput is a grouped summary: severity counts, finding types by frequency, top affected files.\nUse \`--format cli\` for the full per-finding list. Findings are always saved to \`.agentic-security/last-scan.json\`.\nIf you see critical findings, run \`/fix-all --severity critical\` to remediate.\n`,"security-fix.md":`---\ndescription: Apply a remediation patch for a single finding from the last scan.\nargument-hint: "<finding-id>"\n---\n\`\`\`bash\nnode ${r} fix --finding \${1}\n\`\`\`\nHand the finding to the security-fixer subagent: read the file, apply the fix template adapted to the surrounding code, and run the project's test command. Do not declare done until the finding no longer reproduces on re-scan.\n`,"fix-all.md":`---\ndescription: Remediate every finding at or above a severity threshold (default: critical).\nargument-hint: "[--severity critical|high|medium]"\n---\n\nRead \`.agentic-security/last-scan.json\`. For every finding at or above \`\${1:-critical}\` severity, dispatch the security-fixer subagent — independent findings in parallel, serializing only findings that share a file. Each fix is inline-verified by apply_fix before it lands (finding gone + no new ≥medium + lint). Do NOT halt on the first failure: record each finding's outcome and continue, then report the full list and the auto-fix acceptance rate. Re-run \`/security-scan-all\` to confirm.\n`,"security-report.md":`---\ndescription: Generate an HTML security report (or JSON / Markdown / SARIF).\nargument-hint: "[--format html|json|md|sarif] [--output <file>]"\n---\n\`\`\`bash\nnode ${r} scan . --format \${1:-html} --output \${2:-security-report.html}\n\`\`\`\nDefault produces \`security-report.html\` — a self-contained interactive page with severity charts and filterable findings. Open with \`open security-report.html\`.\n`,"security-sca.md":`---\ndescription: Run a dependency vulnerability scan (SCA only) against this project.\nargument-hint: "[path]"\n---\n\`\`\`bash\nnode ${r} scan \${1:-.} --only sca --format cli\n\`\`\`\n`,"security-secrets.md":`---\ndescription: Scan for leaked credentials and hardcoded secrets.\nargument-hint: "[path]"\n---\n\`\`\`bash\nnode ${r} scan \${1:-.} --only secrets --format cli\n\`\`\`\n`,"security-triage.md":`---\ndescription: Validate scan findings for false positives and suppress confirmed FPs before reporting.\nargument-hint: "[--severity critical|high|all]"\n---\n\nRead \`.agentic-security/last-scan.json\` and validate each finding at or above \`\${1:-critical}\` severity for false positives.\n\nFor each finding:\n1. Read the file at the reported path and extract ±20 lines around the flagged line\n2. Evaluate whether it is a **true positive** using these criteria:\n - **True positive**: user-controlled input demonstrably reaches the sink without validation — flag it\n - **False positive**: the value is validated against an allowlist / switch / explicit enum before the sink, the sink is a safe API overload (e.g. \`execFile\` with an array, parameterized query), the finding is in a test fixture or mock, or the "source" is an internal constant rather than external input\n3. For each confirmed false positive, add a suppression entry to \`.agentic-security/rules.yml\`:\n\n\`\`\`yaml\nsuppressions:\n - rule: "<vuln name from finding>"\n files: ["<file path>"]\n reason: "<one sentence: why this is a FP>"\n\`\`\`\n\nIf \`.agentic-security/rules.yml\` does not exist, create it with the suppressions block.\n\nAfter processing all findings, print a summary table:\n\n| File:Line | Vulnerability | Verdict | Reason |\n|---|---|---|---|\n| ... | ... | TP / FP | ... |\n\nThen re-run the scan so suppressions take effect:\n\n\`\`\`bash\nnode ${r} scan .; ec=$?; [ $ec -le 3 ] && exit 0 || exit $ec\n\`\`\`\n\nDo not suppress anything you are not certain is a false positive. When in doubt, mark it TP and leave remediation to \`/security-fix\`.\n`};for(const[t,s]of Object.entries(a)){await o.writeFile(l.join(i,t),s)}const u=Object.keys(a).map(t=>"/"+t.replace(".md","")).join(", ");console.log(`✓ Installed ${Object.keys(a).length} command shortcuts in ${i}`);console.log(` ${u}`);console.log("");console.log("These work in this project only. Re-run in other projects as needed.");return 0}async function cmdBoundaries(t){const s=t.flags;const r="Usage: agentic-security boundaries --from <dir> [--findings <last-scan.json>] [--environment <name>] [--repository <name>] [--revision <sha>] [--root <project>] [--out <file>] [--json] [--now <iso>]";if(typeof s.from!=="string"||!s.from){console.error(r);return 2}for(const t of["findings","environment","repository","revision","out","now","root"]){if(s[t]!==undefined&&(typeof s[t]!=="string"||!s[t])){console.error(`agentic-security boundaries: --${t} needs a value\n${r}`);return 2}}const o=l.resolve(s.root||".");const{resolveAssuranceConfig:u}=await Promise.resolve().then(i.bind(i,90385));const{runBoundaries:p,renderBoundariesText:f}=await i.e(1340).then(i.bind(i,1340));const h=u({scanRoot:o});const m=p({config:h,from:l.resolve(s.from),environment:s.environment||"prod",repository:s.repository||null,revision:s.revision||null,findingsFile:s.findings?l.resolve(s.findings):null,verifySignature:_verifyLastScan,now:s.now});if(m.status==="disabled"||m.status==="blocked"||m.status==="unsupported"){console.error(`agentic-security boundaries: not run (${m.status}): ${m.reason}`);if(m.status==="disabled")console.error("The deployment-boundaries feature is off by default. Enable it for one run with AGENTIC_SECURITY_ASSURANCE_DEPLOYMENT_BOUNDARIES=1.");return 3}if(m.status!=="ok"){console.error(`agentic-security boundaries: ${m.reason}`);return 1}const g=m.report;const x=s.json?`${JSON.stringify(g,null,2)}\n`:f(g);if(s.out){const t=l.resolve(s.out);try{let s=null;try{s=a.lstatSync(t)}catch{}if(s&&!s.isFile())throw new Error("the output path is a symbolic link or not a regular file");a.writeFileSync(t,x,{mode:420})}catch(s){console.error(`agentic-security boundaries: cannot write ${t}: ${s.message}`);return 1}console.log(`agentic-security boundaries: wrote ${t}`)}else writeStdout(x);return 0}async function cmdExplore(t){if(t.flags.runtime)return cmdRuntimeExplorer(t,t._[1]||".");const s=t._[1]||".";const r=l.resolve(s);const{loadSignedGraph:a}=await i.e(8218).then(i.bind(i,78218));const o=a(r);if(!o.ok){process.stderr.write(`agentic-security explore: ${o.message}\n`);return 1}let u=0;if(t.flags.port!==undefined){if(typeof t.flags.port!=="string"||!/^\d+$/.test(t.flags.port)){process.stderr.write(`agentic-security explore: invalid --port value "${t.flags.port}" — must be a non-negative integer.\n`);return 1}u=Number(t.flags.port);if(u>65535){process.stderr.write(`agentic-security explore: invalid --port value "${t.flags.port}" — must be <= 65535.\n`);return 1}}const p=!!t.flags["keep-open"];const{createExploreServer:f}=await i.e(5051).then(i.bind(i,55051));const{generateSessionToken:h}=await i.e(6944).then(i.bind(i,86944));const m=h();let g;try{g=await f({graph:o.graph,port:u,sessionToken:m,keepOpen:p})}catch(t){process.stderr.write(`agentic-security explore: failed to start server: ${t&&t.message?t.message:t}\n`);return 1}const{server:x,port:k}=g;process.stdout.write(`agentic-security explore: serving ${r}\n`);process.stdout.write(` URL: http://127.0.0.1:${k}/#token=${m}\n`);process.stdout.write(" Open this URL in a browser — the page authenticates itself automatically.\n");if(p){process.stdout.write(" --keep-open set: no idle-timeout auto-stop. Ctrl-C to stop.\n")}else{process.stdout.write(" Server auto-stops after a period of inactivity, or Ctrl-C to stop now.\n")}return new Promise(t=>{x.on("close",()=>t(0))})}const ie=new Set(["png","pdf","svg","json","csv","html","dpia","ropa","briefing","recipients","coverage"]);const re=new Set(["architecture","privacy","trace","inventory"]);const ae={standard:{width:1680,height:945},"2x":{width:3360,height:1890}};async function cmdDataflowExport(t){const s=t._[2]||".";const r=l.resolve(s);const u=t.flags.format;if(!u||!ie.has(u)){process.stderr.write(`agentic-security dataflow export: --format must be one of ${[...ie].join("|")} (got ${JSON.stringify(u)}).\n`);return 2}const p=t.flags.output;if(!p||typeof p!=="string"){process.stderr.write("agentic-security dataflow export: --output <file> is required.\n");return 2}const f=t.flags.view!==undefined;const h=t.flags.view||"architecture";if(!re.has(h)){process.stderr.write(`agentic-security dataflow export: --view must be one of ${[...re].join("|")} (got ${JSON.stringify(h)}).\n`);return 2}if(u==="svg"&&h!=="architecture"){process.stderr.write("agentic-security dataflow export: --format svg only supports --view architecture — only the Architecture View renders a real <svg> element.\n");return 2}if(f&&(u==="json"||u==="csv"||u==="html"||u==="dpia"||u==="ropa"||u==="briefing"||u==="recipients"||u==="coverage")){process.stderr.write(`agentic-security dataflow export: --view has no effect on --format ${u} — ${u} exports are not view-scoped.\n`)}const{AUDIENCE_MODES:m}=await i.e(5350).then(i.bind(i,55350));const g=t.flags.audience!==undefined;const x=t.flags.audience||"technical";if(!m.includes(x)){process.stderr.write(`agentic-security dataflow export: --audience must be one of ${m.join("|")} (got ${JSON.stringify(x)}).\n`);return 2}if(g&&u!=="briefing"){process.stderr.write(`agentic-security dataflow export: --audience has no effect on --format ${u} — only --format briefing is audience-aware.\n`)}const k=2e4;function _isPlainPositiveIntString(t){return typeof t==="string"&&/^[1-9]\d*$/.test(t)}const _=t.flags.size;const T=t.flags.width!==undefined||t.flags.height!==undefined;if(_!==undefined&&T){process.stderr.write("agentic-security dataflow export: --size and --width/--height are mutually exclusive — pick one.\n");return 2}let C,A;if(_!==undefined){if(!Object.prototype.hasOwnProperty.call(ae,_)){process.stderr.write(`agentic-security dataflow export: --size must be one of ${Object.keys(ae).join("|")} (got ${JSON.stringify(_)}).\n`);return 2}({width:C,height:A}=ae[_])}else if(T){if(!_isPlainPositiveIntString(t.flags.width)||!_isPlainPositiveIntString(t.flags.height)){process.stderr.write("agentic-security dataflow export: --width/--height must both be positive integers.\n");return 2}C=Number(t.flags.width);A=Number(t.flags.height);if(C>k||A>k){process.stderr.write(`agentic-security dataflow export: --width/--height must both be <= ${k}.\n`);return 2}}else{({width:C,height:A}=ae.standard)}const I=t.flags["no-redact"]?false:true;if(!I&&u==="csv"){process.stderr.write("agentic-security dataflow export: --no-redact has no effect on --format csv — CSV export does not support redaction yet.\n")}if(!I&&(u==="dpia"||u==="ropa"||u==="briefing"||u==="recipients"||u==="coverage")){process.stderr.write(`agentic-security dataflow export: --no-redact has no effect on --format ${u} — ${u} export does not support redaction yet.\n`)}let P;if(t.flags.filter!==undefined){if(typeof t.flags.filter!=="string"||!t.flags.filter){process.stderr.write("agentic-security dataflow export: --filter requires a file path.\n");return 2}const s=l.resolve(t.flags.filter);try{P=JSON.parse(a.readFileSync(s,"utf8"))}catch(s){process.stderr.write(`agentic-security dataflow export: could not read/parse --filter file "${t.flags.filter}": ${s.message}\n`);return 2}const{validateFilterShape:r}=await Promise.resolve().then(i.bind(i,40859));const o=r(P);if(!o.valid){process.stderr.write(`agentic-security dataflow export: --filter file "${t.flags.filter}" ${o.error}.\n`);return 2}if(u==="csv"||u==="coverage"){process.stderr.write(`agentic-security dataflow export: --filter has no effect on --format ${u} — ${u} export does not support scoping yet.\n`)}}const{loadSignedGraph:$}=await i.e(8218).then(i.bind(i,78218));const O=$(r);if(!O.ok){process.stderr.write(`agentic-security dataflow export: ${O.message}\n`);return 1}const D=O.graph;const N={view:h,width:C,height:A,redact:I,filter:P,generatedAt:D.generatedAt,audienceMode:x};let j;try{if(u==="png"||u==="pdf"||u==="svg"){const{exportPng:t,exportPdf:s,exportSvg:r}=await i.e(1122).then(i.bind(i,21122));const a={png:t,pdf:s,svg:r}[u];const o=await a(D,N);if(!o.ok){process.stderr.write(`agentic-security dataflow export: ${o.reason}\n`);return 2}j=o.data}else if(u==="json"){const{exportGraphJSON:t}=await Promise.resolve().then(i.bind(i,40859));j=JSON.stringify(t(D,N),null,2)}else if(u==="csv"){const{exportFlowsCSV:t}=await i.e(7709).then(i.bind(i,17709));j=t(D)}else if(u==="html"){const{generateHtmlReport:t}=await i.e(3180).then(i.bind(i,73180));j=t(D,N)}else if(u==="dpia"){const{emitGraphDpiaArtifact:t}=await i.e(1379).then(i.bind(i,31379));j=t(D,N)}else if(u==="ropa"){const{emitGraphRopaArtifact:t}=await i.e(1379).then(i.bind(i,31379));j=t(D,N)}else if(u==="briefing"){const{emitDecisionStory:t}=await i.e(5350).then(i.bind(i,55350));j=t(D,N).markdown}else if(u==="recipients"){j=_renderDataflowRecipientsMarkdown(D,N)}else if(u==="coverage"){j=_renderDataflowCoverageMarkdown(D,N)}}catch(t){if((u==="dpia"||u==="ropa")&&t&&t.code==="ERR_MODULE_NOT_FOUND"&&/privacy-view\.js/.test(t.message)){process.stderr.write(`agentic-security dataflow export: export failed: --format ${u} could not load its frontend module (${t.message}). This usually means you ran the raw bin/agentic-security.js file directly out of an installed package instead of using the published \`agentic-security\`/\`as\` command (which is fully self-contained). Use the published command, or run from a full source checkout with frontend/ present alongside scanner/.\n`);return 2}process.stderr.write(`agentic-security dataflow export: export failed: ${t&&t.message?t.message:t}\n`);return 2}const R=l.resolve(p);try{await o.mkdir(l.dirname(R),{recursive:true});await o.writeFile(R,j)}catch(t){process.stderr.write(`agentic-security dataflow export: could not write --output "${p}": ${t&&t.message?t.message:t}\n`);return 2}process.stdout.write(`agentic-security dataflow export: wrote ${u} to ${R}\n`);return 0}function _dfRecipientsMdInline(t){return String(t).replace(/\r\n|\r|\n/g," ")}function _dfRecipientsMdCell(t){return _dfRecipientsMdInline(t).replace(/\\/g,"\\\\").replace(/\|/g,"\\|")}function _dfRecipientsMdCode(t){const s=_dfRecipientsMdInline(t);const i=s.match(/`+/g);const r=i?Math.max(...i.map(t=>t.length)):0;if(r===0)return`\`${s}\``;const a="`".repeat(r+1);return`${a} ${s} ${a}`}function _filterRecipientProfiles(t,s){if(!s)return t;const i=new Set(s.nodeIds??[]);return t.filter(t=>(t.contributingGraphIds??[]).some(t=>i.has(t)))}const oe=[["provider","Provider"],["serviceType","Service Type"],["legalEntity","Legal Entity"],["processorRole","Processor Role"],["processingCountries","Jurisdiction(s)"],["dpaStatus","DPA Status"]];function _dataflowRecipientsCellValue(t,s){const i=t[s];if(s==="processingCountries"){return Array.isArray(i)&&i.length>0?i.join(", "):"—"}return i===null||i===undefined||i===""?"—":String(i)}function _renderDataflowRecipientsMarkdown(t,s={}){const i=_filterRecipientProfiles(t.recipientProfiles??[],s.filter);const r=[];r.push("# Third-Party and Cross-Border Recipient Intelligence");r.push("");r.push(`**Graph:** ${_dfRecipientsMdCode(t.graphId??"(no graphId)")}`);r.push(`**Generated:** ${_dfRecipientsMdInline(s.generatedAt??t.generatedAt??"")}`);if(s.filter)r.push("**Scope:** filtered to a subset of the graph (`--filter`).");r.push("");if(i.length===0){r.push(s.filter?"No recipients survive the given `--filter` scope.":"No recipients resolved for this graph — no sink site matched a known technical-provider catalog entry or an operator-declared `recipient-profiles.json` entry.");return`${r.join("\n")}\n`}r.push(`| ${oe.map(([,t])=>t).join(" | ")} | Confidence |`);r.push(`|${oe.map(()=>"---").join("|")}|---|`);for(const t of i){const s=oe.map(([s])=>_dfRecipientsMdCell(_dataflowRecipientsCellValue(t,s)));s.push(_dfRecipientsMdCell(t.confidence??"—"));r.push(`| ${s.join(" | ")} |`)}r.push("");r.push("## Field evidence");r.push("");r.push("For each recipient above, whether each shown fact is code-inferred (from a real call site matching this codebase's technical-provider catalog), declared (from operator-supplied `recipient-profiles.json`), or absent (no source at all — never fabricated):");r.push("");for(const t of i){r.push(`### ${_dfRecipientsMdInline(t.provider??t.recipientKey??"(unknown recipient)")}`);for(const[s,i]of oe){const a=t.fieldEvidence?t.fieldEvidence[s]:undefined;const o=a?a.factType:"absent";const l=a&&a.source?` (source: ${_dfRecipientsMdInline(a.source)})`:"";r.push(`- ${_dfRecipientsMdInline(i)}: ${_dfRecipientsMdInline(o)}${l}`)}r.push("")}return`${r.join("\n")}\n`}function _dfCoverageMdInline(t){return String(t).replace(/\r\n|\r|\n/g," ")}function _dfCoverageMdCell(t){return _dfCoverageMdInline(t).replace(/\\/g,"\\\\").replace(/\|/g,"\\|")}function _renderDataflowCoverageMarkdown(t,s={}){const i=[];i.push("# Language Coverage");i.push("");i.push(`**Graph:** \`${_dfCoverageMdInline(t.graphId??"(no graphId)")}\``);i.push(`**Generated:** ${_dfCoverageMdInline(s.generatedAt??t.generatedAt??"")}`);i.push("");i.push("`Files Analyzed`/`Files Expected` are real counts from THIS scan. `Tier` and `Recall (docs/METRICS.md)` are a curated, product-level estimate — unchanged since the date shown, not measured on this repository. The two are never the same kind of fact.");i.push("");const r=Array.isArray(t.coverage?.languages)?t.coverage.languages:[];if(r.length===0){i.push("_No language coverage data available for this scan._")}else{i.push("| Language | Files Analyzed | Files Expected | Tier | Recall (docs/METRICS.md) |");i.push("|---|---|---|---|---|");for(const t of r){const s=typeof t.irTaintRecallPct==="number"?`${t.irTaintRecallPct}% (as of ${_dfCoverageMdCell(t.measuredAt??"?")})`:"—";i.push(`| ${_dfCoverageMdCell(t.language)} | ${_dfCoverageMdCell(t.filesAnalyzed)} | ${_dfCoverageMdCell(t.filesExpected)} | ${_dfCoverageMdCell(t.tier)} | ${s} |`)}}i.push("");return i.join("\n")}const le=new Set(["json","markdown"]);function _dataflowDiffFlowLabel(t,s){const i=(s?.flows??[]).find(s=>s.id===t);if(!i)return{dataElementNames:[],sinkLabel:null};const r=(i.dataElementIds??[]).map(t=>(s.dataElements??[]).find(s=>s.id===t)?.name).filter(t=>typeof t==="string"&&t.length>0);const a=(s.nodes??[]).find(t=>t.id===i.sink)??null;const o=a?.label??a?.subtype??a?.kind??i.sink??null;return{dataElementNames:r,sinkLabel:o}}function _dfDiffMdInline(t){return String(t).replace(/\r\n|\r|\n/g," ")}function _dfDiffMdCell(t){return _dfDiffMdInline(t).replace(/\\/g,"\\\\").replace(/\|/g,"\\|")}function _dfDiffMdCode(t){const s=_dfDiffMdInline(t);const i=s.match(/`+/g);const r=i?Math.max(...i.map(t=>t.length)):0;if(r===0)return`\`${s}\``;const a="`".repeat(r+1);return`${a} ${s} ${a}`}function _renderDataflowDiffMarkdown(t,s,i,r,a){const o=r.graph??{};const l=i.graph??{};const u=[];u.push("# Data Flow Explorer — Graph Diff");u.push("");u.push(`**Before:** commit ${_dfDiffMdCode(i.commit)} — captured ${_dfDiffMdInline(i.capturedAt)}`);u.push(`**After:** commit ${_dfDiffMdCode(r.commit)} — captured ${_dfDiffMdInline(r.capturedAt)}`);u.push(`**Generated:** ${_dfDiffMdInline(t.generatedAt)}`);u.push("");u.push("## Drift Policy Violations");u.push("");if(!a){u.push("_No `--drift-policy` supplied — policy evaluation was skipped._")}else if(s.length===0){u.push("No drift-policy violations detected.")}else{u.push("| Trigger | Flow | Data Elements | Sink | Reason |");u.push("|---|---|---|---|---|");for(const t of s){const s=[t.trigger,t.flowId,(t.dataElementNames??[]).join(", ")||"(none)",t.sinkCategory??t.sinkNodeId??"unknown",t.reason];u.push(`| ${s.map(_dfDiffMdCell).join(" | ")} |`)}}u.push("");u.push("## Summary");u.push("");u.push(`- Nodes: +${t.added.nodes.length} / -${t.removed.nodes.length}`);u.push(`- Edges: +${t.added.edges.length} / -${t.removed.edges.length}`);u.push(`- Data elements: +${t.added.dataElements.length} / -${t.removed.dataElements.length}`);u.push(`- Flows: +${t.added.flows.length} / -${t.removed.flows.length} / ~${t.changed.flows.length} changed`);u.push("");const _entityList=t=>t.map(t=>`- ${_dfDiffMdCode(t.id)} (${_dfDiffMdInline(t.causeClassification)})`);u.push("## Added");u.push("");u.push("### Flows");if(t.added.flows.length===0){u.push("_None._")}else{for(const s of t.added.flows){const{dataElementNames:t,sinkLabel:i}=_dataflowDiffFlowLabel(s.id,o);const r=t.length?t.map(_dfDiffMdCode).join(", "):"unclassified data";const a=s.causeClassification==="reidentified"?` **(reidentified — same flow as ${_dfDiffMdCode(s.reidentifiedFrom)}, not a new code-level flow; only engine confidence/shape changed)**`:"";u.push(`- ${_dfDiffMdCode(s.id)} — ${r} → ${_dfDiffMdCode(i??"unknown sink")} (first seen ${_dfDiffMdInline(s.firstSeen?.commit??"")})${a}`)}}u.push("");for(const[s,i]of[["Nodes","nodes"],["Edges","edges"],["Data Elements","dataElements"]]){u.push(`### ${s}`);u.push(t.added[i].length===0?"_None._":_entityList(t.added[i]).join("\n"));u.push("")}u.push("## Removed");u.push("");u.push("### Flows");if(t.removed.flows.length===0){u.push("_None._")}else{for(const s of t.removed.flows){const{dataElementNames:t,sinkLabel:i}=_dataflowDiffFlowLabel(s.id,l);const r=t.length?t.map(_dfDiffMdCode).join(", "):"unclassified data";let a="";if(s.causeClassification==="possible_coverage_regression"){a=` **(possible coverage regression: ${_dfDiffMdInline((s.coverageRegressionReasons??[]).join("; "))})**`}else if(s.causeClassification==="reidentified"){a=` **(reidentified — same flow as ${_dfDiffMdCode(s.reidentifiedTo)}, not a real removal; only engine confidence/shape changed)**`}u.push(`- ${_dfDiffMdCode(s.id)} — ${r} → ${_dfDiffMdCode(i??"unknown sink")} (last seen ${_dfDiffMdInline(s.lastSeen?.commit??"")})${a}`)}}u.push("");for(const[s,i]of[["Nodes","nodes"],["Edges","edges"],["Data Elements","dataElements"]]){u.push(`### ${s}`);u.push(t.removed[i].length===0?"_None._":_entityList(t.removed[i]).join("\n"));u.push("")}u.push("## Changed");u.push("");u.push("### Flows");if(t.changed.flows.length===0){u.push("_None._")}else{for(const s of t.changed.flows){const t=s.changes.map(t=>`${_dfDiffMdInline(t.field)}: ${_dfDiffMdCode(JSON.stringify(t.before))} -> ${_dfDiffMdCode(JSON.stringify(t.after))}`).join("; ");u.push(`- ${_dfDiffMdCode(s.id)} — ${t}`)}}u.push("");return u.join("\n")}function _validateDriftPolicyFile(t,s,i){if(!a.existsSync(t)){return{ok:false,message:`agentic-security dataflow ${i}: --drift-policy file "${s}" does not exist.\n`}}let r;try{r=JSON.parse(a.readFileSync(t,"utf8"))}catch(t){return{ok:false,message:`agentic-security dataflow ${i}: could not parse --drift-policy file "${s}": ${t.message}\n`}}if(!r||typeof r!=="object"||Array.isArray(r)||!Array.isArray(r.policies)){return{ok:false,message:`agentic-security dataflow ${i}: --drift-policy file "${s}" must be a JSON object of the form {"policies":[...]} (got a different shape).\n`}}return{ok:true}}async function cmdDataflowDiff(t){const s=t._[2]||".";const r=l.resolve(s);const a=t.flags.output;if(!a||typeof a!=="string"){process.stderr.write("agentic-security dataflow diff: --output <file> is required.\n");return 2}const u=t.flags.format;if(!u||!le.has(u)){process.stderr.write(`agentic-security dataflow diff: --format must be one of ${[...le].join("|")} (got ${JSON.stringify(u)}).\n`);return 2}const p=t.flags.against;if(p!==undefined&&(typeof p!=="string"||!p)){process.stderr.write("agentic-security dataflow diff: --against requires a commit value.\n");return 2}const f=t.flags["drift-policy"];if(f!==undefined&&(typeof f!=="string"||!f)){process.stderr.write("agentic-security dataflow diff: --drift-policy requires a file path.\n");return 2}const h=!!t.flags["fail-on-drift"];const m=(0,g.Im)(r);if(m.length===0){process.stderr.write(`agentic-security dataflow diff: no persisted GraphSnapshot found for "${r}" — run a scan with AGENTIC_SECURITY_LINEAGE_DEEP=1 first.\n`);return 2}const x=m[0];let k;if(p!==undefined){k=(0,g.N2)(r,p);if(!k){process.stderr.write(`agentic-security dataflow diff: no persisted GraphSnapshot found for commit "${p}" — pass a commit that was actually scanned.\n`);return 2}}else{k=(0,g.Jf)(r,x.commit);if(!k){process.stderr.write(`agentic-security dataflow diff: only one persisted GraphSnapshot exists (commit "${x.commit}") — nothing to compare against yet. Scan again after a code change, or pass --against <commit>.\n`);return 2}}if(k.commit===x.commit){process.stderr.write(`agentic-security dataflow diff: refusing a self-diff — --against resolved to the same commit as the current snapshot ("${x.commit}"). Pass a different --against, or scan again after a code change.\n`);return 2}const{computeGraphDiff:_}=await i.e(3518).then(i.bind(i,83518));let T;try{T=_(k,x)}catch(t){process.stderr.write(`agentic-security dataflow diff: ${t&&t.message?t.message:t}\n`);return 2}let C=[];const A=f!==undefined;if(A){const t=l.resolve(f);const s=_validateDriftPolicyFile(t,f,"diff");if(!s.ok){process.stderr.write(s.message);return 2}const{loadDriftPolicies:r,evaluateDriftPolicies:a}=await i.e(6662).then(i.bind(i,6662));const o=r(t);C=a(T,o,x.graph).violations}let I;if(u==="json"){I=JSON.stringify({...T,violations:C},null,2)}else{I=_renderDataflowDiffMarkdown(T,C,k,x,A)}const P=l.resolve(a);try{await o.mkdir(l.dirname(P),{recursive:true});await o.writeFile(P,I)}catch(t){process.stderr.write(`agentic-security dataflow diff: could not write --output "${a}": ${t&&t.message?t.message:t}\n`);return 2}process.stdout.write(`agentic-security dataflow diff: wrote ${u} to ${P} (${C.length} drift-policy violation(s))\n`);if(h&&C.length>0)return 1;return 0}async function cmdDataflowScenarioApply(t){const s=t._[3]||".";const r=l.resolve(s);const u=t.flags.operations;if(!u||typeof u!=="string"){process.stderr.write("agentic-security dataflow scenario apply: --operations <file> is required.\n");return 2}const p=t.flags.output;if(!p||typeof p!=="string"){process.stderr.write("agentic-security dataflow scenario apply: --output <file> is required.\n");return 2}const f=t.flags.format??"json";if(f!=="json"&&f!=="markdown"){process.stderr.write(`agentic-security dataflow scenario apply: --format must be one of json|markdown (got ${JSON.stringify(f)}).\n`);return 2}let h;try{h=JSON.parse(a.readFileSync(l.resolve(u),"utf8"))}catch(t){process.stderr.write(`agentic-security dataflow scenario apply: could not read/parse --operations file "${u}": ${t.message}\n`);return 2}const{loadSignedGraph:m}=await i.e(8218).then(i.bind(i,78218));const g=m(r);if(!g.ok){process.stderr.write(`agentic-security dataflow scenario apply: ${g.message}\n`);return 1}const x=g.graph;const{validateScenario:k}=await i.e(3276).then(i.bind(i,63276));const{computeGraphDigest:_}=await Promise.resolve().then(i.bind(i,40859));const{scenarioId:T}=await Promise.resolve().then(i.bind(i,45034));const C=_(x);const A=h.author??"cli";const I=(new Date).toISOString();const P={id:T({graphId:x.graphId,graphDigest:C},[A,I]),version:"1.0.0",baseGraphId:x.graphId,baseGraphDigest:C,operations:h.operations??[],assumptions:h.assumptions??[],author:A,createdAt:I,expiration:null,simulatedDelta:null,verificationRequirements:h.verificationRequirements??[]};const{valid:$,errors:O}=k(P);if(!$){process.stderr.write(`agentic-security dataflow scenario apply: --operations file failed validation:\n${O.map(t=>` ${t.path}: ${t.message}`).join("\n")}\n`);return 2}let D;const N=t.flags["privacy-sink-policy"];if(N!==undefined){try{D=JSON.parse(a.readFileSync(l.resolve(N),"utf8"))}catch(t){process.stderr.write(`agentic-security dataflow scenario apply: could not read/parse --privacy-sink-policy file "${N}": ${t.message}\n`);return 2}}const{applyScenario:j}=await i.e(4547).then(i.bind(i,24547));const{diffScenarioGraph:R}=await i.e(8846).then(i.bind(i,8846));const L={privacySinkPolicy:D,environment:t.flags.environment};const{graph:F,appliedOperations:M,skippedOperations:B}=j(x,P,L);const{changedEntities:W,removedEntityIds:U}=R(x,F);const H={scenarioId:P.id,appliedOperations:M,skippedOperations:B,changedEntities:W,removedEntityIds:U,generatedAt:(new Date).toISOString()};let V;if(f==="json"){V=JSON.stringify(H,null,2)}else{const t=[`# Scenario delta`,"",`Applied ${M.length} operation(s), skipped ${B.length}.`,""];if(B.length){t.push("## Skipped operations","");for(const s of B)t.push(`- \`${s.operation.kind}\`: ${s.reason}`);t.push("")}t.push("## Changed entities","");for(const s of W){t.push(`- **${s.kind} ${s.id}**${s.label?` — **${s.label}**`:""}`);for(const i of s.changedFields)t.push(` - \`${i.field}\`: ${JSON.stringify(i.before)} → ${JSON.stringify(i.after)}`)}if(U.length){t.push("","## Removed entities","");for(const s of U)t.push(`- ${s}`)}V=t.join("\n")+"\n"}try{await o.mkdir(l.dirname(l.resolve(p)),{recursive:true});await o.writeFile(l.resolve(p),V)}catch(t){process.stderr.write(`agentic-security dataflow scenario apply: could not write --output "${p}": ${t&&t.message?t.message:t}\n`);return 2}return 0}async function cmdDataflowImpactAssess(t){const s=t._[3]||".";const r=l.resolve(s);const a=t.flags.target;if(!a||typeof a!=="string"){process.stderr.write("agentic-security dataflow impact assess: --target <canonical-id> is required.\n");return 2}const u=t.flags.output;if(!u||typeof u!=="string"){process.stderr.write("agentic-security dataflow impact assess: --output <file> is required.\n");return 2}const p=t.flags.format??"json";if(p!=="json"&&p!=="markdown"){process.stderr.write(`agentic-security dataflow impact assess: --format must be one of json|markdown (got ${JSON.stringify(p)}).\n`);return 2}const{loadSignedGraph:f}=await i.e(8218).then(i.bind(i,78218));const h=f(r);if(!h.ok){process.stderr.write(`agentic-security dataflow impact assess: ${h.message}\n`);return 1}const{computeImpactAssessment:m}=await i.e(6626).then(i.bind(i,66626));let g;try{g=m(h.graph,a)}catch(t){const s=t&&t.message?t.message:String(t);process.stderr.write(`agentic-security dataflow impact assess: ${s}\n`);return s.startsWith("computeImpactAssessment: malformed graph")?1:2}let x;if(p==="json"){x=JSON.stringify(g,null,2)}else{const t=[`# Impact assessment`,"",`id: \`${g.id}\``,`graphId: \`${g.graphId}\``,`graphDigest: \`${g.graphDigest}\``,`generatedAt: ${g.generatedAt}`,"",`Target: \`${g.targetId}\` (${g.targetKind})`,`Scope: ${g.scope} (traceKind: ${g.traceKind})`,"",`## Affected nodes (${g.affectedNodeIds.length})`,"",...g.affectedNodeIds.map(t=>`- ${t}`),"",`## Affected edges (${g.affectedEdgeIds.length})`,"",...g.affectedEdgeIds.map(t=>`- ${t}`),"",`## Affected data classes`,"",g.affectedDataClasses.length?g.affectedDataClasses.map(t=>`- ${t}`).join("\n"):"_none_","",`## Affected recipients`,"",g.affectedRecipientProfileIds.length?g.affectedRecipientProfileIds.map(t=>`- ${t}`).join("\n"):"_none_",""];if(g.coverageLimitations.length){t.push("## Coverage limitations","",...g.coverageLimitations.map(t=>`- ${t}`),"")}x=t.join("\n")+"\n"}try{await o.mkdir(l.dirname(l.resolve(u)),{recursive:true});await o.writeFile(l.resolve(u),x)}catch(t){process.stderr.write(`agentic-security dataflow impact assess: could not write --output "${u}": ${t&&t.message?t.message:t}\n`);return 2}return 0}const ce=/^[A-Za-z0-9._:-]{1,512}$/;async function cmdDataflowObservationsImport(t){const s=t._[3]||".";const r=l.resolve(s);const{adapterFor:o}=await i.e(2923).then(i.bind(i,12923));const p=t.flags.adapter;if(!p||typeof p!=="string"){process.stderr.write('agentic-security dataflow observations import: --adapter <name> is required (currently only "native-jsonl" is supported).\n');return 2}const f=o(p);if(!f){process.stderr.write(`agentic-security dataflow observations import: unknown --adapter "${p}" — only "native-jsonl" is supported.\n`);return 2}const h=t.flags.input;if(!h||typeof h!=="string"){process.stderr.write("agentic-security dataflow observations import: --input <file> is required.\n");return 2}const m=l.resolve(h);if(!a.existsSync(m)){process.stderr.write(`agentic-security dataflow observations import: --input file not found: "${h}".\n`);return 2}const _isoOk=t=>typeof t==="string"&&t.length>0&&Number.isFinite(Date.parse(t));const g=t.flags["window-start"];const x=t.flags["window-end"];if(!_isoOk(g)||!_isoOk(x)){process.stderr.write("agentic-security dataflow observations import: --window-start and --window-end are both required and must be parseable ISO-8601 date-times.\n");return 2}if(Date.parse(g)>Date.parse(x)){process.stderr.write("agentic-security dataflow observations import: --window-start must not be after --window-end.\n");return 2}const k=t.flags["retain-until"];let _=null;if(k!==undefined){if(!_isoOk(k)){process.stderr.write("agentic-security dataflow observations import: --retain-until must be a parseable ISO-8601 date-time. Note: this value is recorded as retention.expiresAt but is NOT currently enforced by anything — an import past its declared expiresAt is not auto-deleted, and `reset --yes` sweeps the whole store regardless.\n");return 2}_=k}const{loadSignedGraph:T}=await i.e(8218).then(i.bind(i,78218));const C=T(r);if(!C.ok){process.stderr.write(`agentic-security dataflow observations import: ${C.message}\n`);return 1}const A=p;const I=typeof t.flags.source==="string"&&t.flags.source||l.basename(m);const P=typeof t.flags.environment==="string"&&t.flags.environment||"unspecified";if(!ce.test(I)){process.stderr.write(`agentic-security dataflow observations import: --source must look like an identifier/filename (letters, digits, '.', '_', ':', '-', 512 characters max) — a value containing whitespace, quotes, or punctuation is how a payload arrives disguised as metadata (got ${JSON.stringify(I)}).\n`);return 2}let $;try{$=a.readFileSync(m,"utf8")}catch(t){process.stderr.write(`agentic-security dataflow observations import: could not read --input "${h}": ${t&&t.message?t.message:t}\n`);return 2}const{RUNTIME_OBSERVATION_VERSION:O,validateRuntimeObservation:D}=await Promise.resolve().then(i.bind(i,61995));const N=(new Date).toISOString();const j={adapter:A,source:I,environment:P,windowStart:g,windowEnd:x,importedAt:N,retention:{expiresAt:_},version:O};if(t.flags["record-identity-tokens"]){const{makeIdentityTokenizer:t}=await i.e(3196).then(i.bind(i,33196));j.tokenizeIdentity=t()}const{drafts:R,errors:L}=f.parse($,j);const{matchObservationToGraph:F}=await Promise.resolve().then(i.bind(i,26531));const{observationId:M,observationImportId:B}=await Promise.resolve().then(i.bind(i,45034));const W=[];const U=[];let V=0;let K=0;R.forEach((t,s)=>{const i=F(C.graph,t);const r=Object.entries(t.attributes??{}).sort().map(([t,s])=>`${t}=${JSON.stringify(s)}`).join("&");const a=M({adapter:A,environment:t.environment,windowStart:t.windowStart,windowEnd:t.windowEnd},[r]);const o={id:a,version:t.version,adapter:t.adapter,source:t.source,environment:t.environment,windowStart:t.windowStart,windowEnd:t.windowEnd,matchedNodeIds:i.matchedNodeIds,matchedEdgeIds:i.matchedEdgeIds,matchedFlowIds:i.matchedFlowIds,attributes:t.attributes,eventCountBand:t.eventCountBand,firstObservedAt:t.firstObservedAt,lastObservedAt:t.lastObservedAt,matchMethod:i.matchMethod,matchConfidence:i.matchConfidence,retention:t.retention,importedAt:t.importedAt};const{valid:l,errors:u}=D(o);if(!l){U.push({index:s+1,errors:u})}else{W.push(o);if(i.matchMethod==="unmatched")K++;else V++}});if(L.length>0||U.length>0){process.stderr.write("agentic-security dataflow observations import: refusing the WHOLE import — a partial import that silently drops an offending record would misrepresent what the operator believes the artifact holds (AC-29 clause 5). Nothing was written. Every offending record:\n");for(const t of L){process.stderr.write(` line ${t.line}: ${t.message}\n`)}for(const t of U){for(const s of t.errors){process.stderr.write(` record ${t.index}: ${s.path}: ${s.message}\n`)}}return 1}const{OBSERVATION_IMPORT_VERSION:G}=await Promise.resolve().then(i.bind(i,61194));const J=B({adapter:A,source:I,environment:P,windowStart:g,windowEnd:x,importedAt:N},[u.randomBytes(4).toString("hex")]);const X={id:J,version:G,adapter:A,source:I,environment:P,windowStart:g,windowEnd:x,importedAt:N,retention:{expiresAt:_},observations:W};const Y={adapter:A,source:I,environment:P,windowStart:g,windowEnd:x,recordCount:W.length,matched:V,unmatched:K,retention:{expiresAt:_},importId:J,written:false};const Q=!!t.flags.yes;if(!Q){process.stdout.write(JSON.stringify(Y,null,2)+"\n");return 0}const Z=(0,H.statePath)(r,"runtime-observations");const{isSafeStateDir:ee}=await Promise.resolve().then(i.bind(i,31174));if(!ee(Z)){process.stderr.write(`agentic-security dataflow observations import: refusing to write — "${r}" does not look like a project directory.\n`);return 2}const{persistObservationImport:te}=await Promise.resolve().then(i.bind(i,61194));let ne;try{ne=te(r,X)}catch(t){process.stderr.write(`agentic-security dataflow observations import: unexpected error writing the store: ${t&&t.message?t.message:t}\n`);return 4}if(!ne.ok){process.stderr.write(`agentic-security dataflow observations import: ${ne.reason}\n`);return ne.reason&&ne.reason.startsWith("invalid ObservationImport record")?1:4}const{auditCall:se}=await i.e(9390).then(i.bind(i,69390));se({sessionRoot:r,tool:"dataflow_observations_import",args:{adapter:A,source:I,environment:P,windowStart:g,windowEnd:x,observations:W.length,matched:V,importId:J},outcome:"ok"});Y.written=true;process.stdout.write(JSON.stringify(Y,null,2)+"\n");return 0}async function cmdDataflowObservationsList(t){const s=t._[3]||".";const r=l.resolve(s);const{loadObservationImports:a}=await Promise.resolve().then(i.bind(i,61194));const o=a(r);const u=o.map(t=>({importId:t.id,adapter:t.adapter,source:t.source,environment:t.environment,windowStart:t.windowStart,windowEnd:t.windowEnd,observations:Array.isArray(t.observations)?t.observations.length:0,importedAt:t.importedAt,expiresAt:t.retention?.expiresAt??"no expiry declared"}));if(t.flags.json){process.stdout.write(JSON.stringify(u,null,2)+"\n");return 0}if(u.length===0){process.stdout.write("No runtime observation imports found.\n");return 0}for(const t of u){process.stdout.write(`${t.importId} adapter=${t.adapter} source=${t.source} environment=${t.environment} `+`window=${t.windowStart}..${t.windowEnd} observations=${t.observations} `+`importedAt=${t.importedAt} expiresAt=${t.expiresAt}\n`)}return 0}function _dfTwinMdInline(t){return String(t).replace(/\r\n|\r|\n/g," ")}function _dfTwinMdCell(t){return _dfTwinMdInline(t).replace(/\\/g,"\\\\").replace(/\|/g,"\\|")}const ue=Object.freeze({runtime_observed:"RUNTIME OBSERVED",not_observed_in_window:"not_observed_in_window",not_evaluated:"not_evaluated"});async function cmdDataflowTwin(t){const s=t._[2]||".";const r=l.resolve(s);const u=t.flags.output;if(!u||typeof u!=="string"){process.stderr.write("agentic-security dataflow twin: --output <file> is required.\n");return 2}const p=t.flags.format??"json";if(p!=="json"&&p!=="markdown"){process.stderr.write(`agentic-security dataflow twin: --format must be one of json|markdown (got ${JSON.stringify(p)}).\n`);return 2}const{loadSignedGraph:f}=await i.e(8218).then(i.bind(i,78218));const h=f(r);if(!h.ok){process.stderr.write(`agentic-security dataflow twin: ${h.message}\n`);return 1}const m=typeof t.flags.environment==="string"?t.flags.environment:null;const g=typeof t.flags["window-start"]==="string"?t.flags["window-start"]:null;const x=typeof t.flags["window-end"]==="string"?t.flags["window-end"]:null;const k=(0,H.statePath)(r,"runtime-observations");const _=a.existsSync(k)?(await Promise.resolve().then(i.bind(i,61194))).loadObservations(r):null;const{correlateObservations:T}=await Promise.resolve().then(i.bind(i,26531));const C=T(h.graph,_,{environment:m,windowStart:g,windowEnd:x});let A;if(p==="json"){A=JSON.stringify(C,null,2)}else{const{computeGraphDigest:t}=await Promise.resolve().then(i.bind(i,40859));const s=new Map(h.graph.nodes.map(t=>[t.id,t]));const r=new Map(h.graph.flows.map(t=>[t.id,t]));const a=[];a.push("# Runtime Digital Twin","");a.push(`**Graph:** \`${_dfTwinMdInline(h.graph.graphId??"(no graphId)")}\``);a.push(`**Graph digest:** \`${_dfTwinMdInline(t(h.graph))}\``);a.push(`**Environment filter:** ${_dfTwinMdInline(C.environment??"(none)")}`);a.push(`**Window:** ${_dfTwinMdInline(C.windowStart??"(open)")} .. ${_dfTwinMdInline(C.windowEnd??"(open)")}`,"");a.push("## Layers","");a.push("| Flow | Source | Sink | Layer |");a.push("|---|---|---|---|");const o=Object.keys(C.byFlow).sort();for(const t of o){const i=r.get(t);const o=i?s.get(i.source)?.label??i.source:"(unknown)";const l=i?s.get(i.sink)?.label??i.sink:"(unknown)";const u=C.byFlow[t];const p=ue[u.layer]??u.layer;a.push(`| ${_dfTwinMdCell(t)} | ${_dfTwinMdCell(o)} | ${_dfTwinMdCell(l)} | ${_dfTwinMdCell(p)} |`)}a.push("");const l=o.filter(t=>C.byFlow[t].layer==="runtime_observed");if(l.length>0){a.push("## Runtime-observed flow detail","");for(const t of l){const s=C.byFlow[t];a.push(`### ${_dfTwinMdInline(t)}`,"");a.push(`- Match method: ${_dfTwinMdInline(s.matchMethod??"(none)")}`);a.push(`- Match confidence: ${_dfTwinMdInline(s.matchConfidence??"(none)")}`);a.push(`- Environment: ${_dfTwinMdInline(s.environment??"(none)")}`);a.push(`- Window: ${_dfTwinMdInline(s.windowStart??"(none)")} .. ${_dfTwinMdInline(s.windowEnd??"(none)")}`);a.push(`- First observed: ${_dfTwinMdInline(s.firstObservedAt??"(none)")}`);a.push(`- Last observed: ${_dfTwinMdInline(s.lastObservedAt??"(none)")}`);a.push(`- Event count band: ${_dfTwinMdInline(s.eventCountBand??"(none)")}`);if(Array.isArray(s.contributingEnvironments)&&s.contributingEnvironments.length>1){a.push(`- Contributing environments: ${_dfTwinMdInline(s.contributingEnvironments.join(", "))} — the fields above describe only the representative (strongest-confidence) environment (I2).`)}if(s.siblingFlowCount){a.push(`- Sibling flow count: ${_dfTwinMdInline(s.siblingFlowCount)} — this observation corroborates the destination NODE, never which sibling flow produced the traffic, which is why matchConfidence reads 'ambiguous' here.`)}a.push("")}}a.push("## Limitations","");for(const t of C.limitations??[]){a.push(`- ${_dfTwinMdInline(t)}`)}a.push("- `not_observed_in_window` means the flow was not observed in the selected environment/window — it does NOT mean the flow does not occur (PRD line 2098).");a.push("- Runtime observation increases corroboration confidence but cannot prove field-level identity — observations correlate to node/edge/flow ids only, never a specific data element instance (FR-505).");a.push("- Every statically possible path in this graph is listed above regardless of layer; nothing was filtered out (AC-29 clause 3).");a.push("");A=a.join("\n")}try{await o.mkdir(l.dirname(l.resolve(u)),{recursive:true});await o.writeFile(l.resolve(u),A)}catch(t){process.stderr.write(`agentic-security dataflow twin: could not write --output "${u}": ${t&&t.message?t.message:t}\n`);return 2}return 0}async function cmdRuntimeIngest(t){const s=t._[2]||".";const i={...t,_:["dataflow","observations","import",s]};return cmdDataflowObservationsImport(i)}async function _loadRuntimeInputs(t){const{loadSignedGraph:s}=await i.e(8218).then(i.bind(i,78218));const r=s(t);if(!r.ok)return{ok:false,message:r.message};const o=(0,H.statePath)(t,"runtime-observations");let l=null;let u=null;if(a.existsSync(o)){const s=await Promise.resolve().then(i.bind(i,61194));l=s.loadObservationImports(t);u=s.loadObservations(t)}return{ok:true,graph:r.graph,importRecords:l,observations:u}}async function cmdRuntimeStatus(t){const s=t._[2]||".";const r=l.resolve(s);const a=t.flags.format??"json";if(a!=="json"&&a!=="markdown"){process.stderr.write(`agentic-security runtime status: --format must be one of json|markdown (got ${JSON.stringify(a)}).\n`);return 2}const o=await _loadRuntimeInputs(r);if(!o.ok){process.stderr.write(`agentic-security runtime status: ${o.message}\n`);return 1}const u=typeof t.flags.environment==="string"?t.flags.environment:null;const p=typeof t.flags["window-start"]==="string"?t.flags["window-start"]:null;const f=typeof t.flags["window-end"]==="string"?t.flags["window-end"]:null;const{correlateObservations:h}=await Promise.resolve().then(i.bind(i,26531));const m=h(o.graph,o.observations,{environment:u,windowStart:p,windowEnd:f});const{computeRuntimeAssurance:g}=await i.e(4700).then(i.bind(i,94700));const x=g({importRecords:o.importRecords,correlation:m});if(a==="json"){process.stdout.write(JSON.stringify(x,null,2)+"\n");return 0}const k=[];k.push("# Runtime Assurance","");k.push(`**runtimeStatus:** \`${x.runtimeStatus}\``,"");k.push(`- Telemetry window: ${x.telemetryWindow.start??"(none)"} .. ${x.telemetryWindow.end??"(none)"}`);k.push(`- Last observed: ${x.freshness.lastObservedAt??"(none)"}${x.freshness.stale?" (STALE)":""}`);k.push(`- Mapping: ${x.mappingPercentage===null?"(no observations)":`${x.mappingPercentage}%`} (${x.unmatchedObservationCount} of ${x.totalObservationCount} unmatched)`);k.push(`- Parse failures: ${x.parseFailures} — ${x.parseFailuresNote}`);k.push("","## Limitations","");for(const t of x.limitations)k.push(`- ${t}`);k.push("");process.stdout.write(k.join("\n"));return 0}async function cmdRuntimeReconcile(t){const s=t._[2]||".";const r=l.resolve(s);const a=await _loadRuntimeInputs(r);if(!a.ok){process.stderr.write(`agentic-security runtime reconcile: ${a.message}\n`);return 1}if(a.observations===null){process.stdout.write(JSON.stringify({checked:0,drifted:[],note:"No runtime observation store exists for this scan — nothing to reconcile."},null,2)+"\n");return 0}const{matchObservationToGraph:o}=await Promise.resolve().then(i.bind(i,26531));const u=[];for(const t of a.observations){const s=o(a.graph,t);const i=s.matchMethod===t.matchMethod&&s.matchConfidence===t.matchConfidence&&JSON.stringify([...s.matchedFlowIds].sort())===JSON.stringify([...t.matchedFlowIds].sort());if(!i){u.push({observationId:t.id,stored:{matchMethod:t.matchMethod,matchConfidence:t.matchConfidence,matchedFlowIds:t.matchedFlowIds},currentGraph:{matchMethod:s.matchMethod,matchConfidence:s.matchConfidence,matchedFlowIds:s.matchedFlowIds}})}}process.stdout.write(JSON.stringify({checked:a.observations.length,drifted:u,note:u.length>0?"These observations would match differently against the CURRENT graph than what is stored — the graph changed since import. Re-import with `runtime ingest` to update the stored match; nothing was changed automatically.":"Every stored observation still matches the current graph identically."},null,2)+"\n");return 0}const de=["PII","PHI","PCI","FIN","CREDENTIALS"];const pe=Object.freeze({"internet-facing-to-sensitive":{description:'Internet-facing flows observed reaching sensitive data (PRD example: "Show Internet-facing flows observed reaching PCI data").',run(t,s){const i=new Map(t.nodes.map(t=>[t.id,t]));const r=new Map(t.dataElements.map(t=>[t.id,t]));return t.flows.filter(t=>{if(s.byFlow[t.id]?.layer!=="runtime_observed")return false;const a=i.get(t.sink);if(a?.externality?.value!=="external")return false;return t.dataElementIds.some(t=>(r.get(t)?.dataClasses??[]).some(t=>de.includes(t)))}).map(t=>t.id)}},"sensitive-crossing-boundary":{description:'Sensitive-data paths observed crossing a trust boundary (PRD example: "Show sensitive-data paths observed crossing trust boundaries").',run(t,s){const i=new Map(t.edges.map(t=>[t.id,t]));const r=new Map(t.dataElements.map(t=>[t.id,t]));return t.flows.filter(t=>{if(s.byFlow[t.id]?.layer!=="runtime_observed")return false;const a=t.edgeIds.some(t=>(i.get(t)?.boundaryCrossings??[]).length>0);if(!a)return false;return t.dataElementIds.some(t=>(r.get(t)?.dataClasses??[]).some(t=>de.includes(t)))}).map(t=>t.id)}}});const fe=Object.freeze({});const he=Object.freeze({"runtime-flows-absent-from-static":"Observed destinations the matcher could not place on any static node: CANDIDATES for a path static analysis missed (or a mapping the matcher is too weak to make).","vulnerable-functions-in-production":"Scan findings whose own function, line or route appears in the runtime trace (.agentic-security/runtime-trace.jsonl). Evaluated against the trace on disk when you ask, using the same matcher the scan uses.","identities-using-risky-paths":"Identity TOKENS (keyed hashes, never identities) seen on edges in a policy-violation or exploit-correlated state. Needs observations imported with --record-identity-tokens."});async function _loadExploitEvidence(t){if(typeof t!=="string")return{evidence:[],errors:[]};const{validateExploitEvidence:s}=await i.e(83).then(i.bind(i,20083));let r;try{r=JSON.parse(a.readFileSync(l.resolve(t),"utf8"))}catch(t){return{evidence:[],errors:[`could not read --exploit-evidence: ${t.code??t.message}`]}}return s(r)}async function cmdRuntimeExplorer(t,s){const r=l.resolve(s);const o=await _loadRuntimeInputs(r);if(!o.ok){process.stderr.write(`agentic-security explore --runtime: ${o.message}\n`);return 1}const u=typeof t.flags.environment==="string"?t.flags.environment:null;const{correlateObservations:p}=await Promise.resolve().then(i.bind(i,26531));const f=await i.e(83).then(i.bind(i,20083));const{renderRuntimeExplorer:h}=await i.e(8714).then(i.bind(i,58714));const m=p(o.graph,o.observations,{environment:u,windowStart:null,windowEnd:null});const g=await _loadExploitEvidence(t.flags["exploit-evidence"]);if(g.errors.length){process.stderr.write(`agentic-security explore --runtime: ${g.errors.join("; ")}\n`);return 2}const x=f.deriveEdgeStates(o.graph,m,o.observations,{exploitEvidence:g.evidence});const k=m.evaluated?f.runtimeFlowsAbsentFromStatic(o.observations,m):{candidates:[]};const _=h({graph:o.graph,edgeStates:x,correlation:m,observations:o.observations??[],absent:k});const T=typeof t.flags.out==="string"?l.resolve(t.flags.out):(0,H.statePath)(r,"runtime-explorer.html");try{a.mkdirSync(l.dirname(T),{recursive:true});a.writeFileSync(T,_)}catch(s){process.stderr.write(`agentic-security explore --runtime: could not write ${t.flags.out??T}: ${s.code??s.message}\n`);return 1}process.stdout.write(`runtime explorer written to ${l.relative(process.cwd(),T)||T} (static page, no server; open it in a browser)\n`);return 0}async function cmdRuntimeEdges(t){const s=l.resolve(t._[2]||".");const r=await _loadRuntimeInputs(s);if(!r.ok){process.stderr.write(`agentic-security runtime edges: ${r.message}\n`);return 1}const a=typeof t.flags.environment==="string"?t.flags.environment:null;const{correlateObservations:o}=await Promise.resolve().then(i.bind(i,26531));const{deriveEdgeStates:u}=await i.e(83).then(i.bind(i,20083));const p=o(r.graph,r.observations,{environment:a,windowStart:null,windowEnd:null});const f=await _loadExploitEvidence(t.flags["exploit-evidence"]);if(f.errors.length){process.stderr.write(`agentic-security runtime edges: ${f.errors.join("; ")}\n`);return 2}const h=u(r.graph,p,r.observations,{exploitEvidence:f.evidence});if((t.flags.format??"json")==="markdown"){const t=["# Static vs runtime, per edge","","| Edge | State | Observations | Allowed | Denied | Uncertain |","|---|---|---|---|---|---|"];for(const[s,i]of Object.entries(h.byEdge))t.push(`| ${s} | ${i.states.join(", ")} | ${i.observations} | ${i.allowed} | ${i.denied} | ${i.uncertainObservations} |`);if(Object.keys(h.byNode).length){t.push("","## Observed on a node with no modelled flow","","| Node | State | Observations | Allowed | Denied |","|---|---|---|---|---|");for(const[s,i]of Object.entries(h.byNode))t.push(`| ${s} | ${i.states.join(", ")} | ${i.observations} | ${i.allowed} | ${i.denied} |`)}t.push("",...h.limitations.map(t=>`- ${t}`),"");process.stdout.write(t.join("\n"))}else process.stdout.write(JSON.stringify({evaluated:h.evaluated,counts:h.counts,byEdge:h.byEdge,byNode:h.byNode,limitations:h.limitations},null,2)+"\n");return 0}async function cmdRuntimeQuery(t){const s=t._[2];if(s==="vulnerable-functions-in-production"&&!t.flags.list){const r=l.resolve(t._[3]||".");const o=(0,H.statePath)(r,"last-scan.json");let u;try{u=a.readFileSync(o,"utf8")}catch{process.stderr.write("agentic-security runtime query: no .agentic-security/last-scan.json here: run a scan first.\n");return 1}if(_verifyLastScan(u,o+".sig")!==true){process.stderr.write("agentic-security runtime query: last-scan.json failed its integrity check; re-run the scan.\n");return 1}const{vulnerableFunctionsInProduction:p}=await i.e(8714).then(i.bind(i,58714));const{annotateRuntimeCorrelation:f}=await Promise.resolve().then(i.bind(i,80190));const h=JSON.parse(u);await f(r,h.findings??[],{});const m=p(h.findings);if(m.evaluated){const{exploitCorrelationOf:t}=await i.e(5456).then(i.bind(i,35456));for(const s of m.findings)s.exploitCorrelation=t(r,s.id);m.counts.exploitCorrelated=m.findings.filter(t=>t.exploitCorrelation.correlated).length}process.stdout.write(JSON.stringify({query:s,supported:true,...m},null,2)+"\n");return 0}if(s&&Object.prototype.hasOwnProperty.call(he,s)&&!t.flags.list){const r=l.resolve(t._[3]||".");const a=await _loadRuntimeInputs(r);if(!a.ok){process.stderr.write(`agentic-security runtime query: ${a.message}\n`);return 1}const o=typeof t.flags.environment==="string"?t.flags.environment:null;const{correlateObservations:u}=await Promise.resolve().then(i.bind(i,26531));const p=await i.e(83).then(i.bind(i,20083));const f=u(a.graph,a.observations,{environment:o,windowStart:null,windowEnd:null});if(!f.evaluated){process.stdout.write(JSON.stringify({query:s,supported:true,evaluated:false,reason:'no runtime observations were imported, so nothing can be said (not "no risk")'},null,2)+"\n");return 0}if(s==="runtime-flows-absent-from-static"){process.stdout.write(JSON.stringify({query:s,supported:true,evaluated:true,...p.runtimeFlowsAbsentFromStatic(a.observations,f)},null,2)+"\n");return 0}const h=await _loadExploitEvidence(t.flags["exploit-evidence"]);if(h.errors.length){process.stderr.write(`agentic-security runtime query: ${h.errors.join("; ")}\n`);return 2}const m=p.deriveEdgeStates(a.graph,f,a.observations,{exploitEvidence:h.evidence});process.stdout.write(JSON.stringify({query:s,supported:true,evaluated:true,...p.identitiesUsingRiskyPaths(m)},null,2)+"\n");return 0}if(!s||t.flags.list){process.stdout.write("Supported queries:\n");for(const[t,s]of Object.entries(pe))process.stdout.write(` ${t} — ${s.description}\n`);for(const[t,s]of Object.entries(he))process.stdout.write(` ${t} — ${s}\n`);process.stdout.write("\nNamed but NOT supported by this architecture (disclosed, not silently omitted):\n");for(const[t,s]of Object.entries(fe))process.stdout.write(` ${t} — ${s}\n`);return t.flags.list?0:2}if(Object.prototype.hasOwnProperty.call(fe,s)){process.stdout.write(JSON.stringify({query:s,supported:false,reason:fe[s]},null,2)+"\n");return 0}const r=pe[s];if(!r){process.stderr.write(`agentic-security runtime query: unrecognized query "${s}" — run with --list to see every supported (and disclosed-unsupported) query name.\n`);return 2}const o=t._[3]||".";const u=l.resolve(o);const p=await _loadRuntimeInputs(u);if(!p.ok){process.stderr.write(`agentic-security runtime query: ${p.message}\n`);return 1}const f=typeof t.flags.environment==="string"?t.flags.environment:null;const{correlateObservations:h}=await Promise.resolve().then(i.bind(i,26531));const m=h(p.graph,p.observations,{environment:f,windowStart:null,windowEnd:null});const g=r.run(p.graph,m);process.stdout.write(JSON.stringify({query:s,supported:true,flowIds:g},null,2)+"\n");return 0}function _readFileOrError(t){const s=l.resolve(t);if(!a.existsSync(s))return{ok:false,message:`no such file: ${t}`};if(!a.statSync(s).isFile())return{ok:false,message:`${t} is not a file`};try{return{ok:true,buf:a.readFileSync(s)}}catch(s){return{ok:false,message:`failed to read ${t}: ${s.message}`}}}function _artifactScanDigestHex(t){const s=String(t||"");const i=s.startsWith("sha256:")?s.slice(7):s;return/^[0-9a-f]{64}$/.test(i)?i:null}async function _scanArchiveFresh(t){const{buildImageInventory:s}=await i.e(5086).then(i.bind(i,55086));const{ImageArchiveError:r}=await i.e(7055).then(i.bind(i,57055));const{TarSafetyError:a}=await i.e(642).then(i.bind(i,90642));const{parseManifests:o,queryOSV:l}=await i.e(7232).then(i.bind(i,77232));const{correlateImageVulnerabilities:u}=await i.e(5206).then(i.bind(i,15206));const{analyzeLayerSecrets:p}=await i.e(7952).then(i.bind(i,47952));const{scanCredentials:f}=await i.e(4384).then(i.bind(i,74384));let h;try{h=s(t,{manifestParser:o})}catch(t){if(t instanceof r||t instanceof a)return{ok:false,message:t.message};throw t}const{vulnerabilities:m}=await u({inventory:h.inventory,fileContents:h.mergedFilesystem.fileContents,queryOSVFn:l});const g=p({readLayersResult:h.readLayersResult,deletedPaths:h.mergedFilesystem.deletedPaths,detectFn:f});return{ok:true,built:h,record:{inventory:h.inventory,vulnerabilities:m,secrets:{deletedButRecoverable:g.deletedButRecoverable,totalFindings:g.findings.length},scannedAt:(new Date).toISOString()}}}async function _persistArtifactScan(t){const{statePath:s,safeWriteState:r}=await Promise.resolve().then(i.bind(i,31174));const a=process.cwd();const o=_artifactScanDigestHex(t.inventory.digest);if(!o)return false;return r(s(a,"artifact-scans",`${o}.json`),JSON.stringify(t,null,2),{category:"artifact-scans"})}async function _resolveArtifactScan(t){const s=_artifactScanDigestHex(t);if(s){const{statePath:r}=await Promise.resolve().then(i.bind(i,31174));const o=r(process.cwd(),"artifact-scans",`${s}.json`);if(a.existsSync(o)){try{return{ok:true,record:JSON.parse(a.readFileSync(o,"utf8"))}}catch(t){return{ok:false,message:`stored scan at ${o} is corrupt: ${t.message}`}}}return{ok:false,message:`no stored scan for digest ${t} — run "image scan" on the archive first`}}const r=_readFileOrError(t);if(!r.ok)return r;const o=await _scanArchiveFresh(r.buf);if(!o.ok)return o;return{ok:true,record:o.record}}const SCANNER_VERSION_FOR_ATTEST=()=>{try{return JSON.parse(a.readFileSync(new URL(i(43089),i.b),"utf8")).version}catch{return null}};async function cmdImageScan(t){const s=t._[2];const r=typeof t.flags.registry==="string"?t.flags.registry:null;const a=typeof t.flags.engine==="string"?t.flags.engine:null;if(!s&&!r){process.stderr.write("agentic-security image scan: provide a path to a docker-archive or oci-archive tar, or --registry <ref> for an explicit remote image, or <name> --engine docker|podman for a local image (see commands/image.md).\n");return 2}const o=t.flags.format??"json";if(o!=="json"&&o!=="cli"){process.stderr.write("agentic-security image scan: --format must be json|cli.\n");return 2}let u;let p={kind:"archive"};if(r){const{fetchImage:s,RegistryError:a}=await i.e(3727).then(i.bind(i,73727));try{const i=await s(r,{platform:typeof t.flags.platform==="string"?t.flags.platform:"linux/amd64",allowLoopbackHttp:!!t.flags["allow-http-loopback"]});u=i.tar;p=i.source}catch(t){if(t instanceof a){process.stderr.write(`agentic-security image scan: ${t.message} (${t.code})\n`);return 1}throw t}}else if(a){const{saveFromEngine:t,EngineError:r}=await i.e(8633).then(i.bind(i,98633));try{const i=await t(s,{runtime:a});u=i.tar;p=i.source}catch(t){if(t instanceof r){process.stderr.write(`agentic-security image scan: ${t.message} (${t.code})\n`);return 1}throw t}}else{const t=_readFileOrError(s);if(!t.ok){process.stderr.write(`agentic-security image scan: ${t.message}\n`);return 1}u=t.buf}const f=await _scanArchiveFresh(u);if(!f.ok){process.stderr.write(`agentic-security image scan: ${f.message}\n`);return 1}f.record.source=p;await _persistArtifactScan(f.record);if(t.flags.attest){const{buildArtifactEvidenceBundle:t,signArtifactEvidenceBundle:s,ensureKeyPair:r}=await i.e(8825).then(i.bind(i,58825));const{statePath:a,safeWriteState:o,ensureStateDir:u}=await Promise.resolve().then(i.bind(i,31174));const h=t(f.record,{engineVersion:SCANNER_VERSION_FOR_ATTEST(),source:p});const m=r();const g=s(h,m.privateKeyPem);const x=_artifactScanDigestHex(f.record.inventory.digest);if(u(process.cwd())&&x){const t=a(process.cwd(),"attestations",`artifact-${x.slice(0,16)}.json`);if(o(t,JSON.stringify(g,null,2)))process.stderr.write(`agentic-security image scan: signed evidence written to ${l.relative(process.cwd(),t)}\n`);else process.stderr.write("agentic-security image scan: --attest could not write the signed bundle (state writes are disabled or this directory has no project marker); nothing was signed to disk.\n")}else process.stderr.write("agentic-security image scan: --attest could not write the signed bundle (no usable .agentic-security directory here); nothing was signed to disk.\n")}if(o==="json"){process.stdout.write(JSON.stringify(f.record,null,2)+"\n");return 0}const{inventory:h,vulnerabilities:m,secrets:g}=f.record;const x=m.filter(t=>t.type==="vulnerable_dep").length;process.stdout.write([`Image digest: ${h.digest} (${h.digestKind})`,p.kind==="registry"?`Source: ${p.registry}/${p.repository}:${p.reference}${p.platform?` (${p.platform})`:""}, ${p.bytes} bytes fetched${p.authenticated?", authenticated":""}`:p.kind==="engine"?`Source: local ${p.runtime} image ${p.reference}`:"",`OS/architecture: ${h.os}/${h.architecture}`,`OS packages: ${h.osPackages.length}, application packages: ${h.appPackages.length}`,`Vulnerabilities (OSV): ${x}`,`Secrets deleted-but-recoverable from an earlier layer: ${g.deletedButRecoverable.length}`,h.materializationTruncated?"NOTE: some layer content exceeded the scan size cap and was skipped.":""].filter(Boolean).join("\n")+"\n");return 0}async function cmdImageVerify(t){const s=t._[2];if(!s){process.stderr.write("agentic-security image verify: provide a path to a docker-archive or oci-archive tar, or a previously-scanned digest.\n");return 2}const r=await _resolveArtifactScan(s);if(!r.ok){process.stderr.write(`agentic-security image verify: ${r.message}\n`);return 1}const{inventory:a}=r.record;const{verifyImageSignature:o,verifyProvenanceAttestation:l}=await i.e(2675).then(i.bind(i,82675));let u=null;let p=null;let f=null;if(typeof t.flags.signature==="string"){const s=_readFileOrError(t.flags.signature);if(!s.ok){process.stderr.write(`agentic-security image verify: --signature: ${s.message}\n`);return 1}u=s.buf}if(typeof t.flags["public-key"]==="string"){const s=_readFileOrError(t.flags["public-key"]);if(!s.ok){process.stderr.write(`agentic-security image verify: --public-key: ${s.message}\n`);return 1}p=s.buf.toString("utf8")}if(typeof t.flags.attestation==="string"){const s=_readFileOrError(t.flags.attestation);if(!s.ok){process.stderr.write(`agentic-security image verify: --attestation: ${s.message}\n`);return 1}try{f=JSON.parse(s.buf.toString("utf8"))}catch(t){process.stderr.write(`agentic-security image verify: --attestation is not valid JSON: ${t.message}\n`);return 1}}let h=o({digest:a.digest,signature:u,publicKeyPem:p});if(t.flags.cosign){const{verifyWithCosign:s}=await i.e(2946).then(i.bind(i,52946));const o=typeof t.flags.repository==="string"?t.flags.repository:r.record.source?.kind==="registry"?`${r.record.source.registry}/${r.record.source.repository}`:null;h=o?await s({repository:o,digest:a.digest,publicKeyPem:p,certificateIdentity:t.flags["certificate-identity"],certificateOidcIssuer:t.flags["certificate-oidc-issuer"]}):{state:"unavailable",via:"cosign",reason:"cosign verifies against a registry: give --repository <registry/repo>, or scan with --registry so the repository is known"}}const m=l({digest:a.digest,envelope:f,publicKeyPem:p});const g={digest:a.digest,signature:h,attestation:m};process.stdout.write(JSON.stringify(g,null,2)+"\n");return h.state==="invalid"||m.state==="invalid"?1:0}async function cmdProvenanceTrace(t){const s=t._[2];if(!s){process.stderr.write("agentic-security provenance trace: provide a path to an image archive, or a previously-scanned digest.\n");return 2}const r=await _resolveArtifactScan(s);if(!r.ok){process.stderr.write(`agentic-security provenance trace: ${r.message}\n`);return 1}const{inventory:o,vulnerabilities:u}=r.record;let p=null;if(typeof t.flags["deployment-id"]==="string"){p={id:t.flags["deployment-id"],environment:typeof t.flags["deployment-environment"]==="string"?t.flags["deployment-environment"]:null,digest:typeof t.flags["deployment-digest"]==="string"?t.flags["deployment-digest"]:null,evidence:"operator-declared"}}const{buildArtifactProvenanceGraph:f,traceArtifactProvenanceGraph:h}=await i.e(6447).then(i.bind(i,46447));const m=f({inventory:o,vulnerabilities:u,deployment:p});const g=m.nodes.find(t=>t.kind==="gitCommit");const x=h(m,g.id);let k=null;if(typeof t.flags.source==="string"){const s=l.resolve(t.flags.source);const r=l.join(s,".agentic-security","last-scan.json");if(!a.existsSync(r)){process.stderr.write(`agentic-security provenance trace: --source "${t.flags.source}" has no .agentic-security/last-scan.json — run "scan" there first.\n`);return 1}const p=JSON.parse(a.readFileSync(r,"utf8"));const{detectSourceArtifactMismatch:f}=await i.e(6645).then(i.bind(i,36645));k=f({sourceVulnerabilities:p.supplyChain||[],artifactVulnerabilities:u,artifactComponents:[...o.osPackages,...o.appPackages]})}const _=t.flags.format??"json";if(_==="json"){process.stdout.write(JSON.stringify({artifactProvenanceGraph:m,trace:x,mismatch:k},null,2)+"\n");return 0}const T=[`Artifact digest: ${o.digest}`,`Source commit: ${g.known?g.sha:"(not declared — no org.opencontainers.image.revision label)"}`];if(k){T.push("");if(k.scenarioA.length>0){T.push("SOURCE: FIXED");T.push("DEPLOYED ARTIFACT: STILL VULNERABLE");T.push("PRODUCTION EXPOSURE: PRESENT");T.push(` ${k.scenarioA.length} vulnerabilit${k.scenarioA.length===1?"y":"ies"} present in this artifact, already fixed in current source: ${k.scenarioA.map(t=>t.osvId).join(", ")}`)}if(k.scenarioB.length>0){T.push(`${k.scenarioA.length>0?"":"SOURCE: VULNERABLE\n"}BUILT ARTIFACT: AFFECTED COMPONENT ABSENT`);T.push(` ${k.scenarioB.length} vulnerabilit${k.scenarioB.length===1?"y":"ies"} flagged in current source did not actually ship in this artifact: ${k.scenarioB.map(t=>t.osvId).join(", ")}`)}if(!k.hasMismatch)T.push("No mismatch: current source and this deployed artifact agree.")}process.stdout.write(T.join("\n")+"\n");return 0}async function cmdSupplyVex(t){const s=t._[2];if(!s){process.stderr.write("agentic-security supply vex: provide a path to an image archive, or a previously-scanned digest.\n");return 2}const r=await _resolveArtifactScan(s);if(!r.ok){process.stderr.write(`agentic-security supply vex: ${r.message}\n`);return 1}const{inventory:o,vulnerabilities:u}=r.record;let p=new Map;if(typeof t.flags.source==="string"){const s=l.resolve(t.flags.source);const i=l.join(s,".agentic-security","last-scan.json");if(a.existsSync(i)){const t=JSON.parse(a.readFileSync(i,"utf8"));for(const s of t.supplyChain||[]){if(s.type!=="vulnerable_dep")continue;const t=s.purl||`${s.ecosystem}:${s.name}`;const i=s.functionReachable==="reachable"?true:s.functionReachable==="unreachable"?false:null;if(i!==null)p.set(t,{reachable:i,reason:s.reachabilityTier||null})}}}const{deriveVexStatus:f}=await i.e(9102).then(i.bind(i,49102));const h=[...o.osPackages,...o.appPackages];const m=u.filter(t=>t.type==="vulnerable_dep").map(t=>{const s=t.purl||`${t.ecosystem}:${t.name}`;const i=p.get(s)||null;const r=f({vulnerability:t,artifactComponents:h,reachability:i});return{purl:t.purl||null,name:t.name,ecosystem:t.ecosystem,osvId:t.osvId,...r}});const g=t.flags.format??"json";if(g==="json"){process.stdout.write(JSON.stringify({digest:o.digest,statements:m},null,2)+"\n");return 0}const x=[`VEX for ${o.digest}:`];for(const t of m)x.push(` ${t.osvId} (${t.name}): ${t.status}${t.justification?` [${t.justification}]`:""}`);process.stdout.write(x.join("\n")+"\n");return 0}async function _writeConfigAtomic(t,s){const i=l.dirname(t);await o.mkdir(i,{recursive:true});const r=l.join(i,`.${l.basename(t)}.tmp-${process.pid}-${u.randomBytes(4).toString("hex")}`);try{const i=await o.open(r,"w");try{await i.writeFile(s);if(typeof i.sync==="function")await i.sync()}finally{await i.close()}try{const{mode:s}=await o.stat(t);await o.chmod(r,s&511)}catch{}await o.rename(r,t)}catch(t){try{await o.unlink(r)}catch{}throw t}}async function cmdGovernancePropose(t){const s=t._[2]||".";const r=l.resolve(s);const o=t.flags.patch;if(!o||typeof o!=="string"){process.stderr.write("agentic-security governance propose-edit: --patch <file> is required.\n");return 2}let p;try{p=JSON.parse(a.readFileSync(l.resolve(o),"utf8"))}catch(t){process.stderr.write(`agentic-security governance propose-edit: could not read/parse --patch file "${o}": ${t.message}\n`);return 2}const{RECIPIENT_CONFIG_FILENAME:f}=await Promise.resolve().then(i.bind(i,96703));const{statePath:h}=await Promise.resolve().then(i.bind(i,31174));const m=h(r,f);const g=a.existsSync(m)?a.readFileSync(m,"utf8"):'{"recipients":{}}';const x=u.createHash("sha256").update(g).digest("hex");let k;try{k=JSON.parse(g)}catch(t){process.stderr.write(`agentic-security governance propose-edit: the current config file is not valid JSON: ${t.message}\n`);return 2}const _=t.flags["base-digest"];if(_&&_!==x){process.stderr.write(`agentic-security governance propose-edit: the config file changed since --base-digest was computed (a concurrent edit) — refusing to write. Re-read the current file and recompute your patch.\n`);return 2}const{proposeGovernanceEdit:T}=await i.e(5343).then(i.bind(i,65343));const{valid:C,errors:A,diff:I,merged:P}=T(k,p);if(!C){process.stderr.write(`agentic-security governance propose-edit: --patch file failed validation:\n${A.map(t=>` ${t.key}: ${t.message}`).join("\n")}\n`);return 1}const $=!!t.flags.yes;let O=false;let D=null;if($){const{isSafeStateDir:t}=await Promise.resolve().then(i.bind(i,31174));if(!t(l.dirname(m))){process.stderr.write(`agentic-security governance propose-edit: refusing to write — "${r}" does not look like a project directory.\n`);return 2}const s=h(r,"recipient-profiles-backups");const o=l.join(s,`${Date.now()}-${u.randomBytes(4).toString("hex")}.bak`);if(a.existsSync(m)){a.mkdirSync(s,{recursive:true});a.copyFileSync(m,o);D=o}await _writeConfigAtomic(m,JSON.stringify(P,null,2));O=true;const{auditCall:p}=await i.e(9390).then(i.bind(i,69390));p({sessionRoot:r,tool:"governance_propose_edit",args:{file:f,added:I.added,removed:I.removed,changedKeys:I.changed.map(t=>t.key),beforeDigest:x,backupPath:D},outcome:"ok"})}const N={currentDigest:x,diff:I,written:O,backupPath:D};const j=t.flags.output;if(j){a.writeFileSync(l.resolve(j),JSON.stringify(N,null,2))}else{process.stdout.write(JSON.stringify(N,null,2)+"\n")}return 0}function _federateEndpointScope(t,s,i,r){const a=new Set(Array.isArray(t&&t.limitations)?t.limitations.filter(t=>typeof t==="string"):[]);for(const s of r&&Array.isArray(r.flows)?r.flows:[]){if(s&&(s.source===(t&&t.id)||s.sink===(t&&t.id))&&Array.isArray(s.limitations))for(const t of s.limitations)if(typeof t==="string")a.add(t)}return{target:typeof s==="string"?s:null,config:typeof i==="string"?i:null,analysis:t&&t.analysis&&typeof t.analysis==="object"?t.analysis:null,limitations:[...a].sort()}}async function cmdFederateDeclare(t){const s=t._[2]||".";const r=l.resolve(s);const o=t.flags["local-node"];const p=t.flags["remote-graph"];const f=t.flags["remote-node"];if(!o||typeof o!=="string"){process.stderr.write("agentic-security federate declare: --local-node <node-id> is required.\n");return 2}if(!p||typeof p!=="string"){process.stderr.write("agentic-security federate declare: --remote-graph <file> is required.\n");return 2}if(!f||typeof f!=="string"){process.stderr.write("agentic-security federate declare: --remote-node <node-id> is required.\n");return 2}const{CROSS_REPO_LINK_VERSION:h,CROSS_REPO_LINKS_FILENAME:m,CROSS_REPO_LINK_RELATIONSHIP:g,validateCrossRepoLink:x}=await Promise.resolve().then(i.bind(i,24974));const k=t.flags.relationship??g;if(k!==g){process.stderr.write(`agentic-security federate declare: --relationship must be "${g}" (got "${k}") — no other relationship value is defined.\n`);return 2}const{statePath:_,isSafeStateDir:T}=await Promise.resolve().then(i.bind(i,31174));const{crossRepoLinkId:C}=await Promise.resolve().then(i.bind(i,45034));const{loadRemoteGraphExport:A}=await i.e(4863).then(i.bind(i,54863));const{loadSignedGraph:I}=await i.e(8218).then(i.bind(i,78218));const{computeGraphDigest:P}=await Promise.resolve().then(i.bind(i,40859));const $=_(r,m);const O=a.existsSync($)?a.readFileSync($,"utf8"):'{"links":[]}';const D=u.createHash("sha256").update(O).digest("hex");const N=t.flags["base-digest"];if(N&&N!==D){process.stderr.write("agentic-security federate declare: the cross-repo-links file changed since --base-digest was computed (a concurrent edit) — refusing to write. Re-read the current file and recompute your declaration.\n");return 2}let j;try{j=JSON.parse(O)}catch(t){process.stderr.write(`agentic-security federate declare: the current cross-repo-links file is not valid JSON: ${t.message}\n`);return 2}if(!j||typeof j!=="object"||Array.isArray(j)||!Array.isArray(j.links)){process.stderr.write('agentic-security federate declare: the current cross-repo-links file has no "links" array (expected {"links": [...]}).\n');return 2}const R=A(l.resolve(p));if(!R.ok){process.stderr.write(`agentic-security federate declare: could not load --remote-graph "${p}": ${R.message}\n`);return 2}if(!R.digestMatches){process.stderr.write(`agentic-security federate declare: WARNING — ${R.message}\n`)}const L=(R.graph.nodes??[]).find(t=>t.id===f);if(!L){process.stderr.write(`agentic-security federate declare: --remote-node "${f}" was not found in the remote export's own nodes.\n`);return 2}const F=I(r);if(!F.ok){process.stderr.write(`agentic-security federate declare: could not load the local scanned graph: ${F.message}\n`);return 1}const M=(F.graph.nodes??[]).find(t=>t.id===o);if(!M){process.stderr.write(`agentic-security federate declare: --local-node "${o}" was not found in the current locally-scanned graph.\n`);return 2}const{crossRepoLinks:B,...W}=F.graph;const U=P(W);const H={localGraphId:F.graph.graphId,localGraphDigest:U,localNodeId:o,remoteGraphId:R.graph.graphId,remoteGraphDigest:R.digest,remoteNodeId:f,relationship:k};const V={id:C(H),version:h,provenance:"manual",relationship:k,local:{graphId:F.graph.graphId,graphDigest:U,nodeId:o},remote:{repository:t.flags.repository??"(unspecified)",sourceFile:l.resolve(p),graphId:R.graph.graphId,graphDigest:R.digest,nodeId:f},scope:{local:_federateEndpointScope(M,t.flags["local-target"],t.flags["local-config"],F.graph),remote:_federateEndpointScope(L,t.flags["remote-target"],t.flags["remote-config"],R.graph)},evidence:{declared:true,observed:false},rationale:t.flags.rationale??null,declaredBy:process.env.USER||process.env.USERNAME||"(unspecified)",declaredAt:(new Date).toISOString()};const{valid:K,errors:G}=x(V);if(!K){process.stderr.write(`agentic-security federate declare: constructed record failed validation:\n${G.map(t=>` ${t.path}: ${t.message}`).join("\n")}\n`);return 1}const J=!!t.flags.yes;let X=false;let Y=null;if(J){if(!T(l.dirname($))){process.stderr.write(`agentic-security federate declare: refusing to write — "${r}" does not look like a project directory.\n`);return 2}const t=_(r,"cross-repo-links-backups");const s=l.join(t,`${Date.now()}-${u.randomBytes(4).toString("hex")}.bak`);if(a.existsSync($)){a.mkdirSync(t,{recursive:true});a.copyFileSync($,s);Y=s}const p=j.links.findIndex(t=>t&&t.id===V.id);const h=p===-1?[...j.links,V]:j.links.map((t,s)=>s===p?V:t);const g={...j,links:h};await _writeConfigAtomic($,JSON.stringify(g,null,2));X=true;const{auditCall:x}=await i.e(9390).then(i.bind(i,69390));x({sessionRoot:r,tool:"federate_declare",args:{file:m,id:V.id,localNodeId:o,remoteNodeId:f,digestMatches:R.digestMatches,beforeDigest:D,backupPath:Y},outcome:"ok"})}const Q={currentDigest:D,record:V,digestMatches:R.digestMatches,written:X,backupPath:Y};const Z=t.flags.output;if(Z){a.writeFileSync(l.resolve(Z),JSON.stringify(Q,null,2))}else{process.stdout.write(JSON.stringify(Q,null,2)+"\n")}return 0}async function cmdFederateList(t){const s=t._[2]||".";const r=l.resolve(s);const{statePath:o}=await Promise.resolve().then(i.bind(i,31174));const{CROSS_REPO_LINKS_FILENAME:u}=await Promise.resolve().then(i.bind(i,24974));const{loadRemoteGraphExport:p}=await i.e(4863).then(i.bind(i,54863));const{loadSignedGraph:f}=await i.e(8218).then(i.bind(i,78218));const h=o(r,u);let m=[];if(a.existsSync(h)){let t;try{t=JSON.parse(a.readFileSync(h,"utf8"))}catch(t){process.stderr.write(`agentic-security federate list: ${h} is not valid JSON: ${t.message}\n`);return 2}m=Array.isArray(t?.links)?t.links:[]}const g=f(r);const x=g.ok?new Set((g.graph.nodes??[]).map(t=>t.id)):null;const k=m.map(t=>{const s=x?x.has(t?.local?.nodeId):null;let i;const r=t?.remote?.sourceFile;if(typeof r!=="string"||!r){i={checked:false,reason:"no sourceFile recorded on this record"}}else{const s=p(r);if(!s.ok){i={checked:true,ok:false,reason:s.reason,message:s.message}}else{const r=(s.graph.nodes??[]).some(s=>s.id===t?.remote?.nodeId);i={checked:true,ok:true,digestMatches:s.digestMatches,nodeStillPresent:r}}}return{id:t?.id??null,local:{nodeId:t?.local?.nodeId??null,stillValid:s},remote:{sourceFile:r??null,nodeId:t?.remote?.nodeId??null,...i},scope:t?.scope??null,evidence:t?.evidence??{declared:true,observed:false},rationale:t?.rationale??null,declaredBy:t?.declaredBy??null,declaredAt:t?.declaredAt??null}});const _={links:k,localGraphAvailable:g.ok};const T=t.flags.output;if(T){a.writeFileSync(l.resolve(T),JSON.stringify(_,null,2))}else{process.stdout.write(JSON.stringify(_,null,2)+"\n")}return 0}function _emitRemediationReport(t,s){const i=JSON.stringify(t,null,2);const r=s.flags.output;if(r){a.writeFileSync(l.resolve(r),i)}else{process.stdout.write(i+"\n")}}async function _remediationWrite(t,s,r,a,o,u={}){const{ledgerPaths:p,latestEventHash:f,readLedgerEvents:h,appendLedgerEvent:m}=await i.e(2432).then(i.bind(i,52432));const{foldRemediationLedger:g,validateTransition:x}=await i.e(5561).then(i.bind(i,75561));const{ledgerPath:k}=p(t);const _=a.itemId??a.id??null;const T=f(t);const C=o.flags["base-event"];if(C!==undefined&&C!==T){process.stderr.write(`agentic-security remediation ${s}: the ledger changed since --base-event was computed (a concurrent write) — refusing to append. Re-read the ledger with \`remediation list\` and retry.\n`);return 2}const A=!!o.flags.yes;if(A){const{isSafeStateDir:r}=await Promise.resolve().then(i.bind(i,31174));if(!r(l.dirname(k))){process.stderr.write(`agentic-security remediation ${s}: refusing to write — "${t}" does not look like a project directory.\n`);return 2}}if(!A){const i=h(t);const r=g(i);const l=_!=null?r[_]??null:null;const p=g([...i,a]);const f=_!=null?p[_]??null:null;const m={verb:s,itemId:_,proposedEvent:a,baseEvent:T,written:false,wouldBe:f,...u};const{valid:k,errors:C}=x(l,a);if(!k){m.errors=C;_emitRemediationReport(m,o);for(const t of C)process.stderr.write(`agentic-security remediation ${s}: ${t.field}: ${t.message}\n`);return 1}_emitRemediationReport(m,o);return 0}let I;try{I=await m(t,a,{expectedBaseHash:C})}catch(t){process.stderr.write(`agentic-security remediation ${s}: unexpected error writing the ledger: ${t&&t.message?t.message:t}\n`);return 4}if(!I.valid){for(const t of I.errors)process.stderr.write(`agentic-security remediation ${s}: ${t.field}: ${t.message}\n`);if(I.errors.some(t=>t.field==="(state)"||t.field==="(scanRoot)"))return 2;return 1}const{auditCall:P}=await i.e(9390).then(i.bind(i,69390));P({sessionRoot:t,tool:r,args:{itemId:_,eventType:a.type,baseEvent:T,eventHash:I.hash},outcome:"ok"});const $={verb:s,itemId:_,proposedEvent:a,baseEvent:T,written:true,eventHash:I.hash,...u};_emitRemediationReport($,o);return 0}async function cmdRemediationOpen(t){const s=t._[2]||".";const r=l.resolve(s);const o=t.flags.assessment;const p=t.flags.owner;const f=t.flags.due;const h=t.flags.control;const m=t.flags["required-evidence"];for(const[t,s]of[["--assessment",o],["--owner",p],["--due",f],["--control",h],["--required-evidence",m]]){if(!s||typeof s!=="string"){process.stderr.write(`agentic-security remediation open: ${t} is required.\n`);return 2}}let x;try{x=JSON.parse(a.readFileSync(l.resolve(o),"utf8"))}catch(t){process.stderr.write(`agentic-security remediation open: could not read/parse --assessment file "${o}": ${t&&t.message?t.message:t}\n`);return 2}const{validateImpactAssessment:k}=await i.e(2659).then(i.bind(i,42659));const{valid:_,errors:T}=k(x);if(!_){process.stderr.write(`agentic-security remediation open: --assessment file failed validation:\n${T.map(t=>` ${t.path}: ${t.message}`).join("\n")}\n`);return 2}const C=t.flags.snapshot;let A;if(C!==undefined){A=(0,g.N2)(r,C);if(!A){process.stderr.write(`agentic-security remediation open: no persisted GraphSnapshot found for commit "${C}" — pass a commit that was actually scanned.\n`);return 2}}else{const t=(0,g.Im)(r);if(t.length===0){process.stderr.write(`agentic-security remediation open: no persisted GraphSnapshot found for "${r}" — run a scan with AGENTIC_SECURITY_LINEAGE_DEEP=1 first.\n`);return 2}A=t[0]}const I=String(m).split(",").map(t=>t.trim()).filter(Boolean);if(I.length===0){process.stderr.write("agentic-security remediation open: --required-evidence must name at least one flow id.\n");return 2}const P=t.flags.id||`rem-${u.randomBytes(6).toString("hex")}`;const $=[...new Set([...I,...typeof x.targetId==="string"&&x.targetId.startsWith("flow:")?[x.targetId]:[]])].sort();const O={type:"opened",at:(new Date).toISOString(),itemId:P,id:P,owner:p,dueDate:f,recommendedControl:h,assessment:{assessmentId:x.id,targetId:x.targetId,targetKind:x.targetKind,traceKind:x.traceKind,scope:x.scope,graphId:x.graphId,graphDigest:x.graphDigest,snapshotId:A.id,assessmentPath:l.resolve(o)},affectedFlowIds:$,affectedNodeIds:x.affectedNodeIds??[],affectedEdgeIds:x.affectedEdgeIds??[],requiredEvidence:I,manualAttestationPermitted:!!t.flags["allow-manual-attestation"]};const{validateOpenPayload:D}=await i.e(5561).then(i.bind(i,75561));const{valid:N,errors:j}=D(O);if(!N){process.stderr.write(`agentic-security remediation open: ${j.map(t=>`${t.field}: ${t.message}`).join("\n")}\n`);return 1}return _remediationWrite(r,"open","remediation_open",O,t)}async function cmdRemediationUpdate(t){const s=t._[2]||".";const i=l.resolve(s);const r=t.flags.id;if(!r||typeof r!=="string"){process.stderr.write("agentic-security remediation update: --id <itemId> is required.\n");return 2}const a=t.flags.state;if(!a||typeof a!=="string"){process.stderr.write("agentic-security remediation update: --state <in_progress|awaiting_verification> is required.\n");return 2}if(a==="verified"){process.stderr.write('agentic-security remediation update: state_changed can never reach "verified" — run `agentic-security remediation verify` instead.\n');return 1}if(a!=="in_progress"&&a!=="awaiting_verification"){process.stderr.write(`agentic-security remediation update: --state must be one of in_progress|awaiting_verification (got ${JSON.stringify(a)}).\n`);return 2}const o={type:"state_changed",at:(new Date).toISOString(),itemId:r,state:a};return _remediationWrite(i,"update","remediation_update",o,t)}async function cmdRemediationAcceptRisk(t){const s=t._[2]||".";const r=l.resolve(s);const a=t.flags.id;const o=t.flags.approver;const u=t.flags.reason;const p=t.flags.scope;const f=t.flags.expires;for(const[t,s]of[["--id",a],["--approver",o],["--reason",u],["--scope",p],["--expires",f]]){if(!s||typeof s!=="string"){process.stderr.write(`agentic-security remediation accept-risk: ${t} is required.\n`);return 2}}if(!/^\d{4}-\d{2}-\d{2}$/.test(f)){process.stderr.write(`agentic-security remediation accept-risk: --expires must be a YYYY-MM-DD date (got ${JSON.stringify(f)}).\n`);return 2}const{loadApproverRegistry:h,verifyApprover:m,checkSeparationOfDuties:g}=await Promise.resolve().then(i.bind(i,10437));const x=h(r);const k=m(x,o,[]);if(!k.verified){process.stderr.write(`agentic-security remediation accept-risk: ${k.reason}\n`);return 1}const _=g(x,t.flags.author,o);if(!_.ok){process.stderr.write(`agentic-security remediation accept-risk: ${_.reason}\n`);return 1}const T={type:"accepted_risk",at:(new Date).toISOString(),itemId:a,approver:o,reason:u,scope:p,expiration:f};return _remediationWrite(r,"accept-risk","remediation_accept_risk",T,t)}function _remMdInline(t){return String(t).replace(/\r\n|\r|\n/g," ")}function _remMdCell(t){return _remMdInline(t).replace(/\\/g,"\\\\").replace(/\|/g,"\\|")}function _renderRemediationListMarkdown(t,s){const i=[];if(s&&!s.ok){i.push(`> **WARNING — ledger integrity check failed**: the ledger's real content has ${s.totalLines} lines but only ${s.verifiedLines} verify; the list below may be missing recent items or reflect a tampered/truncated history. Do not treat it as complete.`);i.push("")}if(t.length===0){i.push("_no remediation items_");return i.join("\n")+"\n"}i.push("| id | state | owner | dueDate | recommendedControl |");i.push("| --- | --- | --- | --- | --- |");for(const s of t){const t=String(s.recommendedControl??"");const r=t.length>60?t.slice(0,60)+"…":t;i.push(`| ${_remMdCell(s.id)} | ${_remMdCell(s.state)} | ${_remMdCell(s.owner)} | ${_remMdCell(s.dueDate)} | ${_remMdCell(r)} |`)}return i.join("\n")+"\n"}async function cmdRemediationList(t){const s=t._[2]||".";const r=l.resolve(s);const o=t.flags.format??"json";if(o!=="json"&&o!=="markdown"){process.stderr.write(`agentic-security remediation list: --format must be one of json|markdown (got ${JSON.stringify(o)}).\n`);return 2}const{readLedgerEvents:u,ledgerIntegrity:p}=await i.e(2432).then(i.bind(i,52432));const{foldRemediationLedger:f}=await i.e(5561).then(i.bind(i,75561));const h=Object.values(f(u(r))).sort((t,s)=>t.id<s.id?-1:t.id>s.id?1:0);const m=p(r);if(!m.ok){process.stderr.write(`agentic-security remediation list: WARNING — the ledger's real content has ${m.totalLines} lines but only ${m.verifiedLines} verify; the list below may be missing recent items or reflect a tampered/truncated history. Do not treat it as complete.\n`)}const g=o==="json"?JSON.stringify({items:h,integrity:m},null,2):_renderRemediationListMarkdown(h,m);const x=t.flags.output;if(x){a.writeFileSync(l.resolve(x),g)}else{process.stdout.write(g.endsWith("\n")?g:g+"\n")}return 0}async function cmdRemediationVerify(t){const s=t._[2]||".";const r=l.resolve(s);const a=t.flags.id;if(!a||typeof a!=="string"){process.stderr.write("agentic-security remediation verify: --id <itemId> is required.\n");return 2}const{readLedgerEvents:o}=await i.e(2432).then(i.bind(i,52432));const{foldRemediationLedger:u,evaluateVerificationEvidence:p}=await i.e(5561).then(i.bind(i,75561));const f=u(o(r));const h=f[a];if(!h){process.stderr.write(`agentic-security remediation verify: no remediation item found with id "${a}".\n`);return 1}if(t.flags["manual-attestation"]){const s=t.flags.approver;const o=t.flags.reason;if(!s||typeof s!=="string"||!o||typeof o!=="string"){process.stderr.write("agentic-security remediation verify: --manual-attestation requires --approver <id> and --reason <text>.\n");return 2}const{loadApproverRegistry:l,verifyApprover:u,checkSeparationOfDuties:p}=await Promise.resolve().then(i.bind(i,10437));const f=l(r);const h=u(f,s,[]);if(!h.verified){process.stderr.write(`agentic-security remediation verify: ${h.reason}\n`);return 1}const m=p(f,t.flags.author,s);if(!m.ok){process.stderr.write(`agentic-security remediation verify: ${m.reason}\n`);return 1}if(t.flags.against!==undefined){process.stderr.write("agentic-security remediation verify: --against has no effect with --manual-attestation (no scan comparison is performed for a manual attestation).\n")}const x=(0,g.Im)(r);const k={type:"manual_attestation",at:(new Date).toISOString(),itemId:a,approver:s,reason:o,...x.length>0?{snapshotId:x[0].id}:{}};return _remediationWrite(r,"verify","remediation_verify",k,t)}const m=(0,g.Im)(r);if(m.length===0){process.stderr.write(`agentic-security remediation verify: no persisted GraphSnapshot found for "${r}" — run a scan with AGENTIC_SECURITY_LINEAGE_DEEP=1 first.\n`);return 2}const x=m[0];const k=t.flags.against;if(k!==undefined&&(typeof k!=="string"||!k)){process.stderr.write("agentic-security remediation verify: --against requires a commit value.\n");return 2}let _;let T;if(k!==undefined){_=(0,g.N2)(r,k);if(!_){process.stderr.write(`agentic-security remediation verify: no persisted GraphSnapshot found for commit "${k}" — pass a commit that was actually scanned.\n`);return 2}T="against"}else{const t=h.assessment?.snapshotId;const s=t?m.find(s=>s.id===t):null;if(s){_=s;T="incident"}else{_=(0,g.Jf)(r,x.commit);T="most-recent-prior"}}if(!_||_.commit===x.commit){process.stderr.write(`agentic-security remediation verify: an item cannot be verified until a second lineage scan exists — only one persisted GraphSnapshot is available (commit "${x.commit}"). Scan again after a code change, or pass --against <commit>.\n`);return 2}let C;if(x.capturedAt<=_.capturedAt){C={outcome:"unverifiable",reason:"stale_after_snapshot",beforeCapturedAt:_.capturedAt,afterCapturedAt:x.capturedAt}}else{const{computeGraphDiff:t}=await i.e(3518).then(i.bind(i,83518));try{const s=t(_,x);C=p(s,h.requiredEvidence)}catch(t){C={outcome:"unverifiable",reason:"incomparable_snapshots",detail:t&&t.message?t.message:String(t)}}}const A=(new Date).toISOString();let I;if(C.outcome==="verified"){I={type:"scan_verification",at:A,itemId:a,outcome:"verified",snapshotId:x.id}}else{I={type:"scan_verification",at:A,itemId:a,outcome:"unverifiable",reason:C.reason};for(const t of["unsatisfiedFlowIds","coverageRegressionReasons","reidentifiedTo","flowId","detail"]){if(C[t]!==undefined)I[t]=C[t]}}const P={beforeSnapshotId:_.id,afterSnapshotId:x.id,beforeSnapshotSource:T,evidenceOutcome:C};return _remediationWrite(r,"verify","remediation_verify",I,t,P)}async function cmdRemediationReopenCheck(t){const s=t._[2]||".";const r=l.resolve(s);const a=(0,g.Im)(r);if(a.length===0){process.stderr.write(`agentic-security remediation reopen-check: no persisted GraphSnapshot found for "${r}" — run a scan with AGENTIC_SECURITY_LINEAGE_DEEP=1 first.\n`);return 2}const o=a[0];const u=t.flags.against;if(u!==undefined&&(typeof u!=="string"||!u)){process.stderr.write("agentic-security remediation reopen-check: --against requires a commit value.\n");return 2}let p;if(u!==undefined){p=(0,g.N2)(r,u);if(!p){process.stderr.write(`agentic-security remediation reopen-check: no persisted GraphSnapshot found for commit "${u}" — pass a commit that was actually scanned.\n`);return 2}}else{p=(0,g.Jf)(r,o.commit);if(!p){process.stderr.write(`agentic-security remediation reopen-check: only one persisted GraphSnapshot exists (commit "${o.commit}") — nothing to compare against yet. Scan again after a code change, or pass --against <commit>.\n`);return 2}}const f=t.flags["drift-policy"];const h=f!==undefined;let m={policies:[]};if(h){if(typeof f!=="string"||!f){process.stderr.write("agentic-security remediation reopen-check: --drift-policy requires a file path.\n");return 2}const t=l.resolve(f);const s=_validateDriftPolicyFile(t,f,"reopen-check");if(!s.ok){process.stderr.write(s.message);return 2}const{loadDriftPolicies:r}=await i.e(6662).then(i.bind(i,6662));m=r(t)}const{readLedgerEvents:x,appendLedgerEvent:k}=await i.e(2432).then(i.bind(i,52432));const{foldRemediationLedger:_}=await i.e(5561).then(i.bind(i,75561));const{computeGraphDiff:T}=await i.e(3518).then(i.bind(i,83518));let C=null;if(h){({evaluateDriftPolicies:C}=await i.e(6662).then(i.bind(i,6662)))}const A=Object.values(_(x(r))).filter(t=>t.state==="verified").sort((t,s)=>t.id<s.id?-1:t.id>s.id?1:0);const I=[];const P=[];for(const t of A){let s;let i;if(t.verificationSnapshotId){const r=a.find(s=>s.id===t.verificationSnapshotId);if(r){s=r;i="verification"}}if(!s){s=p;i="default"}if(!s||s.commit===o.commit){P.push({itemId:t.id,reason:"no distinct before-snapshot could be resolved for this item"});continue}let r;try{r=T(s,o)}catch(s){P.push({itemId:t.id,reason:`incomparable snapshots: ${s&&s.message?s.message:s}`});continue}const l=new Set(t.affectedFlowIds??[]);let u=null;if(h){const{violations:t}=C(r,m,o.graph);const s=t.find(t=>l.has(t.flowId));if(s){u={mechanism:"drift-policy",reason:`drift-policy rule (${s.trigger}) matched flow ${s.flowId}: ${s.reason}`}}}if(!u){const t=(r.added?.flows??[]).find(t=>l.has(t.id)||t.causeClassification==="reidentified"&&l.has(t.reidentifiedFrom));if(t){u={mechanism:"affected-flow-diff",reason:`affected flow reappeared as ${t.id} in diff.added.flows (causeClassification: ${t.causeClassification}${t.reidentifiedFrom?`, reidentified from ${t.reidentifiedFrom}`:""})`}}}if(u){I.push({itemId:t.id,mechanism:u.mechanism,reason:u.reason,beforeSnapshotSource:i})}}const $=!!t.flags.yes;if(!$){const s={verb:"reopen-check",afterSnapshotId:o.id,driftPolicyProvided:h,written:false,wouldReopen:I,skipped:P};_emitRemediationReport(s,t);return 0}if(I.length>0){const{isSafeStateDir:t}=await Promise.resolve().then(i.bind(i,31174));const{ledgerPaths:s}=await i.e(2432).then(i.bind(i,52432));const{ledgerPath:a}=s(r);if(!t(l.dirname(a))){process.stderr.write(`agentic-security remediation reopen-check: refusing to write — "${r}" does not look like a project directory.\n`);return 2}}const O=[];const D=[];try{for(const t of I){const s={type:"reopened",at:(new Date).toISOString(),itemId:t.itemId,reason:t.reason};const i=await k(r,s);if(i.valid){O.push({itemId:t.itemId,mechanism:t.mechanism,reason:t.reason,beforeSnapshotSource:t.beforeSnapshotSource,eventHash:i.hash})}else{D.push({itemId:t.itemId,errors:i.errors})}}}catch(t){process.stderr.write(`agentic-security remediation reopen-check: unexpected error writing the ledger: ${t&&t.message?t.message:t}\n`);return 4}if(O.length>0){const{auditCall:t}=await i.e(9390).then(i.bind(i,69390));t({sessionRoot:r,tool:"remediation_reopen_check",args:{itemIds:O.map(t=>t.itemId)},outcome:"ok"})}const N={verb:"reopen-check",afterSnapshotId:o.id,driftPolicyProvided:h,written:O.length>0,reopened:O,failedToReopen:D,skipped:P};_emitRemediationReport(N,t);return 0}function _renderDataflowWatchStatusLine(t){const s=t.added.nodes.length,i=t.removed.nodes.length;const r=t.added.edges.length,a=t.removed.edges.length;const o=t.added.dataElements.length,l=t.removed.dataElements.length;const u=t.added.flows.length,p=t.removed.flows.length,f=t.changed.flows.length;if(s+i+r+a+o+l+u+p+f===0)return"no data-flow graph changes";return`+${u}/-${p} flows (~${f} changed), +${s}/-${i} nodes, +${r}/-${a} edges, +${o}/-${l} data elements`}function _renderDataflowWatchViolations(t,s){const i=s?"[watch-dataflow] !!! DRIFT POLICY VIOLATION !!!":"[watch-dataflow] *** drift policy violation ***";const r=[];for(const s of t){r.push(i);r.push(`[watch-dataflow] ${s.trigger}: flow ${s.flowId} — ${(s.dataElementNames??[]).join(", ")||"(unclassified data)"} -> ${s.sinkCategory??s.sinkNodeId??"unknown sink"}`);r.push(`[watch-dataflow] ${s.reason}`)}return r.length?r.join("\n")+"\n":""}async function cmdDataflowWatch(t){const s=t._[2]||".";const r=l.resolve(s);const a=t.flags["drift-policy"];if(a!==undefined&&(typeof a!=="string"||!a)){process.stderr.write("agentic-security dataflow watch: --drift-policy requires a file path.\n");return 2}const o=!!t.flags["fail-on-drift"];const u=a!==undefined;let p=null;let f=null;if(u){const t=l.resolve(a);const s=_validateDriftPolicyFile(t,a,"watch");if(!s.ok){process.stderr.write(s.message);return 2}const r=await i.e(6662).then(i.bind(i,6662));p=r.loadDriftPolicies(t);f=r.evaluateDriftPolicies}const{watchProject:h}=await i.e(9220).then(i.bind(i,19220));const{buildGraphSnapshot:g}=await Promise.resolve().then(i.bind(i,30373));const{computeGraphDiff:x}=await i.e(3518).then(i.bind(i,83518));process.env.AGENTIC_SECURITY_LINEAGE_DEEP="1";process.stderr.write(`[watch-dataflow] running seed scan for ${r}...\n`);const _lineageStatusReason=t=>t&&t.failure?`failure: ${t.failure}`:t&&t.reason?`reason: ${t.reason}`:"unknown reason";const k=await(0,H.Ao)(()=>(0,m.runScan)(r,{onProgress:scanProgressReporter()}),{exceptCategories:["provenance-cache"]});clearScanProgressLine();if(!k.scan.lineageGraph){process.stderr.write(`agentic-security dataflow watch: seed scan produced no data-flow graph (${_lineageStatusReason(k.scan.lineageStatus)}) — nothing to watch/diff against.\n`);return 1}let _=g(k.scan.lineageGraph,r);if(process.env.AGENTIC_SECURITY_NO_WATCH==="1"){process.stderr.write(`[watch-dataflow] AGENTIC_SECURITY_NO_WATCH=1 — watch mode is disabled; ran the seed scan only, not watching ${r} for changes.\n`);return 0}process.stderr.write(`[watch-dataflow] watching ${r} for data-flow graph changes on file change — Ctrl-C to stop.\n`);process.stderr.write("[watch-dataflow] does NOT refresh .agentic-security/lineage-graph.json on any rescan — an already-running `agentic-security explore` session will not reflect these edits live.\n");await h(r,async(t,s)=>{if(s){process.stderr.write(`[watch-dataflow] file watcher error: ${s&&s.message?s.message:s} — no longer watching for changes.\n`);return}try{const{scan:t}=await(0,H.Ao)(()=>(0,m.runScan)(r,{onProgress:scanProgressReporter()}),{exceptCategories:["provenance-cache"]});clearScanProgressLine();if(!t.lineageGraph){process.stderr.write(`[watch-dataflow] rescan produced no data-flow graph (${_lineageStatusReason(t.lineageStatus)}) — skipping this change.\n`);return}const s=g(t.lineageGraph,r);let i;try{i=x(_,s)}catch(t){process.stderr.write(`[watch-dataflow] could not diff: ${t&&t.message?t.message:t}\n`);return}let a=[];if(u){a=f(i,p,s.graph).violations}process.stderr.write("[watch-dataflow] "+_renderDataflowWatchStatusLine(i)+"\n");if(a.length){process.stderr.write(_renderDataflowWatchViolations(a,o))}_=s}catch(t){process.stderr.write(`[watch-dataflow] rescan failed: ${t&&t.message?t.message:t}\n`)}});return 0}function checkNodeVersionOrExit(){const t=G("../package.json").engines?.node;const s=Number(/(\d+)/.exec(t||"")?.[1]);const i=Number(process.versions.node.split(".")[0]);if(Number.isFinite(s)&&i<s){console.error(`agentic-security: requires Node.js ${t} — you're running Node ${process.versions.node}.\n`+`Upgrade Node (e.g. 'nvm install ${s}' or https://nodejs.org/) and try again.`);process.exit(1)}}async function main(){checkNodeVersionOrExit();const t=parseArgs(process.argv.slice(2));const s=t._[0];if(t.flags.llm)process.env.AGENTIC_SECURITY_LLM_PRESET=String(t.flags.llm);if(t.flags.model)process.env.AGENTIC_SECURITY_LLM_MODEL=String(t.flags.model);if(t.flags["allow-remote-ollama"])process.env.AGENTIC_SECURITY_OLLAMA_ALLOW_REMOTE="1";if(t.flags["ollama-host"])process.env.AGENTIC_SECURITY_OLLAMA_HOST=String(t.flags["ollama-host"]);try{switch(s){case"scan":process.exit(await cmdScan(t));case"ship":process.exit(await cmdShip(t));case"ci":process.exit(await cmdCi(t));case"fix":process.exit(await cmdFix(t));case"undo":process.exit(await cmdUndo(t));case"accept":process.exit(await cmdAccept(t));case"profile":process.exit(await cmdProfile(t));case"proof":process.exit(await(await i.e(2066).then(i.bind(i,92066))).cmdProof(t,l.resolve(t.flags.root||".")));case"labs":{if(t._[1]==="synthesize-rule"&&t._[2]){t._=["rules","synthesize",t._[2]];process.exit(await cmdRules(t))}process.stderr.write("agentic-security labs: usage: labs synthesize-rule <finding-id> --spec <file.json> [--auto]\n(the other labs modes are slash-command modes: /labs --claude-audit, --model-rescan, ...)\n");process.exit(2);break}case"dnr":process.exit(await(await i.e(5616).then(i.bind(i,45616))).cmdDnr(t,l.resolve(t.flags.root||".")));case"triage":process.exit(await cmdTriage(t));case"org-scan":process.exit(await cmdOrgScan(t));case"rules":process.exit(await cmdRules(t));case"fleet":process.exit(await(await i.e(5620).then(i.bind(i,25620))).cmdFleet(t,l.resolve(t.flags.root||".")));case"rule":process.exit(await cmdRule(t));case"tickets":process.exit(await cmdTickets(t));case"secure":process.exit(await cmdSecure(t));case"packs":process.exit(await cmdPacks(t));case"validator-cache":process.exit(await cmdValidatorCache(t));case"models":{if(t._[1]==="benchmark"||t._[1]==="route")process.exit(await(await i.e(2584).then(i.bind(i,52584))).cmdModelsLab(t,l.resolve(t.flags.root||".")));process.exit(await cmdModels(t))}case"eval":process.exit(await(await i.e(2584).then(i.bind(i,52584))).cmdEval(t,l.resolve(t.flags.root||".")));case"ask":process.exit(await cmdAsk(t));case"verify":process.exit(await cmdVerify(t));case"reset":process.exit(await cmdReset(t));case"export":process.exit(await cmdExport(t));case"legal-hold":process.exit(await cmdLegalHold(t));case"calibration-feedback":process.exit(await cmdCalibrationFeedback(t));case"calibration-report":process.exit(await cmdCalibrationReport(t));case"hunt":process.exit(await cmdHunt(t));case"context":process.exit(await(await Promise.all([i.e(550),i.e(9382)]).then(i.bind(i,89382))).cmdContext(t));case"compliance":process.exit(await cmdCompliance(t));case"attest":process.exit(await cmdAttest(t));case"verify-attestation":process.exit(await cmdVerifyAttestation(t));case"release-view":process.exit(await cmdReleaseView(t));case"policy-explain":process.exit(await cmdPolicyExplain(t));case"policy-sign":process.exit(await cmdPolicySign(t));case"rule-synth":process.exit(await cmdRuleSynth(t));case"digest":process.exit(await cmdDigest(t));case"setup":process.exit(await cmdSetup(t));case"cache-report":{const{analyzeTranscript:s,formatCacheReport:r}=await i.e(8752).then(i.bind(i,58752));const a=l.resolve(t.flags.root||process.env.CLAUDE_PROJECT_DIR||process.cwd());const o=s({transcriptPath:t.flags.transcript,projectDir:a});if(t.flags.json)writeStdout(JSON.stringify(o,null,2)+"\n");else console.log(r(o));process.exit(0)}case"cache-statusline":{const{analyzeTranscript:s,renderCacheStatusLine:r}=await i.e(8752).then(i.bind(i,58752));const o=l.resolve(t.flags.root||process.env.CLAUDE_PROJECT_DIR||process.cwd());const u=s({transcriptPath:t.flags.transcript,projectDir:o});if(u.ok){try{const t=(0,H.Pn)(o);a.mkdirSync(t,{recursive:true});a.writeFileSync(l.join(t,"cache-telemetry.json"),JSON.stringify({updatedAt:(new Date).toISOString(),metrics:u.metrics,leaks:u.leaks},null,2))}catch{}console.log(r(u.metrics))}else{console.log("agentic-security: no session cost yet")}process.exit(0)}case"mcp":{const{runStdio:s}=await Promise.all([i.e(7838),i.e(7439),i.e(2066),i.e(9560)]).then(i.bind(i,9560));const r=t.flags.root||process.env.AGENTIC_SECURITY_MCP_ROOT||process.cwd();s({sessionRoot:l.resolve(r)});return}case"lsp":{const{startLspServer:t}=await i.e(1919).then(i.bind(i,21919));t();return}case"boundaries":process.exit(await cmdBoundaries(t));case"explore":process.exit(await cmdExplore(t));case"dataflow":{const s=t._[1];if(s==="export"){process.exit(await cmdDataflowExport(t))}else if(s==="diff"){process.exit(await cmdDataflowDiff(t))}else if(s==="watch"){const s=await cmdDataflowWatch(t);if(s!==0)process.exit(s);break}else if(s==="scenario"){const s=t._[2];if(s==="apply"){process.exit(await cmdDataflowScenarioApply(t))}else{process.stderr.write(`agentic-security dataflow scenario: unrecognized sub-command "${s}" — must be "apply".\n`);process.exit(2)}break}else if(s==="impact"){const s=t._[2];if(s==="assess"){process.exit(await cmdDataflowImpactAssess(t))}else{process.stderr.write(`agentic-security dataflow impact: unrecognized sub-command "${s}" — must be "assess".\n`);process.exit(2)}break}else if(s==="observations"){const s=t._[2];if(s==="import"){process.exit(await cmdDataflowObservationsImport(t))}else if(s==="list"){process.exit(await cmdDataflowObservationsList(t))}else{process.stderr.write(`agentic-security dataflow observations: unrecognized sub-command "${s}" — must be "import" or "list".\n`);process.exit(2)}break}else if(s==="twin"){process.exit(await cmdDataflowTwin(t))}process.stderr.write(`agentic-security dataflow: unknown subcommand "${s}" — only "export", "diff", "watch", "scenario", "impact", "observations", and "twin" are supported.\n`);process.exit(2)}case"governance":{const s=t._[1];if(s==="propose-edit"){process.exit(await cmdGovernancePropose(t))}else{process.stderr.write(`agentic-security governance: unrecognized sub-command "${s}" — must be "propose-edit".\n`);process.exit(2)}break}case"portfolio":{const{runPortfolioCommand:s}=await Promise.all([i.e(7439),i.e(5014)]).then(i.bind(i,25014));process.exit(await s(t));break}case"invariants":{const{runInvariantsCommand:s}=await i.e(3477).then(i.bind(i,73477));process.exit(await s(t));break}case"federate":{const s=t._[1];if(s==="declare"){process.exit(await cmdFederateDeclare(t))}else if(s==="list"){process.exit(await cmdFederateList(t))}else{process.stderr.write(`agentic-security federate: unrecognized sub-command "${s}" — must be "declare" or "list".\n`);process.exit(2)}break}case"runtime":{const s=t._[1];if(s==="ingest"){process.exit(await cmdRuntimeIngest(t))}else if(s==="status"){process.exit(await cmdRuntimeStatus(t))}else if(s==="reconcile"){process.exit(await cmdRuntimeReconcile(t))}else if(s==="query"){process.exit(await cmdRuntimeQuery(t))}else if(s==="edges"){process.exit(await cmdRuntimeEdges(t))}else if(s==="explore"){process.exit(await cmdRuntimeExplorer(t,t._[2]||"."))}else{process.stderr.write(`agentic-security runtime: unrecognized sub-command "${s}" — must be "ingest", "status", "reconcile", "query", "edges", or "explore".\n`);process.exit(2)}break}case"image":{const s=t._[1];if(s==="scan"){process.exit(await cmdImageScan(t))}else if(s==="verify"){process.exit(await cmdImageVerify(t))}else{process.stderr.write(`agentic-security image: unrecognized sub-command "${s}" — must be "scan" or "verify".\n`);process.exit(2)}break}case"provenance":{const s=t._[1];if(s==="trace"){process.exit(await cmdProvenanceTrace(t))}else{process.stderr.write(`agentic-security provenance: unrecognized sub-command "${s}" — must be "trace".\n`);process.exit(2)}break}case"supply":{const s=t._[1];if(s==="vex"){process.exit(await cmdSupplyVex(t))}else{process.stderr.write(`agentic-security supply: unrecognized sub-command "${s}" — must be "vex".\n`);process.exit(2)}break}case"remediation":{const s=t._[1];if(s==="open"){process.exit(await cmdRemediationOpen(t))}else if(s==="update"){process.exit(await cmdRemediationUpdate(t))}else if(s==="verify"){process.exit(await cmdRemediationVerify(t))}else if(s==="accept-risk"){process.exit(await cmdRemediationAcceptRisk(t))}else if(s==="reopen-check"){process.exit(await cmdRemediationReopenCheck(t))}else if(s==="list"){process.exit(await cmdRemediationList(t))}else{process.stderr.write(`agentic-security remediation: unrecognized sub-command "${s}" — must be one of open|update|verify|accept-risk|reopen-check|list.\n`);process.exit(2)}break}case"cve-watch":{const{runOnce:s}=await i.e(6675).then(i.bind(i,46675));const r=t.flags.root||process.cwd();const a=await s(l.resolve(r),{alertUrl:t.flags["alert-url"],alertType:t.flags["alert-type"],minSeverity:t.flags["min-severity"],dryRun:t.flags["dry-run"]===true});if(t.flags.json){writeStdout(JSON.stringify(a,null,2)+"\n")}else if(!a.ok){console.error(`cve-watch: ${a.reason||"failed"}`)}process.exit(a.ok?0:1)}case"pr-delta":{const{computePrDelta:s,renderPrDeltaText:r}=await i.e(5637).then(i.bind(i,55637));const a=t.flags.root||process.cwd();const o=t.flags.base||t.flags.b;const u=t.flags.head||t.flags.h||"HEAD";if(!o){console.error("pr-delta: --base <ref> is required");process.exit(2)}const p=await s(l.resolve(a),{baseRef:o,headRef:u});if(t.flags.json)writeStdout(JSON.stringify(p,null,2)+"\n");else console.log(r(p));const f=p.summary?.introduced||{};const h=(f.critical||0)+(f.high||0);process.exit(t.flags["fail-on-introduced"]&&h>0?1:0)}case"pr-comment":{const{renderPrComment:s}=await i.e(2826).then(i.bind(i,32826));const{computePrDelta:r}=await i.e(5637).then(i.bind(i,55637));const a=await Promise.resolve().then(i.t.bind(i,73024,19));let o;if(t.flags.base){const s=t.flags.root||process.cwd();o=await r(l.resolve(s),{baseRef:t.flags.base,headRef:t.flags.head||"HEAD"})}else if(t.flags.in){o=JSON.parse(a.readFileSync(t.flags.in,"utf8"))}else{const t=await new Promise(t=>{const s=[];process.stdin.on("data",t=>s.push(t));process.stdin.on("end",()=>t(Buffer.concat(s).toString("utf8")))});o=JSON.parse(t)}const u=s(o,{repoName:t.flags.repo,prNumber:t.flags.pr,prTitle:t.flags.title});console.log(u);process.exit(0)}case"badge":{const{renderBadge:s}=await i.e(3117).then(i.bind(i,93117));const r=t.flags.root||process.cwd();const a=t.flags.format||"svg";const o=t.flags.style||"flat";console.log(s({format:a,style:o,scanRoot:l.resolve(r)}));process.exit(0)}case"leaderboard-row":{const{leaderboardRowFor:s}=await i.e(8513).then(i.bind(i,8513));const r=t.flags.root||process.cwd();const a=t.flags.repo;if(!a){console.error("leaderboard-row: --repo <owner/name> is required");process.exit(2)}const o=s({scanRoot:l.resolve(r),repo:a});writeStdout(JSON.stringify(o,null,2)+"\n");process.exit(0)}case"history":{const{runHistory:s}=await i.e(7178).then(i.bind(i,7178));const r=t.flags.root||process.cwd();const a=await s(l.resolve(r),{since:t.flags.since||"6.months",interval:t.flags.interval||"1.month"});if(t.flags.json)writeStdout(JSON.stringify(a,null,2)+"\n");else if(a.error)console.error(`history: ${a.error}`);else{console.log(`Scanned ${a.refs.length} refs.`);for(const t of a.timeline){console.log(` ${t.fromWhen} → ${t.toWhen}: +${t.introducedN} introduced, -${t.resolvedN} resolved`)}}process.exit(a.error?1:0)}case"what-if":{const{runWhatIf:s}=await i.e(7178).then(i.bind(i,7178));const r=t.flags.root||process.cwd();const a=[];const o=t.flags.overlay;if(o){for(const t of Array.isArray(o)?o:[o]){const s=t.indexOf(":");if(s<0)continue;const r=t.slice(0,s);const o=t.slice(s+1);try{a.push({file:r,content:(await Promise.resolve().then(i.t.bind(i,73024,19))).readFileSync(o,"utf8")})}catch(t){console.error(`what-if: cannot read overlay source ${o}: ${t.message}`);process.exit(1)}}}const u=t.flags.remove?Array.isArray(t.flags.remove)?t.flags.remove:[t.flags.remove]:[];const p=await s(l.resolve(r),{overlays:a,remove:u});if(t.flags.json)writeStdout(JSON.stringify(p,null,2)+"\n");else{console.log(`baseline: ${p.baselineFindings} findings`);console.log(`what-if: ${p.whatIfFindings} findings (delta ${p.delta>=0?"+":""}${p.delta})`);if(p.introduced.length){console.log(`Introduced by this counterfactual:`);for(const t of p.introduced.slice(0,20)){console.log(` + ${t.severity} ${t.vuln} (${t.file}:${t.line})`)}}if(p.removed.length){console.log(`Removed by this counterfactual:`);for(const t of p.removed.slice(0,20)){console.log(` - ${t.severity} ${t.vuln} (${t.file}:${t.line})`)}}}process.exit(0)}case"version":console.log(`agentic-security ${J} · created by ClearCapabilities.Com`);process.exit(0);case"banner":{printBanner(t);process.exit(0)}case"harness":process.exit(await cmdHarness(t));case"scan-baseline":process.exit(await cmdScanBaseline(t));case"help":case"--help":case"-h":case undefined:console.log(Z);process.exit(s?0:1);default:console.error(`Unknown command: ${s}\n\n${Z}`);process.exit(4)}}catch(t){console.error("agentic-security: error:",t?.stack||t?.message||t);process.exit(4)}}function isDirectCliInvocation(){if(import.meta.main!==undefined)return import.meta.main;try{return import.meta.url===`file://${a.realpathSync(process.argv[1])}`}catch{return false}}if(isDirectCliInvocation()){main()}r()}catch(me){r(me)}})},24167:(t,s,i)=>{i.d(s,{g:()=>codeFrameColumns});const r=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(t,s,i,r){const a={column:null,line:-1,...t.start};const o={...a,...t.end};const{linesAbove:l=2,linesBelow:u=3}=i||{};const p=a.line-r;const f=a.column;const h=o.line-r;const m=o.column;let g=Math.max(p-(l+1),0);let x=Math.min(s.length,h+u);if(p===-1){g=0}if(h===-1){x=s.length}const k=h-p;const _={};if(k){for(let t=0;t<=k;t++){const i=t+p;if(f==null){_[i]=true}else if(t===0){const t=s[i-1].length;_[i]=[f,t-f]}else if(t===k){_[i]=[0,m]}else{const t=s[i-1].length;_[i]=[0,t]}}}else{if(f===m){if(f!=null){_[p]=[f,0]}else{_[p]=true}}else{const t=f??0;const s=m??t;_[p]=[t,s-t]}}return{start:g,end:x,markerLines:_}}function _codeFrameColumns(t,s,i={},a){const{defs:o,highlight:l}=a||{defs:{gutter:String,marker:String,message:String,reset:String},highlight:String};const u=(i.startLine||1)-1;const p=t.split(r);const{start:f,end:h,markerLines:m}=getMarkerLines(s,p,i,u);const g=s.start&&typeof s.start.column==="number";const x=String(h+u).length;const k=l(t);let _=k.split(r,h).slice(f,h).map((t,s)=>{const r=f+1+s;const a=` ${r+u}`.slice(-x);const l=` ${a} |`;const p=m[r];const h=!m[r+1];if(p){let s="";if(Array.isArray(p)){const r=t.slice(0,p[0]).replace(/[^\t]/g," ");const a=p[1]||1;s=["\n ",o.gutter(l.replace(/\d/g," "))," ",r,o.marker("^").repeat(a)].join("");if(h&&i.message){s+=" "+o.message(i.message)}}return[o.marker(">"),o.gutter(l),t.length>0?` ${t}`:"",s].join("")}else{return` ${o.gutter(l)}${t.length>0?` ${t}`:""}`}}).join("\n");if(i.message&&!g){_=`${" ".repeat(x+1)}${i.message}\n${_}`}return o.reset(_)}var a=i(57975);var o,l,u,p,f,h,m,g,x,k,_,T,C,A,I,P,$,O,D,N,j;A=/\/(?![*\/])(?:\[(?:[^\]\\\n\r\u2028\u2029]+|\\.)*\]?|[^\/[\\\n\r\u2028\u2029]+|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/uy;C=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y;l=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]+|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/uy;P=/(['"])(?:[^'"\\\n\r]+|(?!\1)['"]|\\(?:\r\n|[^]))*(\1)?/y;T=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y;$=/[`}](?:[^`\\$]+|\\[^]|\$(?!\{))*(`|\$\{)?/y;N=/[\t\v\f\ufeff\p{Zs}]+/uy;x=/\r?\n|[\r\u2028\u2029]/y;k=/\/\*(?:[^*]+|\*(?!\/))*(\*\/)?/y;I=/\/\/.*/y;o=/^#!.*/;p=/[<>.:={}]|\/(?![\/*])/y;u=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/uy;f=/(['"])(?:[^'"]+|(?!\1)['"])*(\1)?/y;h=/[^<>{}]+/y;D=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/;O=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/;m=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/;g=/^(?:return|throw|yield)$/;_=RegExp(x.source);j=function*(t,{jsx:s=false}={}){var i,r,a,j,R,L,F,M,B,W,U,H,V,K;({length:L}=t);j=0;R="";K=[{tag:"JS"}];i=[];U=0;H=false;if(F=o.exec(t)){yield{type:"HashbangComment",value:F[0]};j=F[0].length}while(j<L){M=K[K.length-1];switch(M.tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if(t[j]==="/"&&(D.test(R)||m.test(R))){A.lastIndex=j;if(F=A.exec(t)){j=A.lastIndex;R=F[0];H=true;yield{type:"RegularExpressionLiteral",value:F[0],closed:F[1]!==void 0&&F[1]!=="\\"};continue}}C.lastIndex=j;if(F=C.exec(t)){V=F[0];B=C.lastIndex;W=V;switch(V){case"(":if(R==="?NonExpressionParenKeyword"){K.push({tag:"JSNonExpressionParen",nesting:U})}U++;H=false;break;case")":U--;H=true;if(M.tag==="JSNonExpressionParen"&&U===M.nesting){K.pop();W="?NonExpressionParenEnd";H=false}break;case"{":C.lastIndex=0;a=!O.test(R)&&(D.test(R)||m.test(R));i.push(a);H=false;break;case"}":switch(M.tag){case"InterpolationInTemplate":if(i.length===M.nesting){$.lastIndex=j;F=$.exec(t);j=$.lastIndex;R=F[0];if(F[1]==="${"){R="?InterpolationInTemplate";H=false;yield{type:"TemplateMiddle",value:F[0]}}else{K.pop();H=true;yield{type:"TemplateTail",value:F[0],closed:F[1]==="`"}}continue}break;case"InterpolationInJSX":if(i.length===M.nesting){K.pop();j+=1;R="}";yield{type:"JSXPunctuator",value:"}"};continue}}H=i.pop();W=H?"?ExpressionBraceEnd":"}";break;case"]":H=true;break;case"++":case"--":W=H?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(s&&(D.test(R)||m.test(R))){K.push({tag:"JSXTag"});j+=1;R="<";yield{type:"JSXPunctuator",value:V};continue}H=false;break;default:H=false}j=B;R=W;yield{type:"Punctuator",value:V};continue}l.lastIndex=j;if(F=l.exec(t)){j=l.lastIndex;W=F[0];switch(F[0]){case"for":case"if":case"while":case"with":if(R!=="."&&R!=="?."){W="?NonExpressionParenKeyword"}}R=W;H=!m.test(F[0]);yield{type:F[1]==="#"?"PrivateIdentifier":"IdentifierName",value:F[0]};continue}P.lastIndex=j;if(F=P.exec(t)){j=P.lastIndex;R=F[0];H=true;yield{type:"StringLiteral",value:F[0],closed:F[2]!==void 0};continue}T.lastIndex=j;if(F=T.exec(t)){j=T.lastIndex;R=F[0];H=true;yield{type:"NumericLiteral",value:F[0]};continue}$.lastIndex=j;if(F=$.exec(t)){j=$.lastIndex;R=F[0];if(F[1]==="${"){R="?InterpolationInTemplate";K.push({tag:"InterpolationInTemplate",nesting:i.length});H=false;yield{type:"TemplateHead",value:F[0]}}else{H=true;yield{type:"NoSubstitutionTemplate",value:F[0],closed:F[1]==="`"}}continue}break;case"JSXTag":case"JSXTagEnd":p.lastIndex=j;if(F=p.exec(t)){j=p.lastIndex;W=F[0];switch(F[0]){case"<":K.push({tag:"JSXTag"});break;case">":K.pop();if(R==="/"||M.tag==="JSXTagEnd"){W="?JSX";H=true}else{K.push({tag:"JSXChildren"})}break;case"{":K.push({tag:"InterpolationInJSX",nesting:i.length});W="?InterpolationInJSX";H=false;break;case"/":if(R==="<"){K.pop();if(K[K.length-1].tag==="JSXChildren"){K.pop()}K.push({tag:"JSXTagEnd"})}}R=W;yield{type:"JSXPunctuator",value:F[0]};continue}u.lastIndex=j;if(F=u.exec(t)){j=u.lastIndex;R=F[0];yield{type:"JSXIdentifier",value:F[0]};continue}f.lastIndex=j;if(F=f.exec(t)){j=f.lastIndex;R=F[0];yield{type:"JSXString",value:F[0],closed:F[2]!==void 0};continue}break;case"JSXChildren":h.lastIndex=j;if(F=h.exec(t)){j=h.lastIndex;R=F[0];yield{type:"JSXText",value:F[0]};continue}switch(t[j]){case"<":K.push({tag:"JSXTag"});j++;R="<";yield{type:"JSXPunctuator",value:"<"};continue;case"{":K.push({tag:"InterpolationInJSX",nesting:i.length});j++;R="?InterpolationInJSX";H=false;yield{type:"JSXPunctuator",value:"{"};continue}}N.lastIndex=j;if(F=N.exec(t)){j=N.lastIndex;yield{type:"WhiteSpace",value:F[0]};continue}x.lastIndex=j;if(F=x.exec(t)){j=x.lastIndex;H=false;if(g.test(R)){R="?NoLineTerminatorHere"}yield{type:"LineTerminatorSequence",value:F[0]};continue}k.lastIndex=j;if(F=k.exec(t)){j=k.lastIndex;if(_.test(F[0])){H=false;if(g.test(R)){R="?NoLineTerminatorHere"}}yield{type:"MultiLineComment",value:F[0],closed:F[1]!==void 0};continue}I.lastIndex=j;if(F=I.exec(t)){j=I.lastIndex;H=false;yield{type:"SingleLineComment",value:F[0]};continue}r=String.fromCodePoint(t.codePointAt(j));j+=r.length;R=r;H=false;yield{type:M.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:r}}return void 0};const R=j;var L=i(77633);function isColorSupported(){return(0,a.styleText)("red","-")!=="-"}function createFormatter(t){return s=>(0,a.styleText)(t,String(s??""),{validateStream:false})}const F={keyword:createFormatter("cyan"),capitalized:createFormatter("yellow"),jsxIdentifier:createFormatter("yellow"),punctuator:createFormatter("yellow"),number:createFormatter("magenta"),string:createFormatter("green"),regex:createFormatter("magenta"),comment:createFormatter("gray"),invalid:createFormatter(["white","bgRed","bold"]),gutter:createFormatter("gray"),marker:createFormatter(["red","bold"]),message:createFormatter(["red","bold"]),reset:createFormatter("reset")};const M=new Set(["as","async","from","get","of","set"]);const B=/\r\n|[\n\r\u2028\u2029]/;const W=/^[()[\]{}]$/;const getTokenType=function(t){if(t.type==="IdentifierName"){const s=t.value;if((0,L.wb)(s)||(0,L.wh)(s,true)||M.has(s)){return"keyword"}const i=s.charCodeAt(0);if(i<128){if(i>=65&&i<=90){return"capitalized"}}else{const t=String.fromCodePoint(s.codePointAt(0));if(t!==t.toLowerCase()){return"capitalized"}}}if(t.type==="Punctuator"&&W.test(t.value)){return"uncolored"}if(t.type==="Invalid"&&t.value==="@"){return"punctuator"}switch(t.type){case"NumericLiteral":return"number";case"StringLiteral":case"JSXString":case"NoSubstitutionTemplate":return"string";case"RegularExpressionLiteral":return"regex";case"Punctuator":case"JSXPunctuator":return"punctuator";case"MultiLineComment":case"SingleLineComment":return"comment";case"Invalid":case"JSXInvalid":return"invalid";case"JSXIdentifier":return"jsxIdentifier";default:return"uncolored"}};function*tokenize(t){for(const s of R(t,{jsx:true})){switch(s.type){case"TemplateHead":yield{type:"string",value:s.value.slice(0,-2)};yield{type:"punctuator",value:"${"};break;case"TemplateMiddle":yield{type:"punctuator",value:"}"};yield{type:"string",value:s.value.slice(1,-2)};yield{type:"punctuator",value:"${"};break;case"TemplateTail":yield{type:"punctuator",value:"}"};yield{type:"string",value:s.value.slice(1)};break;default:yield{type:getTokenType(s),value:s.value}}}}function highlight(t){if(t==="")return"";let s="";for(const{type:i,value:r}of tokenize(t)){if(i in F){s+=r.split(B).map(t=>F[i](t)).join("\n")}else{s+=r}}return s}function codeFrameColumns(t,s,i={}){const r=i.forceColor||isColorSupported()&&i.highlightCode;return _codeFrameColumns(t,s,i,r?{defs:F,highlight:highlight}:undefined)}},64098:(s,i,r)=>{r.d(i,{nG:()=>parseSync,vs:()=>o.Ay,Uz:()=>transformSync,hV:()=>m.Ay,gK:()=>a});var a=r(66933);var o=r(13554);function helper(t,s,i){return Object.freeze({minVersion:t,ast:()=>o.Ay.program.ast(s,{preserveComments:true}),metadata:i})}const l={__proto__:null,OverloadYield:helper("7.18.14","function _OverloadYield(e,d){this.v=e,this.k=d}",{globals:[],locals:{_OverloadYield:["body.0.id"]},exportBindingAssignments:[],exportName:"_OverloadYield",dependencies:{},internal:false}),applyDecoratedDescriptor:helper("7.0.0-beta.0",'function _applyDecoratedDescriptor(i,e,r,n,l){var a={};return Object.keys(n).forEach(function(i){a[i]=n[i]}),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=r.slice().reverse().reduce(function(r,n){return n(i,e,r)||r},a),l&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(l):void 0,a.initializer=void 0),void 0===a.initializer?(Object.defineProperty(i,e,a),null):a}',{globals:["Object"],locals:{_applyDecoratedDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_applyDecoratedDescriptor",dependencies:{},internal:false}),applyDecs2311:helper("7.24.0",'function applyDecs2311(e,t,n,r,o,i){var a,c,u,s,f,l,p,d=Symbol.metadata||Symbol.for("Symbol.metadata"),m=Object.defineProperty,h=Object.create,y=[h(null),h(null)],v=t.length;function g(t,n,r){return function(o,i){n&&(i=o,o=e);for(var a=0;a<t.length;a++)i=t[a].apply(o,r?[i]:[]);return r?i:o}}function b(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function applyDec(e,t,n,r,o,i,u,s,f,l,p){function d(e){if(!p(e))throw new TypeError("Attempted to access private element on non-instance")}var h=[].concat(t[0]),v=t[3],w=!u,D=1===o,S=3===o,j=4===o,E=2===o;function I(t,n,r){return function(o,i){return n&&(i=o,o=e),r&&r(o),P[t].call(o,i)}}if(!w){var P={},k=[],F=S?"get":j||D?"set":"value";if(f?(l||D?P={get:setFunctionName(function(){return v(this)},r,"get"),set:function(e){t[4](this,e)}}:P[F]=v,l||setFunctionName(P[F],r,E?"":F)):l||(P=Object.getOwnPropertyDescriptor(e,r)),!l&&!f){if((c=y[+s][r])&&7!==(c^o))throw Error("Decorating two elements with the same name ("+P[F].name+") is not supported yet");y[+s][r]=o<3?1:o}}for(var N=e,O=h.length-1;O>=0;O-=n?2:1){var T=b(h[O],"A decorator","be",!0),z=n?h[O-1]:void 0,A={},H={kind:["field","accessor","method","getter","setter","class"][o],name:r,metadata:a,addInitializer:function(e,t){if(e.v)throw new TypeError("attempted to call addInitializer after decoration was finished");b(t,"An initializer","be",!0),i.push(t)}.bind(null,A)};if(w)c=T.call(z,N,H),A.v=1,b(c,"class decorators","return")&&(N=c);else if(H.static=s,H.private=f,c=H.access={has:f?p.bind():function(e){return r in e}},j||(c.get=f?E?function(e){return d(e),P.value}:I("get",0,d):function(e){return e[r]}),E||S||(c.set=f?I("set",0,d):function(e,t){e[r]=t}),N=T.call(z,D?{get:P.get,set:P.set}:P[F],H),A.v=1,D){if("object"==typeof N&&N)(c=b(N.get,"accessor.get"))&&(P.get=c),(c=b(N.set,"accessor.set"))&&(P.set=c),(c=b(N.init,"accessor.init"))&&k.unshift(c);else if(void 0!==N)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else b(N,(l?"field":"method")+" decorators","return")&&(l?k.unshift(N):P[F]=N)}return o<2&&u.push(g(k,s,1),g(i,s,0)),l||w||(f?D?u.splice(-1,0,I("get",s),I("set",s)):u.push(E?P[F]:b.call.bind(P[F])):m(e,r,P)),N}function w(e){return m(e,d,{configurable:!0,enumerable:!0,value:a})}return void 0!==i&&(a=i[d]),a=h(null==a?null:a),f=[],l=function(e){e&&f.push(g(e))},p=function(t,r){for(var i=0;i<n.length;i++){var a=n[i],c=a[1],l=7&c;if((8&c)==t&&!l==r){var p=a[2],d=!!a[3],m=16&c;applyDec(t?e:e.prototype,a,m,d?"#"+p:toPropertyKey(p),l,l<2?[]:t?s=s||[]:u=u||[],f,!!t,d,r,t&&d?function(t){return checkInRHS(t)===e}:o)}}},p(8,0),p(0,0),p(8,1),p(0,1),l(u),l(s),c=f,v||w(e),{e:c,get c(){var n=[];return v&&[w(e=applyDec(e,[t],r,e.name,5,n)),g(n,1)]}}}',{globals:["Symbol","Object","TypeError","Error"],locals:{applyDecs2311:["body.0.id"]},exportBindingAssignments:[],exportName:"applyDecs2311",dependencies:{checkInRHS:["body.0.body.body.5.argument.expressions.4.right.body.body.0.body.body.1.consequent.body.1.expression.arguments.10.consequent.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.3.body.body.3.consequent.body.1.test.expressions.0.consequent.expressions.0.consequent.right.properties.0.value.callee","body.0.body.body.3.body.body.3.consequent.body.1.test.expressions.0.consequent.expressions.1.right.callee"],toPropertyKey:["body.0.body.body.5.argument.expressions.4.right.body.body.0.body.body.1.consequent.body.1.expression.arguments.3.alternate.callee"]},internal:false}),arrayLikeToArray:helper("7.9.0","function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}",{globals:["Array"],locals:{_arrayLikeToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayLikeToArray",dependencies:{},internal:false}),arrayWithHoles:helper("7.0.0-beta.0","function _arrayWithHoles(r){if(Array.isArray(r))return r}",{globals:["Array"],locals:{_arrayWithHoles:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayWithHoles",dependencies:{},internal:false}),arrayWithoutHoles:helper("7.0.0-beta.0","function _arrayWithoutHoles(r){if(Array.isArray(r))return arrayLikeToArray(r)}",{globals:["Array"],locals:{_arrayWithoutHoles:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayWithoutHoles",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.argument.callee"]},internal:false}),assertClassBrand:helper("7.24.0",'function _assertClassBrand(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}',{globals:["TypeError"],locals:{_assertClassBrand:["body.0.id"]},exportBindingAssignments:[],exportName:"_assertClassBrand",dependencies:{},internal:false}),assertThisInitialized:helper("7.0.0-beta.0","function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}",{globals:["ReferenceError"],locals:{_assertThisInitialized:["body.0.id"]},exportBindingAssignments:[],exportName:"_assertThisInitialized",dependencies:{},internal:false}),asyncGeneratorDelegate:helper("7.0.0-beta.0",'function _asyncGeneratorDelegate(t){var e={},n=!1;function pump(e,r){return n=!0,r=new Promise(function(n){n(t[e](r))}),{done:!1,value:new OverloadYield(r,1)}}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},e.next=function(t){return n?(n=!1,t):pump("next",t)},"function"==typeof t.throw&&(e.throw=function(t){if(n)throw n=!1,t;return pump("throw",t)}),"function"==typeof t.return&&(e.return=function(t){return n?(n=!1,t):pump("return",t)}),e}',{globals:["Promise","Symbol"],locals:{_asyncGeneratorDelegate:["body.0.id"]},exportBindingAssignments:[],exportName:"_asyncGeneratorDelegate",dependencies:{OverloadYield:["body.0.body.body.1.body.body.0.argument.expressions.2.properties.1.value.callee"]},internal:false}),asyncIterator:helper("7.15.9",'function _asyncIterator(r){var n,t,o,e=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,o=Symbol.iterator);e--;){if(t&&null!=(n=r[t]))return n.call(r);if(o&&null!=(n=r[o]))return new AsyncFromSyncIterator(n.call(r));t="@@asyncIterator",o="@@iterator"}throw new TypeError("Object is not async iterable")}function AsyncFromSyncIterator(r){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then(function(r){return{value:r,done:n}})}return AsyncFromSyncIterator=function(r){this.s=r,this.n=r.next},AsyncFromSyncIterator.prototype={s:null,n:null,next:function(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments))},return:function(r){var n=this.s.return;return void 0===n?Promise.resolve({value:r,done:!0}):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments))},throw:function(r){var n=this.s.throw;return void 0===n?Promise.reject(r):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments))}},new AsyncFromSyncIterator(r)}',{globals:["Symbol","TypeError","Object","Promise"],locals:{_asyncIterator:["body.0.id"],AsyncFromSyncIterator:["body.1.id","body.0.body.body.1.body.body.1.consequent.argument.callee","body.1.body.body.1.argument.expressions.1.left.object","body.1.body.body.1.argument.expressions.2.callee","body.1.body.body.1.argument.expressions.0.left"]},exportBindingAssignments:[],exportName:"_asyncIterator",dependencies:{},internal:false}),asyncToGenerator:helper("7.0.0-beta.0",'function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value}catch(n){return void e(n)}i.done?t(u):Promise.resolve(u).then(r,o)}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n)}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n)}_next(void 0)})}}',{globals:["Promise"],locals:{asyncGeneratorStep:["body.0.id","body.1.body.body.0.argument.body.body.1.argument.arguments.0.body.body.1.body.body.0.expression.callee","body.1.body.body.0.argument.body.body.1.argument.arguments.0.body.body.2.body.body.0.expression.callee"],_asyncToGenerator:["body.1.id"]},exportBindingAssignments:[],exportName:"_asyncToGenerator",dependencies:{},internal:false}),awaitAsyncGenerator:helper("7.0.0-beta.0","function _awaitAsyncGenerator(e){return new OverloadYield(e,0)}",{globals:[],locals:{_awaitAsyncGenerator:["body.0.id"]},exportBindingAssignments:[],exportName:"_awaitAsyncGenerator",dependencies:{OverloadYield:["body.0.body.body.0.argument.callee"]},internal:false}),callSuper:helper("7.23.8","function _callSuper(t,o,e){return o=getPrototypeOf(o),possibleConstructorReturn(t,isNativeReflectConstruct()?Reflect.construct(o,e||[],getPrototypeOf(t).constructor):o.apply(t,e))}",{globals:["Reflect"],locals:{_callSuper:["body.0.id"]},exportBindingAssignments:[],exportName:"_callSuper",dependencies:{getPrototypeOf:["body.0.body.body.0.argument.expressions.0.right.callee","body.0.body.body.0.argument.expressions.1.arguments.1.consequent.arguments.2.object.callee"],isNativeReflectConstruct:["body.0.body.body.0.argument.expressions.1.arguments.1.test.callee"],possibleConstructorReturn:["body.0.body.body.0.argument.expressions.1.callee"]},internal:false}),checkInRHS:helper("7.20.5",'function _checkInRHS(e){if(Object(e)!==e)throw TypeError("right-hand side of \'in\' should be an object, got "+(null!==e?typeof e:"null"));return e}',{globals:["Object","TypeError"],locals:{_checkInRHS:["body.0.id"]},exportBindingAssignments:[],exportName:"_checkInRHS",dependencies:{},internal:false}),checkPrivateRedeclaration:helper("7.14.1",'function _checkPrivateRedeclaration(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}',{globals:["TypeError"],locals:{_checkPrivateRedeclaration:["body.0.id"]},exportBindingAssignments:[],exportName:"_checkPrivateRedeclaration",dependencies:{},internal:false}),classCallCheck:helper("7.0.0-beta.0",'function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function")}',{globals:["TypeError"],locals:{_classCallCheck:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCallCheck",dependencies:{},internal:false}),classNameTDZError:helper("7.0.0-beta.0","function _classNameTDZError(e){throw new ReferenceError('Class \"'+e+'\" cannot be referenced in computed property keys.')}",{globals:["ReferenceError"],locals:{_classNameTDZError:["body.0.id"]},exportBindingAssignments:[],exportName:"_classNameTDZError",dependencies:{},internal:false}),classPrivateFieldGet2:helper("7.24.0","function _classPrivateFieldGet2(s,a){return s.get(assertClassBrand(s,a))}",{globals:[],locals:{_classPrivateFieldGet2:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldGet2",dependencies:{assertClassBrand:["body.0.body.body.0.argument.arguments.0.callee"]},internal:false}),classPrivateFieldInitSpec:helper("7.14.1","function _classPrivateFieldInitSpec(e,t,a){checkPrivateRedeclaration(e,t),t.set(e,a)}",{globals:[],locals:{_classPrivateFieldInitSpec:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldInitSpec",dependencies:{checkPrivateRedeclaration:["body.0.body.body.0.expression.expressions.0.callee"]},internal:false}),classPrivateFieldLooseBase:helper("7.0.0-beta.0",'function _classPrivateFieldBase(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}',{globals:["TypeError"],locals:{_classPrivateFieldBase:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldBase",dependencies:{},internal:false}),classPrivateFieldLooseKey:helper("7.0.0-beta.0",'var id=0;function _classPrivateFieldKey(e){return"__private_"+id+++"_"+e}',{globals:[],locals:{id:["body.0.declarations.0.id","body.1.body.body.0.argument.left.left.right.argument","body.1.body.body.0.argument.left.left.right.argument"],_classPrivateFieldKey:["body.1.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldKey",dependencies:{},internal:false}),classPrivateFieldSet2:helper("7.24.0","function _classPrivateFieldSet2(s,a,r){return s.set(assertClassBrand(s,a),r),r}",{globals:[],locals:{_classPrivateFieldSet2:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldSet2",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.arguments.0.callee"]},internal:false}),classPrivateGetter:helper("7.24.0","function _classPrivateGetter(s,r,a){return a(assertClassBrand(s,r))}",{globals:[],locals:{_classPrivateGetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateGetter",dependencies:{assertClassBrand:["body.0.body.body.0.argument.arguments.0.callee"]},internal:false}),classPrivateMethodInitSpec:helper("7.14.1","function _classPrivateMethodInitSpec(e,a){checkPrivateRedeclaration(e,a),a.add(e)}",{globals:[],locals:{_classPrivateMethodInitSpec:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodInitSpec",dependencies:{checkPrivateRedeclaration:["body.0.body.body.0.expression.expressions.0.callee"]},internal:false}),classPrivateSetter:helper("7.24.0","function _classPrivateSetter(s,r,a,t){return r(assertClassBrand(s,a),t),t}",{globals:[],locals:{_classPrivateSetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateSetter",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.arguments.0.callee"]},internal:false}),classStaticPrivateMethodGet:helper("7.3.2","function _classStaticPrivateMethodGet(s,a,t){return assertClassBrand(a,s),t}",{globals:[],locals:{_classStaticPrivateMethodGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateMethodGet",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"]},internal:false}),construct:helper("7.0.0-beta.0","function _construct(t,e,r){if(isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,e);var p=new(t.bind.apply(t,o));return r&&setPrototypeOf(p,r.prototype),p}",{globals:["Reflect"],locals:{_construct:["body.0.id"]},exportBindingAssignments:[],exportName:"_construct",dependencies:{isNativeReflectConstruct:["body.0.body.body.0.test.callee"],setPrototypeOf:["body.0.body.body.4.argument.expressions.0.right.callee"]},internal:false}),createClass:helper("7.0.0-beta.0",'function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,toPropertyKey(o.key),o)}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}',{globals:["Object"],locals:{_defineProperties:["body.0.id","body.1.body.body.0.argument.expressions.0.right.callee","body.1.body.body.0.argument.expressions.1.right.callee"],_createClass:["body.1.id"]},exportBindingAssignments:[],exportName:"_createClass",dependencies:{toPropertyKey:["body.0.body.body.0.body.body.1.expression.expressions.3.arguments.1.callee"]},internal:false}),createForOfIteratorHelper:helper("7.9.0",'function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var n=0,F=function(){};return{s:F,n:function(){return n>=r.length?{done:!0}:{done:!1,value:r[n++]}},e:function(r){throw r},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a,u=!0;return{s:function(){t=t.call(r)},n:function(){u=!0;var r=t.next();return r.done?{done:!0}:{value:r.value,done:u=!1}},e:function(r){o=!0,a=r},f:function(){try{u||null==t.return||t.return()}finally{if(o)throw a}}}}',{globals:["Symbol","Array","TypeError"],locals:{_createForOfIteratorHelper:["body.0.id"]},exportBindingAssignments:[],exportName:"_createForOfIteratorHelper",dependencies:{unsupportedIterableToArray:["body.0.body.body.1.consequent.body.0.test.left.right.right.callee"]},internal:false}),createForOfIteratorHelperLoose:helper("7.9.0",'function _createForOfIteratorHelperLoose(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(t)return(t=t.call(r)).next.bind(t);if(Array.isArray(r)||(t=unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var o=0;return function(){return o>=r.length?{done:!0}:{done:!1,value:r[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["Symbol","Array","TypeError"],locals:{_createForOfIteratorHelperLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_createForOfIteratorHelperLoose",dependencies:{unsupportedIterableToArray:["body.0.body.body.2.test.left.right.right.callee"]},internal:false}),createSuper:helper("7.9.0","function _createSuper(t){var r=isNativeReflectConstruct();return function(){var e,o=getPrototypeOf(t);if(r){var s=getPrototypeOf(this).constructor;e=Reflect.construct(o,arguments,s)}else e=o.apply(this,arguments);return possibleConstructorReturn(this,e)}}",{globals:["Reflect"],locals:{_createSuper:["body.0.id"]},exportBindingAssignments:[],exportName:"_createSuper",dependencies:{getPrototypeOf:["body.0.body.body.1.argument.body.body.0.declarations.1.init.callee","body.0.body.body.1.argument.body.body.1.consequent.body.0.declarations.0.init.object.callee"],isNativeReflectConstruct:["body.0.body.body.0.declarations.0.init.callee"],possibleConstructorReturn:["body.0.body.body.1.argument.body.body.2.argument.callee"]},internal:false}),defaults:helper("7.0.0-beta.0","function _defaults(e,r){for(var t=Object.getOwnPropertyNames(r),o=0;o<t.length;o++){var n=t[o],a=Object.getOwnPropertyDescriptor(r,n);a&&a.configurable&&void 0===e[n]&&Object.defineProperty(e,n,a)}return e}",{globals:["Object"],locals:{_defaults:["body.0.id"]},exportBindingAssignments:[],exportName:"_defaults",dependencies:{},internal:false}),defineAccessor:helper("7.20.7","function _defineAccessor(e,r,n,t){var c={configurable:!0,enumerable:!0};return c[e]=t,Object.defineProperty(r,n,c)}",{globals:["Object"],locals:{_defineAccessor:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineAccessor",dependencies:{},internal:false}),defineProperty:helper("7.0.0-beta.0","function _defineProperty(e,r,t){return(r=toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}",{globals:["Object"],locals:{_defineProperty:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineProperty",dependencies:{toPropertyKey:["body.0.body.body.0.argument.expressions.0.test.left.right.callee"]},internal:false}),extends:helper("7.0.0-beta.0","function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_extends.apply(null,arguments)}",{globals:["Object"],locals:{_extends:["body.0.id","body.0.body.body.0.argument.expressions.1.callee.object","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_extends",dependencies:{},internal:false}),get:helper("7.0.0-beta.0",'function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var p=superPropBase(e,t);if(p){var n=Object.getOwnPropertyDescriptor(p,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}},_get.apply(null,arguments)}',{globals:["Reflect","Object"],locals:{_get:["body.0.id","body.0.body.body.0.argument.expressions.1.callee.object","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_get",dependencies:{superPropBase:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.0.declarations.0.init.callee"]},internal:false}),getPrototypeOf:helper("7.0.0-beta.0","function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}",{globals:["Object"],locals:{_getPrototypeOf:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_getPrototypeOf",dependencies:{},internal:false}),identity:helper("7.17.0","function _identity(t){return t}",{globals:[],locals:{_identity:["body.0.id"]},exportBindingAssignments:[],exportName:"_identity",dependencies:{},internal:false}),importDeferProxy:helper("7.23.0","function _importDeferProxy(e){var t=null,constValue=function(e){return function(){return e}},proxy=function(r){return function(n,o,f){return null===t&&(t=e()),r(t,o,f)}};return new Proxy({},{defineProperty:constValue(!1),deleteProperty:constValue(!1),get:proxy(Reflect.get),getOwnPropertyDescriptor:proxy(Reflect.getOwnPropertyDescriptor),getPrototypeOf:constValue(null),isExtensible:constValue(!1),has:proxy(Reflect.has),ownKeys:proxy(Reflect.ownKeys),preventExtensions:constValue(!0),set:constValue(!1),setPrototypeOf:constValue(!1)})}",{globals:["Proxy","Reflect"],locals:{_importDeferProxy:["body.0.id"]},exportBindingAssignments:[],exportName:"_importDeferProxy",dependencies:{},internal:false}),inherits:helper("7.0.0-beta.0",'function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&setPrototypeOf(t,e)}',{globals:["TypeError","Object"],locals:{_inherits:["body.0.id"]},exportBindingAssignments:[],exportName:"_inherits",dependencies:{setPrototypeOf:["body.0.body.body.1.expression.expressions.2.right.callee"]},internal:false}),inheritsLoose:helper("7.0.0-beta.0","function _inheritsLoose(t,o){t.prototype=Object.create(o.prototype),t.prototype.constructor=t,setPrototypeOf(t,o)}",{globals:["Object"],locals:{_inheritsLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_inheritsLoose",dependencies:{setPrototypeOf:["body.0.body.body.0.expression.expressions.2.callee"]},internal:false}),initializerDefineProperty:helper("7.0.0-beta.0","function _initializerDefineProperty(e,i,r,l){r&&Object.defineProperty(e,i,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(l):void 0})}",{globals:["Object"],locals:{_initializerDefineProperty:["body.0.id"]},exportBindingAssignments:[],exportName:"_initializerDefineProperty",dependencies:{},internal:false}),initializerWarningHelper:helper("7.0.0-beta.0",'function _initializerWarningHelper(r,e){throw Error("Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.")}',{globals:["Error"],locals:{_initializerWarningHelper:["body.0.id"]},exportBindingAssignments:[],exportName:"_initializerWarningHelper",dependencies:{},internal:false}),instanceof:helper("7.0.0-beta.0",'function _instanceof(n,e){return null!=e&&"undefined"!=typeof Symbol&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](n):n instanceof e}',{globals:["Symbol"],locals:{_instanceof:["body.0.id"]},exportBindingAssignments:[],exportName:"_instanceof",dependencies:{},internal:false}),interopRequireDefault:helper("7.0.0-beta.0","function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}",{globals:[],locals:{_interopRequireDefault:["body.0.id"]},exportBindingAssignments:[],exportName:"_interopRequireDefault",dependencies:{},internal:false}),interopRequireWildcard:helper("7.14.0",'var cache;function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;var r,c,a=Object.defineProperty,n={__proto__:null,default:e};if(Object(e)!==e)return n;if(cache||"function"!=typeof WeakMap||(cache=new WeakMap),cache){if(cache.has(e))return cache.get(e);cache.set(e,n)}for(c in e)"default"!==c&&{}.hasOwnProperty.call(e,c)&&((r=a&&Object.getOwnPropertyDescriptor(e,c))&&(r.get||r.set)?a(n,c,r):n[c]=e[c]);return n}',{globals:["Object","WeakMap"],locals:{cache:["body.0.declarations.0.id","body.1.body.body.3.test.expressions.0.left.left","body.1.body.body.3.test.expressions.1","body.1.body.body.3.consequent.body.0.test.callee.object","body.1.body.body.3.consequent.body.0.consequent.argument.callee.object","body.1.body.body.3.consequent.body.1.expression.callee.object","body.1.body.body.3.test.expressions.0.right.left"],_interopRequireWildcard:["body.1.id"]},exportBindingAssignments:[],exportName:"_interopRequireWildcard",dependencies:{},internal:false}),isNativeFunction:helper("7.0.0-beta.0",'function _isNativeFunction(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(n){return"function"==typeof t}}',{globals:["Function"],locals:{_isNativeFunction:["body.0.id"]},exportBindingAssignments:[],exportName:"_isNativeFunction",dependencies:{},internal:false}),isNativeReflectConstruct:helper("7.9.0","function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_isNativeReflectConstruct=function(){return!!t})()}",{globals:["Boolean","Reflect"],locals:{_isNativeReflectConstruct:["body.0.id","body.0.body.body.1.argument.callee.left"]},exportBindingAssignments:["body.0.body.body.1.argument.callee"],exportName:"_isNativeReflectConstruct",dependencies:{},internal:false}),iterableToArray:helper("7.0.0-beta.0",'function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}',{globals:["Symbol","Array"],locals:{_iterableToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_iterableToArray",dependencies:{},internal:false}),iterableToArrayLimit:helper("7.0.0-beta.0",'function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(o)throw n}}return a}}',{globals:["Symbol","Object"],locals:{_iterableToArrayLimit:["body.0.id"]},exportBindingAssignments:[],exportName:"_iterableToArrayLimit",dependencies:{},internal:false}),jsx:helper("7.0.0-beta.0",'var REACT_ELEMENT_TYPE;function _createRawReactElement(e,r,E,l){REACT_ELEMENT_TYPE||(REACT_ELEMENT_TYPE="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,n=arguments.length-3;if(r||0===n||(r={children:void 0}),1===n)r.children=l;else if(n>1){for(var t=Array(n),f=0;f<n;f++)t[f]=arguments[f+3];r.children=t}if(r&&o)for(var i in o)void 0===r[i]&&(r[i]=o[i]);else r||(r=o||{});return{$$typeof:REACT_ELEMENT_TYPE,type:e,key:void 0===E?null:""+E,ref:null,props:r,_owner:null}}',{globals:["Symbol","Array"],locals:{REACT_ELEMENT_TYPE:["body.0.declarations.0.id","body.1.body.body.0.expression.left","body.1.body.body.4.argument.properties.0.value","body.1.body.body.0.expression.right.left"],_createRawReactElement:["body.1.id"]},exportBindingAssignments:[],exportName:"_createRawReactElement",dependencies:{},internal:false}),maybeArrayLike:helper("7.9.0",'function _maybeArrayLike(r,a,e){if(a&&!Array.isArray(a)&&"number"==typeof a.length){var y=a.length;return arrayLikeToArray(a,void 0!==e&&e<y?e:y)}return r(a,e)}',{globals:["Array"],locals:{_maybeArrayLike:["body.0.id"]},exportBindingAssignments:[],exportName:"_maybeArrayLike",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.body.1.argument.callee"]},internal:false}),newArrowCheck:helper("7.0.0-beta.0",'function _newArrowCheck(n,r){if(n!==r)throw new TypeError("Cannot instantiate an arrow function")}',{globals:["TypeError"],locals:{_newArrowCheck:["body.0.id"]},exportBindingAssignments:[],exportName:"_newArrowCheck",dependencies:{},internal:false}),nonIterableRest:helper("7.0.0-beta.0",'function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["TypeError"],locals:{_nonIterableRest:["body.0.id"]},exportBindingAssignments:[],exportName:"_nonIterableRest",dependencies:{},internal:false}),nonIterableSpread:helper("7.0.0-beta.0",'function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["TypeError"],locals:{_nonIterableSpread:["body.0.id"]},exportBindingAssignments:[],exportName:"_nonIterableSpread",dependencies:{},internal:false}),nullishReceiverError:helper("7.22.6",'function _nullishReceiverError(r){throw new TypeError("Cannot set property of null or undefined.")}',{globals:["TypeError"],locals:{_nullishReceiverError:["body.0.id"]},exportBindingAssignments:[],exportName:"_nullishReceiverError",dependencies:{},internal:false}),objectDestructuringEmpty:helper("7.0.0-beta.0",'function _objectDestructuringEmpty(t){if(null==t)throw new TypeError("Cannot destructure "+t)}',{globals:["TypeError"],locals:{_objectDestructuringEmpty:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectDestructuringEmpty",dependencies:{},internal:false}),objectSpread2:helper("7.5.0","function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,o)}return t}function _objectSpread2(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){defineProperty(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}",{globals:["Object"],locals:{ownKeys:["body.0.id","body.1.body.body.0.body.body.1.expression.consequent.callee.object.callee","body.1.body.body.0.body.body.1.expression.alternate.alternate.callee.object.callee"],_objectSpread2:["body.1.id"]},exportBindingAssignments:[],exportName:"_objectSpread2",dependencies:{defineProperty:["body.1.body.body.0.body.body.1.expression.consequent.arguments.0.body.body.0.expression.callee"]},internal:false}),objectWithoutProperties:helper("7.0.0-beta.0","function _objectWithoutProperties(e,t){if(null==e)return{};var o,r,i=objectWithoutPropertiesLoose(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r<n.length;r++)o=n[r],-1===t.indexOf(o)&&{}.propertyIsEnumerable.call(e,o)&&(i[o]=e[o])}return i}",{globals:["Object"],locals:{_objectWithoutProperties:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectWithoutProperties",dependencies:{objectWithoutPropertiesLoose:["body.0.body.body.1.declarations.2.init.callee"]},internal:false}),objectWithoutPropertiesLoose:helper("7.0.0-beta.0","function _objectWithoutPropertiesLoose(r,e){if(null==r)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(-1!==e.indexOf(n))continue;t[n]=r[n]}return t}",{globals:[],locals:{_objectWithoutPropertiesLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectWithoutPropertiesLoose",dependencies:{},internal:false}),possibleConstructorReturn:helper("7.0.0-beta.0",'function _possibleConstructorReturn(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return assertThisInitialized(t)}',{globals:["TypeError"],locals:{_possibleConstructorReturn:["body.0.id"]},exportBindingAssignments:[],exportName:"_possibleConstructorReturn",dependencies:{assertThisInitialized:["body.0.body.body.2.argument.callee"]},internal:false}),readOnlyError:helper("7.0.0-beta.0","function _readOnlyError(r){throw new TypeError('\"'+r+'\" is read-only')}",{globals:["TypeError"],locals:{_readOnlyError:["body.0.id"]},exportBindingAssignments:[],exportName:"_readOnlyError",dependencies:{},internal:false}),regenerator:helper("7.27.0",'function _regenerator(){\n/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */\nvar e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return define(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,r){return i=t,c=0,u=e,G.n=r,a}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0))}if(o||r>1)return a;throw y=!0,n}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a \'"+o+"\' method"),c=1);i=e}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break}catch(t){i=e,c=1,u=t}finally{f=1}}return{value:t,done:y}}}(r,o,i),!0),u}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(define(t={},n,function(){return this}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,define(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e}return GeneratorFunction.prototype=GeneratorFunctionPrototype,define(u,"constructor",GeneratorFunctionPrototype),define(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",define(GeneratorFunctionPrototype,o,"GeneratorFunction"),define(u),define(u,o,"Generator"),define(u,n,function(){return this}),define(u,"toString",function(){return"[object Generator]"}),(_regenerator=function(){return{w:i,m:f}})()}',{globals:["Symbol","Object","TypeError"],locals:{_regenerator:["body.0.id","body.0.body.body.9.argument.expressions.9.callee.left"]},exportBindingAssignments:["body.0.body.body.9.argument.expressions.9.callee"],exportName:"_regenerator",dependencies:{regeneratorDefine:["body.0.body.body.1.body.body.1.argument.expressions.0.callee","body.0.body.body.7.declarations.0.init.alternate.expressions.0.callee","body.0.body.body.8.body.body.0.argument.expressions.0.alternate.expressions.1.callee","body.0.body.body.9.argument.expressions.1.callee","body.0.body.body.9.argument.expressions.2.callee","body.0.body.body.9.argument.expressions.4.callee","body.0.body.body.9.argument.expressions.5.callee","body.0.body.body.9.argument.expressions.6.callee","body.0.body.body.9.argument.expressions.7.callee","body.0.body.body.9.argument.expressions.8.callee"]},internal:false}),regeneratorAsync:helper("7.27.0","function _regeneratorAsync(n,e,r,t,o){var a=asyncGen(n,e,r,t,o);return a.next().then(function(n){return n.done?n.value:a.next()})}",{globals:[],locals:{_regeneratorAsync:["body.0.id"]},exportBindingAssignments:[],exportName:"_regeneratorAsync",dependencies:{regeneratorAsyncGen:["body.0.body.body.0.declarations.0.init.callee"]},internal:false}),regeneratorAsyncGen:helper("7.27.0","function _regeneratorAsyncGen(r,e,t,o,n){return new regeneratorAsyncIterator(regenerator().w(r,e,t,o),n||Promise)}",{globals:["Promise"],locals:{_regeneratorAsyncGen:["body.0.id"]},exportBindingAssignments:[],exportName:"_regeneratorAsyncGen",dependencies:{regenerator:["body.0.body.body.0.argument.arguments.0.callee.object.callee"],regeneratorAsyncIterator:["body.0.body.body.0.argument.callee"]},internal:false}),regeneratorAsyncIterator:helper("7.27.0",'function AsyncIterator(t,e){function n(r,o,i,f){try{var c=t[r](o),u=c.value;return u instanceof OverloadYield?e.resolve(u.v).then(function(t){n("next",t,i,f)},function(t){n("throw",t,i,f)}):e.resolve(u).then(function(t){c.value=t,i(c)},function(t){return n("throw",t,i,f)})}catch(t){f(t)}}var r;this.next||(define(AsyncIterator.prototype),define(AsyncIterator.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),define(this,"_invoke",function(t,o,i){function f(){return new e(function(e,r){n(t,i,e,r)})}return r=r?r.then(f,f):f()},!0)}',{globals:["Symbol"],locals:{AsyncIterator:["body.0.id","body.0.body.body.2.expression.expressions.0.right.expressions.0.arguments.0.object","body.0.body.body.2.expression.expressions.0.right.expressions.1.arguments.0.object"]},exportBindingAssignments:[],exportName:"AsyncIterator",dependencies:{OverloadYield:["body.0.body.body.0.body.body.0.block.body.1.argument.test.right"],regeneratorDefine:["body.0.body.body.2.expression.expressions.0.right.expressions.0.callee","body.0.body.body.2.expression.expressions.0.right.expressions.1.callee","body.0.body.body.2.expression.expressions.1.callee"]},internal:true}),regeneratorDefine:helper("7.27.0",'function regeneratorDefine(e,r,n,t){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}regeneratorDefine=function(e,r,n,t){function o(r,n){regeneratorDefine(e,r,function(e){return this._invoke(r,n,e)})}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2))},regeneratorDefine(e,r,n,t)}',{globals:["Object"],locals:{regeneratorDefine:["body.0.id","body.0.body.body.2.expression.expressions.0.right.body.body.0.body.body.0.expression.callee","body.0.body.body.2.expression.expressions.1.callee","body.0.body.body.2.expression.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.2.expression.expressions.0"],exportName:"regeneratorDefine",dependencies:{},internal:true}),regeneratorKeys:helper("7.27.0","function _regeneratorKeys(e){var n=Object(e),r=[];for(var t in n)r.unshift(t);return function e(){for(;r.length;)if((t=r.pop())in n)return e.value=t,e.done=!1,e;return e.done=!0,e}}",{globals:["Object"],locals:{_regeneratorKeys:["body.0.id"]},exportBindingAssignments:[],exportName:"_regeneratorKeys",dependencies:{},internal:false}),regeneratorValues:helper("7.18.0",'function _regeneratorValues(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],r=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}throw new TypeError(typeof e+" is not iterable")}',{globals:["Symbol","isNaN","TypeError"],locals:{_regeneratorValues:["body.0.id"]},exportBindingAssignments:[],exportName:"_regeneratorValues",dependencies:{},internal:false}),set:helper("7.0.0-beta.0",'function set(e,r,t,o){return set="undefined"!=typeof Reflect&&Reflect.set?Reflect.set:function(e,r,t,o){var f,i=superPropBase(e,r);if(i){if((f=Object.getOwnPropertyDescriptor(i,r)).set)return f.set.call(o,t),!0;if(!f.writable)return!1}if(f=Object.getOwnPropertyDescriptor(o,r)){if(!f.writable)return!1;f.value=t,Object.defineProperty(o,r,f)}else defineProperty(o,r,t);return!0},set(e,r,t,o)}function _set(e,r,t,o,f){if(!set(e,r,t,o||e)&&f)throw new TypeError("failed to set property");return t}',{globals:["Reflect","Object","TypeError"],locals:{set:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.1.body.body.0.test.left.argument.callee","body.0.body.body.0.argument.expressions.0.left"],_set:["body.1.id"]},exportBindingAssignments:[],exportName:"_set",dependencies:{superPropBase:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.0.declarations.1.init.callee"],defineProperty:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.2.alternate.expression.callee"]},internal:false}),setFunctionName:helper("7.23.6",'function setFunctionName(e,t,n){"symbol"==typeof t&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}',{globals:["Object"],locals:{setFunctionName:["body.0.id"]},exportBindingAssignments:[],exportName:"setFunctionName",dependencies:{},internal:false}),setPrototypeOf:helper("7.0.0-beta.0","function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_setPrototypeOf(t,e)}",{globals:["Object"],locals:{_setPrototypeOf:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_setPrototypeOf",dependencies:{},internal:false}),skipFirstGeneratorNext:helper("7.0.0-beta.0","function _skipFirstGeneratorNext(t){return function(){var r=t.apply(this,arguments);return r.next(),r}}",{globals:[],locals:{_skipFirstGeneratorNext:["body.0.id"]},exportBindingAssignments:[],exportName:"_skipFirstGeneratorNext",dependencies:{},internal:false}),slicedToArray:helper("7.0.0-beta.0","function _slicedToArray(r,e){return arrayWithHoles(r)||iterableToArrayLimit(r,e)||unsupportedIterableToArray(r,e)||nonIterableRest()}",{globals:[],locals:{_slicedToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_slicedToArray",dependencies:{arrayWithHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArrayLimit:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableRest:["body.0.body.body.0.argument.right.callee"]},internal:false}),superPropBase:helper("7.0.0-beta.0","function _superPropBase(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=getPrototypeOf(t)););return t}",{globals:[],locals:{_superPropBase:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropBase",dependencies:{getPrototypeOf:["body.0.body.body.0.test.right.right.right.callee"]},internal:false}),superPropGet:helper("7.25.0",'function _superPropGet(t,o,e,r){var p=get(getPrototypeOf(1&r?t.prototype:t),o,e);return 2&r&&"function"==typeof p?function(t){return p.apply(e,t)}:p}',{globals:[],locals:{_superPropGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropGet",dependencies:{get:["body.0.body.body.0.declarations.0.init.callee"],getPrototypeOf:["body.0.body.body.0.declarations.0.init.arguments.0.callee"]},internal:false}),superPropSet:helper("7.25.0","function _superPropSet(t,e,o,r,p,f){return set(getPrototypeOf(f?t.prototype:t),e,o,r,p)}",{globals:[],locals:{_superPropSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropSet",dependencies:{set:["body.0.body.body.0.argument.callee"],getPrototypeOf:["body.0.body.body.0.argument.arguments.0.callee"]},internal:false}),taggedTemplateLiteral:helper("7.0.0-beta.0","function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}",{globals:["Object"],locals:{_taggedTemplateLiteral:["body.0.id"]},exportBindingAssignments:[],exportName:"_taggedTemplateLiteral",dependencies:{},internal:false}),taggedTemplateLiteralLoose:helper("7.0.0-beta.0","function _taggedTemplateLiteralLoose(e,t){return t||(t=e.slice(0)),e.raw=t,e}",{globals:[],locals:{_taggedTemplateLiteralLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_taggedTemplateLiteralLoose",dependencies:{},internal:false}),tdz:helper("7.5.5",'function _tdzError(e){throw new ReferenceError(e+" is not defined - temporal dead zone")}',{globals:["ReferenceError"],locals:{_tdzError:["body.0.id"]},exportBindingAssignments:[],exportName:"_tdzError",dependencies:{},internal:false}),temporalRef:helper("7.0.0-beta.0","function _temporalRef(r,e){return r===undef?err(e):r}",{globals:[],locals:{_temporalRef:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalRef",dependencies:{temporalUndefined:["body.0.body.body.0.argument.test.right"],tdz:["body.0.body.body.0.argument.consequent.callee"]},internal:false}),temporalUndefined:helper("7.0.0-beta.0","function _temporalUndefined(){}",{globals:[],locals:{_temporalUndefined:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalUndefined",dependencies:{},internal:false}),toArray:helper("7.0.0-beta.0","function _toArray(r){return arrayWithHoles(r)||iterableToArray(r)||unsupportedIterableToArray(r)||nonIterableRest()}",{globals:[],locals:{_toArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_toArray",dependencies:{arrayWithHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArray:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableRest:["body.0.body.body.0.argument.right.callee"]},internal:false}),toConsumableArray:helper("7.0.0-beta.0","function _toConsumableArray(r){return arrayWithoutHoles(r)||iterableToArray(r)||unsupportedIterableToArray(r)||nonIterableSpread()}",{globals:[],locals:{_toConsumableArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_toConsumableArray",dependencies:{arrayWithoutHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArray:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableSpread:["body.0.body.body.0.argument.right.callee"]},internal:false}),toPrimitive:helper("7.1.5",'function toPrimitive(t,e){if("object"!=typeof t||!t)return t;var r;if("undefined"!=typeof Symbol&&void 0!==(r=t[Symbol.toPrimitive])){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}',{globals:["Symbol","TypeError","String","Number"],locals:{toPrimitive:["body.0.id"]},exportBindingAssignments:[],exportName:"toPrimitive",dependencies:{},internal:false}),toPropertyKey:helper("7.1.5",'function toPropertyKey(t){var i=toPrimitive(t,"string");return"symbol"==typeof i?i:i+""}',{globals:[],locals:{toPropertyKey:["body.0.id"]},exportBindingAssignments:[],exportName:"toPropertyKey",dependencies:{toPrimitive:["body.0.body.body.0.declarations.0.init.callee"]},internal:false}),toSetter:helper("7.24.0",'function _toSetter(t,e,n){e||(e=[]);var r=e.length++;return Object.defineProperty({},"_",{set:function(o){e[r]=o,t.apply(n,e)}})}',{globals:["Object"],locals:{_toSetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_toSetter",dependencies:{},internal:false}),tsRewriteRelativeImportExtensions:helper("7.27.0",'function tsRewriteRelativeImportExtensions(t,e){return"string"==typeof t&&/^\\.\\.?\\//.test(t)?t.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+)?)\\.([cm]?)ts$/i,function(t,s,r,n,o){return s?e?".jsx":".js":!r||n&&o?r+n+"."+o.toLowerCase()+"js":t}):t}',{globals:[],locals:{tsRewriteRelativeImportExtensions:["body.0.id"]},exportBindingAssignments:[],exportName:"tsRewriteRelativeImportExtensions",dependencies:{},internal:false}),typeof:helper("7.0.0-beta.0",'function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}',{globals:["Symbol"],locals:{_typeof:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_typeof",dependencies:{},internal:false}),unsupportedIterableToArray:helper("7.9.0",'function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?arrayLikeToArray(r,a):void 0}}',{globals:["Array"],locals:{_unsupportedIterableToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_unsupportedIterableToArray",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.body.0.consequent.argument.callee","body.0.body.body.0.consequent.body.2.argument.expressions.1.alternate.consequent.callee"]},internal:false}),usingCtx:helper("7.23.9",'function _usingCtx(){var r="function"==typeof SuppressedError?SuppressedError:function(r,e){var n=Error();return n.name="SuppressedError",n.error=r,n.suppressed=e,n},e={},n=[];function using(r,e){if(null!=e){if(Object(e)!==e)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(r)var o=e[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(void 0===o&&(o=e[Symbol.dispose||Symbol.for("Symbol.dispose")],r))var t=o;if("function"!=typeof o)throw new TypeError("Object is not disposable.");t&&(o=function(){try{t.call(e)}catch(r){return Promise.reject(r)}}),n.push({v:e,d:o,a:r})}else r&&n.push({d:e,a:r});return e}return{e:e,u:using.bind(null,!1),a:using.bind(null,!0),d:function(){var o,t=this.e,s=0;function next(){for(;o=n.pop();)try{if(!o.a&&1===s)return s=0,n.push(o),Promise.resolve().then(next);if(o.d){var r=o.d.call(o.v);if(o.a)return s|=2,Promise.resolve(r).then(next,err)}else s|=1}catch(r){return err(r)}if(1===s)return t!==e?Promise.reject(t):Promise.resolve();if(t!==e)throw t}function err(n){return t=t!==e?new r(n,t):n,next()}return next()}}}',{globals:["SuppressedError","Error","Object","TypeError","Symbol","Promise"],locals:{_usingCtx:["body.0.id"]},exportBindingAssignments:[],exportName:"_usingCtx",dependencies:{},internal:false}),wrapAsyncGenerator:helper("7.0.0-beta.0",'function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments))}}function AsyncGenerator(e){var t,n;function resume(t,n){try{var r=e[t](n),o=r.value,u=o instanceof OverloadYield;Promise.resolve(u?o.v:o).then(function(n){if(u){var i="return"===t&&o.k?t:"next";if(!o.k||n.done)return resume(i,n);n=e[i](n).value}settle(!!r.done,n)},function(e){resume("throw",e)})}catch(e){settle(2,e)}}function settle(e,r){2===e?t.reject(r):t.resolve({value:r,done:e}),(t=t.next)?resume(t.key,t.arg):n=null}this._invoke=function(e,r){return new Promise(function(o,u){var i={key:e,arg:r,resolve:o,reject:u,next:null};n?n=n.next=i:(t=n=i,resume(e,r))})},"function"!=typeof e.return&&(this.return=void 0)}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e)},AsyncGenerator.prototype.throw=function(e){return this._invoke("throw",e)},AsyncGenerator.prototype.return=function(e){return this._invoke("return",e)};',{globals:["Promise","Symbol"],locals:{_wrapAsyncGenerator:["body.0.id"],AsyncGenerator:["body.1.id","body.0.body.body.0.argument.body.body.0.argument.callee","body.2.expression.expressions.0.left.object.object","body.2.expression.expressions.1.left.object.object","body.2.expression.expressions.2.left.object.object","body.2.expression.expressions.3.left.object.object"]},exportBindingAssignments:[],exportName:"_wrapAsyncGenerator",dependencies:{OverloadYield:["body.1.body.body.1.body.body.0.block.body.0.declarations.2.init.right"]},internal:false}),wrapNativeSuper:helper("7.0.0-beta.0",'function _wrapNativeSuper(t){var r="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function(t){if(null===t||!isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,Wrapper)}function Wrapper(){return construct(t,arguments,getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),setPrototypeOf(Wrapper,t)},_wrapNativeSuper(t)}',{globals:["Map","TypeError","Object"],locals:{_wrapNativeSuper:["body.0.id","body.0.body.body.1.argument.expressions.1.callee","body.0.body.body.1.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.1.argument.expressions.0"],exportName:"_wrapNativeSuper",dependencies:{getPrototypeOf:["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.arguments.2.object.callee"],setPrototypeOf:["body.0.body.body.1.argument.expressions.0.right.body.body.4.argument.expressions.1.callee"],isNativeFunction:["body.0.body.body.1.argument.expressions.0.right.body.body.0.test.right.argument.callee"],construct:["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.callee"]},internal:false}),wrapRegExp:helper("7.19.0",'function _wrapRegExp(){_wrapRegExp=function(e,r){return new BabelRegExp(e,void 0,r)};var e=RegExp.prototype,r=new WeakMap;function BabelRegExp(e,t,p){var o=RegExp(e,t);return r.set(o,p||r.get(e)),setPrototypeOf(o,BabelRegExp.prototype)}function buildGroups(e,t){var p=r.get(t);return Object.keys(p).reduce(function(r,t){var o=p[t];if("number"==typeof o)r[t]=e[o];else{for(var i=0;void 0===e[o[i]]&&i+1<o.length;)i++;r[t]=e[o[i]]}return r},Object.create(null))}return inherits(BabelRegExp,RegExp),BabelRegExp.prototype.exec=function(r){var t=e.exec.call(this,r);if(t){t.groups=buildGroups(t,this);var p=t.indices;p&&(p.groups=buildGroups(p,this))}return t},BabelRegExp.prototype[Symbol.replace]=function(t,p){if("string"==typeof p){var o=r.get(this);return e[Symbol.replace].call(this,t,p.replace(/\\$<([^>]+)(>|$)/g,function(e,r,t){if(""===t)return e;var p=o[r];return Array.isArray(p)?"$"+p.join("$"):"number"==typeof p?"$"+p:""}))}if("function"==typeof p){var i=this;return e[Symbol.replace].call(this,t,function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(buildGroups(e,i)),p.apply(this,e)})}return e[Symbol.replace].call(this,t,p)},_wrapRegExp.apply(this,arguments)}',{globals:["RegExp","WeakMap","Object","Symbol","Array"],locals:{_wrapRegExp:["body.0.id","body.0.body.body.4.argument.expressions.3.callee.object","body.0.body.body.0.expression.left"]},exportBindingAssignments:["body.0.body.body.0.expression"],exportName:"_wrapRegExp",dependencies:{setPrototypeOf:["body.0.body.body.2.body.body.1.argument.expressions.1.callee"],inherits:["body.0.body.body.4.argument.expressions.0.callee"]},internal:false}),writeOnlyError:helper("7.12.13","function _writeOnlyError(r){throw new TypeError('\"'+r+'\" is write-only')}",{globals:["TypeError"],locals:{_writeOnlyError:["body.0.id"]},exportBindingAssignments:[],exportName:"_writeOnlyError",dependencies:{},internal:false})};const{cloneNode:u,identifier:p}=a;function deep(t,s,i){try{const r=s.split(".");let a=r.shift();while(r.length>0){t=t[a];a=r.shift()}if(arguments.length>2){t[a]=i}else{return t[a]}}catch(t){t.message+=` (when accessing ${s})`;throw t}}function permuteHelperAST(t,s,i,r,a,o){const{locals:l,dependencies:f,exportBindingAssignments:h,exportName:m}=s;const g=new Set(r||[]);if(i)g.add(i);for(const[s,r]of Object.entries(l)){let a=s;if(i&&s===m){a=i}else{while(g.has(a))a="_"+a}if(a!==s){for(const s of r){deep(t,s,p(a))}}}for(const[s,i]of Object.entries(f)){const r=typeof a==="function"&&a(s)||p(s);for(const s of i){deep(t,s,u(r))}}o?.(t,m,s=>{h.forEach(i=>deep(t,i,s(deep(t,i))))})}const f=Object.create(null);function loadHelper(t){if(!f[t]){const s=l[t];if(!s){throw Object.assign(new ReferenceError(`Unknown helper ${t}`),{code:"BABEL_HELPER_UNKNOWN",helper:t})}f[t]={minVersion:s.minVersion,build(t,i,r,a){const o=s.ast();permuteHelperAST(o,s.metadata,i,r,t,a);return{nodes:o.body,globals:s.metadata.globals}},getDependencies(){return Object.keys(s.metadata.dependencies)}}}return f[t]}function get(t,s,i,r,a){return loadHelper(t).build(s,i,r,a)}function lib_minVersion(t){return loadHelper(t).minVersion}function getDependencies(t){return loadHelper(t).getDependencies()}function isInternal(t){return l[t]?.metadata.internal}const h=Object.keys(l).map(t=>t.replace(/^_/,""));var m=r(57790);var g=r(24167);const x="2.0.0";const k=null&&["major","premajor","minor","preminor","patch","prepatch","prerelease","release"];const _=null&&["major","premajor","minor","preminor","patch","prepatch","prerelease"];const T="[a-zA-Z0-9-]";const C=String.raw`0|[1-9]\d*`;const A=String.raw`\d+`;const I=String.raw`\d*[a-zA-Z-]${T}*`;const P=String.raw`(${C})\.(${C})\.(${C})`;const $=String.raw`(${A})\.(${A})\.(${A})`;const O=`(?:${I}|${C})`;const D=`(?:${I}|${A})`;const N=String.raw`(?:-(${O}(?:\.${O})*))`;const j=String.raw`(?:-?(${D}(?:\.${D})*))`;const R=`${T}+`;const L=String.raw`(?:\+(${R}(?:\.${R})*))`;const F=`v?${P}${N}?${L}?`;const M=String.raw`[v=\s]*${$}${j}?${L}?`;const B="((?:<|>)?=?)";const W=String.raw`${C}|x|X|\*`;const U=String.raw`${A}|x|X|\*`;const H=String.raw`[v=\s]*(${W})(?:\.(${W})(?:\.(${W})(?:${N})?${L}?)?)?`;const V=String.raw`[v=\s]*(${U})(?:\.(${U})(?:\.(${U})(?:${j})?${L}?)?)?`;const K="(?:~>?)";const G=String.raw`(?:\^)`;const J=String.raw`(^|[^\d])(\d{1,${16}})(?:\.(\d{1,${16}}))?(?:\.(\d{1,${16}}))?`;const X=String.raw`${J}(?:$|[^\d])`;const Y=String.raw`${J}(?:${N})?(?:${L})?(?:$|[^\d])`;function makeSafeRegexSource(t){const s=[[String.raw`\s`,1],[String.raw`\d`,256],[T,250]];for(const[i,r]of s)t=t.split(`${i}*`).join(`${i}{0,${r}}`).split(`${i}+`).join(`${i}{1,${r}}`);return t}function comparison_CmVirWIW_safeRegex(t,s){return new RegExp(makeSafeRegexSource(t),s)}const Q=comparison_CmVirWIW_safeRegex(`^${F}$`);const Z=comparison_CmVirWIW_safeRegex(`^${M}$`);const ee=/^\d+$/;function comparison_CmVirWIW_formatComparableVersion(t){const s=`${t.major}.${t.minor}.${t.patch}`;return t.prerelease?.length?`${s}-${t.prerelease.join(".")}`:s}function comparison_CmVirWIW_formatFullVersion(t){const s=comparison_CmVirWIW_formatComparableVersion(t);return t.build?.length?`${s}+${t.build.join(".")}`:s}function comparison_CmVirWIW_parse(t,s={}){if(typeof t!=="string")return t;if(t.length>256)throw new TypeError(`Version exceeds the maximum length of 256 characters`);const i=t.trim().match(s.loose?Z:Q);if(!i)throw new TypeError(`Invalid version syntax: ${t}`);const r=Number(i[1]);const a=Number(i[2]);const o=Number(i[3]);if(r>Number.MAX_SAFE_INTEGER||r<0)throw new TypeError(`Invalid major version: ${i[1]}`);if(a>Number.MAX_SAFE_INTEGER||a<0)throw new TypeError(`Invalid minor version: ${i[2]}`);if(o>Number.MAX_SAFE_INTEGER||o<0)throw new TypeError(`Invalid patch version: ${i[3]}`);const l=i[4]?i[4].split(".").map(t=>{if(ee.test(t)){const s=Number(t);if(s>=0&&s<Number.MAX_SAFE_INTEGER)return s}return t}):void 0;return{build:i[5]?.split("."),major:r,minor:a,patch:o,prerelease:l}}function comparison_CmVirWIW_tryParse(t,s={}){try{return comparison_CmVirWIW_parse(t,s)}catch{return null}}const te=/^\d+$/;function comparison_CmVirWIW_compareIdentifiers(t,s){if(typeof t==="number"&&typeof s==="number")return t===s?0:t<s?-1:1;const i=te.test(String(t));const r=te.test(String(s));const a=i?Number(t):t;const o=r?Number(s):s;return a===o?0:i&&!r?-1:r&&!i?1:a<o?-1:1}function compareIdentifiersReversed(t,s){return comparison_CmVirWIW_compareIdentifiers(s,t)}function comparison_CmVirWIW_compareMainParsed(t,s){return t.major===s.major?t.minor===s.minor?t.patch===s.patch?0:t.patch<s.patch?-1:1:t.minor<s.minor?-1:1:t.major<s.major?-1:1}function comparePrereleaseParsed(t,s){const i=t.prerelease;const r=s.prerelease;if(i?.length&&!r?.length)return-1;if(!i?.length&&r?.length)return 1;if(!i?.length&&!r?.length)return 0;for(let t=0;;t++){const s=i?.[t];const a=r?.[t];if(s===void 0&&a===void 0)return 0;if(a===void 0)return 1;if(s===void 0)return-1;if(s!==a)return comparison_CmVirWIW_compareIdentifiers(s,a)}}function comparison_CmVirWIW_compareParsed(t,s){return comparison_CmVirWIW_compareMainParsed(t,s)||comparePrereleaseParsed(t,s)}function compareBuildParsed(t,s){const i=comparison_CmVirWIW_compareParsed(t,s);if(i!==0)return i;for(let i=0;;i++){const r=t.build?.[i];const a=s.build?.[i];if(r===void 0&&a===void 0)return 0;if(a===void 0)return 1;if(r===void 0)return-1;if(r!==a)return comparison_CmVirWIW_compareIdentifiers(r,a)}}function compare(t,s,i={}){return comparison_CmVirWIW_compareParsed(comparison_CmVirWIW_parse(t,i),comparison_CmVirWIW_parse(s,i))}function compareReversed(t,s,i={}){return compare(s,t,i)}function compareMain(t,s,i={}){return comparison_CmVirWIW_compareMainParsed(comparison_CmVirWIW_parse(t,i),comparison_CmVirWIW_parse(s,i))}function comparePrerelease(t,s,i={}){return comparePrereleaseParsed(comparison_CmVirWIW_parse(t,i),comparison_CmVirWIW_parse(s,i))}function compareBuild(t,s,i={}){return compareBuildParsed(comparison_CmVirWIW_parse(t,i),comparison_CmVirWIW_parse(s,i))}function compareWithOperator(t,s,i,r={}){if(s==="===")return t===i;if(s==="!==")return t!==i;const a=compare(t,i,r);switch(s){case"":case"=":case"==":return a===0;case"!=":return a!==0;case">":return a>0;case">=":return a>=0;case"<":return a<0;case"<=":return a<=0;default:throw new TypeError(`Invalid operator: ${s}`)}}function isEqual(t,s,i={}){return compare(t,s,i)===0}function isNotEqual(t,s,i={}){return compare(t,s,i)!==0}function comparison_CmVirWIW_isGreaterThan(t,s,i={}){return compare(t,s,i)>0}function isGreaterThanOrEqual(t,s,i={}){return compare(t,s,i)>=0}function comparison_CmVirWIW_isLessThan(t,s,i={}){return compare(t,s,i)<0}function isLessThanOrEqual(t,s,i={}){return compare(t,s,i)<=0}function comparison_CmVirWIW_sort(t,s={}){return[...t].sort((t,i)=>compareBuild(t,i,s))}function sortReversed(t,s={}){return[...t].sort((t,i)=>compareBuild(i,t,s))}const ne=comparison_CmVirWIW_safeRegex(X);const se=comparison_CmVirWIW_safeRegex(Y);const ie=comparison_CmVirWIW_safeRegex(`^${N}$`);const re=comparison_CmVirWIW_safeRegex(`^${j}$`);function version_Co1j9Tpq_isValid(t,s={}){return comparison_CmVirWIW_tryParse(t,s)!==null}function isPrerelease(t,s={}){const i=tryParse(t,s);if(!i)return null;return!!i.prerelease?.length}function isStable(t,s={}){const i=tryParse(t,s);if(!i)return null;return!i.prerelease?.length}function normalizeFull(t,s={}){const i=tryParse(t,s);return i?formatFullVersion(i):null}function normalize(t,s={}){const i=tryParse(t,s);return i?formatComparableVersion(i):null}function clean(t,s={}){if(typeof t!=="string")return normalize(t,s);return normalize(t.trim().replace(/^[=v]+/,""),s)}function coerce(t,s={}){if(typeof t==="object")return t;const i=typeof t==="number"?String(t):t;let r=null;if(s.rtl){const t=s.includePrerelease?COERCE_FULL:COERCE;const a=safeRegex(t,"g");let o;while((o=a.exec(i))&&(!r||r.index+r[0].length!==i.length)){if(!r||o.index+o[0].length!==r.index+r[0].length)r=o;a.lastIndex=o.index+o[1].length+o[2].length}}else r=(s.includePrerelease?se:ne).exec(i);if(!r)return null;const a=r[2];const o=r[3]||"0";const l=r[4]||"0";const u=s.includePrerelease&&r[5]?`-${r[5]}`:"";const p=s.includePrerelease&&r[6]?`+${r[6]}`:"";return tryParse(`${a}.${o}.${l}${u}${p}`,s)}function isPrereleasePrefix(t,s){const i=s.split(".");return i.length<=t.length&&i.every((s,i)=>compareIdentifiers(t[i],s)===0)}function incrementPrerelease(t,s,i){const r=Number(i)?1:0;let a=t.prerelease;if(a?.length){let t=false;for(let s=a.length-1;s>=0;s--)if(typeof a[s]==="number"){a[s]=Number(a[s])+1;t=true;break}if(!t){if(s===a.join(".")&&i===false)throw new Error("invalid increment argument: identifier already exists");a.push(r)}}else{a=[r];t.prerelease=a}if(!s)return;const o=i===false?[s]:[s,r];if(isPrereleasePrefix(a,s)){const i=a[s.split(".").length];if(Number.isNaN(Number(i)))t.prerelease=o}else t.prerelease=o}function incrementMutable(t,s,i,r){switch(s){case"premajor":t.prerelease=void 0;t.patch=0;t.minor=0;t.major++;incrementPrerelease(t,i,r);break;case"preminor":t.prerelease=void 0;t.patch=0;t.minor++;incrementPrerelease(t,i,r);break;case"prepatch":t.prerelease=void 0;incrementMutable(t,"patch",i,r);incrementPrerelease(t,i,r);break;case"prerelease":if(!t.prerelease?.length)incrementMutable(t,"patch",i,r);incrementPrerelease(t,i,r);break;case"release":if(!t.prerelease?.length)throw new Error(`version ${formatFullVersion(t)} is not a prerelease`);t.prerelease=void 0;break;case"major":if(t.minor!==0||t.patch!==0||!t.prerelease?.length)t.major++;t.minor=0;t.patch=0;t.prerelease=void 0;break;case"minor":if(t.patch!==0||!t.prerelease?.length)t.minor++;t.patch=0;t.prerelease=void 0;break;case"patch":if(!t.prerelease?.length)t.patch++;t.prerelease=void 0;break;case"pre":incrementPrerelease(t,i,r);break;default:throw new Error(`invalid increment argument: ${s}`)}}function incrementParsedVersion(t,s,i,r,a=false){if(s.startsWith("pre")){if(!i&&r===false)throw new Error("invalid increment argument: identifier is empty");if(i){const t=a?re:ie;const s=`-${i}`.match(t);if(!s||s[1]!==i)throw new Error(`invalid identifier: ${i}`)}}const o={build:t.build?[...t.build]:void 0,major:t.major,minor:t.minor,patch:t.patch,prerelease:t.prerelease?[...t.prerelease]:void 0};incrementMutable(o,s,i,r);return formatComparableVersion(o)}function increment(t,s,i={}){try{return incrementParsedVersion(parse(t,i),s,i.identifier,i.identifierBase,i.loose)}catch{return null}}function truncate(t,s,i={}){if(!TRUNCATION_TYPES.includes(s))return null;const r=tryParse(t,i);if(!r)return null;if(s.startsWith("pre"))return formatComparableVersion(r);return formatComparableVersion({major:r.major,minor:s==="major"?0:r.minor,patch:s==="major"||s==="minor"?0:r.patch})}function difference(t,s){const i=parse(t);const r=parse(s);const a=compareParsed(i,r);if(a===0)return null;const o=a>0?i:r;const l=a>0?r:i;const u=o.prerelease?.length;if(l.prerelease?.length&&!u){if(l.patch===0&&l.minor===0)return"major";if(compareMainParsed(l,o)===0)return l.minor!==0&&l.patch===0?"minor":"patch"}const p=u?"pre":"";if(i.major!==r.major)return`${p}major`;if(i.minor!==r.minor)return`${p}minor`;if(i.patch!==r.patch)return`${p}patch`;return"prerelease"}function getMajor(t,s={}){return parse(t,s).major}function getMinor(t,s={}){return parse(t,s).minor}function getPatch(t,s={}){return parse(t,s).patch}function getPrerelease(t,s={}){const i=tryParse(t,s);return i?[...i.prerelease||[]]:null}function getBuild(t,s={}){const i=tryParse(t,s);return i?[...i.build||[]]:null}const ae=comparison_CmVirWIW_safeRegex(String.raw`^${B}\s*(${F})$|^$`);const oe=comparison_CmVirWIW_safeRegex(String.raw`^${B}\s*(${M})$|^$`);function set_BGFWKKE8_formatComparator(t){return t.version?`${t.operator}${comparison_CmVirWIW_formatComparableVersion(t.version)}`:""}function set_BGFWKKE8_parseComparator(t,s={}){if(typeof t!=="string")return t;const i=t.trim().replaceAll(/\s+/g," ");const r=i.match(s.loose?oe:ae);if(!r)throw new TypeError(`Invalid comparator: ${i}`);const a=r[1]==="="?"":r[1]||"";const o=r[2]?comparison_CmVirWIW_parse(r[2],s):null;return{operator:a,options:s,value:o?`${a}${comparison_CmVirWIW_formatComparableVersion(o)}`:"",version:o}}function tryParseComparator(t,s={}){try{return typeof t==="string"?set_BGFWKKE8_parseComparator(t,s):t}catch{return null}}function set_BGFWKKE8_testParsedComparator(t,s){if(!t.version)return true;const i=comparison_CmVirWIW_compareParsed(s,t.version);switch(t.operator){case"":return i===0;case">":return i>0;case">=":return i>=0;case"<":return i<0;case"<=":return i<=0}}function testComparatorVersion(t,s){const i=tryParse(s,t.options);return i?set_BGFWKKE8_testParsedComparator(t,i):false}function set_BGFWKKE8_comparatorAllowsPrerelease(t,s){const i=t.version;return i!==null&&!!i.prerelease?.length&&i.major===s.major&&i.minor===s.minor&&i.patch===s.patch}function set_BGFWKKE8_testComparatorSet(t,s,i){if(t.some(t=>!set_BGFWKKE8_testParsedComparator(t,s)))return false;return!s.prerelease?.length||!!i.includePrerelease||t.some(t=>set_BGFWKKE8_comparatorAllowsPrerelease(t,s))}function parsedComparatorsIntersect(t,s,i={}){if(!t.version||!s.version)return true;if(t.operator==="")return set_BGFWKKE8_testComparatorSet([s],t.version,i);if(s.operator==="")return set_BGFWKKE8_testComparatorSet([t],s.version,i);const r=set_BGFWKKE8_formatComparator(t);const a=set_BGFWKKE8_formatComparator(s);if(i.includePrerelease&&(r==="<0.0.0-0"||a==="<0.0.0-0"))return false;if(!i.includePrerelease&&(r.startsWith("<0.0.0")||a.startsWith("<0.0.0")))return false;if(t.operator.startsWith(">")&&s.operator.startsWith(">"))return true;if(t.operator.startsWith("<")&&s.operator.startsWith("<"))return true;const o=comparison_CmVirWIW_compareParsed(t.version,s.version);if(o===0&&t.operator.includes("=")&&s.operator.includes("="))return true;if(o<0&&t.operator.startsWith(">")&&s.operator.startsWith("<"))return true;return o>0&&t.operator.startsWith("<")&&s.operator.startsWith(">")}function formatRange(t){return t.sets.map(t=>t.map(formatComparator).join(" ")).join("||")}const le=new RegExp(L,"g");const ce=comparison_CmVirWIW_safeRegex(L);const ue=comparison_CmVirWIW_safeRegex(String.raw`^\s*(${H})\s+-\s+(${H})\s*$`);const de=comparison_CmVirWIW_safeRegex(String.raw`^\s*(${V})\s+-\s+(${V})\s*$`);const pe=comparison_CmVirWIW_safeRegex(String.raw`(\s*)${B}\s*(${M}|${H})`,"g");const fe=comparison_CmVirWIW_safeRegex(String.raw`(\s*)${K}\s+`,"g");const he=comparison_CmVirWIW_safeRegex(String.raw`(\s*)${G}\s+`,"g");const me=comparison_CmVirWIW_safeRegex(`^${K}${H}$`);const ge=comparison_CmVirWIW_safeRegex(`^${K}${V}$`);const ye=comparison_CmVirWIW_safeRegex(`^${G}${H}$`);const be=comparison_CmVirWIW_safeRegex(`^${G}${V}$`);const ve=comparison_CmVirWIW_safeRegex(String.raw`^${B}\s*${H}$`);const we=comparison_CmVirWIW_safeRegex(String.raw`^${B}\s*${V}$`);const xe=comparison_CmVirWIW_safeRegex(String.raw`(<|>)?=?\s*\*`);const ke=/^\s*>=\s*0\.0\.0\s*$/;const Se=/^\s*>=\s*0\.0\.0-0\s*$/;const Ee=comparison_CmVirWIW_safeRegex(String.raw`^${B}\s*(${M})$|^$`);function isWildcard(t){return!t||String(t).toLowerCase()==="x"||String(t)==="*"}function hasInvalidWildcardOrder(t,s,i){return isWildcard(t)&&!isWildcard(s)||isWildcard(s)&&Boolean(i)&&!isWildcard(i)}function replaceTilde(t,s){const i=s.loose?ge:me;const r=s.includePrerelease?"-0":"";return t.replace(i,(t,s,i,a,o)=>{if(isWildcard(s))return"";if(isWildcard(i))return`>=${s}.0.0${r} <${Number(s)+1}.0.0-0`;if(isWildcard(a))return`>=${s}.${i}.0${r} <${s}.${Number(i)+1}.0-0`;return o?`>=${s}.${i}.${a}-${o} <${s}.${Number(i)+1}.0-0`:`>=${s}.${i}.${a} <${s}.${Number(i)+1}.0-0`})}function replaceTildes(t,s){return t.trim().split(/\s+/).map(t=>replaceTilde(t,s)).join(" ")}function replaceCaret(t,s){const i=s.loose?be:ye;const r=s.includePrerelease?"-0":"";return t.replace(i,(t,s,i,a,o)=>{if(isWildcard(s))return"";if(isWildcard(i))return`>=${s}.0.0${r} <${Number(s)+1}.0.0-0`;if(isWildcard(a))return s==="0"?`>=${s}.${i}.0${r} <${s}.${Number(i)+1}.0-0`:`>=${s}.${i}.0${r} <${Number(s)+1}.0.0-0`;if(o)return s==="0"?i==="0"?`>=${s}.${i}.${a}-${o} <${s}.${i}.${Number(a)+1}-0`:`>=${s}.${i}.${a}-${o} <${s}.${Number(i)+1}.0-0`:`>=${s}.${i}.${a}-${o} <${Number(s)+1}.0.0-0`;return s==="0"?i==="0"?`>=${s}.${i}.${a} <${s}.${i}.${Number(a)+1}-0`:`>=${s}.${i}.${a} <${s}.${Number(i)+1}.0-0`:`>=${s}.${i}.${a} <${Number(s)+1}.0.0-0`})}function replaceCarets(t,s){return t.trim().split(/\s+/).map(t=>replaceCaret(t,s)).join(" ")}function replaceXRange(t,s){const i=s.loose?we:ve;return t.trim().replace(i,(i,r,a,o,l)=>{let u=r;let p=a;let f=o;let h=l;if(hasInvalidWildcardOrder(String(p),f===void 0?void 0:String(f),h===void 0?void 0:String(h)))return t;const m=isWildcard(p);const g=m||isWildcard(f);const x=g||isWildcard(h);if(u==="="&&x)u="";if(m)return u===">"||u==="<"?"<0.0.0-0":"*";let k=s.includePrerelease?"-0":"";if(u&&x){if(g)f=0;h=0;if(u===">"){u=">=";if(g){p=Number(p)+1;f=0}else f=Number(f)+1}else if(u==="<="){u="<";if(g)p=Number(p)+1;else f=Number(f)+1}if(u==="<")k="-0";return`${u}${p}.${f}.${h}${k}`}if(g)return`>=${p}.0.0${k} <${Number(p)+1}.0.0-0`;if(x)return`>=${p}.${f}.0${k} <${p}.${Number(f)+1}.0-0`;return i})}function replaceXRanges(t,s){return t.split(/\s+/).map(t=>replaceXRange(t,s)).join(" ")}function replaceHyphenRange(t,s){const i=s.loose?de:ue;return t.replace(i,(t,i,r,a,o,l,u,p,f,h,m,g)=>{let x=i;let k=p;if(isWildcard(r))x="";else if(isWildcard(a))x=`>=${r}.0.0${s.includePrerelease?"-0":""}`;else if(isWildcard(o))x=`>=${r}.${a}.0${s.includePrerelease?"-0":""}`;else if(l)x=`>=${x}`;else x=`>=${x}${s.includePrerelease?"-0":""}`;if(isWildcard(f))k="";else if(isWildcard(h))k=`<${Number(f)+1}.0.0-0`;else if(isWildcard(m))k=`<${f}.${Number(h)+1}.0-0`;else if(g)k=`<=${f}.${h}.${m}-${g}`;else if(s.includePrerelease)k=`<${f}.${h}.${Number(m)+1}-0`;else k=`<=${k}`;return`${x} ${k}`.trim()})}function expandComparator(t,s){return replaceXRanges(replaceTildes(replaceCarets(t.replace(ce,""),s),s),s).trim().replace(xe,"")}function parseSimpleRange(t,s){let i=replaceHyphenRange(t.replace(le,""),s).replace(pe,"$1$2$3").replace(fe,"$1~").replace(he,"$1^").split(" ").map(t=>expandComparator(t,s)).join(" ").split(/\s+/).map(t=>t.trim().replace(s.includePrerelease?Se:ke,""));if(s.loose)i=i.filter(t=>Ee.test(t));const r=new Map;for(const t of i.map(t=>set_BGFWKKE8_parseComparator(t,s))){if(t.value==="<0.0.0-0")return[t];r.set(t.value,t)}if(r.size>1)r.delete("");return[...r.values()]}function parseRange(t,s={}){if(typeof t!=="string")return t;const i={...s};const r=t.trim().replaceAll(/\s+/g," ");let a=r.split("||").map(t=>parseSimpleRange(t.trim(),i)).filter(t=>t.length);if(!a.length)throw new TypeError(`Range contains no valid comparator sets: ${r}`);if(a.length>1){const t=a[0];a=a.filter(t=>t[0]?.value!=="<0.0.0-0");if(!a.length)a=[t];else if(a.length>1){const t=a.find(t=>t.length===1&&t[0]?.value==="");if(t)a=[t]}}return{options:i,sets:a}}function tryParseRange(t,s={}){try{return parseRange(t,s)}catch{return null}}function testParsedRange(t,s){return t.sets.some(i=>set_BGFWKKE8_testComparatorSet(i,s,t.options))}function testRangeVersion(t,s){const i=comparison_CmVirWIW_tryParse(s,t.options);return i?testParsedRange(t,i):false}function exactVersion(t){for(const s of t)if(s.operator===""&&s.version)return s.version;return null}function isSatisfiable(t,s){const i=exactVersion(t);if(i)return set_BGFWKKE8_testComparatorSet(t,i,s);const r=[...t];let a=r.pop();while(a&&r.length){if(r.some(t=>!parsedComparatorsIntersect(a,t,s)))return false;a=r.pop()}return true}function setsIntersect(t,s,i){const r=exactVersion(t);if(r)return set_BGFWKKE8_testComparatorSet(s,r,i);const a=exactVersion(s);if(a)return set_BGFWKKE8_testComparatorSet(t,a,i);return t.every(t=>s.every(s=>parsedComparatorsIntersect(t,s,i)))}function parsedRangesIntersect(t,s,i={}){return t.sets.some(t=>isSatisfiable(t,i)&&s.sets.some(s=>isSatisfiable(s,i)&&setsIntersect(t,s,i)))}function isValidRange(t,s={}){return tryParseRange(t,s)!==null}function normalizeRange(t,s={}){const i=tryParseRange(t,s);return i?formatRange(i)||"*":null}function satisfies(t,s,i={}){const r=tryParseRange(s,i);return r?testRangeVersion(r,t):false}function rangeToComparators(t,s={}){return parseRange(t,s).sets.map(t=>t.map(formatComparator).join(" ").trim().split(" "))}function findMaxSatisfying(t,s,i={}){const r=tryParseRange(s,i);if(!r)return null;let a=null;let o=null;for(const s of t){const t=tryParse(s,r.options);if(!t||!testParsedRange(r,t))continue;if(!o||compareParsed(o,t)<0){a=s;o=t}}return a}function findMinSatisfying(t,s,i={}){const r=tryParseRange(s,i);if(!r)return null;let a=null;let o=null;for(const s of t){const t=tryParse(s,r.options);if(!t||!testParsedRange(r,t))continue;if(!o||compareParsed(o,t)>0){a=s;o=t}}return a}function nextVersionAfter(t){const{prerelease:s}=t;return s?.length?{major:t.major,minor:t.minor,patch:t.patch,prerelease:[...s,0]}:{major:t.major,minor:t.minor,patch:t.patch+1}}function findMinimumForRange(t,s={}){const i=parseRange(t,s);const r={major:0,minor:0,patch:0};if(testParsedRange(i,r))return r;const a={...r,prerelease:[0]};if(testParsedRange(i,a))return a;let o=null;for(const t of i.sets){let s=null;for(const i of t){if(!i.version)continue;const t=i.operator===">"?nextVersionAfter(i.version):i.operator===""||i.operator===">="?structuredClone(i.version):null;if(t&&(!s||compareParsed(t,s)>0))s=t}if(s&&(!o||compareParsed(o,s)>0))o=s}return o&&testParsedRange(i,o)?o:null}function compareInDirection(t,s,i){const r=compareParsed(t,s);return i===">"?r>0:r<0}function compareOppositeOrEqual(t,s,i){const r=compareParsed(t,s);return i===">"?r<=0:r>=0}function compareOpposite(t,s,i){const r=compareParsed(t,s);return i===">"?r<0:r>0}function isOutsideRange(t,s,i,r={}){if(i!==">"&&i!=="<")throw new TypeError('Must provide a direction of "<" or ">"');const a=parseRange(s,r);const o=parse(t,a.options);if(testParsedRange(a,o))return false;const l=i===">"?">=":"<=";for(const t of a.sets){const s=t.map(t=>t.version?t:parseComparator(">=0.0.0"));let r=s[0];let a=s[0];for(const t of s)if(compareInDirection(t.version,r.version,i))r=t;else if(compareOpposite(t.version,a.version,i))a=t;if(r.operator===i||r.operator===l)return false;if((!a.operator||a.operator===i)&&compareOppositeOrEqual(o,a.version,i))return false;if(a.operator===l&&compareOpposite(o,a.version,i))return false}return true}function isGreaterThanRange(t,s,i={}){return isOutsideRange(t,s,">",i)}function isLessThanRange(t,s,i={}){return isOutsideRange(t,s,"<",i)}function rangesIntersect(t,s,i={}){const r=parseRange(t,i);const a=parseRange(s,i);return parsedRangesIntersect(r,a,{...r.options,...a.options,...i})}function simplifyRange(t,s,i={}){const r=parseRange(s,i);const a=sort(t,r.options);const o=[];let l=null;let u=null;for(const t of a)if(testRangeVersion(r,t)){u=t;l??=t}else if(u){o.push([l,u]);l=null;u=null}if(l)o.push([l,null]);const p=o.map(([t,s])=>{const i=formatComparableVersion(parse(t,r.options));const o=s?formatComparableVersion(parse(s,r.options)):null;if(i===o)return i;if(!s&&t===a[0])return"*";if(!o)return`>=${i}`;if(t===a[0])return`<=${o}`;return`${i} - ${o}`}).join(" || ");const f=typeof s==="string"?s:formatRange(r)||"*";return p.length<f.length?p:f}function higherLowerBound(t,s){if(!t)return s;const i=compareParsed(t.version,s.version);return i>0?t:i<0||s.operator===">"&&t.operator===">="?s:t}function lowerUpperBound(t,s){if(!t)return s;const i=compareParsed(t.version,s.version);return i<0?t:i>0||s.operator==="<"&&t.operator==="<="?s:t}function simpleRangeSubset(t,s,i){let r=t;let a=s;const o=r.length===1&&!r[0].version;const l=a.length===1&&!a[0].version;if(o){if(l)return true;r=[parseComparator(i.includePrerelease?">=0.0.0-0":">=0.0.0")]}if(l){if(i.includePrerelease)return true;a=[parseComparator(">=0.0.0")]}const u=new Map;let p;let f;for(const t of r)if(t.operator===">"||t.operator===">=")p=higherLowerBound(p,t);else if(t.operator==="<"||t.operator==="<=")f=lowerUpperBound(f,t);else if(t.version)u.set(formatComparableVersion(t.version),t.version);if(u.size>1)return null;let h;if(p&&f){h=compareParsed(p.version,f.version);if(h>0)return null;if(h===0&&(p.operator!==">="||f.operator!=="<="))return null}for(const t of u.values()){if(p&&!testParsedComparator(p,t))return null;if(f&&!testParsedComparator(f,t))return null;return testComparatorSet(a,t,i)}let m=p&&!i.includePrerelease&&p.version.prerelease?.length?p.version:null;let g=f&&!i.includePrerelease&&f.version.prerelease?.length?f.version:null;const x=g?.prerelease;if(x?.length===1&&f?.operator==="<"&&x[0]===0)g=null;let k=false;let _=false;for(const t of a){k||=t.operator===">"||t.operator===">=";_||=t.operator==="<"||t.operator==="<=";if(p){if(m&&comparatorAllowsPrerelease(t,m))m=null;if(t.operator===">"||t.operator===">="){const s=higherLowerBound(p,t);if(s===t&&s!==p)return false}else if(p.operator===">="&&!testParsedComparator(t,p.version))return false}if(f){if(g&&comparatorAllowsPrerelease(t,g))g=null;if(t.operator==="<"||t.operator==="<="){const s=lowerUpperBound(f,t);if(s===t&&s!==f)return false}else if(f.operator==="<="&&!testParsedComparator(t,f.version))return false}if(t.operator===""&&(p||f)&&h!==0)return false}if(p&&_&&!f&&h!==0)return false;if(f&&k&&!p&&h!==0)return false;return!m&&!g}function isRangeSubset(t,s,i={}){if(t===s)return true;const r=parseRange(t,i);const a=parseRange(s,i);const o={...r.options,...a.options,...i};let l=false;for(const t of r.sets){let s=false;for(const i of a.sets){const r=simpleRangeSubset(t,i,o);l||=r!==null;if(r){s=true;break}}if(!s&&l)return false}return true}var _e=r(24087);var Te=r(76760);var Ce=r(9621);const Ae=Ce(function*(t){return yield*t});const Ie=Ce({sync:()=>false,errback:t=>t(null,true)});function maybeAsync(t,s){return Ce({sync(...i){const r=t.apply(this,i);if(isThenable(r))throw new Error(s);return r},async(...s){return Promise.resolve(t.apply(this,s))}})}const Pe=Ce({sync:t=>t("sync"),async:async t=>t("async")});function forwardAsync(t,s){const i=Ce(t);return Pe(t=>{const r=i[t];return s(r)})}const $e=Ce({name:"onFirstPause",arity:2,sync:function(t){return Ae.sync(t)},errback:function(t,s,i){let r=false;Ae.errback(t,(t,s)=>{r=true;i(t,s)});if(!r){s()}}});const Oe=Ce({sync:t=>t,async:async t=>t});function isThenable(t){return!!t&&(typeof t==="object"||typeof t==="function")&&!!t.then&&typeof t.then==="function"}function mergeOptions(t,s){for(const i of Object.keys(s)){if((i==="parserOpts"||i==="generatorOpts"||i==="assumptions")&&s[i]){const r=s[i];const a=t[i]||(t[i]={});mergeDefaultFields(a,r)}else{const r=s[i];if(r!==undefined)t[i]=r}}}function mergeDefaultFields(t,s){for(const i of Object.keys(s)){const r=s[i];if(r!==undefined)t[i]=r}}function isIterableIterator(t){return!!t&&typeof t.next==="function"&&typeof t[Symbol.iterator]==="function"}const synchronize=t=>Ce(t).sync;function*genTrue(){return true}function makeWeakCache(t){return makeCachedFunction(WeakMap,t)}function makeWeakCacheSync(t){return synchronize(makeWeakCache(t))}function makeStrongCache(t){return makeCachedFunction(Map,t)}function makeStrongCacheSync(t){return synchronize(makeStrongCache(t))}function makeCachedFunction(t,s){const i=new t;const r=new t;const a=new t;return function*cachedFunction(t,o=undefined){const l=yield*Ie();const u=l?r:i;const p=yield*getCachedValueOrWait(l,u,a,t,o);if(p.valid)return p.value;const f=new CacheConfigurator(o);const h=s(t,f);let m;let g;if(isIterableIterator(h)){g=yield*$e(h,()=>{m=setupAsyncLocks(f,a,t)})}else{g=h}updateFunctionCache(u,f,t,g);if(m){a.delete(t);m.release(g)}return g}}function*getCachedValue(t,s,i){const r=t.get(s);if(r){for(const{value:t,valid:s}of r){if(yield*s(i))return{valid:true,value:t}}}return{valid:false,value:null}}function*getCachedValueOrWait(t,s,i,r,a){const o=yield*getCachedValue(s,r,a);if(o.valid){return o}if(t){const t=yield*getCachedValue(i,r,a);if(t.valid){const s=yield*Oe(t.value.promise);return{valid:true,value:s}}}return{valid:false,value:null}}function setupAsyncLocks(t,s,i){const r=new Lock;updateFunctionCache(s,t,i,r);return r}function updateFunctionCache(t,s,i,r){if(!s.configured())s.forever();let a=t.get(i);s.deactivate();switch(s.mode()){case"forever":a=[{value:r,valid:genTrue}];t.set(i,a);break;case"invalidate":a=[{value:r,valid:s.validator()}];t.set(i,a);break;case"valid":if(a){a.push({value:r,valid:s.validator()})}else{a=[{value:r,valid:s.validator()}];t.set(i,a)}}}class CacheConfigurator{_active=true;_never=false;_forever=false;_invalidate=false;_configured=false;_pairs=[];_data;constructor(t){this._data=t}simple(){return makeSimpleConfigurator(this)}mode(){if(this._never)return"never";if(this._forever)return"forever";if(this._invalidate)return"invalidate";return"valid"}forever(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never){throw new Error("Caching has already been configured with .never()")}this._forever=true;this._configured=true}never(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._forever){throw new Error("Caching has already been configured with .forever()")}this._never=true;this._configured=true}using(t){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never||this._forever){throw new Error("Caching has already been configured with .never or .forever()")}this._configured=true;const s=t(this._data);const i=maybeAsync(t,`You appear to be using an async cache handler, but Babel has been called synchronously`);if(isThenable(s)){return s.then(t=>{this._pairs.push([t,i]);return t})}this._pairs.push([s,i]);return s}invalidate(t){this._invalidate=true;return this.using(t)}validator(){const t=this._pairs;return function*(s){for(const[i,r]of t){if(i!==(yield*r(s)))return false}return true}}deactivate(){this._active=false}configured(){return this._configured}}function makeSimpleConfigurator(t){function cacheFn(s){if(typeof s==="boolean"){if(s)t.forever();else t.never();return}return t.using(()=>assertSimpleType(s()))}cacheFn.forever=()=>t.forever();cacheFn.never=()=>t.never();cacheFn.using=s=>t.using(()=>assertSimpleType(s()));cacheFn.invalidate=s=>t.invalidate(()=>assertSimpleType(s()));return cacheFn}function assertSimpleType(t){if(isThenable(t)){throw new Error(`You appear to be using an async cache handler, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously handle your caching logic.`)}if(t!=null&&typeof t!=="string"&&typeof t!=="boolean"&&typeof t!=="number"){throw new Error("Cache keys must be either string, boolean, number, null, or undefined.")}return t}class Lock{released=false;promise;_resolve;constructor(){this.promise=new Promise(t=>{this._resolve=t})}release(t){this.released=true;this._resolve(t)}}var De=r(73024);const Ne=Ce({sync:De.readFileSync,errback:De.readFile});const je=Ce({sync:De.statSync,errback:De.stat});var Re=r(77222);var Le=r(84841);var Fe=r(73136);var Me=r(98995);const Be=Function.call.bind(Error.prototype.toString);const qe=!!Error.captureStackTrace&&Object.getOwnPropertyDescriptor(Error,"stackTraceLimit")?.writable===true;const We="startHiding - secret - don't use this - v1";const Ue="stopHiding - secret - don't use this - v1";const ze=new WeakSet;const He=new WeakMap;function CallSite(t){return Object.create({isNative:()=>false,isConstructor:()=>false,isToplevel:()=>true,getFileName:()=>t,getLineNumber:()=>undefined,getColumnNumber:()=>undefined,getFunctionName:()=>undefined,getMethodName:()=>undefined,getTypeName:()=>undefined,toString:()=>t})}function injectVirtualStackFrame(t,s){if(!qe)return;let i=He.get(t);if(!i)He.set(t,i=[]);i.push(CallSite(s));return t}function expectedError(t){if(!qe)return;ze.add(t);return t}function beginHiddenCallStack(t){if(!qe)return t;return Object.defineProperty(function(...s){setupPrepareStackTrace();return t(...s)},"name",{value:Ue})}function endHiddenCallStack(t){if(!qe)return t;return Object.defineProperty(function(...s){return t(...s)},"name",{value:We})}function setupPrepareStackTrace(){setupPrepareStackTrace=()=>{};const{prepareStackTrace:t=defaultPrepareStackTrace}=Error;const s=50;Error.stackTraceLimit&&=Math.max(Error.stackTraceLimit,s);Error.prepareStackTrace=function stackTraceRewriter(s,i){let r=[];const a=ze.has(s);let o=a?"hiding":"unknown";for(let t=0;t<i.length;t++){const a=i[t].getFunctionName();if(a===We){o="hiding"}else if(a===Ue){if(o==="hiding"){o="showing";if(He.has(s)){r.unshift(...He.get(s))}}else if(o==="unknown"){r=i;break}}else if(o!=="hiding"){r.push(i[t])}}return t(s,r)}}function defaultPrepareStackTrace(t,s){if(s.length===0)return Be(t);return`${Be(t)}\n at ${s.join("\n at ")}`}var Ve=r(34589);const Ke=t(import.meta.url)("node:process");var Ge=r(78877);var Je=r(57975);const Xe={}.hasOwnProperty;const Ye=/^([A-Z][a-z\d]*)+$/;const Qe=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]);const Ze={};function formatList(t,s="and"){return t.length<3?t.join(` ${s} `):`${t.slice(0,-1).join(", ")}, ${s} ${t[t.length-1]}`}const et=new Map;const tt="__node_internal_";let nt;Ze.ERR_INVALID_ARG_TYPE=createError("ERR_INVALID_ARG_TYPE",(t,s,i)=>{Ve.ok(typeof t==="string","'name' must be a string");if(!Array.isArray(s)){s=[s]}let r="The ";if(t.endsWith(" argument")){r+=`${t} `}else{const s=t.includes(".")?"property":"argument";r+=`"${t}" ${s} `}r+="must be ";const a=[];const o=[];const l=[];for(const t of s){Ve.ok(typeof t==="string","All expected entries have to be of type string");if(Qe.has(t)){a.push(t.toLowerCase())}else if(Ye.exec(t)===null){Ve.ok(t!=="object",'The value "object" should be written as "Object"');l.push(t)}else{o.push(t)}}if(o.length>0){const t=a.indexOf("object");if(t!==-1){a.slice(t,1);o.push("Object")}}if(a.length>0){r+=`${a.length>1?"one of type":"of type"} ${formatList(a,"or")}`;if(o.length>0||l.length>0)r+=" or "}if(o.length>0){r+=`an instance of ${formatList(o,"or")}`;if(l.length>0)r+=" or "}if(l.length>0){if(l.length>1){r+=`one of ${formatList(l,"or")}`}else{if(l[0].toLowerCase()!==l[0])r+="an ";r+=`${l[0]}`}}r+=`. Received ${determineSpecificType(i)}`;return r},TypeError);Ze.ERR_INVALID_MODULE_SPECIFIER=createError("ERR_INVALID_MODULE_SPECIFIER",(t,s,i=undefined)=>`Invalid module "${t}" ${s}${i?` imported from ${i}`:""}`,TypeError);Ze.ERR_INVALID_PACKAGE_CONFIG=createError("ERR_INVALID_PACKAGE_CONFIG",(t,s,i)=>`Invalid package config ${t}${s?` while importing ${s}`:""}${i?`. ${i}`:""}`,Error);Ze.ERR_INVALID_PACKAGE_TARGET=createError("ERR_INVALID_PACKAGE_TARGET",(t,s,i,r=false,a=undefined)=>{const o=typeof i==="string"&&!r&&i.length>0&&!i.startsWith("./");if(s==="."){Ve.ok(r===false);return`Invalid "exports" main target ${JSON.stringify(i)} defined `+`in the package config ${t}package.json${a?` imported from ${a}`:""}${o?'; targets must start with "./"':""}`}return`Invalid "${r?"imports":"exports"}" target ${JSON.stringify(i)} defined for '${s}' in the package config ${t}package.json${a?` imported from ${a}`:""}${o?'; targets must start with "./"':""}`},Error);Ze.ERR_MODULE_NOT_FOUND=createError("ERR_MODULE_NOT_FOUND",(t,s,i=false)=>`Cannot find ${i?"module":"package"} '${t}' imported from ${s}`,Error);Ze.ERR_NETWORK_IMPORT_DISALLOWED=createError("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error);Ze.ERR_PACKAGE_IMPORT_NOT_DEFINED=createError("ERR_PACKAGE_IMPORT_NOT_DEFINED",(t,s,i)=>`Package import specifier "${t}" is not defined${s?` in package ${s}package.json`:""} imported from ${i}`,TypeError);Ze.ERR_PACKAGE_PATH_NOT_EXPORTED=createError("ERR_PACKAGE_PATH_NOT_EXPORTED",(t,s,i=undefined)=>{if(s===".")return`No "exports" main defined in ${t}package.json${i?` imported from ${i}`:""}`;return`Package subpath '${s}' is not defined by "exports" in ${t}package.json${i?` imported from ${i}`:""}`},Error);Ze.ERR_UNSUPPORTED_DIR_IMPORT=createError("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported "+"resolving ES modules imported from %s",Error);Ze.ERR_UNSUPPORTED_RESOLVE_REQUEST=createError("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError);Ze.ERR_UNKNOWN_FILE_EXTENSION=createError("ERR_UNKNOWN_FILE_EXTENSION",(t,s)=>`Unknown file extension "${t}" for ${s}`,TypeError);Ze.ERR_INVALID_ARG_VALUE=createError("ERR_INVALID_ARG_VALUE",(t,s,i="is invalid")=>{let r=(0,Je.inspect)(s);if(r.length>128){r=`${r.slice(0,128)}...`}const a=t.includes(".")?"property":"argument";return`The ${a} '${t}' ${i}. Received ${r}`},TypeError);function createError(t,s,i){et.set(t,s);return makeNodeErrorWithCode(i,t)}function makeNodeErrorWithCode(t,s){return NodeError;function NodeError(...i){const r=Error.stackTraceLimit;if(isErrorStackTraceLimitWritable())Error.stackTraceLimit=0;const a=new t;if(isErrorStackTraceLimitWritable())Error.stackTraceLimit=r;const o=getMessage(s,i,a);Object.defineProperties(a,{message:{value:o,enumerable:false,writable:true,configurable:true},toString:{value(){return`${this.name} [${s}]: ${this.message}`},enumerable:false,writable:true,configurable:true}});st(a);a.code=s;return a}}function isErrorStackTraceLimitWritable(){try{if(Ge.startupSnapshot.isBuildingSnapshot()){return false}}catch{}const t=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");if(t===undefined){return Object.isExtensible(Error)}return Xe.call(t,"writable")&&t.writable!==undefined?t.writable:t.set!==undefined}function hideStackFrames(t){const s=tt+t.name;Object.defineProperty(t,"name",{value:s});return t}const st=hideStackFrames(function(t){const s=isErrorStackTraceLimitWritable();if(s){nt=Error.stackTraceLimit;Error.stackTraceLimit=Number.POSITIVE_INFINITY}Error.captureStackTrace(t);if(s)Error.stackTraceLimit=nt;return t});function getMessage(t,s,i){const r=et.get(t);Ve.ok(r!==undefined,"expected `message` to be found");if(typeof r==="function"){Ve.ok(r.length<=s.length,`Code: ${t}; The provided arguments length (${s.length}) does not `+`match the required ones (${r.length}).`);return Reflect.apply(r,i,s)}const a=/%[dfijoOs]/g;let o=0;while(a.exec(r)!==null)o++;Ve.ok(o===s.length,`Code: ${t}; The provided arguments length (${s.length}) does not `+`match the required ones (${o}).`);if(s.length===0)return r;s.unshift(r);return Reflect.apply(Je.format,null,s)}function determineSpecificType(t){if(t===null||t===undefined){return String(t)}if(typeof t==="function"&&t.name){return`function ${t.name}`}if(typeof t==="object"){if(t.constructor&&t.constructor.name){return`an instance of ${t.constructor.name}`}return`${(0,Je.inspect)(t,{depth:-1})}`}let s=(0,Je.inspect)(t,{colors:false});if(s.length>28){s=`${s.slice(0,25)}...`}return`type ${typeof t} (${s})`}const it={}.hasOwnProperty;const{ERR_INVALID_PACKAGE_CONFIG:rt}=Ze;const at=new Map;function read(t,{base:s,specifier:i}){const r=at.get(t);if(r){return r}let a;try{a=De.readFileSync(Te.toNamespacedPath(t),"utf8")}catch(t){const s=t;if(s.code!=="ENOENT"){throw s}}const o={exists:false,pjsonPath:t,main:undefined,name:undefined,type:"none",exports:undefined,imports:undefined};if(a!==undefined){let r;try{r=JSON.parse(a)}catch(r){const a=r;const o=new rt(t,(s?`"${i}" from `:"")+(0,Fe.fileURLToPath)(s||i),a.message);o.cause=a;throw o}o.exists=true;if(it.call(r,"name")&&typeof r.name==="string"){o.name=r.name}if(it.call(r,"main")&&typeof r.main==="string"){o.main=r.main}if(it.call(r,"exports")){o.exports=r.exports}if(it.call(r,"imports")){o.imports=r.imports}if(it.call(r,"type")&&(r.type==="commonjs"||r.type==="module")){o.type=r.type}}at.set(t,o);return o}function getPackageScopeConfig(t){let s=new URL("package.json",t);while(true){const i=s.pathname;if(i.endsWith("node_modules/package.json")){break}const r=read((0,Fe.fileURLToPath)(s),{specifier:t});if(r.exists){return r}const a=s;s=new URL("../package.json",s);if(s.pathname===a.pathname){break}}const i=(0,Fe.fileURLToPath)(s);return{pjsonPath:i,exists:false,type:"none"}}function getPackageType(t){return getPackageScopeConfig(t).type}const{ERR_UNKNOWN_FILE_EXTENSION:ot}=Ze;const lt={}.hasOwnProperty;const ct={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"};function mimeToFormat(t){if(t&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(t))return"module";if(t==="application/json")return"json";return null}const ut={__proto__:null,"data:":getDataProtocolModuleFormat,"file:":getFileProtocolModuleFormat,"http:":getHttpProtocolModuleFormat,"https:":getHttpProtocolModuleFormat,"node:"(){return"builtin"}};function getDataProtocolModuleFormat(t){const{1:s}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(t.pathname)||[null,null,null];return mimeToFormat(s)}function extname(t){const s=t.pathname;let i=s.length;while(i--){const t=s.codePointAt(i);if(t===47){return""}if(t===46){return s.codePointAt(i-1)===47?"":s.slice(i)}}return""}function getFileProtocolModuleFormat(t,s,i){const r=extname(t);if(r===".js"){const s=getPackageType(t);if(s!=="none"){return s}return"commonjs"}if(r===""){const s=getPackageType(t);if(s==="none"||s==="commonjs"){return"commonjs"}return"module"}const a=ct[r];if(a)return a;if(i){return undefined}const o=(0,Fe.fileURLToPath)(t);throw new ot(r,o)}function getHttpProtocolModuleFormat(){}function defaultGetFormatWithoutErrors(t,s){const i=t.protocol;if(!lt.call(ut,i)){return null}return ut[i](t,s,true)||null}const{ERR_INVALID_ARG_VALUE:dt}=Ze;const pt=Object.freeze(["node","import"]);const ft=new Set(pt);function getDefaultConditions(){return pt}function getDefaultConditionsSet(){return ft}function getConditionsSet(t){if(t!==undefined&&t!==getDefaultConditions()){if(!Array.isArray(t)){throw new dt("conditions",t,"expected an array")}return new Set(t)}return getDefaultConditionsSet()}const ht=RegExp.prototype[Symbol.replace];const{ERR_NETWORK_IMPORT_DISALLOWED:mt,ERR_INVALID_MODULE_SPECIFIER:gt,ERR_INVALID_PACKAGE_CONFIG:yt,ERR_INVALID_PACKAGE_TARGET:bt,ERR_MODULE_NOT_FOUND:vt,ERR_PACKAGE_IMPORT_NOT_DEFINED:wt,ERR_PACKAGE_PATH_NOT_EXPORTED:xt,ERR_UNSUPPORTED_DIR_IMPORT:kt,ERR_UNSUPPORTED_RESOLVE_REQUEST:St}=Ze;const Et={}.hasOwnProperty;const _t=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i;const Tt=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i;const Ct=/^\.|%|\\/;const At=/\*/g;const It=/%2f|%5c/i;const Pt=new Set;const $t=/[/\\]{2}/;function emitInvalidSegmentDeprecation(t,s,i,r,a,o,l){if(Ke.noDeprecation){return}const u=(0,Fe.fileURLToPath)(r);const p=$t.exec(l?t:s)!==null;Ke.emitWarning(`Use of deprecated ${p?"double slash":"leading or trailing slash matching"} resolving "${t}" for module `+`request "${s}" ${s===i?"":`matched to "${i}" `}in the "${a?"imports":"exports"}" field module resolution of the package at ${u}${o?` imported from ${(0,Fe.fileURLToPath)(o)}`:""}.`,"DeprecationWarning","DEP0166")}function emitLegacyIndexDeprecation(t,s,i,r){if(Ke.noDeprecation){return}const a=defaultGetFormatWithoutErrors(t,{parentURL:i.href});if(a!=="module")return;const o=(0,Fe.fileURLToPath)(t.href);const l=(0,Fe.fileURLToPath)(new URL(".",s));const u=(0,Fe.fileURLToPath)(i);if(!r){Ke.emitWarning(`No "main" or "exports" field defined in the package.json for ${l} resolving the main entry point "${o.slice(l.length)}", imported from ${u}.\nDefault "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}else if(Te.resolve(l,r)!==o){Ke.emitWarning(`Package ${l} has a "main" field set to "${r}", `+`excluding the full filename and extension to the resolved file at "${o.slice(l.length)}", imported from ${u}.\n Automatic extension resolution of the "main" field is `+"deprecated for ES modules.","DeprecationWarning","DEP0151")}}function tryStatSync(t){try{return(0,De.statSync)(t)}catch{}}function fileExists(t){const s=(0,De.statSync)(t,{throwIfNoEntry:false});const i=s?s.isFile():undefined;return i===null||i===undefined?false:i}function legacyMainResolve(t,s,i){let r;if(s.main!==undefined){r=new URL(s.main,t);if(fileExists(r))return r;const a=[`./${s.main}.js`,`./${s.main}.json`,`./${s.main}.node`,`./${s.main}/index.js`,`./${s.main}/index.json`,`./${s.main}/index.node`];let o=-1;while(++o<a.length){r=new URL(a[o],t);if(fileExists(r))break;r=undefined}if(r){emitLegacyIndexDeprecation(r,t,i,s.main);return r}}const a=["./index.js","./index.json","./index.node"];let o=-1;while(++o<a.length){r=new URL(a[o],t);if(fileExists(r))break;r=undefined}if(r){emitLegacyIndexDeprecation(r,t,i,s.main);return r}throw new vt((0,Fe.fileURLToPath)(new URL(".",t)),(0,Fe.fileURLToPath)(i))}function finalizeResolution(t,s,i){if(It.exec(t.pathname)!==null){throw new gt(t.pathname,'must not include encoded "/" or "\\" characters',(0,Fe.fileURLToPath)(s))}let r;try{r=(0,Fe.fileURLToPath)(t)}catch(i){const r=i;Object.defineProperty(r,"input",{value:String(t)});Object.defineProperty(r,"module",{value:String(s)});throw r}const a=tryStatSync(r.endsWith("/")?r.slice(-1):r);if(a&&a.isDirectory()){const i=new kt(r,(0,Fe.fileURLToPath)(s));i.url=String(t);throw i}if(!a||!a.isFile()){const i=new vt(r||t.pathname,s&&(0,Fe.fileURLToPath)(s),true);i.url=String(t);throw i}if(!i){const s=(0,De.realpathSync)(r);const{search:i,hash:a}=t;t=(0,Fe.pathToFileURL)(s+(r.endsWith(Te.sep)?"/":""));t.search=i;t.hash=a}return t}function importNotDefined(t,s,i){return new wt(t,s&&(0,Fe.fileURLToPath)(new URL(".",s)),(0,Fe.fileURLToPath)(i))}function exportsNotFound(t,s,i){return new xt((0,Fe.fileURLToPath)(new URL(".",s)),t,i&&(0,Fe.fileURLToPath)(i))}function throwInvalidSubpath(t,s,i,r,a){const o=`request is not a valid match in pattern "${s}" for the "${r?"imports":"exports"}" resolution of ${(0,Fe.fileURLToPath)(i)}`;throw new gt(t,o,a&&(0,Fe.fileURLToPath)(a))}function invalidPackageTarget(t,s,i,r,a){s=typeof s==="object"&&s!==null?JSON.stringify(s,null,""):`${s}`;return new bt((0,Fe.fileURLToPath)(new URL(".",i)),t,s,r,a&&(0,Fe.fileURLToPath)(a))}function resolvePackageTargetString(t,s,i,r,a,o,l,u,p){if(s!==""&&!o&&t[t.length-1]!=="/")throw invalidPackageTarget(i,t,r,l,a);if(!t.startsWith("./")){if(l&&!t.startsWith("../")&&!t.startsWith("/")){let i=false;try{new URL(t);i=true}catch{}if(!i){const i=o?ht.call(At,t,()=>s):t+s;return packageResolve(i,r,p)}}throw invalidPackageTarget(i,t,r,l,a)}if(_t.exec(t.slice(2))!==null){if(Tt.exec(t.slice(2))===null){if(!u){const u=o?i.replace("*",()=>s):i+s;const p=o?ht.call(At,t,()=>s):t;emitInvalidSegmentDeprecation(p,u,i,r,l,a,true)}}else{throw invalidPackageTarget(i,t,r,l,a)}}const f=new URL(t,r);const h=f.pathname;const m=new URL(".",r).pathname;if(!h.startsWith(m))throw invalidPackageTarget(i,t,r,l,a);if(s==="")return f;if(_t.exec(s)!==null){const p=o?i.replace("*",()=>s):i+s;if(Tt.exec(s)===null){if(!u){const u=o?ht.call(At,t,()=>s):t;emitInvalidSegmentDeprecation(u,p,i,r,l,a,false)}}else{throwInvalidSubpath(p,i,r,l,a)}}if(o){return new URL(ht.call(At,f.href,()=>s))}return new URL(s,f)}function isArrayIndex(t){const s=Number(t);if(`${s}`!==t)return false;return s>=0&&s<4294967295}function resolvePackageTarget(t,s,i,r,a,o,l,u,p){if(typeof s==="string"){return resolvePackageTargetString(s,i,r,t,a,o,l,u,p)}if(Array.isArray(s)){const f=s;if(f.length===0)return null;let h;let m=-1;while(++m<f.length){const s=f[m];let g;try{g=resolvePackageTarget(t,s,i,r,a,o,l,u,p)}catch(t){const s=t;h=s;if(s.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw t}if(g===undefined)continue;if(g===null){h=null;continue}return g}if(h===undefined||h===null){return null}throw h}if(typeof s==="object"&&s!==null){const f=Object.getOwnPropertyNames(s);let h=-1;while(++h<f.length){const s=f[h];if(isArrayIndex(s)){throw new yt((0,Fe.fileURLToPath)(t),a,'"exports" cannot contain numeric property keys.')}}h=-1;while(++h<f.length){const m=f[h];if(m==="default"||p&&p.has(m)){const f=s[m];const h=resolvePackageTarget(t,f,i,r,a,o,l,u,p);if(h===undefined)continue;return h}}return null}if(s===null){return null}throw invalidPackageTarget(r,s,t,l,a)}function isConditionalExportsMainSugar(t,s,i){if(typeof t==="string"||Array.isArray(t))return true;if(typeof t!=="object"||t===null)return false;const r=Object.getOwnPropertyNames(t);let a=false;let o=0;let l=-1;while(++l<r.length){const t=r[l];const u=t===""||t[0]!==".";if(o++===0){a=u}else if(a!==u){throw new yt((0,Fe.fileURLToPath)(s),i,"\"exports\" cannot contain some keys starting with '.' and some not."+" The exports object must either be an object of package subpath keys"+" or an object of main entry condition name keys only.")}}return a}function emitTrailingSlashPatternDeprecation(t,s,i){if(Ke.noDeprecation){return}const r=(0,Fe.fileURLToPath)(s);if(Pt.has(r+"|"+t))return;Pt.add(r+"|"+t);Ke.emitWarning(`Use of deprecated trailing slash pattern mapping "${t}" in the `+`"exports" field module resolution of the package at ${r}${i?` imported from ${(0,Fe.fileURLToPath)(i)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155")}function packageExportsResolve(t,s,i,r,a){let o=i.exports;if(isConditionalExportsMainSugar(o,t,r)){o={".":o}}if(Et.call(o,s)&&!s.includes("*")&&!s.endsWith("/")){const i=o[s];const l=resolvePackageTarget(t,i,"",s,r,false,false,false,a);if(l===null||l===undefined){throw exportsNotFound(s,t,r)}return l}let l="";let u="";const p=Object.getOwnPropertyNames(o);let f=-1;while(++f<p.length){const i=p[f];const a=i.indexOf("*");if(a!==-1&&s.startsWith(i.slice(0,a))){if(s.endsWith("/")){emitTrailingSlashPatternDeprecation(s,t,r)}const o=i.slice(a+1);if(s.length>=i.length&&s.endsWith(o)&&patternKeyCompare(l,i)===1&&i.lastIndexOf("*")===a){l=i;u=s.slice(a,s.length-o.length)}}}if(l){const i=o[l];const p=resolvePackageTarget(t,i,u,l,r,true,false,s.endsWith("/"),a);if(p===null||p===undefined){throw exportsNotFound(s,t,r)}return p}throw exportsNotFound(s,t,r)}function patternKeyCompare(t,s){const i=t.indexOf("*");const r=s.indexOf("*");const a=i===-1?t.length:i+1;const o=r===-1?s.length:r+1;if(a>o)return-1;if(o>a)return 1;if(i===-1)return 1;if(r===-1)return-1;if(t.length>s.length)return-1;if(s.length>t.length)return 1;return 0}function packageImportsResolve(t,s,i){if(t==="#"||t.startsWith("#/")||t.endsWith("/")){const i="is not a valid internal imports specifier name";throw new gt(t,i,(0,Fe.fileURLToPath)(s))}let r;const a=getPackageScopeConfig(s);if(a.exists){r=(0,Fe.pathToFileURL)(a.pjsonPath);const o=a.imports;if(o){if(Et.call(o,t)&&!t.includes("*")){const a=resolvePackageTarget(r,o[t],"",t,s,false,true,false,i);if(a!==null&&a!==undefined){return a}}else{let a="";let l="";const u=Object.getOwnPropertyNames(o);let p=-1;while(++p<u.length){const s=u[p];const i=s.indexOf("*");if(i!==-1&&t.startsWith(s.slice(0,-1))){const r=s.slice(i+1);if(t.length>=s.length&&t.endsWith(r)&&patternKeyCompare(a,s)===1&&s.lastIndexOf("*")===i){a=s;l=t.slice(i,t.length-r.length)}}}if(a){const t=o[a];const u=resolvePackageTarget(r,t,l,a,s,true,true,false,i);if(u!==null&&u!==undefined){return u}}}}}throw importNotDefined(t,r,s)}function parsePackageName(t,s){let i=t.indexOf("/");let r=true;let a=false;if(t[0]==="@"){a=true;if(i===-1||t.length===0){r=false}else{i=t.indexOf("/",i+1)}}const o=i===-1?t:t.slice(0,i);if(Ct.exec(o)!==null){r=false}if(!r){throw new gt(t,"is not a valid package name",(0,Fe.fileURLToPath)(s))}const l="."+(i===-1?"":t.slice(i));return{packageName:o,packageSubpath:l,isScoped:a}}function packageResolve(t,s,i){if(Me.builtinModules.includes(t)){return new URL("node:"+t)}const{packageName:r,packageSubpath:a,isScoped:o}=parsePackageName(t,s);const l=getPackageScopeConfig(s);if(l.exists){const t=(0,Fe.pathToFileURL)(l.pjsonPath);if(l.name===r&&l.exports!==undefined&&l.exports!==null){return packageExportsResolve(t,a,l,s,i)}}let u=new URL("./node_modules/"+r+"/package.json",s);let p=(0,Fe.fileURLToPath)(u);let f;do{const l=tryStatSync(p.slice(0,-13));if(!l||!l.isDirectory()){f=p;u=new URL((o?"../../../../node_modules/":"../../../node_modules/")+r+"/package.json",u);p=(0,Fe.fileURLToPath)(u);continue}const h=read(p,{base:s,specifier:t});if(h.exports!==undefined&&h.exports!==null){return packageExportsResolve(u,a,h,s,i)}if(a==="."){return legacyMainResolve(u,h,s)}return new URL(a,u)}while(p.length!==f.length);throw new vt(r,(0,Fe.fileURLToPath)(s),false)}function isRelativeSpecifier(t){if(t[0]==="."){if(t.length===1||t[1]==="/")return true;if(t[1]==="."&&(t.length===2||t[2]==="/")){return true}}return false}function shouldBeTreatedAsRelativeOrAbsolutePath(t){if(t==="")return false;if(t[0]==="/")return true;return isRelativeSpecifier(t)}function moduleResolve(t,s,i,r){if(i===undefined){i=getConditionsSet()}const a=s.protocol;const o=a==="data:";const l=o||a==="http:"||a==="https:";let u;if(shouldBeTreatedAsRelativeOrAbsolutePath(t)){try{u=new URL(t,s)}catch(i){const r=new St(t,s);r.cause=i;throw r}}else if(a==="file:"&&t[0]==="#"){u=packageImportsResolve(t,s,i)}else{try{u=new URL(t)}catch(r){if(l&&!Me.builtinModules.includes(t)){const i=new St(t,s);i.cause=r;throw i}u=packageResolve(t,s,i)}}Ve.ok(u!==undefined,"expected to be defined");if(u.protocol!=="file:"){return u}return finalizeResolution(u,s,r)}function checkIfDisallowedImport(t,s,i){if(i){const r=i.protocol;if(r==="http:"||r==="https:"){if(shouldBeTreatedAsRelativeOrAbsolutePath(t)){const r=s?.protocol;if(r&&r!=="https:"&&r!=="http:"){throw new mt(t,i,"remote imports cannot import from a local location.")}return{url:s?.href||""}}if(Me.builtinModules.includes(t)){throw new mt(t,i,"remote imports cannot import from a local location.")}throw new mt(t,i,"only relative and absolute specifiers are supported.")}}}function isURL(t){return Boolean(t&&typeof t==="object"&&"href"in t&&typeof t.href==="string"&&"protocol"in t&&typeof t.protocol==="string"&&t.href&&t.protocol)}function throwIfInvalidParentURL(t){if(t===undefined){return}if(typeof t!=="string"&&!isURL(t)){throw new Ze.ERR_INVALID_ARG_TYPE("parentURL",["string","URL"],t)}}function defaultResolve(t,s={}){const{parentURL:i}=s;Ve.ok(i!==undefined,"expected `parentURL` to be defined");throwIfInvalidParentURL(i);let r;if(i){try{r=new URL(i)}catch{}}let a;let o;try{a=shouldBeTreatedAsRelativeOrAbsolutePath(t)?new URL(t,r):new URL(t);o=a.protocol;if(o==="data:"){return{url:a.href,format:null}}}catch{}const l=checkIfDisallowedImport(t,a,r);if(l)return l;if(o===undefined&&a){o=a.protocol}if(o==="node:"){return{url:t}}if(a&&a.protocol==="node:")return{url:t};const u=getConditionsSet(s.conditions);const p=moduleResolve(t,new URL(i),u,false);return{url:p.href,format:defaultGetFormatWithoutErrors(p,{parentURL:i})}}function import_meta_resolve_resolve(t,s){if(!s){throw new Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that")}try{return defaultResolve(t,{parentURL:s}).url}catch(t){const s=t;if((s.code==="ERR_UNSUPPORTED_DIR_IMPORT"||s.code==="ERR_MODULE_NOT_FOUND")&&typeof s.url==="string"){return s.url}throw t}}function makeStaticFileCache(t){return makeStrongCache(function*(s,i){const r=i.invalidate(()=>fileMtime(s));if(r===null){return null}return t(s,yield*Ne(s,"utf8"))})}function fileMtime(t){if(!De.existsSync(t))return null;try{return+De.statSync(t).mtime}catch(t){if(t.code!=="ENOENT"&&t.code!=="ENOTDIR")throw t}return null}const Ot="package.json";const Dt=makeStaticFileCache((t,s)=>{let i;try{i=JSON.parse(s)}catch(s){throw new ConfigError(`Error while parsing JSON - ${s.message}`,t)}if(!i)throw new Error(`${t}: No config detected`);if(typeof i!=="object"){throw new ConfigError(`Config returned typeof ${typeof i}`,t)}if(Array.isArray(i)){throw new ConfigError(`Expected config object but found array`,t)}return{filepath:t,dirname:Te.dirname(t),options:i}});function*findPackageData(t){let s=null;const i=[];let r=true;let a=Te.dirname(t);while(!s&&Te.basename(a)!=="node_modules"){i.push(a);s=yield*Dt(Te.join(a,Ot));const t=Te.dirname(a);if(a===t){r=false;break}a=t}return{filepath:t,directories:i,pkg:s,isPackage:r}}const Nt=(0,Re.Ud)("babel:config:loading:files:module-types");const jt=(0,Me.createRequire)(import.meta.url);const Rt=new Set;function loadCjsDefault(t){if(Rt.has(t)){Nt("Auto-ignoring usage of config %o.",t);return{}}let s;try{Rt.add(t);s=endHiddenCallStack(jt)(t)}finally{Rt.delete(t)}return s!=null&&(s.__esModule||s[Symbol.toStringTag]==="Module")?s.default:s}const Lt=endHiddenCallStack(async function loadMjsFromPath(t){const s=(0,Fe.pathToFileURL)(t).toString()+"?import";return await r(33898)(s)});const tsNotSupportedError=t=>`You are using a ${t} config file, but Babel only supports transpiling .cts configs. Either:\n- Use a .cts config file\n- Update to Node.js 23.6.0, which has native TypeScript support\n- Install tsx to transpile ${t} files on the fly`;const Ft={".js":"unknown",".mjs":"esm",".cjs":"cjs",".ts":"unknown",".mts":"esm",".cts":"cjs"};function*loadCodeDefault(t,s,i,r){let a;const o=Te.extname(t);const l=o===".ts"||o===".cts"||o===".mts";const u=Ft[Object.hasOwn(Ft,o)?o:".js"];const p=`${s} ${u}`;switch(p){case"require cjs":case"auto cjs":return loadCjsDefault(t);case"auto unknown":case"require unknown":case"require esm":try{return loadCjsDefault(t)}catch(s){if(s.code==="ERR_REQUIRE_ASYNC_MODULE"){if(!(a??=(yield*Ie()))){throw new ConfigError(r,t)}}else{throw s}}case"auto esm":if(a??(yield*Ie())){return(yield*Oe(Lt(t))).default}if(l){throw new ConfigError(tsNotSupportedError(o),t)}else{throw new ConfigError(i,t)}default:throw new Error("Internal Babel error: unreachable code.")}}const Mt=(0,Me.createRequire)(import.meta.url);const Bt=(0,Re.Ud)("babel:config:loading:files:configuration");const qt=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json","babel.config.cts","babel.config.ts","babel.config.mts"];const Wt=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json",".babelrc.cts"];const Ut=".babelignore";const zt=makeWeakCache(function*runConfig(t,s){yield*[];return{options:endHiddenCallStack(t)(makeConfigAPI(s)),cacheNeedsConfiguration:!s.configured()}});function*readConfigCode(t,s){if(!De.existsSync(t))return null;let i=yield*loadCodeDefault(t,(yield*Ie())?"auto":"require","You appear to be using a native ECMAScript module configuration "+"file, which is only supported when running Babel asynchronously "+"or when using the Node.js `--experimental-require-module` flag.","You appear to be using a configuration file that contains top-level "+"await, which is only supported when running Babel asynchronously.");let r=false;if(typeof i==="function"){({options:i,cacheNeedsConfiguration:r}=yield*zt(i,s))}if(!i||typeof i!=="object"||Array.isArray(i)){throw new ConfigError(`Configuration should be an exported JavaScript object.`,t)}if(typeof i.then==="function"){i.catch?.(()=>{});throw new ConfigError(`You appear to be using an async configuration, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously return your config.`,t)}if(r)throwConfigError(t);return buildConfigFileObject(i,t)}const Ht=new WeakMap;function buildConfigFileObject(t,s){let i=Ht.get(t);if(!i){Ht.set(t,i=new Map)}let r=i.get(s);if(!r){r={filepath:s,dirname:Te.dirname(s),options:t};i.set(s,r)}return r}const Vt=makeWeakCacheSync(t=>{const s=t.options.babel;if(s===undefined)return null;if(typeof s!=="object"||Array.isArray(s)||s===null){throw new ConfigError(`.babel property must be an object`,t.filepath)}return{filepath:t.filepath,dirname:t.dirname,options:s}});const Kt=makeStaticFileCache((t,s)=>{let i;try{i=Le.parse(s)}catch(s){throw new ConfigError(`Error while parsing config - ${s.message}`,t)}if(!i)throw new ConfigError(`No config detected`,t);if(typeof i!=="object"){throw new ConfigError(`Config returned typeof ${typeof i}`,t)}if(Array.isArray(i)){throw new ConfigError(`Expected config object but found array`,t)}delete i.$schema;return{filepath:t,dirname:Te.dirname(t),options:i}});const Gt=makeStaticFileCache((t,s)=>{const i=Te.dirname(t);const r=s.split("\n").map(t=>t.replace(/^#.*$/,"").trim()).filter(Boolean);for(const s of r){if(s.startsWith("!")){throw new ConfigError(`Negation of file paths is not supported.`,t)}}return{filepath:t,dirname:Te.dirname(t),ignore:r.map(t=>pathToPattern(t,i))}});function findConfigUpwards(t){let s=t;for(;;){for(const t of qt){if(De.existsSync(Te.join(s,t))){return s}}const t=Te.dirname(s);if(s===t)break;s=t}return null}function*findRelativeConfig(t,s,i){let r=null;let a=null;const o=Te.dirname(t.filepath);for(const l of t.directories){if(!r){r=yield*loadOneConfig(Wt,l,s,i,t.pkg?.dirname===l?Vt(t.pkg):null)}if(!a){const t=Te.join(l,Ut);a=yield*Gt(t);if(a){Bt("Found ignore %o from %o.",a.filepath,o)}}}return{config:r,ignore:a}}function findRootConfig(t,s,i){return loadOneConfig(qt,t,s,i)}function*loadOneConfig(t,s,i,r,a=null){const o=yield*Ce.all(t.map(t=>readConfig(Te.join(s,t),i,r)));const l=o.reduce((t,i)=>{if(i&&t){throw new ConfigError(`Multiple configuration files found. Please remove one:\n`+` - ${Te.basename(t.filepath)}\n`+` - ${i.filepath}\n`+`from ${s}`)}return i||t},a);if(l){Bt("Found configuration %o from %o.",l.filepath,s)}return l}function*loadConfig(t,s,i,r){const a=Mt.resolve(t,{paths:[s]});const o=yield*readConfig(a,i,r);if(!o){throw new ConfigError(`Config file contains no configuration data`,a)}Bt("Loaded config %o from %o.",t,s);return o}function readConfig(t,s,i){const r=Te.extname(t);switch(r){case".js":case".cjs":case".mjs":case".ts":case".cts":case".mts":return readConfigCode(t,{envName:s,caller:i});default:return Kt(t)}}function*resolveShowConfigPath(t){const s=process.env.BABEL_SHOW_CONFIG_FOR;if(s!=null){const i=Te.resolve(t,s);const r=yield*je(i);if(!r.isFile()){throw new Error(`${i}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`)}return i}return null}function throwConfigError(t){throw new ConfigError(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured\nfor various types of caching, using the first param of their handler functions:\n\nmodule.exports = function(api) {\n // The API exposes the following:\n\n // Cache the returned value forever and don't call this function again.\n api.cache(true);\n\n // Don't cache at all. Not recommended because it will be very slow.\n api.cache(false);\n\n // Cached based on the value of some function. If this function returns a value different from\n // a previously-encountered value, the plugins will re-evaluate.\n var env = api.cache(() => process.env.NODE_ENV);\n\n // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for\n // any possible NODE_ENV value that might come up during plugin execution.\n var isProd = api.cache(() => process.env.NODE_ENV === "production");\n\n // .cache(fn) will perform a linear search though instances to find the matching plugin based\n // based on previous instantiated plugins. If you want to recreate the plugin and discard the\n // previous instance whenever something changes, you may use:\n var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");\n\n // Note, we also expose the following more-verbose versions of the above examples:\n api.cache.forever(); // api.cache(true)\n api.cache.never(); // api.cache(false)\n api.cache.using(fn); // api.cache(fn)\n\n // Return the value that will be cached.\n return { };\n};`,t)}const Jt=(0,Me.createRequire)(import.meta.url);const Xt=(0,Re.Ud)("babel:config:loading:files:plugins");const Yt=/^module:/;const Qt=/^(?!@|module:|[^/]+\/|babel-plugin-)/;const Zt=/^(?!@|module:|[^/]+\/|babel-preset-)/;const en=/^(@babel\/)(?!plugin-|[^/]+\/)/;const tn=/^(@babel\/)(?!preset-|[^/]+\/)/;const nn=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/;const sn=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/;const rn=/^(@(?!babel$)[^/]+)$/;const an=resolveStandardizedName.bind(null,"plugin");const on=resolveStandardizedName.bind(null,"preset");function*loadPlugin(t,s){const{filepath:i,loader:r}=an(t,s,yield*Ie());const a=yield*requireModule("plugin",r,i);Xt("Loaded plugin %o from %o.",t,s);return{filepath:i,value:a}}function*loadPreset(t,s){const{filepath:i,loader:r}=on(t,s,yield*Ie());const a=yield*requireModule("preset",r,i);Xt("Loaded preset %o from %o.",t,s);return{filepath:i,value:a}}function standardizeName(t,s){if(Te.isAbsolute(s))return s;const i=t==="preset";return s.replace(i?Zt:Qt,`babel-${t}-`).replace(i?tn:en,`$1${t}-`).replace(i?sn:nn,`$1babel-${t}-`).replace(rn,`$1/babel-${t}`).replace(Yt,"")}function*resolveAlternativesHelper(t,s){const i=standardizeName(t,s);const{error:r,value:a}=yield i;if(!r)return a;if(r.code!=="MODULE_NOT_FOUND")throw r;if(i!==s&&!(yield s).error){r.message+=`\n- If you want to resolve "${s}", use "module:${s}"`}if(!(yield standardizeName(t,"@babel/"+s)).error){r.message+=`\n- Did you mean "@babel/${s}"?`}const o=t==="preset"?"plugin":"preset";if(!(yield standardizeName(o,s)).error){r.message+=`\n- Did you accidentally pass a ${o} as a ${t}?`}if(t==="plugin"){const t=i.replace("-proposal-","-transform-");if(t!==i&&!(yield t).error){r.message+=`\n- Did you mean "${t}"?`}}r.message+=`\n\nMake sure that all the Babel plugins and presets you are using\nare defined as dependencies or devDependencies in your package.json\nfile. It's possible that the missing plugin is loaded by a preset\nyou are using that forgot to add the plugin to its dependencies: you\ncan workaround this problem by explicitly adding the missing package\nto your top-level package.json.\n`;throw r}function tryRequireResolve(t,s){try{if(s){return{error:null,value:Jt.resolve(t,{paths:[s]})}}else{return{error:null,value:Jt.resolve(t)}}}catch(t){return{error:t,value:null}}}function tryImportMetaResolve(t,s){try{return{error:null,value:import_meta_resolve_resolve(t,s)}}catch(t){return{error:t,value:null}}}function resolveStandardizedNameForRequire(t,s,i){const r=resolveAlternativesHelper(t,s);let a=r.next();while(!a.done){a=r.next(tryRequireResolve(a.value,i))}return{loader:"require",filepath:a.value}}function resolveStandardizedNameForImport(t,s,i){const r=(0,Fe.pathToFileURL)(Te.join(i,"./babel-virtual-resolve-base.js")).href;const a=resolveAlternativesHelper(t,s);let o=a.next();while(!o.done){o=a.next(tryImportMetaResolve(o.value,r))}return{loader:"auto",filepath:(0,Fe.fileURLToPath)(o.value)}}function resolveStandardizedName(t,s,i,r){if(!r){return resolveStandardizedNameForRequire(t,s,i)}try{const r=resolveStandardizedNameForImport(t,s,i);if(!(0,De.existsSync)(r.filepath)){throw Object.assign(new Error(`Could not resolve "${s}" in file ${i}.`),{type:"MODULE_NOT_FOUND"})}return r}catch(r){try{return resolveStandardizedNameForRequire(t,s,i)}catch(t){if(r.type==="MODULE_NOT_FOUND")throw r;if(t.type==="MODULE_NOT_FOUND")throw t;throw r}}}function*requireModule(t,s,i){try{return yield*loadCodeDefault(i,s,`You appear to be using a native ECMAScript module ${t}, `+"which is only supported when running Babel asynchronously "+"or when using the Node.js `--experimental-require-module` flag.",`You appear to be using a ${t} that contains top-level await, `+"which is only supported when running Babel asynchronously.")}catch(t){t.message=`[BABEL]: ${t.message} (While processing: ${i})`;throw t}}var ln=r(46411);var cn=r(25288);function ok(t,s){try{accessSync(t,s);return true}catch{return false}}function access_writable(t){return ok(t,constants.W_OK)}function readable(t){return ok(t,constants.R_OK)}function executable(t){return ok(t,constants.X_OK)}function absolute(t,s){return(0,Te.isAbsolute)(t)?t:(0,Te.resolve)(s||".",t)}function from(t,s,i){try{let i=t instanceof URL||t.startsWith("file://")?join(fileURLToPath(t),"noop.js"):join(absolute(t),"noop.js");return createRequire(i).resolve(s)}catch(t){if(!i)throw t}}function cwd(t,s){return from(resolve(),t,s)}function up(t,s){let{last:i,cwd:r}=s||{};let a=absolute(t,r);let o=absolute(i||"/",r);let l,u=[];while(l!==o){u.push(a);a=(0,Te.dirname)(l=a);if(a===l)break}return u}function find_up(t,s){let i,r;let a=s&&s.cwd||"";for(i of up(a,s)){r=(0,Te.join)(i,t);if((0,De.existsSync)(r))return r}}function any(t,s){let i,r=s&&s.cwd||"";let a=0,o=t.length,l;for(i of walk.up(r,s)){for(a=0;a<o;a++){l=join(i,t[a]);if(existsSync(l))return l}}}function file(t,s){let i,r;let a=s&&s.cwd||"";for(i of walk.up(a,s)){try{r=join(i,t);if(statSync(r).isFile())return r}catch{}}}function dir(t,s){let i,r;let a=s&&s.cwd||"";for(i of walk.up(a,s)){try{r=join(i,t);if(statSync(r).isDirectory())return r}catch{}}}function package_up(t){return find_up("package.json",t)}function package_cache(t,s){s=s||{};let i=env.CACHE_DIR;if(!i||/^(1|0|true|false)$/.test(i)){let t=package_up(s);if(i=t&&dirname(t)){let t=join(i,"node_modules");let s=existsSync(t);if(!writable(s?t:i))return;i=join(t,".cache")}}if(i){i=join(i,t);if(s.create&&!existsSync(i)){mkdirSync(i,{recursive:true})}return i}}const un=(0,Re.Ud)("babel:transform:file");function getInputMapPath(t,s,i){const r=Te.dirname(t);const a=Te.resolve(r,i);const o=Te.relative(r,a);if(o.startsWith("..")||Te.isAbsolute(o)){const t=package_up({cwd:r,last:s});const i=t?Te.dirname(t):s;const o=Te.relative(i,a);if(o.startsWith("..")||Te.isAbsolute(o)){un(`discarding input sourcemap "${a}" outside of package root "${i}"`);return null}}return a}function readInputSourceMapFile(t,s,i){const r=getInputMapPath(t,s,i);if(r){const t=De.readFileSync(r,"utf8");return cn.fromJSON(t)}return null}const dn=Ce(function*(t,s){const i={...s,filename:t};const r=yield*Ds(i);if(r===null)return null;const a=yield*Ne(t,"utf8");return yield*run(r,a)});function transformFile(...t){dn.errback(...t)}function transformFileSync(...t){return dn.sync(...t)}function transformFileAsync(...t){return dn.async(...t)}var pn=r(77913);var fn=r(85723);const hn=JSON.parse('{"P":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"45","safari":"10.1","ios":"10.3","samsung":"8.2","android":"61","electron":"2.0"}}');var mn=r(7469);const gn={};const yn={safari:"tp"};const bn={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",deno:"deno",op_mob:"opera_mobile",opera:"opera",safari:"safari",samsung:"samsung"};const vn=/^(?:\d+|\d(?:\d?[^\d\n\r\u2028\u2029]\d+|\d{2,}(?:[^\d\n\r\u2028\u2029]\d+)?))$/;const wn=new fn.S("@babel/helper-compilation-targets");function semverMin(t,s){return t&&comparison_CmVirWIW_isLessThan(t,s)?t:s}function semverify(t){if(typeof t==="string"&&version_Co1j9Tpq_isValid(t)){return t}wn.invariant(typeof t==="number"||typeof t==="string"&&vn.test(t),`'${t}' is not a valid version`);t=t.toString();let s=0;let i=0;while((s=t.indexOf(".",s+1))>0){i++}return t+".0".repeat(2-i)}function isUnreleasedVersion(t,s){const i=yn[s];return!!i&&i===t.toString().toLowerCase()}function getLowestUnreleased(t,s,i){const r=yn[i];if(t===r){return s}if(s===r){return t}return semverMin(t,s)}function getHighestUnreleased(t,s,i){return getLowestUnreleased(t,s,i)===t?s:t}function getLowestImplementedVersion(t,s){const i=t[s];if(!i&&s==="android"){return t.chrome}return i}const xn={node:"node",deno:"deno",chrome:"chrome",opera:"opera",edge:"edge",firefox:"firefox",safari:"safari",ie:"ie",ios:"ios",android:"android",electron:"electron",samsung:"samsung",rhino:"rhino",opera_mobile:"opera_mobile"};function prettifyVersion(t){if(typeof t!=="string"){return t}const{major:s,minor:i,patch:r}=parse(t);const a=[s];if(i||r){a.push(i)}if(r){a.push(r)}return a.join(".")}function prettifyTargets(t){return Object.keys(t).reduce((s,i)=>{let r=t[i];const a=yn[i];if(typeof r==="string"&&a!==r){r=prettifyVersion(r)}s[i]=r;return s},{})}function getInclusionReasons(t,s,i){const r=i[t]||{};return Object.keys(s).reduce((t,i)=>{const a=getLowestImplementedVersion(r,i);const o=s[i];if(!a){t[i]=prettifyVersion(o)}else{const s=isUnreleasedVersion(a,i);const r=isUnreleasedVersion(o,i);if(!r&&(s||isLessThan(o.toString(),semverify(a)))){t[i]=prettifyVersion(o)}}return t},{})}function targetsSupported(t,s){const i=Object.keys(t);if(i.length===0){return false}const r=i.filter(i=>{const r=getLowestImplementedVersion(s,i);if(!r){return true}const a=t[i];if(isUnreleasedVersion(a,i)){return false}if(isUnreleasedVersion(r,i)){return true}if(!isValid(a.toString())){throw new Error(`Invalid version passed for target "${i}": "${a}". `+"Versions must be in semver format (major.minor.patch)")}return isGreaterThan(semverify(r),a.toString())});return r.length===0}function isRequired(t,s,{compatData:i=pluginsCompatData,includes:r,excludes:a}={}){if(a?.has(t))return false;if(r?.has(t))return true;return!targetsSupported(s,i[t])}function filterItems(t,s,i,r,a,o,l){const u=new Set;const p={compatData:t,includes:s,excludes:i};for(const s in t){if(isRequired(s,r,p)){u.add(s)}else if(l){const t=l.get(s);if(t){u.add(t)}}}a?.forEach(t=>!i.has(t)&&u.add(t));o?.forEach(t=>!s.has(t)&&u.delete(t));return u}const kn=hn.P;const Sn=new fn.S("@babel/helper-compilation-targets");function validateTargetNames(t){const s=Object.keys(xn);for(const i of Object.keys(t)){if(!(i in xn)){throw new Error(Sn.formatMessage(`'${i}' is not a valid target\n- Did you mean '${(0,fn.G)(i,s)}'?`))}}return t}function isBrowsersQueryValid(t){return typeof t==="string"||Array.isArray(t)&&t.every(t=>typeof t==="string")}function validateBrowsers(t){Sn.invariant(t===undefined||isBrowsersQueryValid(t),`'${String(t)}' is not a valid browserslist query`);return t}function getLowestVersions(t){return t.reduce((t,s)=>{const[i,r]=s.split(" ");const a=bn[i];if(!a){return t}try{const s=r.split("-")[0].toLowerCase();const i=isUnreleasedVersion(s,a);if(!t[a]){t[a]=i?s:semverify(s);return t}const o=t[a];const l=isUnreleasedVersion(o,a);if(l&&i){t[a]=getLowestUnreleased(o,s,a)}else if(l){t[a]=semverify(s)}else if(!l&&!i){const i=semverify(s);t[a]=semverMin(o,i)}}catch(t){}return t},{})}function outputDecimalWarning(t){if(!t.length){return}console.warn("Warning, the following targets are using a decimal version:\n");t.forEach(({target:t,value:s})=>console.warn(` ${t}: ${s}`));console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`)}function semverifyTarget(t,s){try{return semverify(s)}catch(i){throw new Error(Sn.formatMessage(`'${s}' is not a valid value for 'targets.${t}'.`),{cause:i})}}function nodeTargetParser(t){const s=t===true||t==="current"?process.versions.node.split("-")[0]:semverifyTarget("node",t);return["node",s]}function defaultTargetParser(t,s){const i=isUnreleasedVersion(s,t)?s.toLowerCase():semverifyTarget(t,s);return[t,i]}function generateTargets(t){const s={...t};delete s.esmodules;delete s.browsers;return s}function resolveTargets(t,s){const i=pn(t,{mobileToDesktop:true,env:s});return getLowestVersions(i)}const En=mn(64);function resolveTargetsCached(t,s){const i=typeof t==="string"?t:t.join()+s;let r=En.get(i);if(!r){r=resolveTargets(t,s);En.set(i,r)}return{...r}}function getTargets(t={},s={}){let{browsers:i,esmodules:r}=t;const{configPath:a=".",onBrowserslistConfigFound:o}=s;validateBrowsers(i);const l=generateTargets(t);let u=validateTargetNames(l);const p=!!i;const f=p||Object.keys(u).length>0;const h=!s.ignoreBrowserslistConfig&&!f;if(!i&&h){i=process.env.BROWSERSLIST;if(!i){const t=s.configFile||process.env.BROWSERSLIST_CONFIG||pn.findConfigFile(a);if(t!=null){o?.(t);i=pn.loadConfig({config:t,env:s.browserslistEnv})}}if(i==null){i=["defaults"]}}if(r&&!i?.length){i=Object.keys(kn).map(t=>`${t} >= ${kn[t]}`).join(", ");r=false}if(i?.length){const t=resolveTargetsCached(i,s.browserslistEnv);if(r){for(const s of Object.keys(t)){if(s!=="deno"&&s!=="ie"){const i=kn[s==="opera_mobile"?"op_mob":s];if(i){const r=t[s];t[s]=getHighestUnreleased(r,semverify(i),s)}else{delete t[s]}}else{delete t[s]}}}u=Object.assign(t,u)}const m={};const g=[];for(const t of Object.keys(u).sort()){const s=u[t];if(typeof s==="number"&&s%1!==0){g.push({target:t,value:s})}const[i,r]=t==="node"?nodeTargetParser(s):defaultTargetParser(t,s);if(r){m[i]=r}}outputDecimalWarning(g);return m}function resolveBrowserslistConfigFile(t,s){return Te.resolve(s,t)}function resolve_targets_resolveTargets(t,s){const i=t.targets;let r;if(typeof i==="string"||Array.isArray(i)){r={browsers:i}}else if(i){r=i}const{browserslistConfigFile:a}=t;let o;let l=false;if(typeof a==="string"){o=a}else{l=a===false}return getTargets(r,{ignoreBrowserslistConfig:l,configFile:o,configPath:s,browserslistEnv:t.browserslistEnv})}const _n=Object.defineProperty({__proto__:null,get DEFAULT_EXTENSIONS(){return ri},get File(){return File},get buildExternalHelpers(){return buildExternalHelpers},get createConfigItem(){return Ws},get createConfigItemAsync(){return createConfigItemAsync},get createConfigItemSync(){return createConfigItemSync},get getEnv(){return getEnv},get loadOptions(){return loadOptions},get loadOptionsAsync(){return loadOptionsAsync},get loadOptionsSync(){return loadOptionsSync},get loadPartialConfig(){return loadPartialConfig},get loadPartialConfigAsync(){return loadPartialConfigAsync},get loadPartialConfigSync(){return loadPartialConfigSync},get parse(){return si},get parseAsync(){return parseAsync},get parseSync(){return parseSync},get resolvePlugin(){return index_shared_resolvePlugin},get resolvePreset(){return index_shared_resolvePreset},get template(){return o.Ay},get tokTypes(){return ln.Y_},get transform(){return Zs},get transformAsync(){return transformAsync},get transformFile(){return transformFile},get transformFileAsync(){return transformFileAsync},get transformFileSync(){return transformFileSync},get transformFromAst(){return ti},get transformFromAstAsync(){return transformFromAstAsync},get transformFromAstSync(){return transformFromAstSync},get transformSync(){return transformSync},get traverse(){return m.Ay},get types(){return a},get version(){return ii}},Symbol.toStringTag,{value:"Module"});const{cloneNode:Tn,interpreterDirective:Cn,traverseFast:An}=a;class File{_map=new Map;opts;declarations={};path;ast;scope;metadata={};code="";inputMap;hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)};constructor(t,{code:s,ast:i,inputMap:r}){this.opts=t;this.code=s;this.ast=i;this.inputMap=r;this.path=m.eX.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext();this.scope=this.path.scope}get shebang(){const{interpreter:t}=this.path.node;return t?t.value:""}set shebang(t){if(t){this.path.get("interpreter").replaceWith(Cn(t))}else{this.path.get("interpreter").remove()}}set(t,s){this._map.set(t,s)}get(t){return this._map.get(t)}has(t){return this._map.has(t)}availableHelper(t,s){if(isInternal(t))return false;let i;try{i=lib_minVersion(t)}catch(t){if(t.code!=="BABEL_HELPER_UNKNOWN")throw t;return false}if(typeof s!=="string")return true;if(version_Co1j9Tpq_isValid(s))s=`^${s}`;return!rangesIntersect(`<${i}`,s)&&!rangesIntersect(`>=9.0.0`,s)}addHelper(t){if(isInternal(t)){throw new Error("Cannot use internal helper "+t)}return this._addHelper(t)}_addHelper(t){const s=this.declarations[t];if(s)return Tn(s);const i=this.get("helperGenerator");if(i){const s=i(t);if(s)return s}lib_minVersion(t);const r=this.declarations[t]=this.scope.generateUidIdentifier(t);const a={};for(const s of getDependencies(t)){a[s]=this._addHelper(s)}const{nodes:o,globals:l}=get(t,t=>a[t],r.name,Object.keys(this.scope.getAllBindings()));l.forEach(t=>{if(this.path.scope.hasBinding(t,true)){this.path.scope.rename(t)}});o.forEach(t=>{t._compact=true});const u=this.path.unshiftContainer("body",o);for(const t of u){if(t.isVariableDeclaration())this.scope.registerDeclaration(t)}return r}buildCodeFrameError(t,s,i=SyntaxError){let r=t?.loc;if(!r&&t){An(t,function(t){if(t.loc){r=t.loc;return An.stop}});let i="This is an error on an internal node. Probably an internal error.";if(r)i+=" Location has been estimated.";s+=` (${i})`}if(r){const{highlightCode:t=true}=this.opts;s+="\n"+(0,g.g)(this.code,{start:{line:r.start.line,column:r.start.column},end:r.end&&r.start.line===r.end.line?{line:r.end.line,column:r.end.column}:undefined},{highlightCode:t})}return new i(s)}}const{arrayExpression:In,assignmentExpression:Pn,binaryExpression:$n,blockStatement:On,callExpression:Dn,cloneNode:Nn,conditionalExpression:jn,exportNamedDeclaration:Rn,exportSpecifier:Ln,expressionStatement:Fn,functionExpression:Mn,identifier:Bn,memberExpression:qn,objectExpression:Wn,program:Un,stringLiteral:zn,unaryExpression:Hn,variableDeclaration:Vn,variableDeclarator:Kn}=a;const buildUmdWrapper=t=>o.Ay.statement`
|
|
2
|
+
import{createRequire as t}from"module";var s={33898:t=>{function webpackEmptyAsyncContext(t){return Promise.resolve().then(()=>{var s=new Error("Cannot find module '"+t+"'");s.code="MODULE_NOT_FOUND";throw s})}webpackEmptyAsyncContext.keys=()=>[];webpackEmptyAsyncContext.resolve=webpackEmptyAsyncContext;webpackEmptyAsyncContext.id=33898;t.exports=webpackEmptyAsyncContext},76747:t=>{function BrowserslistError(t){this.name="BrowserslistError";this.message=t;this.browserslist=true;if(Error.captureStackTrace){Error.captureStackTrace(this,BrowserslistError)}}BrowserslistError.prototype=Error.prototype;t.exports=BrowserslistError},77913:(t,s,i)=>{var r=i(57409);var a=i(73909);var o=i(25588).X;var l=i(69666);var u=i(93147);var p=i(16928);var f=i(76747);var h=i(11393);var m=i(49694);var g=365.259641*24*60*60*1e3;var x="37";var k=14;var _="153";function isVersionsMatch(t,s){return(t+".").indexOf(s+".")===0}function isEolReleased(t){var s=t.slice(1);return browserslist.nodeVersions.some(function(t){return isVersionsMatch(t,s)})}function normalize(t){return t.filter(function(t){return typeof t==="string"})}function normalizeElectron(t){var s=t;if(t.split(".").length===3){s=t.split(".").slice(0,-1).join(".")}return s}function nameMapper(t){return function mapName(s){return t+" "+s}}function getMajor(t){return parseInt(t.split(".")[0])}function getMajorVersions(t,s){if(t.length===0)return[];var i=uniq(t.map(getMajor));var r=i[i.length-s];if(!r){return t}var a=[];for(var o=t.length-1;o>=0;o--){if(r>getMajor(t[o]))break;a.unshift(t[o])}return a}function uniq(t){var s=[];for(var i=0;i<t.length;i++){if(s.indexOf(t[i])===-1)s.push(t[i])}return s}function fillUsage(t,s,i){for(var r in i){t[s+" "+r]=i[r]}}function filterUsage(t,s,i){return Object.keys(t).filter(function(r){var a=t[r];if(a==null){return false}switch(s){case"<":return a<i;case"<=":return a<=i;case">":return a>i;default:return a>=i}})}function generateFilter(t,s){if(t===">"){return function(t){return parseLatestFloat(t)>parseLatestFloat(s)}}else if(t===">="){return function(t){return parseLatestFloat(t)>=parseLatestFloat(s)}}else if(t==="<"){return function(t){return parseFloat(t)<parseFloat(s)}}else{return function(t){return parseFloat(t)<=parseFloat(s)}}function parseLatestFloat(t){return parseFloat(t.split("-")[1]||t)}}function generateSemverFilter(t,s){s=s.split(".").map(parseSimpleInt);s[1]=s[1]||0;s[2]=s[2]||0;if(t===">"){return function(t){t=t.split(".").map(parseSimpleInt);return compareSemver(t,s)>0}}else if(t===">="){return function(t){t=t.split(".").map(parseSimpleInt);return compareSemver(t,s)>=0}}else if(t==="<"){return function(t){t=t.split(".").map(parseSimpleInt);return compareSemver(s,t)>0}}else{return function(t){t=t.split(".").map(parseSimpleInt);return compareSemver(s,t)>=0}}}function parseSimpleInt(t){return parseInt(t)}function compare(t,s){if(t<s)return-1;if(t>s)return+1;return 0}function compareSemver(t,s){return compare(parseInt(t[0]),parseInt(s[0]))||compare(parseInt(t[1]||"0"),parseInt(s[1]||"0"))||compare(parseInt(t[2]||"0"),parseInt(s[2]||"0"))}function semverFilterLoose(t,s){s=s.split(".").map(parseSimpleInt);if(typeof s[1]==="undefined"){s[1]="x"}switch(t){case"<=":return function(t){t=t.split(".").map(parseSimpleInt);return compareSemverLoose(t,s)<=0};case">=":default:return function(t){t=t.split(".").map(parseSimpleInt);return compareSemverLoose(t,s)>=0}}}function compareSemverLoose(t,s){if(t[0]!==s[0]){return t[0]<s[0]?-1:+1}if(s[1]==="x"){return 0}if(t[1]!==s[1]){return t[1]<s[1]?-1:+1}return 0}function resolveVersion(t,s){if(t.versions.indexOf(s)!==-1){return s}else if(browserslist.versionAliases[t.name][s]){return browserslist.versionAliases[t.name][s]}else{return false}}function normalizeVersion(t,s){var i=resolveVersion(t,s);if(i){return i}else if(t.versions.length===1){return t.versions[0]}else{return false}}function filterByYear(t,s){t=t/1e3;return Object.keys(o).reduce(function(i,r){var a=byName(r,s);if(!a)return i;var o=Object.keys(a.releaseDate).filter(function(s){var i=a.releaseDate[s];return i!==null&&i>=t});return i.concat(o.map(nameMapper(a.name)))},[])}function cloneData(t){return{name:t.name,versions:t.versions,released:t.released,releaseDate:t.releaseDate}}function byName(t,s){t=t.toLowerCase();t=browserslist.aliases[t]||t;if(s.mobileToDesktop&&browserslist.desktopNames[t]){var i=browserslist.data[browserslist.desktopNames[t]];if(t==="android"){return normalizeAndroidData(cloneData(browserslist.data[t]),i)}else{var r=cloneData(i);r.name=t;return r}}return browserslist.data[t]}function normalizeAndroidVersions(t,s){var i=s.indexOf(x);return t.filter(function(t){return/^(?:[2-4]\.|[34]$)/.test(t)}).concat(s.slice(i))}var T=["__proto__","constructor","prototype"];function copyObject(t){var s={};for(var i in t){if(T.indexOf(i)===-1){s[i]=t[i]}}return s}function normalizeAndroidData(t,s){t.released=normalizeAndroidVersions(t.released,s.released);t.versions=normalizeAndroidVersions(t.versions,s.versions);t.releaseDate=copyObject(t.releaseDate);t.released.forEach(function(i){if(t.releaseDate[i]===undefined){t.releaseDate[i]=s.releaseDate[i]}});return t}function checkName(t,s){var i=byName(t,s);if(!i)throw new f("Unknown browser "+t);return i}function unknownQuery(t){return new f("Unknown browser query `"+t+"`. "+"Maybe you are using old Browserslist or made typo in query.")}function filterJumps(t,s,i,r){var a=1;switch(s){case"android":if(r.mobileToDesktop)return t;var o=browserslist.data.chrome.released;a=o.length-o.indexOf(x);break;case"op_mob":var l=browserslist.data.op_mob.released.slice(-1)[0];a=getMajor(l)-k+1;break;default:return t}if(i<=a){return t.slice(-1)}return t.slice(a-1-i)}function isSupported(t,s){return typeof t==="string"&&(t.indexOf("y")>=0||s&&t.indexOf("a")>=0)}function resolve(t,s){return parseQueries(t).reduce(function(t,i,r){if(i.not&&r===0){throw new f("Write any browsers query (for instance, `defaults`) "+"before `"+i.query+"`")}var a=P[i.type];var o=a.select.call(browserslist,s,i).map(function(t){var i=t.split(" ");if(i[1]==="0"){return i[0]+" "+byName(i[0],s).versions[0]}else{return t}});if(!i.not&&i.compose==="or"){for(var l=0;l<o.length;l++){t.push(o[l])}return t}var u=new Set(o);var p=!i.not;return t.filter(function(t){return u.has(t)===p})},[])}function prepareOpts(t){if(typeof t==="undefined")t={};if(typeof t.path==="undefined"){t.path=p.resolve?p.resolve("."):"."}return t}function prepareQueries(t,s){if(typeof t==="undefined"||t===null){var i=browserslist.loadConfig(s);if(i){t=i}else{t=browserslist.defaults}}return t}function checkQueries(t){if(!(typeof t==="string"||Array.isArray(t))){throw new f("Browser queries must be an array or string. Got "+typeof t+".")}}var C=500;function boundedCacheSet(t,s,i){if(t.size>=C){t.delete(t.keys().next().value)}t.set(s,i)}var A=new Map;var I=new Map;function browserslist(t,s){s=prepareOpts(s);t=prepareQueries(t,s);checkQueries(t);var i=parseQueries(t).some(function(t){return P[t.type].needsPath});var r={ignoreUnknownVersions:s.ignoreUnknownVersions,dangerousExtend:s.dangerousExtend,throwOnMissing:s.throwOnMissing,mobileToDesktop:s.mobileToDesktop,env:s.env};if(i){r.path=s.path}h.oldDataWarning(browserslist.data);var a=h.getStat(s,browserslist.data);if(a){r.customUsage={};for(var o in a){fillUsage(r.customUsage,o,a[o])}}var l=JSON.stringify([t,r]);if(A.has(l))return A.get(l);var u=uniq(resolve(t,r)).sort(function(t,s){t=t.split(" ");s=s.split(" ");if(t[0]===s[0]){var i=t[1].split("-")[0];var r=s[1].split("-")[0];return compareSemver(r.split("."),i.split("."))}else{return compare(t[0],s[0])}});if(!h.env.BROWSERSLIST_DISABLE_CACHE){boundedCacheSet(A,l,u)}return u}function parseQueries(t){var s=JSON.stringify(t);if(I.has(s))return I.get(s);var i=m(P,t);if(!h.env.BROWSERSLIST_DISABLE_CACHE){boundedCacheSet(I,s,i)}return i}function loadCustomUsage(t,s){var i=h.loadStat(t,s,browserslist.data);if(i){t.customUsage={};for(var r in i){fillUsage(t.customUsage,r,i[r])}}if(!t.customUsage){throw new f("Custom usage statistics was not provided")}return t.customUsage}browserslist.parse=function(t,s){s=prepareOpts(s);t=prepareQueries(t,s);checkQueries(t);return parseQueries(t)};browserslist.cache={};browserslist.data={};browserslist.usage={global:{},custom:null};browserslist.defaults=["> 0.5%","last 2 versions","Firefox ESR","not dead"];browserslist.aliases={fx:"firefox",ff:"firefox",ios:"ios_saf",explorer:"ie",blackberry:"bb",explorermobile:"ie_mob",operamini:"op_mini",operamobile:"op_mob",chromeandroid:"and_chr",firefoxandroid:"and_ff",ucandroid:"and_uc",qqandroid:"and_qq"};browserslist.desktopNames={and_chr:"chrome",and_ff:"firefox",ie_mob:"ie",android:"chrome"};browserslist.versionAliases={};browserslist.clearCaches=h.clearCaches;browserslist.parseConfig=h.parseConfig;browserslist.readConfig=h.readConfig;browserslist.findConfigFile=h.findConfigFile;browserslist.findConfig=h.findConfig;browserslist.loadConfig=h.loadConfig;browserslist.coverage=function(t,s){var i;if(typeof s==="undefined"){i=browserslist.usage.global}else if(s==="my stats"){var r={};r.path=p.resolve?p.resolve("."):".";var a=h.getStat(r);if(!a){throw new f("Custom usage statistics was not provided")}i={};for(var o in a){fillUsage(i,o,a[o])}}else if(typeof s==="string"){if(s.length>2){s=s.toLowerCase()}else{s=s.toUpperCase()}h.loadCountry(browserslist.usage,s,browserslist.data);i=browserslist.usage[s]}else{if("dataByBrowser"in s){s=s.dataByBrowser}i={};for(var l in s){for(var u in s[l]){i[l+" "+u]=s[l][u]}}}return t.reduce(function(t,s){var r=i[s];if(r===undefined){r=i[s.replace(/ \S+$/," 0")]}return t+(r||0)},0)};function nodeQuery(t,s){var i=browserslist.nodeVersions.filter(function(t){return isVersionsMatch(t,s.version)});if(i.length===0){if(t.ignoreUnknownVersions){return[]}else{throw new f("Unknown version "+s.version+" of Node.js")}}return["node "+i[i.length-1]]}function sinceQuery(t,s){var i=parseInt(s.year);var r=parseInt(s.month||"01")-1;var a=parseInt(s.day||"01");return filterByYear(Date.UTC(i,r,a,0,0,0),t)}function bbmTransform(t){var s={chrome:"chrome",chrome_android:"and_chr",edge:"edge",firefox:"firefox",firefox_android:"and_ff",safari:"safari",safari_ios:"ios_saf",webview_android:"android",samsunginternet_android:"samsung",opera_android:"op_mob",opera:"opera",qq_android:"and_qq",uc_android:"and_uc",kai_os:"kaios"};return t.filter(function(t){return Object.keys(s).indexOf(t.browser)!==-1}).map(function(t){return s[t.browser]+" >= "+t.version})}function coverQuery(t,s){var i=parseFloat(s.coverage);var r=browserslist.usage.global;if(s.place){if(s.place.match(/^my\s+stats$/i)){if(!t.customUsage){throw new f("Custom usage statistics was not provided")}r=t.customUsage}else{var a;if(s.place.length===2){a=s.place.toUpperCase()}else{a=s.place.toLowerCase()}h.loadCountry(browserslist.usage,a,browserslist.data);r=browserslist.usage[a]}}else if(s.config){r=loadCustomUsage(t,s.config)}var o=Object.keys(r).sort(function(t,s){return r[s]-r[t]});var l=0;var u=[];var p;for(var m=0;m<o.length;m++){p=o[m];if(!r[p])break;l+=r[p];u.push(p);if(l>=i)break}return u}var P={last_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+major\s+versions?$/i,select:function(t,s){return Object.keys(o).reduce(function(i,r){var a=byName(r,t);if(!a)return i;var o=getMajorVersions(a.released,s.versions);o=o.map(nameMapper(a.name));o=filterJumps(o,a.name,s.versions,t);return i.concat(o)},[])}},last_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+versions?$/i,select:function(t,s){return Object.keys(o).reduce(function(i,r){var a=byName(r,t);if(!a)return i;var o=a.released.slice(-s.versions);o=o.map(nameMapper(a.name));o=filterJumps(o,a.name,s.versions,t);return i.concat(o)},[])}},last_electron_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+electron\s+major\s+versions?$/i,select:function(t,s){var i=getMajorVersions(Object.keys(l),s.versions);return i.map(function(t){return"chrome "+l[t]})}},last_node_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+node\s+major\s+versions?$/i,select:function(t,s){return getMajorVersions(browserslist.nodeVersions,s.versions).map(function(t){return"node "+t})}},last_browser_major_versions:{matches:["versions","browser"],regexp:/^last\s+(\d+)\s+(\w+)\s+major\s+versions?$/i,select:function(t,s){var i=checkName(s.browser,t);var r=getMajorVersions(i.released,s.versions);var a=r.map(nameMapper(i.name));a=filterJumps(a,i.name,s.versions,t);return a}},last_electron_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+electron\s+versions?$/i,select:function(t,s){return Object.keys(l).slice(-s.versions).map(function(t){return"chrome "+l[t]})}},last_node_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+node\s+versions?$/i,select:function(t,s){return browserslist.nodeVersions.slice(-s.versions).map(function(t){return"node "+t})}},last_browser_versions:{matches:["versions","browser"],regexp:/^last\s+(\d+)\s+(\w+)\s+versions?$/i,select:function(t,s){var i=checkName(s.browser,t);var r=i.released.slice(-s.versions).map(nameMapper(i.name));r=filterJumps(r,i.name,s.versions,t);return r}},unreleased_versions:{matches:[],regexp:/^unreleased\s+versions$/i,select:function(t){return Object.keys(o).reduce(function(s,i){var r=byName(i,t);if(!r)return s;var a=r.versions.filter(function(t){return r.released.indexOf(t)===-1});a=a.map(nameMapper(r.name));return s.concat(a)},[])}},unreleased_electron_versions:{matches:[],regexp:/^unreleased\s+electron\s+versions?$/i,select:function(){return[]}},unreleased_browser_versions:{matches:["browser"],regexp:/^unreleased\s+(\w+)\s+versions?$/i,select:function(t,s){var i=checkName(s.browser,t);return i.versions.filter(function(t){return i.released.indexOf(t)===-1}).map(nameMapper(i.name))}},last_years:{matches:["years"],regexp:/^last\s+((\d+\.)?\d+)\s+years?$/i,select:function(t,s){return filterByYear(Date.now()-g*s.years,t)}},since_y:{matches:["year"],regexp:/^since (\d+)$/i,select:sinceQuery},since_y_m:{matches:["year","month"],regexp:/^since (\d+)-(\d+)$/i,select:sinceQuery},since_y_m_d:{matches:["year","month","day"],regexp:/^since (\d+)-(\d+)-(\d+)$/i,select:sinceQuery},baseline:{matches:["year","availability","date","downstream","kaios"],regexp:/^baseline\s+(?!\s)(?:(\d+)|(newly|widely)\s+(?!\s)available(?:\s+(?!\s)on\s+(?!\s)(\d{4}-\d{2}-\d{2}))?)?(\s+(?!\s)with\s+(?!\s)downstream)?(\s+(?!\s)including\s+(?!\s)kaios)?$/i,select:function(t,s){var i=s.availability&&s.availability.toLowerCase();if(i==="newly"&&s.date){throw new f('Using newly available with a date is not supported, please use "widely available on YYYY-MM-DD" and add 30 months to the date you specified.')}var a={includeDownstreamBrowsers:!!s.downstream,includeKaiOS:!!s.kaios,suppressWarnings:true};if(s.year){a.targetYear=s.year}else if(s.date){a.widelyAvailableOnDate=s.date}else if(i==="newly"){a.widelyAvailableOnDate=(new Date).setMonth((new Date).getMonth()+30)}var o;if(a.includeKaiOS&&!a.includeDownstreamBrowsers){a.includeDownstreamBrowsers=true;var l=r.getCompatibleVersions(a);a.includeDownstreamBrowsers=false;a.includeKaiOS=false;o=r.getCompatibleVersions(a).concat(l.filter(function(t){return t.browser==="kai_os"}))}else{o=r.getCompatibleVersions(a)}return resolve(bbmTransform(o),t)}},popularity:{matches:["sign","popularity"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%$/,select:function(t,s){var i=parseFloat(s.popularity);var r=browserslist.usage.global;return filterUsage(r,s.sign,i)}},popularity_in_my_stats:{matches:["sign","popularity"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+my\s+stats$/i,select:function(t,s){var i=parseFloat(s.popularity);if(!t.customUsage){throw new f("Custom usage statistics was not provided")}var r=t.customUsage;return filterUsage(r,s.sign,i)}},popularity_in_config_stats:{matches:["sign","popularity","config"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/i,select:function(t,s){var i=parseFloat(s.popularity);var r=loadCustomUsage(t,s.config);return filterUsage(r,s.sign,i)}},popularity_in_place:{matches:["sign","popularity","place"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+((alt-)?\w\w)$/i,select:function(t,s){var i=parseFloat(s.popularity);var r=s.place;if(r.length===2){r=r.toUpperCase()}else{r=r.toLowerCase()}h.loadCountry(browserslist.usage,r,browserslist.data);var a=browserslist.usage[r];return filterUsage(a,s.sign,i)}},cover:{matches:["coverage"],regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%$/i,select:coverQuery},cover_in:{matches:["coverage","place"],regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(my\s+stats|(alt-)?\w\w)$/i,select:coverQuery},cover_config:{matches:["coverage","config"],regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/i,select:coverQuery},supports:{matches:["supportType","feature"],regexp:/^(?:(fully|partially)\s+)?supports\s+([\w-]+)$/i,select:function(t,s){h.loadFeature(browserslist.cache,s.feature);var i=s.supportType&&s.supportType.toLowerCase();var r=i!=="fully";var a=browserslist.cache[s.feature];var o=[];for(var l in a){var u=byName(l,t);var p=u.released.length-1;while(p>=0){if(u.released[p]in a[l])break;p--}var f=t.mobileToDesktop&&l in browserslist.desktopNames&&isSupported(a[l][u.released[p]],r);u.versions.forEach(function(t){var s=a[l][t];if(s===undefined&&f){s=a[browserslist.desktopNames[l]][t]}if(isSupported(s,r)){o.push(l+" "+t)}})}return o}},electron_range:{matches:["from","to"],regexp:/^electron\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(t,s){var i=normalizeElectron(s.from);var r=normalizeElectron(s.to);var a=parseFloat(s.from);var o=parseFloat(s.to);if(!l[i]){throw new f("Unknown version "+a+" of electron")}if(!l[r]){throw new f("Unknown version "+o+" of electron")}return Object.keys(l).filter(semverFilterLoose(">=",s.from)).filter(semverFilterLoose("<=",s.to)).map(function(t){return"chrome "+l[t]})}},node_range:{matches:["from","to"],regexp:/^node\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(t,s){return browserslist.nodeVersions.filter(semverFilterLoose(">=",s.from)).filter(semverFilterLoose("<=",s.to)).map(function(t){return"node "+t})}},browser_range:{matches:["browser","from","to"],regexp:/^(\w+)\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(t,s){var i=checkName(s.browser,t);var r=parseFloat(normalizeVersion(i,s.from)||s.from);var a=parseFloat(normalizeVersion(i,s.to)||s.to);function filter(t){var s=parseFloat(t);return s>=r&&s<=a}return i.released.filter(filter).map(nameMapper(i.name))}},electron_ray:{matches:["sign","version"],regexp:/^electron\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(t,s){var i=normalizeElectron(s.version);return Object.keys(l).filter(generateFilter(s.sign,i)).map(function(t){return"chrome "+l[t]})}},node_ray:{matches:["sign","version"],regexp:/^node\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(t,s){return browserslist.nodeVersions.filter(generateSemverFilter(s.sign,s.version)).map(function(t){return"node "+t})}},browser_ray:{matches:["browser","sign","version"],regexp:/^(\w+)\s*(>=?|<=?)\s*([\d.]+|esr)$/i,select:function(t,s){var i=s.version;var r=checkName(s.browser,t);var a=browserslist.versionAliases[r.name][i.toLowerCase()];if(a)i=a;if(!/[\d.]+/.test(i)){throw new f("Unknown version "+i+" of "+s.browser)}return r.released.filter(generateFilter(s.sign,i)).map(function(t){return r.name+" "+t})}},firefox_esr:{matches:[],regexp:/^(firefox|ff|fx)\s+esr$/i,select:function(){return["firefox "+_]}},opera_mini_all:{matches:[],regexp:/(operamini|op_mini)\s+all/i,select:function(){return["op_mini all"]}},electron_version:{matches:["version"],regexp:/^electron\s+([\d.]+)$/i,select:function(t,s){var i=normalizeElectron(s.version);var r=l[i];if(!r){throw new f("Unknown version "+s.version+" of electron")}return["chrome "+r]}},node_major_version:{matches:["version"],regexp:/^node\s+(\d+)$/i,select:nodeQuery},node_minor_version:{matches:["version"],regexp:/^node\s+(\d+\.\d+)$/i,select:nodeQuery},node_patch_version:{matches:["version"],regexp:/^node\s+(\d+\.\d+\.\d+)$/i,select:nodeQuery},current_node:{matches:[],regexp:/^current\s+node$/i,select:function(t){return[h.currentNode(resolve,t)]}},maintained_node:{matches:[],regexp:/^maintained\s+node\s+versions$/i,select:function(t){var s=Date.now();var i=Object.keys(u).filter(function(t){return s<Date.parse(u[t].end)&&s>Date.parse(u[t].start)&&isEolReleased(t)}).map(function(t){return"node "+t.slice(1)});return resolve(i,t)}},phantomjs_1_9:{matches:[],regexp:/^phantomjs\s+1.9$/i,select:function(){return["safari 5"]}},phantomjs_2_1:{matches:[],regexp:/^phantomjs\s+2.1$/i,select:function(){return["safari 6"]}},browser_version:{matches:["browser","version"],regexp:/^(\w+)\s+(tp|[\d.]+)$/i,select:function(t,s){var i=s.version;if(/^tp$/i.test(i))i="TP";var r=checkName(s.browser,t);var a=normalizeVersion(r,i);if(a){i=a}else{if(i.indexOf(".")===-1){a=i+".0"}else{a=i.replace(/\.0$/,"")}a=normalizeVersion(r,a);if(a){i=a}else if(t.ignoreUnknownVersions){return[]}else{throw new f("Unknown version "+i+" of "+s.browser)}}return[r.name+" "+i]}},browserslist_config:{matches:[],regexp:/^browserslist config$/i,needsPath:true,select:function(t){return browserslist(undefined,t)}},extends:{matches:["config"],regexp:/^extends (.+)$/i,needsPath:true,select:function(t,s){return resolve(h.loadQueries(t,s.config),t)}},defaults:{matches:[],regexp:/^defaults$/i,select:function(t){return resolve(browserslist.defaults,t)}},dead:{matches:[],regexp:/^dead$/i,select:function(t){var s=["Baidu >= 0","ie <= 11","ie_mob <= 11","bb <= 10","op_mob <= 12.1","samsung 4"];return resolve(s,t)}},unknown:{matches:[],regexp:/^(\w+)$/i,select:function(t,s){if(byName(s.query,t)){throw new f("Specify versions in Browserslist query for browser "+s.query)}else{throw unknownQuery(s.query)}}}};(function(){for(var t in o){var s=o[t];browserslist.data[t]={name:t,versions:normalize(o[t].versions),released:normalize(o[t].versions.slice(0,-3)),releaseDate:o[t].release_date};fillUsage(browserslist.usage.global,t,s.usage_global);browserslist.versionAliases[t]={};for(var i=0;i<s.versions.length;i++){var r=s.versions[i];if(!r)continue;if(r.indexOf("-")!==-1){var l=r.split("-");for(var u=0;u<l.length;u++){browserslist.versionAliases[t][l[u]]=r}}}}browserslist.nodeVersions=a.map(function(t){return t.version})})();browserslist.versionAliases.firefox.esr=_;t.exports=browserslist},11393:(s,i,r)=>{var a=r(13702)["default"];var o=r(84358)["default"];var l=r(79896);var u=r(16928);var p=r(76747);var f=/^\s*\[(.+)]\s*$/;var h=/^browserslist-config-/;var m=/^@[^/]+(?:\/[^/]+)?\/browserslist-config(?:-|$|\/)/;var g="Browserslist config should be a string or an array "+"of strings with browser queries";var x="unknown";var k="directory";var _="file";var T=false;var C={};var A={};var I={};function checkExtend(t){var s=" Use `dangerousExtend` option to disable.";if(!h.test(t)&&!m.test(t)){throw new p("Browserslist config needs `browserslist-config-` prefix. "+s)}if(t.indexOf("\\")!==-1){throw new p("`\\` not allowed in Browserslist config name. "+s)}if(t.replace(/^@[^/]+\//,"").indexOf(".")!==-1){throw new p("`.` not allowed in Browserslist config name. "+s)}if(t.indexOf("node_modules")!==-1){throw new p("`node_modules` not allowed in Browserslist config."+s)}}function getPathType(t){var s;try{s=l.existsSync(t)&&l.statSync(t)}catch(t){if(t.code!=="ENOENT"&&t.code!=="EACCES"&&t.code!=="ERR_ACCESS_DENIED"){throw t}}if(s&&s.isDirectory())return k;if(s&&s.isFile())return _;return x}function isFile(t){return getPathType(t)===_}function isDirectory(t){return getPathType(t)===k}function eachParent(t,s,i){var r=u.resolve(t);var a=[];var o;do{if(!pathInRoot(r)){break}if(i&&r in i){o=i[r];break}a.push(r);if(!isDirectory(r)){continue}var l=s(r);if(typeof l!=="undefined"){o=l;break}}while(r!==(r=u.dirname(r)));if(i&&!process.env.BROWSERSLIST_DISABLE_CACHE){a.forEach(function(t){i[t]=o})}return o}function pathInRoot(t){if(!process.env.BROWSERSLIST_ROOT_PATH)return true;var s=u.resolve(process.env.BROWSERSLIST_ROOT_PATH);if(u.relative(s,t).substring(0,2)===".."){return false}return true}function check(t){if(Array.isArray(t)){for(var s=0;s<t.length;s++){if(typeof t[s]!=="string"){throw new p(g)}}}else if(typeof t!=="string"){throw new p(g)}}function pickEnv(t,s){if(typeof t!=="object")return t;var i;if(typeof s.env==="string"){i=s.env}else if(process.env.BROWSERSLIST_ENV){i=process.env.BROWSERSLIST_ENV}else if(process.env.NODE_ENV){i=process.env.NODE_ENV}else{i="production"}if(s.throwOnMissing){if(i&&i!=="defaults"&&!t[i]){throw new p("Missing config for Browserslist environment `"+i+"`")}}return t[i]||t.defaults}function parsePackage(t){var s=l.readFileSync(t).toString().replace(/^\uFEFF/m,"");var i;if(s.indexOf('"browserslist"')>=0){i=JSON.parse(s).browserslist}else if(s.indexOf('"browserlist"')>=0){var r=JSON.parse(s);if(r.browserlist&&!r.browserslist){throw new p("`browserlist` key instead of `browserslist` in "+t)}}if(Array.isArray(i)||typeof i==="string"){i={defaults:i}}for(var a in i){check(i[a])}return i}function parsePackageOrReadConfig(t){if(t in I){return I[t]}var i=u.basename(t)==="package.json";var r=i?parsePackage(t):s.exports.readConfig(t);if(!process.env.BROWSERSLIST_DISABLE_CACHE){I[t]=r}return r}function latestReleaseTime(t){var s=0;for(var i in t){var r=t[i].releaseDate||{};for(var a in r){if(s<r[a]){s=r[a]}}}return s*1e3}function getMonthsPassed(t){var s=new Date;var i=new Date(t);var r=s.getFullYear()-i.getFullYear();var a=s.getMonth()-i.getMonth();return r*12+a}function normalizeStats(t,s){if(!t){t={}}if(s&&"dataByBrowser"in s){s=s.dataByBrowser}if(typeof s!=="object")return undefined;var i=Object.create(null);for(var r in s){var a=Object.keys(s[r]);var o=Object.prototype.hasOwnProperty.call(t,r)&&t[r];if(a.length===1&&o&&o.versions.length===1){var l=o.versions[0];i[r]=Object.create(null);i[r][l]=s[r][a[0]]}else{i[r]=s[r]}}return i}function normalizeUsageData(t,s){for(var i in t){var r=t[i];if("0"in r){var a=s[i].versions;r[a[a.length-1]]=r[0];delete r[0]}}}s.exports={loadQueries:function loadQueries(s,i){if(!s.dangerousExtend&&!process.env.BROWSERSLIST_DANGEROUS_EXTEND){checkExtend(i)}var a=t(import.meta.url)(r(64973).resolve(i,{paths:[".",s.path]}));if(typeof a==="object"&&a!==null&&a.__esModule){a=a.default}if(a){if(Array.isArray(a)){return a}else if(typeof a==="object"){if(!a.defaults)a.defaults=[];return pickEnv(a,s,i)}}throw new p("`"+i+"` config exports not an array of queries"+" or an object of envs")},loadStat:function loadStat(s,i,a){if(!s.dangerousExtend&&!process.env.BROWSERSLIST_DANGEROUS_EXTEND){checkExtend(i)}var o=t(import.meta.url)(r(64973).resolve(u.posix.join(i,"browserslist-stats.json"),{paths:["."]}));return normalizeStats(a,o)},getStat:function getStat(t,s){var i;if(t.stats){i=t.stats}else if(process.env.BROWSERSLIST_STATS){i=process.env.BROWSERSLIST_STATS}else if(t.path&&u.resolve&&l.existsSync){i=eachParent(t.path,function(t){var s=u.join(t,"browserslist-stats.json");return isFile(s)?s:undefined},C)}if(typeof i==="string"){try{i=JSON.parse(l.readFileSync(i))}catch(t){throw new p("Can't read "+i)}}return normalizeStats(s,i)},loadConfig:function loadConfig(t){if(process.env.BROWSERSLIST){return process.env.BROWSERSLIST}else if(t.config||process.env.BROWSERSLIST_CONFIG){var i=t.config||process.env.BROWSERSLIST_CONFIG;return pickEnv(parsePackageOrReadConfig(i),t)}else if(t.path){return pickEnv(s.exports.findConfig(t.path),t)}else{return undefined}},loadCountry:function loadCountry(s,i,r){var a=i.replace(/[^\w-]/g,"");if(!s[a]){var l;try{l=t(import.meta.url)("caniuse-lite/data/regions/"+a+".js")}catch(t){throw new p("Unknown region name `"+a+"`.")}var u=o(l);normalizeUsageData(u,r);s[i]=Object.create(null);for(var f in u){for(var h in u[f]){s[i][f+" "+h]=u[f][h]}}}},loadFeature:function loadFeature(s,i){i=i.replace(/[^\w-]/g,"");if(s[i])return;var r;try{r=t(import.meta.url)("caniuse-lite/data/features/"+i+".js")}catch(t){throw new p("Unknown feature name `"+i+"`.")}var o=a(r).stats;s[i]={};for(var l in o){s[i][l]={};for(var u in o[l]){s[i][l][u]=o[l][u]}}},parseConfig:function parseConfig(t){var s={defaults:[]};var i=["defaults"];t.toString().replace(/#[^\n]*/g,"").split(/\n|,/).map(function(t){return t.trim()}).filter(function(t){return t!==""}).forEach(function(t){if(f.test(t)){i=t.match(f)[1].trim().split(" ");i.forEach(function(t){if(s[t]){throw new p("Duplicate section "+t+" in Browserslist config")}s[t]=[]})}else{i.forEach(function(i){s[i].push(t)})}});return s},readConfig:function readConfig(t){if(!isFile(t)){throw new p("Can't read "+t+" config")}return s.exports.parseConfig(l.readFileSync(t))},findConfigFile:function findConfigFile(t){return eachParent(t,function(t){var s=u.join(t,"browserslist");var i=u.join(t,"package.json");var r=u.join(t,".browserslistrc");var a;if(isFile(i)){try{a=parsePackage(i)}catch(t){if(t.name==="BrowserslistError")throw t;console.warn("[Browserslist] Could not parse "+i+". Ignoring it.")}}if(isFile(s)&&a){throw new p(t+" contains both browserslist and package.json with browsers")}else if(isFile(r)&&a){throw new p(t+" contains both .browserslistrc and package.json with browsers")}else if(isFile(s)&&isFile(r)){throw new p(t+" contains both .browserslistrc and browserslist")}else if(isFile(s)){return s}else if(isFile(r)){return r}else if(a){return i}},A)},findConfig:function findConfig(t){var s=this.findConfigFile(t);return s?parsePackageOrReadConfig(s):undefined},clearCaches:function clearCaches(){T=false;C={};A={};I={};this.cache={}},oldDataWarning:function oldDataWarning(t){if(T)return;T=true;if(process.env.BROWSERSLIST_IGNORE_OLD_DATA)return;var s=latestReleaseTime(t);var i=getMonthsPassed(s);if(s!==0&&i>=6){if(process.env.BROWSERSLIST_TRACE_WARNING){console.info("Last browser release in DB: "+String(new Date(s)));console.trace()}var r=i+" "+(i>1?"months":"month");console.warn("Browserslist: browsers data (caniuse-lite) is "+r+" old. Please run:\n"+" npx update-browserslist-db@latest\n"+" Why you should do it regularly: "+"https://github.com/browserslist/update-db#readme")}},currentNode:function currentNode(){return"node "+process.versions.node},env:process.env}},49694:t=>{var s=/\s/;function endsWithOperator(t){var i=t.length;while(i>0&&s.test(t[i-1]))i--;if(t[i-1]===","){return t.slice(0,i-1).trim().length>0}var r=t.slice(Math.max(0,i-3),i).toLowerCase();var a=0;if(r==="and"){a=3}else if(r.slice(-2)==="or"){a=2}if(a===0||i<=a||!s.test(t[i-a-1])){return false}return t.slice(0,i-a).trim().length>0}function flatten(t){if(!Array.isArray(t))return[t];var s=[];var i=[t];while(i.length){var r=i.pop();if(Array.isArray(r)){for(var a=r.length-1;a>=0;a--){i.push(r[a])}}else{s.push(r)}}return s}function matchQuery(t,s){var i={query:s};if(/^not /i.test(s)){i.not=true;s=s.slice(4)}for(var r in t){var a=t[r];var o=s.match(a.regexp);if(o){i.type=r;for(var l=0;l<a.matches.length;l++){i[a.matches[l]]=o[l+1]}return i}}i.type="unknown";return i}function pushClause(t,s,i,r){var a=matchQuery(t,i.trim());a.compose=r;s.push(a)}function parseBlock(t,i,r){if(i.length===0)return;var a=i.length;var o=0;var l="or";var u=0;while(u<a){var p=i[u];if(p===","){if(u!==0)pushClause(t,r,i.slice(o,u),l);u++;while(u<a&&s.test(i[u]))u++;l="or";o=u;continue}if(s.test(p)){var f=u;while(f<a&&s.test(i[f]))f++;if(f+3<a&&(i[f]==="a"||i[f]==="A")&&(i[f+1]==="n"||i[f+1]==="N")&&(i[f+2]==="d"||i[f+2]==="D")&&s.test(i[f+3])){if(u!==0)pushClause(t,r,i.slice(o,u),l);var h=f+3;while(h<a&&s.test(i[h]))h++;l="and";u=h;o=h;continue}else if(f+2<a&&(i[f]==="o"||i[f]==="O")&&(i[f+1]==="r"||i[f+1]==="R")&&s.test(i[f+2])){if(u!==0)pushClause(t,r,i.slice(o,u),l);var m=f+2;while(m<a&&s.test(i[m]))m++;l="or";u=m;o=m;continue}else{u=f;continue}}u++}pushClause(t,r,i.slice(o),l)}t.exports=function parse(t,s){if(!Array.isArray(s))s=[s];var i=[];var r=[];s.forEach(function(t){if(t.length===0)return;r.push(t);if(endsWithOperator(t))return;i.push(r.join("\n"));r=[]});if(r.length>0)i.push(r.join("\n"));return flatten(i.map(function(s){var i=[];parseBlock(t,s,i);return i}))}},48540:t=>{t.exports={A:{A:{L:0,D:0,E:0,F:0,A:0,B:.235824,FD:0},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","FD","L","D","E","F","A","B","","",""],E:"IE",F:{FD:962323200,L:998870400,D:1161129600,E:1237420800,F:1300060800,A:1346716800,B:1381968e3}},B:{A:{0:0,1:0,2:0,3:.201433,4:.216172,5:0,6:.014739,7:0,8:.014739,9:0,C:0,M:0,N:0,G:0,O:0,P:0,Q:0,R:0,H:0,S:0,T:0,U:0,V:0,W:0,X:0,Y:0,Z:0,a:0,b:0,c:.009826,d:0,e:0,f:0,g:0,h:0,i:0,j:0,k:0,l:0,m:0,n:0,o:0,p:0,q:0,r:0,s:0,t:.029478,u:0,v:0,w:0,x:0,y:0,z:0,AB:0,BB:0,RB:.004913,SB:0,TB:0,CB:.024565,DB:0,EB:.014739,FB:0,GB:.004913,UB:.004913,VB:.004913,WB:.009826,XB:.009826,YB:.009826,ZB:.009826,aB:.009826,bB:.009826,cB:.024565,dB:.014739,eB:.024565,fB:.029478,gB:.024565,hB:.054043,iB:.510952,jB:3.62088,kB:.211259,lB:0,I:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","C","M","N","G","O","P","Q","R","H","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","RB","SB","TB","CB","DB","EB","FB","GB","UB","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","I","","",""],E:"Edge",F:{0:1692576e3,1:1694649600,2:1697155200,3:1698969600,4:1701993600,5:1706227200,6:1708732800,7:1711152e3,8:1713398400,9:1715990400,C:1438128e3,M:1447286400,N:1470096e3,G:1491868800,O:1508198400,P:1525046400,Q:1542067200,R:1579046400,H:1581033600,S:1586736e3,T:1590019200,U:1594857600,V:1598486400,W:1602201600,X:1605830400,Y:161136e4,Z:1614816e3,a:1618358400,b:1622073600,c:1626912e3,d:1630627200,e:1632441600,f:1634774400,g:1637539200,h:1641427200,i:1643932800,j:1646265600,k:1649635200,l:1651190400,m:1653955200,n:1655942400,o:1659657600,p:1661990400,q:1664755200,r:1666915200,s:1670198400,t:1673481600,u:1675900800,v:1678665600,w:1680825600,x:1683158400,y:1685664e3,z:1689897600,AB:1718841600,BB:1721865600,RB:1724371200,SB:1726704e3,TB:1729123200,CB:1731542400,DB:1737417600,EB:1740614400,FB:1741219200,GB:1743984e3,UB:1746316800,VB:1748476800,WB:1750896e3,XB:1754611200,YB:1756944e3,ZB:1759363200,aB:1761868800,bB:1764806400,cB:1768780800,dB:1770854400,eB:1773446400,fB:1775692800,gB:1778112e3,hB:1780531200,iB:1782950400,jB:1785369600,kB:1787788800,lB:1788998400,I:1790208e3},D:{C:"ms",M:"ms",N:"ms",G:"ms",O:"ms",P:"ms",Q:"ms"}},C:{A:{0:0,1:0,2:0,3:0,4:.216172,5:.407779,6:0,7:.019652,8:.009826,9:.009826,GD:0,fC:0,J:0,mB:.004913,L:0,D:0,E:0,F:0,A:0,B:0,C:0,M:0,N:0,G:0,O:0,P:0,Q:0,nB:0,HB:0,IB:0,JB:0,KB:0,LB:0,MB:0,NB:0,K:0,OB:0,PB:0,QB:0,oB:0,pB:0,qB:0,rB:0,sB:0,tB:0,uB:0,vB:0,wB:0,xB:0,yB:0,zB:0,"0B":0,"1B":0,"2B":0,"3B":0,"4B":0,"5B":0,"6B":0,"7B":0,"8B":0,"9B":.004913,AC:0,BC:0,CC:0,DC:0,EC:0,FC:0,gC:0,GC:0,hC:0,HC:0,IC:0,JC:0,KC:0,LC:0,MC:0,NC:0,OC:0,PC:0,QC:0,RC:0,SC:0,TC:0,UC:0,VC:0,WC:0,XC:0,R:0,H:0,S:0,iC:0,T:0,U:0,V:0,W:0,X:0,Y:0,Z:0,a:0,b:0,c:0,d:0,e:0,f:0,g:0,h:0,i:0,j:0,k:0,l:0,m:0,n:0,o:0,p:0,q:0,r:0,s:0,t:0,u:0,v:0,w:0,x:0,y:0,z:.127738,AB:0,BB:.004913,RB:.014739,SB:.004913,TB:0,CB:0,DB:.014739,EB:.024565,FB:0,GB:.132651,UB:.009826,VB:0,WB:0,XB:0,YB:.073695,ZB:0,aB:0,bB:0,cB:0,dB:0,eB:.004913,fB:.019652,gB:.004913,hB:.004913,iB:.024565,jB:.014739,kB:.073695,lB:.825384,I:.451996,jC:0,kC:0,YC:0,HD:0,ID:0,JD:0,KD:0,LD:0},B:"moz",C:["GD","fC","KD","LD","J","mB","L","D","E","F","A","B","C","M","N","G","O","P","Q","nB","HB","IB","JB","KB","LB","MB","NB","K","OB","PB","QB","oB","pB","qB","rB","sB","tB","uB","vB","wB","xB","yB","zB","0B","1B","2B","3B","4B","5B","6B","7B","8B","9B","AC","BC","CC","DC","EC","FC","gC","GC","hC","HC","IC","JC","KC","LC","MC","NC","OC","PC","QC","RC","SC","TC","UC","VC","WC","XC","R","H","S","iC","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","RB","SB","TB","CB","DB","EB","FB","GB","UB","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","I","jC","kC","YC","HD","ID","JD"],E:"Firefox",F:{0:1690848e3,1:1693267200,2:1695686400,3:1698105600,4:1700524800,5:1702944e3,6:1705968e3,7:1708387200,8:1710806400,9:1713225600,GD:1161648e3,fC:1213660800,KD:124632e4,LD:1264032e3,J:1300752e3,mB:1308614400,L:1313452800,D:1317081600,E:1317081600,F:1320710400,A:1324339200,B:1327968e3,C:1331596800,M:1335225600,N:1338854400,G:1342483200,O:1346112e3,P:1349740800,Q:1353628800,nB:1357603200,HB:1361232e3,IB:1364860800,JB:1368489600,KB:1372118400,LB:1375747200,MB:1379376e3,NB:1386633600,K:1391472e3,OB:1395100800,PB:1398729600,QB:1402358400,oB:1405987200,pB:1409616e3,qB:1413244800,rB:1417392e3,sB:1421107200,tB:1424736e3,uB:1428278400,vB:1431475200,wB:1435881600,xB:1439251200,yB:144288e4,zB:1446508800,"0B":1450137600,"1B":1453852800,"2B":1457395200,"3B":1461628800,"4B":1465257600,"5B":1470096e3,"6B":1474329600,"7B":1479168e3,"8B":1485216e3,"9B":1488844800,AC:149256e4,BC:1497312e3,CC:1502150400,DC:1506556800,EC:1510617600,FC:1516665600,gC:1520985600,GC:1525824e3,hC:1529971200,HC:1536105600,IC:1540252800,JC:1544486400,KC:154872e4,LC:1552953600,MC:1558396800,NC:1562630400,OC:1567468800,PC:1571788800,QC:1575331200,RC:1578355200,SC:1581379200,TC:1583798400,UC:1586304e3,VC:1588636800,WC:1591056e3,XC:1593475200,R:1595894400,H:1598313600,S:1600732800,iC:1603152e3,T:1605571200,U:1607990400,V:1611619200,W:1614038400,X:1616457600,Y:1618790400,Z:1622505600,a:1626134400,b:1628553600,c:1630972800,d:1633392e3,e:1635811200,f:1638835200,g:1641859200,h:1644364800,i:1646697600,j:1649116800,k:1651536e3,l:1653955200,m:1656374400,n:1658793600,o:1661212800,p:1663632e3,q:1666051200,r:1668470400,s:1670889600,t:1673913600,u:1676332800,v:1678752e3,w:1681171200,x:1683590400,y:1686009600,z:1688428800,AB:1715644800,BB:1718064e3,RB:1720483200,SB:1722902400,TB:1725321600,CB:1727740800,DB:173016e4,EB:1732579200,FB:1736208e3,GB:1738627200,UB:1741046400,VB:1743465600,WB:1745884800,XB:1748304e3,YB:1750723200,ZB:1753142400,aB:1755561600,bB:1757980800,cB:17604e5,dB:1762819200,eB:1765238400,fB:1768262400,gB:1771891200,hB:1774310400,iB:1776729600,jB:1779148800,kB:1781568e3,lB:1784592e3,I:1787011200,jC:1788220800,kC:1789430400,YC:179064e4,HD:null,ID:null,JD:null}},D:{A:{0:.137564,1:.058956,2:.225998,3:.422518,4:.515865,5:.024565,6:.039304,7:.024565,8:.142477,9:.19652,J:0,mB:0,L:0,D:0,E:0,F:0,A:0,B:0,C:0,M:0,N:0,G:0,O:0,P:0,Q:0,nB:0,HB:0,IB:0,JB:0,KB:0,LB:0,MB:0,NB:0,K:0,OB:0,PB:0,QB:0,oB:0,pB:0,qB:0,rB:0,sB:0,tB:0,uB:0,vB:0,wB:.019652,xB:.019652,yB:.019652,zB:.019652,"0B":.019652,"1B":.019652,"2B":.019652,"3B":.019652,"4B":.019652,"5B":.024565,"6B":.024565,"7B":.019652,"8B":.019652,"9B":.024565,AC:.024565,BC:.019652,CC:.019652,DC:.019652,EC:.019652,FC:.019652,gC:.019652,GC:.019652,hC:0,HC:0,IC:0,JC:0,KC:0,LC:0,MC:0,NC:0,OC:.044217,PC:.058956,QC:0,RC:0,SC:0,TC:0,UC:0,VC:0,WC:0,XC:0,R:.019652,H:0,S:0,T:0,U:0,V:0,W:.004913,X:.019652,Y:0,Z:0,a:0,b:.004913,c:0,d:.009826,e:0,f:0,g:0,h:.004913,i:.019652,j:.004913,k:0,l:.009826,m:.009826,n:.108086,o:.054043,p:.054043,q:.054043,r:.054043,s:.058956,t:.555169,u:.054043,v:.078608,w:.054043,x:0,y:.014739,z:.009826,AB:.039304,BB:.014739,RB:.04913,SB:.009826,TB:.029478,CB:.191607,DB:.171955,EB:.137564,FB:.034391,GB:.039304,UB:.117912,VB:.14739,WB:.117912,XB:.058956,YB:.044217,ZB:.044217,aB:.235824,bB:.044217,cB:.329171,dB:4.05814,eB:.108086,fB:.181781,gB:.338997,hB:1.57707,iB:3.84688,jB:9.34944,kB:.481474,lB:.014739,I:0,jC:0,kC:0,YC:0},B:"webkit",C:["","","","","","","","","J","mB","L","D","E","F","A","B","C","M","N","G","O","P","Q","nB","HB","IB","JB","KB","LB","MB","NB","K","OB","PB","QB","oB","pB","qB","rB","sB","tB","uB","vB","wB","xB","yB","zB","0B","1B","2B","3B","4B","5B","6B","7B","8B","9B","AC","BC","CC","DC","EC","FC","gC","GC","hC","HC","IC","JC","KC","LC","MC","NC","OC","PC","QC","RC","SC","TC","UC","VC","WC","XC","R","H","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","RB","SB","TB","CB","DB","EB","FB","GB","UB","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","I","jC","kC","YC"],E:"Chrome",F:{0:1692057600,1:1694476800,2:1696896e3,3:1698710400,4:1701993600,5:1705968e3,6:1708387200,7:1710806400,8:1713225600,9:1715644800,J:1264377600,mB:1274745600,L:1283385600,D:1287619200,E:1291248e3,F:1296777600,A:1299542400,B:1303862400,C:1307404800,M:1312243200,N:1316131200,G:1316131200,O:1319500800,P:1323734400,Q:1328659200,nB:1332892800,HB:133704e4,IB:1340668800,JB:1343692800,KB:1348531200,LB:1352246400,MB:1357862400,NB:1361404800,K:1364428800,OB:1369094400,PB:1374105600,QB:1376956800,oB:1384214400,pB:1389657600,qB:1392940800,rB:1397001600,sB:1400544e3,tB:1405468800,uB:1409011200,vB:141264e4,wB:1416268800,xB:1421798400,yB:1425513600,zB:1429401600,"0B":143208e4,"1B":1437523200,"2B":1441152e3,"3B":1444780800,"4B":1449014400,"5B":1453248e3,"6B":1456963200,"7B":1460592e3,"8B":1464134400,"9B":1469059200,AC:1472601600,BC:1476230400,CC:1480550400,DC:1485302400,EC:1489017600,FC:149256e4,gC:1496707200,GC:1500940800,hC:1504569600,HC:1508198400,IC:1512518400,JC:1516752e3,KC:1520294400,LC:1523923200,MC:1527552e3,NC:1532390400,OC:1536019200,PC:1539648e3,QC:1543968e3,RC:154872e4,SC:1552348800,TC:1555977600,UC:1559606400,VC:1564444800,WC:1568073600,XC:1571702400,R:1575936e3,H:1580860800,S:1586304e3,T:1589846400,U:1594684800,V:1598313600,W:1601942400,X:1605571200,Y:1611014400,Z:1614556800,a:1618272e3,b:1621987200,c:1626739200,d:1630368e3,e:1632268800,f:1634601600,g:1637020800,h:1641340800,i:1643673600,j:1646092800,k:1648512e3,l:1650931200,m:1653350400,n:1655769600,o:1659398400,p:1661817600,q:1664236800,r:1666656e3,s:166968e4,t:1673308800,u:1675728e3,v:1678147200,w:1680566400,x:1682985600,y:1685404800,z:1689724800,AB:1718064e3,BB:1721174400,RB:1724112e3,SB:1726531200,TB:1728950400,CB:1731369600,DB:1736812800,EB:1738627200,FB:1741046400,GB:1743465600,UB:1745884800,VB:1748304e3,WB:1750723200,XB:1754352e3,YB:1756771200,ZB:1759190400,aB:1761609600,bB:1764633600,cB:1768262400,dB:1770681600,eB:1773100800,fB:177552e4,gB:1777939200,hB:1780358400,iB:1782777600,jB:1785196800,kB:1787616e3,lB:1788825600,I:1790035200,jC:null,kC:null,YC:null}},E:{A:{J:0,mB:0,L:0,D:0,E:0,F:0,A:0,B:0,C:0,M:0,N:.004913,G:0,K:.009826,MD:0,lC:0,ND:0,OD:0,PD:0,QD:0,mC:0,ZC:0,aC:0,RD:.014739,SD:.014739,TD:0,nC:0,oC:0,bC:0,UD:.063869,cC:0,pC:.004913,qC:0,rC:.009826,sC:0,tC:.009826,VD:.103173,dC:.004913,uC:.093347,vC:.004913,wC:.009826,xC:.029478,yC:.034391,WD:.127738,eC:.004913,zC:.014739,"0C":.004913,"1C":.024565,"2C":.009826,"3C":.255476,"4C":.009826,"5C":.014739,"6C":.04913,"7C":.063869,"8C":.04913,"9C":.766428,AD:.663255,BD:0,CD:0,XD:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","MD","lC","J","mB","ND","L","OD","D","PD","E","F","QD","A","mC","B","ZC","C","aC","M","RD","N","SD","G","TD","nC","oC","bC","UD","cC","pC","qC","rC","sC","tC","VD","dC","uC","vC","wC","xC","yC","WD","eC","zC","0C","1C","2C","3C","4C","5C","6C","7C","8C","9C","AD","K","BD","CD","XD"],E:"Safari",F:{MD:1205798400,lC:1226534400,J:1244419200,mB:1275868800,ND:131112e4,L:1343174400,OD:13824e5,D:13824e5,PD:1410998400,E:1413417600,F:1443657600,QD:1458518400,A:1474329600,mC:1490572800,B:1505779200,ZC:1522281600,C:1537142400,aC:1553472e3,M:1568851200,RD:1585008e3,N:1600214400,SD:1619395200,G:1632096e3,TD:1635292800,nC:1639353600,oC:1647216e3,bC:1652745600,UD:1658275200,cC:1662940800,pC:1666569600,qC:1670889600,rC:1674432e3,sC:1679875200,tC:1684368e3,VD:1690156800,dC:1695686400,uC:1698192e3,vC:1702252800,wC:1705881600,xC:1709596800,yC:1715558400,WD:1722211200,eC:1726444800,zC:1730073600,"0C":1733875200,"1C":1737936e3,"2C":1743379200,"3C":1747008e3,"4C":1757894400,"5C":1762128e3,"6C":1762041600,"7C":1770854400,"8C":1774310400,"9C":1778457600,AD:1785110400,K:1789344e3,BD:null,CD:null,XD:null}},F:{A:{0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,F:0,B:0,C:0,G:0,O:0,P:0,Q:0,nB:0,HB:0,IB:0,JB:0,KB:0,LB:0,MB:0,NB:0,K:0,OB:0,PB:0,QB:0,oB:0,pB:0,qB:0,rB:0,sB:0,tB:0,uB:0,vB:0,wB:0,xB:0,yB:0,zB:0,"0B":0,"1B":0,"2B":0,"3B":0,"4B":0,"5B":0,"6B":0,"7B":0,"8B":0,"9B":0,AC:0,BC:0,CC:0,DC:0,EC:0,FC:0,GC:0,HC:0,IC:0,JC:0,KC:0,LC:0,MC:0,NC:0,OC:0,PC:0,QC:0,RC:0,SC:0,TC:0,UC:0,VC:0,WC:0,XC:0,R:0,H:0,S:0,iC:0,T:0,U:0,V:0,W:0,X:0,Y:0,Z:.024565,a:.024565,b:.024565,c:0,d:0,e:0,f:.029478,g:0,h:0,i:0,j:.009826,k:.142477,l:.014739,m:0,n:0,o:0,p:0,q:.009826,r:0,s:0,t:0,u:0,v:0,w:0,x:0,y:0,z:0,AB:0,BB:0,CB:0,DB:0,EB:.324258,FB:.275128,GB:.014739,YD:0,ZD:0,aD:0,bD:0,ZC:0,DD:0,cD:0,aC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","F","YD","ZD","aD","bD","B","ZC","DD","cD","C","aC","G","O","P","Q","nB","HB","IB","JB","KB","LB","MB","NB","K","OB","PB","QB","oB","pB","qB","rB","sB","tB","uB","vB","wB","xB","yB","zB","0B","1B","2B","3B","4B","5B","6B","7B","8B","9B","AC","BC","CC","DC","EC","FC","GC","HC","IC","JC","KC","LC","MC","NC","OC","PC","QC","RC","SC","TC","UC","VC","WC","XC","R","H","S","iC","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","GB","","",""],E:"Opera",F:{0:1736294400,1:1739404800,2:1744675200,3:1747094400,4:1751414400,5:1756339200,6:1757548800,7:1761609600,8:1762992e3,9:1764806400,F:1150761600,YD:1223424e3,ZD:1251763200,aD:1267488e3,bD:1277942400,B:1292457600,ZC:1302566400,DD:1309219200,cD:1323129600,C:1323129600,aC:1352073600,G:1372723200,O:1377561600,P:1381104e3,Q:1386288e3,nB:1390867200,HB:1393891200,IB:1399334400,JB:1401753600,KB:1405987200,LB:1409616e3,MB:1413331200,NB:1417132800,K:1422316800,OB:1425945600,PB:1430179200,QB:1433808e3,oB:1438646400,pB:1442448e3,qB:1445904e3,rB:1449100800,sB:1454371200,tB:1457308800,uB:146232e4,vB:1465344e3,wB:1470096e3,xB:1474329600,yB:1477267200,zB:1481587200,"0B":1486425600,"1B":1490054400,"2B":1494374400,"3B":1498003200,"4B":1502236800,"5B":1506470400,"6B":1510099200,"7B":1515024e3,"8B":1517961600,"9B":1521676800,AC:1525910400,BC:1530144e3,CC:1534982400,DC:1537833600,EC:1543363200,FC:1548201600,GC:1554768e3,HC:1561593600,IC:1566259200,JC:1570406400,KC:1573689600,LC:1578441600,MC:1583971200,NC:1587513600,OC:1592956800,PC:1595894400,QC:1600128e3,RC:1603238400,SC:161352e4,TC:1612224e3,UC:1616544e3,VC:1619568e3,WC:1623715200,XC:1627948800,R:1631577600,H:1633392e3,S:1635984e3,iC:1638403200,T:1642550400,U:1644969600,V:1647993600,W:1650412800,X:1652745600,Y:1654646400,Z:1657152e3,a:1660780800,b:1663113600,c:1668816e3,d:1668643200,e:1671062400,f:1675209600,g:1677024e3,h:1679529600,i:1681948800,j:1684195200,k:1687219200,l:1690329600,m:1692748800,n:1696204800,o:169992e4,p:169992e4,q:1702944e3,r:1707264e3,s:1710115200,t:1711497600,u:1716336e3,v:1719273600,w:1721088e3,x:1724284800,y:1727222400,z:1732665600,AB:1769990400,BB:1772064e3,CB:1776124800,DB:1779926400,EB:1782691200,FB:1785974400,GB:1787184e3},D:{F:"o",B:"o",C:"o",YD:"o",ZD:"o",aD:"o",bD:"o",ZC:"o",DD:"o",cD:"o",aC:"o"}},G:{A:{E:0,lC:0,dD:0,ED:.00264472,eD:0,fD:0,gD:.00264472,hD:0,iD:.00132236,jD:0,kD:0,lD:.014546,mD:.0978546,nD:.00264472,oD:0,pD:.0423155,qD:0,rD:.00793416,sD:0,tD:.00264472,uD:.0066118,vD:.00925652,wD:.0119012,nC:.0066118,oC:.00793416,bC:.0105789,xD:.206288,cC:.0158683,pC:.0277696,qC:.014546,rC:.033059,sC:.00793416,tC:.0119012,yD:.275051,dC:.0105789,uC:.0158683,vC:.014546,wC:.0211578,xC:.0304143,yC:.0621509,zD:.158683,eC:.0357037,zC:.0674404,"0C":.0462826,"1C":.112401,"2C":.0555391,"3C":1.7918,"4C":.100499,"5C":.101822,"6C":.268439,"7C":.30282,"8C":.234058,"9C":4.25139,AD:4.70363,"0D":0,BD:0,CD:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","lC","dD","ED","eD","fD","gD","E","hD","iD","jD","kD","lD","mD","nD","oD","pD","qD","rD","sD","tD","uD","vD","wD","nC","oC","bC","xD","cC","pC","qC","rC","sC","tC","yD","dC","uC","vC","wC","xC","yC","zD","eC","zC","0C","1C","2C","3C","4C","5C","6C","7C","8C","9C","AD","0D","BD","CD",""],E:"Safari on iOS",F:{lC:1270252800,dD:1283904e3,ED:1299628800,eD:1331078400,fD:1359331200,gD:1394409600,E:1410912e3,hD:1413763200,iD:1442361600,jD:1458518400,kD:1473724800,lD:1490572800,mD:1505779200,nD:1522281600,oD:1537142400,pD:1553472e3,qD:1568851200,rD:1572220800,sD:1580169600,tD:1585008e3,uD:1600214400,vD:1619395200,wD:1632096e3,nC:1639353600,oC:1647216e3,bC:1652659200,xD:1658275200,cC:1662940800,pC:1666569600,qC:1670889600,rC:1674432e3,sC:1679875200,tC:1684368e3,yD:1690156800,dC:1694995200,uC:1698192e3,vC:1702252800,wC:1705881600,xC:1709596800,yC:1715558400,zD:1722211200,eC:1726444800,zC:1730073600,"0C":1733875200,"1C":1737936e3,"2C":1743379200,"3C":1747008e3,"4C":1757894400,"5C":1762128e3,"6C":1765497600,"7C":1770854400,"8C":1774310400,"9C":1778457600,AD:1785110400,"0D":1789344e3,BD:null,CD:null}},H:{A:{"1D":0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","1D","","",""],E:"Opera Mini",F:{"1D":1426464e3}},I:{A:{fC:0,J:0,I:.0304855,"2D":0,"3D":0,"4D":0,"5D":30516e-10,ED:0,"6D":0,"7D":15258e-9},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","2D","3D","4D","fC","J","5D","ED","6D","7D","I","","",""],E:"Android Browser",F:{"2D":1256515200,"3D":1274313600,"4D":1291593600,fC:1298332800,J:1318896e3,"5D":1341792e3,ED:1374624e3,"6D":1386547200,"7D":1401667200,I:1790035200}},J:{A:{D:0,A:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","D","A","","",""],E:"Blackberry Browser",F:{D:1325376e3,A:1359504e3}},K:{A:{A:0,B:0,C:0,H:.971426,ZC:0,DD:0,aC:0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","ZC","DD","C","aC","H","","",""],E:"Opera Mobile",F:{A:1287100800,B:1300752e3,ZC:1314835200,DD:1318291200,C:1330300800,aC:1349740800,H:1709769600},D:{H:"webkit"}},L:{A:{I:44.0186},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","I","","",""],E:"Chrome for Android",F:{I:1790035200}},M:{A:{YC:.38145},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","YC","","",""],E:"Firefox for Android",F:{YC:179064e4}},N:{A:{A:0,B:0},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","","",""],E:"IE Mobile",F:{A:1340150400,B:1353456e3}},O:{A:{bC:.63575},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bC","","",""],E:"UC Browser for Android",F:{bC:1710115200},D:{bC:"webkit"}},P:{A:{J:0,HB:0,IB:0,JB:.00666714,KB:.00666714,LB:.00666714,MB:.0133343,NB:.0266686,K:.0200014,OB:.04667,PB:.0800057,QB:1.08008,"8D":0,"9D":0,AE:0,BE:0,CE:0,mC:0,DE:0,EE:0,FE:0,GE:0,HE:0,cC:0,dC:0,eC:0,IE:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","J","8D","9D","AE","BE","CE","mC","DE","EE","FE","GE","HE","cC","dC","eC","IE","HB","IB","JB","KB","LB","MB","NB","K","OB","PB","QB","","",""],E:"Samsung Internet",F:{J:1461024e3,"8D":1481846400,"9D":1509408e3,AE:1528329600,BE:1546128e3,CE:1554163200,mC:1567900800,DE:1582588800,EE:1593475200,FE:1605657600,GE:1618531200,HE:1629072e3,cC:1640736e3,dC:1651708800,eC:1659657600,IE:1667260800,HB:1677369600,IB:1684454400,JB:1689292800,KB:1697587200,LB:1711497600,MB:1715126400,NB:1717718400,K:1725667200,OB:1746057600,PB:1761264e3,QB:1779235200}},Q:{A:{JE:.091548},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","JE","","",""],E:"QQ Browser",F:{JE:1710288e3}},R:{A:{KE:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","KE","","",""],E:"Baidu Browser",F:{KE:1710201600}},S:{A:{LE:.005086,ME:0},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","LE","ME","","",""],E:"KaiOS Browser",F:{LE:1527811200,ME:1631664e3}}}},63473:t=>{t.exports={0:"116",1:"117",2:"118",3:"119",4:"120",5:"121",6:"122",7:"123",8:"124",9:"125",A:"10",B:"11",C:"12",D:"7",E:"8",F:"9",G:"15",H:"80",I:"154",J:"4",K:"27",L:"6",M:"13",N:"14",O:"16",P:"17",Q:"18",R:"79",S:"81",T:"83",U:"84",V:"85",W:"86",X:"87",Y:"88",Z:"89",a:"90",b:"91",c:"92",d:"93",e:"94",f:"95",g:"96",h:"97",i:"98",j:"99",k:"100",l:"101",m:"102",n:"103",o:"104",p:"105",q:"106",r:"107",s:"108",t:"109",u:"110",v:"111",w:"112",x:"113",y:"114",z:"115",AB:"126",BB:"127",CB:"131",DB:"132",EB:"133",FB:"134",GB:"135",HB:"20",IB:"21",JB:"22",KB:"23",LB:"24",MB:"25",NB:"26",OB:"28",PB:"29",QB:"30",RB:"128",SB:"129",TB:"130",UB:"136",VB:"137",WB:"138",XB:"139",YB:"140",ZB:"141",aB:"142",bB:"143",cB:"144",dB:"145",eB:"146",fB:"147",gB:"148",hB:"149",iB:"150",jB:"151",kB:"152",lB:"153",mB:"5",nB:"19",oB:"31",pB:"32",qB:"33",rB:"34",sB:"35",tB:"36",uB:"37",vB:"38",wB:"39",xB:"40",yB:"41",zB:"42","0B":"43","1B":"44","2B":"45","3B":"46","4B":"47","5B":"48","6B":"49","7B":"50","8B":"51","9B":"52",AC:"53",BC:"54",CC:"55",DC:"56",EC:"57",FC:"58",GC:"60",HC:"62",IC:"63",JC:"64",KC:"65",LC:"66",MC:"67",NC:"68",OC:"69",PC:"70",QC:"71",RC:"72",SC:"73",TC:"74",UC:"75",VC:"76",WC:"77",XC:"78",YC:"157",ZC:"11.1",aC:"12.1",bC:"15.5",cC:"16.0",dC:"17.0",eC:"18.0",fC:"3",gC:"59",hC:"61",iC:"82",jC:"155",kC:"156",lC:"3.2",mC:"10.1",nC:"15.2-15.3",oC:"15.4",pC:"16.1",qC:"16.2",rC:"16.3",sC:"16.4",tC:"16.5",uC:"17.1",vC:"17.2",wC:"17.3",xC:"17.4",yC:"17.5",zC:"18.1","0C":"18.2","1C":"18.3","2C":"18.4","3C":"18.5-18.7","4C":"26.0","5C":"26.1","6C":"26.2","7C":"26.3","8C":"26.4","9C":"26.5",AD:"26.6",BD:"27.1",CD:"27.2",DD:"11.5",ED:"4.2-4.3",FD:"5.5",GD:"2",HD:"158",ID:"159",JD:"160",KD:"3.5",LD:"3.6",MD:"3.1",ND:"5.1",OD:"6.1",PD:"7.1",QD:"9.1",RD:"13.1",SD:"14.1",TD:"15.1",UD:"15.6",VD:"16.6",WD:"17.6",XD:"TP",YD:"9.5-9.6",ZD:"10.0-10.1",aD:"10.5",bD:"10.6",cD:"11.6",dD:"4.0-4.1",eD:"5.0-5.1",fD:"6.0-6.1",gD:"7.0-7.1",hD:"8.1-8.4",iD:"9.0-9.2",jD:"9.3",kD:"10.0-10.2",lD:"10.3",mD:"11.0-11.2",nD:"11.3-11.4",oD:"12.0-12.1",pD:"12.2-12.5",qD:"13.0-13.1",rD:"13.2",sD:"13.3",tD:"13.4-13.7",uD:"14.0-14.4",vD:"14.5-14.8",wD:"15.0-15.1",xD:"15.6-15.8",yD:"16.6-16.7",zD:"17.6-17.7","0D":"27.0","1D":"all","2D":"2.1","3D":"2.2","4D":"2.3","5D":"4.1","6D":"4.4","7D":"4.4.3-4.4.4","8D":"5.0-5.4","9D":"6.2-6.4",AE:"7.2-7.4",BE:"8.2",CE:"9.2",DE:"11.1-11.2",EE:"12.0",FE:"13.0",GE:"14.0",HE:"15.0",IE:"19.0",JE:"14.9",KE:"13.52",LE:"2.5",ME:"3.0-3.1"}},61507:t=>{t.exports={A:"ie",B:"edge",C:"firefox",D:"chrome",E:"safari",F:"opera",G:"ios_saf",H:"op_mini",I:"android",J:"bb",K:"op_mob",L:"and_chr",M:"and_ff",N:"ie_mob",O:"and_uc",P:"samsung",Q:"and_qq",R:"baidu",S:"kaios"}},41492:t=>{t.exports={0:"_I _JB",1:"_d eD",2:"_JC _s",3:"_wS _vI",4:"_5 _e",5:"J mB",6:"B C",7:"_Y _UF",8:"_1S _HG",9:"lD _AB",A:"A B",B:"D A",C:"LE ME",D:"_GE _jP",E:"_TC FD",F:"J _U",G:"_HD _xS",H:"_RC _SP",I:"_w _VB",J:"_YH _uI",K:"_H _uI",L:"KD LD",M:"_3 _s",N:"_GE _yS",O:"_TH _uE",P:"_IG _xS",Q:"_yI _DC",R:"_DU _WH",S:"_zS _zE",T:"_j _O",U:"_FB _wE",V:"F _A",W:"_HD _oK",X:"I _x",Y:"_5 _fC",Z:"_SC FD",a:"_H _uM",b:"_GB FD",c:"_0B _0S",d:"lC _FG",e:"MD lC",f:"_g _L",g:"GD fC",h:"_lI _CD",i:"_UM _NP",j:"F _6",k:"J _e",l:"_h _wC",m:"2D 3D",n:"_m 4D",o:"_g _7",p:"_l _gK",q:"_g _Y",r:"_d _xC",s:"_JD _AB",t:"E _2S",u:"_5 _VH",v:"_7 _eC",w:"C _CC",x:"6D 7D",y:"_yI _uB",z:"_3E FD",AB:"_wI _kB",BB:"_jD _AB",CB:"_6 _yS",DB:"_vM _xM",EB:"_r gD",FB:"_IH _NB",GB:"_gD E",HB:"_gD FD",IB:"_1I _WH",JB:"R _8D",KB:"C M",LB:"fC _n",MB:"_9D _UP",NB:"_CG _rB",OB:"_3 _gC",PB:"F _PD",QB:"_wM _WH",RB:"_2I _XH",SB:"_IG _6S",TB:"_VC _XH",UB:"_OG _0M",VB:"_BC _AC",WB:"_eC iC",XB:"_3 _JD",YB:"_EU _xM",ZB:"H aC",aB:"_w _BC",bB:"_o _WB",cB:"_GE _tB",dB:"_EU _lP",eB:"_8S _2S",fB:"F _iK",gB:"_A _tB",hB:"_FB _xU",iB:"_OB kD",jB:"_GU _lP",kB:"_nK _sE",lB:"_yE _uB",mB:"F YD",nB:"mB _YB",oB:"_yM _0S",pB:"_1I _3S",qB:"_RB mC",rB:"PB QB",sB:"HC IC",tB:"ZC DD",uB:"_WB _tM",vB:"_CE _kD",wB:"_5 L",xB:"_FB _FU",yB:"_FB _LU",zB:"_tE QD","0B":"_H _j","1B":"JB _EC","2B":"_cC _XK","3B":"J _SH","4B":"_1S GC","5B":"_w G","6B":"IB _1B","7B":"_eP _MU","8B":"_IG _zI","9B":"_lC _s",AC:"P Q",BC:"G O",CC:"M N",DC:"_eC _rE",EC:"_HH _NB",FC:"_Y G",GC:"_yE _DC",HC:"_UF _DC",IC:"_Y _lD",JC:"E _rM",KC:"_5 _gD",LC:"_UF _uB",MC:"_vC _A",NC:"_PH _HG",OC:"_hK _mC",PC:"_g KD",QC:"_pK _3S",RC:"_PF _DH",SC:"_gD _vC",TC:"_SC _A",UC:"_cK _kI",VC:"_5 _SC",WC:"_HE _gE",XC:"_LD _tM",YC:"_yC _qE",ZC:"_wB _rP",aC:"yB zB",bC:"0B 1B",cC:"_VB nB",dC:"_QF _TF",eC:"_kE _SF",fC:"_TC _w",gC:"iD jD",hC:"_mE _GD",iC:"D _vC",jC:"nB _FB",kC:"_SF _rE",lC:"E hD",mC:"_kP _kB",nC:"9B _hE",oC:"_DD LC",pC:"_3B AE",qC:"F _TH",rC:"J 8D",sC:"lC dD",tC:"_yI _zE",uC:"_GT _vE",vC:"E F",wC:"_tU YC",xC:"eD fD",yC:"_XB _wI",zC:"_q _lD","0C":"_XB mD","1C":"K _vE","2C":"_g _OU","3C":"_KG _PU","4C":"_wB _VH","5C":"_KC _rP","6C":"_QD _tB","7C":"_GU _KU","8C":"_SD _s","9C":"_sP _uI",AD:"_yK _sE",BD:"_MB _YM",CD:"_dM _EG",DD:"_sB _3T",ED:"gC GC",FD:"_oE _lS",GD:"_ED hC",HD:"fC J",ID:"mC ZC",JD:"_gC _jD",KD:"_NH _GD",LD:"_SF iC",MD:"_JG _QF",ND:"_XB _GG",OD:"J _sI",PD:"_wM _mP",QD:"_zM _TH",RD:"_NH _xI",SD:"E _HU",TD:"_oI _KE",UD:"ND _zB",VD:"_VF _nP",WD:"_zS _WB",XD:"C _ZB",YD:"I 7D",ZD:"_H _HC",aD:"_Y _bH",bD:"_6 _jP",cD:"_pD _qE",dD:"_qP _uK",eD:"_vK _5I",fD:"_yU _zE",gD:"L D",hD:"vB wB",iD:"_jE _hE",jD:"kD lD",kD:"_mE _xI",lD:"_DE _BE",mD:"_KD _DC",nD:"_RF _GD",oD:"_A _w",pD:"_FC _wU",qD:"_LD _rI",rD:"_IE _cM",sD:"_9D V",tD:"_9D _TP",uD:"_wC _gK",vD:"_sB JC",wD:"E _vI",xD:"_RC 4",yD:"_FB _0U",zD:"_bC 2B","0D":"_QD _jK","1D":"_AT _2E","2D":"_uP _5S","3D":"_fH R","4D":"_DN _5S","5D":"_QU _HC","6D":"_SU _L","7D":"_zU _lK","8D":"H S","9D":"T U",AE:"_LH _iE",BE:"_MH _UC",CE:"_AE _dC",DE:"_nE _CE",EE:"aC RD",FE:"_sS _uS",GE:"_A C",HE:"_MB _ZK",IE:"_DD _bP",JE:"O _AC",KE:"_kK _kB",LE:"_hC _DC",ME:"_Y _DE",NE:"_CE _BE",OE:"_ID _EE",PE:"_HT _jM",QE:"J _UU",RE:"K _UT",SE:"_H _5S",TE:"_iD CC",UE:"_nS _TD",VE:"_AU _sE",WE:"_j _GJ",XE:"_aH FE",YE:"_XF _XG",ZE:"_6I _JU",aE:"_QG _uI",bE:"_AT _mD",cE:"_xP _JU",dE:"_QT _kB",eE:"_VU _vE",fE:"AB BB",gE:"_zT _bI",hE:"AC BC",iE:"rB sB",jE:"8B 9B",kE:"_DD _eK",lE:"_BD _h",mE:"_BE _NH",nE:"_cC _FB",oE:"eC zC",pE:"_hM _iM",qE:"cC _nI",rE:"_lE _wC",sE:"_nM _fK",tE:"OD PD",uE:"_jK aC",vE:"_mK _lK",wE:"_sI _sM",xE:"_ID _tI",yE:"_CE _hC",zE:"_uB _L","0E":"_cC _IH","1E":"_MB _WK","2E":"_KD _uB","3E":"_SC A","4E":"_JB iC","5E":"_iD _KH","6E":"_VF M","7E":"_mM VD","8E":"_Y _JG","9E":"_Y _MD",AF:"_yC _nK",BF:"_H _NG",CF:"_H _2M",DF:"_FB _sM",EF:"_CD _wC",FF:"_gC kD",GF:"_HD _QH",HF:"_q _YU",IF:"_ND pD",JF:"_oC MC",KF:"_6I _oP",LF:"_DT _2E",MF:"_zP _RD",NF:"_BN _GC",OF:"W X",PF:"0 1",QF:"tB uB",RF:"_KH _fM",SF:"_gM _JB",TF:"_mI _aC",UF:"_PH _GD",VF:"_KG C",WF:"_0E MB",XF:"_ND _qI",YF:"LB _NB",ZF:"_SP _fE",aF:"_MB _dS",bF:"_hC _uB",cF:"_j _lD",dF:"_rK rB",eF:"_jC _vB",fF:"_cC HB",gF:"_BC P",hF:"_MB _OP",iF:"_Y _7S",jF:"_HE _zT",kF:"_IC _5E",lF:"_aH _hP",mF:"PD QD",nF:"_OD mC",oF:"J _QH",pF:"_H _2E",qF:"_H _NU",rF:"_FB _qS",sF:"_FB _aU",tF:"_CD _uD",uF:"_Y _7M",vF:"_Y _fF",wF:"_UH _4S",xF:"_yI _eC",yF:"_a aC",zF:"_y LD","0F":"_qP _2K","1F":"_4B _O","2F":"_aB P","3F":"_XF vD","4F":"_pC BE","5F":"_CT _mD","6F":"_VG _YS","7F":"_FT _lB","8F":"_MT _qD","9F":"_1U _iP",AG:"v w",BG:"_ZS _RP",CG:"MB _0T",DG:"TC UC",EG:"_aK _hI",FG:"dD ED",GG:"mD _hK",HG:"GC _WB",IG:"_HD I",JG:"_nE _AE",KG:"_5 _TC",LG:"_hS _UC",MG:"OB _rB",NG:"_dC _kD",OG:"_5 _GB",PG:"_fM _GD",QG:"_H _JE",RG:"_BD _lI",SG:"_0I _DC",TG:"_kE _DG",UG:"_jE AC",VG:"_1M _FH",WG:"_yT _fE",XG:"_rS nC",YG:"_lM _fK",ZG:"_sK 6B",aG:"_mM yD",bG:"_H _1B",cG:"_MH _cK",dG:"_tK pB",eG:"_CE _mE",fG:"_kE TC",gG:"_pD _mK",hG:"B _tB",iG:"L ND",jG:"1 _DH",kG:"jD _BB",lG:"_RC _EH",mG:"_JB _sD",nG:"_JB _tD",oG:"_H _VM",pG:"_NH GC",qG:"_Y _cC",rG:"_Y _0E",sG:"_Y _sK",tG:"_oE _4T",uG:"_q _L",vG:"_yE _eC",wG:"_vM _2U",xG:"_W 6D",yG:"_v _WC",zG:"_pD _7E","0G":"_qP _GN","1G":"_bB _eT","2G":"_fB aD","3G":"_ZF _l","4G":"_6M _vB","5G":"_6M _GC","6G":"_aF _PP","7G":"_AN _vB","8G":"_hF d","9G":"_lH _mI",AH:"_RU _O",BH:"_aT _DC",CH:"_3U _xK",DH:"2 3",EH:"4 _wT",FH:"p _aS",GH:"HB IB",HH:"KB LB",IH:"_XK _HH",JH:"_VP TB",KH:"CC DC",LH:"oB _iS",MH:"_bC _hS",NH:"_iD _RF",OH:"sC tC",PH:"_DE _mE",QH:"5D ED",RH:"pD _nS",SH:"8D 9D",TH:"_iK _pI",UH:"G K",VH:"_e ND",WH:"_xE _vE",XH:"_VH _zB",YH:"_H _I",ZH:"_DE _MH",aH:"_OD _pM",bH:"_MD _mI",cH:"_WM _YK",dH:"_cC _GH",eH:"_1E _ZS",fH:"_kE _gM",gH:"_j _DE",hH:"_3I _l",iH:"_3I _h",jH:"K _MG",kH:"_vC _oD",lH:"_AE _QF",mH:"u _YK",nH:"wB _4I",oH:"3B _UC",pH:"_H _pP",qH:"_wT _WG",rH:"_KC _0M",sH:"N G",tH:"uD _KE",uH:"_fE _p",vH:"_JB _rE",wH:"_JB _WC",xH:"_WK _BG",yH:"_H _mD",zH:"_H _LC","0H":"_H _BT","1H":"_H _SG","2H":"_H _hH","3H":"_H _iH","4H":"_H _mH","5H":"_H _PT","6H":"_vC A","7H":"_LH rB","8H":"_Y _EJ","9H":"_7 _kE",AI:"_3 iD",BI:"_pK _oP",CI:"_VC _0M",DI:"_3E _UD",EI:"_5E EC",FI:"_QG _KN",GI:"_ZF _h",HI:"_CT _RD",II:"_eH k",JI:"_0C nD",KI:"_6E _7U",LI:"_EN _l",MI:"_iF SD",NI:"_kF EC",OI:"_1K _uI",PI:"_HN _NG",QI:"_IN _2M",RI:"_bG _lB",SI:"_1P _8I",TI:"_MJ _kD",UI:"_TT _LE",VI:"_5K _nK",WI:"_gT _KU",XI:"_cU _L",YI:"_dU _O",ZI:"_5U _O",aI:"_6U _L",bI:"y z",cI:"7 8",dI:"n o",eI:"Z a",fI:"_PP h",gI:"_YS u",hI:"_1T _XP",iI:"_bM _ZM",jI:"_ZP SC",kI:"6B 7B",lI:"_JH _eM",mI:"_hD xB",nI:"pC _jS",oI:"tD uD",pI:"aD bD",qI:"_RH _oI",rI:"_BD _i",sI:"_SH _vS",tI:"_EE _FE",uI:"_JB _lE",vI:"_xC _rM",wI:"_GG _kP",xI:"_HG _rI",yI:"_H _7",zI:"_QH _x","0I":"_dC _hC","1I":"B _pK","2I":"_VC A","3I":"_eI _YM","4I":"xB _aC","5I":"cD aC","6I":"_CC _UH","7I":"_iS _iE","8I":"_RF _xI","9I":"_nD _uB",AJ:"_qK PB",BJ:"mB _fC",CJ:"uB _TF",DJ:"_OH _BU",EJ:"_ZH 4B",FJ:"_JD _GG",GJ:"_TH _jK",HJ:"_H QB",IJ:"FC _GD",JJ:"KC _eK",KJ:"_Y _PH",LJ:"_q _DE",MJ:"_H zB",NJ:"GC hC",OJ:"_H _9S",PJ:"_H _4I",QJ:"_RG _dM",RJ:"_PH GC",SJ:"D E",TJ:"TB _eM",UJ:"nB _IH",VJ:"UC _bK",WJ:"ND _tE",XJ:"oD _mC",YJ:"_H _8D",ZJ:"_H _9I",aJ:"_H _oH",bJ:"_H _XT",cJ:"_H _RN",dJ:"_FB _9U",eJ:"_AE tB",fJ:"_BE 8B",gJ:"_fC G",hJ:"_Y _2B",iJ:"_Y _qK",jJ:"_Y _WF",kJ:"_Y _AJ",lJ:"_Y _FN",mJ:"_FD _5T",nJ:"_SH AE",oJ:"_HD _zI",pJ:"_GE M",qJ:"_YH _JB",rJ:"_iC _A",sJ:"_ND _RH",tJ:"_v _9D",uJ:"_IC _UG",vJ:"_0 _9D",wJ:"_lC _FJ",xJ:"_qP _uE",yJ:"_rD QC",zJ:"_zC _eU","0J":"_zC _8U","1J":"_sP _eF","2J":"_aF f","3J":"_TG VC","4J":"_ME _bC","5J":"_vP _LE","6J":"_vP _bF","7J":"_8M _LE","8J":"_VD aC","9J":"_IT _NG",AK:"_8E tB",BK:"_HJ _GC",CK:"_JT _h",DK:"_JT _l",EK:"_pH _i",FK:"_MN _mD",GK:"_WT _kC",HK:"_6K _i",IK:"_7K q",JK:"_SN _qD",KK:"_3P _NU",LK:"_6P n",MK:"_hT _wE",NK:"_iT _HC",OK:"_jT _i",PK:"_fU _L",QK:"_AV _O",RK:"_BV _O",SK:"_CV _O",TK:"_DV _L",UK:"_EV _L",VK:"_FV _O",WK:"_dS _fI",XK:"_GH JB",YK:"_gE _fE",ZK:"_WK _XM",aK:"_aM _eS",bK:"_aP XC",cK:"4B 5B",dK:"_cM _jI",eK:"_bP _dK",fK:"0D _jM",gK:"_vU JD",hK:"nD oD",iK:"YD ZD",jK:"_tB cD",kK:"_rS _tS",lK:"_nM _qM",mK:"_mM _BU",nK:"_mM _CU",oK:"_n _QH",pK:"_w _UH",qK:"_0E _CG",rK:"_nE _LH",sK:"_ZH _cK",tK:"_nE oB",uK:"_pI _uE",vK:"_3M _uM",wK:"_0T _rB",xK:"_sS nC",yK:"_OH _CU",zK:"_nD _DC","0K":"_4E _rI","1K":"_H Q","2K":"bD _uE","3K":"NC _dK","4K":"_RH tD","5K":"_JD _wI","6K":"_BD _JH","7K":"_1M p","8K":"_rD _ZP","9K":"_H _cH",AL:"F A",BL:"B _w",CL:"_TG _aP",DL:"C aC",EL:"C _jP",FL:"C _5I",GL:"Q _jC",HL:"J _zI",IL:"J _gU",JL:"K _NT",KL:"DD _5I",LL:"_xT _dI",ML:"_NP _iI",NL:"_FH _YS",OL:"_H _uB",PL:"_H _q",QL:"_H _kD",RL:"_H _zK",SL:"_H _dT",TL:"_H _7P",UL:"_H _GV",VL:"_H _HV",WL:"_vC _PD",XL:"_FB _iP",YL:"_2T _EG",ZL:"_RF GC",aL:"_SF _sD",bL:"_Y _VB",cL:"_Y _tK",dL:"_Y _dH",eL:"_Y _gF",fL:"_Y _ZG",gL:"_dP _fK",hL:"_lS _YG",iL:"_HD _UN",jL:"_GG _qI",kL:"_xC gD",lL:"_ID aC",mL:"_xE _mK",nL:"_hC _eC",oL:"_q _PH",pL:"_q _lT",qL:"_q _iU",rL:"_q _jU",sL:"_o _IV",tL:"_jC _GC",uL:"_IE OC",vL:"_0 _1M",wL:"_oD G",xL:"_JE _jC",yL:"_vK aC",zL:"_CT _2E","0L":"_DT _mD","1L":"_uP _HC","2L":"_vP _kD","3L":"_xP _4S","4L":"_8M _bF","5L":"_zP _2E","6L":"_AN _GC","7L":"_EN _h","8L":"_1P _9I","9L":"_JN _8I",AM:"_JN _zK",BM:"_KT _9I",CM:"_LT _vB",DM:"_LN _2E",EM:"_eG GC",FM:"_VT _LC",GM:"_PJ _kD",HM:"_XU _O",IM:"_XU _hU",JM:"_cT _XC",KM:"_TN _wE",LM:"_VN _L",MM:"_8P _DC",NM:"_9P _kC",OM:"_kT _sE",PM:"_JV _rI",QM:"_KV _O",RM:"_LV _O",SM:"_MV _L",TM:"EB FB",UM:"CB DB",VM:"_OF Y",WM:"_FH _gI",XM:"_BG _WM",YM:"_ZK _YK",ZM:"WB XB",aM:"eB fB",bM:"UB VB",cM:"OC PC",dM:"_YP _2T",eM:"_i _iI",fM:"EC FC",gM:"_DG _bK",hM:"dC uC",iM:"vC wC",jM:"BD CD",kM:"6C 7C",lM:"_5T _dP",mM:"_qE _OH",nM:"_FD _lM",oM:"dC _8T",pM:"mC _9T",qM:"_jM XD",rM:"gD hD",sM:"_pM _iP",tM:"_rE _gK",uM:"_PH _xI",vM:"_Y _UH",wM:"_A _pK",xM:"ND _lP",yM:"_H _6",zM:"F B","0M":"_VH _tE","1M":"_1E _BG","2M":"_0I _uB","3M":"_H C","4M":"_3T _eK","5M":"5B _kI","6M":"_H _NB","7M":"_2B KB","8M":"_H _aC","9M":"_gS _dK",AN:"_H _YF",BN:"_H _wK",CN:"TD _uS",DN:"_H N",EN:"_H _IU",FN:"_WF _cS",GN:"ZD _uK",HN:"_H sB",IN:"_H _iE",JN:"_H BC",KN:"_jC _lB",LN:"_H _UC",MN:"_H _LG",NN:"_H _eK",ON:"_H _ET",PN:"_WF NB",QN:"_4E _tM",RN:"SC _qD",SN:"_H _jI",TN:"J _IH",UN:"4D _QH",VN:"_q _MD",WN:"_H _TU",XN:"_MH 4B",YN:"_V _w",ZN:"_yC _aG",aN:"ZC _tI",bN:"_QP _fI",cN:"_H _3K",dN:"_H _4U",eN:"_OE _xK",fN:"C _yS",gN:"N _VB",hN:"J _wE",iN:"IB _mT",jN:"MB NB",kN:"K _lK",lN:"1B _hS",mN:"ZD aD",nN:"ED _x",oN:"uD _kK",pN:"_QP _qT",qN:"_AC _jC",rN:"_WM _gE",sN:"_H _JB",tN:"_H _kC",uN:"_H _6B",vN:"_H _eF",wN:"_H _YN",xN:"_H _AQ",yN:"_H _NV",zN:"_TC C","0N":"_eS _hI","1N":"_JH _UM","2N":"_fM _xI","3N":"_QF _mI","4N":"_CE _XN","5N":"_mE GC","6N":"_Y _BC","7N":"_Y _ZH","8N":"_Y _rK","9N":"_kS _YG",AO:"_fP _lU",BO:"_HD _n",CO:"_HD _6S",DO:"_7 HC",EO:"_q _SV",FO:"_DU _XV",GO:"_1E i",HO:"_HE v",IO:"_ND _4K",JO:"_v _MB",KO:"_IC 8B",LO:"_IC _jE",MO:"_IC _iD",NO:"_0 _WC",OO:"_0 _jF",PO:"_JE nB",QO:"_tD Z",RO:"_6M _lB",SO:"_ME 0B",TO:"_8M _kD",UO:"_NE 8B",VO:"_NE _iD",WO:"_ET _dC",XO:"_FT _vB",YO:"_IT _2M",ZO:"_IT _SG",aO:"_HN _2M",bO:"_IN _NG",cO:"_KT _8I",dO:"_LT _GC",eO:"_KJ gC",fO:"_KJ _ED",gO:"_OT _QV",hO:"_LJ _L",iO:"_LJ _RV",jO:"_2P _i",kO:"_RT _lB",lO:"_RT _GC",mO:"_LN _mD",nO:"_ST _vB",oO:"_ST _GC",pO:"_TT _kD",qO:"_RU _PV",rO:"_nF DE",sO:"_NN _kC",tO:"_NN _XC",uO:"_ON _2M",vO:"_ON _SG",wO:"_qH _p",xO:"_VT _HC",yO:"_YT _vI",zO:"_YT _2S","0O":"_bT _kC","1O":"_bT _XC","2O":"_fT _hH","3O":"_9K _h","4O":"_WN _p","5O":"_ZN _pE","6O":"_BQ _QN","7O":"_CQ 6B","8O":"_DQ dC","9O":"_oT _kU",AP:"_pT nD",BP:"_mU _HC",CP:"_nU _O",DP:"_OV _wE",EP:"_TV _O",FP:"_UV _O",GP:"_VV _O",HP:"_WV _O",IP:"_YV _L",JP:"_ZV _L",KP:"_aV _L",LP:"_bV _L",MP:"_cV _O",NP:"_TM GB",OP:"b c",PP:"f g",QP:"d e",RP:"_bS _dI",SP:"_EH _yT",TP:"V _VM",UP:"_TP _eI",VP:"RB SB",WP:"YB ZB",XP:"lB I",YP:"_WP _fS",ZP:"QC RC",aP:"VC WC",bP:"LC _gS",cP:"4C 5C",dP:"_uU AD",eP:"oC bC",fP:"xC yC",gP:"rD sD",hP:"FE GE",iP:"_hP _qS",jP:"_tB aC",kP:"_qI _kK",lP:"_zB _WH",mP:"QD _WH",nP:"_XH _ID",oP:"_tI _vE",pP:"_XM _YK",qP:"_yM _uM",rP:"_VH OD",sP:"_H _AC",tP:"1B _LG",uP:"_H _CC",vP:"_H _TF",wP:"_eP UD",xP:"N _UH",yP:"_fI _pP",zP:"_H _tP","0P":"fC _7","1P":"_H _nC","2P":"_H _YM","3P":"_H DC","4P":"_H _jH","5P":"_H _ZU","6P":"_eH _bS","7P":"WC XC","8P":"_H _IJ","9P":"_H _JJ",AQ:"X Y",BQ:"_H XC",CQ:"_CE _cG",DQ:"_lF _mS",EQ:"B _5B",FQ:"RC SC",GQ:"ZC aC",HQ:"_H _GD",IQ:"_H _nH",JQ:"_H _NJ",KQ:"L FD",LQ:"9 _fE",MQ:"C H",NQ:"C _uE",OQ:"R H",PQ:"m _dI",QQ:"VB _ZM",RQ:"J lC",SQ:"mB ND",TQ:"nB _XK",UQ:"MB _cS",VQ:"K _sT",WQ:"K _rU",XQ:"oB pB",YQ:"sB _dC",ZQ:"sB _0I",aQ:"9B AC",bQ:"iC _tM",cQ:"DD aC",dQ:"3D 4D",eQ:"_8D _rE",fQ:"_PF 2",gQ:"_JB _9D",hQ:"_H _w",iQ:"_H _LE",jQ:"_H _bF",kQ:"_H _yP",lQ:"_H _QN",mQ:"_H _BL",nQ:"_H _oU",oQ:"_H _dV",pQ:"_H _eV",qQ:"_H _hV",rQ:"_CC _VB",sQ:"_vC _mF",tQ:"_FB _8T",uQ:"_FB _oM",vQ:"_BD _VP",wQ:"_QF vB",xQ:"_hE _RF",yQ:"_DD _L",zQ:"_5 ND","0Q":"_CE 0B","1Q":"_fC _JG","2Q":"_Y _dF","3Q":"_FD _cP","4Q":"_6 _GN","5Q":"_6 _GQ","6Q":"_pM _hP","7Q":"_pI _jK","8Q":"_7 _DD","9Q":"_7 _IE",AR:"_7 _oC",BR:"_7 _vD",CR:"_7 _fG",DR:"_zB mC",ER:"_zB _eN",FR:"_j _kV",GR:"_IG _pU",HR:"_yE _WB",IR:"_lD 8B",JR:"_V FD",KR:"_HE _AG",LR:"_KG _nP",MR:"_v _VG",NR:"_v _jF",OR:"_pD cC",PR:"_3I _i",QR:"_QD ZC",RR:"_4B _mV",SR:"_8 _jV",TR:"_8 _vV",UR:"_zC _L",VR:"_sD _OF",WR:"_8S _vI",XR:"_PG _uB",YR:"_vK _uE",ZR:"_cF _gV",aR:"_cF _lV",bR:"_DT _RD",cR:"_6E _7S",dR:"_FT _GC",eR:"_9M _tT",fR:"_FJ _qI",gR:"_FJ _4K",hR:"_gH _O",iR:"_BN _lB",jR:"_mF mC",kR:"_1K _KN",lR:"_HJ _vB",mR:"_KT _zK",nR:"_LT _lB",oR:"_MT _XC",pR:"_OT _O",qR:"_2P _h",rR:"_2P _l",sR:"_RT _vB",tR:"_MN _RD",uR:"_ST _lB",vR:"_9E vB",wR:"_AF _FD",xR:"_OJ _h",yR:"_OJ _l",zR:"_WT _XC","0R":"_gG _FD","1R":"_cT _kC","2R":"_dT G","3R":"_rH XD","4R":"_fT _iH","5R":"_4P _vB","6R":"_4P _lB","7R":"_5P _h","8R":"_5P _l","9R":"_RJ _8K",AS:"_AL _rT",BS:"_CL _L",CS:"_bN _XM",DS:"_cN _XC",ES:"_dN _i",FS:"_EQ _aN",GS:"_FQ _LD",HS:"_HQ _DC",IS:"_IQ _LE",JS:"_JQ _uB",KS:"_uT cB",LS:"_vT _aK",MS:"_qU _kC",NS:"_fV _NT",OS:"_iV _i",PS:"_nV _L",QS:"_oV _O",RS:"_pV _O",SS:"_qV _O",TS:"_rV _L",US:"_sV _L",VS:"_tV _L",WS:"_uV _L",XS:"_wV _O",YS:"s t",ZS:"i j",aS:"q r",bS:"k _xT",cS:"NB K",dS:"_OP _QP",eS:"_sU iB",fS:"aB bB",gS:"MC NC",hS:"2B 3B",iS:"pB qB",jS:"qC rC",kS:"2C 3C",lS:"_4T _kS",mS:"HE cC",nS:"qD _gP",oS:"_6T WD",pS:"BE CE",qS:"_mS _oM",rS:"vD wD",sS:"SD TD",tS:"_7T xD",uS:"_7T UD",vS:"AE _pS",wS:"E _d",xS:"_oK _x",yS:"H _jP",zS:"_H _o","0S":"_uM _O","1S":"_j _PH","2S":"_vI _s","3S":"ZC _oP","4S":"_FE _vE","5S":"_VB _uI","6S":"4D _zI","7S":"_nP _EE","8S":"E _FG","9S":"_bI _fE",AT:"_H _kI",BT:"_gI _YK",CT:"_H _5M",DT:"_H 7B",ET:"qB _iE",FT:"_H _rB",GT:"K _wP",HT:"_mK _nM",IT:"_H _7I",JT:"_H _YK",KT:"_H _hE",LT:"_H _EC",MT:"_H _4M",NT:"_lM _qM",OT:"_j _MD",PT:"h _pP",QT:"wD _tS",RT:"_H _FB",ST:"_H _MG",TT:"_H _CJ",UT:"_DJ _lK",VT:"_H _fC",WT:"_H _9M",XT:"_bK _0K",YT:"E ED",ZT:"_aS _BT",aT:"_H hC",bT:"_H _dK",cT:"_H _WU",dT:"_iC _oD",eT:"_WC _L",fT:"_H Y",gT:"_vC _wM",hT:"J _XK",iT:"_H _kH",jT:"_H _ZT",kT:"_fP zD",lT:"_ZH _L",mT:"JB _HH",nT:"PC _jI",oT:"_vC _GE",pT:"_JD mD",qT:"_yP _p",rT:"QD mC",sT:"_dP _qM",tT:"_qD _O",uT:"_RG _YP",vT:"_WD _QJ",wT:"5 6",xT:"l m",yT:"_cI 9",zT:"_AG x","0T":"_cS OB","1T":"jB kB","2T":"cB dB","3T":"JC KC","4T":"0C 1C","5T":"_cP _kM","6T":"_pE _fP","7T":"nC _eP","8T":"eC IE","9T":"DE EE",AU:"_6T zD",BU:"VD _oS",CU:"yD _AU",DU:"_vM _XH",EU:"_fC _UH",FU:"_vS _sM",GU:"_iC _wM",HU:"fD _rM",IU:"_UP _YM",JU:"RD _4S",KU:"PD _mP",LU:"_pS _sM",MU:"xD _kB",NU:"_PG _DC",OU:"_5 _L",PU:"_XH mC",QU:"_H _BJ",RU:"_j _JG",SU:"_q _qK",TU:"x _9S",UU:"I _zI",VU:"_UH _CN",WU:"IC _4M",XU:"_j _bH",YU:"_dH _L",ZU:"U _IU",aU:"CE _sM",bU:"_RP _cH",cU:"_q _JG",dU:"_gH 0B",eU:"_jE _L",fU:"_g _VC",gU:"HB _wE",hU:"yB _O",iU:"_VB _L",jU:"_nE _L",kU:"QD _ID",lU:"WD _lK",mU:"_H _oD",nU:"_OT _hD",oU:"g _PT",pU:"3D _6S",qU:"_H _nT",rU:"_lS _NT",sU:"gB hB",tU:"jC kC",uU:"8C 9C",vU:"HD ID",wU:"_XH _xE",xU:"9D _FU",yU:"_H _0P",zU:"K _oS","0U":"GE _qS","1U":"_FB _9T","2U":"lC _xM","3U":"_FC _7S","4U":"e _yP","5U":"_j _0E","6U":"_q _dG","7U":"_nP aC","8U":"8B _L","9U":"EE _iP",AV:"_j _7M",BV:"_j _dF",CV:"_j _FN",DV:"_q _0E",EV:"_q _EJ",FV:"_cF _UG",GV:"a _YM",HV:"r _BT",IV:"HC _L",JV:"_H _WB",KV:"_j _tK",LV:"_j _AJ",MV:"_q _sK",NV:"j _bU",OV:"J _GH",PV:"tB _O",QV:"vB _O",RV:"0B _L",SV:"_BC _L",TV:"_j _2B",UV:"_j _rK",VV:"_j _ZG",WV:"_j _PN",XV:"_xE _PE",YV:"_q _WF",ZV:"_q _rK",aV:"_q _tK",bV:"_q _AJ",cV:"_4B _rD",dV:"o _cH",eV:"w _TU",fV:"K _kS",gV:"8B _O",hV:"UC _XT",iV:"_H _bU",jV:"_MB _O",kV:"_VB _O",lV:"_jE _O",mV:"_DD _O",nV:"_g _KC",oV:"_j _ZH",pV:"_j _qK",qV:"_j _dH",rV:"_q _7M",sV:"_q _dF",tV:"_q _gF",uV:"_q _PN",vV:"_1E _O",wV:"_4B _8K"}},88984:t=>{t.exports={1:"ls",2:"rec",3:"pr",4:"cr",5:"wd",6:"other",7:"unoff"}},47910:t=>{t.exports={y:1<<0,n:1<<1,a:1<<2,p:1<<3,u:1<<4,x:1<<5,d:1<<6}},25588:(t,s,i)=>{const r=i(52891).browsers;const a=i(8681).browserVersions;const o=i(48540);function unpackBrowserVersions(t){return Object.keys(t).reduce((s,i)=>{s[a[i]]=t[i];return s},{})}t.exports.X=Object.keys(o).reduce((t,s)=>{let i=o[s];t[r[s]]=Object.keys(i).reduce((t,s)=>{if(s==="A"){t.usage_global=unpackBrowserVersions(i[s])}else if(s==="C"){t.versions=i[s].reduce((t,s)=>{if(s===""){t.push(null)}else{t.push(a[s])}return t},[])}else if(s==="D"){t.prefix_exceptions=unpackBrowserVersions(i[s])}else if(s==="E"){t.browser=i[s]}else if(s==="F"){t.release_date=Object.keys(i[s]).reduce((t,r)=>{t[a[r]]=i[s][r];return t},{})}else{t.prefix=i[s]}return t},{});return t},{})},8681:(t,s,i)=>{t.exports.browserVersions=i(63473)},52891:(t,s,i)=>{t.exports.browsers=i(61507)},13702:(t,s,i)=>{const r=i(88984);const a=i(47910);const o=i(52891).browsers;const l=i(8681).browserVersions;const u=i(35084).versionGroups;const p=Math.log(2);const f={};function expandKey(t){let s=f[t];if(s===undefined){s=f[t]=expandGroups(u[t],[])}return s}function expandGroups(t,s){let i=0;for(let r=0,a=t.length;r<=a;r++){if(r===a||t.charCodeAt(r)===32){if(r>i){if(t.charCodeAt(i)===95){let a=expandKey(t.slice(i+1,r));for(let t=0;t<a.length;t++)s.push(a[t])}else{s.push(t.slice(i,r))}}i=r+1}}return s}function unpackSupport(t){let s=Object.keys(a).reduce((s,i)=>{if(t&a[i])s.push(i);return s},[]);let i=t>>7;let r=[];while(i){let t=Math.floor(Math.log(i)/p)+1;r.unshift(`#${t}`);i-=Math.pow(2,t-1)}return s.concat(r).join(" ")}function unpackFeature(t){let s={status:r[t.B],title:t.C,shown:t.D};s.stats=Object.keys(t.A).reduce((s,i)=>{let r=t.A[i];s[o[i]]=Object.keys(r).reduce((t,s)=>{let i=expandGroups(r[s],[]);let a=unpackSupport(s);i.forEach(s=>t[l[s]]=a);return t},{});return s},{});return s}t.exports=unpackFeature;t.exports["default"]=unpackFeature},84358:(t,s,i)=>{const r=i(52891).browsers;function unpackRegion(t){return Object.keys(t).reduce((s,i)=>{let a=t[i];s[r[i]]=Object.keys(a).reduce((t,s)=>{let i=a[s];if(s==="_"){i.split(" ").forEach(s=>t[s]=null)}else{t[s]=i}return t},{});return s},{})}t.exports=unpackRegion;t.exports["default"]=unpackRegion},35084:(t,s,i)=>{t.exports.versionGroups=i(41492)},25288:(t,s)=>{Object.defineProperty(s,"commentRegex",{get:function getCommentRegex(){return/^\s*?\/[\/\*][@#]\s+?sourceMappingURL=data:(((?:application|text)\/json)(?:;charset=([^;,]+?)?)?)?(?:;(base64))?,(.*?)$/gm}});Object.defineProperty(s,"mapFileCommentRegex",{get:function getMapFileCommentRegex(){return/(?:\/\/[@#][ \t]+?sourceMappingURL=([^\s'"`]+?)[ \t]*?$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^*]+?)[ \t]*?(?:\*\/){1}[ \t]*?$)/gm}});var i;if(typeof Buffer!=="undefined"){if(typeof Buffer.from==="function"){i=decodeBase64WithBufferFrom}else{i=decodeBase64WithNewBuffer}}else{i=decodeBase64WithAtob}function decodeBase64WithBufferFrom(t){return Buffer.from(t,"base64").toString()}function decodeBase64WithNewBuffer(t){if(typeof value==="number"){throw new TypeError("The value to decode must not be of type number.")}return new Buffer(t,"base64").toString()}function decodeBase64WithAtob(t){return decodeURIComponent(escape(atob(t)))}function stripComment(t){return t.split(",").pop()}function readFromFileMap(t,i){var r=s.mapFileCommentRegex.exec(t);var a=r[1]||r[2];try{var t=i(a);if(t!=null&&typeof t.catch==="function"){return t.catch(throwError)}else{return t}}catch(t){throwError(t)}function throwError(t){throw new Error("An error occurred while trying to read the map file at "+a+"\n"+t.stack)}}function Converter(t,s){s=s||{};if(s.hasComment){t=stripComment(t)}if(s.encoding==="base64"){t=i(t)}else if(s.encoding==="uri"){t=decodeURIComponent(t)}if(s.isJSON||s.encoding){t=JSON.parse(t)}this.sourcemap=t}Converter.prototype.toJSON=function(t){return JSON.stringify(this.sourcemap,null,t)};if(typeof Buffer!=="undefined"){if(typeof Buffer.from==="function"){Converter.prototype.toBase64=encodeBase64WithBufferFrom}else{Converter.prototype.toBase64=encodeBase64WithNewBuffer}}else{Converter.prototype.toBase64=encodeBase64WithBtoa}function encodeBase64WithBufferFrom(){var t=this.toJSON();return Buffer.from(t,"utf8").toString("base64")}function encodeBase64WithNewBuffer(){var t=this.toJSON();if(typeof t==="number"){throw new TypeError("The json to encode must not be of type number.")}return new Buffer(t,"utf8").toString("base64")}function encodeBase64WithBtoa(){var t=this.toJSON();return btoa(unescape(encodeURIComponent(t)))}Converter.prototype.toURI=function(){var t=this.toJSON();return encodeURIComponent(t)};Converter.prototype.toComment=function(t){var s,i,r;if(t!=null&&t.encoding==="uri"){s="";i=this.toURI()}else{s=";base64";i=this.toBase64()}r="sourceMappingURL=data:application/json;charset=utf-8"+s+","+i;return t!=null&&t.multiline?"/*# "+r+" */":"//# "+r};Converter.prototype.toObject=function(){return JSON.parse(this.toJSON())};Converter.prototype.addProperty=function(t,s){if(this.sourcemap.hasOwnProperty(t))throw new Error('property "'+t+'" already exists on the sourcemap, use set property instead');return this.setProperty(t,s)};Converter.prototype.setProperty=function(t,s){this.sourcemap[t]=s;return this};Converter.prototype.getProperty=function(t){return this.sourcemap[t]};s.fromObject=function(t){return new Converter(t)};s.fromJSON=function(t){return new Converter(t,{isJSON:true})};s.fromURI=function(t){return new Converter(t,{encoding:"uri"})};s.fromBase64=function(t){return new Converter(t,{encoding:"base64"})};s.fromComment=function(t){var i,r;t=t.replace(/^\/\*/g,"//").replace(/\*\/$/g,"");i=s.commentRegex.exec(t);r=i&&i[4]||"uri";return new Converter(t,{encoding:r,hasComment:true})};function makeConverter(t){return new Converter(t,{isJSON:true})}s.fromMapFileComment=function(t,s){if(typeof s==="string"){throw new Error("String directory paths are no longer supported with `fromMapFileComment`\n"+"Please review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading")}var i=readFromFileMap(t,s);if(i!=null&&typeof i.then==="function"){return i.then(makeConverter)}else{return makeConverter(i)}};s.fromSource=function(t){var i=t.match(s.commentRegex);return i?s.fromComment(i.pop()):null};s.fromMapFileSource=function(t,i){if(typeof i==="string"){throw new Error("String directory paths are no longer supported with `fromMapFileSource`\n"+"Please review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading")}var r=t.match(s.mapFileCommentRegex);return r?s.fromMapFileComment(r.pop(),i):null};s.removeComments=function(t){return t.replace(s.commentRegex,"")};s.removeMapFileComments=function(t){return t.replace(s.mapFileCommentRegex,"")};s.generateMapFileComment=function(t,s){var i="sourceMappingURL="+t;return s&&s.multiline?"/*# "+i+" */":"//# "+i}},69666:t=>{t.exports={"0.20":"39",.21:"41",.22:"41",.23:"41",.24:"41",.25:"42",.26:"42",.27:"43",.28:"43",.29:"43","0.30":"44",.31:"45",.32:"45",.33:"45",.34:"45",.35:"45",.36:"47",.37:"49","1.0":"49",1.1:"50",1.2:"51",1.3:"52",1.4:"53",1.5:"54",1.6:"56",1.7:"58",1.8:"59","2.0":"61",2.1:"61","3.0":"66",3.1:"66","4.0":"69",4.1:"69",4.2:"69","5.0":"73","6.0":"76",6.1:"76","7.0":"78",7.1:"78",7.2:"78",7.3:"78","8.0":"80",8.1:"80",8.2:"80",8.3:"80",8.4:"80",8.5:"80","9.0":"83",9.1:"83",9.2:"83",9.3:"83",9.4:"83","10.0":"85",10.1:"85",10.2:"85",10.3:"85",10.4:"85","11.0":"87",11.1:"87",11.2:"87",11.3:"87",11.4:"87",11.5:"87","12.0":"89",12.1:"89",12.2:"89","13.0":"91",13.1:"91",13.2:"91",13.3:"91",13.4:"91",13.5:"91",13.6:"91","14.0":"93",14.1:"93",14.2:"93","15.0":"94",15.1:"94",15.2:"94",15.3:"94",15.4:"94",15.5:"94","16.0":"96",16.1:"96",16.2:"96","17.0":"98",17.1:"98",17.2:"98",17.3:"98",17.4:"98","18.0":"100",18.1:"100",18.2:"100",18.3:"100","19.0":"102",19.1:"102","20.0":"104",20.1:"104",20.2:"104",20.3:"104","21.0":"106",21.1:"106",21.2:"106",21.3:"106",21.4:"106","22.0":"108",22.1:"108",22.2:"108",22.3:"108","23.0":"110",23.1:"110",23.2:"110",23.3:"110","24.0":"112",24.1:"112",24.2:"112",24.3:"112",24.4:"112",24.5:"112",24.6:"112",24.7:"112",24.8:"112","25.0":"114",25.1:"114",25.2:"114",25.3:"114",25.4:"114",25.5:"114",25.6:"114",25.7:"114",25.8:"114",25.9:"114","26.0":"116",26.1:"116",26.2:"116",26.3:"116",26.4:"116",26.5:"116",26.6:"116","27.0":"118",27.1:"118",27.2:"118",27.3:"118","28.0":"120",28.1:"120",28.2:"120",28.3:"120","29.0":"122",29.1:"122",29.2:"122",29.3:"122",29.4:"122","30.0":"124",30.1:"124",30.2:"124",30.3:"124",30.4:"124",30.5:"124","31.0":"126",31.1:"126",31.2:"126",31.3:"126",31.4:"126",31.5:"126",31.6:"126",31.7:"126","32.0":"128",32.1:"128",32.2:"128",32.3:"128","33.0":"130",33.1:"130",33.2:"130",33.3:"130",33.4:"130","34.0":"132",34.1:"132",34.2:"132",34.3:"132",34.4:"132",34.5:"132","35.0":"134",35.1:"134",35.2:"134",35.3:"134",35.4:"134",35.5:"134",35.6:"134",35.7:"134","36.0":"136",36.1:"136",36.2:"136",36.3:"136",36.4:"136",36.5:"136",36.6:"136",36.7:"136",36.8:"136",36.9:"136","37.0":"138",37.1:"138",37.2:"138",37.3:"138",37.4:"138",37.5:"138",37.6:"138",37.7:"138",37.8:"138",37.9:"138","37.10":"138","38.0":"140",38.1:"140",38.2:"140",38.3:"140",38.4:"140",38.5:"140",38.6:"140",38.7:"140",38.8:"140","39.0":"142",39.1:"142",39.2:"142",39.3:"142",39.4:"142",39.5:"142",39.6:"142",39.7:"142",39.8:"142","40.0":"144",40.1:"144",40.2:"144",40.3:"144",40.4:"144",40.5:"144",40.6:"144",40.7:"144",40.8:"144",40.9:"144","40.10":"144","41.0":"146",41.1:"146",41.2:"146",41.3:"146",41.4:"146",41.5:"146",41.6:"146",41.7:"146",41.8:"146",41.9:"146","41.10":"146","42.0":"148",42.1:"148",42.2:"148",42.3:"148",42.4:"148",42.5:"148",42.6:"148",42.7:"148",42.8:"148",42.9:"148","42.10":"148",42.11:"148","43.0":"150",43.1:"150",43.2:"150",43.3:"150",43.4:"150",43.5:"150",43.6:"150",43.7:"150","44.0":"152",44.1:"152",44.2:"152",44.3:"152",44.4:"152",44.5:"152",44.6:"152","45.0":"156"}},7469:t=>{t.exports=function(t){var s,i,r;var a=t||1;function keep(t,o){if(++s>a){r=i;reset(1);++s}i[t]=o}function reset(t){s=0;i=Object.create(null);t||(r=Object.create(null))}reset();return{clear:reset,has:function(t){return i[t]!==void 0||r[t]!==void 0},get:function(t){var s=i[t];if(s!==void 0)return s;if((s=r[t])!==void 0){keep(t,s);return s}},set:function(t,s){if(i[t]!==void 0){i[t]=s}else{keep(t,s)}}}}},9621:t=>{const s=Symbol.for("gensync:v1:start");const i=Symbol.for("gensync:v1:suspend");const r="GENSYNC_EXPECTED_START";const a="GENSYNC_EXPECTED_SUSPEND";const o="GENSYNC_OPTIONS_ERROR";const l="GENSYNC_RACE_NONEMPTY";const u="GENSYNC_ERRBACK_NO_CALLBACK";t.exports=Object.assign(function gensync(t){let s=t;if(typeof t!=="function"){s=newGenerator(t)}else{s=wrapGenerator(t)}return Object.assign(s,makeFunctionAPI(s))},{all:buildOperation({name:"all",arity:1,sync:function(t){const s=Array.from(t[0]);return s.map(t=>evaluateSync(t))},async:function(t,s,i){const r=Array.from(t[0]);if(r.length===0){Promise.resolve().then(()=>s([]));return}let a=0;const o=r.map(()=>undefined);r.forEach((t,r)=>{evaluateAsync(t,t=>{o[r]=t;a+=1;if(a===o.length)s(o)},i)})}}),race:buildOperation({name:"race",arity:1,sync:function(t){const s=Array.from(t[0]);if(s.length===0){throw makeError("Must race at least 1 item",l)}return evaluateSync(s[0])},async:function(t,s,i){const r=Array.from(t[0]);if(r.length===0){throw makeError("Must race at least 1 item",l)}for(const t of r){evaluateAsync(t,s,i)}}})});function makeFunctionAPI(t){const s={sync:function(...s){return evaluateSync(t.apply(this,s))},async:function(...s){return new Promise((i,r)=>{evaluateAsync(t.apply(this,s),i,r)})},errback:function(...s){const i=s.pop();if(typeof i!=="function"){throw makeError("Asynchronous function called without callback",u)}let r;try{r=t.apply(this,s)}catch(t){i(t);return}evaluateAsync(r,t=>i(undefined,t),t=>i(t))}};return s}function assertTypeof(t,s,i,r){if(typeof i===t||r&&typeof i==="undefined"){return}let a;if(r){a=`Expected opts.${s} to be either a ${t}, or undefined.`}else{a=`Expected opts.${s} to be a ${t}.`}throw makeError(a,o)}function makeError(t,s){return Object.assign(new Error(t),{code:s})}function newGenerator({name:t,arity:s,sync:i,async:r,errback:a}){assertTypeof("string","name",t,true);assertTypeof("number","arity",s,true);assertTypeof("function","sync",i);assertTypeof("function","async",r,true);assertTypeof("function","errback",a,true);if(r&&a){throw makeError("Expected one of either opts.async or opts.errback, but got _both_.",o)}if(typeof t!=="string"){let s;if(a&&a.name&&a.name!=="errback"){s=a.name}if(r&&r.name&&r.name!=="async"){s=r.name.replace(/Async$/,"")}if(i&&i.name&&i.name!=="sync"){s=i.name.replace(/Sync$/,"")}if(typeof s==="string"){t=s}}if(typeof s!=="number"){s=i.length}return buildOperation({name:t,arity:s,sync:function(t){return i.apply(this,t)},async:function(t,s,o){if(r){r.apply(this,t).then(s,o)}else if(a){a.call(this,...t,(t,i)=>{if(t==null)s(i);else o(t)})}else{s(i.apply(this,t))}}})}function wrapGenerator(t){return setFunctionMetadata(t.name,t.length,function(...s){return t.apply(this,s)})}function buildOperation({name:t,arity:r,sync:a,async:o}){return setFunctionMetadata(t,r,function*(...t){const r=yield s;if(!r){const s=a.call(this,t);return s}let l;try{o.call(this,t,t=>{if(l)return;l={value:t};r()},t=>{if(l)return;l={err:t};r()})}catch(t){l={err:t};r()}yield i;if(l.hasOwnProperty("err")){throw l.err}return l.value})}function evaluateSync(t){let s;while(!({value:s}=t.next()).done){assertStart(s,t)}return s}function evaluateAsync(t,s,i){(function step(){try{let i;while(!({value:i}=t.next()).done){assertStart(i,t);let s=true;let r=false;const a=t.next(()=>{if(s){r=true}else{step()}});s=false;assertSuspend(a,t);if(!r){return}}return s(i)}catch(t){return i(t)}})()}function assertStart(t,i){if(t===s)return;throwError(i,makeError(`Got unexpected yielded value in gensync generator: ${JSON.stringify(t)}. Did you perhaps mean to use 'yield*' instead of 'yield'?`,r))}function assertSuspend({value:t,done:s},r){if(!s&&t===i)return;throwError(r,makeError(s?"Unexpected generator completion. If you get this, it is probably a gensync bug.":`Expected GENSYNC_SUSPEND, got ${JSON.stringify(t)}. If you get this, it is probably a gensync bug.`,a))}function throwError(t,s){if(t.throw)t.throw(s);throw s}function isIterable(t){return!!t&&(typeof t==="object"||typeof t==="function")&&!t[Symbol.iterator]}function setFunctionMetadata(t,s,i){if(typeof t==="string"){const s=Object.getOwnPropertyDescriptor(i,"name");if(!s||s.configurable){Object.defineProperty(i,"name",Object.assign(s||{},{configurable:true,value:t}))}}if(typeof s==="number"){const t=Object.getOwnPropertyDescriptor(i,"length");if(!t||t.configurable){Object.defineProperty(i,"length",Object.assign(t||{},{configurable:true,value:s}))}}return i}},59376:t=>{const s={};const i=s.hasOwnProperty;const forOwn=(t,s)=>{for(const r in t){if(i.call(t,r)){s(r,t[r])}}};const extend=(t,s)=>{if(!s){return t}forOwn(s,(s,i)=>{t[s]=i});return t};const forEach=(t,s)=>{const i=t.length;let r=-1;while(++r<i){s(t[r])}};const fourHexEscape=t=>"\\u"+("0000"+t).slice(-4);const hexadecimal=(t,s)=>{let i=t.toString(16);if(s)return i;return i.toUpperCase()};const r=s.toString;const a=Array.isArray;const isBuffer=t=>typeof Buffer==="function"&&Buffer.isBuffer(t);const isObject=t=>r.call(t)=="[object Object]";const isString=t=>typeof t=="string"||r.call(t)=="[object String]";const isNumber=t=>typeof t=="number"||r.call(t)=="[object Number]";const isBigInt=t=>typeof t=="bigint";const isFunction=t=>typeof t=="function";const isMap=t=>r.call(t)=="[object Map]";const isSet=t=>r.call(t)=="[object Set]";const o={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"};const l=/[\\\b\f\n\r\t]/;const u=/[0-9]/;const p=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;const f=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g;const h=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g;const jsesc=(t,s)=>{const increaseIndentation=()=>{_=k;++s.indentLevel;k=s.indent.repeat(s.indentLevel)};const i={escapeEverything:false,minimal:false,isScriptContext:false,quotes:"single",wrap:false,es6:false,json:false,compact:true,lowercaseHex:false,numbers:"decimal",indent:"\t",indentLevel:0,__inline1__:false,__inline2__:false};const r=s&&s.json;if(r){i.quotes="double";i.wrap=true}s=extend(i,s);if(s.quotes!="single"&&s.quotes!="double"&&s.quotes!="backtick"){s.quotes="single"}const m=s.quotes=="double"?'"':s.quotes=="backtick"?"`":"'";const g=s.compact;const x=s.lowercaseHex;let k=s.indent.repeat(s.indentLevel);let _="";const T=s.__inline1__;const C=s.__inline2__;const A=g?"":"\n";let I;let P=true;const $=s.numbers=="binary";const O=s.numbers=="octal";const D=s.numbers=="decimal";const N=s.numbers=="hexadecimal";if(r&&t&&isFunction(t.toJSON)){t=t.toJSON()}if(!isString(t)){if(isMap(t)){if(t.size==0){return"new Map()"}if(!g){s.__inline1__=true;s.__inline2__=false}return"new Map("+jsesc(Array.from(t),s)+")"}if(isSet(t)){if(t.size==0){return"new Set()"}return"new Set("+jsesc(Array.from(t),s)+")"}if(isBuffer(t)){if(t.length==0){return"Buffer.from([])"}return"Buffer.from("+jsesc(Array.from(t),s)+")"}if(a(t)){I=[];s.wrap=true;if(T){s.__inline1__=false;s.__inline2__=true}if(!C){increaseIndentation()}forEach(t,t=>{P=false;if(C){s.__inline2__=false}I.push((g||C?"":k)+jsesc(t,s))});if(P){return"[]"}if(C){return"["+I.join(", ")+"]"}return"["+A+I.join(","+A)+A+(g?"":_)+"]"}else if(isNumber(t)||isBigInt(t)){if(r){return JSON.stringify(Number(t))}let s;if(D){s=String(t)}else if(N){let i=t.toString(16);if(!x){i=i.toUpperCase()}s="0x"+i}else if($){s="0b"+t.toString(2)}else if(O){s="0o"+t.toString(8)}if(isBigInt(t)){return s+"n"}return s}else if(isBigInt(t)){if(r){return JSON.stringify(Number(t))}return t+"n"}else if(!isObject(t)){if(r){return JSON.stringify(t)||"null"}return String(t)}else{I=[];s.wrap=true;increaseIndentation();forOwn(t,(t,i)=>{P=false;I.push((g?"":k)+jsesc(t,s)+":"+(g?"":" ")+jsesc(i,s))});if(P){return"{}"}return"{"+A+I.join(","+A)+A+(g?"":_)+"}"}}const j=s.escapeEverything?f:h;I=t.replace(j,(t,i,a,f,h,g)=>{if(i){if(s.minimal)return i;const t=i.charCodeAt(0);const r=i.charCodeAt(1);if(s.es6){const s=(t-55296)*1024+r-56320+65536;const i=hexadecimal(s,x);return"\\u{"+i+"}"}return fourHexEscape(hexadecimal(t,x))+fourHexEscape(hexadecimal(r,x))}if(a){return fourHexEscape(hexadecimal(a.charCodeAt(0),x))}if(t=="\0"&&!r&&!u.test(g.charAt(h+1))){return"\\0"}if(f){if(f==m||s.escapeEverything){return"\\"+f}return f}if(l.test(t)){return o[t]}if(s.minimal&&!p.test(t)){return t}const k=hexadecimal(t.charCodeAt(0),x);if(r||k.length>2){return fourHexEscape(k)}return"\\x"+("00"+k).slice(-2)});if(m=="`"){I=I.replace(/\$\{/g,"\\${")}if(s.isScriptContext){I=I.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,r?"\\u003C!--":"\\x3C!--")}if(s.wrap){I=m+I+m}return I};jsesc.version="3.0.2";t.exports=jsesc},84841:(t,s,i)=>{const r=i(55438);const a=i(91568);const o={parse:r,stringify:a};t.exports=o},55438:(t,s,i)=>{const r=i(37393);let a;let o;let l;let u;let p;let f;let h;let m;let g;t.exports=function parse(t,s){a=String(t);o="start";l=[];u=0;p=1;f=0;h=undefined;m=undefined;g=undefined;do{h=lex();I[o]()}while(h.type!=="eof");if(typeof s==="function"){return internalize({"":g},"",s)}return g};function internalize(t,s,i){const r=t[s];if(r!=null&&typeof r==="object"){if(Array.isArray(r)){for(let t=0;t<r.length;t++){const s=String(t);const a=internalize(r,s,i);if(a===undefined){delete r[s]}else{Object.defineProperty(r,s,{value:a,writable:true,enumerable:true,configurable:true})}}}else{for(const t in r){const s=internalize(r,t,i);if(s===undefined){delete r[t]}else{Object.defineProperty(r,t,{value:s,writable:true,enumerable:true,configurable:true})}}}}return i.call(t,s,r)}let x;let k;let _;let T;let C;function lex(){x="default";k="";_=false;T=1;for(;;){C=peek();const t=A[x]();if(t){return t}}}function peek(){if(a[u]){return String.fromCodePoint(a.codePointAt(u))}}function read(){const t=peek();if(t==="\n"){p++;f=0}else if(t){f+=t.length}else{f++}if(t){u+=t.length}return t}const A={default(){switch(C){case"\t":case"\v":case"\f":case" ":case" ":case"\ufeff":case"\n":case"\r":case"\u2028":case"\u2029":read();return;case"/":read();x="comment";return;case undefined:read();return newToken("eof")}if(r.isSpaceSeparator(C)){read();return}return A[o]()},comment(){switch(C){case"*":read();x="multiLineComment";return;case"/":read();x="singleLineComment";return}throw invalidChar(read())},multiLineComment(){switch(C){case"*":read();x="multiLineCommentAsterisk";return;case undefined:throw invalidChar(read())}read()},multiLineCommentAsterisk(){switch(C){case"*":read();return;case"/":read();x="default";return;case undefined:throw invalidChar(read())}read();x="multiLineComment"},singleLineComment(){switch(C){case"\n":case"\r":case"\u2028":case"\u2029":read();x="default";return;case undefined:read();return newToken("eof")}read()},value(){switch(C){case"{":case"[":return newToken("punctuator",read());case"n":read();literal("ull");return newToken("null",null);case"t":read();literal("rue");return newToken("boolean",true);case"f":read();literal("alse");return newToken("boolean",false);case"-":case"+":if(read()==="-"){T=-1}x="sign";return;case".":k=read();x="decimalPointLeading";return;case"0":k=read();x="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":k=read();x="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",Infinity);case"N":read();literal("aN");return newToken("numeric",NaN);case'"':case"'":_=read()==='"';k="";x="string";return}throw invalidChar(read())},identifierNameStartEscape(){if(C!=="u"){throw invalidChar(read())}read();const t=unicodeEscape();switch(t){case"$":case"_":break;default:if(!r.isIdStartChar(t)){throw invalidIdentifier()}break}k+=t;x="identifierName"},identifierName(){switch(C){case"$":case"_":case"":case"":k+=read();return;case"\\":read();x="identifierNameEscape";return}if(r.isIdContinueChar(C)){k+=read();return}return newToken("identifier",k)},identifierNameEscape(){if(C!=="u"){throw invalidChar(read())}read();const t=unicodeEscape();switch(t){case"$":case"_":case"":case"":break;default:if(!r.isIdContinueChar(t)){throw invalidIdentifier()}break}k+=t;x="identifierName"},sign(){switch(C){case".":k=read();x="decimalPointLeading";return;case"0":k=read();x="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":k=read();x="decimalInteger";return;case"I":read();literal("nfinity");return newToken("numeric",T*Infinity);case"N":read();literal("aN");return newToken("numeric",NaN)}throw invalidChar(read())},zero(){switch(C){case".":k+=read();x="decimalPoint";return;case"e":case"E":k+=read();x="decimalExponent";return;case"x":case"X":k+=read();x="hexadecimal";return}return newToken("numeric",T*0)},decimalInteger(){switch(C){case".":k+=read();x="decimalPoint";return;case"e":case"E":k+=read();x="decimalExponent";return}if(r.isDigit(C)){k+=read();return}return newToken("numeric",T*Number(k))},decimalPointLeading(){if(r.isDigit(C)){k+=read();x="decimalFraction";return}throw invalidChar(read())},decimalPoint(){switch(C){case"e":case"E":k+=read();x="decimalExponent";return}if(r.isDigit(C)){k+=read();x="decimalFraction";return}return newToken("numeric",T*Number(k))},decimalFraction(){switch(C){case"e":case"E":k+=read();x="decimalExponent";return}if(r.isDigit(C)){k+=read();return}return newToken("numeric",T*Number(k))},decimalExponent(){switch(C){case"+":case"-":k+=read();x="decimalExponentSign";return}if(r.isDigit(C)){k+=read();x="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentSign(){if(r.isDigit(C)){k+=read();x="decimalExponentInteger";return}throw invalidChar(read())},decimalExponentInteger(){if(r.isDigit(C)){k+=read();return}return newToken("numeric",T*Number(k))},hexadecimal(){if(r.isHexDigit(C)){k+=read();x="hexadecimalInteger";return}throw invalidChar(read())},hexadecimalInteger(){if(r.isHexDigit(C)){k+=read();return}return newToken("numeric",T*Number(k))},string(){switch(C){case"\\":read();k+=escape();return;case'"':if(_){read();return newToken("string",k)}k+=read();return;case"'":if(!_){read();return newToken("string",k)}k+=read();return;case"\n":case"\r":throw invalidChar(read());case"\u2028":case"\u2029":separatorChar(C);break;case undefined:throw invalidChar(read())}k+=read()},start(){switch(C){case"{":case"[":return newToken("punctuator",read())}x="value"},beforePropertyName(){switch(C){case"$":case"_":k=read();x="identifierName";return;case"\\":read();x="identifierNameStartEscape";return;case"}":return newToken("punctuator",read());case'"':case"'":_=read()==='"';x="string";return}if(r.isIdStartChar(C)){k+=read();x="identifierName";return}throw invalidChar(read())},afterPropertyName(){if(C===":"){return newToken("punctuator",read())}throw invalidChar(read())},beforePropertyValue(){x="value"},afterPropertyValue(){switch(C){case",":case"}":return newToken("punctuator",read())}throw invalidChar(read())},beforeArrayValue(){if(C==="]"){return newToken("punctuator",read())}x="value"},afterArrayValue(){switch(C){case",":case"]":return newToken("punctuator",read())}throw invalidChar(read())},end(){throw invalidChar(read())}};function newToken(t,s){return{type:t,value:s,line:p,column:f}}function literal(t){for(const s of t){const t=peek();if(t!==s){throw invalidChar(read())}read()}}function escape(){const t=peek();switch(t){case"b":read();return"\b";case"f":read();return"\f";case"n":read();return"\n";case"r":read();return"\r";case"t":read();return"\t";case"v":read();return"\v";case"0":read();if(r.isDigit(peek())){throw invalidChar(read())}return"\0";case"x":read();return hexEscape();case"u":read();return unicodeEscape();case"\n":case"\u2028":case"\u2029":read();return"";case"\r":read();if(peek()==="\n"){read()}return"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":throw invalidChar(read());case undefined:throw invalidChar(read())}return read()}function hexEscape(){let t="";let s=peek();if(!r.isHexDigit(s)){throw invalidChar(read())}t+=read();s=peek();if(!r.isHexDigit(s)){throw invalidChar(read())}t+=read();return String.fromCodePoint(parseInt(t,16))}function unicodeEscape(){let t="";let s=4;while(s-- >0){const s=peek();if(!r.isHexDigit(s)){throw invalidChar(read())}t+=read()}return String.fromCodePoint(parseInt(t,16))}const I={start(){if(h.type==="eof"){throw invalidEOF()}push()},beforePropertyName(){switch(h.type){case"identifier":case"string":m=h.value;o="afterPropertyName";return;case"punctuator":pop();return;case"eof":throw invalidEOF()}},afterPropertyName(){if(h.type==="eof"){throw invalidEOF()}o="beforePropertyValue"},beforePropertyValue(){if(h.type==="eof"){throw invalidEOF()}push()},beforeArrayValue(){if(h.type==="eof"){throw invalidEOF()}if(h.type==="punctuator"&&h.value==="]"){pop();return}push()},afterPropertyValue(){if(h.type==="eof"){throw invalidEOF()}switch(h.value){case",":o="beforePropertyName";return;case"}":pop()}},afterArrayValue(){if(h.type==="eof"){throw invalidEOF()}switch(h.value){case",":o="beforeArrayValue";return;case"]":pop()}},end(){}};function push(){let t;switch(h.type){case"punctuator":switch(h.value){case"{":t={};break;case"[":t=[];break}break;case"null":case"boolean":case"numeric":case"string":t=h.value;break}if(g===undefined){g=t}else{const s=l[l.length-1];if(Array.isArray(s)){s.push(t)}else{Object.defineProperty(s,m,{value:t,writable:true,enumerable:true,configurable:true})}}if(t!==null&&typeof t==="object"){l.push(t);if(Array.isArray(t)){o="beforeArrayValue"}else{o="beforePropertyName"}}else{const t=l[l.length-1];if(t==null){o="end"}else if(Array.isArray(t)){o="afterArrayValue"}else{o="afterPropertyValue"}}}function pop(){l.pop();const t=l[l.length-1];if(t==null){o="end"}else if(Array.isArray(t)){o="afterArrayValue"}else{o="afterPropertyValue"}}function invalidChar(t){if(t===undefined){return syntaxError(`JSON5: invalid end of input at ${p}:${f}`)}return syntaxError(`JSON5: invalid character '${formatChar(t)}' at ${p}:${f}`)}function invalidEOF(){return syntaxError(`JSON5: invalid end of input at ${p}:${f}`)}function invalidIdentifier(){f-=5;return syntaxError(`JSON5: invalid identifier character at ${p}:${f}`)}function separatorChar(t){console.warn(`JSON5: '${formatChar(t)}' in strings is not valid ECMAScript; consider escaping`)}function formatChar(t){const s={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(s[t]){return s[t]}if(t<" "){const s=t.charCodeAt(0).toString(16);return"\\x"+("00"+s).substring(s.length)}return t}function syntaxError(t){const s=new SyntaxError(t);s.lineNumber=p;s.columnNumber=f;return s}},91568:(t,s,i)=>{const r=i(37393);t.exports=function stringify(t,s,i){const a=[];let o="";let l;let u;let p="";let f;if(s!=null&&typeof s==="object"&&!Array.isArray(s)){i=s.space;f=s.quote;s=s.replacer}if(typeof s==="function"){u=s}else if(Array.isArray(s)){l=[];for(const t of s){let s;if(typeof t==="string"){s=t}else if(typeof t==="number"||t instanceof String||t instanceof Number){s=String(t)}if(s!==undefined&&l.indexOf(s)<0){l.push(s)}}}if(i instanceof Number){i=Number(i)}else if(i instanceof String){i=String(i)}if(typeof i==="number"){if(i>0){i=Math.min(10,Math.floor(i));p=" ".substr(0,i)}}else if(typeof i==="string"){p=i.substr(0,10)}return serializeProperty("",{"":t});function serializeProperty(t,s){let i=s[t];if(i!=null){if(typeof i.toJSON5==="function"){i=i.toJSON5(t)}else if(typeof i.toJSON==="function"){i=i.toJSON(t)}}if(u){i=u.call(s,t,i)}if(i instanceof Number){i=Number(i)}else if(i instanceof String){i=String(i)}else if(i instanceof Boolean){i=i.valueOf()}switch(i){case null:return"null";case true:return"true";case false:return"false"}if(typeof i==="string"){return quoteString(i,false)}if(typeof i==="number"){return String(i)}if(typeof i==="object"){return Array.isArray(i)?serializeArray(i):serializeObject(i)}return undefined}function quoteString(t){const s={"'":.1,'"':.2};const i={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};let a="";for(let o=0;o<t.length;o++){const l=t[o];switch(l){case"'":case'"':s[l]++;a+=l;continue;case"\0":if(r.isDigit(t[o+1])){a+="\\x00";continue}}if(i[l]){a+=i[l];continue}if(l<" "){let t=l.charCodeAt(0).toString(16);a+="\\x"+("00"+t).substring(t.length);continue}a+=l}const o=f||Object.keys(s).reduce((t,i)=>s[t]<s[i]?t:i);a=a.replace(new RegExp(o,"g"),i[o]);return o+a+o}function serializeObject(t){if(a.indexOf(t)>=0){throw TypeError("Converting circular structure to JSON5")}a.push(t);let s=o;o=o+p;let i=l||Object.keys(t);let r=[];for(const s of i){const i=serializeProperty(s,t);if(i!==undefined){let t=serializeKey(s)+":";if(p!==""){t+=" "}t+=i;r.push(t)}}let u;if(r.length===0){u="{}"}else{let t;if(p===""){t=r.join(",");u="{"+t+"}"}else{let i=",\n"+o;t=r.join(i);u="{\n"+o+t+",\n"+s+"}"}}a.pop();o=s;return u}function serializeKey(t){if(t.length===0){return quoteString(t,true)}const s=String.fromCodePoint(t.codePointAt(0));if(!r.isIdStartChar(s)){return quoteString(t,true)}for(let i=s.length;i<t.length;i++){if(!r.isIdContinueChar(String.fromCodePoint(t.codePointAt(i)))){return quoteString(t,true)}}return t}function serializeArray(t){if(a.indexOf(t)>=0){throw TypeError("Converting circular structure to JSON5")}a.push(t);let s=o;o=o+p;let i=[];for(let s=0;s<t.length;s++){const r=serializeProperty(String(s),t);i.push(r!==undefined?r:"null")}let r;if(i.length===0){r="[]"}else{if(p===""){let t=i.join(",");r="["+t+"]"}else{let t=",\n"+o;let a=i.join(t);r="[\n"+o+a+",\n"+s+"]"}}a.pop();o=s;return r}}},57414:t=>{t.exports.Space_Separator=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/;t.exports.ID_Start=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/;t.exports.ID_Continue=/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},37393:(t,s,i)=>{const r=i(57414);t.exports={isSpaceSeparator(t){return typeof t==="string"&&r.Space_Separator.test(t)},isIdStartChar(t){return typeof t==="string"&&(t>="a"&&t<="z"||t>="A"&&t<="Z"||t==="$"||t==="_"||r.ID_Start.test(t))},isIdContinueChar(t){return typeof t==="string"&&(t>="a"&&t<="z"||t>="A"&&t<="Z"||t>="0"&&t<="9"||t==="$"||t==="_"||t===""||t===""||r.ID_Continue.test(t))},isDigit(t){return typeof t==="string"&&/[0-9]/.test(t)},isHexDigit(t){return typeof t==="string"&&/[0-9A-Fa-f]/.test(t)}}},64973:t=>{function webpackEmptyContext(t){var s=new Error("Cannot find module '"+t+"'");s.code="MODULE_NOT_FOUND";throw s}webpackEmptyContext.keys=()=>[];webpackEmptyContext.resolve=webpackEmptyContext;webpackEmptyContext.id=64973;t.exports=webpackEmptyContext},43089:(t,s,i)=>{t.exports=i.p+"d175c127fee48e80d04c.json"},76982:s=>{s.exports=t(import.meta.url)("crypto")},79896:s=>{s.exports=t(import.meta.url)("fs")},34589:s=>{s.exports=t(import.meta.url)("node:assert")},31421:s=>{s.exports=t(import.meta.url)("node:child_process")},77598:s=>{s.exports=t(import.meta.url)("node:crypto")},40610:s=>{s.exports=t(import.meta.url)("node:dns")},73024:s=>{s.exports=t(import.meta.url)("node:fs")},51455:s=>{s.exports=t(import.meta.url)("node:fs/promises")},37067:s=>{s.exports=t(import.meta.url)("node:http")},98995:s=>{s.exports=t(import.meta.url)("node:module")},77030:s=>{s.exports=t(import.meta.url)("node:net")},48161:s=>{s.exports=t(import.meta.url)("node:os")},76760:s=>{s.exports=t(import.meta.url)("node:path")},80481:s=>{s.exports=t(import.meta.url)("node:readline")},80099:s=>{s.exports=t(import.meta.url)("node:sqlite")},73136:s=>{s.exports=t(import.meta.url)("node:url")},57975:s=>{s.exports=t(import.meta.url)("node:util")},78877:s=>{s.exports=t(import.meta.url)("node:v8")},30714:s=>{s.exports=t(import.meta.url)("node:vm")},75919:s=>{s.exports=t(import.meta.url)("node:worker_threads")},38522:s=>{s.exports=t(import.meta.url)("node:zlib")},16928:s=>{s.exports=t(import.meta.url)("path")},28167:s=>{s.exports=t(import.meta.url)("worker_threads")},57409:(t,s)=>{"function"==typeof SuppressedError&&SuppressedError;const n=(t,s)=>{if(t===s)return 0;const[i=0,r=0]=t.split(".",2).map(Number),[a=0,o=0]=s.split(".",2).map(Number);if(isNaN(i)||isNaN(r))throw new Error(`Invalid version: ${t}`);if(isNaN(a)||isNaN(o))throw new Error(`Invalid version: ${s}`);return i!==a?i>a?1:-1:r!==o?r>o?1:-1:0},i={c:{longName:"chrome"},ca:{longName:"chrome_android"},e:{longName:"edge"},f:{longName:"firefox"},fa:{longName:"firefox_android"},s:{longName:"safari"},si:{longName:"safari_ios"},o:{longName:"opera",engine:"Blink"},oa:{longName:"opera_android",engine:"Blink"},sa:{longName:"samsunginternet_android",engine:"Blink"},wva:{longName:"webview_android",engine:"Blink"},y:{longName:"ya_android",engine:"Blink"},u:{longName:"uc_android",engine:"Blink"},q:{longName:"qq_android",engine:"Blink"},k:{longName:"kai_os",engine:"Gecko"},fb:{longName:"facebook_android",engine:"Blink"},ia:{longName:"instagram_android",engine:"Blink"}},e=t=>6===t.length&&/^\d{6}$/.test(t)?`20${t.slice(0,2)}-${t.slice(2,4)}-${t.slice(4,6)}`:8===t.length&&/^\d{8}$/.test(t)?`${t.slice(0,4)}-${t.slice(4,6)}-${t.slice(6,8)}`:t,r={},a={};let o="",l=!1;"pre_baseline\nc,1,081211\nc,2,090521\nc,3,090915\nc,4,100125\nc,5,100525\nc,6,100902\nc,7,101019\nc,8,101202\nc,9,110203\nc,10,110308\nc,11,110427\nc,12,110607\nc,13,110802\nc,14,110916\nc,15,111025\nc,16,111213\nc,17,120208\nc,18,120328\nc,19,120515\nc,20,120626\nc,21,120731\nc,22,120925\nc,23,121106\nc,24,130110\nc,25,130221\nc,26,130326\nc,27,130521\nc,28,130709\nc,29,130820\nc,30,131001\nc,31,131112\nc,32,140114\nc,33,140220\nc,34,140408\nc,35,140520\nc,36,140716\nc,37,140826\nc,38,141007\nc,39,141118\nc,40,150121\nc,41,150303\nc,42,150414\nc,43,150519\nc,44,150721\nca,18,120627\nca,25,130227\nca,26,130403\nca,27,130522\nca,28,130710\nca,29,130821\nca,30,131002\nca,31,131114\nca,32,140115\nca,33,140226\nca,34,140402\nca,35,140520\nca,36,140716\nca,37,140903\nca,38,141008\nca,39,141112\nca,40,150121\nca,41,150311\nca,42,150415\nca,43,150527\nf,1,041109\nf,1.5,051129\nf,2,061024\nf,3,080617\nf,3.5,090630\nf,3.6,100121\nf,4,110322\nf,5,110621\nf,6,110816\nf,7,110927\nf,8,111108\nf,9,111220\nf,10,120131\nf,11,120313\nf,12,120424\nf,13,120605\nf,14,120717\nf,15,120828\nf,16,121009\nf,17,121120\nf,18,130108\nf,19,130219\nf,20,130402\nf,21,130514\nf,22,130625\nf,23,130806\nf,24,130917\nf,25,131029\nf,26,131210\nf,27,140204\nf,28,140318\nf,29,140429\nf,30,140610\nf,31,140722\nf,32,140902\nf,33,141014\nf,34,141201\nf,35,150113\nf,36,150224\nf,37,150331\nf,38,150512\nf,39,150702\nfa,4,110329\nfa,5,110621\nfa,6,110816\nfa,7,110927\nfa,8,111108\nfa,9,111221\nfa,10,120131\nfa,14,120626\nfa,15,120828\nfa,16,121009\nfa,17,121120\nfa,18,130108\nfa,19,130219\nfa,20,130402\nfa,21,130514\nfa,22,130625\nfa,23,130806\nfa,24,130917\nfa,25,131029\nfa,26,131210\nfa,27,140204\nfa,28,140318\nfa,29,140429\nfa,30,140610\nfa,31,140722\nfa,32,140902\nfa,33,141014\nfa,34,141201\nfa,35,150113\nfa,36,150227\nfa,37,150331\nfa,38,150512\nfa,39,150702\ns,1,030623\ns,1.1,031024\ns,1.2,040202\ns,1.3,050415\ns,2,050429\ns,3,071026\ns,3.1,080318\ns,4,090608\ns,5,100607\ns,5.1,110720\ns,6,120725\ns,7,131022\ns,8,141016\nsi,1,070629\nsi,2,080711\nsi,3,090617\nsi,3.2,100403\nsi,4,100621\nsi,4.2,101122\nsi,5,111012\nsi,6,120910\nsi,7,130918\nsi,8,140917\n20150729\nc,38,141007\nca,38,141008\ne,12,150729\nf,38,150512\nfa,38,150512\ns,8,141016\nsi,8,140917\no,25,141015,38\noa,25,141016,38\nsa,3.0,150410,38\nwva,38,141008,38\ny,14.12,u,38\nu,11.1,u,40\nq,8.1,u,57\nk,2.0,170701,48\nfb,66,u,48\nia,23,u,62\n20150916\nsi,9,150916\n20150922\nf,41,150922\nfa,41,150922\n20150930\nc,44,150721\nca,44,150729\ns,9,150930\no,31,150804,44\noa,32,150923,45\nsa,4.0,160311,44\nwva,44,150729,44\ny,15.9,u,44\nu,11.6,u,57\n20151112\ne,13,151112\n20151231\nc,44,150721\nca,44,150729\ne,13,151112\nf,41,150922\nfa,41,150922\ns,9,150930\nsi,9,150916\no,31,150804,44\noa,32,150923,45\nsa,4.0,160311,44\nwva,44,150729,44\ny,15.9,u,44\nu,11.6,u,57\nq,8.1,u,57\nk,2.0,170701,48\nfb,66,u,48\nia,23,u,62\n20160308\nf,45,160308\nfa,45,160308\n20160321\ns,9.1,160321\nsi,9.3,160321\n20160607\nf,47,160607\nfa,47,160607\n20160802\ne,14,160802\n20160907\nc,53,160831\nca,53,160907\no,40,160920,53\noa,41,161025,54\nsa,6.0,170823,56\nwva,53,160907,53\ny,16.10,u,53\nfb,95,u,53\n20160920\nf,49,160920\nfa,49,160920\ns,10,160920\nsi,10,160913\nk,3.0,210901,84\n20161231\nc,53,160831\nca,53,160907\ne,14,160802\nf,49,160920\nfa,49,160920\ns,10,160920\nsi,10,160913\no,40,160920,53\noa,41,161025,54\nsa,6.0,170823,56\nwva,53,160907,53\ny,16.10,u,53\nu,11.6,u,57\nq,8.1,u,57\nk,3.0,210901,84\nfb,95,u,53\nia,23,u,62\n20170201\nc,56,170125\nca,56,170201\nf,50,161115\nfa,50,161115\no,43,170207,56\noa,43,170927,59\nwva,56,170201,56\ny,17.3,u,56\nfb,112,u,56\n20170307\nf,52,170307\nfa,52,170307\n20170316\nca,57,170316\n20170327\ns,10.1,170327\nsi,10.3,170327\n20170405\nc,57,170309\ne,15,170405\no,44,170321,57\nsa,7.0,180316,59\nwva,57,170316,57\ny,17.4,u,57\nfb,117,u,57\n20170419\nf,53,170419\nfa,53,170419\n20170919\ns,11,170919\nsi,11,170919\n20170928\nfa,56,170928\n20171017\ne,16,171017\n20171024\nc,62,171017\nca,62,171024\no,49,171108,62\noa,46,180514,63\nsa,8.0,180718,63\nwva,62,171024,62\ny,17.11,u,62\nu,13.3,200909,78\nq,9.6,u,66\nfb,149,u,62\n20171128\nfa,57,171128\n20171231\nc,62,171017\nca,62,171024\ne,16,171017\nf,53,170419\nfa,57,171128\ns,11,170919\nsi,11,170919\no,49,171108,62\noa,46,180514,63\nsa,8.0,180718,63\nwva,62,171024,62\ny,17.11,u,62\nu,13.3,200909,78\nq,9.6,u,66\nk,3.0,210901,84\nfb,149,u,62\nia,23,u,62\n20180412\ns,11.1,180412\nsi,11.3,180329\n20180430\ne,17,180430\n20180509\nc,66,180417\nca,66,180417\nf,60,180509\nfa,60,180509\no,53,180510,66\noa,47,180723,66\nsa,9.0,180915,67\nwva,66,180417,66\ny,18.6,u,66\nfb,169,u,66\nia,42,u,66\n20180905\nf,62,180905\nfa,62,180905\n20181002\ne,18,181002\n20181023\nf,63,181023\nfa,63,181023\n20181211\nf,64,181211\nfa,64,181211\n20181231\nc,66,180417\nca,66,180417\ne,18,181002\nf,64,181211\nfa,64,181211\ns,11.1,180412\nsi,11.3,180329\no,53,180510,66\noa,47,180723,66\nsa,9.0,180915,67\nwva,66,180417,66\ny,18.6,u,66\nu,13.3,200909,78\nq,9.6,u,66\nk,3.0,210901,84\nfb,169,u,66\nia,42,u,66\n20190129\nf,65,190129\nfa,65,190129\n20190325\ns,12.1,190325\nsi,12.2,190325\n20190919\ns,13,190919\nsi,13,190919\n20191231\nc,66,180417\nca,66,180417\ne,18,181002\nf,65,190129\nfa,65,190129\ns,13,190919\nsi,13,190919\no,53,180510,66\noa,47,180723,66\nsa,9.0,180915,67\nwva,66,180417,66\ny,18.6,u,66\nu,13.3,200909,78\nq,9.6,u,66\nk,3.0,210901,84\nfb,169,u,66\nia,42,u,66\n20200115\nc,76,190730\nca,76,190730\ne,79,200115\nf,68,190709\nfa,68,190709\no,63,190820,76\noa,54,191018,76\nsa,12.0,200619,79\nwva,76,190730,76\ny,19.9,u,76\nq,10.9,201122,77\nfb,233,u,76\nia,96,u,80\n20200204\nc,80,200204\nca,80,200204\no,67,200303,80\noa,57,200330,80\nsa,13.0,201202,83\nwva,80,200204,80\ny,20.3,u,80\nu,15.3,230317,100\nq,11.7,211102,89\nfb,256,u,80\n20200207\ne,80,200207\n20200324\ns,13.1,200324\nsi,13.4,200324\n20200413\nc,81,200407\nca,81,200407\ne,81,200413\no,68,200422,81\noa,58,200513,81\nwva,81,200407,81\ny,20.4,u,81\nfb,266,u,81\nia,137,u,81\n20200727\nc,84,200727\nca,84,200727\ne,84,200716\no,70,200727,84\noa,60,200923,85\nsa,14.0,210417,87\nwva,84,200727,84\ny,20.8,200902,84\nfb,297,201202,86\nia,153,u,84\n20200728\nf,78,200630\nfa,79,200728\n20200827\nc,85,200825\nca,85,200825\ne,85,200827\no,71,200915,85\nwva,85,200825,85\ny,20.9,200927,85\nia,163,u,92\n20200916\nf,79,200728\ns,14,200916\nsi,14,200916\n20201020\nc,86,201020\nca,86,201020\ne,86,201009\no,72,201021,86\noa,61,201207,86\nwva,86,201020,86\ny,20.11,201111,86\n20201117\nf,83,201117\nfa,83,201117\n20201119\nc,87,201117\nca,87,201117\ne,87,201119\no,73,201209,87\noa,62,210216,87\nwva,87,201117,87\ny,20.12,201220,87\nfb,348,211219,96\n20201231\nc,87,201117\nca,87,201117\ne,87,201119\nf,83,201117\nfa,83,201117\ns,14,200916\nsi,14,200916\no,73,201209,87\noa,62,210216,87\nsa,14.0,210417,87\nwva,87,201117,87\ny,20.12,201220,87\nu,15.3,230317,100\nq,11.7,211102,89\nk,3.0,210901,84\nfb,348,211219,96\nia,163,u,92\n20210121\nc,88,210119\nca,88,210119\ne,88,210121\nf,84,201215\nfa,84,201215\no,74,210202,88\noa,63,210416,89\nsa,15.0,210813,90\nwva,88,210119,88\ny,21.1,211231,88\n20210126\nf,85,210126\nfa,85,210126\nk,4.0,250501,123\n20210426\nc,89,210302\nca,89,210302\ne,89,210304\nf,86,210223\nfa,86,210223\ns,14.1,210426\nsi,14.5,210426\no,75,210324,89\nwva,89,210302,89\ny,21.3,210404,89\n20210810\nf,91,210810\nfa,91,210810\n20210902\ne,93,210902\n20210907\nf,92,210907\nfa,92,210907\n20210920\nc,93,210831\nca,93,210831\ns,15,210920\nsi,15,210920\no,79,210914,93\noa,66,211215,94\nsa,17.0,220504,96\nwva,93,210831,93\ny,21.9,210929,93\nq,13.4,230426,98\nia,258,221104,106\n20211005\nf,93,211005\nfa,93,211005\n20211025\ns,15.1,211025\nsi,15.1,211025\n20211102\nf,94,211102\nfa,94,211102\n20211119\nc,96,211115\nca,96,211115\ne,96,211119\no,82,211202,96\noa,67,220131,96\nwva,96,211115,96\ny,22.1,211231,96\n20211207\nf,95,211207\n20211213\ns,15.2,211213\nsi,15.2,211213\n20211231\nc,96,211115\nca,96,211115\ne,96,211119\nf,95,211207\nfa,94,211102\ns,15.2,211213\nsi,15.2,211213\no,82,211202,96\noa,67,220131,96\nsa,17.0,220504,96\nwva,96,211115,96\ny,22.1,211231,96\nu,15.3,230317,100\nq,13.4,230426,98\nk,4.0,250501,123\nfb,348,211219,96\nia,258,221104,106\n20220106\nc,97,220104\nca,97,220104\ne,97,220106\no,83,220119,97\noa,68,220330,99\nsa,18.0,220808,99\nwva,97,220104,97\ny,22.3,220325,98\nfb,399,230204,109\n20220203\nc,98,220201\nca,98,220201\ne,98,220203\nf,96,220111\nfa,96,220111\no,84,220216,98\nwva,98,220201,98\n20220303\nc,99,220301\nca,99,220301\ne,99,220303\no,85,220323,99\nwva,99,220301,99\ny,22.5,220520,100\nq,14.2,231014,109\n20220314\nf,98,220308\nfa,98,220308\ns,15.4,220314\nsi,15.4,220314\n20220428\nc,101,220426\nca,101,220426\ne,101,220428\no,87,220517,101\noa,70,220629,102\nsa,19.0,221101,102\nwva,101,220426,101\ny,22.7,220707,102\nu,17.6,250515,123\n20220503\nf,100,220503\nfa,100,220503\n20220531\nf,101,220531\nfa,101,220531\n20220628\nf,102,220628\nfa,102,220628\n20220726\nf,103,220726\nfa,103,220726\n20220805\nc,104,220802\nca,104,220802\ne,104,220805\no,90,220818,104\noa,71,220916,104\nsa,20.0,230210,106\nwva,104,220802,104\ny,22.8,u,104\n20220823\nf,104,220823\nfa,104,220823\n20220902\nc,105,220902\nca,105,220902\ne,105,220901\ns,15.6,220720\nsi,15.6,220720\no,91,220914,105\noa,72,221021,106\nwva,105,220902,105\ny,22.11,221111,106\n20220912\ns,16,220912\nsi,16,220912\n20221003\nc,106,220927\nca,106,220927\ne,106,221003\no,92,221019,106\nwva,106,220927,106\n20221027\nc,107,221025\nca,107,221025\ne,107,221027\no,93,221117,107\noa,73,230117,108\nsa,21.0,230519,110\nwva,107,221025,107\ny,23.1,230110,108\nia,279,231231,109\n20221115\nf,107,221115\nfa,107,221115\n20221205\nc,108,221129\nca,108,221129\ne,108,221205\no,94,221215,108\nwva,108,221129,108\n20221213\nf,108,221213\nfa,108,221213\n20221231\nc,108,221129\nca,108,221129\ne,108,221205\nf,108,221213\nfa,108,221213\ns,16,220912\nsi,16,220912\no,94,221215,108\noa,73,230117,108\nsa,21.0,230519,110\nwva,108,221129,108\ny,23.1,230110,108\nu,17.6,250515,123\nq,14.2,231014,109\nk,4.0,250501,123\nfb,399,230204,109\nia,279,231231,109\n20230112\nc,109,230110\nca,109,230110\ne,109,230112\no,95,230201,109\noa,74,230313,110\nwva,109,230110,109\ny,23.3,230326,110\n20230214\nf,110,230214\nfa,110,230214\n20230313\nc,111,230307\nca,111,230307\ne,111,230313\no,97,230322,111\noa,75,230517,112\nsa,22.0,230714,111\nwva,111,230301,111\ny,23.5,230519,112\nq,19.1,250708,121\nfb,420,230628,114\nia,288,u,114\n20230314\nf,111,230314\nfa,111,230314\n20230327\ns,16.4,230327\nsi,16.4,230327\n20230411\nf,112,230411\nfa,112,230411\n20230509\nf,113,230509\nfa,113,230509\n20230606\nf,114,230606\nfa,114,230606\n20230704\nc,112,230404\nca,112,230404\ne,112,230406\nf,115,230704\nfa,115,230704\no,98,230420,112\nsa,23.0,231018,115\nwva,112,230404,112\n20230721\nc,115,230718\nca,115,230721\ne,115,230721\no,101,230726,115\noa,77,230831,115\nwva,115,230721,115\ny,23.9,230913,116\nfb,430,230903,116\nia,292,u,115\n20230801\nf,116,230801\nfa,116,230801\n20230915\nc,117,230912\nca,117,230912\ne,117,230915\no,103,231003,117\noa,78,231023,117\nsa,24.0,240125,117\nwva,117,230912,117\ny,23.11,231115,118\nfb,434,231005,117\nia,302,u,117\n20230918\ns,17,230918\nsi,17,230918\n20231013\nc,118,231010\nca,118,231010\ne,118,231013\nf,118,230926\nfa,118,230926\no,104,231023,118\noa,79,231206,119\nsa,25.0,240424,121\nwva,118,231010,118\nfb,437,u,118\nia,306,240117,118\n20231024\nf,119,231024\nfa,119,231024\n20231102\nc,119,231031\nca,119,231031\ne,119,231102\no,105,231114,119\nwva,119,231031,119\ny,24.1,240118,120\nfb,439,231111,119\nia,309,u,119\n20231121\nf,120,231121\nfa,120,231121\n20231205\nca,120,231205\n20231207\nc,120,231205\ne,120,231207\no,106,231219,120\noa,80,240125,120\nwva,120,231205,120\nfb,443,231207,120\nia,311,u,120\n20231211\ns,17.2,231211\nsi,17.2,231211\n20231219\nf,121,231219\nfa,121,231219\n20231231\nc,120,231205\nca,120,231205\ne,120,231207\nf,121,231219\nfa,121,231219\ns,17.2,231211\nsi,17.2,231211\no,106,231219,120\noa,80,240125,120\nsa,25.0,240424,121\nwva,120,231205,120\ny,24.1,240118,120\nu,17.6,250515,123\nq,19.1,250708,121\nk,4.0,250501,123\nfb,443,231207,120\nia,311,u,120\n20240123\nf,122,240123\nfa,122,240123\n20240125\nc,121,240123\nca,121,240123\ne,121,240125\no,107,240207,121\noa,81,240314,122\nwva,121,240123,121\ny,24.4,240327,122\nfb,448,240129,121\nia,317,240203,121\n20240220\nf,123,240220\nfa,123,240220\n20240305\ns,17.4,240305\nsi,17.4,240305\n20240319\nf,124,240319\nfa,124,240319\n20240322\nc,123,240319\nca,123,240319\ne,123,240322\no,109,240327,123\noa,82,240502,124\nsa,27.0,241106,125\nwva,123,240319,123\ny,24.6,240604,124\nfb,465,240707,126\nia,338,240706,126\n20240416\nf,125,240416\nfa,125,240416\n20240418\nc,124,240416\nca,124,240416\ne,124,240418\no,110,240514,124\nwva,124,240416,124\n20240513\ns,17.5,240513\nsi,17.5,240513\n20240514\nf,126,240514\nfa,126,240514\n20240517\nc,125,240514\nca,125,240514\ne,125,240517\no,111,240612,125\noa,83,240625,126\nwva,125,240514,125\ny,24.7,240718,126\n20240611\nf,127,240611\nfa,127,240611\n20240709\nf,128,240709\nfa,128,240709\n20240725\nc,127,240723\nca,127,240723\ne,127,240725\no,113,240822,127\noa,84,240826,127\nsa,28.0,250402,130\nwva,127,240723,127\ny,24.10,241011,128\nfb,474,240730,127\nia,346,240901,127\n20240806\nf,129,240806\nfa,129,240806\n20240903\nf,130,240903\nfa,130,240903\n20240916\ns,18,240916\nsi,18,240916\n20241001\nf,131,241001\nfa,131,241001\n20241017\nc,130,241015\nca,130,241015\ne,130,241017\no,115,241127,130\noa,86,241202,130\nwva,130,241015,130\ny,24.12,241130,130\nfb,486,241018,130\nia,355,241106,130\n20241029\nf,132,241029\nfa,132,241029\n20241211\ns,18.2,241211\nsi,18.2,241211\n20241231\nc,130,241015\nca,130,241015\ne,130,241017\nf,132,241029\nfa,132,241029\ns,18.2,241211\nsi,18.2,241211\no,115,241127,130\noa,86,241202,130\nsa,28.0,250402,130\nwva,130,241015,130\ny,24.12,241130,130\nfb,486,241018,130\nia,355,241106,130\n20250107\nf,134,250107\nfa,134,250107\n20250127\nsi,18.3,250127\n20250304\nf,136,250304\nfa,136,250304\n20250331\ns,18.4,250331\nsi,18.4,250331\n20250401\nc,133,250204\nca,133,250204\ne,133,250206\nf,137,250401\nfa,137,250401\no,118,250415,133\noa,88,250319,134\nsa,29.0,251025,136\nwva,133,250204,133\ny,25.4,250423,134\nfb,503,250312,134\nia,378,250503,135\n20250404\nc,135,250401\nca,135,250401\ne,135,250404\no,120,250702,135\noa,89,250429,135\nwva,135,250401,135\ny,25.6,250904,136\nfb,514,250528,136\n20250429\nf,138,250429\nfa,138,250429\n20250501\nc,136,250429\nca,136,250429\ne,136,250501\no,121,250827,137\noa,90,250618,137\nwva,136,250429,136\nia,381,250619,137\n20250512\nsi,18.5,250512\n20250527\nf,139,250527\nfa,139,250527\n20250529\nc,137,250527\nca,137,250527\ne,137,250529\nsa,30.0,260511,143\nwva,137,250527,137\ny,25.8,250830,138\nfb,515,250531,137\n20250626\nc,138,250624\nca,138,250624\ne,138,250626\no,122,250911,138\noa,91,250819,139\nwva,138,250624,138\nia,390,250726,138\n20250819\nf,142,250819\nfa,142,250819\n20250905\nc,140,250902\nca,140,250902\ne,140,250905\no,124,251113,140\noa,92,251008,140\nwva,140,250902,140\ny,25.10,251009,140\nia,399,250928,140\n20250915\ns,26,250915\nsi,26,250915\n20250916\nf,143,250916\nfa,143,250916\n20251003\nc,141,250930\nca,141,250930\ne,141,251003\no,125,251204,141\noa,93,251125,142\nwva,141,250930,141\ny,25.12,251207,142\nia,400,251006,141\n20251014\nf,144,251014\nfa,144,251014\n20251111\nf,145,251111\nfa,145,251111\n20251212\ns,26.2,251212\nsi,26.2,251212\n20251231\nc,141,250930\nca,141,250930\ne,141,251003\nf,145,251111\nfa,145,251111\ns,26.2,251212\nsi,26.2,251212\no,125,251204,141\noa,93,251125,142\nsa,30.0,260511,143\nwva,141,250930,141\ny,25.12,251207,142\nia,400,251006,141\n20260113\nf,147,260113\nfa,147,260113\n20260211\ns,26.3,260211\nsi,26.3,260211\n20260214\nc,145,260210\nca,145,260210\ne,145,260214\no,129,260318,145\noa,96,260310,145\nwva,145,260210,145\ny,26.4,260425,146\nia,423,260405,146\n20260224\nf,148,260224\nfa,148,260224\n20260313\nc,146,260310\nca,146,260310\ne,146,260313\no,130,260408,146\noa,97,260416,146\nwva,146,260310,146\n20260324\nf,149,260324\nfa,149,260324\ns,26.4,260324\nsi,26.4,260324\n20260410\nc,147,260407\nca,147,260407\ne,147,260410\no,131,260429,147\noa,98,260505,147\nwva,147,260407,147\ny,26.6,260608,148\nia,430,260530,148\n20260505\nca,148,260505\n20260507\nc,148,260505\ne,148,260507\no,132,260528,148\noa,99,260610,148\nwva,148,260505,148\n20260511\ns,26.5,260511\nsi,26.5,260511\n20260519\nf,151,260519\nfa,151,260519\n20260616\nf,152,260616\nfa,152,260616\n20260721\nf,153,260721\nfa,153,260721\n20260818\nf,154,260818\nfa,154,260818\n20260901\nf,155,260901\nfa,155,260901\n20260911\nc,153,260908\nca,153,260908\ne,153,260911\no,137,u,153\nwva,153,260908,153\nia,446,260912,153\n20260914\ns,27,260914\nsi,27,260914\nreleases\nc,45,150901\nc,46,151013\nc,47,151201\nc,48,160120\nc,49,160302\nc,50,160413\nc,51,160525\nc,52,160720\nc,54,161012\nc,55,161201\nc,58,170419\nc,59,170605\nc,60,170725\nc,61,170905\nc,63,171206\nc,64,180123\nc,65,180306\nc,67,180529\nc,68,180724\nc,69,180904\nc,70,181016\nc,71,181204\nc,72,190129\nc,73,190312\nc,74,190423\nc,75,190604\nc,77,190910\nc,78,191022\nc,79,191210\nc,83,200519\nc,90,210413\nc,91,210525\nc,92,210720\nc,94,210921\nc,95,211019\nc,100,220329\nc,102,220524\nc,103,220621\nc,110,230207\nc,113,230502\nc,114,230530\nc,116,230815\nc,122,240220\nc,126,240611\nc,128,240820\nc,129,240917\nc,131,241112\nc,132,250114\nc,134,250304\nc,139,250805\nc,142,251028\nc,143,251202\nc,144,260113\nc,149,260602\nc,150,260630\nc,151,260728\nc,152,260825\nc,154,260922\nc,155,261006\nc,156,261020\nca,45,150901\nca,46,151014\nca,47,151202\nca,48,160126\nca,49,160309\nca,50,160413\nca,51,160608\nca,52,160727\nca,54,161019\nca,55,161206\nca,58,170425\nca,59,170606\nca,60,170801\nca,61,170905\nca,63,171205\nca,64,180123\nca,65,180306\nca,67,180531\nca,68,180724\nca,69,180904\nca,70,181017\nca,71,181204\nca,72,190129\nca,73,190312\nca,74,190424\nca,75,190604\nca,77,190910\nca,78,191022\nca,79,191217\nca,83,200519\nca,90,210413\nca,91,210525\nca,92,210720\nca,94,210921\nca,95,211019\nca,100,220329\nca,102,220524\nca,103,220621\nca,110,230207\nca,113,230502\nca,114,230530\nca,116,230815\nca,122,240220\nca,126,240611\nca,128,240820\nca,129,240917\nca,131,241112\nca,132,250114\nca,134,250304\nca,139,250805\nca,142,251028\nca,143,251202\nca,144,260113\nca,149,260602\nca,150,260630\nca,151,260728\nca,152,260825\nca,154,260922\nca,155,261006\nca,156,261020\ne,83,200521\ne,90,210415\ne,91,210527\ne,92,210722\ne,94,210924\ne,95,211021\ne,100,220401\ne,102,220531\ne,103,220623\ne,110,230209\ne,113,230505\ne,114,230602\ne,116,230821\ne,122,240223\ne,126,240613\ne,128,240822\ne,129,240919\ne,131,241114\ne,132,250117\ne,134,250306\ne,139,250807\ne,142,251031\ne,143,251205\ne,144,260121\ne,149,260604\ne,150,260702\ne,151,260731\ne,152,260828\ne,154,260924\ne,155,261008\ne,156,261022\nf,40,150811\nf,42,151103\nf,43,151215\nf,44,160126\nf,46,160426\nf,48,160802\nf,51,170124\nf,54,170613\nf,55,170808\nf,56,170928\nf,57,171114\nf,58,180123\nf,59,180313\nf,61,180626\nf,66,190319\nf,67,190521\nf,69,190903\nf,70,191022\nf,71,191210\nf,72,200107\nf,73,200211\nf,74,200310\nf,75,200407\nf,76,200505\nf,77,200602\nf,80,200825\nf,81,200922\nf,82,201020\nf,87,210323\nf,88,210419\nf,89,210601\nf,90,210713\nf,97,220208\nf,99,220405\nf,105,220920\nf,106,221018\nf,109,230117\nf,117,230829\nf,133,241126\nf,135,250204\nf,140,250624\nf,141,250722\nf,146,251209\nf,150,260421\nf,156,260915\nf,157,260929\nf,158,261013\nf,159,261027\nfa,40,150811\nfa,42,151103\nfa,43,151215\nfa,44,160126\nfa,46,160426\nfa,48,160802\nfa,51,170124\nfa,54,170613\nfa,55,170808\nfa,58,180122\nfa,59,180313\nfa,61,180626\nfa,66,190319\nfa,67,190521\nfa,80,200831\nfa,81,200922\nfa,82,201020\nfa,87,210323\nfa,88,210419\nfa,89,210601\nfa,90,210713\nfa,95,211207\nfa,97,220208\nfa,99,220405\nfa,105,220920\nfa,106,221018\nfa,109,230117\nfa,117,230829\nfa,133,241126\nfa,135,250204\nfa,140,250624\nfa,141,250722\nfa,146,251209\nfa,150,260421\nfa,156,260915\nfa,157,260929\nfa,158,261013\nfa,159,261027\ns,12,180917\ns,15.3,220126\ns,15.5,220516\ns,16.1,221024\ns,16.2,221213\ns,16.3,230123\ns,16.5,230518\ns,16.6,230724\ns,17.1,231025\ns,17.3,240122\ns,17.6,240729\ns,18.1,241028\ns,18.3,250127\ns,18.5,250512\ns,18.6,250729\ns,26.1,251103\ns,26.6,260727\ns,27.2,u\nsi,12,180917\nsi,15.3,220126\nsi,15.5,220516\nsi,16.1,221024\nsi,16.2,221213\nsi,16.3,230123\nsi,16.5,230518\nsi,16.6,230724\nsi,17.1,231025\nsi,17.3,240122\nsi,17.6,240729\nsi,18.1,241028\nsi,18.6,250729\nsi,26.1,251103\nsi,26.6,260727\nsi,27.2,u\no,15,130702,28\no,16,130827,29\no,17,131008,30\no,18,131119,31\no,19,140128,32\no,20,140304,33\no,21,140506,34\no,22,140603,35\no,23,140722,36\no,24,140902,37\no,26,141203,39\no,27,150127,40\no,28,150310,41\no,29,150428,42\no,30,150609,43\no,32,150915,45\no,33,151027,46\no,34,151208,47\no,35,160202,48\no,36,160315,49\no,37,160504,50\no,38,160608,51\no,39,160802,52\no,41,161025,54\no,42,161213,55\no,45,170510,58\no,46,170622,59\no,47,170809,60\no,48,170927,61\no,50,180104,63\no,51,180207,64\no,52,180322,65\no,54,180628,67\no,55,180816,68\no,56,180925,69\no,57,181128,70\no,58,190123,71\no,60,190409,73\no,62,190627,75\no,64,191007,77\no,65,191113,78\no,66,200107,79\no,69,200624,83\no,76,210428,90\no,77,210609,91\no,78,210803,92\no,80,211005,94\no,81,211104,95\no,86,220420,100\no,88,220608,102\no,89,220707,103\no,96,230222,110\no,99,230516,113\no,100,230629,114\no,102,230823,116\no,108,240305,122\no,112,240711,126\no,114,240925,128\no,116,250108,131\no,117,250213,132\no,119,250513,134\no,123,251028,139\no,126,260108,142\no,127,260202,143\no,128,260226,144\no,133,260629,149\no,134,260806,150\no,135,260820,151\no,136,260917,152\no,138,u,154\noa,15,130708,28\noa,16,130918,29\noa,18,131120,31\noa,19,140128,32\noa,20,140306,33\noa,21,140422,34\noa,22,140617,35\noa,24,140910,37\noa,26,141202,39\noa,27,150129,40\noa,28,150310,41\noa,29,150428,42\noa,30,150610,43\noa,33,151103,46\noa,34,151216,47\noa,35,160204,48\noa,36,160331,49\noa,37,160616,50\noa,42,170121,55\noa,44,171211,60\noa,45,180215,61\noa,48,181108,69\noa,49,181207,70\noa,50,190218,71\noa,51,190321,72\noa,52,190517,73\noa,53,190711,74\noa,55,191203,77\noa,56,200206,78\noa,59,200630,83\noa,64,210525,91\noa,65,211020,92\noa,69,220509,100\noa,76,230626,114\noa,85,241029,128\noa,87,250122,132\noa,94,260113,143\noa,95,260211,144\noa,100,260701,149\noa,101,260826,151\noa,102,260923,152\nsa,1.5,130925,28\nsa,1.6,140411,28\nsa,2.0,141017,34\nsa,2.1,150107,34\nsa,3.2,150824,38\nsa,4.2,160802,44\nsa,5.0,161215,51\nsa,5.2,170421,51\nsa,5.4,170517,51\nsa,6.2,171026,56\nsa,6.4,180219,56\nsa,7.2,180620,59\nsa,7.4,180912,59\nsa,8.2,181221,63\nsa,9.2,190402,67\nsa,9.4,190725,67\nsa,10.0,190822,71\nsa,10.2,191009,71\nsa,11.0,191205,75\nsa,11.2,200322,75\nsa,12.1,200707,79\nsa,13.2,210120,83\nsa,14.2,210625,87\nsa,16.0,211125,92\nsa,16.2,220306,92\nsa,18.1,220909,99\nsa,19.1,221108,102\nsa,26.0,240607,122\nwva,4.4,131209,30\nwva,4.4.3,140602,33\nwva,37,140903,37\nwva,39,141112,39\nwva,40,150121,40\nwva,41,150311,41\nwva,42,150415,42\nwva,43,150527,43\nwva,45,150901,45\nwva,46,151014,46\nwva,47,151202,47\nwva,48,160126,48\nwva,49,160309,49\nwva,50,160413,50\nwva,51,160608,51\nwva,52,160727,52\nwva,54,161019,54\nwva,55,161206,55\nwva,58,170425,58\nwva,59,170606,59\nwva,60,170801,60\nwva,61,170905,61\nwva,63,171205,63\nwva,64,180123,64\nwva,65,180306,65\nwva,67,180531,67\nwva,68,180724,68\nwva,69,180904,69\nwva,70,181017,70\nwva,71,181204,71\nwva,72,190129,72\nwva,73,190312,73\nwva,74,190424,74\nwva,75,190604,75\nwva,77,190910,77\nwva,78,191022,78\nwva,79,191217,79\nwva,83,200519,83\nwva,90,210413,90\nwva,91,210525,91\nwva,92,210720,92\nwva,94,210921,94\nwva,95,211019,95\nwva,100,220329,100\nwva,102,220524,102\nwva,103,220621,103\nwva,110,230207,110\nwva,113,230502,113\nwva,114,230530,114\nwva,116,230815,116\nwva,122,240220,122\nwva,126,240611,126\nwva,128,240820,128\nwva,129,240917,129\nwva,131,241112,131\nwva,132,250114,132\nwva,134,250304,134\nwva,139,250805,139\nwva,142,251028,142\nwva,143,251202,143\nwva,144,260113,144\nwva,149,260602,149\nwva,150,260630,150\nwva,151,260728,151\nwva,152,260825,152\nwva,154,260922,154\nwva,155,261006,155\nwva,156,261020,156\ny,1.0,u,25\ny,1.5,u,22\ny,1.6,u,25\ny,1.7,u,25\ny,1.20,u,25\ny,2.5,u,25\ny,3.2,u,25\ny,4.6,u,25\ny,5.3,u,25\ny,5.4,u,25\ny,7.4,u,25\ny,9.6,u,25\ny,10.5,u,25\ny,11.4,u,25\ny,11.5,u,25\ny,12.7,u,25\ny,13.9,u,28\ny,13.10,u,28\ny,13.11,u,28\ny,13.12,u,30\ny,14.2,u,32\ny,14.4,u,33\ny,14.5,u,34\ny,14.7,u,35\ny,14.8,u,36\ny,14.10,u,37\ny,15.2,u,40\ny,15.4,u,41\ny,15.6,u,42\ny,15.7,u,43\ny,15.10,u,45\ny,15.12,u,46\ny,16.2,u,47\ny,16.3,u,47\ny,16.4,u,49\ny,16.6,u,50\ny,16.7,u,51\ny,16.9,u,52\ny,16.11,u,54\ny,17.1,u,55\ny,17.6,u,58\ny,17.7,u,59\ny,17.9,u,60\ny,17.10,u,61\ny,18.1,u,63\ny,18.2,u,63\ny,18.3,u,64\ny,18.4,u,65\ny,18.7,u,67\ny,18.9,u,68\ny,18.10,u,69\ny,18.11,u,70\ny,19.1,u,71\ny,19.3,u,72\ny,19.4,u,73\ny,19.5,u,75\ny,19.6,u,75\ny,19.7,u,75\ny,19.10,u,77\ny,19.11,u,78\ny,19.12,u,78\ny,20.2,u,79\ny,20.6,u,81\ny,20.7,u,83\ny,21.2,u,88\ny,21.5,u,90\ny,21.6,210928,91\ny,21.8,210928,92\ny,21.11,211029,94\ny,22.4,u,92\ny,22.9,220827,104\ny,23.7,230706,114\ny,24.2,240325,120\ny,24.9,241001,126\ny,25.2,250424,132\ny,25.3,250423,132\ny,26.3,260304,144\ny,26.7,260723,149\ny,26.8,260801,150\nu,10.5,u,31\nu,10.7,u,31\nu,10.8,u,31\nu,10.10,u,31\nu,11.0,u,31\nu,11.2,u,40\nu,11.3,u,40\nu,11.4,u,40\nu,11.5,u,40\nu,11.8,u,57\nu,11.9,u,57\nu,12.0,u,57\nu,12.1,u,57\nu,12.2,u,57\nu,12.3,u,57\nu,12.4,u,57\nu,12.5,u,57\nu,12.6,u,57\nu,12.7,u,57\nu,12.8,u,57\nu,12.9,u,57\nu,12.10,u,57\nu,12.11,u,57\nu,12.12,u,57\nu,12.13,u,57\nu,12.14,u,57\nu,13.0,u,57\nu,13.1,u,57\nu,13.2,u,57\nu,13.4,210928,78\nu,13.5,230825,78\nu,13.6,231217,78\nu,13.7,230624,78\nu,13.8,220430,78\nu,13.9,220518,78\nu,15.0,220824,78\nu,15.1,221111,78\nu,15.2,230423,78\nu,15.4,231025,100\nu,15.5,230822,100\nu,16.0,230824,100\nu,16.1,231015,100\nu,16.2,231209,100\nu,16.3,240308,100\nu,16.4,241003,100\nu,16.5,240530,100\nu,16.6,240723,100\nu,17.0,240824,100\nu,17.1,240926,100\nu,17.2,241129,100\nu,17.3,250107,100\nu,17.4,250226,100\nu,17.5,250408,100\nu,17.7,250611,123\nu,17.8,250730,123\nu,18.0,250817,123\nu,18.1,251004,123\nu,18.2,251104,123\nu,18.3,251212,123\nu,18.4,260109,123\nu,18.5,260128,123\nu,18.6,260321,123\nu,18.8,260503,123\nu,18.9,260702,123\nu,18.10,260808,123\nu,19.0,260824,123\nq,6.0,u,37\nq,6.1,u,37\nq,6.2,u,37\nq,6.3,u,37\nq,6.4,u,37\nq,6.6,u,37\nq,6.7,u,37\nq,6.8,u,37\nq,6.9,u,37\nq,7.0,u,37\nq,7.1,u,37\nq,7.2,u,37\nq,7.3,u,37\nq,7.4,u,37\nq,7.5,u,37\nq,7.6,u,37\nq,7.7,u,37\nq,7.8,u,37\nq,7.9,u,37\nq,8.0,u,37\nq,8.2,u,57\nq,8.3,u,57\nq,8.4,u,57\nq,8.5,u,57\nq,8.6,u,57\nq,8.7,u,57\nq,8.8,u,57\nq,8.9,u,57\nq,9.1,u,57\nq,9.7,u,66\nq,9.8,u,66\nq,10.0,u,66\nq,10.1,u,66\nq,10.2,u,66\nq,10.3,u,66\nq,10.4,u,66\nq,10.5,u,66\nq,10.7,200909,66\nq,11.0,u,77\nq,11.2,210130,77\nq,11.3,210331,77\nq,11.9,u,89\nq,12.0,211104,89\nq,12.1,211105,89\nq,12.2,211207,89\nq,12.5,220407,89\nq,12.7,220521,89\nq,12.8,220630,89\nq,12.9,220726,89\nq,13.0,220815,89\nq,13.1,220910,89\nq,13.2,221026,89\nq,13.3,221109,89\nq,13.5,230206,98\nq,13.6,230209,98\nq,13.7,230421,98\nq,13.8,230421,98\nq,14.0,231212,98\nq,14.1,230716,98\nq,14.3,230913,109\nq,14.4,231031,109\nq,14.5,231112,109\nq,14.6,231224,109\nq,14.7,240118,109\nq,14.8,240304,109\nq,14.9,240409,109\nq,15.0,240417,109\nq,15.1,240518,109\nq,15.2,241024,109\nq,15.3,240728,109\nq,15.4,240907,109\nq,15.5,240924,109\nq,15.6,241024,109\nq,15.7,241203,109\nq,15.8,241211,109\nq,15.9,250201,109\nq,19.2,250715,121\nq,19.3,250831,121\nq,19.4,250920,121\nq,19.5,251023,121\nq,19.6,251117,121\nq,19.7,251218,121\nq,19.8,260120,121\nq,19.9,260309,121\nq,20.0,260406,121\nq,20.1,260430,121\nq,20.2,260610,121\nq,20.3,260617,121\nq,20.4,260728,121\nq,20.5,260817,121\nq,20.6,260915,121\nk,1.0,170301,37\nk,2.5,170701,48\nk,3.1,220301,84\nfb,68,u,48\nfb,74,u,50\nfb,75,u,50\nfb,76,u,50\nfb,77,u,50\nfb,78,u,50\nfb,79,u,50\nfb,80,u,51\nfb,81,u,51\nfb,82,u,51\nfb,83,u,51\nfb,84,u,51\nfb,86,u,51\nfb,87,u,52\nfb,88,u,52\nfb,89,u,52\nfb,90,u,52\nfb,91,u,52\nfb,92,u,52\nfb,93,u,52\nfb,94,u,52\nfb,96,u,53\nfb,97,u,53\nfb,98,u,53\nfb,99,u,53\nfb,100,u,54\nfb,101,u,54\nfb,103,u,54\nfb,104,u,54\nfb,105,u,54\nfb,106,u,55\nfb,107,u,55\nfb,108,u,55\nfb,109,u,55\nfb,110,u,55\nfb,111,u,55\nfb,113,u,56\nfb,114,u,56\nfb,115,u,56\nfb,116,u,56\nfb,118,u,57\nfb,119,u,57\nfb,120,u,57\nfb,121,u,57\nfb,122,u,58\nfb,123,u,58\nfb,124,u,58\nfb,125,u,58\nfb,126,u,58\nfb,127,u,58\nfb,128,u,58\nfb,129,u,58\nfb,130,u,59\nfb,131,u,59\nfb,132,u,59\nfb,133,u,59\nfb,134,u,59\nfb,135,u,59\nfb,136,u,59\nfb,137,u,59\nfb,138,u,60\nfb,140,u,60\nfb,142,u,61\nfb,143,u,61\nfb,144,u,61\nfb,145,u,61\nfb,146,u,61\nfb,147,u,61\nfb,148,u,61\nfb,150,u,62\nfb,151,u,62\nfb,152,u,62\nfb,153,u,63\nfb,154,u,63\nfb,155,u,63\nfb,156,u,63\nfb,157,u,64\nfb,158,u,64\nfb,159,u,64\nfb,160,u,64\nfb,161,u,64\nfb,162,u,64\nfb,163,u,65\nfb,164,u,65\nfb,165,u,65\nfb,166,u,65\nfb,167,u,65\nfb,168,u,65\nfb,170,u,66\nfb,171,u,66\nfb,172,u,66\nfb,173,u,66\nfb,174,u,66\nfb,175,u,67\nfb,176,u,67\nfb,177,u,67\nfb,178,u,67\nfb,180,u,67\nfb,181,u,67\nfb,182,u,67\nfb,183,u,68\nfb,184,u,68\nfb,185,u,68\nfb,186,u,68\nfb,187,u,68\nfb,188,u,68\nfb,202,u,71\nfb,227,u,75\nfb,228,u,75\nfb,229,u,75\nfb,230,u,75\nfb,231,u,75\nfb,235,u,76\nfb,236,u,76\nfb,237,u,76\nfb,238,u,76\nfb,240,u,77\nfb,241,u,77\nfb,242,u,77\nfb,243,u,77\nfb,244,u,78\nfb,245,u,78\nfb,246,u,78\nfb,247,u,78\nfb,248,u,78\nfb,249,u,78\nfb,250,u,78\nfb,251,u,79\nfb,252,u,79\nfb,253,u,79\nfb,254,u,79\nfb,255,u,79\nfb,257,u,80\nfb,258,u,80\nfb,259,u,80\nfb,260,u,80\nfb,261,u,80\nfb,262,u,80\nfb,263,u,80\nfb,264,u,80\nfb,265,u,80\nfb,267,u,81\nfb,268,u,81\nfb,269,u,81\nfb,270,u,81\nfb,271,u,81\nfb,272,u,83\nfb,273,u,83\nfb,274,u,83\nfb,275,u,83\nfb,400,230210,109\nfb,436,231013,117\nfb,438,231028,118\nfb,440,231112,119\nfb,441,231120,119\nfb,442,231129,119\nfb,444,231213,120\nfb,445,231221,120\nfb,446,240106,120\nfb,447,240112,120\nfb,449,240202,121\nfb,450,240205,121\nfb,451,240217,121\nfb,452,240225,122\nfb,453,240228,122\nfb,454,240304,122\nfb,466,u,126\nfb,469,u,126\nfb,471,240710,126\nfb,472,240711,126\nfb,475,240801,127\nfb,476,240809,127\nfb,477,240816,127\nfb,478,240821,128\nfb,479,240831,128\nfb,480,240907,128\nfb,481,240914,128\nfb,482,240920,129\nfb,483,240927,129\nfb,484,241004,129\nfb,485,241011,129\nfb,487,241026,130\nfb,488,241102,130\nfb,489,241109,130\nfb,494,241226,131\nfb,497,250126,132\nia,24,u,62\nia,25,u,62\nia,26,u,63\nia,27,u,63\nia,28,u,63\nia,29,u,63\nia,30,u,63\nia,31,u,64\nia,32,u,64\nia,33,u,64\nia,34,u,64\nia,35,u,65\nia,36,u,65\nia,37,u,65\nia,38,u,65\nia,39,u,65\nia,40,u,65\nia,41,u,65\nia,43,u,66\nia,44,u,66\nia,45,u,66\nia,46,u,66\nia,47,u,66\nia,48,u,67\nia,49,u,67\nia,50,u,67\nia,51,u,67\nia,52,u,67\nia,53,u,67\nia,54,u,67\nia,55,u,67\nia,56,u,68\nia,57,u,68\nia,58,u,68\nia,59,u,68\nia,60,u,68\nia,61,u,68\nia,65,u,69\nia,66,u,69\nia,68,u,69\nia,72,u,70\nia,74,u,71\nia,75,u,71\nia,79,u,71\nia,81,u,72\nia,82,u,72\nia,83,u,72\nia,84,u,73\nia,86,u,73\nia,95,u,74\nia,97,u,80\nia,98,u,80\nia,103,u,80\nia,104,u,80\nia,117,u,80\nia,118,u,80\nia,119,u,80\nia,120,u,80\nia,121,u,80\nia,127,u,80\nia,128,u,80\nia,129,u,80\nia,130,u,80\nia,131,u,80\nia,132,u,80\nia,133,u,80\nia,134,u,80\nia,135,u,80\nia,136,u,80\nia,138,u,81\nia,139,u,81\nia,140,u,81\nia,141,u,81\nia,142,u,81\nia,143,u,83\nia,144,u,83\nia,145,u,83\nia,146,u,83\nia,164,u,92\nia,230,u,92\nia,259,221104,106\nia,281,u,109\nia,289,231221,114\nia,290,231230,114\nia,295,u,115\nia,296,u,115\nia,297,u,115\nia,298,240111,115\nia,299,u,115\nia,300,u,116\nia,301,240112,116\nia,303,u,117\nia,304,u,117\nia,305,u,117\nia,307,u,118\nia,308,240119,118\nia,310,u,119\nia,312,u,120\nia,313,u,120\nia,314,u,120\nia,315,240119,120\nia,316,240125,120\nia,318,240216,121\nia,320,240304,121\nia,321,240307,122\nia,347,240911,127\nia,349,240920,128\nia,366,u,132\nia,367,250215,132\nia,382,250619,137\nia,383,250618,137\nia,384,250616,137\nia,385,250627,137\nia,387,250709,137\nia,392,250812,138\nia,394,250826,139\nia,395,250913,139\nia,396,250920,139\nia,397,250919,139\nia,401,251008,141\nia,404,251031,141\nia,406,251116,141\nia,407,251123,142\nia,408,251128,142\nia,409,251216,143\nia,410,251217,143\nia,411,260107,143\nia,438,260722,150\nia,443,260821,151\nia,444,260827,151\n".split("\n").forEach(t=>{if(t=t.trim())if("releases"!==t){if(l){const s=t.split(",");if(s.length>=3){const[t,i,r,o]=s,l=[t,i,e(r.trim())];o&&l.push(o.trim()),a[t]||(a[t]=[]),a[t].push(l)}return}if(t.startsWith("20")||t.startsWith("pre_baseline"))return o=e(t),void(r[o]=[]);{const s=t.split(",");if(s.length>=3){const[t,i,a,l]=s,u=[t,i,e(a.trim())];if(l&&u.push(l.trim()),!r[o])throw new Error(`Timeline entry for date ${o} is undefined. This should not happen.`);r[o].push(u)}}}else l=!0});const u={};Object.keys(i).forEach(t=>{var s;u[t]=[...null!==(s=a[t])&&void 0!==s?s:[]]}),Object.keys(r).forEach(t=>{r[t].forEach(t=>{const s=t[0];u[s]&&(u[s].some(s=>s[1]===t[1])||u[s].push(t))})}),Object.keys(u).forEach(t=>{u[t].sort((t,s)=>n(t[1],s[1]))});let p=!1;const f=Object.keys(i).filter(t=>void 0===i[t].engine).map(t=>{const{longName:s}=i[t];return{shortName:t,longName:s}}),h=["webview_android","samsunginternet_android","opera_android","opera","ya_android","uc_android","qq_android","kai_os","facebook_android","instagram_android"],b=t=>{const s=[],i=[];return t.forEach(t=>{f.some(s=>s.longName===t.browser)?s.push(t):i.push(t)}),s.sort((t,s)=>t.browser<s.browser?-1:t.browser>s.browser?1:n(t.version,s.version)),i.sort((t,s)=>{const i=h.indexOf(t.browser),r=h.indexOf(s.browser);return i!==r?i-r:n(t.version,s.version)}),[...s,...i]};let m=!1;const w=t=>{if(!1===t.includeDownstreamBrowsers&&!0===t.includeKaiOS)throw new Error("KaiOS is a downstream browser and can only be included if you include other downstream browsers. Please ensure you use `includeDownstreamBrowsers: true`.")},v=(t,s,r,a,o)=>{var l;const u={browser:s,version:r,release_date:"u"===a?"unknown":a};return o&&(u.engine_version=o,u.engine=null===(l=i[t])||void 0===l?void 0:l.engine),u};function y(t){var s,a,o,l,h,g,x;let k=null!=t?t:{},_={listAllCompatibleVersions:null!==(s=k.listAllCompatibleVersions)&&void 0!==s&&s,includeDownstreamBrowsers:null!==(a=k.includeDownstreamBrowsers)&&void 0!==a&&a,widelyAvailableOnDate:null!==(o=k.widelyAvailableOnDate)&&void 0!==o?o:void 0,targetYear:null!==(l=k.targetYear)&&void 0!==l?l:void 0,includeKaiOS:null!==(h=k.includeKaiOS)&&void 0!==h&&h,overrideLastUpdated:null!==(g=k.overrideLastUpdated)&&void 0!==g?g:void 0,suppressWarnings:null!==(x=k.suppressWarnings)&&void 0!==x&&x},T=new Date;if(_.widelyAvailableOnDate||_.targetYear){if(_.targetYear&&_.widelyAvailableOnDate)throw new Error("You cannot use targetYear and widelyAvailableOnDate at the same time. Please remove one of these options and try again.");_.widelyAvailableOnDate?T=new Date(_.widelyAvailableOnDate):_.targetYear&&(T=new Date(`${_.targetYear}-12-31`))}else T=new Date;if((_.widelyAvailableOnDate||void 0===_.targetYear)&&T.setMonth(T.getMonth()-30),!_.suppressWarnings){if(((t,s)=>{if(p||"undefined"!=typeof process&&process.env&&(process.env.BROWSERSLIST_IGNORE_OLD_DATA||process.env.BASELINE_BROWSER_MAPPING_IGNORE_OLD_DATA))return;const i=new Date;i.setMonth(i.getMonth()-2),t>i&&(null!=s?s:1790882315498)<i.getTime()&&(console.warn("[baseline-browser-mapping] The data in this module is over two months old and you are targetting a recent feature cut off date of "+t.toISOString().slice(0,10)+". To ensure accurate Baseline data, please update to the latest version of this module using the package manager of your choice.You can suppress these warnings using the environment variables `BROWSERSLIST_IGNORE_OLD_DATA=true` or `BASELINE_BROWSER_MAPPING_IGNORE_OLD_DATA=true` or by passing `suppressWarnings: true` when you call `getCompatibleVersions()` or `getAllVersions()`."),p=!0)})(T,_.overrideLastUpdated),w(_),T.getFullYear()<2015&&!m&&console.warn(new Error("There are no browser versions compatible with Baseline before 2015. You may receive unexpected results.")),T.getFullYear()<2002)throw new Error("None of the browsers in the core set were released before 2002. Please use a date after 2002.");if(T.getFullYear()>(new Date).getFullYear())throw new Error("There are no browser versions compatible with Baseline in the future")}const C=T<new Date("2015-07-29"),A={};Object.keys(i).forEach(t=>{A[t]=void 0}),Object.keys(r).forEach(t=>{const s=r[t];let i=!1;i="pre_baseline"===t||new Date(t)<=T,i&&s.forEach(s=>{const i=s[0];"pre_baseline"!==t&&(A[i]=s)})});const I=[];return Object.keys(i).forEach(t=>{var s,r;const{longName:a}=i[t];if(!_.includeKaiOS&&"k"===t)return;const o=f.some(s=>s.shortName===t);if(_.includeDownstreamBrowsers||o)if(C)if(_.listAllCompatibleVersions){I.push({browser:a,version:"0",release_date:""});(null!==(s=u[t])&&void 0!==s?s:[]).forEach(s=>{I.push(v(t,a,s[1],s[2],s[3]))})}else I.push({browser:a,version:"0",release_date:""});else{const s=A[t];if(!s)return;const i=s[1];if(_.listAllCompatibleVersions){(null!==(r=u[t])&&void 0!==r?r:[]).forEach(s=>{const r=s[1];n(r,i)>=0&&I.push(v(t,a,r,s[2],s[3]))})}else I.push(v(t,a,i,s[2],s[3]))}}),b(I)}s._resetHasWarned=function(){p=!1},s.getAllVersions=function(t){var s,i,r,a,o;m=!0;let l=null!=t?t:{},u={outputFormat:null!==(s=l.outputFormat)&&void 0!==s?s:"array",includeDownstreamBrowsers:null!==(i=l.includeDownstreamBrowsers)&&void 0!==i&&i,useSupports:null!==(r=l.useSupports)&&void 0!==r&&r,includeKaiOS:null!==(a=l.includeKaiOS)&&void 0!==a&&a,suppressWarnings:null!==(o=l.suppressWarnings)&&void 0!==o&&o};w(u);let p=(new Date).getFullYear()+1;const h=[...Array(p).keys()].slice(2015),g={};h.forEach(t=>{g[t]={},y({targetYear:t,suppressWarnings:u.suppressWarnings}).forEach(s=>{g[t]&&(g[t][s.browser]=s)})});const x=y({suppressWarnings:u.suppressWarnings}),k={};x.forEach(t=>{k[t.browser]=t});const _=new Date;_.setMonth(_.getMonth()+30);const T=y({widelyAvailableOnDate:_.toISOString().slice(0,10),suppressWarnings:u.suppressWarnings}),C={};T.forEach(t=>{C[t.browser]=t});const A=y({targetYear:2002,listAllCompatibleVersions:!0,suppressWarnings:u.suppressWarnings}),I=[];if(f.map(t=>t.longName).forEach(t=>{var s,i,r,a;let o=A.filter(s=>s.browser==t).sort((t,s)=>n(t.version,s.version)),l=null!==(i=null===(s=k[t])||void 0===s?void 0:s.version)&&void 0!==i?i:"0",f=null!==(a=null===(r=C[t])||void 0===r?void 0:r.version)&&void 0!==a?a:"0";h.forEach(s=>{var i;if(g[s]){let r=(null!==(i=g[s][t])&&void 0!==i?i:{version:"0"}).version,a=o.findIndex(t=>0===n(t.version,r));(s===p-1?o:o.slice(0,a)).forEach(t=>{let i=n(t.version,l)>=0,r=n(t.version,f)>=0,a=Object.assign(Object.assign({},t),{year:s<=2015?"pre_baseline":s-1});u.useSupports?(i&&(a.supports="widely"),r&&(a.supports="newly")):a=Object.assign(Object.assign({},a),{wa_compatible:i}),I.push(a)}),o=o.slice(a,o.length)}})}),u.includeDownstreamBrowsers){y({targetYear:2002,listAllCompatibleVersions:!0,includeDownstreamBrowsers:!0,includeKaiOS:u.includeKaiOS,suppressWarnings:u.suppressWarnings}).filter(t=>!f.map(t=>t.longName).includes(t.browser)).forEach(t=>{const s="Gecko"===t.engine?"firefox":"chrome";let i=I.find(i=>i.browser===s&&i.version===t.engine_version);i&&(u.useSupports?I.push(Object.assign(Object.assign({},t),{year:i.year,supports:i.supports})):I.push(Object.assign(Object.assign({},t),{year:i.year,wa_compatible:i.wa_compatible})))})}if(I.sort((t,s)=>{if("pre_baseline"===t.year&&"pre_baseline"!==s.year)return-1;if("pre_baseline"===s.year&&"pre_baseline"!==t.year)return 1;if("pre_baseline"!==t.year&&"pre_baseline"!==s.year){if(t.year<s.year)return-1;if(t.year>s.year)return 1}return t.browser<s.browser?-1:t.browser>s.browser?1:n(t.version,s.version)}),"object"===u.outputFormat){const t={};return I.forEach(s=>{t[s.browser]||(t[s.browser]={});let i={year:s.year,release_date:s.release_date,engine:s.engine,engine_version:s.engine_version};t[s.browser][s.version]=u.useSupports?s.supports?Object.assign(Object.assign({},i),{supports:s.supports}):i:Object.assign(Object.assign({},i),{wa_compatible:s.wa_compatible})}),null!=t?t:{}}if("csv"===u.outputFormat){let t=`"browser","version","year","${u.useSupports?"supports":"wa_compatible"}","release_date","engine","engine_version"`;return I.forEach(s=>{var i,r,a,o;let l={browser:s.browser,version:s.version,year:s.year,release_date:null!==(i=s.release_date)&&void 0!==i?i:"NULL",engine:null!==(r=s.engine)&&void 0!==r?r:"NULL",engine_version:null!==(a=s.engine_version)&&void 0!==a?a:"NULL"};l=u.useSupports?Object.assign(Object.assign({},l),{supports:null!==(o=s.supports)&&void 0!==o?o:""}):Object.assign(Object.assign({},l),{wa_compatible:s.wa_compatible}),t+=`\n"${l.browser}","${l.version}","${l.year}","${u.useSupports?l.supports:l.wa_compatible}","${l.release_date}","${l.engine}","${l.engine_version}"`}),t}return I},s.getCompatibleVersions=y,s.getTimeline=function(t){var s,a,o,l;const u=null!=t?t:{},p=null!==(s=u.groupBy)&&void 0!==s?s:"date",h=null!==(a=u.listAllBrowsers)&&void 0!==a&&a,m=null!==(o=u.includeDownstreamBrowsers)&&void 0!==o&&o,g=null!==(l=u.includeKaiOS)&&void 0!==l&&l;if(!1===m&&!0===g)throw new Error("KaiOS is a downstream browser and can only be included if you include other downstream browsers. Please ensure you use `includeDownstreamBrowsers: true`.");const x={},k=[];if(Object.keys(r).forEach(t=>{const s=r[t];if("pre_baseline"===t)return;const a=new Set;s.forEach(t=>{const s=t[0],i=x[s],r=t[1];i&&i[1]===r||a.add(s),x[s]=t});const o=[];if(Object.keys(i).forEach(t=>{const{longName:s}=i[t];if(!g&&"k"===t)return;const r=f.some(s=>s.shortName===t);if(!m&&!r)return;const l=a.has(t);if(h||l){const i=x[t];i&&o.push(v(t,s,i[1],i[2],i[3]))}}),o.length>0){const s=b(o);k.push({date:t,browsers:s})}}),"browser"===p){const t={};return Object.keys(i).forEach(s=>{const{longName:r}=i[s];if(!g&&"k"===s)return;const a=f.some(t=>t.shortName===s);(m||a)&&(t[r]=[])}),k.forEach(s=>{s.browsers.forEach(i=>{const{browser:r}=i,a=function(t,s){var i={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&s.indexOf(r)<0&&(i[r]=t[r]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(t);a<r.length;a++)s.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(t,r[a])&&(i[r[a]]=t[r[a]])}return i}(i,["browser"]);t[r]&&t[r].push(Object.assign({date:s.date},a))})}),t}return k}},65387:(t,s,i)=>{i.a(t,async(t,r)=>{try{i.d(s,{I:()=>parseProvenanceFlags});var a=i(73024);var o=i(51455);var l=i(76760);var u=i(77598);var p=i(98995);var f=i(71130);var h=i(34594);var m=i(45950);var g=i(30373);var x=i(75917);var k=i(42883);var _=i(24240);var T=i(38260);var C=i(74877);var A=i(53767);var I=i(83892);var P=i(89277);var $=i(2615);var O=i(39516);var D=i(64519);var N=i(70126);var j=i(96974);var R=i(69400);var L=i(84407);var F=i(97730);var M=i(18189);var B=i(55864);var W=i(62101);var U=i(54712);var H=i(31174);var V=i(70471);var K=t([m,x,k,F]);[m,x,k,F]=K.then?(await K)():K;const G=(0,p.createRequire)(import.meta.url);const J=G("../package.json").version;function writeStdout(t){const s=Buffer.from(String(t),"utf8");let i=0;while(i<s.length){try{i+=a.writeSync(1,s,i,s.length-i)}catch(t){if(t.code==="EAGAIN")continue;if(t.code==="EPIPE")return;throw t}}}const X=new Set(["json","sarif","oscal","cyclonedx","sbom","spdx","vex","openvex","pbom","aibom","mlbom"]);function isMachineFormat(t){return X.has(String(t))}const Y=new Set(["cli","json","md","markdown","sarif","oscal","stix","junit","csv","html","cyclonedx","sbom","spdx","vex","openvex","pbom","aibom","aibom-md","mlbom","ship","pro","summary"]);function scanProgressReporter(){return t=>{if(process.stderr.isTTY)process.stderr.write(`\r[${t.phase}] ${t.current}/${t.total} ${t.file} `)}}function clearScanProgressLine(){if(process.stderr.isTTY)process.stderr.write("\r"+" ".repeat(80)+"\r")}const Q=a.constants.O_WRONLY|a.constants.O_CREAT|a.constants.O_TRUNC|(a.constants.O_NOFOLLOW||0);async function _writeStateNoFollow(t,s){if(!a.constants.O_NOFOLLOW){try{if((await o.lstat(t)).isSymbolicLink())return false}catch{}}try{await o.writeFile(t,s,{flag:Q,mode:420});return true}catch(t){if(t&&(t.code==="ELOOP"||t.code==="EMLINK"))return false;throw t}}function _verifyLastScan(t,s){const i=(0,f.Ef)(t,s);return i}const Z=`agentic-security <command> [options]\n\n 🛡 Created by ClearCapabilities.Com · https://clearcapabilities.com\n\nCommands:\n secure [path] [--launch] Smart router: tells you the single best next action\n scan [path] Full SAST + SCA + Secrets sweep (default: cwd)\n ship (internal) Vibecoder verdict — invoked by /scan-all\n ci [path] Baseline-aware CI scan: auto-detects PR base ref,\n writes SARIF + JUnit + JSON, applies --fail-on policy\n fix --finding <id> [--preview|--apply] Show diff or apply fix for a single finding\n undo [--all|--list|--compact] Revert the most recent applied fix; --compact archives terminal entries (--retain-days N --prune-backups)\n accept --finding <id> Soft-suppress a finding for 30 days (vibecoder)\n setup [project-dir] Install /security-* shortcut commands into a project\n profile set <vibecoder|pro> Set or change the persona profile\n profile show Print current profile\n org-scan --repos <list> Pro: scan multiple repos and produce roll-up\n triage list|assign|trend Pro: per-finding state, MTTR, assignment\n rules validate Pro: lint .agentic-security/rules.yml\n packs list List available curated rule packs\n rule list | test <glob> List/test custom YAML rules in .agentic-security/rules/\n tickets sync --provider <p> Two-way sync findings ↔ GitHub Issues / Linear / Jira\n digest --slack <webhook> Vibecoder: send daily digest to Slack\n mcp Start the MCP stdio server (scan_diff, query_taint, explain_finding, apply_fix)\n lsp Start the Language Server Protocol server on stdio (what the editor plugins run)\n validator-cache stats|gc Inspect / prune .agentic-security/llm-cache/ (use --older-than <days> --dry-run)\n verify [--finding <id>] Re-run the verifier loop on last-scan findings (use --live --target <url> to execute PoCs)\n ask "<question>" [target] Bounded local-model Q&A with read-only tool access (requires AGENTIC_SECURITY_LLM_PRESET=ollama)\n release-view <package.json> Developer, CISO and auditor views of one signed release package (--view, --format text|json|html, --previous, --public-key)\n reset [--yes] [--keep ...] Right-to-delete: wipe accumulated learned state under .agentic-security/ (preserves operator-authored config)\n --expired only remove artifacts past their retention-class TTL\n Every run writes a deletion-report.json proving what was planned/deleted/preserved/failed.\n export --out <dir> Copy every present .agentic-security/ artifact to <dir> with a manifest (export-manifest.json,\n unsigned) proving what was exported and what failed — for migration or legal-preservation purposes.\n legal-hold add --artifact <name> --owner <id> --reason <text> [--expires <date>]\n Exempt a registered artifact from retention TTL and reset (both --expired and plain)\n legal-hold remove --artifact <name> Lift a hold\n legal-hold list [--all] List active holds (--all also shows past holds whose expires_at has passed)\n calibration-feedback record --finding-id <id> --outcome accepted-risk|realized-incident [--note <text>]\n Opt-in: report a real-world outcome for a past finding, for calibration validation\n calibration-report [--format cli|json] Aggregated, privacy-preserving calibration report from recorded feedback\n rule-synth [--dry-run] Auto-synthesise suppression rules from repeated FP verdicts (proposes — does not activate)\n compliance [--privacy] Assess the last scan against NIST Privacy Framework 1.1\n --list show bundled + BYO frameworks\n --walkthrough <id> auditor narrative for any framework\n --report <id> synonym for --walkthrough\n --gap only the failing controls\n --format cli|json|md|oscal (default cli)\n --format oscal NIST OSCAL assessment-results.\n Controls the engine could not\n decide carry NO finding — see\n docs/OSCAL.md.\n --fail-on gap exit 1 when a control is failing\n Reads .agentic-security/last-scan.json — run a scan first.\n version Print version\n banner [--full] Print the Patch-the-frog mascot + brand lockup\n harness [path] [--include-home] Multi-harness config audit: scans .claude/,\n .cursor/, .codex/, .gemini/, .kiro/, .opencode/,\n .trae/, .qwen/, .zed/, .continue/, .aider/ at the\n project root. --include-home also sweeps ~/.\n scan-baseline --current <f> --previous <f>\n Finding-level diff between two scan JSON outputs.\n Reports added / removed / changed findings.\n boundaries --from <dir> [--findings <last-scan.json>] [--environment <name>] [--out <file>] [--json]\n Build a deployment boundary graph from local configuration\n (and optional sanitized traces) and attach a boundary context\n to each finding of a scan result. Read-only, local files only.\n Off by default: set AGENTIC_SECURITY_ASSURANCE_DEPLOYMENT_BOUNDARIES=1.\n Exit: 0 ok, 1 failed, 2 usage, 3 feature off or blocked.\n context <build|inspect|diff|review|status|eval|verify|export|cleanup> [--root <dir>]\n Deterministic Context Intelligence (opt-in, additive): resolve entry points,\n write one inspectable, hash-bound context bundle each, and optionally run\n focused single-call model reviews over them. 'context build' makes no model\n call and no network call. Run 'agentic-security context' for the full usage.\n explore [path] [--port <n>] [--keep-open]\n Start a local, read-only server over an\n already-scanned lineage graph (run\n AGENTIC_SECURITY_LINEAGE_DEEP=1 scan first)\n dataflow export [path] --format png|pdf|svg|json|csv|html|dpia|ropa|briefing|recipients|coverage --output <file>\n Export the already-scanned lineage graph.\n --view architecture|privacy|trace|inventory (default: architecture;\n png/pdf/svg only — no-op + warning for json/csv/html/dpia/ropa/briefing/recipients/coverage)\n --size standard|2x AC-23 pinned PNG sizes (default: standard)\n --width <n> --height <n> custom PNG size, <= 20000 (mutually exclusive with --size)\n --no-redact include unredacted content (json/html only; no-op + warning for csv/dpia/ropa/briefing/recipients/coverage)\n --filter <path.json> {nodeIds,edgeIds} to scope the export (no-op + warning for csv/coverage)\n --audience board|ciso|privacy|compliance|regulator|technical\n (default: technical; briefing only — wording/verbosity, never facts)\n dataflow scenario apply [path] --operations <file.json> --output <file> [--format json|markdown]\n Simulate a hypothetical architecture change against the\n already-scanned lineage graph — never mutates the real scan.\n --privacy-sink-policy <path-to-json> re-evaluate each touched\n flow's policyVerdict under this policy file\n --environment <name> environment context for --privacy-sink-policy\n dataflow impact assess [path] --target <canonical-id> --output <file> [--format json|markdown]\n Blast-radius impact assessment over the already-scanned lineage\n graph — read-only, never mutates anything, never re-runs a scan.\n --target node:*|edge:*|flow:*|data:* the compromised entity's id\n governance propose-edit [path] --patch <file.json> [--output <file>] [--yes] [--base-digest <hex>]\n Propose a validated, reviewable edit to\n recipient-profiles.json. Without --yes,\n previews the diff and writes nothing.\n federate declare [path] --local-node <node-id> --remote-graph <file>\n --remote-node <node-id> [--repository <label>]\n [--relationship data_flow] [--rationale <text>]\n [--output <file>] [--yes] [--base-digest <hex>]\n [--local-target <t>] [--local-config <c>]\n [--remote-target <t>] [--remote-config <c>]\n Declare a CrossRepoLink between a node in the\n current locally-scanned graph and a node in a\n remote graph export (dataflow export --format\n json). Without --yes, previews and writes nothing.\n federate list [path] [--output <file>]\n List every declared cross-repo link, reporting\n whether each side still resolves.\n invariants export --invariant <file> --fixture <dir> [--ledger <file>] [--commit <sha>] [--seed <n>] [--output <file>]\n Reproducible bounded business-logic scenario package for\n one contract (no fixture source, no secrets, not a proof\n of correctness). Needs the invariant-scenarios feature.\n invariants coverage --invariant <file> | --invariants-dir <dir> [--ledger <file>] [--results <file>] [--json]\n Bounded business coverage: approved vs proposed contracts,\n exercised actors/states/transitions, explicit gaps.\n portfolio progress --store <file> [--budgets <file>] [--findings <file>] [--blocking-severity <s>] [--json]\n Coverage-aware portfolio progress: verified units, blocked/failed/stale\n units, repository coverage, remaining budget, pending human review and\n stale workers. A finished controller is never reported as passed.\n Needs the portfolio-assurance feature.\n portfolio retention plan|apply|verify-log --records <file> --root <dir> [--policy <file>] [--holds <file>] [--store <file>] [--log <file> --actor <name>]\n Retention by class (replay evidence, metadata, model traces, secrets)\n with legal holds; a required current receipt is never deleted and\n every deletion is logged first.\n portfolio backend probe --mode local|shared --dir <dir>\n Is a storage backend usable? An unavailable shared backend is the\n typed blocked state; nothing falls back to a local write.\n portfolio export --store <file> --out <file> | portfolio import --from <file> --mode <m> --dir <d>\n One self-checking, secret-free state file for an air-gapped machine.\n invariants regress <artifact.json>\n Re-execute a verified-repair regression artifact from the\n file alone. Exit 0 passed, 1 failed, 3 not run.\n remediation open [path] --assessment <impact-report.json> --owner <id> --due <YYYY-MM-DD>\n --control <text> --required-evidence <flowId,...>\n [--id <itemId>] [--snapshot <commit>] [--allow-manual-attestation]\n [--output <file>] [--yes]\n Open a new remediation work item against an incident\n snapshot. Without --yes, previews the folded item and\n writes nothing to the append-only ledger.\n remediation update [path] --id <itemId> --state <in_progress|awaiting_verification>\n [--base-event <hash>] [--output <file>] [--yes]\n Advance a remediation item's state. --state verified is\n always refused — see remediation verify (AC-31).\n remediation verify [path] --id <itemId> [--against <commit>]\n [--manual-attestation --approver <id> --reason <text> [--author <id>]]\n [--base-event <hash>] [--output <file>] [--yes]\n Verify a remediation item against a fresh lineage scan (or an\n explicitly-permitted manual attestation). AC-31: marking work\n complete never sets "verified" — only this command can.\n remediation reopen-check [path] [--drift-policy <file>] [--against <commit>]\n [--output <file>] [--yes]\n Reopen verified items whose control regressed (drift-policy match,\n or an affected flow removed/changed in the latest diff). No\n --base-event: this can append events across many items at once.\n remediation accept-risk [path] --id <itemId> --approver <id> --reason <text>\n --scope <text> --expires <YYYY-MM-DD> [--author <id>]\n [--base-event <hash>] [--output <file>] [--yes]\n Record an accepted-risk exception, gated on the operator's\n authorized-approvers registry when one exists.\n remediation list [path] [--format json|markdown] [--output <file>]\n List every remediation item folded from the ledger.\n\nOptions:\n --profile vibecoder|pro Override profile for this run\n --only sast|sca|secrets Limit scan to one pillar\n --format <fmt> cli | json | md | sarif | oscal | stix | junit | csv | html | cyclonedx | spdx | pbom | aibom | aibom-md | mlbom\n --pack <name> Focus on a curated rule pack (repeatable): owasp-top-10 | cwe-top-25 | llm-security | supply-chain\n --baseline <ref> Diff against a git ref; only findings new vs. that ref count (ci subcommand)\n --fail-on critical|high|medium|low|none ci-mode exit policy (default: critical)\n --fail-on-new (ci) block ONLY on findings this PR introduced vs\n the baseline ref — never the pre-existing backlog\n --policy <file.rego> ci-mode policy-as-code gate; deny[] rules fail the build (FR-SDLC-9)\n --assurance advisory|standard|strict (ci) incomplete-analysis behavior (default: standard).\n strict fails the build when any analyzer failed, timed out,\n or was silently skipped by policy — independent of --fail-on (FR-204)\n --columns standard|mitre|capec|owasp Pro-mode column set (default: standard)\n --confidence <0..1> Override per-profile confidence threshold\n --firehose Show ALL findings (ignore confidence threshold)\n --honest Show only high-confidence (≥0.9) findings\n --exposed-only Filter to findings the production stack does NOT mitigate\n --mitigated-only Filter to findings already mitigated by WAF/auth/network/flag\n --unreachable-only Filter to findings on unreachable code paths\n --persona <name> Filter to findings whose top-2 personas include <name>\n (script-kiddie|opportunistic-criminal|apt-nation-state|\n supply-chain-attacker|malicious-insider)\n --show-personas Append per-persona top-picks block\n --show-bounty Append predicted bug-bounty payout block\n --show-playbook Append attack-playbook block for high+ findings\n --show-spof Append single-point-of-failure-controls block\n --show-trust-boundary Append the auto-generated trust-boundary Mermaid diagram\n --show-threat-model Append the auto-derived STRIDE threat model summary\n --show-drift Append calibration-drift alarms (overconfidence detection)\n --sca-reachable-only Only SCA findings where the vulnerable function is reachable\n --scorecard Enrich components with OSSF Scorecard scores\n --no-network Skip OSV/registry queries (offline mode)\n --pr [ref] Diff-aware: scan only files changed since ref (auto-detects PR base)\n --deterministic Reproducible scan: stable sort, no-network, lockfile-checked\n --incremental Reuse taint summaries from prior scans (speeds up deep mode in CI)\n --set-baseline Save current findings as baseline (suppresses pre-existing issues)\n --since-baseline Only show findings NOT in the saved baseline\n --hide-proven-safe Drop findings discharged by a flow proof (provably safe)\n --secret-history Also sweep recent git history for committed secrets\n --validate-secrets Label each detected secret live/dead/unknown (opt-in, network, offline-degrading)\n (removed from HEAD but recoverable from .git)\n --history-depth <n> Commits to sweep with --secret-history (default 50)\n --no-epss Skip EPSS exploit-prediction enrichment (default: enabled)\n --no-blast-radius Skip blast-radius / cost framing (default: enabled)\n --verbose Include fix bodies + taxonomy in CLI output\n (with --firehose, also prints each finding's git-origin provenance)\n --output <file> Write report to file instead of stdout\n --machine-output Always write .agentic-security/findings.{sarif,json,csv}\n\nFinding provenance (which commit introduced each finding):\n --provenance <standard|deep> Resolution depth (default: standard; deep explores non-linear ancestry — merges, reverts, cherry-picks)\n --no-provenance Skip git-history provenance entirely (findings report not_available)\n --provenance-since <ref> Do not walk history earlier than this git ref/commit\n --provenance-timeout <ms> Whole-scan provenance budget in MILLISECONDS (default 60000)\n --include-author-email Keep commit author emails in output (redacted by default)\n --pseudonymize-authors Replace commit author names with a stable Contributor-XXXXXXXX id\n --require-provenance Report unresolved provenance as a scan-health condition\n (downgrades scanHealth.status to 'partial'; never changes the exit code)\n\nExit codes:\n 0 = clean 1 = low/medium 2 = high 3 = critical 4 = error`;function loadPersonaProfile(t,s){const i=s.flags.profile;const r=(0,I.iH)(t);if(i==="pro"||i==="vibecoder"){return{...r,profile:i}}return r}function printBanner(t){const s=!!process.stderr.isTTY&&!process.env.NO_COLOR;const i=s?{FROG:"[38;2;255;107;44m",DEEP:"[38;2;201;52;20m",CREAM:"[38;2;244;239;230m",DIM:"[2m",BOLD:"[1m",RESET:"[0m"}:{FROG:"",DEEP:"",CREAM:"",DIM:"",BOLD:"",RESET:""};const r=J;const a=!t.flags.full;if(a){const t=["",` ${i.FROG}╭─╮╭─╮${i.RESET} ${i.BOLD}agentic-security${i.RESET} ${i.DIM}·${i.RESET} ${i.CREAM}by Clear Capabilities${i.RESET} ${i.DIM}· v${r}${i.RESET}`,` ${i.FROG}│${i.BOLD}◉${i.RESET}${i.FROG}││${i.BOLD}◉${i.RESET}${i.FROG}│${i.RESET} ${i.DIM}Tiny.${i.RESET} ${i.FROG}${i.BOLD}Bright.${i.RESET} ${i.DIM}Watching.${i.RESET}`,` ${i.FROG}╰─╯╰─╯${i.RESET}`,""];process.stdout.write(t.join("\n"));return}const o=["",` ${i.FROG}╭───╮ ╭───╮${i.RESET}`,` ${i.FROG}│ ${i.BOLD}◉${i.RESET}${i.FROG} │ │ ${i.BOLD}◉${i.RESET}${i.FROG} │${i.RESET} ${i.BOLD}agentic-security${i.RESET}`,` ${i.FROG}╰─┬─╯ ╰─┬─╯${i.RESET} ${i.DIM}─────────────────${i.RESET}`,` ${i.FROG}╭──┴─────┴──╮${i.RESET} ${i.CREAM}Tiny. ${i.FROG}${i.BOLD}Bright.${i.RESET}${i.CREAM} Watching.${i.RESET}`,` ${i.FROG}│ ${i.DEEP}·${i.FROG} ${i.BOLD}⌣${i.RESET}${i.FROG} ${i.DEEP}·${i.FROG} │${i.RESET} ${i.CREAM}by Clear Capabilities Inc.${i.RESET} ${i.DIM}· v${r}${i.RESET}`,` ${i.FROG}╰───────────╯${i.RESET} ${i.DIM}https://clearcapabilities.com${i.RESET}`,""];process.stdout.write(o.join("\n"))}function effectiveConfidence(t,s){if(s.flags["firehose"])return 0;if(s.flags["honest"])return.9;if(s.flags["confidence"]!=null)return parseFloat(s.flags["confidence"]);return t.confidenceMin??(t.profile==="pro"?.3:.9)}function renderV3Blocks(t,s){const i=[];const r=t.findings||[];if(s["show-personas"]){i.push("\n── Per-attacker-persona top picks ───────────────────────────────");const t=new Map;for(const s of r){if(!Array.isArray(s.personaTopTwo))continue;for(const i of s.personaTopTwo){if(!t.has(i))t.set(i,[]);t.get(i).push(s)}}if(!t.size)i.push(" (no findings carry persona scores yet — rerun /scan)");for(const[s,r]of t){r.sort((t,s)=>(s.personaMaxScore||0)-(t.personaMaxScore||0));i.push(`\n ${s} (${r.length} relevant)`);for(const t of r.slice(0,3)){const s=(t.severity||"").toUpperCase();i.push(` [${s}] ${(t.vuln||"").slice(0,60)} — ${t.file}:${t.line}`)}}}if(s["show-bounty"]){i.push("\n── Predicted bug-bounty payouts ─────────────────────────────────");const t=r.filter(t=>t.predictedBountyUsd);if(!t.length)i.push(" (no findings carry bounty predictions — rerun /scan)");const s=t.slice().sort((t,s)=>(s.predictedBountyUsd.likely||0)-(t.predictedBountyUsd.likely||0));for(const t of s.slice(0,15)){const s=t.predictedBountyUsd;i.push(` $${s.low}-$${s.high} (likely $${s.likely}, ${s.program}) — ${(t.vuln||"").slice(0,50)} ${t.file}:${t.line}`)}}if(s["show-playbook"]){i.push("\n── Attack playbooks (high+ findings only) ───────────────────────");const t=r.filter(t=>t.attackPlaybook);if(!t.length)i.push(" (no high+/critical findings to show playbooks for)");for(const s of t.slice(0,5)){const t=s.attackPlaybook;i.push(`\n ${t.cwe} — ${t.title} (${s.file}:${s.line})`);i.push(" ────────────────────────────────────");i.push(t.script.split("\n").map(t=>" "+t).join("\n"))}}if(s["show-spof"]){i.push("\n── Single-point-of-failure controls (counterfactual) ────────────");const s=t._v3?.counterfactual?.spofControls||[];if(!s.length)i.push(" (no SPOF controls detected — either no controls or no clusters of high+ findings depend on one)");for(const t of s.slice(0,10)){i.push(` ${t.control} @ ${t.location} — would expose ${t.wouldExpose} high+ findings if removed`)}}if(s["show-trust-boundary"]){i.push("\n── Trust-boundary diagram (Mermaid) ─────────────────────────────");const s=t._v3?.trustBoundaryDiagram;if(!s)i.push(" (no diagram — rerun /scan)");else{i.push(" ```mermaid");i.push(s.mermaid.split("\n").map(t=>" "+t).join("\n"));i.push(" ```")}}if(s["show-threat-model"]){i.push("\n── Auto-generated STRIDE threat model ───────────────────────────");const s=t._v3?.threatModel;if(!s)i.push(" (no threat model — rerun /scan)");else{i.push(` Assets: ${s.summary.assetCount} Trust boundaries: ${s.summary.boundaryCount}`);for(const[t,r]of Object.entries(s.summary.strideCounts)){i.push(` ${t.padEnd(22)} ${r}`)}}}if(s["show-drift"]){i.push("\n── Calibration-drift alarms ─────────────────────────────────────");const s=t._v3?.calibrationDrift;const r=s?.alarms||[];if(!r.length)i.push(" (no drift detected — confidence matches realized accuracy within threshold)");for(const t of r){i.push(` ${t.family}: reported ${(t.reportedAccuracy*100).toFixed(0)}% vs realized ${(t.realizedAccuracy*100).toFixed(0)}% (N=${t.sampleSize})`);i.push(` ${t.recommendation}`)}}return i.join("\n")}function _bundleSha(){const t=l.dirname(new URL(import.meta.url).pathname);try{const s=a.readFileSync(l.join(t,"agentic-security.mjs.sha256"),"utf8").trim();const i=/^([0-9a-f]{64})\b/.exec(s);if(i)return i[1]}catch{}return"unavailable"}async function writeMachineOutput(t,s,r,a,u){const p=(0,H.Pn)(t);const{isSafeStateDir:f,stateWritesEnabled:h}=await Promise.resolve().then(i.bind(i,31174));if(!h()||!f(p)){if(process.env.AGENTIC_SECURITY_DEBUG==="1")process.stderr.write(`[agentic-security] refusing to write machine output at ${p} — no project marker\n`);return}await o.mkdir(p,{recursive:true});await _writeStateNoFollow(l.join(p,"findings.json"),JSON.stringify((0,x.U2)(s,r),null,2));if(a.profile==="pro"||a.machineOutput||u&&u.flags["machine-output"]){await _writeStateNoFollow(l.join(p,"findings.sarif"),JSON.stringify((0,x.$l)(s,r),null,2));await _writeStateNoFollow(l.join(p,"findings.csv"),(0,x._O)(s))}}function parseArgs(t){const s={_:[],flags:{}};for(let i=0;i<t.length;i++){const r=t[i];if(r.startsWith("--")){const[a,o]=r.slice(2).split("=",2);if(o!==undefined){s.flags[a]=o;continue}const l=t[i+1];if(l&&!l.startsWith("--")){s.flags[a]=l;i++}else s.flags[a]=true}else{s._.push(r)}}return s}const ee=new Set(["standard","deep"]);function parseProvenanceFlags(t){const s={mode:"standard",since:null,timeoutMs:undefined,includeEmail:false,pseudonymize:false,requireProvenance:false,disabled:true,warning:null};const i=[];for(let r=0;r<t.length;r++){const a=t[r];if(typeof a!=="string"||!a.startsWith("--"))continue;const o=a.indexOf("=");const l=o===-1?a:a.slice(0,o);const u=o===-1?undefined:a.slice(o+1);const takeValue=()=>{if(u!==undefined)return u;const s=t[r+1];if(s!==undefined&&!String(s).startsWith("--")){r++;return s}return undefined};if(l==="--no-provenance")s.disabled=true;else if(l==="--provenance"){s.disabled=false;const a=u!==undefined?u:ee.has(String(t[r+1]))?t[++r]:undefined;if(a==="deep"||a==="standard"||a===undefined){s.mode=a||"standard"}else{i.push(`unrecognised --provenance mode '${a}' (expected standard|deep), running standard`)}}else if(l==="--provenance-since"){s.since=takeValue()??null;s.disabled=false}else if(l==="--provenance-timeout"){const t=takeValue();if(t===undefined){i.push("--provenance-timeout requires a value in milliseconds; using the default budget")}else if(!/^\d+$/.test(String(t).trim())||parseInt(t,10)<=0){i.push(`--provenance-timeout expects a positive integer number of MILLISECONDS, got '${t}'; using the default budget`)}else{s.timeoutMs=parseInt(t,10);s.disabled=false}}else if(l==="--include-author-email"){s.includeEmail=true;s.disabled=false}else if(l==="--pseudonymize-authors"){s.pseudonymize=true;s.disabled=false}else if(l==="--require-provenance"){s.requireProvenance=true;s.disabled=false}}s.warning=i.length?i.join("; "):null;return s}async function cmdScan(t){if(t.flags["no-state"]){const{setStateWritesEnabled:t}=await Promise.resolve().then(i.bind(i,31174));t(false)}const s=t._[1]||".";const r=l.resolve(s);const u=loadPersonaProfile(r,t);const p=t.flags.format||(u.profile==="pro"?"cli":"ship");if(!Y.has(String(p))){process.stderr.write(`agentic-security scan: unsupported --format ${JSON.stringify(String(p))}. Supported: ${[...Y].join(" | ")}.\n`);return 2}const I=!!t.flags.verbose;const L=t.flags.output;const F=!!t.flags["no-network"];if(F)process.env.AGENTIC_SECURITY_OFFLINE="1";if(t.flags["deterministic"]){process.env.AGENTIC_SECURITY_DETERMINISTIC="1";process.env.AGENTIC_SECURITY_OFFLINE="1";const t=(0,D.Pz)(r);if(!t.ok){process.stderr.write(`[deterministic] lockfile mismatch:\n - ${t.mismatches.join("\n - ")}\n`);process.stderr.write(`[deterministic] run \`agentic-security rules lock\` to refresh.\n`);return 4}}if(t.flags["watch"]){process.env.AGENTIC_SECURITY_INCREMENTAL="1";const{watchProject:t,computeDelta:s,persistStatus:a,renderStatusLine:o}=await i.e(9220).then(i.bind(i,19220));process.stderr.write(`[watch] scanning ${r} on change — Ctrl-C to stop. Status → .agentic-security/watch-status.md\n`);const l=await(0,m.runScan)(r,{onProgress:scanProgressReporter()});clearScanProgressLine();let u=l.scan.findings||[];await t(r,async()=>{try{const{scan:t}=await(0,m.runScan)(r,{onProgress:scanProgressReporter()});clearScanProgressLine();const i=t.findings||[];const l=s(u,i);a(r,l);process.stderr.write("[watch] "+o(l)+"\n");u=i}catch(t){process.stderr.write(`[watch] rescan failed: ${t.message}\n`)}});return 0}const M=!!(t.flags["pr"]||t.flags["changed-since"]);if(t.flags["incremental"]||process.env.AGENTIC_SECURITY_INCREMENTAL==="1"||M){process.env.AGENTIC_SECURITY_INCREMENTAL="1"}if(t.flags["no-deep"])process.env.AGENTIC_SECURITY_DEEP="0";else if(t.flags["deep"])process.env.AGENTIC_SECURITY_DEEP="1";else if(process.env.AGENTIC_SECURITY_DEEP==null||process.env.AGENTIC_SECURITY_DEEP===""){const t=!!(process.env.CI||process.env.GITHUB_ACTIONS||process.env.GITLAB_CI||process.env.BUILDKITE||process.env.CIRCLECI||process.env.JENKINS_URL);if(!t)process.env.AGENTIC_SECURITY_DEEP="1"}let B=t.flags["changed-since"]||null;if(t.flags["pr"]){const s=t.flags["pr"];B=typeof s==="string"&&s!=="true"?s:detectBaseline()||"origin/main";process.stderr.write(`[pr-mode] scanning files changed since: ${B}\n`)}const W=parseProvenanceFlags(process.argv.slice(2));if(W.warning)console.error(`Warning: ${W.warning}`);if(W.disabled)process.env.AGENTIC_SECURITY_NO_PROVENANCE="1";process.env.AGENTIC_SECURITY_PROVENANCE_MODE=W.mode;if(W.since)process.env.AGENTIC_SECURITY_PROVENANCE_SINCE=W.since;if(W.timeoutMs)process.env.AGENTIC_SECURITY_PROVENANCE_TIMEOUT_MS=String(W.timeoutMs);if(W.includeEmail)process.env.AGENTIC_SECURITY_INCLUDE_AUTHOR_EMAIL="1";if(W.pseudonymize)process.env.AGENTIC_SECURITY_PSEUDONYMIZE_AUTHORS="1";const{scan:U,meta:V}=await(0,m.runScan)(s,{changedSince:B,onProgress:scanProgressReporter()});if(W.requireProvenance){const t=[];for(const[s,i]of[["findings",U.findings],["secrets",U.secrets],["supplyChain",U.supplyChain],["logicVulns",U.logicVulns]]){for(const r of i||[]){if(!r||typeof r!=="object")continue;if((0,h.lL)(r.findingProvenance))continue;t.push(r.id||r.stableId||`${s}:${r.name||r.file||r.type||"entry"}`)}}if(t.length>0){const s=`--require-provenance: ${t.length} finding(s) have unresolved provenance`;U.scanHealth={...U.scanHealth||{},conditions:[...Array.isArray(U.scanHealth?.conditions)?U.scanHealth.conditions:[],s],status:(U.scanHealth?.status??"complete")==="complete"?"partial":U.scanHealth.status,provenanceIncomplete:t}}}if(V&&V.engineVersion==null)V.engineVersion=J;clearScanProgressLine();const K=t.flags.only;if(K){if(K==="sast"){U.secrets=[];U.supplyChain=[]}if(K==="sca"){U.findings=[];U.secrets=[];U.logicVulns=[]}if(K==="secrets"){U.findings=[];U.supplyChain=[];U.logicVulns=[]}}const G=(0,H.statePath)(s||".","baseline.json");if(t.flags["set-baseline"]){const{normalizeFindings:t}=await Promise.resolve().then(i.bind(i,75917));const s=new Set(t(U).map(t=>t.stableId||t.id));for(const t of["secrets","supplyChain","logicVulns"])for(const i of U[t]||[])if(i&&typeof i.id==="string"&&i.id.includes(":"))s.add(i.id);a.mkdirSync(l.dirname(G),{recursive:true});a.writeFileSync(G,JSON.stringify({ids:[...s],createdAt:(new Date).toISOString(),count:s.size},null,2));process.stderr.write(`[baseline] saved ${s.size} findings as baseline\n`)}if(t.flags["since-baseline"]&&a.existsSync(G)){try{const t=JSON.parse(a.readFileSync(G,"utf8"));const s=new Set(t.ids||[]);const r=U.findings.length;U.findings=(U.findings||[]).filter(t=>!s.has(t.stableId||t.id));const{normalizeFindings:o}=await Promise.resolve().then(i.bind(i,75917));const l={findings:[],secrets:[],supplyChain:[],logicVulns:[],suppressions:[],components:[],routes:[],filesScanned:0};for(const t of["secrets","supplyChain","logicVulns"]){if(!Array.isArray(U[t]))continue;U[t]=U[t].filter(i=>{if(!i)return true;let r=i.stableId||i.id;try{const s=o({...l,[t]:[i]})[0];if(s)r=s.stableId||s.id}catch{}return!s.has(r)&&!(typeof i.id==="string"&&i.id.includes(":")&&s.has(i.id))})}process.stderr.write(`[baseline] filtered ${r-U.findings.length} baseline findings, ${U.findings.length} new\n`)}catch{}}if(t.flags["hide-proven-safe"]){const t=(U.findings||[]).length;U.findings=(U.findings||[]).filter(t=>!t.provablySafe);process.stderr.write(`[proof] hid ${t-(U.findings||[]).length} provably-safe finding(s)\n`)}if(t.flags["secret-history"]){try{const{sweepGitHistory:s}=await i.e(1444).then(i.bind(i,51444));const{scanCredentials:a}=await i.e(4384).then(i.bind(i,74384));const o=parseInt(t.flags["history-depth"]||"50",10);const l=s(r,a,{maxCommits:o});if(l.length){U.secrets=[...U.secrets||[],...l];process.stderr.write(`[secret-history] ${l.length} secret(s) found in the last ${o} commits — rotate even if removed from HEAD\n`)}else{process.stderr.write(`[secret-history] no secrets found in the last ${o} commits\n`)}}catch(t){if(process.env.AGENTIC_SECURITY_DEBUG==="1")process.stderr.write(`[secret-history] ${t&&t.message}\n`)}}if(t.flags["scorecard"])process.env.AGENTIC_SECURITY_SCORECARD="1";if(t.flags["sca-reachable-only"]){U.supplyChain=(U.supplyChain||[]).filter(t=>t.functionReachable==="reachable"||t.functionReachable!=="unreachable")}const X=effectiveConfidence(u,t);const Q={...u,confidenceMin:X};U.findings=(0,P.px)(U.findings||[],r,u);U.secrets=(0,P.px)(U.secrets||[],r,u);U.logicVulns=(0,P.px)(U.logicVulns||[],r,u);U.supplyChain=(0,P.px)(U.supplyChain||[],r,u);U.findings=(0,$.iu)(U.findings||[],r);U.secrets=(0,$.iu)(U.secrets||[],r);U.logicVulns=(0,$.iu)(U.logicVulns||[],r);try{const t=(0,$.Y2)(r);if(t){U.suppressedRules=t;const s=(0,$.Qv)(t);if(s)process.stderr.write(`⚠️ agentic-security: ${s}\n`)}}catch{}const Z=t.flags.pack;const ee=Z?Array.isArray(Z)?Z:String(Z).split(","):[];if(ee.length)Object.assign(U,(0,O.ld)(U,ee));try{const{fileContents:t}=await Promise.resolve().then(i.bind(i,45950)).then(t=>t.readTree(r));const s=(0,R.hr)(r,t);if(s.length){U.findings=[...U.findings||[],...s];if(process.stderr.isTTY){process.stderr.write(`[custom-rules] +${s.length} finding(s) from ${(0,R.Lh)(r).length} rule(s)\n`)}}}catch{}if(U.scanHealth){try{const{applyFreshness:t}=await Promise.resolve().then(i.bind(i,74839));U.scanHealth=t(U.scanHealth,{customRules:(0,R.MP)(r)})}catch{}}if(!t.flags["no-epss"]&&!(0,D.Dh)()&&!F){try{await(0,N.H4)(U)}catch{}}try{const{annotateRiskDollars:t}=await Promise.resolve().then(i.bind(i,94488));t(r,U.findings||[])}catch{}try{const{annotateCompositeRisk:t}=await Promise.resolve().then(i.bind(i,18812));t(U.findings||[]);t(U.supplyChain||[])}catch{}if(!t.flags["no-blast-radius"]){try{(0,j.I)(U,r)}catch{}}if(t.flags["exposed-only"]){U.findings=(U.findings||[]).filter(t=>t.mitigationVerdict==="exposed-in-prod"||!t.mitigationVerdict);U.supplyChain=(U.supplyChain||[]).filter(t=>t.mitigationVerdict==="exposed-in-prod"||!t.mitigationVerdict)}if(t.flags["mitigated-only"]){U.findings=(U.findings||[]).filter(t=>t.mitigationVerdict==="mitigated-in-prod");U.supplyChain=(U.supplyChain||[]).filter(t=>t.mitigationVerdict==="mitigated-in-prod")}if(t.flags["unreachable-only"]){U.findings=(U.findings||[]).filter(t=>t.mitigationVerdict==="unreachable-in-prod");U.supplyChain=(U.supplyChain||[]).filter(t=>t.mitigationVerdict==="unreachable-in-prod")}if(t.flags["persona"]){const s=String(t.flags["persona"]);U.findings=(U.findings||[]).filter(t=>Array.isArray(t.personaTopTwo)&&t.personaTopTwo.includes(s))}if((0,D.Dh)())(0,D.je)(U,V);try{const{computeRunAttestation:t}=await i.e(9207).then(i.bind(i,9207));const{keyProvenance:s}=await Promise.resolve().then(i.bind(i,71130));const{effectiveVersion:a}=await Promise.resolve().then(i.bind(i,6998));U.attestation=t({findings:(0,x.normalizeFindings)(U),engineVersion:J,rulesetVersion:a(r).version,bundleSha:_bundleSha(),root:r,sign:true});if(U.attestation)U.attestation.keyProvenance=s()}catch{}await writeMachineOutput(r,U,V,u,t);const te=!!t.flags["include-suppressed"];let ne;if(p==="json")ne=JSON.stringify((0,x.U2)(U,V,{includeSuppressed:te}),null,2);else if(p==="md"||p==="markdown")ne=(0,x.l6)(U,V);else if(p==="sarif")ne=JSON.stringify((0,x.$l)(U,V),null,2);else if(p==="oscal")ne=JSON.stringify((0,k.i1)(U,V),null,2);else if(p==="stix")ne=JSON.stringify((0,x.IE)(U,V),null,2);else if(p==="junit")ne=(0,x.U5)(U,V);else if(p==="csv")ne=(0,x._O)(U);else if(p==="html")ne=(0,x.FE)(U,V);else if(p==="cyclonedx"||p==="sbom")ne=JSON.stringify((0,_.V)(U,V),null,2);else if(p==="spdx")ne=JSON.stringify((0,_.L)(U,V),null,2);else if(p==="vex"||p==="openvex")ne=JSON.stringify((0,x.zO)(U,V),null,2);else if(p==="pbom")ne=JSON.stringify((0,T.Cj)(U.fc||{},V,{languageBuild:(await Promise.all([i.e(6359),i.e(3531)]).then(i.bind(i,33531))).languagePbom({...U.fc||{},...U.depFileContents||{}})}),null,2);else if(p==="aibom")ne=JSON.stringify((0,C.hY)(U,U.fc||{},{...V,manifests:U.depFileContents||{}}),null,2);else if(p==="mlbom")ne=JSON.stringify((0,C.IK)((0,C.hY)(U,U.fc||{},{...V,manifests:U.depFileContents||{}}),V),null,2);else if(p==="aibom-md")ne=(0,C.dx)((0,C.hY)(U,U.fc||{},{...V,manifests:U.depFileContents||{}}));else if(p==="ship")ne=(0,x.FL)(U,{profile:Q});else if(p==="pro")ne=(0,x.Tz)(U,{profile:Q,columns:t.flags.columns});else if(p==="cli")ne=(0,x.sn)(U,{profile:Q,columns:t.flags.columns,verbose:I});else ne=(0,x.mC)(U);if(t.flags.firehose&&(!p||p==="ship"||p==="summary")){const t=!W.disabled&&process.env.AGENTIC_SECURITY_NO_PROVENANCE!=="1";ne+="\n\n"+(0,x.yF)(U,{verbose:I,provenance:I&&t})}if(p==="cli"||p==="ship"||p==="pro"||p==="md"||p==="markdown"){ne+=renderV3Blocks(U,t.flags)}if(L)await o.writeFile(L,ne);else writeStdout(ne+"\n");const{isSafeStateDir:se,stateWritesEnabled:ie}=await Promise.resolve().then(i.bind(i,31174));const re=(0,H.Pn)(l.resolve(s));let ae=null;if(ie()&&se(re)){await o.mkdir(re,{recursive:true});ae=(0,x.U2)(U,V);delete ae.lineageGraph;if(!t.flags.deterministic){try{const{stampFindingTimestamps:t,buildBaselineMap:s,renderSlaSummary:r,fingerprintFinding:a,computeMTTR:u}=await i.e(5830).then(i.bind(i,95830));let f=new Map;let h=[];try{const t=JSON.parse(await o.readFile(l.join(re,"last-scan.json"),"utf8"));f=s(t);h=[...t?.findings||[],...t?.secrets||[],...(t?.supplyChain||[]).filter(t=>t.type==="vulnerable_dep")]}catch{}const m=Date.now();t(ae.findings||[],f,m);t(ae.secrets||[],f,m);t((ae.supplyChain||[]).filter(t=>t.type==="vulnerable_dep"),f,m);const g=new Set([...ae.findings||[],...ae.secrets||[],...(ae.supplyChain||[]).filter(t=>t.type==="vulnerable_dep")].map(a));const x=h.filter(t=>!g.has(a(t)));ae.mttr=u(x);const k=isMachineFormat(p);if(!k){const t=r(ae.findings||[]);if(t)process.stderr.write(`⏰ agentic-security: ${t}\n`);if(ae.mttr.count>0){process.stderr.write(`✅ agentic-security: ${ae.mttr.count} finding(s) fixed since last scan, median ${Math.round(ae.mttr.medianDays)}d to remediate\n`)}}}catch(t){if(process.env.AGENTIC_SECURITY_MTTR_DEBUG==="1"||process.env.CI||process.env.GITHUB_ACTIONS){process.stderr.write(`agentic-security: MTTR computation failed (best-effort, scan unaffected): ${t&&t.stack||t}\n`)}}try{const{fixDurationReport:t,renderFixDurationSummary:r}=await Promise.resolve().then(i.bind(i,32238));const a=t(l.resolve(s));if(a.attempts>0){ae.fixMetrics=a;const t=isMachineFormat(p);const s=r(a);if(!t&&s)process.stderr.write(`🔧 agentic-security: ${s}\n`)}}catch{}}if(t.flags["validate-secrets"]||process.env.AGENTIC_SECURITY_VALIDATE_SECRETS==="1"){try{const{checkSecretLive:t}=await i.e(9801).then(i.bind(i,49801));let s=0;for(const i of ae.secrets||[]){const{verdict:r,provider:a}=await t(i);i.liveVerdict=r;if(a)i.liveProvider=a;if(r==="live")s++}if(s>0)process.stderr.write(`🔴 agentic-security: ${s} LIVE secret(s) validated — rotate immediately (even if already removed from HEAD).\n`)}catch{}}const a=JSON.stringify(ae,null,2);await _writeStateNoFollow(l.join(re,"last-scan.json"),a);try{await _writeStateNoFollow(l.join(re,"last-scan.json.sig"),(0,f.lU)(a))}catch{}try{const{persistLanguageArtifacts:t}=await i.e(6333).then(i.bind(i,78714));t(l.resolve(s),{...U,scanHealth:ae.scanHealth||U.scanHealth})}catch{}if(U.lineageGraph){try{const t=JSON.stringify(U.lineageGraph,null,2);await _writeStateNoFollow(l.join(re,"lineage-graph.json"),t);try{await _writeStateNoFollow(l.join(re,"lineage-graph.json.sig"),(0,f.lU)(t))}catch{}}catch{}try{(0,g.HR)(U.lineageGraph,r)}catch{}}}else{if(process.env.AGENTIC_SECURITY_DEBUG==="1")process.stderr.write(`[agentic-security] refusing to write state at ${re} — no project marker in ${l.resolve(s)}\n`)}try{const t=ae!==null?(0,A.zf)(re,ae):null;if(t&&process.stderr.isTTY&&!isMachineFormat(p)){const s=(0,A.L9)(t);const i=(0,A.KR)(t);if(s)process.stderr.write("\n"+s+"\n");if(i)process.stderr.write("🛡️ "+i+"\n")}}catch{}return(0,x.Rr)(U)}async function cmdShip(t){const s=t._[1]||".";t.flags.format="ship";const i=await cmdScan(t);return i>=4?i:0}function detectBaseline(){return process.env.GITHUB_BASE_REF||process.env.CI_MERGE_REQUEST_TARGET_BRANCH_NAME||process.env.BUILDKITE_PULL_REQUEST_BASE_BRANCH||process.env.BITBUCKET_PR_DESTINATION_BRANCH||null}function ciExitCode(t,s){switch(s){case"none":return 0;case"critical":default:return t>=3?1:0;case"high":return t>=2?1:0;case"medium":case"low":return t>=1?1:0}}async function cmdCi(t){const s=t._[1]||".";const r=l.resolve(s);const a=t.flags["fail-on"]||"critical";const u=t.flags.baseline||detectBaseline();if(u)process.stderr.write(`[ci] baseline: ${u}\n`);else process.stderr.write(`[ci] full scan (no baseline ref detected)\n`);const p=loadPersonaProfile(r,t);const{scan:f,meta:h}=await(0,m.runScan)(s,{changedSince:u||null,onProgress:scanProgressReporter()});clearScanProgressLine();f.findings=(0,P.px)(f.findings||[],r,p);f.secrets=(0,P.px)(f.secrets||[],r,p);f.logicVulns=(0,P.px)(f.logicVulns||[],r,p);f.supplyChain=(0,P.px)(f.supplyChain||[],r,p);f.findings=(0,$.iu)(f.findings||[],r);f.secrets=(0,$.iu)(f.secrets||[],r);f.logicVulns=(0,$.iu)(f.logicVulns||[],r);const g=t.flags.pack;const k=g?Array.isArray(g)?g:String(g).split(","):[];if(k.length)Object.assign(f,(0,O.ld)(f,k));try{const{computeRunAttestation:t}=await i.e(9207).then(i.bind(i,9207));const{keyProvenance:s}=await Promise.resolve().then(i.bind(i,71130));const{effectiveVersion:a}=await Promise.resolve().then(i.bind(i,6998));f.attestation=t({findings:(0,x.normalizeFindings)(f),engineVersion:J,rulesetVersion:a(r).version,bundleSha:_bundleSha(),root:r,sign:true});if(f.attestation)f.attestation.keyProvenance=s()}catch{}const _=(0,H.Pn)(r);const{isSafeStateDir:T,stateWritesEnabled:C}=await Promise.resolve().then(i.bind(i,31174));const A=C()&&T(_);if(!A){if(process.env.AGENTIC_SECURITY_DEBUG==="1")process.stderr.write(`[agentic-security] refusing to write CI artifacts at ${_} — no project marker\n`)}else{await o.mkdir(_,{recursive:true});await _writeStateNoFollow(l.join(_,"findings.json"),JSON.stringify((0,x.U2)(f,h),null,2));await _writeStateNoFollow(l.join(_,"findings.sarif"),JSON.stringify((0,x.$l)(f,h),null,2));await _writeStateNoFollow(l.join(_,"findings.junit.xml"),(0,x.U5)(f,h))}const I=(0,x.Rr)(f);const D=(0,x.normalizeFindings)(f);const N={critical:0,high:0,medium:0,low:0,info:0};for(const t of D)N[t.severity]=(N[t.severity]||0)+1;const j=f.scanHealth;const R=j&&j.status&&j.status!=="complete"?`[ci] ⚠ scan-health=${j.status} — ${(j.conditions||[])[0]||"analysis did not complete cleanly"}${(j.conditions||[]).length>1?` (+${j.conditions.length-1} more)`:""}\n`:`[ci] scan-health=${j&&j.status?j.status:"unknown"}\n`;process.stderr.write(`[ci] ${D.length} findings — ${N.critical} critical · ${N.high} high · ${N.medium} medium · ${N.low} low · ${N.info} info\n`+R+(A?`[ci] artifacts: .agentic-security/findings.{json,sarif,junit.xml}\n`:`[ci] artifacts: NOT written (state writes refused — set AGENTIC_SECURITY_DEBUG=1 for the reason)\n`)+`[ci] fail-on=${a} scan-exit=${I}\n`);const L=t.flags.policy;if(L){const{evaluatePolicy:t}=await i.e(7227).then(i.bind(i,67227));const s=t(l.resolve(L),D);if(!s.ok){console.error(`[ci] policy gate error: ${s.reason||"unknown"}`);return 1}if(s.denials.length){console.error(`[ci] policy gate FAILED (${s.runner}, ${s.denials.length} denial(s)):`);for(const t of s.denials.slice(0,20))console.error(` - ${t}`);return 1}process.stderr.write(`[ci] policy gate PASSED (${s.runner}, 0 denials)\n`)}const{evaluateAssuranceMode:F,ASSURANCE_MODES:M,DEFAULT_ASSURANCE_MODE:B}=await i.e(4970).then(i.bind(i,94970));const W=t.flags.assurance||B;if(!M.includes(W)){console.error(`[ci] --assurance must be one of: ${M.join("|")} (got '${W}')`);return 1}const U=F(W,f.scanHealth,D);if(!U.ok){console.error(`[ci] assurance gate FAILED (mode=${W}): ${U.reason}`);return 1}if(W==="strict")process.stderr.write(`[ci] assurance gate PASSED (mode=strict)\n`);if(t.flags["fail-on-new"]){const t=u;if(!t){process.stderr.write("[ci] --fail-on-new requires a baseline ref (--baseline <ref> or a CI base-branch env var)\n");return 1}try{const{computePrDelta:r,netNewGate:o}=await i.e(5637).then(i.bind(i,55637));const l=await r(s,{baseRef:t});const u=o(l,a);process.stderr.write(`[ci] net-new vs ${t}: +${l.introduced.length} introduced · -${l.resolved.length} resolved · ${l.persistent.length} pre-existing (not gated)\n`+`[ci] net-new gate fail-on=${a} → ${u.fail?"FAIL":"pass"}${u.blocked.length?" ("+u.blocked.length+" blocking)":""}\n`);for(const t of u.blocked.slice(0,20))process.stderr.write(` + [${(t.severity||"").toUpperCase()}] ${t.vuln||t.type} ${t.file}:${t.line}\n`);return u.fail?1:0}catch(t){process.stderr.write(`[ci] net-new gate error: ${t&&t.message||t} — falling back to full --fail-on gate\n`)}}return ciExitCode(I,a)}async function cmdAccept(t){const s=l.resolve(t._[1]||".");const i=t.flags.finding;if(!i){console.error("--finding <id> required");return 4}const r=t.flags.reason||"vibecoded for now";const u=(0,H.statePath)(s,"findings.json");if(!a.existsSync(u)){console.error("No prior scan found. Run `agentic-security scan` first.");return 4}const p=JSON.parse(await o.readFile(u,"utf8"));const f=(p.findings||[]).find(t=>t.id===i);if(!f){console.error(`Finding ${i} not found.`);return 4}if(f.severity==="critical"&&!t.flags["accept-critical"]){console.error("Cannot soft-accept a CRITICAL finding without --accept-critical.");return 4}const h=(0,P.zY)(s,f,r);console.log(`✓ Accepted finding ${i} until ${h}.`);console.log(` ${I.ow}`);return 0}async function cmdProfile(t){const s=l.resolve(t._[2]||".");const i=t._[1];if(i==="show"){const t=(0,I.iH)(s);console.log(`Profile: ${t.profile}`);console.log(` confidence threshold: ${t.confidenceMin}`);console.log(` taxonomy visible: ${t.showTaxonomy}`);console.log(` suppression schema: ${t.suppression}`);console.log(` machine output: ${t.machineOutput?"always":"on-request"}`);console.log(` ${I.ow}`);return 0}if(i==="set"){const i=t._[2];if(i!=="vibecoder"&&i!=="pro"){console.error("profile set <vibecoder|pro>");return 4}const r=(0,I.Lt)(s,{profile:i});console.log(`✓ Profile set to: ${r.profile}`);return 0}if(i==="detect"){const t=(0,I.lt)(s);console.log(`Detected profile: ${t}`);return 0}console.error("profile show | profile set <vibecoder|pro> | profile detect");return 4}async function cmdTriage(t){const s=l.resolve(t._[t._.length-1]&&!t._[t._.length-1].startsWith("--")?t._[t._.length-1]:".");const r=t._[1];if(t.flags.explain){const r=String(t.flags.explain);const l=(0,H.statePath)(s,"last-scan.json");if(!a.existsSync(l)){console.error("No prior scan found. Run `agentic-security scan` first.");return 4}const u=JSON.parse(await o.readFile(l,"utf8"));const p=(u.findings||[]).find(t=>t.id===r)||(u.secrets||[]).find(t=>t.id===r);if(!p){console.error(`Finding ${r} not found in last scan.`);return 4}console.log("Deterministic evidence");console.log("-----------------------");console.log(` ${p.vuln||p.title||"finding"} [${p.severity||"unknown"}] ${p.cwe||""}`.trim());console.log(` ${p.file}:${p.line||"?"}`);if(p.description)console.log(` ${p.description}`);const{proposeOllamaExplanation:f,EXPLAIN_ERROR:h}=await i.e(957).then(i.bind(i,957));const m=await f({finding:{file:p.file,line:p.line,vuln:p.vuln,cwe:p.cwe,severity:p.severity,confidence:p.confidence??p.llm_confidence},contextSnippet:p.snippet||"",scanRoot:s});console.log("");if(m.ok){console.log(`Model-generated explanation (${m.model}) — not deterministic evidence`);console.log("-----------------------------------------------------------------------");console.log(` ${m.modelExplanation}`);if(m.confidenceNote)console.log(` (${m.confidenceNote})`)}else if(m.code===h.NOT_CONFIGURED){console.log("(No AI-assisted explanation — configure AGENTIC_SECURITY_LLM_PRESET=ollama for one.)")}else{console.log(`(AI-assisted explanation unavailable: ${m.code} — ${m.reason})`)}return 0}if(t.flags.poc){const r=String(t.flags.poc);const l=(0,H.statePath)(s,"last-scan.json");if(!a.existsSync(l)){console.error("No prior scan found. Run `agentic-security scan` first.");return 4}const u=JSON.parse(await o.readFile(l,"utf8"));const p=(u.findings||[]).find(t=>t.id===r)||(u.secrets||[]).find(t=>t.id===r);if(!p){console.error(`Finding ${r} not found in last scan.`);return 4}console.log("Deterministic evidence");console.log("-----------------------");console.log(` ${p.vuln||p.title||"finding"} [${p.severity||"unknown"}] ${p.cwe||""}`.trim());console.log(` ${p.file}:${p.line||"?"}`);if(p.description)console.log(` ${p.description}`);const{proposeOllamaPoc:f,POC_PROPOSAL_ERROR:h}=await i.e(6994).then(i.bind(i,86994));const m=await f({finding:{file:p.file,line:p.line,vuln:p.vuln,cwe:p.cwe,severity:p.severity},contextSnippet:p.snippet||"",scanRoot:s});console.log("");if(m.ok){console.log(`Model-generated PoC sketch (${m.model}) — unverified, not executed`);console.log("-----------------------------------------------------------------------");console.log(` ${m.pocNarrative}`);if(m.exampleInput)console.log(` Example input: ${m.exampleInput}`);if(m.expectedResult)console.log(` Expected result: ${m.expectedResult}`)}else if(m.code===h.NOT_CONFIGURED){console.log("(No AI-assisted PoC sketch — configure AGENTIC_SECURITY_LLM_PRESET=ollama for one.)")}else{console.log(`(AI-assisted PoC sketch unavailable: ${m.code} — ${m.reason})`)}return 0}if(r==="exploit"||r==="validate"&&t.flags.execution){if(r==="exploit"&&!t.flags.prove){console.error("triage exploit requires --prove (it executes a reproducer in an isolated environment).");return 4}const s=t._[t._.length-1];const a=l.resolve(t.flags.root||(s&&!String(s).startsWith("--")&&s!==t._[1]&&s!==t._[2]?s:"."));return(await i.e(2066).then(i.bind(i,92066))).cmdProve(t,a)}const u=(0,I.iH)(s);if(u.profile!=="pro"){console.error("Triage is a pro-mode feature. Run `agentic-security profile set pro` to enable.");return 4}const p=(0,H.statePath)(s,"findings.json");if(a.existsSync(p)){const t=JSON.parse(await o.readFile(p,"utf8"));W.j(s,t.findings||[],{scanHealth:t.scanHealth||null})}if(r==="list"){const r={};if(t.flags.status)r.state=t.flags.status;if(t.flags.severity)r.severity=t.flags.severity;if(t.flags.assignee)r.assignee=t.flags.assignee;if(t.flags.unassigned)r.unassigned=true;const a=W.p_(s,r);const o=!!t.flags.evidence;const l=o?(await i.e(2199).then(i.bind(i,62199))).latestProof:null;const u=["ID","Severity","State","Assignee","File:Line","Vuln",...o?["Evidence"]:[]].join(" ");console.log(u);console.log("─".repeat(80));for(const t of a.slice(0,50)){const i=o?l(s,t.id)?.record?.state??"none":null;console.log([t.id.slice(0,16),(t.severity||"").padEnd(8),t.state.padEnd(13),(t.assignee||"—").padEnd(20),`${t.file}:${t.line}`.padEnd(40),t.vuln,...o?[i]:[]].join(" "))}return 0}if(r==="assign"){const i=t._[2];const r=t._[3]||t.flags.assignee;if(!i||!r){console.error("triage assign <id> <assignee>");return 4}const a=W.kp(s,i,r);if(!a.ok){console.error(a.error);return 4}console.log(`✓ Assigned ${i} to ${r}`);return 0}if(r==="transition"){const i=t._[2];const r=t._[3];const a=W.kY(s,i,r,t.flags.comment);if(!a.ok){console.error(a.error);return 4}console.log(`✓ ${i} → ${r}`);return 0}if(r==="trend"){const r=parseInt(t.flags.since||"30",10);const a=W.GW(s,r);console.log(`Trend over ${a.sinceDays} days:`);console.log(` Opened: ${a.opened}`);console.log(` Closed: ${a.closed}`);console.log(` Net: ${a.net} (${a.net<=0?"improving":"regressing"})`);console.log(` Open: critical=${a.openBySev.critical} high=${a.openBySev.high} medium=${a.openBySev.medium} low=${a.openBySev.low}`);if(a.medianMttrDays!=null)console.log(` MTTR median: ${a.medianMttrDays.toFixed(1)} days`);console.log(` Total open: ${a.totalOpen}`);const{productionFeedbackReport:o,renderProductionFeedbackSummary:l}=await i.e(1920).then(i.bind(i,61920));const u=o(s,{sinceDays:r});const p=l(u);if(p){console.log("");console.log(p)}return 0}console.error("triage list | assign <id> <assignee> | transition <id> <state> | trend [--since N]");return 4}async function cmdOrgScan(t){const s=t.flags.repos;if(!s){console.error("--repos <path1,path2,...> required");return 4}const i=s.split(",").map(t=>t.trim()).filter(Boolean);const r=parseInt(t.flags.workers||"4",10);const a={scannedAt:(new Date).toISOString(),repos:[]};console.log(`🛡 agentic-security org-scan — ${i.length} repo(s), ${r} worker(s)`);console.log(` created by ClearCapabilities.Com`);console.log("");const l=i.slice();const u=[];while(l.length||u.length){while(u.length<r&&l.length){const t=l.shift();const s=(async()=>{const s=Date.now();try{const{scan:i,meta:r}=await(0,m.runScan)(t);const o={critical:0,high:0,medium:0,low:0,info:0};for(const t of i.findings||[])o[t.severity||"medium"]++;for(const t of i.secrets||[])o[t.severity||"high"]++;a.repos.push({repo:t,scanned:i.filesScanned||0,critical:o.critical,high:o.high,medium:o.medium,low:o.low,elapsed_ms:Date.now()-s});console.log(` ✓ ${t.padEnd(60)} crit=${o.critical} high=${o.high} (${((Date.now()-s)/1e3).toFixed(1)}s)`)}catch(s){a.repos.push({repo:t,error:s.message});console.log(` ✗ ${t.padEnd(60)} ERROR: ${s.message}`)}})();u.push(s);s.finally(()=>{const t=u.indexOf(s);if(t>=0)u.splice(t,1)})}if(u.length)await Promise.race(u)}const p=a.repos.reduce((t,s)=>({critical:t.critical+(s.critical||0),high:t.high+(s.high||0),medium:t.medium+(s.medium||0),low:t.low+(s.low||0)}),{critical:0,high:0,medium:0,low:0});console.log("");console.log("Org-wide summary:");console.log(` Critical: ${p.critical} High: ${p.high} Medium: ${p.medium} Low: ${p.low}`);const f=a.repos.filter(t=>!t.error).sort((t,s)=>s.critical+s.high-(t.critical+t.high)).slice(0,5);if(f.length){console.log("");console.log("Top 5 repos by critical+high:");for(const t of f)console.log(` ${t.repo.padEnd(60)} crit=${t.critical} high=${t.high}`)}const h=t.flags.output||"org-scan-"+(new Date).toISOString().slice(0,10)+".json";await o.writeFile(h,JSON.stringify(a,null,2));console.log(`\nFull rollup: ${h}`);return 0}async function cmdRules(t){const s=t._[1];if(s==="synthesize"||s==="evaluate"||s==="promote"||s==="status"||s==="rollback"||s==="cost"||s==="regress"){return(await Promise.all([i.e(7838),i.e(5937)]).then(i.bind(i,65937))).cmdRules(t,l.resolve(t.flags.root||"."))}const r=l.resolve(t._[2]||".");if(s==="validate"){const t=(0,$.ec)(r);if(t.ok){console.log("✓ rules.yml is valid");return 0}console.error("rules.yml has errors:");for(const s of t.errors)console.error(" - "+s);return 4}if(s==="lock"){const{path:t,lock:s}=(0,D.zv)(r);console.log(`✓ wrote ${t}`);console.log(` scanner: ${s.scannerVersion} rulePackHash: ${s.rulePackHash}`);return 0}console.error("rules validate | rules lock | rules synthesize <finding-id> --spec <file.json> [--auto] | rules evaluate|promote|status|rollback|cost <rule-id>");return 4}async function cmdHarness(t){const s=l.resolve(t._[1]||".");const r=!!t.flags["include-home"];const{discoverHarnessConfigs:a,summarizeHarnessPresence:u}=await i.e(2830).then(i.bind(i,2830));const{scanClaudeSettings:p}=await Promise.resolve().then(i.bind(i,1836));const{scanClaudeMdPromptInjection:f}=await Promise.resolve().then(i.bind(i,58955));const{scanClaudeHookInjection:h}=await Promise.resolve().then(i.bind(i,29106));const{scanMCP:m}=await Promise.resolve().then(i.bind(i,48050));const{scanCredentials:g}=await i.e(4384).then(i.bind(i,74384));const k=await a(s,{includeHome:r});const _=u(k);const T=Object.keys(k).length;process.stderr.write(`[harness] discovered harnesses: ${_.length?_.join(", "):"(none found)"}\n`);process.stderr.write(`[harness] scanning ${T} config file(s)${r?" (incl. ~/)":""}\n`);if(T===0){process.stdout.write("No harness configuration files found.\n");return 0}const C=[];const A=[];for(const[t,s]of Object.entries(k)){try{C.push(...p(t,s))}catch{}try{C.push(...f(t,s))}catch{}try{C.push(...h(t,s))}catch{}try{C.push(...m(t,s))}catch{}try{A.push(...g(t,s))}catch{}}for(const t of C){if(!t.confidence)t.confidence=.9}const I={findings:C,secrets:A,logicVulns:[],supplyChain:[],routes:[],components:[],suppressions:[],filesScanned:T,fc:k};const P={startedAt:(new Date).toISOString(),durationMs:0,mode:"harness"};const $=t.flags.format||"cli";let O;if($==="json")O=JSON.stringify((0,x.U2)(I,P),null,2);else if($==="sarif")O=JSON.stringify((0,x.$l)(I,P),null,2);else if($==="md"||$==="markdown")O=(0,x.l6)(I,P);else if($==="ship")O=(0,x.FL)(I,{profile:{profile:"vibecoder",confidenceMin:0}});else O=(0,x.sn)(I,{profile:{profile:"pro",confidenceMin:0}});if(($==="cli"||$==="ship")&&_.length){O+=`\n\nHarnesses discovered: ${_.join(", ")}${r?" (project + ~/)":" (project only)"}\n`}if(t.flags.output)await o.writeFile(t.flags.output,O);else writeStdout(O+"\n");return(0,x.Rr)(I)}async function cmdScanBaseline(t){const s=t.flags.previous;const r=t.flags.current;if(!s||!r){console.error("Usage: agentic-security scan-baseline --previous <a.json> --current <b.json> [--format cli|json]");return 2}let o,l;try{o=JSON.parse(a.readFileSync(s,"utf8"))}catch(t){console.error(`Cannot read previous scan: ${t.message}`);return 2}try{l=JSON.parse(a.readFileSync(r,"utf8"))}catch(t){console.error(`Cannot read current scan: ${t.message}`);return 2}const{diffScans:u,renderDiff:p}=await i.e(1660).then(i.bind(i,51660));const f=u(o,l);if(t.flags.format==="json"){process.stdout.write(JSON.stringify({summary:{added:f.added.length,removed:f.removed.length,changed:f.changed.length,unchanged:f.unchanged},diff:f},null,2))}else{process.stdout.write(p(f))}const h=f.added.length||f.removed.length||f.changed.length;return h?1:0}async function cmdSecure(t){const s=l.resolve(t._[1]||".");const i=t.flags.launch?"launch":t.flags.deploy?"deploy":null;const r=(0,B.LD)({scanRoot:s,intent:i});process.stdout.write((0,B.WE)(r));if(t.flags.json)process.stdout.write(JSON.stringify(r,null,2)+"\n");if(t.flags.run&&/^agentic-security /.test(r.command)){process.stderr.write(`\n[secure] running: ${r.command}\n`);const t=r.command.replace(/^agentic-security /,"").split(" ");process.argv=[process.argv[0],process.argv[1],...t];return main()}return 0}async function cmdTickets(t){const s=t._[1];const r=l.resolve(t.flags.root||".");if(s==="sync"){const s=t.flags.provider;if(!s){console.error("--provider github|linear|jira required");return 4}const i=await(0,M.F)({scanRoot:r,provider:s,severity:t.flags.severity||"high",repo:t.flags.repo,teamId:t.flags["team-id"],dryRun:!!t.flags["dry-run"]});if(!i.ok){console.error(i.error);return 4}console.log(`✓ tickets sync (${s}${t.flags["dry-run"]?", dry-run":""})`);console.log(` created: ${i.created.length} closed: ${i.closed.length} failed: ${i.failed.length} tracked: ${i.totalTracked}`);for(const t of i.created.slice(0,10))console.log(` + ${t.externalId||"(dry-run)"} ${t.id}`);for(const t of i.closed.slice(0,10))console.log(` ↩ ${t.externalId||"(dry-run)"} ${t.id}`);for(const t of i.failed.slice(0,10))console.log(` ✗ ${t.id} ${t.error}`);return i.failed.length?1:0}if(s==="list"){const{readState:t}=await Promise.resolve().then(i.bind(i,18189));const s=t(r);const a=Object.entries(s);if(!a.length){console.log("No tracked tickets.");return 0}for(const[t,s]of a){console.log(` ${s.state.padEnd(7)} ${s.provider.padEnd(7)} ${s.externalUrl||s.externalId} ${t}`)}return 0}console.error("Usage: agentic-security tickets sync --provider <github|linear|jira> [--repo OWNER/REPO] [--team-id ID] [--severity high|critical] [--dry-run]");return 4}async function cmdRule(t){const s=t._[1];if(s==="test"){const s=t._[2];if(!s){console.error("Usage: agentic-security rule test <fixture-glob>");return 4}const i=l.resolve(t.flags.root||".");const r=await(0,R.rt)(i,s);return r.ok?0:4}if(s==="list"){const s=l.resolve(t.flags.root||".");const i=(0,R.Lh)(s);if(!i.length){console.log(`No custom rules in ${l.join(s,".agentic-security/rules/")}.`);return 0}for(const t of i)console.log(` ${t.id} [${t.severity}] ${t.title}`);return 0}console.error("Usage: agentic-security rule test <glob> | rule list");return 4}async function cmdValidatorCache(t){const s=t._[1]||"help";const r=l.resolve(t._[2]||".");const u=(0,H.statePath)(r,"llm-cache");if(!a.existsSync(u)){console.log(`No validator cache at ${u}`);return 0}if(s==="list"||s==="stats"){const t=await o.readdir(u);let s=0,i=0;for(const r of t){if(!r.endsWith(".json"))continue;try{const t=await o.stat(l.join(u,r));s++;i+=t.size}catch{}}console.log(`validator cache: ${s} entries, ${(i/1024).toFixed(1)} KB at ${u}`);return 0}if(s==="gc"||s==="prune"){const s=parseInt(t.flags["older-than"]||"30",10);const r=!!t.flags["dry-run"];const a=Date.now()-s*24*60*60*1e3;const{PROMPT_VERSION:p}=await Promise.resolve().then(i.bind(i,27865));if(!p){console.error("agentic-security: validator module did not export PROMPT_VERSION — refusing to GC (would prune everything).");return 4}const f=p;const h=await o.readdir(u);let m=0,g=0,x=0;for(const t of h){if(!t.endsWith(".json"))continue;const s=l.join(u,t);let i,p;try{i=await o.stat(s)}catch{continue}try{p=JSON.parse(await o.readFile(s,"utf8"))}catch{p=null}const h=i.mtimeMs<a;const k=p&&f&&p.prompt_version&&p.prompt_version!==f;if(h||k){if(!r){try{await o.unlink(s)}catch{}}m++;x+=i.size}else{g++}}console.log(`${r?"[dry-run] would remove":"removed"} ${m} entries (${(x/1024).toFixed(1)} KB), kept ${g}.`);return 0}console.error("Usage: agentic-security validator-cache <stats|gc> [path] [--older-than <days>] [--dry-run]");return 4}async function cmdModels(t){const s=t._[1]||"status";const{ollamaEndpointConfig:r,listOllamaModels:a,DEFAULT_OLLAMA_HOST:o}=await Promise.resolve().then(i.bind(i,23837));const{classifyModelFamily:l,capabilitiesFromFamilyHint:u,detectSystemMemory:p,detectMemoryTier:f,recommendAdmission:h,MEMORY_PROFILES:m}=await i.e(4399).then(i.bind(i,54399));const{getModelCapabilities:g}=await i.e(7039).then(i.bind(i,27039));const{resolveProvider:x}=await Promise.resolve().then(i.bind(i,38947));const k=!!t.flags.probe;const _=!!t.flags.force;const T={};if(t.flags.host)T.AGENTIC_SECURITY_OLLAMA_HOST=String(t.flags.host);if(t.flags["allow-remote-ollama"])T.AGENTIC_SECURITY_OLLAMA_ALLOW_REMOTE="1";const C={...process.env,...T};if(s==="list"||s==="status"||s==="doctor"){const i=r(C);if(!i.ok){console.log(`✗ ${i.reason}`);console.log("\nThe deterministic scanner will still run.\nNo cloud provider will be used automatically.");return t.flags.json?(writeStdout(JSON.stringify({ok:false,code:i.code,reason:i.reason},null,2)+"\n"),0):1}const o=await a({host:i.config.host});if(!o.ok){console.log(`✗ Ollama server is not reachable at ${i.config.host}`);console.log(` (${o.code}: ${o.reason})`);console.log("\nThe deterministic scanner will still run.\nNo cloud provider will be used automatically.");if(t.flags.json)writeStdout(JSON.stringify({ok:false,code:o.code,reason:o.reason},null,2)+"\n");return 1}if(s==="list"){if(t.flags.json){writeStdout(JSON.stringify({ok:true,host:i.config.host,models:o.models},null,2)+"\n");return 0}console.log(`Installed models (${i.config.host}):`);if(o.models.length===0)console.log(" (none installed)");for(const t of o.models){const s=l(t.name);const i=u(t.name);const r=Number.isFinite(t.sizeBytes)?(t.sizeBytes/1024**3).toFixed(1)+"GB":"?";console.log(` ${t.name.padEnd(24)} family=${s.padEnd(14)} size=${r.padEnd(8)} tools=${i.tools===true?"yes":i.tools===false?"no":"not-detected"}`)}return 0}const m=p();const T=f(m.totalBytes);const A=x({role:"validate",env:C});const I=A.ok?A.config.model:null;const P=(m.totalBytes/1024**3).toFixed(1);const $=(m.freeBytes/1024**3).toFixed(1);const O=[];O.push(s==="doctor"?"agentic-security local AI doctor":"agentic-security models status");O.push("");O.push("✓ Ollama server reachable");O.push(i.config.offline?"✓ Endpoint is loopback-only":`↗ Endpoint is REMOTE (${i.config.host}) — offline guarantee does not apply`);O.push(`✓ ${o.models.length} model(s) installed`);O.push("");O.push(`System RAM: ${P} GB (free: ${$} GB)`);O.push(`Memory tier: ${T}`);if(I){const t=o.models.some(t=>t.name===I);O.push(`Default model: ${I} ${t?"":"(NOT currently installed)"}`);const s=T==="8gb"?"8gb":l(I)==="gemma4"?"16gb-gemma":"16gb-qwen";const r=h({profile:s,freeBytes:m.freeBytes,requestedModel:I});if(r.admitted){O.push(` ✓ memory admission passed — context ${r.contextTokens} tokens`+(r.fellBackToSmallerModel?` (fell back to ${r.model})`:r.reducedContext?" (context reduced)":""))}else{O.push(` ✗ memory admission FAILED — ${r.reason}`)}if(r.priorOOMWarning)O.push(` ⚠ ${r.priorOOMWarning}`);const a=await g({host:i.config.host,model:I,probe:k,force:_});const u=a.capabilities;const p=u.source?.runtimeProbe?a.cached?"runtime-probed, cached":"runtime-probed":u.source?.metadata?"Ollama metadata":"family hint — not runtime-probed";O.push(` chat=${u.chat?"yes":"no"} structuredJson=${u.structuredJson} tools=${u.tools} (${p})`);if(k)O.push(a.cached?" ✓ capability probe cached (pass --force to re-probe)":" ✓ capability probe ran (now cached)");else O.push(" ↗ run with --probe to runtime-verify structured output / tool calling (consumes inference time)")}else{O.push("Default model: (none resolved)")}O.push("");O.push("Cloud fallback: disabled");O.push("Deterministic scanner: enabled");if(t.flags.json){writeStdout(JSON.stringify({ok:true,host:i.config.host,offline:i.config.offline,egress:i.config.egress,installedModels:o.models.map(t=>t.name),systemRamGb:Number(P),freeRamGb:Number($),memoryTier:T,defaultModel:I,cloudFallback:false},null,2)+"\n")}else{console.log(O.join("\n"))}return 0}if(s==="inspect"){const s=t._[2];if(!s){console.error("Usage: agentic-security models inspect <model>");return 4}const i=r(C);if(!i.ok){console.log(`✗ ${i.reason}`);return 1}const o=await a({host:i.config.host});if(!o.ok){console.log(`✗ Ollama server is not reachable at ${i.config.host} (${o.code})`);return 1}const u=o.models.find(t=>t.name===s);const p=l(s);const f=await g({host:i.config.host,model:s,probe:k,force:_});const h=f.capabilities;const m={name:s,installed:!!u,family:p,capabilities:h,cached:f.cached,metadata:u||null};if(t.flags.json){writeStdout(JSON.stringify(m,null,2)+"\n");return 0}const x=h.source?.runtimeProbe?f.cached?"runtime-probed, cached":"runtime-probed":h.source?.metadata?"Ollama metadata":"hint only";console.log(`${s}`);console.log(` installed: ${m.installed?"yes":"no"}`);console.log(` family (hint): ${p}`);console.log(` capabilities (${x}): chat=${h.chat} structuredJson=${h.structuredJson} tools=${h.tools} thinking=${h.thinking}`);if(!k)console.log(" (run with --probe to runtime-verify structured output / tool calling)");if(u){console.log(` size: ${u.sizeBytes?(u.sizeBytes/1024**3).toFixed(1)+"GB":"?"}`);console.log(` parameters: ${u.parameterSize||"?"} quantization: ${u.quantization||"?"}`)}return 0}if(s==="test"){const s=t._[2];if(!s){console.error("Usage: agentic-security models test <model>");return 4}const i=r(C);if(!i.ok){console.log(`✗ ${i.reason}`);return 1}const o=await a({host:i.config.host});if(!o.ok){console.log(`✗ Ollama server is not reachable at ${i.config.host} (${o.code})`);return 1}if(!o.models.some(t=>t.name===s)){console.log(`✗ Model '${s}' is not installed. Run \`ollama pull ${s}\` first.`);return 1}const l=await g({host:i.config.host,model:s,probe:true,force:!!t.flags.force});const u=l.capabilities;if(t.flags.json){writeStdout(JSON.stringify({ok:true,name:s,capabilities:u,cached:l.cached},null,2)+"\n");return 0}console.log(`agentic-security models test ${s}${t.flags.force?" --force":""}`);console.log("");console.log(` chat: ${u.chat?"✓ yes":"✗ no"}`);console.log(` structured JSON: ${u.structuredJson===true?"✓ yes":u.structuredJson===false?"✗ no":"? unknown (probe inconclusive)"}`);console.log(` tool calling: ${u.tools===true?"✓ yes":u.tools===false?"✗ no":"? unknown (probe inconclusive)"}`);if(u.contextTokens)console.log(` context window: ${u.contextTokens} tokens`);console.log(` ${l.cached?"✓ capability probe cached (already ran before — pass --force to re-probe)":"✓ capability probe ran (now cached)"}`);return 0}if(s==="pull"){const s=t._[2]||"<model>";console.log(`Model '${s}' is not installed, or you asked to pull it.\n\n`+"agentic-security never downloads model weights on your behalf — that keeps "+'"offline mode" honest (no surprise egress the moment you run a scan).\n\n'+"Install it yourself, before disconnecting:\n"+` ollama pull ${s==="<model>"?"<model>":s}`);return 1}console.error("Usage: agentic-security models <list|status|doctor|inspect <model>|test <model>|pull <model>> [--host <url>] [--json] [--probe] [--force]");console.error(`Default Ollama host: ${o}`);return 4}async function cmdAsk(t){const s=t._[1];if(!s){console.error('Usage: agentic-security ask "<question>" [target] [--max-iterations N] [--timeout-ms N]');return 4}const r=l.resolve(t._[2]&&!t._[2].startsWith("--")?t._[2]:".");const{runAgentLoop:a,AGENT_LOOP_ERROR:o,DEFAULT_MAX_TOOL_ITERATIONS:u}=await Promise.all([i.e(7039),i.e(5756)]).then(i.bind(i,95756));const p={};if(t.flags.host)p.AGENTIC_SECURITY_OLLAMA_HOST=String(t.flags.host);if(t.flags["allow-remote-ollama"])p.AGENTIC_SECURITY_OLLAMA_ALLOW_REMOTE="1";if(t.flags["timeout-ms"])p.AGENTIC_SECURITY_LLM_AGENT_TIMEOUT_MS=String(t.flags["timeout-ms"]);const f={...process.env,...p};const h=t.flags["max-iterations"]?parseInt(t.flags["max-iterations"],10):u;const m=await a({goal:s,scanRoot:r,env:f,maxToolIterations:h});if(m.priorOOMWarning)console.log(`⚠ ${m.priorOOMWarning}`);if(!m.ok){if(m.code===o.NOT_CONFIGURED){console.log("No local model configured for tool use — set AGENTIC_SECURITY_LLM_PRESET=ollama (see `agentic-security models doctor`).")}else if(m.code===o.TOOLS_UNSUPPORTED){console.log(`✗ ${m.reason}`)}else{console.log(`✗ ${m.code}: ${m.reason}`)}return 1}if(t.flags.json){writeStdout(JSON.stringify(m,null,2)+"\n");return m.stopReason==="complete"?0:1}for(const t of m.toolCalls){console.log(` → ${t.name}(${JSON.stringify(t.args)}) ${t.ok?"ok":`failed: ${t.code}`}`)}console.log("");if(m.stopReason==="complete"){console.log(m.finalText||"(no answer)");return 0}if(m.stopReason==="policy-violation"){console.log("✗ Stopped: the model requested a tool it was never offered.");return 1}if(m.stopReason==="max-iterations"){console.log(`✗ Stopped after the ${u}-iteration bound without a final answer. Try narrowing the question.`);return 1}console.log("✗ Stopped: wall-clock timeout reached without a final answer. Try --timeout-ms <N> for a slow/cold-loading model (raising AGENTIC_SECURITY_LLM_TIMEOUT_MS alone does not extend this budget).");return 1}async function cmdVerify(t){const s=l.resolve(t.flags.root||".");const r=(0,H.statePath)(s,"last-scan.json");if(!a.existsSync(r)){console.error(`No prior scan found at ${r}. Run \`agentic-security scan\` first.`);return 4}const u=JSON.parse(await o.readFile(r,"utf8"));const p=u.findings||[];let f=t.flags.target||process.env.AGENTIC_SECURITY_VERIFY_TARGET||null;const h=!!t.flags.live||process.env.AGENTIC_SECURITY_VERIFY_LIVE==="1";if(h&&!f){const{loadTargetManifest:t,describeTarget:r,validateTarget:a}=await i.e(1301).then(i.bind(i,81301));const o=t(s);if(o.ok){const t=a(o.target);if(!t.ok){console.error(`Verifier target manifest rejected: ${t.reason}`);return 4}f=o.target.url;console.error(`Verifier target: ${r(o.target)}`);console.error(`(Read from .agentic-security/verifier-target.yaml; bring it up yourself before re-running --live.)`)}else{console.error("--live requires --target <url>, AGENTIC_SECURITY_VERIFY_TARGET, or a .agentic-security/verifier-target.yaml manifest.");console.error(` Manifest check: ${o.reason}`);return 4}}if(h){process.env.AGENTIC_SECURITY_VERIFY_LIVE="1";process.env.AGENTIC_SECURITY_VERIFY_TARGET=f}const{annotateVerifierVerdicts:m,verifierCoverageSummary:g,recordVerifierRun:x,verifierVerificationRecords:k}=await Promise.resolve().then(i.bind(i,60135));const _=t.flags.finding?p.filter(s=>s.id===t.flags.finding||s.stableId===t.flags.finding):p;if(!_.length){console.error(`No matching findings (use --finding <id>).`);return 4}const T={};const C=new Set;for(const t of _){const s=t.file||t.sink?.file;if(s)C.add(s)}for(const t of C){try{const i=l.resolve(s,t);const r=a.statSync(i);if(r.size<=5e5)T[t]=a.readFileSync(i,"utf8")}catch{}}m(_,{target:f,fileContents:T});const A=g(_);console.log(`Verified ${_.length} finding(s):`);for(const[t,s]of Object.entries(A))console.log(` ${t}: ${s}`);const{headCommit:I}=await Promise.resolve().then(i.bind(i,85578));x(s,{findingCount:_.length,live:h,target:f||null,summary:A,verificationRecords:k(_,{commit:I(s)})});if(t.flags.verbose||t.flags.finding){for(const t of _){console.log(` ${t.file}:${t.line} ${t.vuln}`);console.log(` → ${t.verifier_verdict||"none"} (${t.verifier_reason||"no-reason"})${t.verifier_runner?" ["+t.verifier_runner+"]":""}`)}}u.findings=p;await o.writeFile(r,JSON.stringify(u,null,2));return 0}async function cmdReset(t){const s=l.resolve(t.flags.root||".");const r=(0,H.Pn)(s);if(!a.existsSync(r)){console.log(`No state to reset at ${r}`);return 0}const u=new Set((0,V.DV)().map(t=>t.name));const p=new Set((t.flags.keep||"").split(",").filter(Boolean));let f;if(t.flags.expired){const{findExpiredArtifacts:t}=await i.e(6730).then(i.bind(i,96730));f=t(s).filter(t=>!p.has(t.name)).map(t=>({name:t.name,dir:t.isDir,ageDays:t.ageDays,ttlDays:t.ttlDays,retentionClass:t.retentionClass}))}else{f=[];for(const t of await o.readdir(r,{withFileTypes:true})){if(p.has(t.name))continue;if(u.has(t.name)){f.push({name:t.name,dir:t.isDirectory()})}}}const{loadLegalHolds:h,isUnderHold:m}=await i.e(5144).then(i.bind(i,45144));const g=h(s);const x=[];f=f.filter(t=>{const s=m(t.name,g);if(!s)return true;x.push({name:t.name,dir:!!t.dir,reason:`active legal hold (owner: ${s.owner}, reason: ${s.reason})`});return false});if(!f.length){console.log(t.flags.expired?`Nothing expired under ${r}.`:`Nothing to reset under ${r}.`);if(x.length){console.log(`Preserving ${x.length} artifact(s) under active legal hold: ${x.map(t=>t.name).sort().join(", ")}`)}return 0}console.log(`agentic-security reset${t.flags.expired?" --expired":""} — will remove from ${r}:`);for(const s of f){const i=t.flags.expired?` (${s.retentionClass}, ${s.ageDays.toFixed(1)}d old, ttl ${s.ttlDays}d)`:"";console.log(` ${s.name}${s.dir?"/":""}${i}`)}console.log("");const k=new Set(f.map(t=>t.name));const _=new Set(x.map(t=>t.name));const T=x.map(t=>t.name+(t.dir?"/":""));const C=x.map(t=>({name:t.name,reason:t.reason}));for(const s of await o.readdir(r,{withFileTypes:true})){if(p.has(s.name)||k.has(s.name)||_.has(s.name))continue;if(!t.flags.expired&&u.has(s.name))continue;T.push(s.name+(s.isDirectory()?"/":""));C.push({name:s.name,reason:t.flags.expired&&u.has(s.name)?"generated artifact still within its retention TTL":"operator-authored configuration"})}if(T.length){console.log(t.flags.expired?`Preserving operator-authored config and generated artifacts still within their TTL: ${T.sort().join(", ")}`:`Preserving operator-authored config: ${T.sort().join(", ")}`)}const{buildDeletionReport:A,writeDeletionReport:I}=await i.e(7552).then(i.bind(i,67552));const P=t.flags.expired?"reset --expired":"reset";if(!t.flags.yes){console.log("");console.log("Pass --yes to proceed (or --keep <name,name> to spare specific items).");I(s,A({mode:P,dryRun:true,root:s,items:f.map(t=>({name:t.name,dir:!!t.dir,status:"planned",retentionClass:t.retentionClass||null,ageDays:t.ageDays??null,ttlDays:t.ttlDays??null})),preserved:C}));return 0}const $=[];for(const t of f){const s=l.join(r,t.name);const i={name:t.name,dir:!!t.dir,retentionClass:t.retentionClass||null,ageDays:t.ageDays??null,ttlDays:t.ttlDays??null};try{if(t.dir)await o.rm(s,{recursive:true,force:true});else await o.rm(s,{force:true});$.push({...i,status:"deleted"})}catch(t){console.error(`reset: failed to remove ${s}: ${t.message}`);$.push({...i,status:"failed",error:t.message})}}const O=$.filter(t=>t.status==="failed").length;console.log(`Reset ${$.length-O} item(s)${O?`, ${O} failed`:""}. Operator-authored config preserved.`);const D=I(s,A({mode:P,dryRun:false,root:s,items:$,preserved:C}));if(D)console.log(`Deletion report: ${l.relative(s,D)}`);return O?1:0}async function cmdExport(t){const s=l.resolve(t.flags.root||".");const r=(0,H.Pn)(s);if(!a.existsSync(r)){console.log(`No state to export at ${r}`);return 0}if(!t.flags.out){console.error("export: --out <dir> is required.");return 2}const u=l.resolve(t.flags.out);await o.mkdir(u,{recursive:true});const{ARTIFACT_REGISTRY:p}=await Promise.resolve().then(i.bind(i,70471));const{buildExportReport:f,writeExportReport:h}=await i.e(7552).then(i.bind(i,67552));const{createHash:m}=await Promise.resolve().then(i.t.bind(i,77598,19));const g=new Set((await o.readdir(r,{withFileTypes:true})).map(t=>t.name));const x=[];for(const t of p){if(!g.has(t.name))continue;const s=l.join(r,t.name);const i=l.join(u,t.name);try{await o.mkdir(l.dirname(i),{recursive:true});if(t.kind==="dir"){await o.cp(s,i,{recursive:true});x.push({name:t.name,classification:t.classification,retentionClass:t.retentionClass||null,status:"exported",sha256:null})}else{await o.copyFile(s,i);const r=m("sha256").update(a.readFileSync(s)).digest("hex");x.push({name:t.name,classification:t.classification,retentionClass:t.retentionClass||null,status:"exported",sha256:r})}}catch(s){x.push({name:t.name,classification:t.classification,retentionClass:t.retentionClass||null,status:"failed",error:s.message})}}const k=f({root:s,outDir:u,items:x});const _=l.join(u,"export-manifest.json");await o.writeFile(_,JSON.stringify(k,null,2)+"\n");h(s,k);const T=x.filter(t=>t.status==="failed").length;console.log(`Exported ${x.length-T} artifact(s) to ${u}${T?`, ${T} failed`:""}.`);console.log(`Manifest: ${_}`);return T?1:0}async function cmdLegalHold(t){const s=l.resolve(t.flags.root||".");const r=t._[1];const{addLegalHold:a,removeLegalHold:o,listLegalHolds:u}=await i.e(5144).then(i.bind(i,45144));if(r==="add"){const i=a(s,{artifact:t.flags.artifact,owner:t.flags.owner,reason:t.flags.reason,expires_at:t.flags.expires});if(!i.ok){console.error(`legal-hold add: ${i.reason}`);return 2}console.log(`Legal hold placed on "${i.hold.artifact}" (owner: ${i.hold.owner}${i.hold.expires_at?`, expires ${i.hold.expires_at}`:", indefinite"}).`);return 0}if(r==="remove"){if(!t.flags.artifact){console.error("legal-hold remove: --artifact <name> is required.");return 2}const i=o(s,t.flags.artifact);console.log(i?`Removed ${i} hold(s) on "${t.flags.artifact}".`:`No hold found on "${t.flags.artifact}".`);return 0}if(r==="list"||!r){const i=u(s,{includeExpired:!!t.flags.all});if(!i.length){console.log(t.flags.all?"No legal holds recorded (ever).":"No active legal holds.");return 0}for(const t of i){console.log(` ${t.artifact} owner=${t.owner} reason="${t.reason}" expires=${t.expires_at||"never"} created=${t.created_at}`)}return 0}console.error(`legal-hold: unknown subcommand "${r}" (expected add|remove|list).`);return 2}async function cmdCalibrationFeedback(t){const s=l.resolve(t.flags.root||".");const r=t._[1];const{recordCalibrationFeedback:a,OUTCOMES:o}=await i.e(3001).then(i.bind(i,53001));if(r==="record"){const i=a(s,{findingId:t.flags["finding-id"],outcome:t.flags.outcome,note:t.flags.note});if(!i.ok){console.error(`calibration-feedback record: ${i.reason}`);return 2}console.log(`Recorded "${i.record.outcome}" for finding ${t.flags["finding-id"]}.`);return 0}console.error(`calibration-feedback: unknown subcommand "${r}" (expected record --finding-id <id> --outcome ${o.join("|")} [--note <text>]).`);return 2}async function cmdCalibrationReport(t){const s=l.resolve(t.flags.root||".");const{buildCalibrationReport:r,renderCalibrationReportSummary:a}=await i.e(3001).then(i.bind(i,53001));const o=r(s);if(t.flags.format==="json"){writeStdout(JSON.stringify(o,null,2)+"\n");return 0}const u=a(o);console.log(u||"No calibration feedback recorded yet — this is opt-in; see `calibration-feedback record --help`.");return 0}const te=/\.(?:js|jsx|mjs|cjs|ts|tsx|py|java|cs|kt|go|php|rb|l?hs|nix)$/i;const ne=["node_modules/**",".git/**","dist/**","build/**","vendor/**","**/.agentic-security/**","dist-newstyle/**",".stack-work/**",".direnv/**"];const se=2e3;async function cmdHunt(t){const s=l.resolve(t.flags.root||t._[1]||".");const{listFiles:r}=await Promise.resolve().then(i.bind(i,30397));const{buildProjectIR:o}=await Promise.resolve().then(i.bind(i,28149));const{runDiscovery:u}=await Promise.all([i.e(9579),i.e(550)]).then(i.bind(i,99579));const{LENSES:p}=await i.e(3499).then(i.bind(i,33499));const f=(await r(s,{ignore:ne})).filter(t=>te.test(t));if(f.length>se){console.error(`agentic-security: ${f.length} source files exceeds the ${se}-file hunt cap.`);console.error("Narrow the scope with --root <subdir>. Discovery is token-expensive and");console.error("unbounded fan-out on a large repository is the wrong default.");return 2}const h={};for(const t of f){try{h[t]=a.readFileSync(l.join(s,t),"utf8")}catch{}}const{perFile:m,callGraph:g}=o(h);let x=null,k=null;try{x=JSON.parse(a.readFileSync((0,H.statePath)(s,"last-scan.json"),"utf8"))}catch{}try{k=JSON.parse(a.readFileSync((0,H.statePath)(s,"triage-feedback.json"),"utf8"))}catch{}const _=t.flags.lens?String(t.flags.lens).split(",").map(t=>t.trim()).filter(Boolean):undefined;const intFlag=s=>t.flags[s]?parseInt(t.flags[s],10):undefined;const numFlag=s=>t.flags[s]?Number(t.flags[s]):undefined;const T=await u({perFileIR:m,callGraph:g,fileContents:h,priorScan:x,triageFeedback:k},{lenses:_,maxAreas:intFlag("max-areas"),maxLlmCalls:intFlag("max-llm-calls"),maxWallMs:intFlag("max-wall-ms"),maxCandidates:intFlag("max-candidates"),maxCostUsd:numFlag("max-cost-usd"),scanRoot:t.flags["no-memory"]?undefined:s,endpoints:t.flags.endpoints,costPerCallUsd:numFlag("cost-per-call-usd")});const C=T.coverage;console.log("");console.log(`Discovery — ${f.length} file(s), ${C.areasPlanned} focus area(s), ${C.lensesPerArea} lens(es) each`);console.log(` areas hunted: ${C.areasHunted}/${C.areasPlanned} (fully: ${C.areasFullyHunted}) degraded runs: ${C.degradedRuns}/${T.runs.length}`);console.log(` budget: ${C.llmCalls}/${C.maxLlmCalls} LLM calls${C.budgetExhausted?" ← EXHAUSTED, run is incomplete":""}`+`${C.candidatesCapped?` ${C.candidatesCapped} candidate(s) capped`:""}`+`${C.callsPerFinding!==null&&C.callsPerFinding!==undefined?` ${C.callsPerFinding} calls/finding`:""}`);if(C.priorRuns!==null&&C.priorRuns!==undefined){console.log(` memory: ${C.priorRuns} prior run(s)`+`${C.rememberedRefutals?`, ${C.rememberedRefutals} candidate(s) skipped as already refuted`:""}`);if(C.nextWave?.summary)console.log(` next wave: ${C.nextWave.summary}`)}console.log(` confirmation: ${JSON.stringify(C.confirmedByTier)} panels: ${C.panelsRun} (undecided ${C.undecidedPanels})`);console.log("");if(T.fresh.length===0){console.log("No new candidates survived confirmation and refutation.")}else{console.log(`${T.fresh.length} new candidate finding(s):`);for(const t of T.fresh){console.log(` [${t.severity}] ${t.file}:${t.line} ${t.vuln}`);console.log(` lens=${t.discovery.lens} confirmation=${t.discovery.confirmation?.tier||"unknown"}`)}}if(T.duplicates.length||T.suppressed.length||T.refutedCandidates.length){console.log("");console.log(` (${T.duplicates.length} already known, ${T.suppressed.length} previously marked false positive, `+`${T.refutedCandidates.length} refuted by the panel)`)}if(T.fresh.length&&!t.flags["no-variants"]){try{const{sweepRootCauses:t,formatSweepLedger:s}=await Promise.resolve().then(i.bind(i,13846));const r=t(T.fresh,h,{confirmedOnly:false});const a=s(r);if(a){console.log("");console.log("Variant sweep (siblings of the findings above):");console.log(` ${a}`)}}catch{}}if(C.reasons.length){console.log("");console.log("Coverage gaps:");for(const t of C.reasons)console.log(` · ${t}`)}if(T.runs.length&&C.degradedRuns===T.runs.length){console.log("");console.log("EVERY hunter run degraded — this result says nothing about the code.");console.log("Set AGENTIC_SECURITY_LLM_ENDPOINT to enable discovery.")}console.log("");console.log(`Lenses available: ${p.map(t=>t.key).join(", ")} (--lens a,b to narrow)`);return 0}function _lineageStalenessNoteLines(t,s,i,r){if(t)return null;const a=r.charAt(0).toUpperCase()+r.slice(1);if(!s.ok){if(s.reason==="missing"){return["NOTE: no lineage graph found (AGENTIC_SECURITY_LINEAGE_DEEP=1 was not set on",`the scan that produced last-scan.json) — ${r} reads "unknown", by design.`]}return[`NOTE: lineage graph could not be loaded (${s.reason}: ${s.message})`,`— ${r} reads "unknown", by design.`]}if(i.scanHealth?.lineageAnalysis?.failure){return["NOTE: a lineage graph exists on disk, but this scan's own lineage build",`failed (${i.scanHealth.lineageAnalysis.failure}) — ignoring the stale graph`,"rather than asserting a fact about code it may no longer reflect.",`${a} reads "unknown", by design.`]}return["NOTE: a lineage graph exists on disk from an earlier deep scan, but this scan","did not run one (AGENTIC_SECURITY_LINEAGE_DEEP=1 was not set) — ignoring the","stale graph rather than asserting a fact about code it may no longer reflect.",`${a} reads "unknown", by design.`]}async function cmdCompliance(t){const s=l.resolve(t.flags.root||".");const r=String(t.flags.format||"cli");const{assessPrivacyFramework:o,PRIVACY_FRAMEWORK_ID:u,BUCKETS:p}=await Promise.resolve().then(i.bind(i,30784));const{listFrameworks:f,loadFramework:h,evaluateFramework:m,renderWalkthrough:g}=await Promise.resolve().then(i.bind(i,63870));if(t.flags.list){const t=f(s);if(r==="json"){writeStdout(JSON.stringify(t,null,2)+"\n");return 0}for(const s of t)console.log(` ${s.id.padEnd(20)} ${s.name} [${s.source}]`);return 0}let x;try{x=JSON.parse(a.readFileSync((0,H.statePath)(s,"last-scan.json"),"utf8"))}catch{console.error("No .agentic-security/last-scan.json — run `agentic-security scan .` first.");console.error("Refusing to assess an unscanned project: every control would report as");console.error("unassessed, which is correct but useless, and one flag away from looking clean.");return 2}x.filesScanned=x._scanMeta?.filesScanned??x.scanned?.files??0;const k=t.flags.walkthrough||t.flags.report;if(k&&k!==true){const o=h(s,String(k));if(!o){console.error(`Unknown framework "${k}". Try --list.`);return 2}const{loadFreshLineageGraph:l}=await i.e(8218).then(i.bind(i,78218));const{graph:u,fresh:p,loaded:f}=l(s,x);const _=m(s,o,{...x,lineageGraph:u});if(t.flags.truth===true&&(r==="oscal"||r==="json")){const{assessFrameworkTruth:t}=await i.e(1898).then(i.bind(i,51898));let l={};try{l=JSON.parse(a.readFileSync((0,H.statePath)(s,"compliance-applicability.json"),"utf8"))?.[o.id]||{}}catch{}const u=t(o,_,{scanStatus:x.scanHealth?.status,scanExaminedFiles:x.filesScanned>0,notApplicable:l});if(r==="json"){writeStdout(JSON.stringify(u,null,2)+"\n");return 0}const{toOSCALCompliance:p,complianceRowsFromTruth:f}=await Promise.resolve().then(i.bind(i,42883));writeStdout(JSON.stringify(p(o,f(u),{startedAt:x.startedAt||x._scanMeta?.startedAt}),null,2)+"\n");return 0}if(r==="oscal"){const{toOSCALCompliance:t,complianceRowsFromEvaluation:s}=await Promise.resolve().then(i.bind(i,42883));writeStdout(JSON.stringify(t(o,s(_),{startedAt:x.startedAt||x._scanMeta?.startedAt}),null,2)+"\n");return 0}if(r==="json"){writeStdout(JSON.stringify(_,null,2)+"\n");return 0}console.log(g(o,_,{}));const T=_lineageStalenessNoteLines(p,f,x,"every graph: mapping in this walkthrough");if(T){console.log("");for(const t of T)console.log(t)}return 0}const _=o(s,x);if(!_){console.error(`Framework ${u} could not be loaded.`);return 2}const T=!!t.flags.gap;if(r==="oscal"){const{toOSCALCompliance:r,complianceRowsFromPrivacy:a}=await Promise.resolve().then(i.bind(i,42883));const o=h(s,u)||{id:u,name:_.frameworkName};writeStdout(JSON.stringify(r(o,a(_),{startedAt:x.startedAt||x._scanMeta?.startedAt}),null,2)+"\n");return t.flags["fail-on"]==="gap"&&_.summary.gap>0?1:0}if(r==="json"){writeStdout(JSON.stringify(T?{..._,controls:_.controls.filter(t=>t.bucket==="gap")}:_,null,2)+"\n")}else if(r==="md"){console.log(a.readFileSync((0,H.statePath)(s,"privacy-framework.md"),"utf8"))}else{console.log(`\n${_.frameworkName}\n`);console.log(` ${_.interpretation}\n`);for(const t of p){const s=_.controls.filter(s=>s.bucket===t);if(!s.length||T&&t!=="gap")continue;console.log(` ${t} (${s.length})`);for(const t of s){console.log(` ${t.id.padEnd(11)} ${t.summary.slice(0,84)}`);const s=_.findings.find(s=>s.id===`privacy-framework:${t.id}`);if(s)console.log(` → ${s.remediation}`)}console.log("")}console.log(' A control that is "manual" or "engine-gap" is NOT evidence of compliance.');console.log(" This organizes scanner evidence; a licensed assessor owns the attestation.\n")}if(t.flags["fail-on"]==="gap"&&_.summary.gap>0)return 1;return 0}async function cmdAttest(t){const s=l.resolve(t.flags.root||".");if(t.flags.provenance){const{buildProvenanceEvidenceBundle:r,signProvenanceEvidenceBundle:o,ensureKeyPair:u}=await i.e(2271).then(i.bind(i,22271));let p;try{p=JSON.parse(a.readFileSync((0,H.statePath)(s,"last-scan.json"),"utf8"))}catch{console.error("No .agentic-security/last-scan.json — run a scan first.");return 2}const f=p.findings||[];const h=t.flags.provenance===true?undefined:t.flags.provenance;const m=(h?f.filter(t=>t.id===h||t.stableId===h):f).filter(t=>t.findingProvenance);if(!m.length){console.error(h?`No finding matching "${h}" with findingProvenance.`:"No findings with findingProvenance to attest.");return 2}const g=u();if(g.created)console.error(`Generated a new signing key at ${g.privateKey} (public: ${g.publicKey}).`);const x=(0,H.statePath)(s,"attestations");a.mkdirSync(x,{recursive:true});const k={engineVersion:p.engineVersion||null,repoIdentity:null,head:p.commit||null};let _=0;for(const t of m){const s=o(r(t,k),g.privateKeyPem);const i=`provenance-${t.stableId||t.id||`finding-${_}`}.json`.replace(/[^\w.-]/g,"_");a.writeFileSync(l.join(x,i),JSON.stringify(s,null,2)+"\n");_++}console.log(`Signed ${_} provenance evidence bundle(s) → ${l.relative(s,x)}/`);console.log(`Public key (share this with whoever verifies): ${g.publicKey}`);console.log("");console.log("A bundle proves its contents are unmodified since signing. It does NOT");console.log("prove the origin commit is correctly identified — read confidence.level.");return 0}if(t.flags.obligations){const r=t.flags.obligations===true?null:t.flags.obligations;if(!r){const{listFrameworks:t}=await Promise.resolve().then(i.bind(i,63870));console.error("Usage: agentic-security attest --obligations <framework-id>");console.error(`Bundled frameworks: ${t(s).map(t=>t.id).join(", ")}`);return 2}const{loadFramework:o,evaluateFramework:u}=await Promise.resolve().then(i.bind(i,63870));const{buildObligationEvidencePack:p,signObligationEvidencePack:f,ensureKeyPair:h}=await i.e(6829).then(i.bind(i,6829));const{loadFreshLineageGraph:m}=await i.e(8218).then(i.bind(i,78218));let g;try{g=JSON.parse(a.readFileSync((0,H.statePath)(s,"last-scan.json"),"utf8"))}catch{console.error("No .agentic-security/last-scan.json — run a scan first.");return 2}const x=o(s,r);if(!x){console.error(`Unknown framework: ${r}`);return 2}const{graph:k,fresh:_,loaded:T}=m(s,g);const C=u(s,x,{...g,lineageGraph:k});const A=p({graph:k,framework:x,evaluation:C,scanHealth:g.scanHealth??null,engineVersion:g.attestation?.engineVersion||null,rulesetVersion:g.attestation?.rulesetVersion||null,bundleSha:g.attestation?.bundleSha||null});const I=h();if(I.created)console.error(`Generated a new signing key at ${I.privateKey} (public: ${I.publicKey}).`);const P=(0,H.statePath)(s,"attestations");a.mkdirSync(P,{recursive:true});const $=f(A,I.privateKeyPem);const O=`evidence-pack-${r}.json`.replace(/[^\w.-]/g,"_");a.writeFileSync(l.join(P,O),JSON.stringify($,null,2)+"\n");console.log(`Signed evidence pack for ${r} → ${l.relative(s,l.join(P,O))}`);console.log(`Public key (share this with whoever verifies): ${I.publicKey}`);console.log("");const D=A.facts.filter(t=>t.state==="gap_detected").length;console.log(` facts: ${A.facts.length} ${D>0?"⚠️ gaps: "+D+" ":""}unknown: ${A.unknownItems.length} manual: ${A.manualItems.length} accepted exceptions: ${A.acceptedExceptions.length}`);console.log("");console.log("A pack proves its contents are unmodified since signing. It does NOT");console.log("certify compliance — read the pack's own `disclaimer` field.");const N=_lineageStalenessNoteLines(_,T,g,"every graph: fact in this pack");if(N){console.log("");for(const t of N)console.log(t)}return 0}const{ensureKeyPair:r,buildEvidenceBundle:o,signEvidenceBundle:u}=await Promise.resolve().then(i.bind(i,98317));let p;try{p=JSON.parse(a.readFileSync((0,H.statePath)(s,"last-scan.json"),"utf8"))}catch{console.error("No .agentic-security/last-scan.json — run a scan first.");return 2}const f=p.findings||[];const h=t.flags.id;const m=h?f.filter(t=>t.id===h||t.stableId===h):f;if(!m.length){console.error(h?`No finding matching "${h}".`:"No findings to attest.");return 2}const g=r();if(g.created)console.error(`Generated a new signing key at ${g.privateKey} (public: ${g.publicKey}).`);const x=(0,H.statePath)(s,"attestations");a.mkdirSync(x,{recursive:true});const k={engineVersion:p.engineVersion||null,rulesetVersion:p.rulesetVersion||null,bundleSha:p.bundleSha||null,commit:p.commit||null};let _=0;for(const t of m){const s=u(o(t,k),g.privateKeyPem);const i=`${t.stableId||t.id||`finding-${_}`}.json`.replace(/[^\w.-]/g,"_");a.writeFileSync(l.join(x,i),JSON.stringify(s,null,2)+"\n");_++}console.log(`Signed ${_} evidence bundle(s) → ${l.relative(s,x)}/`);console.log(`Public key (share this with whoever verifies): ${g.publicKey}`);console.log("");console.log("A bundle proves its contents are unmodified since signing. It does NOT");console.log("prove the finding is real — read evidence.proofTier for that.");return 0}function _asRunAttestation(t){if(t&&typeof t.digest==="string"&&t.canonicalisation)return t;if(t&&t.attestation&&typeof t.attestation.digest==="string")return t.attestation;return null}async function cmdVerifyRunAttestation(t,s){const r=l.resolve(s.flags.against||".");if(!a.existsSync(r)){console.error(`--against path does not exist: ${r}`);return 2}console.log(`Re-scanning ${r} to check it reproduces the attested digest...`);const{runScan:o}=await Promise.resolve().then(i.bind(i,45950));const{normalizeFindings:u}=await Promise.resolve().then(i.bind(i,75917));const{effectiveVersion:p}=await Promise.resolve().then(i.bind(i,6998));const{verifyRunAttestation:f}=await i.e(9207).then(i.bind(i,9207));const{scan:h}=await o(r,{onProgress:scanProgressReporter()});clearScanProgressLine();const m=f(t,{findings:u(h),engineVersion:J,rulesetVersion:p(r).version,bundleSha:_bundleSha(),root:r});if(!m.ok){console.error(`✗ INVALID — ${m.reason}`);return 1}console.log("✓ VALID — a fresh scan of this project reproduces the attested digest exactly.");console.log("");console.log(` digest: ${t.digest}`);console.log(` findingCount: ${t.findingCount}`);console.log(` proves: ${t.proves}`);console.log(` does NOT prove: ${t.doesNotProve}`);return 0}async function cmdReleaseView(t){const s=t._[1];if(!s){console.error("Usage: agentic-security release-view <release-package.json> [--view developer|ciso|auditor|all] [--format text|json|html] [--previous <older-package.json>] [--public-key <path>]");return 2}let r;let o=null;try{r=JSON.parse(a.readFileSync(l.resolve(s),"utf8"))}catch(t){console.error(`Could not read the package: ${t.message}`);return 2}if(t.flags.previous){try{o=JSON.parse(a.readFileSync(l.resolve(String(t.flags.previous)),"utf8"))}catch(t){console.error(`Could not read the previous package: ${t.message}`);return 2}}let u=null;if(t.flags["public-key"]){let s;try{s=a.readFileSync(l.resolve(String(t.flags["public-key"])),"utf8")}catch{console.error(`Could not read public key at ${t.flags["public-key"]}.`);return 2}const{verifyReleasePackage:o}=await i.e(3917).then(i.bind(i,93917));u=o(r,s)}const{buildViews:p,renderText:f,renderHtml:h}=await i.e(6579).then(i.bind(i,56579));const m=p(r,{previous:o,verification:u});const g=String(t.flags.format||"text");const x=String(t.flags.view||"all");if(!["text","json","html"].includes(g)||!["developer","ciso","auditor","all"].includes(x)){console.error("Unknown --format or --view.");return 2}if(g==="json")writeStdout(JSON.stringify(x==="all"?{developer:m.developer,ciso:m.ciso,auditor:m.auditor}:m[x],null,2)+"\n");else if(g==="html")writeStdout(h(m));else writeStdout(f(m,x));return u&&!u.ok?1:0}async function cmdVerifyAttestation(t){const{verifyEvidenceBundle:s,keyPaths:r}=await Promise.resolve().then(i.bind(i,98317));const o=t.flags.bundle||t._[1];if(!o){console.error("Usage: agentic-security verify-attestation <bundle.json|last-scan.json> [--public-key <path>] [--against <project-path>]");return 2}let u;try{const t=a.readFileSync(l.resolve(o),"utf8");const{maybeDecryptForRead:s}=await Promise.resolve().then(i.bind(i,39984));u=JSON.parse(s(t))}catch(t){console.error(`Could not read bundle: ${t.message}`);return 2}const p=_asRunAttestation(u);if(p)return cmdVerifyRunAttestation(p,t);const f=t.flags["public-key"]||r().publicKey;let m=null;try{m=a.readFileSync(l.resolve(f),"utf8")}catch{console.error(`Could not read public key at ${f}. Pass --public-key <path>.`);return 2}if(u["@type"]==="ComplianceEvidence"){const{verifyComplianceEvidence:t}=await Promise.resolve().then(i.bind(i,28148));const s=t(u,m);if(!s.ok){console.error(`✗ INVALID — ${s.reason}`);return 1}console.log("✓ VALID — the compliance evidence manifest is exactly what the signer produced.");console.log("");console.log(` framework: ${u.framework} version: ${u.version}`);console.log(` generated: ${u.generatedAt}`);if(u.evidenceDigest)console.log(` evidence digest: ${u.evidenceDigest}`);console.log(` compliant: ${u.summary?.compliant??"n/a"} non-compliant: ${u.summary?.nonCompliant??"n/a"} stale: ${u.summary?.stale??0} gap: ${u.summary?.gap??0}`);return 0}const{verifyArtifactEvidenceBundle:g,ARTIFACT_BUNDLE_SCHEMA:x}=await i.e(8825).then(i.bind(i,58825));if(u.schema===x){const t=g(u,m);if(!t.ok){console.error(`✗ INVALID — ${t.reason}`);return 1}console.log("✓ VALID — the image evidence bundle is exactly what the signer produced.");console.log(` image: ${u.artifact.digest} ${u.artifact.os}/${u.artifact.architecture}`);console.log(` vulnerabilities listed: ${u.scan.vulnerabilities.length} of ${u.scan.truncated.vulnerabilitiesTotal}; recoverable secrets: ${u.scan.truncated.secretsTotal}; image signature: ${u.signature.state}`);console.log(` ${u.doesNotProve}`);return 0}const{verifyProvenanceEvidenceBundle:k,PROVENANCE_BUNDLE_SCHEMA:_}=await i.e(2271).then(i.bind(i,22271));if(u.schema===_){const t=k(u,m);if(!t.ok){console.error(`✗ INVALID — ${t.reason}`);return 1}const s=u.provenance||{};console.log("✓ VALID — the provenance record is exactly what the signer attested.");console.log("");console.log(` finding: ${u.finding?.stableId||u.finding?.id||"?"}`);console.log(` status: ${s.status||"n/a"} method: ${s.method||"n/a"}`);if(s.findingOrigin)console.log(` origin: ${s.findingOrigin.commit||"?"} by ${(0,h.dk)(s.findingOrigin.authorName)||"?"} on ${s.findingOrigin.authorDate||"?"}`);console.log(` confidence: ${s.confidence?.level||"n/a"} (${s.confidence?.score??"n/a"})`);if((s.limitations||[]).length)console.log(` limitations: ${s.limitations.join("; ")}`);console.log("");console.log(` proves: ${u.proves}`);console.log(` does NOT prove: ${u.doesNotProve}`);return 0}const{verifyObligationEvidencePack:T,OBLIGATION_EVIDENCE_PACK_SCHEMA:C}=await i.e(6829).then(i.bind(i,6829));if(u.schema===C){const t=T(u,m);if(!t.ok){console.error(`✗ INVALID — ${t.reason}`);return 1}console.log("✓ VALID — the evidence pack is exactly what the signer produced.");console.log("");console.log(` framework: ${u.framework?.id} version: ${u.framework?.version}`);const s=(u.facts??[]).filter(t=>t?.state==="gap_detected").length;console.log(` facts: ${u.facts?.length??0} ${s>0?"⚠️ gaps: "+s+" ":""}unknown: ${u.unknownItems?.length??0} manual: ${u.manualItems?.length??0} accepted exceptions: ${u.acceptedExceptions?.length??0}`);if(u.graphDigest)console.log(` graph digest: ${u.graphDigest}`);console.log("");console.log(` ${u.disclaimer}`);return 0}const A=s(u,m);if(!A.ok){console.error(`✗ INVALID — ${A.reason}`);return 1}const I=u.finding||{};console.log("✓ VALID — the bundle is exactly what the signer attested.");console.log("");console.log(` ${I.severity?`[${I.severity}] `:""}${I.vuln||"(no title)"} ${I.file||"?"}:${I.line??"?"}`);console.log(` cwe ${I.cwe||"n/a"} parser ${I.parser||"n/a"} proof tier ${u.evidence?.proofTier||"n/a"}`);console.log("");console.log(` proves: ${u.proves}`);console.log(` does NOT prove: ${u.doesNotProve}`);console.log(` trust basis: ${A.trustBasis}${A.issuer?` (issuer ${A.issuer.id})`:""}`);console.log(` ${A.trustNote}`);return 0}async function cmdPolicyExplain(t){const s=l.resolve(t.flags.root||".");const{loadPolicyBundles:r,loadPolicyPublicKey:o,resolveEffectivePolicy:u}=await i.e(3736).then(i.bind(i,23736));const p=r(s);if(!p.length){console.log("No policy bundles found under .agentic-security/policy-bundles/ (organization.json, repository.json, environment.json).");return 0}let f=null;const h=t.flags["public-key"];if(h){try{f=a.readFileSync(l.resolve(h),"utf8")}catch(t){console.error(`Could not read public key at ${h}: ${t.message}`);return 2}}else{f=o(s)}const{effective:m,provenance:g,accepted:x,rejected:k}=u(p,f);console.log(`Accepted (${x.length}): ${x.join(", ")||"none"}`);if(k.length){console.log(`Rejected (${k.length}):`);for(const t of k)console.log(` ✗ ${t.scope}: ${t.reason}`)}console.log("");console.log("Effective policy:");const _=Object.keys(m).sort();if(!_.length){console.log(" (empty — no accepted bundle contributed any key)")}else{for(const t of _)console.log(` ${t} = ${JSON.stringify(m[t])} [from: ${g[t]}]`)}return 0}async function cmdPolicySign(t){const s=l.resolve(t.flags.root||".");const{ensurePolicyKeyPair:r,buildPolicyBundle:o,signPolicyBundle:u}=await i.e(3736).then(i.bind(i,23736));const p=t.flags.scope;if(!["organization","repository","environment"].includes(p)){console.error("Usage: agentic-security policy-sign --scope <organization|repository|environment> --policy <json-file> [--expires <ISO-date>] [--out <path>]");return 2}const f=t.flags.policy;if(!f){console.error("--policy <json-file> is required (the policy object to sign).");return 2}let h;try{h=JSON.parse(a.readFileSync(l.resolve(f),"utf8"))}catch(t){console.error(`Could not read --policy file: ${t.message}`);return 2}const m=r();if(m.created)console.error(`Generated a new policy-signing key at ${m.privateKey} (public: ${m.publicKey}). Distribute the PUBLIC key to every repository that must trust bundles you sign.`);const g=o(p,h,{expiresAt:t.flags.expires||null});if(!g){console.error("Could not build a bundle — check --scope and that --policy is a JSON object.");return 2}const x=u(g,m.privateKeyPem);const k=t.flags.out||`${p}.json`;a.writeFileSync(l.resolve(k),JSON.stringify(x,null,2)+"\n");console.log(`✓ signed ${p} policy bundle written to ${k}`);console.log(` public key for verification: ${m.publicKey}`);return 0}async function cmdRuleSynth(t){const s=l.resolve(t.flags.root||".");const{synthesizeRules:r}=await i.e(8476).then(i.bind(i,78476));const a=r(s,{threshold:t.flags.threshold,dryRun:!!t.flags["dry-run"]});if(!a.length){console.log("No proposals — either no triage feedback, or no shape clustered above threshold.");return 0}console.log(`Synthesised ${a.length} proposal(s) in .agentic-security/rules-proposed/:`);for(const t of a){console.log(` ${t.file} (${t.count} FPs, family=${t.family||t.rule}, glob=${t.dirGlob})`)}console.log("");console.log("Review each YAML before moving it to .agentic-security/rules/ to make it active.");return 0}async function cmdPacks(t){const s=t._[1]||"list";if(s!=="list"){console.error("Usage: agentic-security packs list");return 4}const i=(0,O.Xj)();const r=Math.max(...i.map(t=>t.name.length));console.log("Available rule packs (use --pack <name>):\n");for(const t of i){console.log(` ${t.name.padEnd(r)} ${t.description} [${t.cweCount} CWEs]`)}return 0}async function cmdDigest(t){const s=l.resolve(t._[1]||".");const i=(0,I.iH)(s);const r=(0,H.statePath)(s,"findings.json");if(!a.existsSync(r)){console.error("No prior scan found.");return 4}const u=JSON.parse(await o.readFile(r,"utf8"));const p=(u.findings||[]).filter(t=>t.severity==="critical"||t.severity==="high");const f={critical:0,high:0,medium:0,low:0,info:0};for(const t of u.findings||[])f[t.severity||"medium"]++;const h=t.flags.project||l.basename(s);if(t.flags.slack){const s=(0,U.Fi)(p,f,{project:h});const i=await(0,U.WW)(t.flags.slack,s);console.log(i.ok?`✓ Slack digest sent`:`✗ Slack failed: ${i.reason||i.status}`);return i.ok?0:4}if(t.flags.discord){const s=(0,U.bh)(p,f,{project:h});const i=await(0,U.WW)(t.flags.discord,s);console.log(i.ok?`✓ Discord digest sent`:`✗ Discord failed: ${i.reason||i.status}`);return i.ok?0:4}console.error("digest --slack <url> OR digest --discord <url>");return 4}async function cmdFix(t){const s=t.flags.finding;const r=!!t.flags.preview;const u=!!t.flags.apply;const p=l.resolve(t.flags.root||".");if(!s){console.error("--finding <id> required");return 4}const f=(0,H.statePath)(p,"last-scan.json");if(!a.existsSync(f)){console.error("No prior scan found. Run `agentic-security scan` first.");return 4}const h=await o.readFile(f,"utf8");const m=_verifyLastScan(h,f+".sig");if(m===false){console.error("Warning: last-scan.json integrity check failed — file may have been modified outside the scanner. Re-run `agentic-security scan` to refresh.")}const g=JSON.parse(h);const x=(g.findings||[]).find(t=>t.id===s)||(g.secrets||[]).find(t=>t.id===s);if(!x){console.error(`Finding ${s} not found in last scan.`);return 4}if(!r&&!u){writeStdout(JSON.stringify(x,null,2)+"\n");if(x.fix?.code){console.log("\n--- suggested patch ---\n");console.log(x.fix.code)}console.log("\nUse --preview to see a diff, or --apply to apply directly.");return 0}{const{languageOfFinding:s,languageFixPreview:r,loadLanguageProject:a,isLanguageDependencyFinding:o,languageUpgradePreview:l}=await Promise.resolve().then(i.bind(i,52603));if(o(x)){if(u&&m!==true){console.error(`Refusing to apply: last-scan.json integrity check ${m===false?"failed (tampered)":"could not verify (unsigned)"} — re-run \`agentic-security scan\` to refresh.`);return 4}const s=a(p);const i=await l(x,{...s.files,...s.manifests},{apply:u,root:p,toRef:t.flags.to||null});if(!i.ok){console.error(`No dependency fix for this finding (${i.status}${i.tier?`, ${i.tier}`:""}): ${i.reason||"unsupported"}`);return 4}console.log(`${i.label} (${i.tier}): ${i.explanation}`);console.log(i.diff);for(const t of i.consequences||[])console.log(` note: ${t}`);console.log(u?"\nApplied. This is a source edit only: re-resolve or re-lock, then rescan. Revert with `agentic-security undo`.":"\nRun with --apply to write this change. Use `agentic-security undo` to revert.");return 0}if(s(x)){if(u&&m!==true){console.error(`Refusing to apply: last-scan.json integrity check ${m===false?"failed (tampered)":"could not verify (unsigned)"} — re-run \`agentic-security scan\` to refresh.`);return 4}const t=a(p);const s=await r(x,t.files,{apply:u,root:p});if(!s.ok){console.error(`No verified fix for this finding (${s.status}${s.tier?`, ${s.tier}`:""}): ${s.reason||"unsupported"}`);return 4}console.log(`${s.label||"FIX"}${s.tier?` (${s.tier})`:""}: ${s.explanation||""}`.trim());console.log(s.diff);for(const t of s.consequences||[])console.log(` note: ${t}`);if(u){console.log(`\nApplied. Verified: ${Object.entries(s.gates||{}).map(([t,s])=>`${t}=${s&&s.ok===false?"FAILED":s&&s.ran===false?"not-run":"ok"}`).join(" ")}. Revert with \`agentic-security undo\`.`)}else console.log("\nVerified (syntax, rescan: the finding is gone and nothing new appears). Run with --apply to write this change. Use `agentic-security undo` to revert.");return 0}}let k;try{k=(0,F.ey)(p,x.file,"finding.file")}catch(t){console.error(`path-escape refused: ${t.message}`);return 4}if(!a.existsSync(k)){console.error(`File not found: ${k}`);return 4}const _=await o.readFile(k,"utf8");let T=null;if(typeof x.fix?.replacement==="string")T=x.fix.replacement;else if(typeof x.fix?.replaceLine==="string"&&x.line){const t=_.split("\n");if(t[x.line-1]!==undefined){t[x.line-1]=x.fix.replaceLine;T=t.join("\n")}}let C=null;if(T===null){const{proposeOllamaFix:t,FIX_PROPOSAL_ERROR:s}=await i.e(6257).then(i.bind(i,66257));const r=await t({finding:{file:x.file,line:x.line,vuln:x.vuln,cwe:x.cwe,severity:x.severity},fileContent:_,scanRoot:p});if(r.ok){T=r.replacement;C={model:r.model,rationale:r.rationale,expectedSecurityEffect:r.expectedSecurityEffect}}else if(r.code!==s.NOT_CONFIGURED){console.error(`Ollama fix proposal unavailable (${r.code}): ${r.reason}`)}}if(T===null){console.error("No mechanical fix is available for this finding. Use the security-fixer subagent (default `fix` mode), or configure AGENTIC_SECURITY_LLM_PRESET=ollama for an AI-assisted proposal, then apply with `--apply`.");return 4}if(C){console.log(`AI-assisted proposal (model: ${C.model}) — not yet mechanically verified:`);if(C.rationale)console.log(` rationale: ${C.rationale}`);if(C.expectedSecurityEffect)console.log(` expected effect: ${C.expectedSecurityEffect}`);console.log("")}if(r){console.log((0,L.VH)(_,T,x.file));console.log("\nRun with --apply to write this change. Use `agentic-security undo` to revert.");return 0}if(m!==true){console.error(`Refusing to apply: last-scan.json integrity check ${m===false?"failed (tampered)":"could not verify (unsigned)"} — re-run \`agentic-security scan\` to refresh.`);return 4}const A=t.flags["approved-by"]||null;const I=t.flags["approval-reason"]||null;const P=t.flags["author"]||null;const $=A||I||P?{approval:{approvedBy:A||"",reason:I||""},...P?{author:P}:{}}:null;if(t.flags["require-proof"]){const{resolveReproducer:s}=await i.e(2066).then(i.bind(i,92066));const{findSiblings:r}=await Promise.all([i.e(7838),i.e(5099)]).then(i.bind(i,25099));const{verifyFixWithProof:a,formatFixProof:o}=await i.e(818).then(i.bind(i,818));const{verifyFix:l}=await Promise.resolve().then(i.bind(i,27838));const u=s(p,x,t.flags.reproducer);if(!u.reproducer){console.error(`--require-proof: no reproducer for ${x.id}, and none could be generated: ${u.reason}. Refusing to apply; nothing was executed. Supply --reproducer <file>.`);return 4}if(u.generated)console.error(`--require-proof: using a reproducer generated from the finding (${u.generated.shape}, ${u.generated.class}); it counts only if executing it confirms the exploit.`);const f={[x.file]:T};const h=await l({scanRoot:p,originalFindingStableId:x.stableId||null,files:f,recordMetrics:false});const m=r({root:p,finding:x,scanFindings:g.findings||[]});const k=m.siblings.map(t=>({id:t.id??null,file:t.file,line:t.line,source:t.source}));if(m.truncated.length)console.error(`--require-proof: the sibling search stopped early (${m.truncated.join(", ")}); absence of siblings is not shown.`);const _=await a({finding:x,reproducer:u.reproducer,files:f,scanRoot:p,staticVerification:h,siblings:k,siblingSearchTruncated:m.truncated});console.log(o(_));try{(await i.e(932).then(i.bind(i,58551))).saveRecord(p,x.stableId||x.id,"fix",_)}catch{}if(!_.verified){console.error("\nRefusing to apply: the fix is not proof-verified (--require-proof).");return 4}}let O=await(0,F.On)({scanRoot:p,finding:{file:x.file,id:x.id,stableId:x.stableId||null,ruleId:x.cwe||x.title,vuln:x.vuln||x.title},files:{[x.file]:T},fixMeta:$});if(!O.ok&&C&&!O.budgetExceeded){console.log(`AI-assisted proposal was rejected (${O.reason}) — asking for one revised attempt...`);const{proposeOllamaFix:t}=await i.e(6257).then(i.bind(i,66257));const s=await t({finding:{file:x.file,line:x.line,vuln:x.vuln,cwe:x.cwe,severity:x.severity},fileContent:_,scanRoot:p,rejectionFeedback:O.reason});if(s.ok){const t=await(0,F.On)({scanRoot:p,finding:{file:x.file,id:x.id,stableId:x.stableId||null,ruleId:x.cwe||x.title,vuln:x.vuln||x.title},files:{[x.file]:s.replacement},fixMeta:$});O=t;if(t.ok){console.log(` revised proposal accepted (rationale: ${s.rationale||"n/a"})`)}}}if(!O.ok){console.error(`Refusing to apply: ${O.reason}`);if(O.budgetExceeded)console.error(` (${O.attempts}/${O.maxAttempts} attempts already made for this finding)`);return 4}const D=O.written[0];console.log(`✓ applied fix ${D.historyId} (file: ${D.file})`);console.log(` backup: ${D.backupPath}`);if(O.verifiedFull){console.log(" verified: yes — fully verified (rescan clean, no new medium+ finding, lint, tests)")}else{const t=(O.verify?.degradedLegs||[]).join("; ")||"a required leg";console.log(` verified: yes, but NOT fully verified — rescan clean, no new medium+ finding; ${t}`)}console.log(` revert with: agentic-security undo`);return 0}async function cmdUndo(t){const s=l.resolve(t.flags.root||".");if(t.flags.list){const t=(0,L.Pq)(s);if(!t.length){console.log("No fix history.");return 0}for(const s of t){const t=s.reverted?"↩ reverted":"✓ applied ";console.log(` ${t} ${s.id} ${s.file} (${s.vuln||s.findingId})`)}return 0}if(t.flags.compact){const i=parseInt(t.flags["retain-days"]||"90",10);const r=await(0,L.WM)(s,{retainDays:i,pruneBackups:!!t.flags["prune-backups"]});console.log(`Compacted: archived ${r.archived} entries, retained ${r.kept} in active log.`);return 0}if(t.flags.all){const t=await(0,L.wC)(s);if(!t.length){console.log("Nothing to revert.");return 0}for(const s of t)console.log(`↩ reverted ${s.id} ${s.file}`);console.log(`Reverted ${t.length} fix(es).`);return 0}const i=await(0,L.xH)(s);if(!i){console.log("Nothing to revert.");return 0}if(i.error){console.error(i.error);return 4}console.log(`↩ reverted ${i.id} ${i.file}`);console.log(` finding: ${i.vuln||i.findingId}`);return 0}async function cmdSetupLlmOllama(t){const{ollamaEndpointConfig:s,listOllamaModels:r,DEFAULT_OLLAMA_HOST:a}=await Promise.resolve().then(i.bind(i,23837));const{detectSystemMemory:o,detectMemoryTier:l,recommendAdmission:u,classifyModelFamily:p}=await i.e(4399).then(i.bind(i,54399));const f={};if(t.flags.host)f.AGENTIC_SECURITY_OLLAMA_HOST=String(t.flags.host);const h={...process.env,...f};const m=s(h);console.log("Local LLM provider: Ollama");if(!m.ok){console.log(`✗ ${m.reason}`);return 1}console.log(`Server: ${m.config.host}`);const g=await r({host:m.config.host});if(!g.ok){console.log(`✗ Ollama server is not reachable at ${m.config.host} (${g.code}: ${g.reason})`);console.log("\nInstall Ollama and pull a model first — see docs/guides/ollama.md.");console.log("The deterministic scanner will still run. No cloud provider will be used automatically.");return 1}console.log("Status: reachable");console.log("");if(g.models.length===0){console.log("No models installed. Pull one first, e.g.:");console.log(" ollama pull qwen3.5:4b");return 1}console.log("Installed models:");for(const t of g.models){const s=Number.isFinite(t.sizeBytes)?(t.sizeBytes/1024**3).toFixed(1)+"GB":"?";console.log(` ${t.name.padEnd(24)} ${s}`)}console.log("");let x=t.flags.model?String(t.flags.model):null;if(x&&!g.models.some(t=>t.name===x)){console.log(`↗ '${x}' is not currently installed — pull it first with \`ollama pull ${x}\`. Continuing with this choice anyway.`)}if(!x){const t=o();const s=l(t.totalBytes);const i=new Set(g.models.map(t=>t.name));const r=s==="8gb"?"qwen3.5:4b":g.models.some(t=>p(t.name)==="gemma4")?null:"qwen3.5:9b";x=r&&i.has(r)?r:g.models[0].name;console.log(`Choose default model: ${x} (auto-selected for your ${s==="unknown"?"detected":s} memory tier — pass --model to choose a different installed model)`)}else{console.log(`Choose default model: ${x}`)}console.log("");const k=o();const _=l(k.totalBytes);const T=_==="8gb"?"8gb":p(x)==="gemma4"?"16gb-gemma":"16gb-qwen";const C=u({profile:T,freeBytes:k.freeBytes,requestedModel:x});console.log("Offline LLM mode:");console.log(" ✓ Only loopback model requests are allowed");console.log(" ✓ No cloud fallback");console.log(" ✓ Missing local model falls back to deterministic-only scanning");if(!C.admitted){console.log(` ↗ Memory admission check: ${C.reason}`)}if(C.priorOOMWarning)console.log(` ⚠ ${C.priorOOMWarning}`);console.log("");console.log("To use this configuration, export:");console.log(" export AGENTIC_SECURITY_LLM_PRESET=ollama");console.log(` export AGENTIC_SECURITY_LLM_MODEL=${x}`);if(m.config.host!==a)console.log(` export AGENTIC_SECURITY_OLLAMA_HOST=${m.config.host}`);console.log("");console.log("Then verify with: agentic-security models doctor");return 0}async function cmdSetup(t){if(t.flags.llm){const s=String(t.flags.llm).toLowerCase();if(s==="ollama")return cmdSetupLlmOllama(t);console.error(`agentic-security setup --llm: unsupported provider "${s}" (only "ollama" runs a discovery/config flow here — other providers (anthropic/openai/gemini/local) configure via their AGENTIC_SECURITY_LLM_* env vars directly, no setup step needed).`);return 4}const s=l.resolve(t._[1]||".");const i=l.join(s,".claude","commands");await o.mkdir(i,{recursive:true});const r=l.resolve(process.argv[1]);const a={"security-scan-all.md":`---\ndescription: Run a full security scan (SAST + SCA + Secrets) on this project or a given path.\nargument-hint: "[path]"\n---\n\`\`\`bash\nnode ${r} scan \${1:-.}; ec=$?; [ $ec -le 3 ] && exit 0 || exit $ec\n\`\`\`\nOutput is a grouped summary: severity counts, finding types by frequency, top affected files.\nUse \`--format cli\` for the full per-finding list. Findings are always saved to \`.agentic-security/last-scan.json\`.\nIf you see critical findings, run \`/fix-all --severity critical\` to remediate.\n`,"security-fix.md":`---\ndescription: Apply a remediation patch for a single finding from the last scan.\nargument-hint: "<finding-id>"\n---\n\`\`\`bash\nnode ${r} fix --finding \${1}\n\`\`\`\nHand the finding to the security-fixer subagent: read the file, apply the fix template adapted to the surrounding code, and run the project's test command. Do not declare done until the finding no longer reproduces on re-scan.\n`,"fix-all.md":`---\ndescription: Remediate every finding at or above a severity threshold (default: critical).\nargument-hint: "[--severity critical|high|medium]"\n---\n\nRead \`.agentic-security/last-scan.json\`. For every finding at or above \`\${1:-critical}\` severity, dispatch the security-fixer subagent — independent findings in parallel, serializing only findings that share a file. Each fix is inline-verified by apply_fix before it lands (finding gone + no new ≥medium + lint). Do NOT halt on the first failure: record each finding's outcome and continue, then report the full list and the auto-fix acceptance rate. Re-run \`/security-scan-all\` to confirm.\n`,"security-report.md":`---\ndescription: Generate an HTML security report (or JSON / Markdown / SARIF).\nargument-hint: "[--format html|json|md|sarif] [--output <file>]"\n---\n\`\`\`bash\nnode ${r} scan . --format \${1:-html} --output \${2:-security-report.html}\n\`\`\`\nDefault produces \`security-report.html\` — a self-contained interactive page with severity charts and filterable findings. Open with \`open security-report.html\`.\n`,"security-sca.md":`---\ndescription: Run a dependency vulnerability scan (SCA only) against this project.\nargument-hint: "[path]"\n---\n\`\`\`bash\nnode ${r} scan \${1:-.} --only sca --format cli\n\`\`\`\n`,"security-secrets.md":`---\ndescription: Scan for leaked credentials and hardcoded secrets.\nargument-hint: "[path]"\n---\n\`\`\`bash\nnode ${r} scan \${1:-.} --only secrets --format cli\n\`\`\`\n`,"security-triage.md":`---\ndescription: Validate scan findings for false positives and suppress confirmed FPs before reporting.\nargument-hint: "[--severity critical|high|all]"\n---\n\nRead \`.agentic-security/last-scan.json\` and validate each finding at or above \`\${1:-critical}\` severity for false positives.\n\nFor each finding:\n1. Read the file at the reported path and extract ±20 lines around the flagged line\n2. Evaluate whether it is a **true positive** using these criteria:\n - **True positive**: user-controlled input demonstrably reaches the sink without validation — flag it\n - **False positive**: the value is validated against an allowlist / switch / explicit enum before the sink, the sink is a safe API overload (e.g. \`execFile\` with an array, parameterized query), the finding is in a test fixture or mock, or the "source" is an internal constant rather than external input\n3. For each confirmed false positive, add a suppression entry to \`.agentic-security/rules.yml\`:\n\n\`\`\`yaml\nsuppressions:\n - rule: "<vuln name from finding>"\n files: ["<file path>"]\n reason: "<one sentence: why this is a FP>"\n\`\`\`\n\nIf \`.agentic-security/rules.yml\` does not exist, create it with the suppressions block.\n\nAfter processing all findings, print a summary table:\n\n| File:Line | Vulnerability | Verdict | Reason |\n|---|---|---|---|\n| ... | ... | TP / FP | ... |\n\nThen re-run the scan so suppressions take effect:\n\n\`\`\`bash\nnode ${r} scan .; ec=$?; [ $ec -le 3 ] && exit 0 || exit $ec\n\`\`\`\n\nDo not suppress anything you are not certain is a false positive. When in doubt, mark it TP and leave remediation to \`/security-fix\`.\n`};for(const[t,s]of Object.entries(a)){await o.writeFile(l.join(i,t),s)}const u=Object.keys(a).map(t=>"/"+t.replace(".md","")).join(", ");console.log(`✓ Installed ${Object.keys(a).length} command shortcuts in ${i}`);console.log(` ${u}`);console.log("");console.log("These work in this project only. Re-run in other projects as needed.");return 0}async function cmdBoundaries(t){const s=t.flags;const r="Usage: agentic-security boundaries --from <dir> [--findings <last-scan.json>] [--environment <name>] [--repository <name>] [--revision <sha>] [--root <project>] [--out <file>] [--json] [--now <iso>]";if(typeof s.from!=="string"||!s.from){console.error(r);return 2}for(const t of["findings","environment","repository","revision","out","now","root"]){if(s[t]!==undefined&&(typeof s[t]!=="string"||!s[t])){console.error(`agentic-security boundaries: --${t} needs a value\n${r}`);return 2}}const o=l.resolve(s.root||".");const{resolveAssuranceConfig:u}=await Promise.resolve().then(i.bind(i,90385));const{runBoundaries:p,renderBoundariesText:f}=await i.e(1340).then(i.bind(i,1340));const h=u({scanRoot:o});const m=p({config:h,from:l.resolve(s.from),environment:s.environment||"prod",repository:s.repository||null,revision:s.revision||null,findingsFile:s.findings?l.resolve(s.findings):null,verifySignature:_verifyLastScan,now:s.now});if(m.status==="disabled"||m.status==="blocked"||m.status==="unsupported"){console.error(`agentic-security boundaries: not run (${m.status}): ${m.reason}`);if(m.status==="disabled")console.error("The deployment-boundaries feature is off by default. Enable it for one run with AGENTIC_SECURITY_ASSURANCE_DEPLOYMENT_BOUNDARIES=1.");return 3}if(m.status!=="ok"){console.error(`agentic-security boundaries: ${m.reason}`);return 1}const g=m.report;const x=s.json?`${JSON.stringify(g,null,2)}\n`:f(g);if(s.out){const t=l.resolve(s.out);try{let s=null;try{s=a.lstatSync(t)}catch{}if(s&&!s.isFile())throw new Error("the output path is a symbolic link or not a regular file");a.writeFileSync(t,x,{mode:420})}catch(s){console.error(`agentic-security boundaries: cannot write ${t}: ${s.message}`);return 1}console.log(`agentic-security boundaries: wrote ${t}`)}else writeStdout(x);return 0}async function cmdExplore(t){if(t.flags.runtime)return cmdRuntimeExplorer(t,t._[1]||".");const s=t._[1]||".";const r=l.resolve(s);const{loadSignedGraph:a}=await i.e(8218).then(i.bind(i,78218));const o=a(r);if(!o.ok){process.stderr.write(`agentic-security explore: ${o.message}\n`);return 1}let u=0;if(t.flags.port!==undefined){if(typeof t.flags.port!=="string"||!/^\d+$/.test(t.flags.port)){process.stderr.write(`agentic-security explore: invalid --port value "${t.flags.port}" — must be a non-negative integer.\n`);return 1}u=Number(t.flags.port);if(u>65535){process.stderr.write(`agentic-security explore: invalid --port value "${t.flags.port}" — must be <= 65535.\n`);return 1}}const p=!!t.flags["keep-open"];const{createExploreServer:f}=await i.e(5051).then(i.bind(i,55051));const{generateSessionToken:h}=await i.e(6944).then(i.bind(i,86944));const m=h();let g;try{g=await f({graph:o.graph,port:u,sessionToken:m,keepOpen:p})}catch(t){process.stderr.write(`agentic-security explore: failed to start server: ${t&&t.message?t.message:t}\n`);return 1}const{server:x,port:k}=g;process.stdout.write(`agentic-security explore: serving ${r}\n`);process.stdout.write(` URL: http://127.0.0.1:${k}/#token=${m}\n`);process.stdout.write(" Open this URL in a browser — the page authenticates itself automatically.\n");if(p){process.stdout.write(" --keep-open set: no idle-timeout auto-stop. Ctrl-C to stop.\n")}else{process.stdout.write(" Server auto-stops after a period of inactivity, or Ctrl-C to stop now.\n")}return new Promise(t=>{x.on("close",()=>t(0))})}const ie=new Set(["png","pdf","svg","json","csv","html","dpia","ropa","briefing","recipients","coverage"]);const re=new Set(["architecture","privacy","trace","inventory"]);const ae={standard:{width:1680,height:945},"2x":{width:3360,height:1890}};async function cmdDataflowExport(t){const s=t._[2]||".";const r=l.resolve(s);const u=t.flags.format;if(!u||!ie.has(u)){process.stderr.write(`agentic-security dataflow export: --format must be one of ${[...ie].join("|")} (got ${JSON.stringify(u)}).\n`);return 2}const p=t.flags.output;if(!p||typeof p!=="string"){process.stderr.write("agentic-security dataflow export: --output <file> is required.\n");return 2}const f=t.flags.view!==undefined;const h=t.flags.view||"architecture";if(!re.has(h)){process.stderr.write(`agentic-security dataflow export: --view must be one of ${[...re].join("|")} (got ${JSON.stringify(h)}).\n`);return 2}if(u==="svg"&&h!=="architecture"){process.stderr.write("agentic-security dataflow export: --format svg only supports --view architecture — only the Architecture View renders a real <svg> element.\n");return 2}if(f&&(u==="json"||u==="csv"||u==="html"||u==="dpia"||u==="ropa"||u==="briefing"||u==="recipients"||u==="coverage")){process.stderr.write(`agentic-security dataflow export: --view has no effect on --format ${u} — ${u} exports are not view-scoped.\n`)}const{AUDIENCE_MODES:m}=await i.e(5350).then(i.bind(i,55350));const g=t.flags.audience!==undefined;const x=t.flags.audience||"technical";if(!m.includes(x)){process.stderr.write(`agentic-security dataflow export: --audience must be one of ${m.join("|")} (got ${JSON.stringify(x)}).\n`);return 2}if(g&&u!=="briefing"){process.stderr.write(`agentic-security dataflow export: --audience has no effect on --format ${u} — only --format briefing is audience-aware.\n`)}const k=2e4;function _isPlainPositiveIntString(t){return typeof t==="string"&&/^[1-9]\d*$/.test(t)}const _=t.flags.size;const T=t.flags.width!==undefined||t.flags.height!==undefined;if(_!==undefined&&T){process.stderr.write("agentic-security dataflow export: --size and --width/--height are mutually exclusive — pick one.\n");return 2}let C,A;if(_!==undefined){if(!Object.prototype.hasOwnProperty.call(ae,_)){process.stderr.write(`agentic-security dataflow export: --size must be one of ${Object.keys(ae).join("|")} (got ${JSON.stringify(_)}).\n`);return 2}({width:C,height:A}=ae[_])}else if(T){if(!_isPlainPositiveIntString(t.flags.width)||!_isPlainPositiveIntString(t.flags.height)){process.stderr.write("agentic-security dataflow export: --width/--height must both be positive integers.\n");return 2}C=Number(t.flags.width);A=Number(t.flags.height);if(C>k||A>k){process.stderr.write(`agentic-security dataflow export: --width/--height must both be <= ${k}.\n`);return 2}}else{({width:C,height:A}=ae.standard)}const I=t.flags["no-redact"]?false:true;if(!I&&u==="csv"){process.stderr.write("agentic-security dataflow export: --no-redact has no effect on --format csv — CSV export does not support redaction yet.\n")}if(!I&&(u==="dpia"||u==="ropa"||u==="briefing"||u==="recipients"||u==="coverage")){process.stderr.write(`agentic-security dataflow export: --no-redact has no effect on --format ${u} — ${u} export does not support redaction yet.\n`)}let P;if(t.flags.filter!==undefined){if(typeof t.flags.filter!=="string"||!t.flags.filter){process.stderr.write("agentic-security dataflow export: --filter requires a file path.\n");return 2}const s=l.resolve(t.flags.filter);try{P=JSON.parse(a.readFileSync(s,"utf8"))}catch(s){process.stderr.write(`agentic-security dataflow export: could not read/parse --filter file "${t.flags.filter}": ${s.message}\n`);return 2}const{validateFilterShape:r}=await Promise.resolve().then(i.bind(i,40859));const o=r(P);if(!o.valid){process.stderr.write(`agentic-security dataflow export: --filter file "${t.flags.filter}" ${o.error}.\n`);return 2}if(u==="csv"||u==="coverage"){process.stderr.write(`agentic-security dataflow export: --filter has no effect on --format ${u} — ${u} export does not support scoping yet.\n`)}}const{loadSignedGraph:$}=await i.e(8218).then(i.bind(i,78218));const O=$(r);if(!O.ok){process.stderr.write(`agentic-security dataflow export: ${O.message}\n`);return 1}const D=O.graph;const N={view:h,width:C,height:A,redact:I,filter:P,generatedAt:D.generatedAt,audienceMode:x};let j;try{if(u==="png"||u==="pdf"||u==="svg"){const{exportPng:t,exportPdf:s,exportSvg:r}=await i.e(1122).then(i.bind(i,21122));const a={png:t,pdf:s,svg:r}[u];const o=await a(D,N);if(!o.ok){process.stderr.write(`agentic-security dataflow export: ${o.reason}\n`);return 2}j=o.data}else if(u==="json"){const{exportGraphJSON:t}=await Promise.resolve().then(i.bind(i,40859));j=JSON.stringify(t(D,N),null,2)}else if(u==="csv"){const{exportFlowsCSV:t}=await i.e(7709).then(i.bind(i,17709));j=t(D)}else if(u==="html"){const{generateHtmlReport:t}=await i.e(3180).then(i.bind(i,73180));j=t(D,N)}else if(u==="dpia"){const{emitGraphDpiaArtifact:t}=await i.e(1379).then(i.bind(i,31379));j=t(D,N)}else if(u==="ropa"){const{emitGraphRopaArtifact:t}=await i.e(1379).then(i.bind(i,31379));j=t(D,N)}else if(u==="briefing"){const{emitDecisionStory:t}=await i.e(5350).then(i.bind(i,55350));j=t(D,N).markdown}else if(u==="recipients"){j=_renderDataflowRecipientsMarkdown(D,N)}else if(u==="coverage"){j=_renderDataflowCoverageMarkdown(D,N)}}catch(t){if((u==="dpia"||u==="ropa")&&t&&t.code==="ERR_MODULE_NOT_FOUND"&&/privacy-view\.js/.test(t.message)){process.stderr.write(`agentic-security dataflow export: export failed: --format ${u} could not load its frontend module (${t.message}). This usually means you ran the raw bin/agentic-security.js file directly out of an installed package instead of using the published \`agentic-security\`/\`as\` command (which is fully self-contained). Use the published command, or run from a full source checkout with frontend/ present alongside scanner/.\n`);return 2}process.stderr.write(`agentic-security dataflow export: export failed: ${t&&t.message?t.message:t}\n`);return 2}const R=l.resolve(p);try{await o.mkdir(l.dirname(R),{recursive:true});await o.writeFile(R,j)}catch(t){process.stderr.write(`agentic-security dataflow export: could not write --output "${p}": ${t&&t.message?t.message:t}\n`);return 2}process.stdout.write(`agentic-security dataflow export: wrote ${u} to ${R}\n`);return 0}function _dfRecipientsMdInline(t){return String(t).replace(/\r\n|\r|\n/g," ")}function _dfRecipientsMdCell(t){return _dfRecipientsMdInline(t).replace(/\\/g,"\\\\").replace(/\|/g,"\\|")}function _dfRecipientsMdCode(t){const s=_dfRecipientsMdInline(t);const i=s.match(/`+/g);const r=i?Math.max(...i.map(t=>t.length)):0;if(r===0)return`\`${s}\``;const a="`".repeat(r+1);return`${a} ${s} ${a}`}function _filterRecipientProfiles(t,s){if(!s)return t;const i=new Set(s.nodeIds??[]);return t.filter(t=>(t.contributingGraphIds??[]).some(t=>i.has(t)))}const oe=[["provider","Provider"],["serviceType","Service Type"],["legalEntity","Legal Entity"],["processorRole","Processor Role"],["processingCountries","Jurisdiction(s)"],["dpaStatus","DPA Status"]];function _dataflowRecipientsCellValue(t,s){const i=t[s];if(s==="processingCountries"){return Array.isArray(i)&&i.length>0?i.join(", "):"—"}return i===null||i===undefined||i===""?"—":String(i)}function _renderDataflowRecipientsMarkdown(t,s={}){const i=_filterRecipientProfiles(t.recipientProfiles??[],s.filter);const r=[];r.push("# Third-Party and Cross-Border Recipient Intelligence");r.push("");r.push(`**Graph:** ${_dfRecipientsMdCode(t.graphId??"(no graphId)")}`);r.push(`**Generated:** ${_dfRecipientsMdInline(s.generatedAt??t.generatedAt??"")}`);if(s.filter)r.push("**Scope:** filtered to a subset of the graph (`--filter`).");r.push("");if(i.length===0){r.push(s.filter?"No recipients survive the given `--filter` scope.":"No recipients resolved for this graph — no sink site matched a known technical-provider catalog entry or an operator-declared `recipient-profiles.json` entry.");return`${r.join("\n")}\n`}r.push(`| ${oe.map(([,t])=>t).join(" | ")} | Confidence |`);r.push(`|${oe.map(()=>"---").join("|")}|---|`);for(const t of i){const s=oe.map(([s])=>_dfRecipientsMdCell(_dataflowRecipientsCellValue(t,s)));s.push(_dfRecipientsMdCell(t.confidence??"—"));r.push(`| ${s.join(" | ")} |`)}r.push("");r.push("## Field evidence");r.push("");r.push("For each recipient above, whether each shown fact is code-inferred (from a real call site matching this codebase's technical-provider catalog), declared (from operator-supplied `recipient-profiles.json`), or absent (no source at all — never fabricated):");r.push("");for(const t of i){r.push(`### ${_dfRecipientsMdInline(t.provider??t.recipientKey??"(unknown recipient)")}`);for(const[s,i]of oe){const a=t.fieldEvidence?t.fieldEvidence[s]:undefined;const o=a?a.factType:"absent";const l=a&&a.source?` (source: ${_dfRecipientsMdInline(a.source)})`:"";r.push(`- ${_dfRecipientsMdInline(i)}: ${_dfRecipientsMdInline(o)}${l}`)}r.push("")}return`${r.join("\n")}\n`}function _dfCoverageMdInline(t){return String(t).replace(/\r\n|\r|\n/g," ")}function _dfCoverageMdCell(t){return _dfCoverageMdInline(t).replace(/\\/g,"\\\\").replace(/\|/g,"\\|")}function _renderDataflowCoverageMarkdown(t,s={}){const i=[];i.push("# Language Coverage");i.push("");i.push(`**Graph:** \`${_dfCoverageMdInline(t.graphId??"(no graphId)")}\``);i.push(`**Generated:** ${_dfCoverageMdInline(s.generatedAt??t.generatedAt??"")}`);i.push("");i.push("`Files Analyzed`/`Files Expected` are real counts from THIS scan. `Tier` and `Recall (docs/METRICS.md)` are a curated, product-level estimate — unchanged since the date shown, not measured on this repository. The two are never the same kind of fact.");i.push("");const r=Array.isArray(t.coverage?.languages)?t.coverage.languages:[];if(r.length===0){i.push("_No language coverage data available for this scan._")}else{i.push("| Language | Files Analyzed | Files Expected | Tier | Recall (docs/METRICS.md) |");i.push("|---|---|---|---|---|");for(const t of r){const s=typeof t.irTaintRecallPct==="number"?`${t.irTaintRecallPct}% (as of ${_dfCoverageMdCell(t.measuredAt??"?")})`:"—";i.push(`| ${_dfCoverageMdCell(t.language)} | ${_dfCoverageMdCell(t.filesAnalyzed)} | ${_dfCoverageMdCell(t.filesExpected)} | ${_dfCoverageMdCell(t.tier)} | ${s} |`)}}i.push("");return i.join("\n")}const le=new Set(["json","markdown"]);function _dataflowDiffFlowLabel(t,s){const i=(s?.flows??[]).find(s=>s.id===t);if(!i)return{dataElementNames:[],sinkLabel:null};const r=(i.dataElementIds??[]).map(t=>(s.dataElements??[]).find(s=>s.id===t)?.name).filter(t=>typeof t==="string"&&t.length>0);const a=(s.nodes??[]).find(t=>t.id===i.sink)??null;const o=a?.label??a?.subtype??a?.kind??i.sink??null;return{dataElementNames:r,sinkLabel:o}}function _dfDiffMdInline(t){return String(t).replace(/\r\n|\r|\n/g," ")}function _dfDiffMdCell(t){return _dfDiffMdInline(t).replace(/\\/g,"\\\\").replace(/\|/g,"\\|")}function _dfDiffMdCode(t){const s=_dfDiffMdInline(t);const i=s.match(/`+/g);const r=i?Math.max(...i.map(t=>t.length)):0;if(r===0)return`\`${s}\``;const a="`".repeat(r+1);return`${a} ${s} ${a}`}function _renderDataflowDiffMarkdown(t,s,i,r,a){const o=r.graph??{};const l=i.graph??{};const u=[];u.push("# Data Flow Explorer — Graph Diff");u.push("");u.push(`**Before:** commit ${_dfDiffMdCode(i.commit)} — captured ${_dfDiffMdInline(i.capturedAt)}`);u.push(`**After:** commit ${_dfDiffMdCode(r.commit)} — captured ${_dfDiffMdInline(r.capturedAt)}`);u.push(`**Generated:** ${_dfDiffMdInline(t.generatedAt)}`);u.push("");u.push("## Drift Policy Violations");u.push("");if(!a){u.push("_No `--drift-policy` supplied — policy evaluation was skipped._")}else if(s.length===0){u.push("No drift-policy violations detected.")}else{u.push("| Trigger | Flow | Data Elements | Sink | Reason |");u.push("|---|---|---|---|---|");for(const t of s){const s=[t.trigger,t.flowId,(t.dataElementNames??[]).join(", ")||"(none)",t.sinkCategory??t.sinkNodeId??"unknown",t.reason];u.push(`| ${s.map(_dfDiffMdCell).join(" | ")} |`)}}u.push("");u.push("## Summary");u.push("");u.push(`- Nodes: +${t.added.nodes.length} / -${t.removed.nodes.length}`);u.push(`- Edges: +${t.added.edges.length} / -${t.removed.edges.length}`);u.push(`- Data elements: +${t.added.dataElements.length} / -${t.removed.dataElements.length}`);u.push(`- Flows: +${t.added.flows.length} / -${t.removed.flows.length} / ~${t.changed.flows.length} changed`);u.push("");const _entityList=t=>t.map(t=>`- ${_dfDiffMdCode(t.id)} (${_dfDiffMdInline(t.causeClassification)})`);u.push("## Added");u.push("");u.push("### Flows");if(t.added.flows.length===0){u.push("_None._")}else{for(const s of t.added.flows){const{dataElementNames:t,sinkLabel:i}=_dataflowDiffFlowLabel(s.id,o);const r=t.length?t.map(_dfDiffMdCode).join(", "):"unclassified data";const a=s.causeClassification==="reidentified"?` **(reidentified — same flow as ${_dfDiffMdCode(s.reidentifiedFrom)}, not a new code-level flow; only engine confidence/shape changed)**`:"";u.push(`- ${_dfDiffMdCode(s.id)} — ${r} → ${_dfDiffMdCode(i??"unknown sink")} (first seen ${_dfDiffMdInline(s.firstSeen?.commit??"")})${a}`)}}u.push("");for(const[s,i]of[["Nodes","nodes"],["Edges","edges"],["Data Elements","dataElements"]]){u.push(`### ${s}`);u.push(t.added[i].length===0?"_None._":_entityList(t.added[i]).join("\n"));u.push("")}u.push("## Removed");u.push("");u.push("### Flows");if(t.removed.flows.length===0){u.push("_None._")}else{for(const s of t.removed.flows){const{dataElementNames:t,sinkLabel:i}=_dataflowDiffFlowLabel(s.id,l);const r=t.length?t.map(_dfDiffMdCode).join(", "):"unclassified data";let a="";if(s.causeClassification==="possible_coverage_regression"){a=` **(possible coverage regression: ${_dfDiffMdInline((s.coverageRegressionReasons??[]).join("; "))})**`}else if(s.causeClassification==="reidentified"){a=` **(reidentified — same flow as ${_dfDiffMdCode(s.reidentifiedTo)}, not a real removal; only engine confidence/shape changed)**`}u.push(`- ${_dfDiffMdCode(s.id)} — ${r} → ${_dfDiffMdCode(i??"unknown sink")} (last seen ${_dfDiffMdInline(s.lastSeen?.commit??"")})${a}`)}}u.push("");for(const[s,i]of[["Nodes","nodes"],["Edges","edges"],["Data Elements","dataElements"]]){u.push(`### ${s}`);u.push(t.removed[i].length===0?"_None._":_entityList(t.removed[i]).join("\n"));u.push("")}u.push("## Changed");u.push("");u.push("### Flows");if(t.changed.flows.length===0){u.push("_None._")}else{for(const s of t.changed.flows){const t=s.changes.map(t=>`${_dfDiffMdInline(t.field)}: ${_dfDiffMdCode(JSON.stringify(t.before))} -> ${_dfDiffMdCode(JSON.stringify(t.after))}`).join("; ");u.push(`- ${_dfDiffMdCode(s.id)} — ${t}`)}}u.push("");return u.join("\n")}function _validateDriftPolicyFile(t,s,i){if(!a.existsSync(t)){return{ok:false,message:`agentic-security dataflow ${i}: --drift-policy file "${s}" does not exist.\n`}}let r;try{r=JSON.parse(a.readFileSync(t,"utf8"))}catch(t){return{ok:false,message:`agentic-security dataflow ${i}: could not parse --drift-policy file "${s}": ${t.message}\n`}}if(!r||typeof r!=="object"||Array.isArray(r)||!Array.isArray(r.policies)){return{ok:false,message:`agentic-security dataflow ${i}: --drift-policy file "${s}" must be a JSON object of the form {"policies":[...]} (got a different shape).\n`}}return{ok:true}}async function cmdDataflowDiff(t){const s=t._[2]||".";const r=l.resolve(s);const a=t.flags.output;if(!a||typeof a!=="string"){process.stderr.write("agentic-security dataflow diff: --output <file> is required.\n");return 2}const u=t.flags.format;if(!u||!le.has(u)){process.stderr.write(`agentic-security dataflow diff: --format must be one of ${[...le].join("|")} (got ${JSON.stringify(u)}).\n`);return 2}const p=t.flags.against;if(p!==undefined&&(typeof p!=="string"||!p)){process.stderr.write("agentic-security dataflow diff: --against requires a commit value.\n");return 2}const f=t.flags["drift-policy"];if(f!==undefined&&(typeof f!=="string"||!f)){process.stderr.write("agentic-security dataflow diff: --drift-policy requires a file path.\n");return 2}const h=!!t.flags["fail-on-drift"];const m=(0,g.Im)(r);if(m.length===0){process.stderr.write(`agentic-security dataflow diff: no persisted GraphSnapshot found for "${r}" — run a scan with AGENTIC_SECURITY_LINEAGE_DEEP=1 first.\n`);return 2}const x=m[0];let k;if(p!==undefined){k=(0,g.N2)(r,p);if(!k){process.stderr.write(`agentic-security dataflow diff: no persisted GraphSnapshot found for commit "${p}" — pass a commit that was actually scanned.\n`);return 2}}else{k=(0,g.Jf)(r,x.commit);if(!k){process.stderr.write(`agentic-security dataflow diff: only one persisted GraphSnapshot exists (commit "${x.commit}") — nothing to compare against yet. Scan again after a code change, or pass --against <commit>.\n`);return 2}}if(k.commit===x.commit){process.stderr.write(`agentic-security dataflow diff: refusing a self-diff — --against resolved to the same commit as the current snapshot ("${x.commit}"). Pass a different --against, or scan again after a code change.\n`);return 2}const{computeGraphDiff:_}=await i.e(3518).then(i.bind(i,83518));let T;try{T=_(k,x)}catch(t){process.stderr.write(`agentic-security dataflow diff: ${t&&t.message?t.message:t}\n`);return 2}let C=[];const A=f!==undefined;if(A){const t=l.resolve(f);const s=_validateDriftPolicyFile(t,f,"diff");if(!s.ok){process.stderr.write(s.message);return 2}const{loadDriftPolicies:r,evaluateDriftPolicies:a}=await i.e(6662).then(i.bind(i,6662));const o=r(t);C=a(T,o,x.graph).violations}let I;if(u==="json"){I=JSON.stringify({...T,violations:C},null,2)}else{I=_renderDataflowDiffMarkdown(T,C,k,x,A)}const P=l.resolve(a);try{await o.mkdir(l.dirname(P),{recursive:true});await o.writeFile(P,I)}catch(t){process.stderr.write(`agentic-security dataflow diff: could not write --output "${a}": ${t&&t.message?t.message:t}\n`);return 2}process.stdout.write(`agentic-security dataflow diff: wrote ${u} to ${P} (${C.length} drift-policy violation(s))\n`);if(h&&C.length>0)return 1;return 0}async function cmdDataflowScenarioApply(t){const s=t._[3]||".";const r=l.resolve(s);const u=t.flags.operations;if(!u||typeof u!=="string"){process.stderr.write("agentic-security dataflow scenario apply: --operations <file> is required.\n");return 2}const p=t.flags.output;if(!p||typeof p!=="string"){process.stderr.write("agentic-security dataflow scenario apply: --output <file> is required.\n");return 2}const f=t.flags.format??"json";if(f!=="json"&&f!=="markdown"){process.stderr.write(`agentic-security dataflow scenario apply: --format must be one of json|markdown (got ${JSON.stringify(f)}).\n`);return 2}let h;try{h=JSON.parse(a.readFileSync(l.resolve(u),"utf8"))}catch(t){process.stderr.write(`agentic-security dataflow scenario apply: could not read/parse --operations file "${u}": ${t.message}\n`);return 2}const{loadSignedGraph:m}=await i.e(8218).then(i.bind(i,78218));const g=m(r);if(!g.ok){process.stderr.write(`agentic-security dataflow scenario apply: ${g.message}\n`);return 1}const x=g.graph;const{validateScenario:k}=await i.e(3276).then(i.bind(i,63276));const{computeGraphDigest:_}=await Promise.resolve().then(i.bind(i,40859));const{scenarioId:T}=await Promise.resolve().then(i.bind(i,45034));const C=_(x);const A=h.author??"cli";const I=(new Date).toISOString();const P={id:T({graphId:x.graphId,graphDigest:C},[A,I]),version:"1.0.0",baseGraphId:x.graphId,baseGraphDigest:C,operations:h.operations??[],assumptions:h.assumptions??[],author:A,createdAt:I,expiration:null,simulatedDelta:null,verificationRequirements:h.verificationRequirements??[]};const{valid:$,errors:O}=k(P);if(!$){process.stderr.write(`agentic-security dataflow scenario apply: --operations file failed validation:\n${O.map(t=>` ${t.path}: ${t.message}`).join("\n")}\n`);return 2}let D;const N=t.flags["privacy-sink-policy"];if(N!==undefined){try{D=JSON.parse(a.readFileSync(l.resolve(N),"utf8"))}catch(t){process.stderr.write(`agentic-security dataflow scenario apply: could not read/parse --privacy-sink-policy file "${N}": ${t.message}\n`);return 2}}const{applyScenario:j}=await i.e(4547).then(i.bind(i,24547));const{diffScenarioGraph:R}=await i.e(8846).then(i.bind(i,8846));const L={privacySinkPolicy:D,environment:t.flags.environment};const{graph:F,appliedOperations:M,skippedOperations:B}=j(x,P,L);const{changedEntities:W,removedEntityIds:U}=R(x,F);const H={scenarioId:P.id,appliedOperations:M,skippedOperations:B,changedEntities:W,removedEntityIds:U,generatedAt:(new Date).toISOString()};let V;if(f==="json"){V=JSON.stringify(H,null,2)}else{const t=[`# Scenario delta`,"",`Applied ${M.length} operation(s), skipped ${B.length}.`,""];if(B.length){t.push("## Skipped operations","");for(const s of B)t.push(`- \`${s.operation.kind}\`: ${s.reason}`);t.push("")}t.push("## Changed entities","");for(const s of W){t.push(`- **${s.kind} ${s.id}**${s.label?` — **${s.label}**`:""}`);for(const i of s.changedFields)t.push(` - \`${i.field}\`: ${JSON.stringify(i.before)} → ${JSON.stringify(i.after)}`)}if(U.length){t.push("","## Removed entities","");for(const s of U)t.push(`- ${s}`)}V=t.join("\n")+"\n"}try{await o.mkdir(l.dirname(l.resolve(p)),{recursive:true});await o.writeFile(l.resolve(p),V)}catch(t){process.stderr.write(`agentic-security dataflow scenario apply: could not write --output "${p}": ${t&&t.message?t.message:t}\n`);return 2}return 0}async function cmdDataflowImpactAssess(t){const s=t._[3]||".";const r=l.resolve(s);const a=t.flags.target;if(!a||typeof a!=="string"){process.stderr.write("agentic-security dataflow impact assess: --target <canonical-id> is required.\n");return 2}const u=t.flags.output;if(!u||typeof u!=="string"){process.stderr.write("agentic-security dataflow impact assess: --output <file> is required.\n");return 2}const p=t.flags.format??"json";if(p!=="json"&&p!=="markdown"){process.stderr.write(`agentic-security dataflow impact assess: --format must be one of json|markdown (got ${JSON.stringify(p)}).\n`);return 2}const{loadSignedGraph:f}=await i.e(8218).then(i.bind(i,78218));const h=f(r);if(!h.ok){process.stderr.write(`agentic-security dataflow impact assess: ${h.message}\n`);return 1}const{computeImpactAssessment:m}=await i.e(6626).then(i.bind(i,66626));let g;try{g=m(h.graph,a)}catch(t){const s=t&&t.message?t.message:String(t);process.stderr.write(`agentic-security dataflow impact assess: ${s}\n`);return s.startsWith("computeImpactAssessment: malformed graph")?1:2}let x;if(p==="json"){x=JSON.stringify(g,null,2)}else{const t=[`# Impact assessment`,"",`id: \`${g.id}\``,`graphId: \`${g.graphId}\``,`graphDigest: \`${g.graphDigest}\``,`generatedAt: ${g.generatedAt}`,"",`Target: \`${g.targetId}\` (${g.targetKind})`,`Scope: ${g.scope} (traceKind: ${g.traceKind})`,"",`## Affected nodes (${g.affectedNodeIds.length})`,"",...g.affectedNodeIds.map(t=>`- ${t}`),"",`## Affected edges (${g.affectedEdgeIds.length})`,"",...g.affectedEdgeIds.map(t=>`- ${t}`),"",`## Affected data classes`,"",g.affectedDataClasses.length?g.affectedDataClasses.map(t=>`- ${t}`).join("\n"):"_none_","",`## Affected recipients`,"",g.affectedRecipientProfileIds.length?g.affectedRecipientProfileIds.map(t=>`- ${t}`).join("\n"):"_none_",""];if(g.coverageLimitations.length){t.push("## Coverage limitations","",...g.coverageLimitations.map(t=>`- ${t}`),"")}x=t.join("\n")+"\n"}try{await o.mkdir(l.dirname(l.resolve(u)),{recursive:true});await o.writeFile(l.resolve(u),x)}catch(t){process.stderr.write(`agentic-security dataflow impact assess: could not write --output "${u}": ${t&&t.message?t.message:t}\n`);return 2}return 0}const ce=/^[A-Za-z0-9._:-]{1,512}$/;async function cmdDataflowObservationsImport(t){const s=t._[3]||".";const r=l.resolve(s);const{adapterFor:o}=await i.e(2923).then(i.bind(i,12923));const p=t.flags.adapter;if(!p||typeof p!=="string"){process.stderr.write('agentic-security dataflow observations import: --adapter <name> is required (currently only "native-jsonl" is supported).\n');return 2}const f=o(p);if(!f){process.stderr.write(`agentic-security dataflow observations import: unknown --adapter "${p}" — only "native-jsonl" is supported.\n`);return 2}const h=t.flags.input;if(!h||typeof h!=="string"){process.stderr.write("agentic-security dataflow observations import: --input <file> is required.\n");return 2}const m=l.resolve(h);if(!a.existsSync(m)){process.stderr.write(`agentic-security dataflow observations import: --input file not found: "${h}".\n`);return 2}const _isoOk=t=>typeof t==="string"&&t.length>0&&Number.isFinite(Date.parse(t));const g=t.flags["window-start"];const x=t.flags["window-end"];if(!_isoOk(g)||!_isoOk(x)){process.stderr.write("agentic-security dataflow observations import: --window-start and --window-end are both required and must be parseable ISO-8601 date-times.\n");return 2}if(Date.parse(g)>Date.parse(x)){process.stderr.write("agentic-security dataflow observations import: --window-start must not be after --window-end.\n");return 2}const k=t.flags["retain-until"];let _=null;if(k!==undefined){if(!_isoOk(k)){process.stderr.write("agentic-security dataflow observations import: --retain-until must be a parseable ISO-8601 date-time. Note: this value is recorded as retention.expiresAt but is NOT currently enforced by anything — an import past its declared expiresAt is not auto-deleted, and `reset --yes` sweeps the whole store regardless.\n");return 2}_=k}const{loadSignedGraph:T}=await i.e(8218).then(i.bind(i,78218));const C=T(r);if(!C.ok){process.stderr.write(`agentic-security dataflow observations import: ${C.message}\n`);return 1}const A=p;const I=typeof t.flags.source==="string"&&t.flags.source||l.basename(m);const P=typeof t.flags.environment==="string"&&t.flags.environment||"unspecified";if(!ce.test(I)){process.stderr.write(`agentic-security dataflow observations import: --source must look like an identifier/filename (letters, digits, '.', '_', ':', '-', 512 characters max) — a value containing whitespace, quotes, or punctuation is how a payload arrives disguised as metadata (got ${JSON.stringify(I)}).\n`);return 2}let $;try{$=a.readFileSync(m,"utf8")}catch(t){process.stderr.write(`agentic-security dataflow observations import: could not read --input "${h}": ${t&&t.message?t.message:t}\n`);return 2}const{RUNTIME_OBSERVATION_VERSION:O,validateRuntimeObservation:D}=await Promise.resolve().then(i.bind(i,61995));const N=(new Date).toISOString();const j={adapter:A,source:I,environment:P,windowStart:g,windowEnd:x,importedAt:N,retention:{expiresAt:_},version:O};if(t.flags["record-identity-tokens"]){const{makeIdentityTokenizer:t}=await i.e(3196).then(i.bind(i,33196));j.tokenizeIdentity=t()}const{drafts:R,errors:L}=f.parse($,j);const{matchObservationToGraph:F}=await Promise.resolve().then(i.bind(i,26531));const{observationId:M,observationImportId:B}=await Promise.resolve().then(i.bind(i,45034));const W=[];const U=[];let V=0;let K=0;R.forEach((t,s)=>{const i=F(C.graph,t);const r=Object.entries(t.attributes??{}).sort().map(([t,s])=>`${t}=${JSON.stringify(s)}`).join("&");const a=M({adapter:A,environment:t.environment,windowStart:t.windowStart,windowEnd:t.windowEnd},[r]);const o={id:a,version:t.version,adapter:t.adapter,source:t.source,environment:t.environment,windowStart:t.windowStart,windowEnd:t.windowEnd,matchedNodeIds:i.matchedNodeIds,matchedEdgeIds:i.matchedEdgeIds,matchedFlowIds:i.matchedFlowIds,attributes:t.attributes,eventCountBand:t.eventCountBand,firstObservedAt:t.firstObservedAt,lastObservedAt:t.lastObservedAt,matchMethod:i.matchMethod,matchConfidence:i.matchConfidence,retention:t.retention,importedAt:t.importedAt};const{valid:l,errors:u}=D(o);if(!l){U.push({index:s+1,errors:u})}else{W.push(o);if(i.matchMethod==="unmatched")K++;else V++}});if(L.length>0||U.length>0){process.stderr.write("agentic-security dataflow observations import: refusing the WHOLE import — a partial import that silently drops an offending record would misrepresent what the operator believes the artifact holds (AC-29 clause 5). Nothing was written. Every offending record:\n");for(const t of L){process.stderr.write(` line ${t.line}: ${t.message}\n`)}for(const t of U){for(const s of t.errors){process.stderr.write(` record ${t.index}: ${s.path}: ${s.message}\n`)}}return 1}const{OBSERVATION_IMPORT_VERSION:G}=await Promise.resolve().then(i.bind(i,61194));const J=B({adapter:A,source:I,environment:P,windowStart:g,windowEnd:x,importedAt:N},[u.randomBytes(4).toString("hex")]);const X={id:J,version:G,adapter:A,source:I,environment:P,windowStart:g,windowEnd:x,importedAt:N,retention:{expiresAt:_},observations:W};const Y={adapter:A,source:I,environment:P,windowStart:g,windowEnd:x,recordCount:W.length,matched:V,unmatched:K,retention:{expiresAt:_},importId:J,written:false};const Q=!!t.flags.yes;if(!Q){process.stdout.write(JSON.stringify(Y,null,2)+"\n");return 0}const Z=(0,H.statePath)(r,"runtime-observations");const{isSafeStateDir:ee}=await Promise.resolve().then(i.bind(i,31174));if(!ee(Z)){process.stderr.write(`agentic-security dataflow observations import: refusing to write — "${r}" does not look like a project directory.\n`);return 2}const{persistObservationImport:te}=await Promise.resolve().then(i.bind(i,61194));let ne;try{ne=te(r,X)}catch(t){process.stderr.write(`agentic-security dataflow observations import: unexpected error writing the store: ${t&&t.message?t.message:t}\n`);return 4}if(!ne.ok){process.stderr.write(`agentic-security dataflow observations import: ${ne.reason}\n`);return ne.reason&&ne.reason.startsWith("invalid ObservationImport record")?1:4}const{auditCall:se}=await i.e(9390).then(i.bind(i,69390));se({sessionRoot:r,tool:"dataflow_observations_import",args:{adapter:A,source:I,environment:P,windowStart:g,windowEnd:x,observations:W.length,matched:V,importId:J},outcome:"ok"});Y.written=true;process.stdout.write(JSON.stringify(Y,null,2)+"\n");return 0}async function cmdDataflowObservationsList(t){const s=t._[3]||".";const r=l.resolve(s);const{loadObservationImports:a}=await Promise.resolve().then(i.bind(i,61194));const o=a(r);const u=o.map(t=>({importId:t.id,adapter:t.adapter,source:t.source,environment:t.environment,windowStart:t.windowStart,windowEnd:t.windowEnd,observations:Array.isArray(t.observations)?t.observations.length:0,importedAt:t.importedAt,expiresAt:t.retention?.expiresAt??"no expiry declared"}));if(t.flags.json){process.stdout.write(JSON.stringify(u,null,2)+"\n");return 0}if(u.length===0){process.stdout.write("No runtime observation imports found.\n");return 0}for(const t of u){process.stdout.write(`${t.importId} adapter=${t.adapter} source=${t.source} environment=${t.environment} `+`window=${t.windowStart}..${t.windowEnd} observations=${t.observations} `+`importedAt=${t.importedAt} expiresAt=${t.expiresAt}\n`)}return 0}function _dfTwinMdInline(t){return String(t).replace(/\r\n|\r|\n/g," ")}function _dfTwinMdCell(t){return _dfTwinMdInline(t).replace(/\\/g,"\\\\").replace(/\|/g,"\\|")}const ue=Object.freeze({runtime_observed:"RUNTIME OBSERVED",not_observed_in_window:"not_observed_in_window",not_evaluated:"not_evaluated"});async function cmdDataflowTwin(t){const s=t._[2]||".";const r=l.resolve(s);const u=t.flags.output;if(!u||typeof u!=="string"){process.stderr.write("agentic-security dataflow twin: --output <file> is required.\n");return 2}const p=t.flags.format??"json";if(p!=="json"&&p!=="markdown"){process.stderr.write(`agentic-security dataflow twin: --format must be one of json|markdown (got ${JSON.stringify(p)}).\n`);return 2}const{loadSignedGraph:f}=await i.e(8218).then(i.bind(i,78218));const h=f(r);if(!h.ok){process.stderr.write(`agentic-security dataflow twin: ${h.message}\n`);return 1}const m=typeof t.flags.environment==="string"?t.flags.environment:null;const g=typeof t.flags["window-start"]==="string"?t.flags["window-start"]:null;const x=typeof t.flags["window-end"]==="string"?t.flags["window-end"]:null;const k=(0,H.statePath)(r,"runtime-observations");const _=a.existsSync(k)?(await Promise.resolve().then(i.bind(i,61194))).loadObservations(r):null;const{correlateObservations:T}=await Promise.resolve().then(i.bind(i,26531));const C=T(h.graph,_,{environment:m,windowStart:g,windowEnd:x});let A;if(p==="json"){A=JSON.stringify(C,null,2)}else{const{computeGraphDigest:t}=await Promise.resolve().then(i.bind(i,40859));const s=new Map(h.graph.nodes.map(t=>[t.id,t]));const r=new Map(h.graph.flows.map(t=>[t.id,t]));const a=[];a.push("# Runtime Digital Twin","");a.push(`**Graph:** \`${_dfTwinMdInline(h.graph.graphId??"(no graphId)")}\``);a.push(`**Graph digest:** \`${_dfTwinMdInline(t(h.graph))}\``);a.push(`**Environment filter:** ${_dfTwinMdInline(C.environment??"(none)")}`);a.push(`**Window:** ${_dfTwinMdInline(C.windowStart??"(open)")} .. ${_dfTwinMdInline(C.windowEnd??"(open)")}`,"");a.push("## Layers","");a.push("| Flow | Source | Sink | Layer |");a.push("|---|---|---|---|");const o=Object.keys(C.byFlow).sort();for(const t of o){const i=r.get(t);const o=i?s.get(i.source)?.label??i.source:"(unknown)";const l=i?s.get(i.sink)?.label??i.sink:"(unknown)";const u=C.byFlow[t];const p=ue[u.layer]??u.layer;a.push(`| ${_dfTwinMdCell(t)} | ${_dfTwinMdCell(o)} | ${_dfTwinMdCell(l)} | ${_dfTwinMdCell(p)} |`)}a.push("");const l=o.filter(t=>C.byFlow[t].layer==="runtime_observed");if(l.length>0){a.push("## Runtime-observed flow detail","");for(const t of l){const s=C.byFlow[t];a.push(`### ${_dfTwinMdInline(t)}`,"");a.push(`- Match method: ${_dfTwinMdInline(s.matchMethod??"(none)")}`);a.push(`- Match confidence: ${_dfTwinMdInline(s.matchConfidence??"(none)")}`);a.push(`- Environment: ${_dfTwinMdInline(s.environment??"(none)")}`);a.push(`- Window: ${_dfTwinMdInline(s.windowStart??"(none)")} .. ${_dfTwinMdInline(s.windowEnd??"(none)")}`);a.push(`- First observed: ${_dfTwinMdInline(s.firstObservedAt??"(none)")}`);a.push(`- Last observed: ${_dfTwinMdInline(s.lastObservedAt??"(none)")}`);a.push(`- Event count band: ${_dfTwinMdInline(s.eventCountBand??"(none)")}`);if(Array.isArray(s.contributingEnvironments)&&s.contributingEnvironments.length>1){a.push(`- Contributing environments: ${_dfTwinMdInline(s.contributingEnvironments.join(", "))} — the fields above describe only the representative (strongest-confidence) environment (I2).`)}if(s.siblingFlowCount){a.push(`- Sibling flow count: ${_dfTwinMdInline(s.siblingFlowCount)} — this observation corroborates the destination NODE, never which sibling flow produced the traffic, which is why matchConfidence reads 'ambiguous' here.`)}a.push("")}}a.push("## Limitations","");for(const t of C.limitations??[]){a.push(`- ${_dfTwinMdInline(t)}`)}a.push("- `not_observed_in_window` means the flow was not observed in the selected environment/window — it does NOT mean the flow does not occur (PRD line 2098).");a.push("- Runtime observation increases corroboration confidence but cannot prove field-level identity — observations correlate to node/edge/flow ids only, never a specific data element instance (FR-505).");a.push("- Every statically possible path in this graph is listed above regardless of layer; nothing was filtered out (AC-29 clause 3).");a.push("");A=a.join("\n")}try{await o.mkdir(l.dirname(l.resolve(u)),{recursive:true});await o.writeFile(l.resolve(u),A)}catch(t){process.stderr.write(`agentic-security dataflow twin: could not write --output "${u}": ${t&&t.message?t.message:t}\n`);return 2}return 0}async function cmdRuntimeIngest(t){const s=t._[2]||".";const i={...t,_:["dataflow","observations","import",s]};return cmdDataflowObservationsImport(i)}async function _loadRuntimeInputs(t){const{loadSignedGraph:s}=await i.e(8218).then(i.bind(i,78218));const r=s(t);if(!r.ok)return{ok:false,message:r.message};const o=(0,H.statePath)(t,"runtime-observations");let l=null;let u=null;if(a.existsSync(o)){const s=await Promise.resolve().then(i.bind(i,61194));l=s.loadObservationImports(t);u=s.loadObservations(t)}return{ok:true,graph:r.graph,importRecords:l,observations:u}}async function cmdRuntimeStatus(t){const s=t._[2]||".";const r=l.resolve(s);const a=t.flags.format??"json";if(a!=="json"&&a!=="markdown"){process.stderr.write(`agentic-security runtime status: --format must be one of json|markdown (got ${JSON.stringify(a)}).\n`);return 2}const o=await _loadRuntimeInputs(r);if(!o.ok){process.stderr.write(`agentic-security runtime status: ${o.message}\n`);return 1}const u=typeof t.flags.environment==="string"?t.flags.environment:null;const p=typeof t.flags["window-start"]==="string"?t.flags["window-start"]:null;const f=typeof t.flags["window-end"]==="string"?t.flags["window-end"]:null;const{correlateObservations:h}=await Promise.resolve().then(i.bind(i,26531));const m=h(o.graph,o.observations,{environment:u,windowStart:p,windowEnd:f});const{computeRuntimeAssurance:g}=await i.e(4700).then(i.bind(i,94700));const x=g({importRecords:o.importRecords,correlation:m});if(a==="json"){process.stdout.write(JSON.stringify(x,null,2)+"\n");return 0}const k=[];k.push("# Runtime Assurance","");k.push(`**runtimeStatus:** \`${x.runtimeStatus}\``,"");k.push(`- Telemetry window: ${x.telemetryWindow.start??"(none)"} .. ${x.telemetryWindow.end??"(none)"}`);k.push(`- Last observed: ${x.freshness.lastObservedAt??"(none)"}${x.freshness.stale?" (STALE)":""}`);k.push(`- Mapping: ${x.mappingPercentage===null?"(no observations)":`${x.mappingPercentage}%`} (${x.unmatchedObservationCount} of ${x.totalObservationCount} unmatched)`);k.push(`- Parse failures: ${x.parseFailures} — ${x.parseFailuresNote}`);k.push("","## Limitations","");for(const t of x.limitations)k.push(`- ${t}`);k.push("");process.stdout.write(k.join("\n"));return 0}async function cmdRuntimeReconcile(t){const s=t._[2]||".";const r=l.resolve(s);const a=await _loadRuntimeInputs(r);if(!a.ok){process.stderr.write(`agentic-security runtime reconcile: ${a.message}\n`);return 1}if(a.observations===null){process.stdout.write(JSON.stringify({checked:0,drifted:[],note:"No runtime observation store exists for this scan — nothing to reconcile."},null,2)+"\n");return 0}const{matchObservationToGraph:o}=await Promise.resolve().then(i.bind(i,26531));const u=[];for(const t of a.observations){const s=o(a.graph,t);const i=s.matchMethod===t.matchMethod&&s.matchConfidence===t.matchConfidence&&JSON.stringify([...s.matchedFlowIds].sort())===JSON.stringify([...t.matchedFlowIds].sort());if(!i){u.push({observationId:t.id,stored:{matchMethod:t.matchMethod,matchConfidence:t.matchConfidence,matchedFlowIds:t.matchedFlowIds},currentGraph:{matchMethod:s.matchMethod,matchConfidence:s.matchConfidence,matchedFlowIds:s.matchedFlowIds}})}}process.stdout.write(JSON.stringify({checked:a.observations.length,drifted:u,note:u.length>0?"These observations would match differently against the CURRENT graph than what is stored — the graph changed since import. Re-import with `runtime ingest` to update the stored match; nothing was changed automatically.":"Every stored observation still matches the current graph identically."},null,2)+"\n");return 0}const de=["PII","PHI","PCI","FIN","CREDENTIALS"];const pe=Object.freeze({"internet-facing-to-sensitive":{description:'Internet-facing flows observed reaching sensitive data (PRD example: "Show Internet-facing flows observed reaching PCI data").',run(t,s){const i=new Map(t.nodes.map(t=>[t.id,t]));const r=new Map(t.dataElements.map(t=>[t.id,t]));return t.flows.filter(t=>{if(s.byFlow[t.id]?.layer!=="runtime_observed")return false;const a=i.get(t.sink);if(a?.externality?.value!=="external")return false;return t.dataElementIds.some(t=>(r.get(t)?.dataClasses??[]).some(t=>de.includes(t)))}).map(t=>t.id)}},"sensitive-crossing-boundary":{description:'Sensitive-data paths observed crossing a trust boundary (PRD example: "Show sensitive-data paths observed crossing trust boundaries").',run(t,s){const i=new Map(t.edges.map(t=>[t.id,t]));const r=new Map(t.dataElements.map(t=>[t.id,t]));return t.flows.filter(t=>{if(s.byFlow[t.id]?.layer!=="runtime_observed")return false;const a=t.edgeIds.some(t=>(i.get(t)?.boundaryCrossings??[]).length>0);if(!a)return false;return t.dataElementIds.some(t=>(r.get(t)?.dataClasses??[]).some(t=>de.includes(t)))}).map(t=>t.id)}}});const fe=Object.freeze({});const he=Object.freeze({"runtime-flows-absent-from-static":"Observed destinations the matcher could not place on any static node: CANDIDATES for a path static analysis missed (or a mapping the matcher is too weak to make).","vulnerable-functions-in-production":"Scan findings whose own function, line or route appears in the runtime trace (.agentic-security/runtime-trace.jsonl). Evaluated against the trace on disk when you ask, using the same matcher the scan uses.","identities-using-risky-paths":"Identity TOKENS (keyed hashes, never identities) seen on edges in a policy-violation or exploit-correlated state. Needs observations imported with --record-identity-tokens."});async function _loadExploitEvidence(t){if(typeof t!=="string")return{evidence:[],errors:[]};const{validateExploitEvidence:s}=await i.e(83).then(i.bind(i,20083));let r;try{r=JSON.parse(a.readFileSync(l.resolve(t),"utf8"))}catch(t){return{evidence:[],errors:[`could not read --exploit-evidence: ${t.code??t.message}`]}}return s(r)}async function cmdRuntimeExplorer(t,s){const r=l.resolve(s);const o=await _loadRuntimeInputs(r);if(!o.ok){process.stderr.write(`agentic-security explore --runtime: ${o.message}\n`);return 1}const u=typeof t.flags.environment==="string"?t.flags.environment:null;const{correlateObservations:p}=await Promise.resolve().then(i.bind(i,26531));const f=await i.e(83).then(i.bind(i,20083));const{renderRuntimeExplorer:h}=await i.e(8714).then(i.bind(i,58714));const m=p(o.graph,o.observations,{environment:u,windowStart:null,windowEnd:null});const g=await _loadExploitEvidence(t.flags["exploit-evidence"]);if(g.errors.length){process.stderr.write(`agentic-security explore --runtime: ${g.errors.join("; ")}\n`);return 2}const x=f.deriveEdgeStates(o.graph,m,o.observations,{exploitEvidence:g.evidence});const k=m.evaluated?f.runtimeFlowsAbsentFromStatic(o.observations,m):{candidates:[]};const _=h({graph:o.graph,edgeStates:x,correlation:m,observations:o.observations??[],absent:k});const T=typeof t.flags.out==="string"?l.resolve(t.flags.out):(0,H.statePath)(r,"runtime-explorer.html");try{a.mkdirSync(l.dirname(T),{recursive:true});a.writeFileSync(T,_)}catch(s){process.stderr.write(`agentic-security explore --runtime: could not write ${t.flags.out??T}: ${s.code??s.message}\n`);return 1}process.stdout.write(`runtime explorer written to ${l.relative(process.cwd(),T)||T} (static page, no server; open it in a browser)\n`);return 0}async function cmdRuntimeEdges(t){const s=l.resolve(t._[2]||".");const r=await _loadRuntimeInputs(s);if(!r.ok){process.stderr.write(`agentic-security runtime edges: ${r.message}\n`);return 1}const a=typeof t.flags.environment==="string"?t.flags.environment:null;const{correlateObservations:o}=await Promise.resolve().then(i.bind(i,26531));const{deriveEdgeStates:u}=await i.e(83).then(i.bind(i,20083));const p=o(r.graph,r.observations,{environment:a,windowStart:null,windowEnd:null});const f=await _loadExploitEvidence(t.flags["exploit-evidence"]);if(f.errors.length){process.stderr.write(`agentic-security runtime edges: ${f.errors.join("; ")}\n`);return 2}const h=u(r.graph,p,r.observations,{exploitEvidence:f.evidence});if((t.flags.format??"json")==="markdown"){const t=["# Static vs runtime, per edge","","| Edge | State | Observations | Allowed | Denied | Uncertain |","|---|---|---|---|---|---|"];for(const[s,i]of Object.entries(h.byEdge))t.push(`| ${s} | ${i.states.join(", ")} | ${i.observations} | ${i.allowed} | ${i.denied} | ${i.uncertainObservations} |`);if(Object.keys(h.byNode).length){t.push("","## Observed on a node with no modelled flow","","| Node | State | Observations | Allowed | Denied |","|---|---|---|---|---|");for(const[s,i]of Object.entries(h.byNode))t.push(`| ${s} | ${i.states.join(", ")} | ${i.observations} | ${i.allowed} | ${i.denied} |`)}t.push("",...h.limitations.map(t=>`- ${t}`),"");process.stdout.write(t.join("\n"))}else process.stdout.write(JSON.stringify({evaluated:h.evaluated,counts:h.counts,byEdge:h.byEdge,byNode:h.byNode,limitations:h.limitations},null,2)+"\n");return 0}async function cmdRuntimeQuery(t){const s=t._[2];if(s==="vulnerable-functions-in-production"&&!t.flags.list){const r=l.resolve(t._[3]||".");const o=(0,H.statePath)(r,"last-scan.json");let u;try{u=a.readFileSync(o,"utf8")}catch{process.stderr.write("agentic-security runtime query: no .agentic-security/last-scan.json here: run a scan first.\n");return 1}if(_verifyLastScan(u,o+".sig")!==true){process.stderr.write("agentic-security runtime query: last-scan.json failed its integrity check; re-run the scan.\n");return 1}const{vulnerableFunctionsInProduction:p}=await i.e(8714).then(i.bind(i,58714));const{annotateRuntimeCorrelation:f}=await Promise.resolve().then(i.bind(i,80190));const h=JSON.parse(u);await f(r,h.findings??[],{});const m=p(h.findings);if(m.evaluated){const{exploitCorrelationOf:t}=await i.e(5456).then(i.bind(i,35456));for(const s of m.findings)s.exploitCorrelation=t(r,s.id);m.counts.exploitCorrelated=m.findings.filter(t=>t.exploitCorrelation.correlated).length}process.stdout.write(JSON.stringify({query:s,supported:true,...m},null,2)+"\n");return 0}if(s&&Object.prototype.hasOwnProperty.call(he,s)&&!t.flags.list){const r=l.resolve(t._[3]||".");const a=await _loadRuntimeInputs(r);if(!a.ok){process.stderr.write(`agentic-security runtime query: ${a.message}\n`);return 1}const o=typeof t.flags.environment==="string"?t.flags.environment:null;const{correlateObservations:u}=await Promise.resolve().then(i.bind(i,26531));const p=await i.e(83).then(i.bind(i,20083));const f=u(a.graph,a.observations,{environment:o,windowStart:null,windowEnd:null});if(!f.evaluated){process.stdout.write(JSON.stringify({query:s,supported:true,evaluated:false,reason:'no runtime observations were imported, so nothing can be said (not "no risk")'},null,2)+"\n");return 0}if(s==="runtime-flows-absent-from-static"){process.stdout.write(JSON.stringify({query:s,supported:true,evaluated:true,...p.runtimeFlowsAbsentFromStatic(a.observations,f)},null,2)+"\n");return 0}const h=await _loadExploitEvidence(t.flags["exploit-evidence"]);if(h.errors.length){process.stderr.write(`agentic-security runtime query: ${h.errors.join("; ")}\n`);return 2}const m=p.deriveEdgeStates(a.graph,f,a.observations,{exploitEvidence:h.evidence});process.stdout.write(JSON.stringify({query:s,supported:true,evaluated:true,...p.identitiesUsingRiskyPaths(m)},null,2)+"\n");return 0}if(!s||t.flags.list){process.stdout.write("Supported queries:\n");for(const[t,s]of Object.entries(pe))process.stdout.write(` ${t} — ${s.description}\n`);for(const[t,s]of Object.entries(he))process.stdout.write(` ${t} — ${s}\n`);process.stdout.write("\nNamed but NOT supported by this architecture (disclosed, not silently omitted):\n");for(const[t,s]of Object.entries(fe))process.stdout.write(` ${t} — ${s}\n`);return t.flags.list?0:2}if(Object.prototype.hasOwnProperty.call(fe,s)){process.stdout.write(JSON.stringify({query:s,supported:false,reason:fe[s]},null,2)+"\n");return 0}const r=pe[s];if(!r){process.stderr.write(`agentic-security runtime query: unrecognized query "${s}" — run with --list to see every supported (and disclosed-unsupported) query name.\n`);return 2}const o=t._[3]||".";const u=l.resolve(o);const p=await _loadRuntimeInputs(u);if(!p.ok){process.stderr.write(`agentic-security runtime query: ${p.message}\n`);return 1}const f=typeof t.flags.environment==="string"?t.flags.environment:null;const{correlateObservations:h}=await Promise.resolve().then(i.bind(i,26531));const m=h(p.graph,p.observations,{environment:f,windowStart:null,windowEnd:null});const g=r.run(p.graph,m);process.stdout.write(JSON.stringify({query:s,supported:true,flowIds:g},null,2)+"\n");return 0}function _readFileOrError(t){const s=l.resolve(t);if(!a.existsSync(s))return{ok:false,message:`no such file: ${t}`};if(!a.statSync(s).isFile())return{ok:false,message:`${t} is not a file`};try{return{ok:true,buf:a.readFileSync(s)}}catch(s){return{ok:false,message:`failed to read ${t}: ${s.message}`}}}function _artifactScanDigestHex(t){const s=String(t||"");const i=s.startsWith("sha256:")?s.slice(7):s;return/^[0-9a-f]{64}$/.test(i)?i:null}async function _scanArchiveFresh(t){const{buildImageInventory:s}=await i.e(5086).then(i.bind(i,55086));const{ImageArchiveError:r}=await i.e(7055).then(i.bind(i,57055));const{TarSafetyError:a}=await i.e(642).then(i.bind(i,90642));const{parseManifests:o,queryOSV:l}=await i.e(7232).then(i.bind(i,77232));const{correlateImageVulnerabilities:u}=await i.e(5206).then(i.bind(i,15206));const{analyzeLayerSecrets:p}=await i.e(7952).then(i.bind(i,47952));const{scanCredentials:f}=await i.e(4384).then(i.bind(i,74384));let h;try{h=s(t,{manifestParser:o})}catch(t){if(t instanceof r||t instanceof a)return{ok:false,message:t.message};throw t}const{vulnerabilities:m}=await u({inventory:h.inventory,fileContents:h.mergedFilesystem.fileContents,queryOSVFn:l});const g=p({readLayersResult:h.readLayersResult,deletedPaths:h.mergedFilesystem.deletedPaths,detectFn:f});return{ok:true,built:h,record:{inventory:h.inventory,vulnerabilities:m,secrets:{deletedButRecoverable:g.deletedButRecoverable,totalFindings:g.findings.length},scannedAt:(new Date).toISOString()}}}async function _persistArtifactScan(t){const{statePath:s,safeWriteState:r}=await Promise.resolve().then(i.bind(i,31174));const a=process.cwd();const o=_artifactScanDigestHex(t.inventory.digest);if(!o)return false;return r(s(a,"artifact-scans",`${o}.json`),JSON.stringify(t,null,2),{category:"artifact-scans"})}async function _resolveArtifactScan(t){const s=_artifactScanDigestHex(t);if(s){const{statePath:r}=await Promise.resolve().then(i.bind(i,31174));const o=r(process.cwd(),"artifact-scans",`${s}.json`);if(a.existsSync(o)){try{return{ok:true,record:JSON.parse(a.readFileSync(o,"utf8"))}}catch(t){return{ok:false,message:`stored scan at ${o} is corrupt: ${t.message}`}}}return{ok:false,message:`no stored scan for digest ${t} — run "image scan" on the archive first`}}const r=_readFileOrError(t);if(!r.ok)return r;const o=await _scanArchiveFresh(r.buf);if(!o.ok)return o;return{ok:true,record:o.record}}const SCANNER_VERSION_FOR_ATTEST=()=>{try{return JSON.parse(a.readFileSync(new URL(i(43089),i.b),"utf8")).version}catch{return null}};async function cmdImageScan(t){const s=t._[2];const r=typeof t.flags.registry==="string"?t.flags.registry:null;const a=typeof t.flags.engine==="string"?t.flags.engine:null;if(!s&&!r){process.stderr.write("agentic-security image scan: provide a path to a docker-archive or oci-archive tar, or --registry <ref> for an explicit remote image, or <name> --engine docker|podman for a local image (see commands/image.md).\n");return 2}const o=t.flags.format??"json";if(o!=="json"&&o!=="cli"){process.stderr.write("agentic-security image scan: --format must be json|cli.\n");return 2}let u;let p={kind:"archive"};if(r){const{fetchImage:s,RegistryError:a}=await i.e(3727).then(i.bind(i,73727));try{const i=await s(r,{platform:typeof t.flags.platform==="string"?t.flags.platform:"linux/amd64",allowLoopbackHttp:!!t.flags["allow-http-loopback"]});u=i.tar;p=i.source}catch(t){if(t instanceof a){process.stderr.write(`agentic-security image scan: ${t.message} (${t.code})\n`);return 1}throw t}}else if(a){const{saveFromEngine:t,EngineError:r}=await i.e(8633).then(i.bind(i,98633));try{const i=await t(s,{runtime:a});u=i.tar;p=i.source}catch(t){if(t instanceof r){process.stderr.write(`agentic-security image scan: ${t.message} (${t.code})\n`);return 1}throw t}}else{const t=_readFileOrError(s);if(!t.ok){process.stderr.write(`agentic-security image scan: ${t.message}\n`);return 1}u=t.buf}const f=await _scanArchiveFresh(u);if(!f.ok){process.stderr.write(`agentic-security image scan: ${f.message}\n`);return 1}f.record.source=p;await _persistArtifactScan(f.record);if(t.flags.attest){const{buildArtifactEvidenceBundle:t,signArtifactEvidenceBundle:s,ensureKeyPair:r}=await i.e(8825).then(i.bind(i,58825));const{statePath:a,safeWriteState:o,ensureStateDir:u}=await Promise.resolve().then(i.bind(i,31174));const h=t(f.record,{engineVersion:SCANNER_VERSION_FOR_ATTEST(),source:p});const m=r();const g=s(h,m.privateKeyPem);const x=_artifactScanDigestHex(f.record.inventory.digest);if(u(process.cwd())&&x){const t=a(process.cwd(),"attestations",`artifact-${x.slice(0,16)}.json`);if(o(t,JSON.stringify(g,null,2)))process.stderr.write(`agentic-security image scan: signed evidence written to ${l.relative(process.cwd(),t)}\n`);else process.stderr.write("agentic-security image scan: --attest could not write the signed bundle (state writes are disabled or this directory has no project marker); nothing was signed to disk.\n")}else process.stderr.write("agentic-security image scan: --attest could not write the signed bundle (no usable .agentic-security directory here); nothing was signed to disk.\n")}if(o==="json"){process.stdout.write(JSON.stringify(f.record,null,2)+"\n");return 0}const{inventory:h,vulnerabilities:m,secrets:g}=f.record;const x=m.filter(t=>t.type==="vulnerable_dep").length;process.stdout.write([`Image digest: ${h.digest} (${h.digestKind})`,p.kind==="registry"?`Source: ${p.registry}/${p.repository}:${p.reference}${p.platform?` (${p.platform})`:""}, ${p.bytes} bytes fetched${p.authenticated?", authenticated":""}`:p.kind==="engine"?`Source: local ${p.runtime} image ${p.reference}`:"",`OS/architecture: ${h.os}/${h.architecture}`,`OS packages: ${h.osPackages.length}, application packages: ${h.appPackages.length}`,`Vulnerabilities (OSV): ${x}`,`Secrets deleted-but-recoverable from an earlier layer: ${g.deletedButRecoverable.length}`,h.materializationTruncated?"NOTE: some layer content exceeded the scan size cap and was skipped.":""].filter(Boolean).join("\n")+"\n");return 0}async function cmdImageVerify(t){const s=t._[2];if(!s){process.stderr.write("agentic-security image verify: provide a path to a docker-archive or oci-archive tar, or a previously-scanned digest.\n");return 2}const r=await _resolveArtifactScan(s);if(!r.ok){process.stderr.write(`agentic-security image verify: ${r.message}\n`);return 1}const{inventory:a}=r.record;const{verifyImageSignature:o,verifyProvenanceAttestation:l}=await i.e(2675).then(i.bind(i,82675));let u=null;let p=null;let f=null;if(typeof t.flags.signature==="string"){const s=_readFileOrError(t.flags.signature);if(!s.ok){process.stderr.write(`agentic-security image verify: --signature: ${s.message}\n`);return 1}u=s.buf}if(typeof t.flags["public-key"]==="string"){const s=_readFileOrError(t.flags["public-key"]);if(!s.ok){process.stderr.write(`agentic-security image verify: --public-key: ${s.message}\n`);return 1}p=s.buf.toString("utf8")}if(typeof t.flags.attestation==="string"){const s=_readFileOrError(t.flags.attestation);if(!s.ok){process.stderr.write(`agentic-security image verify: --attestation: ${s.message}\n`);return 1}try{f=JSON.parse(s.buf.toString("utf8"))}catch(t){process.stderr.write(`agentic-security image verify: --attestation is not valid JSON: ${t.message}\n`);return 1}}let h=o({digest:a.digest,signature:u,publicKeyPem:p});if(t.flags.cosign){const{verifyWithCosign:s}=await i.e(2946).then(i.bind(i,52946));const o=typeof t.flags.repository==="string"?t.flags.repository:r.record.source?.kind==="registry"?`${r.record.source.registry}/${r.record.source.repository}`:null;h=o?await s({repository:o,digest:a.digest,publicKeyPem:p,certificateIdentity:t.flags["certificate-identity"],certificateOidcIssuer:t.flags["certificate-oidc-issuer"]}):{state:"unavailable",via:"cosign",reason:"cosign verifies against a registry: give --repository <registry/repo>, or scan with --registry so the repository is known"}}const m=l({digest:a.digest,envelope:f,publicKeyPem:p});const g={digest:a.digest,signature:h,attestation:m};process.stdout.write(JSON.stringify(g,null,2)+"\n");return h.state==="invalid"||m.state==="invalid"?1:0}async function cmdProvenanceTrace(t){const s=t._[2];if(!s){process.stderr.write("agentic-security provenance trace: provide a path to an image archive, or a previously-scanned digest.\n");return 2}const r=await _resolveArtifactScan(s);if(!r.ok){process.stderr.write(`agentic-security provenance trace: ${r.message}\n`);return 1}const{inventory:o,vulnerabilities:u}=r.record;let p=null;if(typeof t.flags["deployment-id"]==="string"){p={id:t.flags["deployment-id"],environment:typeof t.flags["deployment-environment"]==="string"?t.flags["deployment-environment"]:null,digest:typeof t.flags["deployment-digest"]==="string"?t.flags["deployment-digest"]:null,evidence:"operator-declared"}}const{buildArtifactProvenanceGraph:f,traceArtifactProvenanceGraph:h}=await i.e(6447).then(i.bind(i,46447));const m=f({inventory:o,vulnerabilities:u,deployment:p});const g=m.nodes.find(t=>t.kind==="gitCommit");const x=h(m,g.id);let k=null;if(typeof t.flags.source==="string"){const s=l.resolve(t.flags.source);const r=l.join(s,".agentic-security","last-scan.json");if(!a.existsSync(r)){process.stderr.write(`agentic-security provenance trace: --source "${t.flags.source}" has no .agentic-security/last-scan.json — run "scan" there first.\n`);return 1}const p=JSON.parse(a.readFileSync(r,"utf8"));const{detectSourceArtifactMismatch:f}=await i.e(6645).then(i.bind(i,36645));k=f({sourceVulnerabilities:p.supplyChain||[],artifactVulnerabilities:u,artifactComponents:[...o.osPackages,...o.appPackages]})}const _=t.flags.format??"json";if(_==="json"){process.stdout.write(JSON.stringify({artifactProvenanceGraph:m,trace:x,mismatch:k},null,2)+"\n");return 0}const T=[`Artifact digest: ${o.digest}`,`Source commit: ${g.known?g.sha:"(not declared — no org.opencontainers.image.revision label)"}`];if(k){T.push("");if(k.scenarioA.length>0){T.push("SOURCE: FIXED");T.push("DEPLOYED ARTIFACT: STILL VULNERABLE");T.push("PRODUCTION EXPOSURE: PRESENT");T.push(` ${k.scenarioA.length} vulnerabilit${k.scenarioA.length===1?"y":"ies"} present in this artifact, already fixed in current source: ${k.scenarioA.map(t=>t.osvId).join(", ")}`)}if(k.scenarioB.length>0){T.push(`${k.scenarioA.length>0?"":"SOURCE: VULNERABLE\n"}BUILT ARTIFACT: AFFECTED COMPONENT ABSENT`);T.push(` ${k.scenarioB.length} vulnerabilit${k.scenarioB.length===1?"y":"ies"} flagged in current source did not actually ship in this artifact: ${k.scenarioB.map(t=>t.osvId).join(", ")}`)}if(!k.hasMismatch)T.push("No mismatch: current source and this deployed artifact agree.")}process.stdout.write(T.join("\n")+"\n");return 0}async function cmdSupplyVex(t){const s=t._[2];if(!s){process.stderr.write("agentic-security supply vex: provide a path to an image archive, or a previously-scanned digest.\n");return 2}const r=await _resolveArtifactScan(s);if(!r.ok){process.stderr.write(`agentic-security supply vex: ${r.message}\n`);return 1}const{inventory:o,vulnerabilities:u}=r.record;let p=new Map;if(typeof t.flags.source==="string"){const s=l.resolve(t.flags.source);const i=l.join(s,".agentic-security","last-scan.json");if(a.existsSync(i)){const t=JSON.parse(a.readFileSync(i,"utf8"));for(const s of t.supplyChain||[]){if(s.type!=="vulnerable_dep")continue;const t=s.purl||`${s.ecosystem}:${s.name}`;const i=s.functionReachable==="reachable"?true:s.functionReachable==="unreachable"?false:null;if(i!==null)p.set(t,{reachable:i,reason:s.reachabilityTier||null})}}}const{deriveVexStatus:f}=await i.e(9102).then(i.bind(i,49102));const h=[...o.osPackages,...o.appPackages];const m=u.filter(t=>t.type==="vulnerable_dep").map(t=>{const s=t.purl||`${t.ecosystem}:${t.name}`;const i=p.get(s)||null;const r=f({vulnerability:t,artifactComponents:h,reachability:i});return{purl:t.purl||null,name:t.name,ecosystem:t.ecosystem,osvId:t.osvId,...r}});const g=t.flags.format??"json";if(g==="json"){process.stdout.write(JSON.stringify({digest:o.digest,statements:m},null,2)+"\n");return 0}const x=[`VEX for ${o.digest}:`];for(const t of m)x.push(` ${t.osvId} (${t.name}): ${t.status}${t.justification?` [${t.justification}]`:""}`);process.stdout.write(x.join("\n")+"\n");return 0}async function _writeConfigAtomic(t,s){const i=l.dirname(t);await o.mkdir(i,{recursive:true});const r=l.join(i,`.${l.basename(t)}.tmp-${process.pid}-${u.randomBytes(4).toString("hex")}`);try{const i=await o.open(r,"w");try{await i.writeFile(s);if(typeof i.sync==="function")await i.sync()}finally{await i.close()}try{const{mode:s}=await o.stat(t);await o.chmod(r,s&511)}catch{}await o.rename(r,t)}catch(t){try{await o.unlink(r)}catch{}throw t}}async function cmdGovernancePropose(t){const s=t._[2]||".";const r=l.resolve(s);const o=t.flags.patch;if(!o||typeof o!=="string"){process.stderr.write("agentic-security governance propose-edit: --patch <file> is required.\n");return 2}let p;try{p=JSON.parse(a.readFileSync(l.resolve(o),"utf8"))}catch(t){process.stderr.write(`agentic-security governance propose-edit: could not read/parse --patch file "${o}": ${t.message}\n`);return 2}const{RECIPIENT_CONFIG_FILENAME:f}=await Promise.resolve().then(i.bind(i,96703));const{statePath:h}=await Promise.resolve().then(i.bind(i,31174));const m=h(r,f);const g=a.existsSync(m)?a.readFileSync(m,"utf8"):'{"recipients":{}}';const x=u.createHash("sha256").update(g).digest("hex");let k;try{k=JSON.parse(g)}catch(t){process.stderr.write(`agentic-security governance propose-edit: the current config file is not valid JSON: ${t.message}\n`);return 2}const _=t.flags["base-digest"];if(_&&_!==x){process.stderr.write(`agentic-security governance propose-edit: the config file changed since --base-digest was computed (a concurrent edit) — refusing to write. Re-read the current file and recompute your patch.\n`);return 2}const{proposeGovernanceEdit:T}=await i.e(5343).then(i.bind(i,65343));const{valid:C,errors:A,diff:I,merged:P}=T(k,p);if(!C){process.stderr.write(`agentic-security governance propose-edit: --patch file failed validation:\n${A.map(t=>` ${t.key}: ${t.message}`).join("\n")}\n`);return 1}const $=!!t.flags.yes;let O=false;let D=null;if($){const{isSafeStateDir:t}=await Promise.resolve().then(i.bind(i,31174));if(!t(l.dirname(m))){process.stderr.write(`agentic-security governance propose-edit: refusing to write — "${r}" does not look like a project directory.\n`);return 2}const s=h(r,"recipient-profiles-backups");const o=l.join(s,`${Date.now()}-${u.randomBytes(4).toString("hex")}.bak`);if(a.existsSync(m)){a.mkdirSync(s,{recursive:true});a.copyFileSync(m,o);D=o}await _writeConfigAtomic(m,JSON.stringify(P,null,2));O=true;const{auditCall:p}=await i.e(9390).then(i.bind(i,69390));p({sessionRoot:r,tool:"governance_propose_edit",args:{file:f,added:I.added,removed:I.removed,changedKeys:I.changed.map(t=>t.key),beforeDigest:x,backupPath:D},outcome:"ok"})}const N={currentDigest:x,diff:I,written:O,backupPath:D};const j=t.flags.output;if(j){a.writeFileSync(l.resolve(j),JSON.stringify(N,null,2))}else{process.stdout.write(JSON.stringify(N,null,2)+"\n")}return 0}function _federateEndpointScope(t,s,i,r){const a=new Set(Array.isArray(t&&t.limitations)?t.limitations.filter(t=>typeof t==="string"):[]);for(const s of r&&Array.isArray(r.flows)?r.flows:[]){if(s&&(s.source===(t&&t.id)||s.sink===(t&&t.id))&&Array.isArray(s.limitations))for(const t of s.limitations)if(typeof t==="string")a.add(t)}return{target:typeof s==="string"?s:null,config:typeof i==="string"?i:null,analysis:t&&t.analysis&&typeof t.analysis==="object"?t.analysis:null,limitations:[...a].sort()}}async function cmdFederateDeclare(t){const s=t._[2]||".";const r=l.resolve(s);const o=t.flags["local-node"];const p=t.flags["remote-graph"];const f=t.flags["remote-node"];if(!o||typeof o!=="string"){process.stderr.write("agentic-security federate declare: --local-node <node-id> is required.\n");return 2}if(!p||typeof p!=="string"){process.stderr.write("agentic-security federate declare: --remote-graph <file> is required.\n");return 2}if(!f||typeof f!=="string"){process.stderr.write("agentic-security federate declare: --remote-node <node-id> is required.\n");return 2}const{CROSS_REPO_LINK_VERSION:h,CROSS_REPO_LINKS_FILENAME:m,CROSS_REPO_LINK_RELATIONSHIP:g,validateCrossRepoLink:x}=await Promise.resolve().then(i.bind(i,24974));const k=t.flags.relationship??g;if(k!==g){process.stderr.write(`agentic-security federate declare: --relationship must be "${g}" (got "${k}") — no other relationship value is defined.\n`);return 2}const{statePath:_,isSafeStateDir:T}=await Promise.resolve().then(i.bind(i,31174));const{crossRepoLinkId:C}=await Promise.resolve().then(i.bind(i,45034));const{loadRemoteGraphExport:A}=await i.e(4863).then(i.bind(i,54863));const{loadSignedGraph:I}=await i.e(8218).then(i.bind(i,78218));const{computeGraphDigest:P}=await Promise.resolve().then(i.bind(i,40859));const $=_(r,m);const O=a.existsSync($)?a.readFileSync($,"utf8"):'{"links":[]}';const D=u.createHash("sha256").update(O).digest("hex");const N=t.flags["base-digest"];if(N&&N!==D){process.stderr.write("agentic-security federate declare: the cross-repo-links file changed since --base-digest was computed (a concurrent edit) — refusing to write. Re-read the current file and recompute your declaration.\n");return 2}let j;try{j=JSON.parse(O)}catch(t){process.stderr.write(`agentic-security federate declare: the current cross-repo-links file is not valid JSON: ${t.message}\n`);return 2}if(!j||typeof j!=="object"||Array.isArray(j)||!Array.isArray(j.links)){process.stderr.write('agentic-security federate declare: the current cross-repo-links file has no "links" array (expected {"links": [...]}).\n');return 2}const R=A(l.resolve(p));if(!R.ok){process.stderr.write(`agentic-security federate declare: could not load --remote-graph "${p}": ${R.message}\n`);return 2}if(!R.digestMatches){process.stderr.write(`agentic-security federate declare: WARNING — ${R.message}\n`)}const L=(R.graph.nodes??[]).find(t=>t.id===f);if(!L){process.stderr.write(`agentic-security federate declare: --remote-node "${f}" was not found in the remote export's own nodes.\n`);return 2}const F=I(r);if(!F.ok){process.stderr.write(`agentic-security federate declare: could not load the local scanned graph: ${F.message}\n`);return 1}const M=(F.graph.nodes??[]).find(t=>t.id===o);if(!M){process.stderr.write(`agentic-security federate declare: --local-node "${o}" was not found in the current locally-scanned graph.\n`);return 2}const{crossRepoLinks:B,...W}=F.graph;const U=P(W);const H={localGraphId:F.graph.graphId,localGraphDigest:U,localNodeId:o,remoteGraphId:R.graph.graphId,remoteGraphDigest:R.digest,remoteNodeId:f,relationship:k};const V={id:C(H),version:h,provenance:"manual",relationship:k,local:{graphId:F.graph.graphId,graphDigest:U,nodeId:o},remote:{repository:t.flags.repository??"(unspecified)",sourceFile:l.resolve(p),graphId:R.graph.graphId,graphDigest:R.digest,nodeId:f},scope:{local:_federateEndpointScope(M,t.flags["local-target"],t.flags["local-config"],F.graph),remote:_federateEndpointScope(L,t.flags["remote-target"],t.flags["remote-config"],R.graph)},evidence:{declared:true,observed:false},rationale:t.flags.rationale??null,declaredBy:process.env.USER||process.env.USERNAME||"(unspecified)",declaredAt:(new Date).toISOString()};const{valid:K,errors:G}=x(V);if(!K){process.stderr.write(`agentic-security federate declare: constructed record failed validation:\n${G.map(t=>` ${t.path}: ${t.message}`).join("\n")}\n`);return 1}const J=!!t.flags.yes;let X=false;let Y=null;if(J){if(!T(l.dirname($))){process.stderr.write(`agentic-security federate declare: refusing to write — "${r}" does not look like a project directory.\n`);return 2}const t=_(r,"cross-repo-links-backups");const s=l.join(t,`${Date.now()}-${u.randomBytes(4).toString("hex")}.bak`);if(a.existsSync($)){a.mkdirSync(t,{recursive:true});a.copyFileSync($,s);Y=s}const p=j.links.findIndex(t=>t&&t.id===V.id);const h=p===-1?[...j.links,V]:j.links.map((t,s)=>s===p?V:t);const g={...j,links:h};await _writeConfigAtomic($,JSON.stringify(g,null,2));X=true;const{auditCall:x}=await i.e(9390).then(i.bind(i,69390));x({sessionRoot:r,tool:"federate_declare",args:{file:m,id:V.id,localNodeId:o,remoteNodeId:f,digestMatches:R.digestMatches,beforeDigest:D,backupPath:Y},outcome:"ok"})}const Q={currentDigest:D,record:V,digestMatches:R.digestMatches,written:X,backupPath:Y};const Z=t.flags.output;if(Z){a.writeFileSync(l.resolve(Z),JSON.stringify(Q,null,2))}else{process.stdout.write(JSON.stringify(Q,null,2)+"\n")}return 0}async function cmdFederateList(t){const s=t._[2]||".";const r=l.resolve(s);const{statePath:o}=await Promise.resolve().then(i.bind(i,31174));const{CROSS_REPO_LINKS_FILENAME:u}=await Promise.resolve().then(i.bind(i,24974));const{loadRemoteGraphExport:p}=await i.e(4863).then(i.bind(i,54863));const{loadSignedGraph:f}=await i.e(8218).then(i.bind(i,78218));const h=o(r,u);let m=[];if(a.existsSync(h)){let t;try{t=JSON.parse(a.readFileSync(h,"utf8"))}catch(t){process.stderr.write(`agentic-security federate list: ${h} is not valid JSON: ${t.message}\n`);return 2}m=Array.isArray(t?.links)?t.links:[]}const g=f(r);const x=g.ok?new Set((g.graph.nodes??[]).map(t=>t.id)):null;const k=m.map(t=>{const s=x?x.has(t?.local?.nodeId):null;let i;const r=t?.remote?.sourceFile;if(typeof r!=="string"||!r){i={checked:false,reason:"no sourceFile recorded on this record"}}else{const s=p(r);if(!s.ok){i={checked:true,ok:false,reason:s.reason,message:s.message}}else{const r=(s.graph.nodes??[]).some(s=>s.id===t?.remote?.nodeId);i={checked:true,ok:true,digestMatches:s.digestMatches,nodeStillPresent:r}}}return{id:t?.id??null,local:{nodeId:t?.local?.nodeId??null,stillValid:s},remote:{sourceFile:r??null,nodeId:t?.remote?.nodeId??null,...i},scope:t?.scope??null,evidence:t?.evidence??{declared:true,observed:false},rationale:t?.rationale??null,declaredBy:t?.declaredBy??null,declaredAt:t?.declaredAt??null}});const _={links:k,localGraphAvailable:g.ok};const T=t.flags.output;if(T){a.writeFileSync(l.resolve(T),JSON.stringify(_,null,2))}else{process.stdout.write(JSON.stringify(_,null,2)+"\n")}return 0}function _emitRemediationReport(t,s){const i=JSON.stringify(t,null,2);const r=s.flags.output;if(r){a.writeFileSync(l.resolve(r),i)}else{process.stdout.write(i+"\n")}}async function _remediationWrite(t,s,r,a,o,u={}){const{ledgerPaths:p,latestEventHash:f,readLedgerEvents:h,appendLedgerEvent:m}=await i.e(2432).then(i.bind(i,52432));const{foldRemediationLedger:g,validateTransition:x}=await i.e(5561).then(i.bind(i,75561));const{ledgerPath:k}=p(t);const _=a.itemId??a.id??null;const T=f(t);const C=o.flags["base-event"];if(C!==undefined&&C!==T){process.stderr.write(`agentic-security remediation ${s}: the ledger changed since --base-event was computed (a concurrent write) — refusing to append. Re-read the ledger with \`remediation list\` and retry.\n`);return 2}const A=!!o.flags.yes;if(A){const{isSafeStateDir:r}=await Promise.resolve().then(i.bind(i,31174));if(!r(l.dirname(k))){process.stderr.write(`agentic-security remediation ${s}: refusing to write — "${t}" does not look like a project directory.\n`);return 2}}if(!A){const i=h(t);const r=g(i);const l=_!=null?r[_]??null:null;const p=g([...i,a]);const f=_!=null?p[_]??null:null;const m={verb:s,itemId:_,proposedEvent:a,baseEvent:T,written:false,wouldBe:f,...u};const{valid:k,errors:C}=x(l,a);if(!k){m.errors=C;_emitRemediationReport(m,o);for(const t of C)process.stderr.write(`agentic-security remediation ${s}: ${t.field}: ${t.message}\n`);return 1}_emitRemediationReport(m,o);return 0}let I;try{I=await m(t,a,{expectedBaseHash:C})}catch(t){process.stderr.write(`agentic-security remediation ${s}: unexpected error writing the ledger: ${t&&t.message?t.message:t}\n`);return 4}if(!I.valid){for(const t of I.errors)process.stderr.write(`agentic-security remediation ${s}: ${t.field}: ${t.message}\n`);if(I.errors.some(t=>t.field==="(state)"||t.field==="(scanRoot)"))return 2;return 1}const{auditCall:P}=await i.e(9390).then(i.bind(i,69390));P({sessionRoot:t,tool:r,args:{itemId:_,eventType:a.type,baseEvent:T,eventHash:I.hash},outcome:"ok"});const $={verb:s,itemId:_,proposedEvent:a,baseEvent:T,written:true,eventHash:I.hash,...u};_emitRemediationReport($,o);return 0}async function cmdRemediationOpen(t){const s=t._[2]||".";const r=l.resolve(s);const o=t.flags.assessment;const p=t.flags.owner;const f=t.flags.due;const h=t.flags.control;const m=t.flags["required-evidence"];for(const[t,s]of[["--assessment",o],["--owner",p],["--due",f],["--control",h],["--required-evidence",m]]){if(!s||typeof s!=="string"){process.stderr.write(`agentic-security remediation open: ${t} is required.\n`);return 2}}let x;try{x=JSON.parse(a.readFileSync(l.resolve(o),"utf8"))}catch(t){process.stderr.write(`agentic-security remediation open: could not read/parse --assessment file "${o}": ${t&&t.message?t.message:t}\n`);return 2}const{validateImpactAssessment:k}=await i.e(2659).then(i.bind(i,42659));const{valid:_,errors:T}=k(x);if(!_){process.stderr.write(`agentic-security remediation open: --assessment file failed validation:\n${T.map(t=>` ${t.path}: ${t.message}`).join("\n")}\n`);return 2}const C=t.flags.snapshot;let A;if(C!==undefined){A=(0,g.N2)(r,C);if(!A){process.stderr.write(`agentic-security remediation open: no persisted GraphSnapshot found for commit "${C}" — pass a commit that was actually scanned.\n`);return 2}}else{const t=(0,g.Im)(r);if(t.length===0){process.stderr.write(`agentic-security remediation open: no persisted GraphSnapshot found for "${r}" — run a scan with AGENTIC_SECURITY_LINEAGE_DEEP=1 first.\n`);return 2}A=t[0]}const I=String(m).split(",").map(t=>t.trim()).filter(Boolean);if(I.length===0){process.stderr.write("agentic-security remediation open: --required-evidence must name at least one flow id.\n");return 2}const P=t.flags.id||`rem-${u.randomBytes(6).toString("hex")}`;const $=[...new Set([...I,...typeof x.targetId==="string"&&x.targetId.startsWith("flow:")?[x.targetId]:[]])].sort();const O={type:"opened",at:(new Date).toISOString(),itemId:P,id:P,owner:p,dueDate:f,recommendedControl:h,assessment:{assessmentId:x.id,targetId:x.targetId,targetKind:x.targetKind,traceKind:x.traceKind,scope:x.scope,graphId:x.graphId,graphDigest:x.graphDigest,snapshotId:A.id,assessmentPath:l.resolve(o)},affectedFlowIds:$,affectedNodeIds:x.affectedNodeIds??[],affectedEdgeIds:x.affectedEdgeIds??[],requiredEvidence:I,manualAttestationPermitted:!!t.flags["allow-manual-attestation"]};const{validateOpenPayload:D}=await i.e(5561).then(i.bind(i,75561));const{valid:N,errors:j}=D(O);if(!N){process.stderr.write(`agentic-security remediation open: ${j.map(t=>`${t.field}: ${t.message}`).join("\n")}\n`);return 1}return _remediationWrite(r,"open","remediation_open",O,t)}async function cmdRemediationUpdate(t){const s=t._[2]||".";const i=l.resolve(s);const r=t.flags.id;if(!r||typeof r!=="string"){process.stderr.write("agentic-security remediation update: --id <itemId> is required.\n");return 2}const a=t.flags.state;if(!a||typeof a!=="string"){process.stderr.write("agentic-security remediation update: --state <in_progress|awaiting_verification> is required.\n");return 2}if(a==="verified"){process.stderr.write('agentic-security remediation update: state_changed can never reach "verified" — run `agentic-security remediation verify` instead.\n');return 1}if(a!=="in_progress"&&a!=="awaiting_verification"){process.stderr.write(`agentic-security remediation update: --state must be one of in_progress|awaiting_verification (got ${JSON.stringify(a)}).\n`);return 2}const o={type:"state_changed",at:(new Date).toISOString(),itemId:r,state:a};return _remediationWrite(i,"update","remediation_update",o,t)}async function cmdRemediationAcceptRisk(t){const s=t._[2]||".";const r=l.resolve(s);const a=t.flags.id;const o=t.flags.approver;const u=t.flags.reason;const p=t.flags.scope;const f=t.flags.expires;for(const[t,s]of[["--id",a],["--approver",o],["--reason",u],["--scope",p],["--expires",f]]){if(!s||typeof s!=="string"){process.stderr.write(`agentic-security remediation accept-risk: ${t} is required.\n`);return 2}}if(!/^\d{4}-\d{2}-\d{2}$/.test(f)){process.stderr.write(`agentic-security remediation accept-risk: --expires must be a YYYY-MM-DD date (got ${JSON.stringify(f)}).\n`);return 2}const{loadApproverRegistry:h,verifyApprover:m,checkSeparationOfDuties:g}=await Promise.resolve().then(i.bind(i,10437));const x=h(r);const k=m(x,o,[]);if(!k.verified){process.stderr.write(`agentic-security remediation accept-risk: ${k.reason}\n`);return 1}const _=g(x,t.flags.author,o);if(!_.ok){process.stderr.write(`agentic-security remediation accept-risk: ${_.reason}\n`);return 1}const T={type:"accepted_risk",at:(new Date).toISOString(),itemId:a,approver:o,reason:u,scope:p,expiration:f};return _remediationWrite(r,"accept-risk","remediation_accept_risk",T,t)}function _remMdInline(t){return String(t).replace(/\r\n|\r|\n/g," ")}function _remMdCell(t){return _remMdInline(t).replace(/\\/g,"\\\\").replace(/\|/g,"\\|")}function _renderRemediationListMarkdown(t,s){const i=[];if(s&&!s.ok){i.push(`> **WARNING — ledger integrity check failed**: the ledger's real content has ${s.totalLines} lines but only ${s.verifiedLines} verify; the list below may be missing recent items or reflect a tampered/truncated history. Do not treat it as complete.`);i.push("")}if(t.length===0){i.push("_no remediation items_");return i.join("\n")+"\n"}i.push("| id | state | owner | dueDate | recommendedControl |");i.push("| --- | --- | --- | --- | --- |");for(const s of t){const t=String(s.recommendedControl??"");const r=t.length>60?t.slice(0,60)+"…":t;i.push(`| ${_remMdCell(s.id)} | ${_remMdCell(s.state)} | ${_remMdCell(s.owner)} | ${_remMdCell(s.dueDate)} | ${_remMdCell(r)} |`)}return i.join("\n")+"\n"}async function cmdRemediationList(t){const s=t._[2]||".";const r=l.resolve(s);const o=t.flags.format??"json";if(o!=="json"&&o!=="markdown"){process.stderr.write(`agentic-security remediation list: --format must be one of json|markdown (got ${JSON.stringify(o)}).\n`);return 2}const{readLedgerEvents:u,ledgerIntegrity:p}=await i.e(2432).then(i.bind(i,52432));const{foldRemediationLedger:f}=await i.e(5561).then(i.bind(i,75561));const h=Object.values(f(u(r))).sort((t,s)=>t.id<s.id?-1:t.id>s.id?1:0);const m=p(r);if(!m.ok){process.stderr.write(`agentic-security remediation list: WARNING — the ledger's real content has ${m.totalLines} lines but only ${m.verifiedLines} verify; the list below may be missing recent items or reflect a tampered/truncated history. Do not treat it as complete.\n`)}const g=o==="json"?JSON.stringify({items:h,integrity:m},null,2):_renderRemediationListMarkdown(h,m);const x=t.flags.output;if(x){a.writeFileSync(l.resolve(x),g)}else{process.stdout.write(g.endsWith("\n")?g:g+"\n")}return 0}async function cmdRemediationVerify(t){const s=t._[2]||".";const r=l.resolve(s);const a=t.flags.id;if(!a||typeof a!=="string"){process.stderr.write("agentic-security remediation verify: --id <itemId> is required.\n");return 2}const{readLedgerEvents:o}=await i.e(2432).then(i.bind(i,52432));const{foldRemediationLedger:u,evaluateVerificationEvidence:p}=await i.e(5561).then(i.bind(i,75561));const f=u(o(r));const h=f[a];if(!h){process.stderr.write(`agentic-security remediation verify: no remediation item found with id "${a}".\n`);return 1}if(t.flags["manual-attestation"]){const s=t.flags.approver;const o=t.flags.reason;if(!s||typeof s!=="string"||!o||typeof o!=="string"){process.stderr.write("agentic-security remediation verify: --manual-attestation requires --approver <id> and --reason <text>.\n");return 2}const{loadApproverRegistry:l,verifyApprover:u,checkSeparationOfDuties:p}=await Promise.resolve().then(i.bind(i,10437));const f=l(r);const h=u(f,s,[]);if(!h.verified){process.stderr.write(`agentic-security remediation verify: ${h.reason}\n`);return 1}const m=p(f,t.flags.author,s);if(!m.ok){process.stderr.write(`agentic-security remediation verify: ${m.reason}\n`);return 1}if(t.flags.against!==undefined){process.stderr.write("agentic-security remediation verify: --against has no effect with --manual-attestation (no scan comparison is performed for a manual attestation).\n")}const x=(0,g.Im)(r);const k={type:"manual_attestation",at:(new Date).toISOString(),itemId:a,approver:s,reason:o,...x.length>0?{snapshotId:x[0].id}:{}};return _remediationWrite(r,"verify","remediation_verify",k,t)}const m=(0,g.Im)(r);if(m.length===0){process.stderr.write(`agentic-security remediation verify: no persisted GraphSnapshot found for "${r}" — run a scan with AGENTIC_SECURITY_LINEAGE_DEEP=1 first.\n`);return 2}const x=m[0];const k=t.flags.against;if(k!==undefined&&(typeof k!=="string"||!k)){process.stderr.write("agentic-security remediation verify: --against requires a commit value.\n");return 2}let _;let T;if(k!==undefined){_=(0,g.N2)(r,k);if(!_){process.stderr.write(`agentic-security remediation verify: no persisted GraphSnapshot found for commit "${k}" — pass a commit that was actually scanned.\n`);return 2}T="against"}else{const t=h.assessment?.snapshotId;const s=t?m.find(s=>s.id===t):null;if(s){_=s;T="incident"}else{_=(0,g.Jf)(r,x.commit);T="most-recent-prior"}}if(!_||_.commit===x.commit){process.stderr.write(`agentic-security remediation verify: an item cannot be verified until a second lineage scan exists — only one persisted GraphSnapshot is available (commit "${x.commit}"). Scan again after a code change, or pass --against <commit>.\n`);return 2}let C;if(x.capturedAt<=_.capturedAt){C={outcome:"unverifiable",reason:"stale_after_snapshot",beforeCapturedAt:_.capturedAt,afterCapturedAt:x.capturedAt}}else{const{computeGraphDiff:t}=await i.e(3518).then(i.bind(i,83518));try{const s=t(_,x);C=p(s,h.requiredEvidence)}catch(t){C={outcome:"unverifiable",reason:"incomparable_snapshots",detail:t&&t.message?t.message:String(t)}}}const A=(new Date).toISOString();let I;if(C.outcome==="verified"){I={type:"scan_verification",at:A,itemId:a,outcome:"verified",snapshotId:x.id}}else{I={type:"scan_verification",at:A,itemId:a,outcome:"unverifiable",reason:C.reason};for(const t of["unsatisfiedFlowIds","coverageRegressionReasons","reidentifiedTo","flowId","detail"]){if(C[t]!==undefined)I[t]=C[t]}}const P={beforeSnapshotId:_.id,afterSnapshotId:x.id,beforeSnapshotSource:T,evidenceOutcome:C};return _remediationWrite(r,"verify","remediation_verify",I,t,P)}async function cmdRemediationReopenCheck(t){const s=t._[2]||".";const r=l.resolve(s);const a=(0,g.Im)(r);if(a.length===0){process.stderr.write(`agentic-security remediation reopen-check: no persisted GraphSnapshot found for "${r}" — run a scan with AGENTIC_SECURITY_LINEAGE_DEEP=1 first.\n`);return 2}const o=a[0];const u=t.flags.against;if(u!==undefined&&(typeof u!=="string"||!u)){process.stderr.write("agentic-security remediation reopen-check: --against requires a commit value.\n");return 2}let p;if(u!==undefined){p=(0,g.N2)(r,u);if(!p){process.stderr.write(`agentic-security remediation reopen-check: no persisted GraphSnapshot found for commit "${u}" — pass a commit that was actually scanned.\n`);return 2}}else{p=(0,g.Jf)(r,o.commit);if(!p){process.stderr.write(`agentic-security remediation reopen-check: only one persisted GraphSnapshot exists (commit "${o.commit}") — nothing to compare against yet. Scan again after a code change, or pass --against <commit>.\n`);return 2}}const f=t.flags["drift-policy"];const h=f!==undefined;let m={policies:[]};if(h){if(typeof f!=="string"||!f){process.stderr.write("agentic-security remediation reopen-check: --drift-policy requires a file path.\n");return 2}const t=l.resolve(f);const s=_validateDriftPolicyFile(t,f,"reopen-check");if(!s.ok){process.stderr.write(s.message);return 2}const{loadDriftPolicies:r}=await i.e(6662).then(i.bind(i,6662));m=r(t)}const{readLedgerEvents:x,appendLedgerEvent:k}=await i.e(2432).then(i.bind(i,52432));const{foldRemediationLedger:_}=await i.e(5561).then(i.bind(i,75561));const{computeGraphDiff:T}=await i.e(3518).then(i.bind(i,83518));let C=null;if(h){({evaluateDriftPolicies:C}=await i.e(6662).then(i.bind(i,6662)))}const A=Object.values(_(x(r))).filter(t=>t.state==="verified").sort((t,s)=>t.id<s.id?-1:t.id>s.id?1:0);const I=[];const P=[];for(const t of A){let s;let i;if(t.verificationSnapshotId){const r=a.find(s=>s.id===t.verificationSnapshotId);if(r){s=r;i="verification"}}if(!s){s=p;i="default"}if(!s||s.commit===o.commit){P.push({itemId:t.id,reason:"no distinct before-snapshot could be resolved for this item"});continue}let r;try{r=T(s,o)}catch(s){P.push({itemId:t.id,reason:`incomparable snapshots: ${s&&s.message?s.message:s}`});continue}const l=new Set(t.affectedFlowIds??[]);let u=null;if(h){const{violations:t}=C(r,m,o.graph);const s=t.find(t=>l.has(t.flowId));if(s){u={mechanism:"drift-policy",reason:`drift-policy rule (${s.trigger}) matched flow ${s.flowId}: ${s.reason}`}}}if(!u){const t=(r.added?.flows??[]).find(t=>l.has(t.id)||t.causeClassification==="reidentified"&&l.has(t.reidentifiedFrom));if(t){u={mechanism:"affected-flow-diff",reason:`affected flow reappeared as ${t.id} in diff.added.flows (causeClassification: ${t.causeClassification}${t.reidentifiedFrom?`, reidentified from ${t.reidentifiedFrom}`:""})`}}}if(u){I.push({itemId:t.id,mechanism:u.mechanism,reason:u.reason,beforeSnapshotSource:i})}}const $=!!t.flags.yes;if(!$){const s={verb:"reopen-check",afterSnapshotId:o.id,driftPolicyProvided:h,written:false,wouldReopen:I,skipped:P};_emitRemediationReport(s,t);return 0}if(I.length>0){const{isSafeStateDir:t}=await Promise.resolve().then(i.bind(i,31174));const{ledgerPaths:s}=await i.e(2432).then(i.bind(i,52432));const{ledgerPath:a}=s(r);if(!t(l.dirname(a))){process.stderr.write(`agentic-security remediation reopen-check: refusing to write — "${r}" does not look like a project directory.\n`);return 2}}const O=[];const D=[];try{for(const t of I){const s={type:"reopened",at:(new Date).toISOString(),itemId:t.itemId,reason:t.reason};const i=await k(r,s);if(i.valid){O.push({itemId:t.itemId,mechanism:t.mechanism,reason:t.reason,beforeSnapshotSource:t.beforeSnapshotSource,eventHash:i.hash})}else{D.push({itemId:t.itemId,errors:i.errors})}}}catch(t){process.stderr.write(`agentic-security remediation reopen-check: unexpected error writing the ledger: ${t&&t.message?t.message:t}\n`);return 4}if(O.length>0){const{auditCall:t}=await i.e(9390).then(i.bind(i,69390));t({sessionRoot:r,tool:"remediation_reopen_check",args:{itemIds:O.map(t=>t.itemId)},outcome:"ok"})}const N={verb:"reopen-check",afterSnapshotId:o.id,driftPolicyProvided:h,written:O.length>0,reopened:O,failedToReopen:D,skipped:P};_emitRemediationReport(N,t);return 0}function _renderDataflowWatchStatusLine(t){const s=t.added.nodes.length,i=t.removed.nodes.length;const r=t.added.edges.length,a=t.removed.edges.length;const o=t.added.dataElements.length,l=t.removed.dataElements.length;const u=t.added.flows.length,p=t.removed.flows.length,f=t.changed.flows.length;if(s+i+r+a+o+l+u+p+f===0)return"no data-flow graph changes";return`+${u}/-${p} flows (~${f} changed), +${s}/-${i} nodes, +${r}/-${a} edges, +${o}/-${l} data elements`}function _renderDataflowWatchViolations(t,s){const i=s?"[watch-dataflow] !!! DRIFT POLICY VIOLATION !!!":"[watch-dataflow] *** drift policy violation ***";const r=[];for(const s of t){r.push(i);r.push(`[watch-dataflow] ${s.trigger}: flow ${s.flowId} — ${(s.dataElementNames??[]).join(", ")||"(unclassified data)"} -> ${s.sinkCategory??s.sinkNodeId??"unknown sink"}`);r.push(`[watch-dataflow] ${s.reason}`)}return r.length?r.join("\n")+"\n":""}async function cmdDataflowWatch(t){const s=t._[2]||".";const r=l.resolve(s);const a=t.flags["drift-policy"];if(a!==undefined&&(typeof a!=="string"||!a)){process.stderr.write("agentic-security dataflow watch: --drift-policy requires a file path.\n");return 2}const o=!!t.flags["fail-on-drift"];const u=a!==undefined;let p=null;let f=null;if(u){const t=l.resolve(a);const s=_validateDriftPolicyFile(t,a,"watch");if(!s.ok){process.stderr.write(s.message);return 2}const r=await i.e(6662).then(i.bind(i,6662));p=r.loadDriftPolicies(t);f=r.evaluateDriftPolicies}const{watchProject:h}=await i.e(9220).then(i.bind(i,19220));const{buildGraphSnapshot:g}=await Promise.resolve().then(i.bind(i,30373));const{computeGraphDiff:x}=await i.e(3518).then(i.bind(i,83518));process.env.AGENTIC_SECURITY_LINEAGE_DEEP="1";process.stderr.write(`[watch-dataflow] running seed scan for ${r}...\n`);const _lineageStatusReason=t=>t&&t.failure?`failure: ${t.failure}`:t&&t.reason?`reason: ${t.reason}`:"unknown reason";const k=await(0,H.Ao)(()=>(0,m.runScan)(r,{onProgress:scanProgressReporter()}),{exceptCategories:["provenance-cache"]});clearScanProgressLine();if(!k.scan.lineageGraph){process.stderr.write(`agentic-security dataflow watch: seed scan produced no data-flow graph (${_lineageStatusReason(k.scan.lineageStatus)}) — nothing to watch/diff against.\n`);return 1}let _=g(k.scan.lineageGraph,r);if(process.env.AGENTIC_SECURITY_NO_WATCH==="1"){process.stderr.write(`[watch-dataflow] AGENTIC_SECURITY_NO_WATCH=1 — watch mode is disabled; ran the seed scan only, not watching ${r} for changes.\n`);return 0}process.stderr.write(`[watch-dataflow] watching ${r} for data-flow graph changes on file change — Ctrl-C to stop.\n`);process.stderr.write("[watch-dataflow] does NOT refresh .agentic-security/lineage-graph.json on any rescan — an already-running `agentic-security explore` session will not reflect these edits live.\n");await h(r,async(t,s)=>{if(s){process.stderr.write(`[watch-dataflow] file watcher error: ${s&&s.message?s.message:s} — no longer watching for changes.\n`);return}try{const{scan:t}=await(0,H.Ao)(()=>(0,m.runScan)(r,{onProgress:scanProgressReporter()}),{exceptCategories:["provenance-cache"]});clearScanProgressLine();if(!t.lineageGraph){process.stderr.write(`[watch-dataflow] rescan produced no data-flow graph (${_lineageStatusReason(t.lineageStatus)}) — skipping this change.\n`);return}const s=g(t.lineageGraph,r);let i;try{i=x(_,s)}catch(t){process.stderr.write(`[watch-dataflow] could not diff: ${t&&t.message?t.message:t}\n`);return}let a=[];if(u){a=f(i,p,s.graph).violations}process.stderr.write("[watch-dataflow] "+_renderDataflowWatchStatusLine(i)+"\n");if(a.length){process.stderr.write(_renderDataflowWatchViolations(a,o))}_=s}catch(t){process.stderr.write(`[watch-dataflow] rescan failed: ${t&&t.message?t.message:t}\n`)}});return 0}function checkNodeVersionOrExit(){const t=G("../package.json").engines?.node;const s=Number(/(\d+)/.exec(t||"")?.[1]);const i=Number(process.versions.node.split(".")[0]);if(Number.isFinite(s)&&i<s){console.error(`agentic-security: requires Node.js ${t} — you're running Node ${process.versions.node}.\n`+`Upgrade Node (e.g. 'nvm install ${s}' or https://nodejs.org/) and try again.`);process.exit(1)}}async function main(){checkNodeVersionOrExit();const t=parseArgs(process.argv.slice(2));const s=t._[0];if(t.flags.llm)process.env.AGENTIC_SECURITY_LLM_PRESET=String(t.flags.llm);if(t.flags.model)process.env.AGENTIC_SECURITY_LLM_MODEL=String(t.flags.model);if(t.flags["allow-remote-ollama"])process.env.AGENTIC_SECURITY_OLLAMA_ALLOW_REMOTE="1";if(t.flags["ollama-host"])process.env.AGENTIC_SECURITY_OLLAMA_HOST=String(t.flags["ollama-host"]);try{switch(s){case"scan":process.exit(await cmdScan(t));case"ship":process.exit(await cmdShip(t));case"ci":process.exit(await cmdCi(t));case"fix":process.exit(await cmdFix(t));case"undo":process.exit(await cmdUndo(t));case"accept":process.exit(await cmdAccept(t));case"profile":process.exit(await cmdProfile(t));case"proof":process.exit(await(await i.e(2066).then(i.bind(i,92066))).cmdProof(t,l.resolve(t.flags.root||".")));case"labs":{if(t._[1]==="synthesize-rule"&&t._[2]){t._=["rules","synthesize",t._[2]];process.exit(await cmdRules(t))}process.stderr.write("agentic-security labs: usage: labs synthesize-rule <finding-id> --spec <file.json> [--auto]\n(the other labs modes are slash-command modes: /labs --claude-audit, --model-rescan, ...)\n");process.exit(2);break}case"dnr":process.exit(await(await i.e(5616).then(i.bind(i,45616))).cmdDnr(t,l.resolve(t.flags.root||".")));case"triage":process.exit(await cmdTriage(t));case"org-scan":process.exit(await cmdOrgScan(t));case"rules":process.exit(await cmdRules(t));case"fleet":process.exit(await(await i.e(5620).then(i.bind(i,25620))).cmdFleet(t,l.resolve(t.flags.root||".")));case"rule":process.exit(await cmdRule(t));case"tickets":process.exit(await cmdTickets(t));case"secure":process.exit(await cmdSecure(t));case"packs":process.exit(await cmdPacks(t));case"validator-cache":process.exit(await cmdValidatorCache(t));case"models":{if(t._[1]==="benchmark"||t._[1]==="route")process.exit(await(await i.e(2584).then(i.bind(i,52584))).cmdModelsLab(t,l.resolve(t.flags.root||".")));process.exit(await cmdModels(t))}case"eval":process.exit(await(await i.e(2584).then(i.bind(i,52584))).cmdEval(t,l.resolve(t.flags.root||".")));case"ask":process.exit(await cmdAsk(t));case"verify":process.exit(await cmdVerify(t));case"reset":process.exit(await cmdReset(t));case"export":process.exit(await cmdExport(t));case"legal-hold":process.exit(await cmdLegalHold(t));case"calibration-feedback":process.exit(await cmdCalibrationFeedback(t));case"calibration-report":process.exit(await cmdCalibrationReport(t));case"hunt":process.exit(await cmdHunt(t));case"context":process.exit(await(await Promise.all([i.e(550),i.e(9382)]).then(i.bind(i,89382))).cmdContext(t));case"compliance":process.exit(await cmdCompliance(t));case"attest":process.exit(await cmdAttest(t));case"verify-attestation":process.exit(await cmdVerifyAttestation(t));case"release-view":process.exit(await cmdReleaseView(t));case"policy-explain":process.exit(await cmdPolicyExplain(t));case"policy-sign":process.exit(await cmdPolicySign(t));case"rule-synth":process.exit(await cmdRuleSynth(t));case"digest":process.exit(await cmdDigest(t));case"setup":process.exit(await cmdSetup(t));case"cache-report":{const{analyzeTranscript:s,formatCacheReport:r}=await i.e(8752).then(i.bind(i,58752));const a=l.resolve(t.flags.root||process.env.CLAUDE_PROJECT_DIR||process.cwd());const o=s({transcriptPath:t.flags.transcript,projectDir:a});if(t.flags.json)writeStdout(JSON.stringify(o,null,2)+"\n");else console.log(r(o));process.exit(0)}case"cache-statusline":{const{analyzeTranscript:s,renderCacheStatusLine:r}=await i.e(8752).then(i.bind(i,58752));const o=l.resolve(t.flags.root||process.env.CLAUDE_PROJECT_DIR||process.cwd());const u=s({transcriptPath:t.flags.transcript,projectDir:o});if(u.ok){try{const t=(0,H.Pn)(o);a.mkdirSync(t,{recursive:true});a.writeFileSync(l.join(t,"cache-telemetry.json"),JSON.stringify({updatedAt:(new Date).toISOString(),metrics:u.metrics,leaks:u.leaks},null,2))}catch{}console.log(r(u.metrics))}else{console.log("agentic-security: no session cost yet")}process.exit(0)}case"mcp":{const{runStdio:s}=await Promise.all([i.e(7838),i.e(7439),i.e(2066),i.e(9560)]).then(i.bind(i,9560));const r=t.flags.root||process.env.AGENTIC_SECURITY_MCP_ROOT||process.cwd();s({sessionRoot:l.resolve(r)});return}case"lsp":{const{startLspServer:t}=await i.e(1919).then(i.bind(i,21919));t();return}case"boundaries":process.exit(await cmdBoundaries(t));case"explore":process.exit(await cmdExplore(t));case"dataflow":{const s=t._[1];if(s==="export"){process.exit(await cmdDataflowExport(t))}else if(s==="diff"){process.exit(await cmdDataflowDiff(t))}else if(s==="watch"){const s=await cmdDataflowWatch(t);if(s!==0)process.exit(s);break}else if(s==="scenario"){const s=t._[2];if(s==="apply"){process.exit(await cmdDataflowScenarioApply(t))}else{process.stderr.write(`agentic-security dataflow scenario: unrecognized sub-command "${s}" — must be "apply".\n`);process.exit(2)}break}else if(s==="impact"){const s=t._[2];if(s==="assess"){process.exit(await cmdDataflowImpactAssess(t))}else{process.stderr.write(`agentic-security dataflow impact: unrecognized sub-command "${s}" — must be "assess".\n`);process.exit(2)}break}else if(s==="observations"){const s=t._[2];if(s==="import"){process.exit(await cmdDataflowObservationsImport(t))}else if(s==="list"){process.exit(await cmdDataflowObservationsList(t))}else{process.stderr.write(`agentic-security dataflow observations: unrecognized sub-command "${s}" — must be "import" or "list".\n`);process.exit(2)}break}else if(s==="twin"){process.exit(await cmdDataflowTwin(t))}process.stderr.write(`agentic-security dataflow: unknown subcommand "${s}" — only "export", "diff", "watch", "scenario", "impact", "observations", and "twin" are supported.\n`);process.exit(2)}case"governance":{const s=t._[1];if(s==="propose-edit"){process.exit(await cmdGovernancePropose(t))}else{process.stderr.write(`agentic-security governance: unrecognized sub-command "${s}" — must be "propose-edit".\n`);process.exit(2)}break}case"portfolio":{const{runPortfolioCommand:s}=await Promise.all([i.e(7439),i.e(5014)]).then(i.bind(i,25014));process.exit(await s(t));break}case"invariants":{const{runInvariantsCommand:s}=await i.e(3477).then(i.bind(i,73477));process.exit(await s(t));break}case"federate":{const s=t._[1];if(s==="declare"){process.exit(await cmdFederateDeclare(t))}else if(s==="list"){process.exit(await cmdFederateList(t))}else{process.stderr.write(`agentic-security federate: unrecognized sub-command "${s}" — must be "declare" or "list".\n`);process.exit(2)}break}case"runtime":{const s=t._[1];if(s==="ingest"){process.exit(await cmdRuntimeIngest(t))}else if(s==="status"){process.exit(await cmdRuntimeStatus(t))}else if(s==="reconcile"){process.exit(await cmdRuntimeReconcile(t))}else if(s==="query"){process.exit(await cmdRuntimeQuery(t))}else if(s==="edges"){process.exit(await cmdRuntimeEdges(t))}else if(s==="explore"){process.exit(await cmdRuntimeExplorer(t,t._[2]||"."))}else{process.stderr.write(`agentic-security runtime: unrecognized sub-command "${s}" — must be "ingest", "status", "reconcile", "query", "edges", or "explore".\n`);process.exit(2)}break}case"image":{const s=t._[1];if(s==="scan"){process.exit(await cmdImageScan(t))}else if(s==="verify"){process.exit(await cmdImageVerify(t))}else{process.stderr.write(`agentic-security image: unrecognized sub-command "${s}" — must be "scan" or "verify".\n`);process.exit(2)}break}case"provenance":{const s=t._[1];if(s==="trace"){process.exit(await cmdProvenanceTrace(t))}else{process.stderr.write(`agentic-security provenance: unrecognized sub-command "${s}" — must be "trace".\n`);process.exit(2)}break}case"supply":{const s=t._[1];if(s==="vex"){process.exit(await cmdSupplyVex(t))}else{process.stderr.write(`agentic-security supply: unrecognized sub-command "${s}" — must be "vex".\n`);process.exit(2)}break}case"remediation":{const s=t._[1];if(s==="open"){process.exit(await cmdRemediationOpen(t))}else if(s==="update"){process.exit(await cmdRemediationUpdate(t))}else if(s==="verify"){process.exit(await cmdRemediationVerify(t))}else if(s==="accept-risk"){process.exit(await cmdRemediationAcceptRisk(t))}else if(s==="reopen-check"){process.exit(await cmdRemediationReopenCheck(t))}else if(s==="list"){process.exit(await cmdRemediationList(t))}else{process.stderr.write(`agentic-security remediation: unrecognized sub-command "${s}" — must be one of open|update|verify|accept-risk|reopen-check|list.\n`);process.exit(2)}break}case"cve-watch":{const{runOnce:s}=await i.e(6675).then(i.bind(i,46675));const r=t.flags.root||process.cwd();const a=await s(l.resolve(r),{alertUrl:t.flags["alert-url"],alertType:t.flags["alert-type"],minSeverity:t.flags["min-severity"],dryRun:t.flags["dry-run"]===true});if(t.flags.json){writeStdout(JSON.stringify(a,null,2)+"\n")}else if(!a.ok){console.error(`cve-watch: ${a.reason||"failed"}`)}process.exit(a.ok?0:1)}case"pr-delta":{const{computePrDelta:s,renderPrDeltaText:r}=await i.e(5637).then(i.bind(i,55637));const a=t.flags.root||process.cwd();const o=t.flags.base||t.flags.b;const u=t.flags.head||t.flags.h||"HEAD";if(!o){console.error("pr-delta: --base <ref> is required");process.exit(2)}const p=await s(l.resolve(a),{baseRef:o,headRef:u});if(t.flags.json)writeStdout(JSON.stringify(p,null,2)+"\n");else console.log(r(p));const f=p.summary?.introduced||{};const h=(f.critical||0)+(f.high||0);process.exit(t.flags["fail-on-introduced"]&&h>0?1:0)}case"pr-comment":{const{renderPrComment:s}=await i.e(2826).then(i.bind(i,32826));const{computePrDelta:r}=await i.e(5637).then(i.bind(i,55637));const a=await Promise.resolve().then(i.t.bind(i,73024,19));let o;if(t.flags.base){const s=t.flags.root||process.cwd();o=await r(l.resolve(s),{baseRef:t.flags.base,headRef:t.flags.head||"HEAD"})}else if(t.flags.in){o=JSON.parse(a.readFileSync(t.flags.in,"utf8"))}else{const t=await new Promise(t=>{const s=[];process.stdin.on("data",t=>s.push(t));process.stdin.on("end",()=>t(Buffer.concat(s).toString("utf8")))});o=JSON.parse(t)}const u=s(o,{repoName:t.flags.repo,prNumber:t.flags.pr,prTitle:t.flags.title});console.log(u);process.exit(0)}case"badge":{const{renderBadge:s}=await i.e(3117).then(i.bind(i,93117));const r=t.flags.root||process.cwd();const a=t.flags.format||"svg";const o=t.flags.style||"flat";console.log(s({format:a,style:o,scanRoot:l.resolve(r)}));process.exit(0)}case"leaderboard-row":{const{leaderboardRowFor:s}=await i.e(8513).then(i.bind(i,8513));const r=t.flags.root||process.cwd();const a=t.flags.repo;if(!a){console.error("leaderboard-row: --repo <owner/name> is required");process.exit(2)}const o=s({scanRoot:l.resolve(r),repo:a});writeStdout(JSON.stringify(o,null,2)+"\n");process.exit(0)}case"history":{const{runHistory:s}=await i.e(7178).then(i.bind(i,7178));const r=t.flags.root||process.cwd();const a=await s(l.resolve(r),{since:t.flags.since||"6.months",interval:t.flags.interval||"1.month"});if(t.flags.json)writeStdout(JSON.stringify(a,null,2)+"\n");else if(a.error)console.error(`history: ${a.error}`);else{console.log(`Scanned ${a.refs.length} refs.`);for(const t of a.timeline){console.log(` ${t.fromWhen} → ${t.toWhen}: +${t.introducedN} introduced, -${t.resolvedN} resolved`)}}process.exit(a.error?1:0)}case"what-if":{const{runWhatIf:s}=await i.e(7178).then(i.bind(i,7178));const r=t.flags.root||process.cwd();const a=[];const o=t.flags.overlay;if(o){for(const t of Array.isArray(o)?o:[o]){const s=t.indexOf(":");if(s<0)continue;const r=t.slice(0,s);const o=t.slice(s+1);try{a.push({file:r,content:(await Promise.resolve().then(i.t.bind(i,73024,19))).readFileSync(o,"utf8")})}catch(t){console.error(`what-if: cannot read overlay source ${o}: ${t.message}`);process.exit(1)}}}const u=t.flags.remove?Array.isArray(t.flags.remove)?t.flags.remove:[t.flags.remove]:[];const p=await s(l.resolve(r),{overlays:a,remove:u});if(t.flags.json)writeStdout(JSON.stringify(p,null,2)+"\n");else{console.log(`baseline: ${p.baselineFindings} findings`);console.log(`what-if: ${p.whatIfFindings} findings (delta ${p.delta>=0?"+":""}${p.delta})`);if(p.introduced.length){console.log(`Introduced by this counterfactual:`);for(const t of p.introduced.slice(0,20)){console.log(` + ${t.severity} ${t.vuln} (${t.file}:${t.line})`)}}if(p.removed.length){console.log(`Removed by this counterfactual:`);for(const t of p.removed.slice(0,20)){console.log(` - ${t.severity} ${t.vuln} (${t.file}:${t.line})`)}}}process.exit(0)}case"version":console.log(`agentic-security ${J} · created by ClearCapabilities.Com`);process.exit(0);case"banner":{printBanner(t);process.exit(0)}case"harness":process.exit(await cmdHarness(t));case"scan-baseline":process.exit(await cmdScanBaseline(t));case"help":case"--help":case"-h":case undefined:console.log(Z);process.exit(s?0:1);default:console.error(`Unknown command: ${s}\n\n${Z}`);process.exit(4)}}catch(t){console.error("agentic-security: error:",t?.stack||t?.message||t);process.exit(4)}}function isDirectCliInvocation(){if(import.meta.main!==undefined)return import.meta.main;try{return import.meta.url===`file://${a.realpathSync(process.argv[1])}`}catch{return false}}if(isDirectCliInvocation()){main()}r()}catch(me){r(me)}})},24167:(t,s,i)=>{i.d(s,{g:()=>codeFrameColumns});const r=/\r\n|[\n\r\u2028\u2029]/;function getMarkerLines(t,s,i,r){const a={column:null,line:-1,...t.start};const o={...a,...t.end};const{linesAbove:l=2,linesBelow:u=3}=i||{};const p=a.line-r;const f=a.column;const h=o.line-r;const m=o.column;let g=Math.max(p-(l+1),0);let x=Math.min(s.length,h+u);if(p===-1){g=0}if(h===-1){x=s.length}const k=h-p;const _={};if(k){for(let t=0;t<=k;t++){const i=t+p;if(f==null){_[i]=true}else if(t===0){const t=s[i-1].length;_[i]=[f,t-f]}else if(t===k){_[i]=[0,m]}else{const t=s[i-1].length;_[i]=[0,t]}}}else{if(f===m){if(f!=null){_[p]=[f,0]}else{_[p]=true}}else{const t=f??0;const s=m??t;_[p]=[t,s-t]}}return{start:g,end:x,markerLines:_}}function _codeFrameColumns(t,s,i={},a){const{defs:o,highlight:l}=a||{defs:{gutter:String,marker:String,message:String,reset:String},highlight:String};const u=(i.startLine||1)-1;const p=t.split(r);const{start:f,end:h,markerLines:m}=getMarkerLines(s,p,i,u);const g=s.start&&typeof s.start.column==="number";const x=String(h+u).length;const k=l(t);let _=k.split(r,h).slice(f,h).map((t,s)=>{const r=f+1+s;const a=` ${r+u}`.slice(-x);const l=` ${a} |`;const p=m[r];const h=!m[r+1];if(p){let s="";if(Array.isArray(p)){const r=t.slice(0,p[0]).replace(/[^\t]/g," ");const a=p[1]||1;s=["\n ",o.gutter(l.replace(/\d/g," "))," ",r,o.marker("^").repeat(a)].join("");if(h&&i.message){s+=" "+o.message(i.message)}}return[o.marker(">"),o.gutter(l),t.length>0?` ${t}`:"",s].join("")}else{return` ${o.gutter(l)}${t.length>0?` ${t}`:""}`}}).join("\n");if(i.message&&!g){_=`${" ".repeat(x+1)}${i.message}\n${_}`}return o.reset(_)}var a=i(57975);var o,l,u,p,f,h,m,g,x,k,_,T,C,A,I,P,$,O,D,N,j;A=/\/(?![*\/])(?:\[(?:[^\]\\\n\r\u2028\u2029]+|\\.)*\]?|[^\/[\\\n\r\u2028\u2029]+|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/uy;C=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y;l=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]+|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/uy;P=/(['"])(?:[^'"\\\n\r]+|(?!\1)['"]|\\(?:\r\n|[^]))*(\1)?/y;T=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y;$=/[`}](?:[^`\\$]+|\\[^]|\$(?!\{))*(`|\$\{)?/y;N=/[\t\v\f\ufeff\p{Zs}]+/uy;x=/\r?\n|[\r\u2028\u2029]/y;k=/\/\*(?:[^*]+|\*(?!\/))*(\*\/)?/y;I=/\/\/.*/y;o=/^#!.*/;p=/[<>.:={}]|\/(?![\/*])/y;u=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/uy;f=/(['"])(?:[^'"]+|(?!\1)['"])*(\1)?/y;h=/[^<>{}]+/y;D=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/;O=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/;m=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/;g=/^(?:return|throw|yield)$/;_=RegExp(x.source);j=function*(t,{jsx:s=false}={}){var i,r,a,j,R,L,F,M,B,W,U,H,V,K;({length:L}=t);j=0;R="";K=[{tag:"JS"}];i=[];U=0;H=false;if(F=o.exec(t)){yield{type:"HashbangComment",value:F[0]};j=F[0].length}while(j<L){M=K[K.length-1];switch(M.tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if(t[j]==="/"&&(D.test(R)||m.test(R))){A.lastIndex=j;if(F=A.exec(t)){j=A.lastIndex;R=F[0];H=true;yield{type:"RegularExpressionLiteral",value:F[0],closed:F[1]!==void 0&&F[1]!=="\\"};continue}}C.lastIndex=j;if(F=C.exec(t)){V=F[0];B=C.lastIndex;W=V;switch(V){case"(":if(R==="?NonExpressionParenKeyword"){K.push({tag:"JSNonExpressionParen",nesting:U})}U++;H=false;break;case")":U--;H=true;if(M.tag==="JSNonExpressionParen"&&U===M.nesting){K.pop();W="?NonExpressionParenEnd";H=false}break;case"{":C.lastIndex=0;a=!O.test(R)&&(D.test(R)||m.test(R));i.push(a);H=false;break;case"}":switch(M.tag){case"InterpolationInTemplate":if(i.length===M.nesting){$.lastIndex=j;F=$.exec(t);j=$.lastIndex;R=F[0];if(F[1]==="${"){R="?InterpolationInTemplate";H=false;yield{type:"TemplateMiddle",value:F[0]}}else{K.pop();H=true;yield{type:"TemplateTail",value:F[0],closed:F[1]==="`"}}continue}break;case"InterpolationInJSX":if(i.length===M.nesting){K.pop();j+=1;R="}";yield{type:"JSXPunctuator",value:"}"};continue}}H=i.pop();W=H?"?ExpressionBraceEnd":"}";break;case"]":H=true;break;case"++":case"--":W=H?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(s&&(D.test(R)||m.test(R))){K.push({tag:"JSXTag"});j+=1;R="<";yield{type:"JSXPunctuator",value:V};continue}H=false;break;default:H=false}j=B;R=W;yield{type:"Punctuator",value:V};continue}l.lastIndex=j;if(F=l.exec(t)){j=l.lastIndex;W=F[0];switch(F[0]){case"for":case"if":case"while":case"with":if(R!=="."&&R!=="?."){W="?NonExpressionParenKeyword"}}R=W;H=!m.test(F[0]);yield{type:F[1]==="#"?"PrivateIdentifier":"IdentifierName",value:F[0]};continue}P.lastIndex=j;if(F=P.exec(t)){j=P.lastIndex;R=F[0];H=true;yield{type:"StringLiteral",value:F[0],closed:F[2]!==void 0};continue}T.lastIndex=j;if(F=T.exec(t)){j=T.lastIndex;R=F[0];H=true;yield{type:"NumericLiteral",value:F[0]};continue}$.lastIndex=j;if(F=$.exec(t)){j=$.lastIndex;R=F[0];if(F[1]==="${"){R="?InterpolationInTemplate";K.push({tag:"InterpolationInTemplate",nesting:i.length});H=false;yield{type:"TemplateHead",value:F[0]}}else{H=true;yield{type:"NoSubstitutionTemplate",value:F[0],closed:F[1]==="`"}}continue}break;case"JSXTag":case"JSXTagEnd":p.lastIndex=j;if(F=p.exec(t)){j=p.lastIndex;W=F[0];switch(F[0]){case"<":K.push({tag:"JSXTag"});break;case">":K.pop();if(R==="/"||M.tag==="JSXTagEnd"){W="?JSX";H=true}else{K.push({tag:"JSXChildren"})}break;case"{":K.push({tag:"InterpolationInJSX",nesting:i.length});W="?InterpolationInJSX";H=false;break;case"/":if(R==="<"){K.pop();if(K[K.length-1].tag==="JSXChildren"){K.pop()}K.push({tag:"JSXTagEnd"})}}R=W;yield{type:"JSXPunctuator",value:F[0]};continue}u.lastIndex=j;if(F=u.exec(t)){j=u.lastIndex;R=F[0];yield{type:"JSXIdentifier",value:F[0]};continue}f.lastIndex=j;if(F=f.exec(t)){j=f.lastIndex;R=F[0];yield{type:"JSXString",value:F[0],closed:F[2]!==void 0};continue}break;case"JSXChildren":h.lastIndex=j;if(F=h.exec(t)){j=h.lastIndex;R=F[0];yield{type:"JSXText",value:F[0]};continue}switch(t[j]){case"<":K.push({tag:"JSXTag"});j++;R="<";yield{type:"JSXPunctuator",value:"<"};continue;case"{":K.push({tag:"InterpolationInJSX",nesting:i.length});j++;R="?InterpolationInJSX";H=false;yield{type:"JSXPunctuator",value:"{"};continue}}N.lastIndex=j;if(F=N.exec(t)){j=N.lastIndex;yield{type:"WhiteSpace",value:F[0]};continue}x.lastIndex=j;if(F=x.exec(t)){j=x.lastIndex;H=false;if(g.test(R)){R="?NoLineTerminatorHere"}yield{type:"LineTerminatorSequence",value:F[0]};continue}k.lastIndex=j;if(F=k.exec(t)){j=k.lastIndex;if(_.test(F[0])){H=false;if(g.test(R)){R="?NoLineTerminatorHere"}}yield{type:"MultiLineComment",value:F[0],closed:F[1]!==void 0};continue}I.lastIndex=j;if(F=I.exec(t)){j=I.lastIndex;H=false;yield{type:"SingleLineComment",value:F[0]};continue}r=String.fromCodePoint(t.codePointAt(j));j+=r.length;R=r;H=false;yield{type:M.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:r}}return void 0};const R=j;var L=i(77633);function isColorSupported(){return(0,a.styleText)("red","-")!=="-"}function createFormatter(t){return s=>(0,a.styleText)(t,String(s??""),{validateStream:false})}const F={keyword:createFormatter("cyan"),capitalized:createFormatter("yellow"),jsxIdentifier:createFormatter("yellow"),punctuator:createFormatter("yellow"),number:createFormatter("magenta"),string:createFormatter("green"),regex:createFormatter("magenta"),comment:createFormatter("gray"),invalid:createFormatter(["white","bgRed","bold"]),gutter:createFormatter("gray"),marker:createFormatter(["red","bold"]),message:createFormatter(["red","bold"]),reset:createFormatter("reset")};const M=new Set(["as","async","from","get","of","set"]);const B=/\r\n|[\n\r\u2028\u2029]/;const W=/^[()[\]{}]$/;const getTokenType=function(t){if(t.type==="IdentifierName"){const s=t.value;if((0,L.wb)(s)||(0,L.wh)(s,true)||M.has(s)){return"keyword"}const i=s.charCodeAt(0);if(i<128){if(i>=65&&i<=90){return"capitalized"}}else{const t=String.fromCodePoint(s.codePointAt(0));if(t!==t.toLowerCase()){return"capitalized"}}}if(t.type==="Punctuator"&&W.test(t.value)){return"uncolored"}if(t.type==="Invalid"&&t.value==="@"){return"punctuator"}switch(t.type){case"NumericLiteral":return"number";case"StringLiteral":case"JSXString":case"NoSubstitutionTemplate":return"string";case"RegularExpressionLiteral":return"regex";case"Punctuator":case"JSXPunctuator":return"punctuator";case"MultiLineComment":case"SingleLineComment":return"comment";case"Invalid":case"JSXInvalid":return"invalid";case"JSXIdentifier":return"jsxIdentifier";default:return"uncolored"}};function*tokenize(t){for(const s of R(t,{jsx:true})){switch(s.type){case"TemplateHead":yield{type:"string",value:s.value.slice(0,-2)};yield{type:"punctuator",value:"${"};break;case"TemplateMiddle":yield{type:"punctuator",value:"}"};yield{type:"string",value:s.value.slice(1,-2)};yield{type:"punctuator",value:"${"};break;case"TemplateTail":yield{type:"punctuator",value:"}"};yield{type:"string",value:s.value.slice(1)};break;default:yield{type:getTokenType(s),value:s.value}}}}function highlight(t){if(t==="")return"";let s="";for(const{type:i,value:r}of tokenize(t)){if(i in F){s+=r.split(B).map(t=>F[i](t)).join("\n")}else{s+=r}}return s}function codeFrameColumns(t,s,i={}){const r=i.forceColor||isColorSupported()&&i.highlightCode;return _codeFrameColumns(t,s,i,r?{defs:F,highlight:highlight}:undefined)}},64098:(s,i,r)=>{r.d(i,{nG:()=>parseSync,vs:()=>o.Ay,Uz:()=>transformSync,hV:()=>m.Ay,gK:()=>a});var a=r(66933);var o=r(13554);function helper(t,s,i){return Object.freeze({minVersion:t,ast:()=>o.Ay.program.ast(s,{preserveComments:true}),metadata:i})}const l={__proto__:null,OverloadYield:helper("7.18.14","function _OverloadYield(e,d){this.v=e,this.k=d}",{globals:[],locals:{_OverloadYield:["body.0.id"]},exportBindingAssignments:[],exportName:"_OverloadYield",dependencies:{},internal:false}),applyDecoratedDescriptor:helper("7.0.0-beta.0",'function _applyDecoratedDescriptor(i,e,r,n,l){var a={};return Object.keys(n).forEach(function(i){a[i]=n[i]}),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=r.slice().reverse().reduce(function(r,n){return n(i,e,r)||r},a),l&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(l):void 0,a.initializer=void 0),void 0===a.initializer?(Object.defineProperty(i,e,a),null):a}',{globals:["Object"],locals:{_applyDecoratedDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_applyDecoratedDescriptor",dependencies:{},internal:false}),applyDecs2311:helper("7.24.0",'function applyDecs2311(e,t,n,r,o,i){var a,c,u,s,f,l,p,d=Symbol.metadata||Symbol.for("Symbol.metadata"),m=Object.defineProperty,h=Object.create,y=[h(null),h(null)],v=t.length;function g(t,n,r){return function(o,i){n&&(i=o,o=e);for(var a=0;a<t.length;a++)i=t[a].apply(o,r?[i]:[]);return r?i:o}}function b(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function applyDec(e,t,n,r,o,i,u,s,f,l,p){function d(e){if(!p(e))throw new TypeError("Attempted to access private element on non-instance")}var h=[].concat(t[0]),v=t[3],w=!u,D=1===o,S=3===o,j=4===o,E=2===o;function I(t,n,r){return function(o,i){return n&&(i=o,o=e),r&&r(o),P[t].call(o,i)}}if(!w){var P={},k=[],F=S?"get":j||D?"set":"value";if(f?(l||D?P={get:setFunctionName(function(){return v(this)},r,"get"),set:function(e){t[4](this,e)}}:P[F]=v,l||setFunctionName(P[F],r,E?"":F)):l||(P=Object.getOwnPropertyDescriptor(e,r)),!l&&!f){if((c=y[+s][r])&&7!==(c^o))throw Error("Decorating two elements with the same name ("+P[F].name+") is not supported yet");y[+s][r]=o<3?1:o}}for(var N=e,O=h.length-1;O>=0;O-=n?2:1){var T=b(h[O],"A decorator","be",!0),z=n?h[O-1]:void 0,A={},H={kind:["field","accessor","method","getter","setter","class"][o],name:r,metadata:a,addInitializer:function(e,t){if(e.v)throw new TypeError("attempted to call addInitializer after decoration was finished");b(t,"An initializer","be",!0),i.push(t)}.bind(null,A)};if(w)c=T.call(z,N,H),A.v=1,b(c,"class decorators","return")&&(N=c);else if(H.static=s,H.private=f,c=H.access={has:f?p.bind():function(e){return r in e}},j||(c.get=f?E?function(e){return d(e),P.value}:I("get",0,d):function(e){return e[r]}),E||S||(c.set=f?I("set",0,d):function(e,t){e[r]=t}),N=T.call(z,D?{get:P.get,set:P.set}:P[F],H),A.v=1,D){if("object"==typeof N&&N)(c=b(N.get,"accessor.get"))&&(P.get=c),(c=b(N.set,"accessor.set"))&&(P.set=c),(c=b(N.init,"accessor.init"))&&k.unshift(c);else if(void 0!==N)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else b(N,(l?"field":"method")+" decorators","return")&&(l?k.unshift(N):P[F]=N)}return o<2&&u.push(g(k,s,1),g(i,s,0)),l||w||(f?D?u.splice(-1,0,I("get",s),I("set",s)):u.push(E?P[F]:b.call.bind(P[F])):m(e,r,P)),N}function w(e){return m(e,d,{configurable:!0,enumerable:!0,value:a})}return void 0!==i&&(a=i[d]),a=h(null==a?null:a),f=[],l=function(e){e&&f.push(g(e))},p=function(t,r){for(var i=0;i<n.length;i++){var a=n[i],c=a[1],l=7&c;if((8&c)==t&&!l==r){var p=a[2],d=!!a[3],m=16&c;applyDec(t?e:e.prototype,a,m,d?"#"+p:toPropertyKey(p),l,l<2?[]:t?s=s||[]:u=u||[],f,!!t,d,r,t&&d?function(t){return checkInRHS(t)===e}:o)}}},p(8,0),p(0,0),p(8,1),p(0,1),l(u),l(s),c=f,v||w(e),{e:c,get c(){var n=[];return v&&[w(e=applyDec(e,[t],r,e.name,5,n)),g(n,1)]}}}',{globals:["Symbol","Object","TypeError","Error"],locals:{applyDecs2311:["body.0.id"]},exportBindingAssignments:[],exportName:"applyDecs2311",dependencies:{checkInRHS:["body.0.body.body.5.argument.expressions.4.right.body.body.0.body.body.1.consequent.body.1.expression.arguments.10.consequent.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.3.body.body.3.consequent.body.1.test.expressions.0.consequent.expressions.0.consequent.right.properties.0.value.callee","body.0.body.body.3.body.body.3.consequent.body.1.test.expressions.0.consequent.expressions.1.right.callee"],toPropertyKey:["body.0.body.body.5.argument.expressions.4.right.body.body.0.body.body.1.consequent.body.1.expression.arguments.3.alternate.callee"]},internal:false}),arrayLikeToArray:helper("7.9.0","function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}",{globals:["Array"],locals:{_arrayLikeToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayLikeToArray",dependencies:{},internal:false}),arrayWithHoles:helper("7.0.0-beta.0","function _arrayWithHoles(r){if(Array.isArray(r))return r}",{globals:["Array"],locals:{_arrayWithHoles:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayWithHoles",dependencies:{},internal:false}),arrayWithoutHoles:helper("7.0.0-beta.0","function _arrayWithoutHoles(r){if(Array.isArray(r))return arrayLikeToArray(r)}",{globals:["Array"],locals:{_arrayWithoutHoles:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayWithoutHoles",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.argument.callee"]},internal:false}),assertClassBrand:helper("7.24.0",'function _assertClassBrand(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}',{globals:["TypeError"],locals:{_assertClassBrand:["body.0.id"]},exportBindingAssignments:[],exportName:"_assertClassBrand",dependencies:{},internal:false}),assertThisInitialized:helper("7.0.0-beta.0","function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}",{globals:["ReferenceError"],locals:{_assertThisInitialized:["body.0.id"]},exportBindingAssignments:[],exportName:"_assertThisInitialized",dependencies:{},internal:false}),asyncGeneratorDelegate:helper("7.0.0-beta.0",'function _asyncGeneratorDelegate(t){var e={},n=!1;function pump(e,r){return n=!0,r=new Promise(function(n){n(t[e](r))}),{done:!1,value:new OverloadYield(r,1)}}return e["undefined"!=typeof Symbol&&Symbol.iterator||"@@iterator"]=function(){return this},e.next=function(t){return n?(n=!1,t):pump("next",t)},"function"==typeof t.throw&&(e.throw=function(t){if(n)throw n=!1,t;return pump("throw",t)}),"function"==typeof t.return&&(e.return=function(t){return n?(n=!1,t):pump("return",t)}),e}',{globals:["Promise","Symbol"],locals:{_asyncGeneratorDelegate:["body.0.id"]},exportBindingAssignments:[],exportName:"_asyncGeneratorDelegate",dependencies:{OverloadYield:["body.0.body.body.1.body.body.0.argument.expressions.2.properties.1.value.callee"]},internal:false}),asyncIterator:helper("7.15.9",'function _asyncIterator(r){var n,t,o,e=2;for("undefined"!=typeof Symbol&&(t=Symbol.asyncIterator,o=Symbol.iterator);e--;){if(t&&null!=(n=r[t]))return n.call(r);if(o&&null!=(n=r[o]))return new AsyncFromSyncIterator(n.call(r));t="@@asyncIterator",o="@@iterator"}throw new TypeError("Object is not async iterable")}function AsyncFromSyncIterator(r){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var n=r.done;return Promise.resolve(r.value).then(function(r){return{value:r,done:n}})}return AsyncFromSyncIterator=function(r){this.s=r,this.n=r.next},AsyncFromSyncIterator.prototype={s:null,n:null,next:function(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments))},return:function(r){var n=this.s.return;return void 0===n?Promise.resolve({value:r,done:!0}):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments))},throw:function(r){var n=this.s.throw;return void 0===n?Promise.reject(r):AsyncFromSyncIteratorContinuation(n.apply(this.s,arguments))}},new AsyncFromSyncIterator(r)}',{globals:["Symbol","TypeError","Object","Promise"],locals:{_asyncIterator:["body.0.id"],AsyncFromSyncIterator:["body.1.id","body.0.body.body.1.body.body.1.consequent.argument.callee","body.1.body.body.1.argument.expressions.1.left.object","body.1.body.body.1.argument.expressions.2.callee","body.1.body.body.1.argument.expressions.0.left"]},exportBindingAssignments:[],exportName:"_asyncIterator",dependencies:{},internal:false}),asyncToGenerator:helper("7.0.0-beta.0",'function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value}catch(n){return void e(n)}i.done?t(u):Promise.resolve(u).then(r,o)}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n)}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n)}_next(void 0)})}}',{globals:["Promise"],locals:{asyncGeneratorStep:["body.0.id","body.1.body.body.0.argument.body.body.1.argument.arguments.0.body.body.1.body.body.0.expression.callee","body.1.body.body.0.argument.body.body.1.argument.arguments.0.body.body.2.body.body.0.expression.callee"],_asyncToGenerator:["body.1.id"]},exportBindingAssignments:[],exportName:"_asyncToGenerator",dependencies:{},internal:false}),awaitAsyncGenerator:helper("7.0.0-beta.0","function _awaitAsyncGenerator(e){return new OverloadYield(e,0)}",{globals:[],locals:{_awaitAsyncGenerator:["body.0.id"]},exportBindingAssignments:[],exportName:"_awaitAsyncGenerator",dependencies:{OverloadYield:["body.0.body.body.0.argument.callee"]},internal:false}),callSuper:helper("7.23.8","function _callSuper(t,o,e){return o=getPrototypeOf(o),possibleConstructorReturn(t,isNativeReflectConstruct()?Reflect.construct(o,e||[],getPrototypeOf(t).constructor):o.apply(t,e))}",{globals:["Reflect"],locals:{_callSuper:["body.0.id"]},exportBindingAssignments:[],exportName:"_callSuper",dependencies:{getPrototypeOf:["body.0.body.body.0.argument.expressions.0.right.callee","body.0.body.body.0.argument.expressions.1.arguments.1.consequent.arguments.2.object.callee"],isNativeReflectConstruct:["body.0.body.body.0.argument.expressions.1.arguments.1.test.callee"],possibleConstructorReturn:["body.0.body.body.0.argument.expressions.1.callee"]},internal:false}),checkInRHS:helper("7.20.5",'function _checkInRHS(e){if(Object(e)!==e)throw TypeError("right-hand side of \'in\' should be an object, got "+(null!==e?typeof e:"null"));return e}',{globals:["Object","TypeError"],locals:{_checkInRHS:["body.0.id"]},exportBindingAssignments:[],exportName:"_checkInRHS",dependencies:{},internal:false}),checkPrivateRedeclaration:helper("7.14.1",'function _checkPrivateRedeclaration(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}',{globals:["TypeError"],locals:{_checkPrivateRedeclaration:["body.0.id"]},exportBindingAssignments:[],exportName:"_checkPrivateRedeclaration",dependencies:{},internal:false}),classCallCheck:helper("7.0.0-beta.0",'function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function")}',{globals:["TypeError"],locals:{_classCallCheck:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCallCheck",dependencies:{},internal:false}),classNameTDZError:helper("7.0.0-beta.0","function _classNameTDZError(e){throw new ReferenceError('Class \"'+e+'\" cannot be referenced in computed property keys.')}",{globals:["ReferenceError"],locals:{_classNameTDZError:["body.0.id"]},exportBindingAssignments:[],exportName:"_classNameTDZError",dependencies:{},internal:false}),classPrivateFieldGet2:helper("7.24.0","function _classPrivateFieldGet2(s,a){return s.get(assertClassBrand(s,a))}",{globals:[],locals:{_classPrivateFieldGet2:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldGet2",dependencies:{assertClassBrand:["body.0.body.body.0.argument.arguments.0.callee"]},internal:false}),classPrivateFieldInitSpec:helper("7.14.1","function _classPrivateFieldInitSpec(e,t,a){checkPrivateRedeclaration(e,t),t.set(e,a)}",{globals:[],locals:{_classPrivateFieldInitSpec:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldInitSpec",dependencies:{checkPrivateRedeclaration:["body.0.body.body.0.expression.expressions.0.callee"]},internal:false}),classPrivateFieldLooseBase:helper("7.0.0-beta.0",'function _classPrivateFieldBase(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}',{globals:["TypeError"],locals:{_classPrivateFieldBase:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldBase",dependencies:{},internal:false}),classPrivateFieldLooseKey:helper("7.0.0-beta.0",'var id=0;function _classPrivateFieldKey(e){return"__private_"+id+++"_"+e}',{globals:[],locals:{id:["body.0.declarations.0.id","body.1.body.body.0.argument.left.left.right.argument","body.1.body.body.0.argument.left.left.right.argument"],_classPrivateFieldKey:["body.1.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldKey",dependencies:{},internal:false}),classPrivateFieldSet2:helper("7.24.0","function _classPrivateFieldSet2(s,a,r){return s.set(assertClassBrand(s,a),r),r}",{globals:[],locals:{_classPrivateFieldSet2:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldSet2",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.arguments.0.callee"]},internal:false}),classPrivateGetter:helper("7.24.0","function _classPrivateGetter(s,r,a){return a(assertClassBrand(s,r))}",{globals:[],locals:{_classPrivateGetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateGetter",dependencies:{assertClassBrand:["body.0.body.body.0.argument.arguments.0.callee"]},internal:false}),classPrivateMethodInitSpec:helper("7.14.1","function _classPrivateMethodInitSpec(e,a){checkPrivateRedeclaration(e,a),a.add(e)}",{globals:[],locals:{_classPrivateMethodInitSpec:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodInitSpec",dependencies:{checkPrivateRedeclaration:["body.0.body.body.0.expression.expressions.0.callee"]},internal:false}),classPrivateSetter:helper("7.24.0","function _classPrivateSetter(s,r,a,t){return r(assertClassBrand(s,a),t),t}",{globals:[],locals:{_classPrivateSetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateSetter",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.arguments.0.callee"]},internal:false}),classStaticPrivateMethodGet:helper("7.3.2","function _classStaticPrivateMethodGet(s,a,t){return assertClassBrand(a,s),t}",{globals:[],locals:{_classStaticPrivateMethodGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateMethodGet",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"]},internal:false}),construct:helper("7.0.0-beta.0","function _construct(t,e,r){if(isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,e);var p=new(t.bind.apply(t,o));return r&&setPrototypeOf(p,r.prototype),p}",{globals:["Reflect"],locals:{_construct:["body.0.id"]},exportBindingAssignments:[],exportName:"_construct",dependencies:{isNativeReflectConstruct:["body.0.body.body.0.test.callee"],setPrototypeOf:["body.0.body.body.4.argument.expressions.0.right.callee"]},internal:false}),createClass:helper("7.0.0-beta.0",'function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,toPropertyKey(o.key),o)}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}',{globals:["Object"],locals:{_defineProperties:["body.0.id","body.1.body.body.0.argument.expressions.0.right.callee","body.1.body.body.0.argument.expressions.1.right.callee"],_createClass:["body.1.id"]},exportBindingAssignments:[],exportName:"_createClass",dependencies:{toPropertyKey:["body.0.body.body.0.body.body.1.expression.expressions.3.arguments.1.callee"]},internal:false}),createForOfIteratorHelper:helper("7.9.0",'function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var n=0,F=function(){};return{s:F,n:function(){return n>=r.length?{done:!0}:{done:!1,value:r[n++]}},e:function(r){throw r},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a,u=!0;return{s:function(){t=t.call(r)},n:function(){u=!0;var r=t.next();return r.done?{done:!0}:{value:r.value,done:u=!1}},e:function(r){o=!0,a=r},f:function(){try{u||null==t.return||t.return()}finally{if(o)throw a}}}}',{globals:["Symbol","Array","TypeError"],locals:{_createForOfIteratorHelper:["body.0.id"]},exportBindingAssignments:[],exportName:"_createForOfIteratorHelper",dependencies:{unsupportedIterableToArray:["body.0.body.body.1.consequent.body.0.test.left.right.right.callee"]},internal:false}),createForOfIteratorHelperLoose:helper("7.9.0",'function _createForOfIteratorHelperLoose(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(t)return(t=t.call(r)).next.bind(t);if(Array.isArray(r)||(t=unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var o=0;return function(){return o>=r.length?{done:!0}:{done:!1,value:r[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["Symbol","Array","TypeError"],locals:{_createForOfIteratorHelperLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_createForOfIteratorHelperLoose",dependencies:{unsupportedIterableToArray:["body.0.body.body.2.test.left.right.right.callee"]},internal:false}),createSuper:helper("7.9.0","function _createSuper(t){var r=isNativeReflectConstruct();return function(){var e,o=getPrototypeOf(t);if(r){var s=getPrototypeOf(this).constructor;e=Reflect.construct(o,arguments,s)}else e=o.apply(this,arguments);return possibleConstructorReturn(this,e)}}",{globals:["Reflect"],locals:{_createSuper:["body.0.id"]},exportBindingAssignments:[],exportName:"_createSuper",dependencies:{getPrototypeOf:["body.0.body.body.1.argument.body.body.0.declarations.1.init.callee","body.0.body.body.1.argument.body.body.1.consequent.body.0.declarations.0.init.object.callee"],isNativeReflectConstruct:["body.0.body.body.0.declarations.0.init.callee"],possibleConstructorReturn:["body.0.body.body.1.argument.body.body.2.argument.callee"]},internal:false}),defaults:helper("7.0.0-beta.0","function _defaults(e,r){for(var t=Object.getOwnPropertyNames(r),o=0;o<t.length;o++){var n=t[o],a=Object.getOwnPropertyDescriptor(r,n);a&&a.configurable&&void 0===e[n]&&Object.defineProperty(e,n,a)}return e}",{globals:["Object"],locals:{_defaults:["body.0.id"]},exportBindingAssignments:[],exportName:"_defaults",dependencies:{},internal:false}),defineAccessor:helper("7.20.7","function _defineAccessor(e,r,n,t){var c={configurable:!0,enumerable:!0};return c[e]=t,Object.defineProperty(r,n,c)}",{globals:["Object"],locals:{_defineAccessor:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineAccessor",dependencies:{},internal:false}),defineProperty:helper("7.0.0-beta.0","function _defineProperty(e,r,t){return(r=toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}",{globals:["Object"],locals:{_defineProperty:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineProperty",dependencies:{toPropertyKey:["body.0.body.body.0.argument.expressions.0.test.left.right.callee"]},internal:false}),extends:helper("7.0.0-beta.0","function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_extends.apply(null,arguments)}",{globals:["Object"],locals:{_extends:["body.0.id","body.0.body.body.0.argument.expressions.1.callee.object","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_extends",dependencies:{},internal:false}),get:helper("7.0.0-beta.0",'function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var p=superPropBase(e,t);if(p){var n=Object.getOwnPropertyDescriptor(p,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}},_get.apply(null,arguments)}',{globals:["Reflect","Object"],locals:{_get:["body.0.id","body.0.body.body.0.argument.expressions.1.callee.object","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_get",dependencies:{superPropBase:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.0.declarations.0.init.callee"]},internal:false}),getPrototypeOf:helper("7.0.0-beta.0","function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}",{globals:["Object"],locals:{_getPrototypeOf:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_getPrototypeOf",dependencies:{},internal:false}),identity:helper("7.17.0","function _identity(t){return t}",{globals:[],locals:{_identity:["body.0.id"]},exportBindingAssignments:[],exportName:"_identity",dependencies:{},internal:false}),importDeferProxy:helper("7.23.0","function _importDeferProxy(e){var t=null,constValue=function(e){return function(){return e}},proxy=function(r){return function(n,o,f){return null===t&&(t=e()),r(t,o,f)}};return new Proxy({},{defineProperty:constValue(!1),deleteProperty:constValue(!1),get:proxy(Reflect.get),getOwnPropertyDescriptor:proxy(Reflect.getOwnPropertyDescriptor),getPrototypeOf:constValue(null),isExtensible:constValue(!1),has:proxy(Reflect.has),ownKeys:proxy(Reflect.ownKeys),preventExtensions:constValue(!0),set:constValue(!1),setPrototypeOf:constValue(!1)})}",{globals:["Proxy","Reflect"],locals:{_importDeferProxy:["body.0.id"]},exportBindingAssignments:[],exportName:"_importDeferProxy",dependencies:{},internal:false}),inherits:helper("7.0.0-beta.0",'function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&setPrototypeOf(t,e)}',{globals:["TypeError","Object"],locals:{_inherits:["body.0.id"]},exportBindingAssignments:[],exportName:"_inherits",dependencies:{setPrototypeOf:["body.0.body.body.1.expression.expressions.2.right.callee"]},internal:false}),inheritsLoose:helper("7.0.0-beta.0","function _inheritsLoose(t,o){t.prototype=Object.create(o.prototype),t.prototype.constructor=t,setPrototypeOf(t,o)}",{globals:["Object"],locals:{_inheritsLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_inheritsLoose",dependencies:{setPrototypeOf:["body.0.body.body.0.expression.expressions.2.callee"]},internal:false}),initializerDefineProperty:helper("7.0.0-beta.0","function _initializerDefineProperty(e,i,r,l){r&&Object.defineProperty(e,i,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(l):void 0})}",{globals:["Object"],locals:{_initializerDefineProperty:["body.0.id"]},exportBindingAssignments:[],exportName:"_initializerDefineProperty",dependencies:{},internal:false}),initializerWarningHelper:helper("7.0.0-beta.0",'function _initializerWarningHelper(r,e){throw Error("Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.")}',{globals:["Error"],locals:{_initializerWarningHelper:["body.0.id"]},exportBindingAssignments:[],exportName:"_initializerWarningHelper",dependencies:{},internal:false}),instanceof:helper("7.0.0-beta.0",'function _instanceof(n,e){return null!=e&&"undefined"!=typeof Symbol&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](n):n instanceof e}',{globals:["Symbol"],locals:{_instanceof:["body.0.id"]},exportBindingAssignments:[],exportName:"_instanceof",dependencies:{},internal:false}),interopRequireDefault:helper("7.0.0-beta.0","function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}",{globals:[],locals:{_interopRequireDefault:["body.0.id"]},exportBindingAssignments:[],exportName:"_interopRequireDefault",dependencies:{},internal:false}),interopRequireWildcard:helper("7.14.0",'var cache;function _interopRequireWildcard(e,t){if(!t&&e&&e.__esModule)return e;var r,c,a=Object.defineProperty,n={__proto__:null,default:e};if(Object(e)!==e)return n;if(cache||"function"!=typeof WeakMap||(cache=new WeakMap),cache){if(cache.has(e))return cache.get(e);cache.set(e,n)}for(c in e)"default"!==c&&{}.hasOwnProperty.call(e,c)&&((r=a&&Object.getOwnPropertyDescriptor(e,c))&&(r.get||r.set)?a(n,c,r):n[c]=e[c]);return n}',{globals:["Object","WeakMap"],locals:{cache:["body.0.declarations.0.id","body.1.body.body.3.test.expressions.0.left.left","body.1.body.body.3.test.expressions.1","body.1.body.body.3.consequent.body.0.test.callee.object","body.1.body.body.3.consequent.body.0.consequent.argument.callee.object","body.1.body.body.3.consequent.body.1.expression.callee.object","body.1.body.body.3.test.expressions.0.right.left"],_interopRequireWildcard:["body.1.id"]},exportBindingAssignments:[],exportName:"_interopRequireWildcard",dependencies:{},internal:false}),isNativeFunction:helper("7.0.0-beta.0",'function _isNativeFunction(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(n){return"function"==typeof t}}',{globals:["Function"],locals:{_isNativeFunction:["body.0.id"]},exportBindingAssignments:[],exportName:"_isNativeFunction",dependencies:{},internal:false}),isNativeReflectConstruct:helper("7.9.0","function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_isNativeReflectConstruct=function(){return!!t})()}",{globals:["Boolean","Reflect"],locals:{_isNativeReflectConstruct:["body.0.id","body.0.body.body.1.argument.callee.left"]},exportBindingAssignments:["body.0.body.body.1.argument.callee"],exportName:"_isNativeReflectConstruct",dependencies:{},internal:false}),iterableToArray:helper("7.0.0-beta.0",'function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}',{globals:["Symbol","Array"],locals:{_iterableToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_iterableToArray",dependencies:{},internal:false}),iterableToArrayLimit:helper("7.0.0-beta.0",'function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(o)throw n}}return a}}',{globals:["Symbol","Object"],locals:{_iterableToArrayLimit:["body.0.id"]},exportBindingAssignments:[],exportName:"_iterableToArrayLimit",dependencies:{},internal:false}),jsx:helper("7.0.0-beta.0",'var REACT_ELEMENT_TYPE;function _createRawReactElement(e,r,E,l){REACT_ELEMENT_TYPE||(REACT_ELEMENT_TYPE="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var o=e&&e.defaultProps,n=arguments.length-3;if(r||0===n||(r={children:void 0}),1===n)r.children=l;else if(n>1){for(var t=Array(n),f=0;f<n;f++)t[f]=arguments[f+3];r.children=t}if(r&&o)for(var i in o)void 0===r[i]&&(r[i]=o[i]);else r||(r=o||{});return{$$typeof:REACT_ELEMENT_TYPE,type:e,key:void 0===E?null:""+E,ref:null,props:r,_owner:null}}',{globals:["Symbol","Array"],locals:{REACT_ELEMENT_TYPE:["body.0.declarations.0.id","body.1.body.body.0.expression.left","body.1.body.body.4.argument.properties.0.value","body.1.body.body.0.expression.right.left"],_createRawReactElement:["body.1.id"]},exportBindingAssignments:[],exportName:"_createRawReactElement",dependencies:{},internal:false}),maybeArrayLike:helper("7.9.0",'function _maybeArrayLike(r,a,e){if(a&&!Array.isArray(a)&&"number"==typeof a.length){var y=a.length;return arrayLikeToArray(a,void 0!==e&&e<y?e:y)}return r(a,e)}',{globals:["Array"],locals:{_maybeArrayLike:["body.0.id"]},exportBindingAssignments:[],exportName:"_maybeArrayLike",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.body.1.argument.callee"]},internal:false}),newArrowCheck:helper("7.0.0-beta.0",'function _newArrowCheck(n,r){if(n!==r)throw new TypeError("Cannot instantiate an arrow function")}',{globals:["TypeError"],locals:{_newArrowCheck:["body.0.id"]},exportBindingAssignments:[],exportName:"_newArrowCheck",dependencies:{},internal:false}),nonIterableRest:helper("7.0.0-beta.0",'function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["TypeError"],locals:{_nonIterableRest:["body.0.id"]},exportBindingAssignments:[],exportName:"_nonIterableRest",dependencies:{},internal:false}),nonIterableSpread:helper("7.0.0-beta.0",'function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["TypeError"],locals:{_nonIterableSpread:["body.0.id"]},exportBindingAssignments:[],exportName:"_nonIterableSpread",dependencies:{},internal:false}),nullishReceiverError:helper("7.22.6",'function _nullishReceiverError(r){throw new TypeError("Cannot set property of null or undefined.")}',{globals:["TypeError"],locals:{_nullishReceiverError:["body.0.id"]},exportBindingAssignments:[],exportName:"_nullishReceiverError",dependencies:{},internal:false}),objectDestructuringEmpty:helper("7.0.0-beta.0",'function _objectDestructuringEmpty(t){if(null==t)throw new TypeError("Cannot destructure "+t)}',{globals:["TypeError"],locals:{_objectDestructuringEmpty:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectDestructuringEmpty",dependencies:{},internal:false}),objectSpread2:helper("7.5.0","function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,o)}return t}function _objectSpread2(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?ownKeys(Object(t),!0).forEach(function(r){defineProperty(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):ownKeys(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}",{globals:["Object"],locals:{ownKeys:["body.0.id","body.1.body.body.0.body.body.1.expression.consequent.callee.object.callee","body.1.body.body.0.body.body.1.expression.alternate.alternate.callee.object.callee"],_objectSpread2:["body.1.id"]},exportBindingAssignments:[],exportName:"_objectSpread2",dependencies:{defineProperty:["body.1.body.body.0.body.body.1.expression.consequent.arguments.0.body.body.0.expression.callee"]},internal:false}),objectWithoutProperties:helper("7.0.0-beta.0","function _objectWithoutProperties(e,t){if(null==e)return{};var o,r,i=objectWithoutPropertiesLoose(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r<n.length;r++)o=n[r],-1===t.indexOf(o)&&{}.propertyIsEnumerable.call(e,o)&&(i[o]=e[o])}return i}",{globals:["Object"],locals:{_objectWithoutProperties:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectWithoutProperties",dependencies:{objectWithoutPropertiesLoose:["body.0.body.body.1.declarations.2.init.callee"]},internal:false}),objectWithoutPropertiesLoose:helper("7.0.0-beta.0","function _objectWithoutPropertiesLoose(r,e){if(null==r)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(-1!==e.indexOf(n))continue;t[n]=r[n]}return t}",{globals:[],locals:{_objectWithoutPropertiesLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectWithoutPropertiesLoose",dependencies:{},internal:false}),possibleConstructorReturn:helper("7.0.0-beta.0",'function _possibleConstructorReturn(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return assertThisInitialized(t)}',{globals:["TypeError"],locals:{_possibleConstructorReturn:["body.0.id"]},exportBindingAssignments:[],exportName:"_possibleConstructorReturn",dependencies:{assertThisInitialized:["body.0.body.body.2.argument.callee"]},internal:false}),readOnlyError:helper("7.0.0-beta.0","function _readOnlyError(r){throw new TypeError('\"'+r+'\" is read-only')}",{globals:["TypeError"],locals:{_readOnlyError:["body.0.id"]},exportBindingAssignments:[],exportName:"_readOnlyError",dependencies:{},internal:false}),regenerator:helper("7.27.0",'function _regenerator(){\n/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */\nvar e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return define(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,r){return i=t,c=0,u=e,G.n=r,a}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0))}if(o||r>1)return a;throw y=!0,n}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a \'"+o+"\' method"),c=1);i=e}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break}catch(t){i=e,c=1,u=t}finally{f=1}}return{value:t,done:y}}}(r,o,i),!0),u}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(define(t={},n,function(){return this}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,define(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e}return GeneratorFunction.prototype=GeneratorFunctionPrototype,define(u,"constructor",GeneratorFunctionPrototype),define(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",define(GeneratorFunctionPrototype,o,"GeneratorFunction"),define(u),define(u,o,"Generator"),define(u,n,function(){return this}),define(u,"toString",function(){return"[object Generator]"}),(_regenerator=function(){return{w:i,m:f}})()}',{globals:["Symbol","Object","TypeError"],locals:{_regenerator:["body.0.id","body.0.body.body.9.argument.expressions.9.callee.left"]},exportBindingAssignments:["body.0.body.body.9.argument.expressions.9.callee"],exportName:"_regenerator",dependencies:{regeneratorDefine:["body.0.body.body.1.body.body.1.argument.expressions.0.callee","body.0.body.body.7.declarations.0.init.alternate.expressions.0.callee","body.0.body.body.8.body.body.0.argument.expressions.0.alternate.expressions.1.callee","body.0.body.body.9.argument.expressions.1.callee","body.0.body.body.9.argument.expressions.2.callee","body.0.body.body.9.argument.expressions.4.callee","body.0.body.body.9.argument.expressions.5.callee","body.0.body.body.9.argument.expressions.6.callee","body.0.body.body.9.argument.expressions.7.callee","body.0.body.body.9.argument.expressions.8.callee"]},internal:false}),regeneratorAsync:helper("7.27.0","function _regeneratorAsync(n,e,r,t,o){var a=asyncGen(n,e,r,t,o);return a.next().then(function(n){return n.done?n.value:a.next()})}",{globals:[],locals:{_regeneratorAsync:["body.0.id"]},exportBindingAssignments:[],exportName:"_regeneratorAsync",dependencies:{regeneratorAsyncGen:["body.0.body.body.0.declarations.0.init.callee"]},internal:false}),regeneratorAsyncGen:helper("7.27.0","function _regeneratorAsyncGen(r,e,t,o,n){return new regeneratorAsyncIterator(regenerator().w(r,e,t,o),n||Promise)}",{globals:["Promise"],locals:{_regeneratorAsyncGen:["body.0.id"]},exportBindingAssignments:[],exportName:"_regeneratorAsyncGen",dependencies:{regenerator:["body.0.body.body.0.argument.arguments.0.callee.object.callee"],regeneratorAsyncIterator:["body.0.body.body.0.argument.callee"]},internal:false}),regeneratorAsyncIterator:helper("7.27.0",'function AsyncIterator(t,e){function n(r,o,i,f){try{var c=t[r](o),u=c.value;return u instanceof OverloadYield?e.resolve(u.v).then(function(t){n("next",t,i,f)},function(t){n("throw",t,i,f)}):e.resolve(u).then(function(t){c.value=t,i(c)},function(t){return n("throw",t,i,f)})}catch(t){f(t)}}var r;this.next||(define(AsyncIterator.prototype),define(AsyncIterator.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),define(this,"_invoke",function(t,o,i){function f(){return new e(function(e,r){n(t,i,e,r)})}return r=r?r.then(f,f):f()},!0)}',{globals:["Symbol"],locals:{AsyncIterator:["body.0.id","body.0.body.body.2.expression.expressions.0.right.expressions.0.arguments.0.object","body.0.body.body.2.expression.expressions.0.right.expressions.1.arguments.0.object"]},exportBindingAssignments:[],exportName:"AsyncIterator",dependencies:{OverloadYield:["body.0.body.body.0.body.body.0.block.body.1.argument.test.right"],regeneratorDefine:["body.0.body.body.2.expression.expressions.0.right.expressions.0.callee","body.0.body.body.2.expression.expressions.0.right.expressions.1.callee","body.0.body.body.2.expression.expressions.1.callee"]},internal:true}),regeneratorDefine:helper("7.27.0",'function regeneratorDefine(e,r,n,t){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}regeneratorDefine=function(e,r,n,t){function o(r,n){regeneratorDefine(e,r,function(e){return this._invoke(r,n,e)})}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2))},regeneratorDefine(e,r,n,t)}',{globals:["Object"],locals:{regeneratorDefine:["body.0.id","body.0.body.body.2.expression.expressions.0.right.body.body.0.body.body.0.expression.callee","body.0.body.body.2.expression.expressions.1.callee","body.0.body.body.2.expression.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.2.expression.expressions.0"],exportName:"regeneratorDefine",dependencies:{},internal:true}),regeneratorKeys:helper("7.27.0","function _regeneratorKeys(e){var n=Object(e),r=[];for(var t in n)r.unshift(t);return function e(){for(;r.length;)if((t=r.pop())in n)return e.value=t,e.done=!1,e;return e.done=!0,e}}",{globals:["Object"],locals:{_regeneratorKeys:["body.0.id"]},exportBindingAssignments:[],exportName:"_regeneratorKeys",dependencies:{},internal:false}),regeneratorValues:helper("7.18.0",'function _regeneratorValues(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],r=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}throw new TypeError(typeof e+" is not iterable")}',{globals:["Symbol","isNaN","TypeError"],locals:{_regeneratorValues:["body.0.id"]},exportBindingAssignments:[],exportName:"_regeneratorValues",dependencies:{},internal:false}),set:helper("7.0.0-beta.0",'function set(e,r,t,o){return set="undefined"!=typeof Reflect&&Reflect.set?Reflect.set:function(e,r,t,o){var f,i=superPropBase(e,r);if(i){if((f=Object.getOwnPropertyDescriptor(i,r)).set)return f.set.call(o,t),!0;if(!f.writable)return!1}if(f=Object.getOwnPropertyDescriptor(o,r)){if(!f.writable)return!1;f.value=t,Object.defineProperty(o,r,f)}else defineProperty(o,r,t);return!0},set(e,r,t,o)}function _set(e,r,t,o,f){if(!set(e,r,t,o||e)&&f)throw new TypeError("failed to set property");return t}',{globals:["Reflect","Object","TypeError"],locals:{set:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.1.body.body.0.test.left.argument.callee","body.0.body.body.0.argument.expressions.0.left"],_set:["body.1.id"]},exportBindingAssignments:[],exportName:"_set",dependencies:{superPropBase:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.0.declarations.1.init.callee"],defineProperty:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.2.alternate.expression.callee"]},internal:false}),setFunctionName:helper("7.23.6",'function setFunctionName(e,t,n){"symbol"==typeof t&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}',{globals:["Object"],locals:{setFunctionName:["body.0.id"]},exportBindingAssignments:[],exportName:"setFunctionName",dependencies:{},internal:false}),setPrototypeOf:helper("7.0.0-beta.0","function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_setPrototypeOf(t,e)}",{globals:["Object"],locals:{_setPrototypeOf:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_setPrototypeOf",dependencies:{},internal:false}),skipFirstGeneratorNext:helper("7.0.0-beta.0","function _skipFirstGeneratorNext(t){return function(){var r=t.apply(this,arguments);return r.next(),r}}",{globals:[],locals:{_skipFirstGeneratorNext:["body.0.id"]},exportBindingAssignments:[],exportName:"_skipFirstGeneratorNext",dependencies:{},internal:false}),slicedToArray:helper("7.0.0-beta.0","function _slicedToArray(r,e){return arrayWithHoles(r)||iterableToArrayLimit(r,e)||unsupportedIterableToArray(r,e)||nonIterableRest()}",{globals:[],locals:{_slicedToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_slicedToArray",dependencies:{arrayWithHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArrayLimit:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableRest:["body.0.body.body.0.argument.right.callee"]},internal:false}),superPropBase:helper("7.0.0-beta.0","function _superPropBase(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=getPrototypeOf(t)););return t}",{globals:[],locals:{_superPropBase:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropBase",dependencies:{getPrototypeOf:["body.0.body.body.0.test.right.right.right.callee"]},internal:false}),superPropGet:helper("7.25.0",'function _superPropGet(t,o,e,r){var p=get(getPrototypeOf(1&r?t.prototype:t),o,e);return 2&r&&"function"==typeof p?function(t){return p.apply(e,t)}:p}',{globals:[],locals:{_superPropGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropGet",dependencies:{get:["body.0.body.body.0.declarations.0.init.callee"],getPrototypeOf:["body.0.body.body.0.declarations.0.init.arguments.0.callee"]},internal:false}),superPropSet:helper("7.25.0","function _superPropSet(t,e,o,r,p,f){return set(getPrototypeOf(f?t.prototype:t),e,o,r,p)}",{globals:[],locals:{_superPropSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropSet",dependencies:{set:["body.0.body.body.0.argument.callee"],getPrototypeOf:["body.0.body.body.0.argument.arguments.0.callee"]},internal:false}),taggedTemplateLiteral:helper("7.0.0-beta.0","function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}",{globals:["Object"],locals:{_taggedTemplateLiteral:["body.0.id"]},exportBindingAssignments:[],exportName:"_taggedTemplateLiteral",dependencies:{},internal:false}),taggedTemplateLiteralLoose:helper("7.0.0-beta.0","function _taggedTemplateLiteralLoose(e,t){return t||(t=e.slice(0)),e.raw=t,e}",{globals:[],locals:{_taggedTemplateLiteralLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_taggedTemplateLiteralLoose",dependencies:{},internal:false}),tdz:helper("7.5.5",'function _tdzError(e){throw new ReferenceError(e+" is not defined - temporal dead zone")}',{globals:["ReferenceError"],locals:{_tdzError:["body.0.id"]},exportBindingAssignments:[],exportName:"_tdzError",dependencies:{},internal:false}),temporalRef:helper("7.0.0-beta.0","function _temporalRef(r,e){return r===undef?err(e):r}",{globals:[],locals:{_temporalRef:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalRef",dependencies:{temporalUndefined:["body.0.body.body.0.argument.test.right"],tdz:["body.0.body.body.0.argument.consequent.callee"]},internal:false}),temporalUndefined:helper("7.0.0-beta.0","function _temporalUndefined(){}",{globals:[],locals:{_temporalUndefined:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalUndefined",dependencies:{},internal:false}),toArray:helper("7.0.0-beta.0","function _toArray(r){return arrayWithHoles(r)||iterableToArray(r)||unsupportedIterableToArray(r)||nonIterableRest()}",{globals:[],locals:{_toArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_toArray",dependencies:{arrayWithHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArray:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableRest:["body.0.body.body.0.argument.right.callee"]},internal:false}),toConsumableArray:helper("7.0.0-beta.0","function _toConsumableArray(r){return arrayWithoutHoles(r)||iterableToArray(r)||unsupportedIterableToArray(r)||nonIterableSpread()}",{globals:[],locals:{_toConsumableArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_toConsumableArray",dependencies:{arrayWithoutHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArray:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableSpread:["body.0.body.body.0.argument.right.callee"]},internal:false}),toPrimitive:helper("7.1.5",'function toPrimitive(t,e){if("object"!=typeof t||!t)return t;var r;if("undefined"!=typeof Symbol&&void 0!==(r=t[Symbol.toPrimitive])){var i=r.call(t,e||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}',{globals:["Symbol","TypeError","String","Number"],locals:{toPrimitive:["body.0.id"]},exportBindingAssignments:[],exportName:"toPrimitive",dependencies:{},internal:false}),toPropertyKey:helper("7.1.5",'function toPropertyKey(t){var i=toPrimitive(t,"string");return"symbol"==typeof i?i:i+""}',{globals:[],locals:{toPropertyKey:["body.0.id"]},exportBindingAssignments:[],exportName:"toPropertyKey",dependencies:{toPrimitive:["body.0.body.body.0.declarations.0.init.callee"]},internal:false}),toSetter:helper("7.24.0",'function _toSetter(t,e,n){e||(e=[]);var r=e.length++;return Object.defineProperty({},"_",{set:function(o){e[r]=o,t.apply(n,e)}})}',{globals:["Object"],locals:{_toSetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_toSetter",dependencies:{},internal:false}),tsRewriteRelativeImportExtensions:helper("7.27.0",'function tsRewriteRelativeImportExtensions(t,e){return"string"==typeof t&&/^\\.\\.?\\//.test(t)?t.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+)?)\\.([cm]?)ts$/i,function(t,s,r,n,o){return s?e?".jsx":".js":!r||n&&o?r+n+"."+o.toLowerCase()+"js":t}):t}',{globals:[],locals:{tsRewriteRelativeImportExtensions:["body.0.id"]},exportBindingAssignments:[],exportName:"tsRewriteRelativeImportExtensions",dependencies:{},internal:false}),typeof:helper("7.0.0-beta.0",'function _typeof(o){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}',{globals:["Symbol"],locals:{_typeof:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_typeof",dependencies:{},internal:false}),unsupportedIterableToArray:helper("7.9.0",'function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?arrayLikeToArray(r,a):void 0}}',{globals:["Array"],locals:{_unsupportedIterableToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_unsupportedIterableToArray",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.body.0.consequent.argument.callee","body.0.body.body.0.consequent.body.2.argument.expressions.1.alternate.consequent.callee"]},internal:false}),usingCtx:helper("7.23.9",'function _usingCtx(){var r="function"==typeof SuppressedError?SuppressedError:function(r,e){var n=Error();return n.name="SuppressedError",n.error=r,n.suppressed=e,n},e={},n=[];function using(r,e){if(null!=e){if(Object(e)!==e)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(r)var o=e[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(void 0===o&&(o=e[Symbol.dispose||Symbol.for("Symbol.dispose")],r))var t=o;if("function"!=typeof o)throw new TypeError("Object is not disposable.");t&&(o=function(){try{t.call(e)}catch(r){return Promise.reject(r)}}),n.push({v:e,d:o,a:r})}else r&&n.push({d:e,a:r});return e}return{e:e,u:using.bind(null,!1),a:using.bind(null,!0),d:function(){var o,t=this.e,s=0;function next(){for(;o=n.pop();)try{if(!o.a&&1===s)return s=0,n.push(o),Promise.resolve().then(next);if(o.d){var r=o.d.call(o.v);if(o.a)return s|=2,Promise.resolve(r).then(next,err)}else s|=1}catch(r){return err(r)}if(1===s)return t!==e?Promise.reject(t):Promise.resolve();if(t!==e)throw t}function err(n){return t=t!==e?new r(n,t):n,next()}return next()}}}',{globals:["SuppressedError","Error","Object","TypeError","Symbol","Promise"],locals:{_usingCtx:["body.0.id"]},exportBindingAssignments:[],exportName:"_usingCtx",dependencies:{},internal:false}),wrapAsyncGenerator:helper("7.0.0-beta.0",'function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments))}}function AsyncGenerator(e){var t,n;function resume(t,n){try{var r=e[t](n),o=r.value,u=o instanceof OverloadYield;Promise.resolve(u?o.v:o).then(function(n){if(u){var i="return"===t&&o.k?t:"next";if(!o.k||n.done)return resume(i,n);n=e[i](n).value}settle(!!r.done,n)},function(e){resume("throw",e)})}catch(e){settle(2,e)}}function settle(e,r){2===e?t.reject(r):t.resolve({value:r,done:e}),(t=t.next)?resume(t.key,t.arg):n=null}this._invoke=function(e,r){return new Promise(function(o,u){var i={key:e,arg:r,resolve:o,reject:u,next:null};n?n=n.next=i:(t=n=i,resume(e,r))})},"function"!=typeof e.return&&(this.return=void 0)}AsyncGenerator.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},AsyncGenerator.prototype.next=function(e){return this._invoke("next",e)},AsyncGenerator.prototype.throw=function(e){return this._invoke("throw",e)},AsyncGenerator.prototype.return=function(e){return this._invoke("return",e)};',{globals:["Promise","Symbol"],locals:{_wrapAsyncGenerator:["body.0.id"],AsyncGenerator:["body.1.id","body.0.body.body.0.argument.body.body.0.argument.callee","body.2.expression.expressions.0.left.object.object","body.2.expression.expressions.1.left.object.object","body.2.expression.expressions.2.left.object.object","body.2.expression.expressions.3.left.object.object"]},exportBindingAssignments:[],exportName:"_wrapAsyncGenerator",dependencies:{OverloadYield:["body.1.body.body.1.body.body.0.block.body.0.declarations.2.init.right"]},internal:false}),wrapNativeSuper:helper("7.0.0-beta.0",'function _wrapNativeSuper(t){var r="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function(t){if(null===t||!isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,Wrapper)}function Wrapper(){return construct(t,arguments,getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),setPrototypeOf(Wrapper,t)},_wrapNativeSuper(t)}',{globals:["Map","TypeError","Object"],locals:{_wrapNativeSuper:["body.0.id","body.0.body.body.1.argument.expressions.1.callee","body.0.body.body.1.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.1.argument.expressions.0"],exportName:"_wrapNativeSuper",dependencies:{getPrototypeOf:["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.arguments.2.object.callee"],setPrototypeOf:["body.0.body.body.1.argument.expressions.0.right.body.body.4.argument.expressions.1.callee"],isNativeFunction:["body.0.body.body.1.argument.expressions.0.right.body.body.0.test.right.argument.callee"],construct:["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.callee"]},internal:false}),wrapRegExp:helper("7.19.0",'function _wrapRegExp(){_wrapRegExp=function(e,r){return new BabelRegExp(e,void 0,r)};var e=RegExp.prototype,r=new WeakMap;function BabelRegExp(e,t,p){var o=RegExp(e,t);return r.set(o,p||r.get(e)),setPrototypeOf(o,BabelRegExp.prototype)}function buildGroups(e,t){var p=r.get(t);return Object.keys(p).reduce(function(r,t){var o=p[t];if("number"==typeof o)r[t]=e[o];else{for(var i=0;void 0===e[o[i]]&&i+1<o.length;)i++;r[t]=e[o[i]]}return r},Object.create(null))}return inherits(BabelRegExp,RegExp),BabelRegExp.prototype.exec=function(r){var t=e.exec.call(this,r);if(t){t.groups=buildGroups(t,this);var p=t.indices;p&&(p.groups=buildGroups(p,this))}return t},BabelRegExp.prototype[Symbol.replace]=function(t,p){if("string"==typeof p){var o=r.get(this);return e[Symbol.replace].call(this,t,p.replace(/\\$<([^>]+)(>|$)/g,function(e,r,t){if(""===t)return e;var p=o[r];return Array.isArray(p)?"$"+p.join("$"):"number"==typeof p?"$"+p:""}))}if("function"==typeof p){var i=this;return e[Symbol.replace].call(this,t,function(){var e=arguments;return"object"!=typeof e[e.length-1]&&(e=[].slice.call(e)).push(buildGroups(e,i)),p.apply(this,e)})}return e[Symbol.replace].call(this,t,p)},_wrapRegExp.apply(this,arguments)}',{globals:["RegExp","WeakMap","Object","Symbol","Array"],locals:{_wrapRegExp:["body.0.id","body.0.body.body.4.argument.expressions.3.callee.object","body.0.body.body.0.expression.left"]},exportBindingAssignments:["body.0.body.body.0.expression"],exportName:"_wrapRegExp",dependencies:{setPrototypeOf:["body.0.body.body.2.body.body.1.argument.expressions.1.callee"],inherits:["body.0.body.body.4.argument.expressions.0.callee"]},internal:false}),writeOnlyError:helper("7.12.13","function _writeOnlyError(r){throw new TypeError('\"'+r+'\" is write-only')}",{globals:["TypeError"],locals:{_writeOnlyError:["body.0.id"]},exportBindingAssignments:[],exportName:"_writeOnlyError",dependencies:{},internal:false})};const{cloneNode:u,identifier:p}=a;function deep(t,s,i){try{const r=s.split(".");let a=r.shift();while(r.length>0){t=t[a];a=r.shift()}if(arguments.length>2){t[a]=i}else{return t[a]}}catch(t){t.message+=` (when accessing ${s})`;throw t}}function permuteHelperAST(t,s,i,r,a,o){const{locals:l,dependencies:f,exportBindingAssignments:h,exportName:m}=s;const g=new Set(r||[]);if(i)g.add(i);for(const[s,r]of Object.entries(l)){let a=s;if(i&&s===m){a=i}else{while(g.has(a))a="_"+a}if(a!==s){for(const s of r){deep(t,s,p(a))}}}for(const[s,i]of Object.entries(f)){const r=typeof a==="function"&&a(s)||p(s);for(const s of i){deep(t,s,u(r))}}o?.(t,m,s=>{h.forEach(i=>deep(t,i,s(deep(t,i))))})}const f=Object.create(null);function loadHelper(t){if(!f[t]){const s=l[t];if(!s){throw Object.assign(new ReferenceError(`Unknown helper ${t}`),{code:"BABEL_HELPER_UNKNOWN",helper:t})}f[t]={minVersion:s.minVersion,build(t,i,r,a){const o=s.ast();permuteHelperAST(o,s.metadata,i,r,t,a);return{nodes:o.body,globals:s.metadata.globals}},getDependencies(){return Object.keys(s.metadata.dependencies)}}}return f[t]}function get(t,s,i,r,a){return loadHelper(t).build(s,i,r,a)}function lib_minVersion(t){return loadHelper(t).minVersion}function getDependencies(t){return loadHelper(t).getDependencies()}function isInternal(t){return l[t]?.metadata.internal}const h=Object.keys(l).map(t=>t.replace(/^_/,""));var m=r(57790);var g=r(24167);const x="2.0.0";const k=null&&["major","premajor","minor","preminor","patch","prepatch","prerelease","release"];const _=null&&["major","premajor","minor","preminor","patch","prepatch","prerelease"];const T="[a-zA-Z0-9-]";const C=String.raw`0|[1-9]\d*`;const A=String.raw`\d+`;const I=String.raw`\d*[a-zA-Z-]${T}*`;const P=String.raw`(${C})\.(${C})\.(${C})`;const $=String.raw`(${A})\.(${A})\.(${A})`;const O=`(?:${I}|${C})`;const D=`(?:${I}|${A})`;const N=String.raw`(?:-(${O}(?:\.${O})*))`;const j=String.raw`(?:-?(${D}(?:\.${D})*))`;const R=`${T}+`;const L=String.raw`(?:\+(${R}(?:\.${R})*))`;const F=`v?${P}${N}?${L}?`;const M=String.raw`[v=\s]*${$}${j}?${L}?`;const B="((?:<|>)?=?)";const W=String.raw`${C}|x|X|\*`;const U=String.raw`${A}|x|X|\*`;const H=String.raw`[v=\s]*(${W})(?:\.(${W})(?:\.(${W})(?:${N})?${L}?)?)?`;const V=String.raw`[v=\s]*(${U})(?:\.(${U})(?:\.(${U})(?:${j})?${L}?)?)?`;const K="(?:~>?)";const G=String.raw`(?:\^)`;const J=String.raw`(^|[^\d])(\d{1,${16}})(?:\.(\d{1,${16}}))?(?:\.(\d{1,${16}}))?`;const X=String.raw`${J}(?:$|[^\d])`;const Y=String.raw`${J}(?:${N})?(?:${L})?(?:$|[^\d])`;function makeSafeRegexSource(t){const s=[[String.raw`\s`,1],[String.raw`\d`,256],[T,250]];for(const[i,r]of s)t=t.split(`${i}*`).join(`${i}{0,${r}}`).split(`${i}+`).join(`${i}{1,${r}}`);return t}function comparison_CmVirWIW_safeRegex(t,s){return new RegExp(makeSafeRegexSource(t),s)}const Q=comparison_CmVirWIW_safeRegex(`^${F}$`);const Z=comparison_CmVirWIW_safeRegex(`^${M}$`);const ee=/^\d+$/;function comparison_CmVirWIW_formatComparableVersion(t){const s=`${t.major}.${t.minor}.${t.patch}`;return t.prerelease?.length?`${s}-${t.prerelease.join(".")}`:s}function comparison_CmVirWIW_formatFullVersion(t){const s=comparison_CmVirWIW_formatComparableVersion(t);return t.build?.length?`${s}+${t.build.join(".")}`:s}function comparison_CmVirWIW_parse(t,s={}){if(typeof t!=="string")return t;if(t.length>256)throw new TypeError(`Version exceeds the maximum length of 256 characters`);const i=t.trim().match(s.loose?Z:Q);if(!i)throw new TypeError(`Invalid version syntax: ${t}`);const r=Number(i[1]);const a=Number(i[2]);const o=Number(i[3]);if(r>Number.MAX_SAFE_INTEGER||r<0)throw new TypeError(`Invalid major version: ${i[1]}`);if(a>Number.MAX_SAFE_INTEGER||a<0)throw new TypeError(`Invalid minor version: ${i[2]}`);if(o>Number.MAX_SAFE_INTEGER||o<0)throw new TypeError(`Invalid patch version: ${i[3]}`);const l=i[4]?i[4].split(".").map(t=>{if(ee.test(t)){const s=Number(t);if(s>=0&&s<Number.MAX_SAFE_INTEGER)return s}return t}):void 0;return{build:i[5]?.split("."),major:r,minor:a,patch:o,prerelease:l}}function comparison_CmVirWIW_tryParse(t,s={}){try{return comparison_CmVirWIW_parse(t,s)}catch{return null}}const te=/^\d+$/;function comparison_CmVirWIW_compareIdentifiers(t,s){if(typeof t==="number"&&typeof s==="number")return t===s?0:t<s?-1:1;const i=te.test(String(t));const r=te.test(String(s));const a=i?Number(t):t;const o=r?Number(s):s;return a===o?0:i&&!r?-1:r&&!i?1:a<o?-1:1}function compareIdentifiersReversed(t,s){return comparison_CmVirWIW_compareIdentifiers(s,t)}function comparison_CmVirWIW_compareMainParsed(t,s){return t.major===s.major?t.minor===s.minor?t.patch===s.patch?0:t.patch<s.patch?-1:1:t.minor<s.minor?-1:1:t.major<s.major?-1:1}function comparePrereleaseParsed(t,s){const i=t.prerelease;const r=s.prerelease;if(i?.length&&!r?.length)return-1;if(!i?.length&&r?.length)return 1;if(!i?.length&&!r?.length)return 0;for(let t=0;;t++){const s=i?.[t];const a=r?.[t];if(s===void 0&&a===void 0)return 0;if(a===void 0)return 1;if(s===void 0)return-1;if(s!==a)return comparison_CmVirWIW_compareIdentifiers(s,a)}}function comparison_CmVirWIW_compareParsed(t,s){return comparison_CmVirWIW_compareMainParsed(t,s)||comparePrereleaseParsed(t,s)}function compareBuildParsed(t,s){const i=comparison_CmVirWIW_compareParsed(t,s);if(i!==0)return i;for(let i=0;;i++){const r=t.build?.[i];const a=s.build?.[i];if(r===void 0&&a===void 0)return 0;if(a===void 0)return 1;if(r===void 0)return-1;if(r!==a)return comparison_CmVirWIW_compareIdentifiers(r,a)}}function compare(t,s,i={}){return comparison_CmVirWIW_compareParsed(comparison_CmVirWIW_parse(t,i),comparison_CmVirWIW_parse(s,i))}function compareReversed(t,s,i={}){return compare(s,t,i)}function compareMain(t,s,i={}){return comparison_CmVirWIW_compareMainParsed(comparison_CmVirWIW_parse(t,i),comparison_CmVirWIW_parse(s,i))}function comparePrerelease(t,s,i={}){return comparePrereleaseParsed(comparison_CmVirWIW_parse(t,i),comparison_CmVirWIW_parse(s,i))}function compareBuild(t,s,i={}){return compareBuildParsed(comparison_CmVirWIW_parse(t,i),comparison_CmVirWIW_parse(s,i))}function compareWithOperator(t,s,i,r={}){if(s==="===")return t===i;if(s==="!==")return t!==i;const a=compare(t,i,r);switch(s){case"":case"=":case"==":return a===0;case"!=":return a!==0;case">":return a>0;case">=":return a>=0;case"<":return a<0;case"<=":return a<=0;default:throw new TypeError(`Invalid operator: ${s}`)}}function isEqual(t,s,i={}){return compare(t,s,i)===0}function isNotEqual(t,s,i={}){return compare(t,s,i)!==0}function comparison_CmVirWIW_isGreaterThan(t,s,i={}){return compare(t,s,i)>0}function isGreaterThanOrEqual(t,s,i={}){return compare(t,s,i)>=0}function comparison_CmVirWIW_isLessThan(t,s,i={}){return compare(t,s,i)<0}function isLessThanOrEqual(t,s,i={}){return compare(t,s,i)<=0}function comparison_CmVirWIW_sort(t,s={}){return[...t].sort((t,i)=>compareBuild(t,i,s))}function sortReversed(t,s={}){return[...t].sort((t,i)=>compareBuild(i,t,s))}const ne=comparison_CmVirWIW_safeRegex(X);const se=comparison_CmVirWIW_safeRegex(Y);const ie=comparison_CmVirWIW_safeRegex(`^${N}$`);const re=comparison_CmVirWIW_safeRegex(`^${j}$`);function version_Co1j9Tpq_isValid(t,s={}){return comparison_CmVirWIW_tryParse(t,s)!==null}function isPrerelease(t,s={}){const i=tryParse(t,s);if(!i)return null;return!!i.prerelease?.length}function isStable(t,s={}){const i=tryParse(t,s);if(!i)return null;return!i.prerelease?.length}function normalizeFull(t,s={}){const i=tryParse(t,s);return i?formatFullVersion(i):null}function normalize(t,s={}){const i=tryParse(t,s);return i?formatComparableVersion(i):null}function clean(t,s={}){if(typeof t!=="string")return normalize(t,s);return normalize(t.trim().replace(/^[=v]+/,""),s)}function coerce(t,s={}){if(typeof t==="object")return t;const i=typeof t==="number"?String(t):t;let r=null;if(s.rtl){const t=s.includePrerelease?COERCE_FULL:COERCE;const a=safeRegex(t,"g");let o;while((o=a.exec(i))&&(!r||r.index+r[0].length!==i.length)){if(!r||o.index+o[0].length!==r.index+r[0].length)r=o;a.lastIndex=o.index+o[1].length+o[2].length}}else r=(s.includePrerelease?se:ne).exec(i);if(!r)return null;const a=r[2];const o=r[3]||"0";const l=r[4]||"0";const u=s.includePrerelease&&r[5]?`-${r[5]}`:"";const p=s.includePrerelease&&r[6]?`+${r[6]}`:"";return tryParse(`${a}.${o}.${l}${u}${p}`,s)}function isPrereleasePrefix(t,s){const i=s.split(".");return i.length<=t.length&&i.every((s,i)=>compareIdentifiers(t[i],s)===0)}function incrementPrerelease(t,s,i){const r=Number(i)?1:0;let a=t.prerelease;if(a?.length){let t=false;for(let s=a.length-1;s>=0;s--)if(typeof a[s]==="number"){a[s]=Number(a[s])+1;t=true;break}if(!t){if(s===a.join(".")&&i===false)throw new Error("invalid increment argument: identifier already exists");a.push(r)}}else{a=[r];t.prerelease=a}if(!s)return;const o=i===false?[s]:[s,r];if(isPrereleasePrefix(a,s)){const i=a[s.split(".").length];if(Number.isNaN(Number(i)))t.prerelease=o}else t.prerelease=o}function incrementMutable(t,s,i,r){switch(s){case"premajor":t.prerelease=void 0;t.patch=0;t.minor=0;t.major++;incrementPrerelease(t,i,r);break;case"preminor":t.prerelease=void 0;t.patch=0;t.minor++;incrementPrerelease(t,i,r);break;case"prepatch":t.prerelease=void 0;incrementMutable(t,"patch",i,r);incrementPrerelease(t,i,r);break;case"prerelease":if(!t.prerelease?.length)incrementMutable(t,"patch",i,r);incrementPrerelease(t,i,r);break;case"release":if(!t.prerelease?.length)throw new Error(`version ${formatFullVersion(t)} is not a prerelease`);t.prerelease=void 0;break;case"major":if(t.minor!==0||t.patch!==0||!t.prerelease?.length)t.major++;t.minor=0;t.patch=0;t.prerelease=void 0;break;case"minor":if(t.patch!==0||!t.prerelease?.length)t.minor++;t.patch=0;t.prerelease=void 0;break;case"patch":if(!t.prerelease?.length)t.patch++;t.prerelease=void 0;break;case"pre":incrementPrerelease(t,i,r);break;default:throw new Error(`invalid increment argument: ${s}`)}}function incrementParsedVersion(t,s,i,r,a=false){if(s.startsWith("pre")){if(!i&&r===false)throw new Error("invalid increment argument: identifier is empty");if(i){const t=a?re:ie;const s=`-${i}`.match(t);if(!s||s[1]!==i)throw new Error(`invalid identifier: ${i}`)}}const o={build:t.build?[...t.build]:void 0,major:t.major,minor:t.minor,patch:t.patch,prerelease:t.prerelease?[...t.prerelease]:void 0};incrementMutable(o,s,i,r);return formatComparableVersion(o)}function increment(t,s,i={}){try{return incrementParsedVersion(parse(t,i),s,i.identifier,i.identifierBase,i.loose)}catch{return null}}function truncate(t,s,i={}){if(!TRUNCATION_TYPES.includes(s))return null;const r=tryParse(t,i);if(!r)return null;if(s.startsWith("pre"))return formatComparableVersion(r);return formatComparableVersion({major:r.major,minor:s==="major"?0:r.minor,patch:s==="major"||s==="minor"?0:r.patch})}function difference(t,s){const i=parse(t);const r=parse(s);const a=compareParsed(i,r);if(a===0)return null;const o=a>0?i:r;const l=a>0?r:i;const u=o.prerelease?.length;if(l.prerelease?.length&&!u){if(l.patch===0&&l.minor===0)return"major";if(compareMainParsed(l,o)===0)return l.minor!==0&&l.patch===0?"minor":"patch"}const p=u?"pre":"";if(i.major!==r.major)return`${p}major`;if(i.minor!==r.minor)return`${p}minor`;if(i.patch!==r.patch)return`${p}patch`;return"prerelease"}function getMajor(t,s={}){return parse(t,s).major}function getMinor(t,s={}){return parse(t,s).minor}function getPatch(t,s={}){return parse(t,s).patch}function getPrerelease(t,s={}){const i=tryParse(t,s);return i?[...i.prerelease||[]]:null}function getBuild(t,s={}){const i=tryParse(t,s);return i?[...i.build||[]]:null}const ae=comparison_CmVirWIW_safeRegex(String.raw`^${B}\s*(${F})$|^$`);const oe=comparison_CmVirWIW_safeRegex(String.raw`^${B}\s*(${M})$|^$`);function set_BGFWKKE8_formatComparator(t){return t.version?`${t.operator}${comparison_CmVirWIW_formatComparableVersion(t.version)}`:""}function set_BGFWKKE8_parseComparator(t,s={}){if(typeof t!=="string")return t;const i=t.trim().replaceAll(/\s+/g," ");const r=i.match(s.loose?oe:ae);if(!r)throw new TypeError(`Invalid comparator: ${i}`);const a=r[1]==="="?"":r[1]||"";const o=r[2]?comparison_CmVirWIW_parse(r[2],s):null;return{operator:a,options:s,value:o?`${a}${comparison_CmVirWIW_formatComparableVersion(o)}`:"",version:o}}function tryParseComparator(t,s={}){try{return typeof t==="string"?set_BGFWKKE8_parseComparator(t,s):t}catch{return null}}function set_BGFWKKE8_testParsedComparator(t,s){if(!t.version)return true;const i=comparison_CmVirWIW_compareParsed(s,t.version);switch(t.operator){case"":return i===0;case">":return i>0;case">=":return i>=0;case"<":return i<0;case"<=":return i<=0}}function testComparatorVersion(t,s){const i=tryParse(s,t.options);return i?set_BGFWKKE8_testParsedComparator(t,i):false}function set_BGFWKKE8_comparatorAllowsPrerelease(t,s){const i=t.version;return i!==null&&!!i.prerelease?.length&&i.major===s.major&&i.minor===s.minor&&i.patch===s.patch}function set_BGFWKKE8_testComparatorSet(t,s,i){if(t.some(t=>!set_BGFWKKE8_testParsedComparator(t,s)))return false;return!s.prerelease?.length||!!i.includePrerelease||t.some(t=>set_BGFWKKE8_comparatorAllowsPrerelease(t,s))}function parsedComparatorsIntersect(t,s,i={}){if(!t.version||!s.version)return true;if(t.operator==="")return set_BGFWKKE8_testComparatorSet([s],t.version,i);if(s.operator==="")return set_BGFWKKE8_testComparatorSet([t],s.version,i);const r=set_BGFWKKE8_formatComparator(t);const a=set_BGFWKKE8_formatComparator(s);if(i.includePrerelease&&(r==="<0.0.0-0"||a==="<0.0.0-0"))return false;if(!i.includePrerelease&&(r.startsWith("<0.0.0")||a.startsWith("<0.0.0")))return false;if(t.operator.startsWith(">")&&s.operator.startsWith(">"))return true;if(t.operator.startsWith("<")&&s.operator.startsWith("<"))return true;const o=comparison_CmVirWIW_compareParsed(t.version,s.version);if(o===0&&t.operator.includes("=")&&s.operator.includes("="))return true;if(o<0&&t.operator.startsWith(">")&&s.operator.startsWith("<"))return true;return o>0&&t.operator.startsWith("<")&&s.operator.startsWith(">")}function formatRange(t){return t.sets.map(t=>t.map(formatComparator).join(" ")).join("||")}const le=new RegExp(L,"g");const ce=comparison_CmVirWIW_safeRegex(L);const ue=comparison_CmVirWIW_safeRegex(String.raw`^\s*(${H})\s+-\s+(${H})\s*$`);const de=comparison_CmVirWIW_safeRegex(String.raw`^\s*(${V})\s+-\s+(${V})\s*$`);const pe=comparison_CmVirWIW_safeRegex(String.raw`(\s*)${B}\s*(${M}|${H})`,"g");const fe=comparison_CmVirWIW_safeRegex(String.raw`(\s*)${K}\s+`,"g");const he=comparison_CmVirWIW_safeRegex(String.raw`(\s*)${G}\s+`,"g");const me=comparison_CmVirWIW_safeRegex(`^${K}${H}$`);const ge=comparison_CmVirWIW_safeRegex(`^${K}${V}$`);const ye=comparison_CmVirWIW_safeRegex(`^${G}${H}$`);const be=comparison_CmVirWIW_safeRegex(`^${G}${V}$`);const ve=comparison_CmVirWIW_safeRegex(String.raw`^${B}\s*${H}$`);const we=comparison_CmVirWIW_safeRegex(String.raw`^${B}\s*${V}$`);const xe=comparison_CmVirWIW_safeRegex(String.raw`(<|>)?=?\s*\*`);const ke=/^\s*>=\s*0\.0\.0\s*$/;const Se=/^\s*>=\s*0\.0\.0-0\s*$/;const Ee=comparison_CmVirWIW_safeRegex(String.raw`^${B}\s*(${M})$|^$`);function isWildcard(t){return!t||String(t).toLowerCase()==="x"||String(t)==="*"}function hasInvalidWildcardOrder(t,s,i){return isWildcard(t)&&!isWildcard(s)||isWildcard(s)&&Boolean(i)&&!isWildcard(i)}function replaceTilde(t,s){const i=s.loose?ge:me;const r=s.includePrerelease?"-0":"";return t.replace(i,(t,s,i,a,o)=>{if(isWildcard(s))return"";if(isWildcard(i))return`>=${s}.0.0${r} <${Number(s)+1}.0.0-0`;if(isWildcard(a))return`>=${s}.${i}.0${r} <${s}.${Number(i)+1}.0-0`;return o?`>=${s}.${i}.${a}-${o} <${s}.${Number(i)+1}.0-0`:`>=${s}.${i}.${a} <${s}.${Number(i)+1}.0-0`})}function replaceTildes(t,s){return t.trim().split(/\s+/).map(t=>replaceTilde(t,s)).join(" ")}function replaceCaret(t,s){const i=s.loose?be:ye;const r=s.includePrerelease?"-0":"";return t.replace(i,(t,s,i,a,o)=>{if(isWildcard(s))return"";if(isWildcard(i))return`>=${s}.0.0${r} <${Number(s)+1}.0.0-0`;if(isWildcard(a))return s==="0"?`>=${s}.${i}.0${r} <${s}.${Number(i)+1}.0-0`:`>=${s}.${i}.0${r} <${Number(s)+1}.0.0-0`;if(o)return s==="0"?i==="0"?`>=${s}.${i}.${a}-${o} <${s}.${i}.${Number(a)+1}-0`:`>=${s}.${i}.${a}-${o} <${s}.${Number(i)+1}.0-0`:`>=${s}.${i}.${a}-${o} <${Number(s)+1}.0.0-0`;return s==="0"?i==="0"?`>=${s}.${i}.${a} <${s}.${i}.${Number(a)+1}-0`:`>=${s}.${i}.${a} <${s}.${Number(i)+1}.0-0`:`>=${s}.${i}.${a} <${Number(s)+1}.0.0-0`})}function replaceCarets(t,s){return t.trim().split(/\s+/).map(t=>replaceCaret(t,s)).join(" ")}function replaceXRange(t,s){const i=s.loose?we:ve;return t.trim().replace(i,(i,r,a,o,l)=>{let u=r;let p=a;let f=o;let h=l;if(hasInvalidWildcardOrder(String(p),f===void 0?void 0:String(f),h===void 0?void 0:String(h)))return t;const m=isWildcard(p);const g=m||isWildcard(f);const x=g||isWildcard(h);if(u==="="&&x)u="";if(m)return u===">"||u==="<"?"<0.0.0-0":"*";let k=s.includePrerelease?"-0":"";if(u&&x){if(g)f=0;h=0;if(u===">"){u=">=";if(g){p=Number(p)+1;f=0}else f=Number(f)+1}else if(u==="<="){u="<";if(g)p=Number(p)+1;else f=Number(f)+1}if(u==="<")k="-0";return`${u}${p}.${f}.${h}${k}`}if(g)return`>=${p}.0.0${k} <${Number(p)+1}.0.0-0`;if(x)return`>=${p}.${f}.0${k} <${p}.${Number(f)+1}.0-0`;return i})}function replaceXRanges(t,s){return t.split(/\s+/).map(t=>replaceXRange(t,s)).join(" ")}function replaceHyphenRange(t,s){const i=s.loose?de:ue;return t.replace(i,(t,i,r,a,o,l,u,p,f,h,m,g)=>{let x=i;let k=p;if(isWildcard(r))x="";else if(isWildcard(a))x=`>=${r}.0.0${s.includePrerelease?"-0":""}`;else if(isWildcard(o))x=`>=${r}.${a}.0${s.includePrerelease?"-0":""}`;else if(l)x=`>=${x}`;else x=`>=${x}${s.includePrerelease?"-0":""}`;if(isWildcard(f))k="";else if(isWildcard(h))k=`<${Number(f)+1}.0.0-0`;else if(isWildcard(m))k=`<${f}.${Number(h)+1}.0-0`;else if(g)k=`<=${f}.${h}.${m}-${g}`;else if(s.includePrerelease)k=`<${f}.${h}.${Number(m)+1}-0`;else k=`<=${k}`;return`${x} ${k}`.trim()})}function expandComparator(t,s){return replaceXRanges(replaceTildes(replaceCarets(t.replace(ce,""),s),s),s).trim().replace(xe,"")}function parseSimpleRange(t,s){let i=replaceHyphenRange(t.replace(le,""),s).replace(pe,"$1$2$3").replace(fe,"$1~").replace(he,"$1^").split(" ").map(t=>expandComparator(t,s)).join(" ").split(/\s+/).map(t=>t.trim().replace(s.includePrerelease?Se:ke,""));if(s.loose)i=i.filter(t=>Ee.test(t));const r=new Map;for(const t of i.map(t=>set_BGFWKKE8_parseComparator(t,s))){if(t.value==="<0.0.0-0")return[t];r.set(t.value,t)}if(r.size>1)r.delete("");return[...r.values()]}function parseRange(t,s={}){if(typeof t!=="string")return t;const i={...s};const r=t.trim().replaceAll(/\s+/g," ");let a=r.split("||").map(t=>parseSimpleRange(t.trim(),i)).filter(t=>t.length);if(!a.length)throw new TypeError(`Range contains no valid comparator sets: ${r}`);if(a.length>1){const t=a[0];a=a.filter(t=>t[0]?.value!=="<0.0.0-0");if(!a.length)a=[t];else if(a.length>1){const t=a.find(t=>t.length===1&&t[0]?.value==="");if(t)a=[t]}}return{options:i,sets:a}}function tryParseRange(t,s={}){try{return parseRange(t,s)}catch{return null}}function testParsedRange(t,s){return t.sets.some(i=>set_BGFWKKE8_testComparatorSet(i,s,t.options))}function testRangeVersion(t,s){const i=comparison_CmVirWIW_tryParse(s,t.options);return i?testParsedRange(t,i):false}function exactVersion(t){for(const s of t)if(s.operator===""&&s.version)return s.version;return null}function isSatisfiable(t,s){const i=exactVersion(t);if(i)return set_BGFWKKE8_testComparatorSet(t,i,s);const r=[...t];let a=r.pop();while(a&&r.length){if(r.some(t=>!parsedComparatorsIntersect(a,t,s)))return false;a=r.pop()}return true}function setsIntersect(t,s,i){const r=exactVersion(t);if(r)return set_BGFWKKE8_testComparatorSet(s,r,i);const a=exactVersion(s);if(a)return set_BGFWKKE8_testComparatorSet(t,a,i);return t.every(t=>s.every(s=>parsedComparatorsIntersect(t,s,i)))}function parsedRangesIntersect(t,s,i={}){return t.sets.some(t=>isSatisfiable(t,i)&&s.sets.some(s=>isSatisfiable(s,i)&&setsIntersect(t,s,i)))}function isValidRange(t,s={}){return tryParseRange(t,s)!==null}function normalizeRange(t,s={}){const i=tryParseRange(t,s);return i?formatRange(i)||"*":null}function satisfies(t,s,i={}){const r=tryParseRange(s,i);return r?testRangeVersion(r,t):false}function rangeToComparators(t,s={}){return parseRange(t,s).sets.map(t=>t.map(formatComparator).join(" ").trim().split(" "))}function findMaxSatisfying(t,s,i={}){const r=tryParseRange(s,i);if(!r)return null;let a=null;let o=null;for(const s of t){const t=tryParse(s,r.options);if(!t||!testParsedRange(r,t))continue;if(!o||compareParsed(o,t)<0){a=s;o=t}}return a}function findMinSatisfying(t,s,i={}){const r=tryParseRange(s,i);if(!r)return null;let a=null;let o=null;for(const s of t){const t=tryParse(s,r.options);if(!t||!testParsedRange(r,t))continue;if(!o||compareParsed(o,t)>0){a=s;o=t}}return a}function nextVersionAfter(t){const{prerelease:s}=t;return s?.length?{major:t.major,minor:t.minor,patch:t.patch,prerelease:[...s,0]}:{major:t.major,minor:t.minor,patch:t.patch+1}}function findMinimumForRange(t,s={}){const i=parseRange(t,s);const r={major:0,minor:0,patch:0};if(testParsedRange(i,r))return r;const a={...r,prerelease:[0]};if(testParsedRange(i,a))return a;let o=null;for(const t of i.sets){let s=null;for(const i of t){if(!i.version)continue;const t=i.operator===">"?nextVersionAfter(i.version):i.operator===""||i.operator===">="?structuredClone(i.version):null;if(t&&(!s||compareParsed(t,s)>0))s=t}if(s&&(!o||compareParsed(o,s)>0))o=s}return o&&testParsedRange(i,o)?o:null}function compareInDirection(t,s,i){const r=compareParsed(t,s);return i===">"?r>0:r<0}function compareOppositeOrEqual(t,s,i){const r=compareParsed(t,s);return i===">"?r<=0:r>=0}function compareOpposite(t,s,i){const r=compareParsed(t,s);return i===">"?r<0:r>0}function isOutsideRange(t,s,i,r={}){if(i!==">"&&i!=="<")throw new TypeError('Must provide a direction of "<" or ">"');const a=parseRange(s,r);const o=parse(t,a.options);if(testParsedRange(a,o))return false;const l=i===">"?">=":"<=";for(const t of a.sets){const s=t.map(t=>t.version?t:parseComparator(">=0.0.0"));let r=s[0];let a=s[0];for(const t of s)if(compareInDirection(t.version,r.version,i))r=t;else if(compareOpposite(t.version,a.version,i))a=t;if(r.operator===i||r.operator===l)return false;if((!a.operator||a.operator===i)&&compareOppositeOrEqual(o,a.version,i))return false;if(a.operator===l&&compareOpposite(o,a.version,i))return false}return true}function isGreaterThanRange(t,s,i={}){return isOutsideRange(t,s,">",i)}function isLessThanRange(t,s,i={}){return isOutsideRange(t,s,"<",i)}function rangesIntersect(t,s,i={}){const r=parseRange(t,i);const a=parseRange(s,i);return parsedRangesIntersect(r,a,{...r.options,...a.options,...i})}function simplifyRange(t,s,i={}){const r=parseRange(s,i);const a=sort(t,r.options);const o=[];let l=null;let u=null;for(const t of a)if(testRangeVersion(r,t)){u=t;l??=t}else if(u){o.push([l,u]);l=null;u=null}if(l)o.push([l,null]);const p=o.map(([t,s])=>{const i=formatComparableVersion(parse(t,r.options));const o=s?formatComparableVersion(parse(s,r.options)):null;if(i===o)return i;if(!s&&t===a[0])return"*";if(!o)return`>=${i}`;if(t===a[0])return`<=${o}`;return`${i} - ${o}`}).join(" || ");const f=typeof s==="string"?s:formatRange(r)||"*";return p.length<f.length?p:f}function higherLowerBound(t,s){if(!t)return s;const i=compareParsed(t.version,s.version);return i>0?t:i<0||s.operator===">"&&t.operator===">="?s:t}function lowerUpperBound(t,s){if(!t)return s;const i=compareParsed(t.version,s.version);return i<0?t:i>0||s.operator==="<"&&t.operator==="<="?s:t}function simpleRangeSubset(t,s,i){let r=t;let a=s;const o=r.length===1&&!r[0].version;const l=a.length===1&&!a[0].version;if(o){if(l)return true;r=[parseComparator(i.includePrerelease?">=0.0.0-0":">=0.0.0")]}if(l){if(i.includePrerelease)return true;a=[parseComparator(">=0.0.0")]}const u=new Map;let p;let f;for(const t of r)if(t.operator===">"||t.operator===">=")p=higherLowerBound(p,t);else if(t.operator==="<"||t.operator==="<=")f=lowerUpperBound(f,t);else if(t.version)u.set(formatComparableVersion(t.version),t.version);if(u.size>1)return null;let h;if(p&&f){h=compareParsed(p.version,f.version);if(h>0)return null;if(h===0&&(p.operator!==">="||f.operator!=="<="))return null}for(const t of u.values()){if(p&&!testParsedComparator(p,t))return null;if(f&&!testParsedComparator(f,t))return null;return testComparatorSet(a,t,i)}let m=p&&!i.includePrerelease&&p.version.prerelease?.length?p.version:null;let g=f&&!i.includePrerelease&&f.version.prerelease?.length?f.version:null;const x=g?.prerelease;if(x?.length===1&&f?.operator==="<"&&x[0]===0)g=null;let k=false;let _=false;for(const t of a){k||=t.operator===">"||t.operator===">=";_||=t.operator==="<"||t.operator==="<=";if(p){if(m&&comparatorAllowsPrerelease(t,m))m=null;if(t.operator===">"||t.operator===">="){const s=higherLowerBound(p,t);if(s===t&&s!==p)return false}else if(p.operator===">="&&!testParsedComparator(t,p.version))return false}if(f){if(g&&comparatorAllowsPrerelease(t,g))g=null;if(t.operator==="<"||t.operator==="<="){const s=lowerUpperBound(f,t);if(s===t&&s!==f)return false}else if(f.operator==="<="&&!testParsedComparator(t,f.version))return false}if(t.operator===""&&(p||f)&&h!==0)return false}if(p&&_&&!f&&h!==0)return false;if(f&&k&&!p&&h!==0)return false;return!m&&!g}function isRangeSubset(t,s,i={}){if(t===s)return true;const r=parseRange(t,i);const a=parseRange(s,i);const o={...r.options,...a.options,...i};let l=false;for(const t of r.sets){let s=false;for(const i of a.sets){const r=simpleRangeSubset(t,i,o);l||=r!==null;if(r){s=true;break}}if(!s&&l)return false}return true}var _e=r(24087);var Te=r(76760);var Ce=r(9621);const Ae=Ce(function*(t){return yield*t});const Ie=Ce({sync:()=>false,errback:t=>t(null,true)});function maybeAsync(t,s){return Ce({sync(...i){const r=t.apply(this,i);if(isThenable(r))throw new Error(s);return r},async(...s){return Promise.resolve(t.apply(this,s))}})}const Pe=Ce({sync:t=>t("sync"),async:async t=>t("async")});function forwardAsync(t,s){const i=Ce(t);return Pe(t=>{const r=i[t];return s(r)})}const $e=Ce({name:"onFirstPause",arity:2,sync:function(t){return Ae.sync(t)},errback:function(t,s,i){let r=false;Ae.errback(t,(t,s)=>{r=true;i(t,s)});if(!r){s()}}});const Oe=Ce({sync:t=>t,async:async t=>t});function isThenable(t){return!!t&&(typeof t==="object"||typeof t==="function")&&!!t.then&&typeof t.then==="function"}function mergeOptions(t,s){for(const i of Object.keys(s)){if((i==="parserOpts"||i==="generatorOpts"||i==="assumptions")&&s[i]){const r=s[i];const a=t[i]||(t[i]={});mergeDefaultFields(a,r)}else{const r=s[i];if(r!==undefined)t[i]=r}}}function mergeDefaultFields(t,s){for(const i of Object.keys(s)){const r=s[i];if(r!==undefined)t[i]=r}}function isIterableIterator(t){return!!t&&typeof t.next==="function"&&typeof t[Symbol.iterator]==="function"}const synchronize=t=>Ce(t).sync;function*genTrue(){return true}function makeWeakCache(t){return makeCachedFunction(WeakMap,t)}function makeWeakCacheSync(t){return synchronize(makeWeakCache(t))}function makeStrongCache(t){return makeCachedFunction(Map,t)}function makeStrongCacheSync(t){return synchronize(makeStrongCache(t))}function makeCachedFunction(t,s){const i=new t;const r=new t;const a=new t;return function*cachedFunction(t,o=undefined){const l=yield*Ie();const u=l?r:i;const p=yield*getCachedValueOrWait(l,u,a,t,o);if(p.valid)return p.value;const f=new CacheConfigurator(o);const h=s(t,f);let m;let g;if(isIterableIterator(h)){g=yield*$e(h,()=>{m=setupAsyncLocks(f,a,t)})}else{g=h}updateFunctionCache(u,f,t,g);if(m){a.delete(t);m.release(g)}return g}}function*getCachedValue(t,s,i){const r=t.get(s);if(r){for(const{value:t,valid:s}of r){if(yield*s(i))return{valid:true,value:t}}}return{valid:false,value:null}}function*getCachedValueOrWait(t,s,i,r,a){const o=yield*getCachedValue(s,r,a);if(o.valid){return o}if(t){const t=yield*getCachedValue(i,r,a);if(t.valid){const s=yield*Oe(t.value.promise);return{valid:true,value:s}}}return{valid:false,value:null}}function setupAsyncLocks(t,s,i){const r=new Lock;updateFunctionCache(s,t,i,r);return r}function updateFunctionCache(t,s,i,r){if(!s.configured())s.forever();let a=t.get(i);s.deactivate();switch(s.mode()){case"forever":a=[{value:r,valid:genTrue}];t.set(i,a);break;case"invalidate":a=[{value:r,valid:s.validator()}];t.set(i,a);break;case"valid":if(a){a.push({value:r,valid:s.validator()})}else{a=[{value:r,valid:s.validator()}];t.set(i,a)}}}class CacheConfigurator{_active=true;_never=false;_forever=false;_invalidate=false;_configured=false;_pairs=[];_data;constructor(t){this._data=t}simple(){return makeSimpleConfigurator(this)}mode(){if(this._never)return"never";if(this._forever)return"forever";if(this._invalidate)return"invalidate";return"valid"}forever(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never){throw new Error("Caching has already been configured with .never()")}this._forever=true;this._configured=true}never(){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._forever){throw new Error("Caching has already been configured with .forever()")}this._never=true;this._configured=true}using(t){if(!this._active){throw new Error("Cannot change caching after evaluation has completed.")}if(this._never||this._forever){throw new Error("Caching has already been configured with .never or .forever()")}this._configured=true;const s=t(this._data);const i=maybeAsync(t,`You appear to be using an async cache handler, but Babel has been called synchronously`);if(isThenable(s)){return s.then(t=>{this._pairs.push([t,i]);return t})}this._pairs.push([s,i]);return s}invalidate(t){this._invalidate=true;return this.using(t)}validator(){const t=this._pairs;return function*(s){for(const[i,r]of t){if(i!==(yield*r(s)))return false}return true}}deactivate(){this._active=false}configured(){return this._configured}}function makeSimpleConfigurator(t){function cacheFn(s){if(typeof s==="boolean"){if(s)t.forever();else t.never();return}return t.using(()=>assertSimpleType(s()))}cacheFn.forever=()=>t.forever();cacheFn.never=()=>t.never();cacheFn.using=s=>t.using(()=>assertSimpleType(s()));cacheFn.invalidate=s=>t.invalidate(()=>assertSimpleType(s()));return cacheFn}function assertSimpleType(t){if(isThenable(t)){throw new Error(`You appear to be using an async cache handler, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously handle your caching logic.`)}if(t!=null&&typeof t!=="string"&&typeof t!=="boolean"&&typeof t!=="number"){throw new Error("Cache keys must be either string, boolean, number, null, or undefined.")}return t}class Lock{released=false;promise;_resolve;constructor(){this.promise=new Promise(t=>{this._resolve=t})}release(t){this.released=true;this._resolve(t)}}var De=r(73024);const Ne=Ce({sync:De.readFileSync,errback:De.readFile});const je=Ce({sync:De.statSync,errback:De.stat});var Re=r(77222);var Le=r(84841);var Fe=r(73136);var Me=r(98995);const Be=Function.call.bind(Error.prototype.toString);const qe=!!Error.captureStackTrace&&Object.getOwnPropertyDescriptor(Error,"stackTraceLimit")?.writable===true;const We="startHiding - secret - don't use this - v1";const Ue="stopHiding - secret - don't use this - v1";const ze=new WeakSet;const He=new WeakMap;function CallSite(t){return Object.create({isNative:()=>false,isConstructor:()=>false,isToplevel:()=>true,getFileName:()=>t,getLineNumber:()=>undefined,getColumnNumber:()=>undefined,getFunctionName:()=>undefined,getMethodName:()=>undefined,getTypeName:()=>undefined,toString:()=>t})}function injectVirtualStackFrame(t,s){if(!qe)return;let i=He.get(t);if(!i)He.set(t,i=[]);i.push(CallSite(s));return t}function expectedError(t){if(!qe)return;ze.add(t);return t}function beginHiddenCallStack(t){if(!qe)return t;return Object.defineProperty(function(...s){setupPrepareStackTrace();return t(...s)},"name",{value:Ue})}function endHiddenCallStack(t){if(!qe)return t;return Object.defineProperty(function(...s){return t(...s)},"name",{value:We})}function setupPrepareStackTrace(){setupPrepareStackTrace=()=>{};const{prepareStackTrace:t=defaultPrepareStackTrace}=Error;const s=50;Error.stackTraceLimit&&=Math.max(Error.stackTraceLimit,s);Error.prepareStackTrace=function stackTraceRewriter(s,i){let r=[];const a=ze.has(s);let o=a?"hiding":"unknown";for(let t=0;t<i.length;t++){const a=i[t].getFunctionName();if(a===We){o="hiding"}else if(a===Ue){if(o==="hiding"){o="showing";if(He.has(s)){r.unshift(...He.get(s))}}else if(o==="unknown"){r=i;break}}else if(o!=="hiding"){r.push(i[t])}}return t(s,r)}}function defaultPrepareStackTrace(t,s){if(s.length===0)return Be(t);return`${Be(t)}\n at ${s.join("\n at ")}`}var Ve=r(34589);const Ke=t(import.meta.url)("node:process");var Ge=r(78877);var Je=r(57975);const Xe={}.hasOwnProperty;const Ye=/^([A-Z][a-z\d]*)+$/;const Qe=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]);const Ze={};function formatList(t,s="and"){return t.length<3?t.join(` ${s} `):`${t.slice(0,-1).join(", ")}, ${s} ${t[t.length-1]}`}const et=new Map;const tt="__node_internal_";let nt;Ze.ERR_INVALID_ARG_TYPE=createError("ERR_INVALID_ARG_TYPE",(t,s,i)=>{Ve.ok(typeof t==="string","'name' must be a string");if(!Array.isArray(s)){s=[s]}let r="The ";if(t.endsWith(" argument")){r+=`${t} `}else{const s=t.includes(".")?"property":"argument";r+=`"${t}" ${s} `}r+="must be ";const a=[];const o=[];const l=[];for(const t of s){Ve.ok(typeof t==="string","All expected entries have to be of type string");if(Qe.has(t)){a.push(t.toLowerCase())}else if(Ye.exec(t)===null){Ve.ok(t!=="object",'The value "object" should be written as "Object"');l.push(t)}else{o.push(t)}}if(o.length>0){const t=a.indexOf("object");if(t!==-1){a.slice(t,1);o.push("Object")}}if(a.length>0){r+=`${a.length>1?"one of type":"of type"} ${formatList(a,"or")}`;if(o.length>0||l.length>0)r+=" or "}if(o.length>0){r+=`an instance of ${formatList(o,"or")}`;if(l.length>0)r+=" or "}if(l.length>0){if(l.length>1){r+=`one of ${formatList(l,"or")}`}else{if(l[0].toLowerCase()!==l[0])r+="an ";r+=`${l[0]}`}}r+=`. Received ${determineSpecificType(i)}`;return r},TypeError);Ze.ERR_INVALID_MODULE_SPECIFIER=createError("ERR_INVALID_MODULE_SPECIFIER",(t,s,i=undefined)=>`Invalid module "${t}" ${s}${i?` imported from ${i}`:""}`,TypeError);Ze.ERR_INVALID_PACKAGE_CONFIG=createError("ERR_INVALID_PACKAGE_CONFIG",(t,s,i)=>`Invalid package config ${t}${s?` while importing ${s}`:""}${i?`. ${i}`:""}`,Error);Ze.ERR_INVALID_PACKAGE_TARGET=createError("ERR_INVALID_PACKAGE_TARGET",(t,s,i,r=false,a=undefined)=>{const o=typeof i==="string"&&!r&&i.length>0&&!i.startsWith("./");if(s==="."){Ve.ok(r===false);return`Invalid "exports" main target ${JSON.stringify(i)} defined `+`in the package config ${t}package.json${a?` imported from ${a}`:""}${o?'; targets must start with "./"':""}`}return`Invalid "${r?"imports":"exports"}" target ${JSON.stringify(i)} defined for '${s}' in the package config ${t}package.json${a?` imported from ${a}`:""}${o?'; targets must start with "./"':""}`},Error);Ze.ERR_MODULE_NOT_FOUND=createError("ERR_MODULE_NOT_FOUND",(t,s,i=false)=>`Cannot find ${i?"module":"package"} '${t}' imported from ${s}`,Error);Ze.ERR_NETWORK_IMPORT_DISALLOWED=createError("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error);Ze.ERR_PACKAGE_IMPORT_NOT_DEFINED=createError("ERR_PACKAGE_IMPORT_NOT_DEFINED",(t,s,i)=>`Package import specifier "${t}" is not defined${s?` in package ${s}package.json`:""} imported from ${i}`,TypeError);Ze.ERR_PACKAGE_PATH_NOT_EXPORTED=createError("ERR_PACKAGE_PATH_NOT_EXPORTED",(t,s,i=undefined)=>{if(s===".")return`No "exports" main defined in ${t}package.json${i?` imported from ${i}`:""}`;return`Package subpath '${s}' is not defined by "exports" in ${t}package.json${i?` imported from ${i}`:""}`},Error);Ze.ERR_UNSUPPORTED_DIR_IMPORT=createError("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported "+"resolving ES modules imported from %s",Error);Ze.ERR_UNSUPPORTED_RESOLVE_REQUEST=createError("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError);Ze.ERR_UNKNOWN_FILE_EXTENSION=createError("ERR_UNKNOWN_FILE_EXTENSION",(t,s)=>`Unknown file extension "${t}" for ${s}`,TypeError);Ze.ERR_INVALID_ARG_VALUE=createError("ERR_INVALID_ARG_VALUE",(t,s,i="is invalid")=>{let r=(0,Je.inspect)(s);if(r.length>128){r=`${r.slice(0,128)}...`}const a=t.includes(".")?"property":"argument";return`The ${a} '${t}' ${i}. Received ${r}`},TypeError);function createError(t,s,i){et.set(t,s);return makeNodeErrorWithCode(i,t)}function makeNodeErrorWithCode(t,s){return NodeError;function NodeError(...i){const r=Error.stackTraceLimit;if(isErrorStackTraceLimitWritable())Error.stackTraceLimit=0;const a=new t;if(isErrorStackTraceLimitWritable())Error.stackTraceLimit=r;const o=getMessage(s,i,a);Object.defineProperties(a,{message:{value:o,enumerable:false,writable:true,configurable:true},toString:{value(){return`${this.name} [${s}]: ${this.message}`},enumerable:false,writable:true,configurable:true}});st(a);a.code=s;return a}}function isErrorStackTraceLimitWritable(){try{if(Ge.startupSnapshot.isBuildingSnapshot()){return false}}catch{}const t=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");if(t===undefined){return Object.isExtensible(Error)}return Xe.call(t,"writable")&&t.writable!==undefined?t.writable:t.set!==undefined}function hideStackFrames(t){const s=tt+t.name;Object.defineProperty(t,"name",{value:s});return t}const st=hideStackFrames(function(t){const s=isErrorStackTraceLimitWritable();if(s){nt=Error.stackTraceLimit;Error.stackTraceLimit=Number.POSITIVE_INFINITY}Error.captureStackTrace(t);if(s)Error.stackTraceLimit=nt;return t});function getMessage(t,s,i){const r=et.get(t);Ve.ok(r!==undefined,"expected `message` to be found");if(typeof r==="function"){Ve.ok(r.length<=s.length,`Code: ${t}; The provided arguments length (${s.length}) does not `+`match the required ones (${r.length}).`);return Reflect.apply(r,i,s)}const a=/%[dfijoOs]/g;let o=0;while(a.exec(r)!==null)o++;Ve.ok(o===s.length,`Code: ${t}; The provided arguments length (${s.length}) does not `+`match the required ones (${o}).`);if(s.length===0)return r;s.unshift(r);return Reflect.apply(Je.format,null,s)}function determineSpecificType(t){if(t===null||t===undefined){return String(t)}if(typeof t==="function"&&t.name){return`function ${t.name}`}if(typeof t==="object"){if(t.constructor&&t.constructor.name){return`an instance of ${t.constructor.name}`}return`${(0,Je.inspect)(t,{depth:-1})}`}let s=(0,Je.inspect)(t,{colors:false});if(s.length>28){s=`${s.slice(0,25)}...`}return`type ${typeof t} (${s})`}const it={}.hasOwnProperty;const{ERR_INVALID_PACKAGE_CONFIG:rt}=Ze;const at=new Map;function read(t,{base:s,specifier:i}){const r=at.get(t);if(r){return r}let a;try{a=De.readFileSync(Te.toNamespacedPath(t),"utf8")}catch(t){const s=t;if(s.code!=="ENOENT"){throw s}}const o={exists:false,pjsonPath:t,main:undefined,name:undefined,type:"none",exports:undefined,imports:undefined};if(a!==undefined){let r;try{r=JSON.parse(a)}catch(r){const a=r;const o=new rt(t,(s?`"${i}" from `:"")+(0,Fe.fileURLToPath)(s||i),a.message);o.cause=a;throw o}o.exists=true;if(it.call(r,"name")&&typeof r.name==="string"){o.name=r.name}if(it.call(r,"main")&&typeof r.main==="string"){o.main=r.main}if(it.call(r,"exports")){o.exports=r.exports}if(it.call(r,"imports")){o.imports=r.imports}if(it.call(r,"type")&&(r.type==="commonjs"||r.type==="module")){o.type=r.type}}at.set(t,o);return o}function getPackageScopeConfig(t){let s=new URL("package.json",t);while(true){const i=s.pathname;if(i.endsWith("node_modules/package.json")){break}const r=read((0,Fe.fileURLToPath)(s),{specifier:t});if(r.exists){return r}const a=s;s=new URL("../package.json",s);if(s.pathname===a.pathname){break}}const i=(0,Fe.fileURLToPath)(s);return{pjsonPath:i,exists:false,type:"none"}}function getPackageType(t){return getPackageScopeConfig(t).type}const{ERR_UNKNOWN_FILE_EXTENSION:ot}=Ze;const lt={}.hasOwnProperty;const ct={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"};function mimeToFormat(t){if(t&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(t))return"module";if(t==="application/json")return"json";return null}const ut={__proto__:null,"data:":getDataProtocolModuleFormat,"file:":getFileProtocolModuleFormat,"http:":getHttpProtocolModuleFormat,"https:":getHttpProtocolModuleFormat,"node:"(){return"builtin"}};function getDataProtocolModuleFormat(t){const{1:s}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(t.pathname)||[null,null,null];return mimeToFormat(s)}function extname(t){const s=t.pathname;let i=s.length;while(i--){const t=s.codePointAt(i);if(t===47){return""}if(t===46){return s.codePointAt(i-1)===47?"":s.slice(i)}}return""}function getFileProtocolModuleFormat(t,s,i){const r=extname(t);if(r===".js"){const s=getPackageType(t);if(s!=="none"){return s}return"commonjs"}if(r===""){const s=getPackageType(t);if(s==="none"||s==="commonjs"){return"commonjs"}return"module"}const a=ct[r];if(a)return a;if(i){return undefined}const o=(0,Fe.fileURLToPath)(t);throw new ot(r,o)}function getHttpProtocolModuleFormat(){}function defaultGetFormatWithoutErrors(t,s){const i=t.protocol;if(!lt.call(ut,i)){return null}return ut[i](t,s,true)||null}const{ERR_INVALID_ARG_VALUE:dt}=Ze;const pt=Object.freeze(["node","import"]);const ft=new Set(pt);function getDefaultConditions(){return pt}function getDefaultConditionsSet(){return ft}function getConditionsSet(t){if(t!==undefined&&t!==getDefaultConditions()){if(!Array.isArray(t)){throw new dt("conditions",t,"expected an array")}return new Set(t)}return getDefaultConditionsSet()}const ht=RegExp.prototype[Symbol.replace];const{ERR_NETWORK_IMPORT_DISALLOWED:mt,ERR_INVALID_MODULE_SPECIFIER:gt,ERR_INVALID_PACKAGE_CONFIG:yt,ERR_INVALID_PACKAGE_TARGET:bt,ERR_MODULE_NOT_FOUND:vt,ERR_PACKAGE_IMPORT_NOT_DEFINED:wt,ERR_PACKAGE_PATH_NOT_EXPORTED:xt,ERR_UNSUPPORTED_DIR_IMPORT:kt,ERR_UNSUPPORTED_RESOLVE_REQUEST:St}=Ze;const Et={}.hasOwnProperty;const _t=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))?(\\|\/|$)/i;const Tt=/(^|\\|\/)((\.|%2e)(\.|%2e)?|(n|%6e|%4e)(o|%6f|%4f)(d|%64|%44)(e|%65|%45)(_|%5f)(m|%6d|%4d)(o|%6f|%4f)(d|%64|%44)(u|%75|%55)(l|%6c|%4c)(e|%65|%45)(s|%73|%53))(\\|\/|$)/i;const Ct=/^\.|%|\\/;const At=/\*/g;const It=/%2f|%5c/i;const Pt=new Set;const $t=/[/\\]{2}/;function emitInvalidSegmentDeprecation(t,s,i,r,a,o,l){if(Ke.noDeprecation){return}const u=(0,Fe.fileURLToPath)(r);const p=$t.exec(l?t:s)!==null;Ke.emitWarning(`Use of deprecated ${p?"double slash":"leading or trailing slash matching"} resolving "${t}" for module `+`request "${s}" ${s===i?"":`matched to "${i}" `}in the "${a?"imports":"exports"}" field module resolution of the package at ${u}${o?` imported from ${(0,Fe.fileURLToPath)(o)}`:""}.`,"DeprecationWarning","DEP0166")}function emitLegacyIndexDeprecation(t,s,i,r){if(Ke.noDeprecation){return}const a=defaultGetFormatWithoutErrors(t,{parentURL:i.href});if(a!=="module")return;const o=(0,Fe.fileURLToPath)(t.href);const l=(0,Fe.fileURLToPath)(new URL(".",s));const u=(0,Fe.fileURLToPath)(i);if(!r){Ke.emitWarning(`No "main" or "exports" field defined in the package.json for ${l} resolving the main entry point "${o.slice(l.length)}", imported from ${u}.\nDefault "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}else if(Te.resolve(l,r)!==o){Ke.emitWarning(`Package ${l} has a "main" field set to "${r}", `+`excluding the full filename and extension to the resolved file at "${o.slice(l.length)}", imported from ${u}.\n Automatic extension resolution of the "main" field is `+"deprecated for ES modules.","DeprecationWarning","DEP0151")}}function tryStatSync(t){try{return(0,De.statSync)(t)}catch{}}function fileExists(t){const s=(0,De.statSync)(t,{throwIfNoEntry:false});const i=s?s.isFile():undefined;return i===null||i===undefined?false:i}function legacyMainResolve(t,s,i){let r;if(s.main!==undefined){r=new URL(s.main,t);if(fileExists(r))return r;const a=[`./${s.main}.js`,`./${s.main}.json`,`./${s.main}.node`,`./${s.main}/index.js`,`./${s.main}/index.json`,`./${s.main}/index.node`];let o=-1;while(++o<a.length){r=new URL(a[o],t);if(fileExists(r))break;r=undefined}if(r){emitLegacyIndexDeprecation(r,t,i,s.main);return r}}const a=["./index.js","./index.json","./index.node"];let o=-1;while(++o<a.length){r=new URL(a[o],t);if(fileExists(r))break;r=undefined}if(r){emitLegacyIndexDeprecation(r,t,i,s.main);return r}throw new vt((0,Fe.fileURLToPath)(new URL(".",t)),(0,Fe.fileURLToPath)(i))}function finalizeResolution(t,s,i){if(It.exec(t.pathname)!==null){throw new gt(t.pathname,'must not include encoded "/" or "\\" characters',(0,Fe.fileURLToPath)(s))}let r;try{r=(0,Fe.fileURLToPath)(t)}catch(i){const r=i;Object.defineProperty(r,"input",{value:String(t)});Object.defineProperty(r,"module",{value:String(s)});throw r}const a=tryStatSync(r.endsWith("/")?r.slice(-1):r);if(a&&a.isDirectory()){const i=new kt(r,(0,Fe.fileURLToPath)(s));i.url=String(t);throw i}if(!a||!a.isFile()){const i=new vt(r||t.pathname,s&&(0,Fe.fileURLToPath)(s),true);i.url=String(t);throw i}if(!i){const s=(0,De.realpathSync)(r);const{search:i,hash:a}=t;t=(0,Fe.pathToFileURL)(s+(r.endsWith(Te.sep)?"/":""));t.search=i;t.hash=a}return t}function importNotDefined(t,s,i){return new wt(t,s&&(0,Fe.fileURLToPath)(new URL(".",s)),(0,Fe.fileURLToPath)(i))}function exportsNotFound(t,s,i){return new xt((0,Fe.fileURLToPath)(new URL(".",s)),t,i&&(0,Fe.fileURLToPath)(i))}function throwInvalidSubpath(t,s,i,r,a){const o=`request is not a valid match in pattern "${s}" for the "${r?"imports":"exports"}" resolution of ${(0,Fe.fileURLToPath)(i)}`;throw new gt(t,o,a&&(0,Fe.fileURLToPath)(a))}function invalidPackageTarget(t,s,i,r,a){s=typeof s==="object"&&s!==null?JSON.stringify(s,null,""):`${s}`;return new bt((0,Fe.fileURLToPath)(new URL(".",i)),t,s,r,a&&(0,Fe.fileURLToPath)(a))}function resolvePackageTargetString(t,s,i,r,a,o,l,u,p){if(s!==""&&!o&&t[t.length-1]!=="/")throw invalidPackageTarget(i,t,r,l,a);if(!t.startsWith("./")){if(l&&!t.startsWith("../")&&!t.startsWith("/")){let i=false;try{new URL(t);i=true}catch{}if(!i){const i=o?ht.call(At,t,()=>s):t+s;return packageResolve(i,r,p)}}throw invalidPackageTarget(i,t,r,l,a)}if(_t.exec(t.slice(2))!==null){if(Tt.exec(t.slice(2))===null){if(!u){const u=o?i.replace("*",()=>s):i+s;const p=o?ht.call(At,t,()=>s):t;emitInvalidSegmentDeprecation(p,u,i,r,l,a,true)}}else{throw invalidPackageTarget(i,t,r,l,a)}}const f=new URL(t,r);const h=f.pathname;const m=new URL(".",r).pathname;if(!h.startsWith(m))throw invalidPackageTarget(i,t,r,l,a);if(s==="")return f;if(_t.exec(s)!==null){const p=o?i.replace("*",()=>s):i+s;if(Tt.exec(s)===null){if(!u){const u=o?ht.call(At,t,()=>s):t;emitInvalidSegmentDeprecation(u,p,i,r,l,a,false)}}else{throwInvalidSubpath(p,i,r,l,a)}}if(o){return new URL(ht.call(At,f.href,()=>s))}return new URL(s,f)}function isArrayIndex(t){const s=Number(t);if(`${s}`!==t)return false;return s>=0&&s<4294967295}function resolvePackageTarget(t,s,i,r,a,o,l,u,p){if(typeof s==="string"){return resolvePackageTargetString(s,i,r,t,a,o,l,u,p)}if(Array.isArray(s)){const f=s;if(f.length===0)return null;let h;let m=-1;while(++m<f.length){const s=f[m];let g;try{g=resolvePackageTarget(t,s,i,r,a,o,l,u,p)}catch(t){const s=t;h=s;if(s.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw t}if(g===undefined)continue;if(g===null){h=null;continue}return g}if(h===undefined||h===null){return null}throw h}if(typeof s==="object"&&s!==null){const f=Object.getOwnPropertyNames(s);let h=-1;while(++h<f.length){const s=f[h];if(isArrayIndex(s)){throw new yt((0,Fe.fileURLToPath)(t),a,'"exports" cannot contain numeric property keys.')}}h=-1;while(++h<f.length){const m=f[h];if(m==="default"||p&&p.has(m)){const f=s[m];const h=resolvePackageTarget(t,f,i,r,a,o,l,u,p);if(h===undefined)continue;return h}}return null}if(s===null){return null}throw invalidPackageTarget(r,s,t,l,a)}function isConditionalExportsMainSugar(t,s,i){if(typeof t==="string"||Array.isArray(t))return true;if(typeof t!=="object"||t===null)return false;const r=Object.getOwnPropertyNames(t);let a=false;let o=0;let l=-1;while(++l<r.length){const t=r[l];const u=t===""||t[0]!==".";if(o++===0){a=u}else if(a!==u){throw new yt((0,Fe.fileURLToPath)(s),i,"\"exports\" cannot contain some keys starting with '.' and some not."+" The exports object must either be an object of package subpath keys"+" or an object of main entry condition name keys only.")}}return a}function emitTrailingSlashPatternDeprecation(t,s,i){if(Ke.noDeprecation){return}const r=(0,Fe.fileURLToPath)(s);if(Pt.has(r+"|"+t))return;Pt.add(r+"|"+t);Ke.emitWarning(`Use of deprecated trailing slash pattern mapping "${t}" in the `+`"exports" field module resolution of the package at ${r}${i?` imported from ${(0,Fe.fileURLToPath)(i)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155")}function packageExportsResolve(t,s,i,r,a){let o=i.exports;if(isConditionalExportsMainSugar(o,t,r)){o={".":o}}if(Et.call(o,s)&&!s.includes("*")&&!s.endsWith("/")){const i=o[s];const l=resolvePackageTarget(t,i,"",s,r,false,false,false,a);if(l===null||l===undefined){throw exportsNotFound(s,t,r)}return l}let l="";let u="";const p=Object.getOwnPropertyNames(o);let f=-1;while(++f<p.length){const i=p[f];const a=i.indexOf("*");if(a!==-1&&s.startsWith(i.slice(0,a))){if(s.endsWith("/")){emitTrailingSlashPatternDeprecation(s,t,r)}const o=i.slice(a+1);if(s.length>=i.length&&s.endsWith(o)&&patternKeyCompare(l,i)===1&&i.lastIndexOf("*")===a){l=i;u=s.slice(a,s.length-o.length)}}}if(l){const i=o[l];const p=resolvePackageTarget(t,i,u,l,r,true,false,s.endsWith("/"),a);if(p===null||p===undefined){throw exportsNotFound(s,t,r)}return p}throw exportsNotFound(s,t,r)}function patternKeyCompare(t,s){const i=t.indexOf("*");const r=s.indexOf("*");const a=i===-1?t.length:i+1;const o=r===-1?s.length:r+1;if(a>o)return-1;if(o>a)return 1;if(i===-1)return 1;if(r===-1)return-1;if(t.length>s.length)return-1;if(s.length>t.length)return 1;return 0}function packageImportsResolve(t,s,i){if(t==="#"||t.startsWith("#/")||t.endsWith("/")){const i="is not a valid internal imports specifier name";throw new gt(t,i,(0,Fe.fileURLToPath)(s))}let r;const a=getPackageScopeConfig(s);if(a.exists){r=(0,Fe.pathToFileURL)(a.pjsonPath);const o=a.imports;if(o){if(Et.call(o,t)&&!t.includes("*")){const a=resolvePackageTarget(r,o[t],"",t,s,false,true,false,i);if(a!==null&&a!==undefined){return a}}else{let a="";let l="";const u=Object.getOwnPropertyNames(o);let p=-1;while(++p<u.length){const s=u[p];const i=s.indexOf("*");if(i!==-1&&t.startsWith(s.slice(0,-1))){const r=s.slice(i+1);if(t.length>=s.length&&t.endsWith(r)&&patternKeyCompare(a,s)===1&&s.lastIndexOf("*")===i){a=s;l=t.slice(i,t.length-r.length)}}}if(a){const t=o[a];const u=resolvePackageTarget(r,t,l,a,s,true,true,false,i);if(u!==null&&u!==undefined){return u}}}}}throw importNotDefined(t,r,s)}function parsePackageName(t,s){let i=t.indexOf("/");let r=true;let a=false;if(t[0]==="@"){a=true;if(i===-1||t.length===0){r=false}else{i=t.indexOf("/",i+1)}}const o=i===-1?t:t.slice(0,i);if(Ct.exec(o)!==null){r=false}if(!r){throw new gt(t,"is not a valid package name",(0,Fe.fileURLToPath)(s))}const l="."+(i===-1?"":t.slice(i));return{packageName:o,packageSubpath:l,isScoped:a}}function packageResolve(t,s,i){if(Me.builtinModules.includes(t)){return new URL("node:"+t)}const{packageName:r,packageSubpath:a,isScoped:o}=parsePackageName(t,s);const l=getPackageScopeConfig(s);if(l.exists){const t=(0,Fe.pathToFileURL)(l.pjsonPath);if(l.name===r&&l.exports!==undefined&&l.exports!==null){return packageExportsResolve(t,a,l,s,i)}}let u=new URL("./node_modules/"+r+"/package.json",s);let p=(0,Fe.fileURLToPath)(u);let f;do{const l=tryStatSync(p.slice(0,-13));if(!l||!l.isDirectory()){f=p;u=new URL((o?"../../../../node_modules/":"../../../node_modules/")+r+"/package.json",u);p=(0,Fe.fileURLToPath)(u);continue}const h=read(p,{base:s,specifier:t});if(h.exports!==undefined&&h.exports!==null){return packageExportsResolve(u,a,h,s,i)}if(a==="."){return legacyMainResolve(u,h,s)}return new URL(a,u)}while(p.length!==f.length);throw new vt(r,(0,Fe.fileURLToPath)(s),false)}function isRelativeSpecifier(t){if(t[0]==="."){if(t.length===1||t[1]==="/")return true;if(t[1]==="."&&(t.length===2||t[2]==="/")){return true}}return false}function shouldBeTreatedAsRelativeOrAbsolutePath(t){if(t==="")return false;if(t[0]==="/")return true;return isRelativeSpecifier(t)}function moduleResolve(t,s,i,r){if(i===undefined){i=getConditionsSet()}const a=s.protocol;const o=a==="data:";const l=o||a==="http:"||a==="https:";let u;if(shouldBeTreatedAsRelativeOrAbsolutePath(t)){try{u=new URL(t,s)}catch(i){const r=new St(t,s);r.cause=i;throw r}}else if(a==="file:"&&t[0]==="#"){u=packageImportsResolve(t,s,i)}else{try{u=new URL(t)}catch(r){if(l&&!Me.builtinModules.includes(t)){const i=new St(t,s);i.cause=r;throw i}u=packageResolve(t,s,i)}}Ve.ok(u!==undefined,"expected to be defined");if(u.protocol!=="file:"){return u}return finalizeResolution(u,s,r)}function checkIfDisallowedImport(t,s,i){if(i){const r=i.protocol;if(r==="http:"||r==="https:"){if(shouldBeTreatedAsRelativeOrAbsolutePath(t)){const r=s?.protocol;if(r&&r!=="https:"&&r!=="http:"){throw new mt(t,i,"remote imports cannot import from a local location.")}return{url:s?.href||""}}if(Me.builtinModules.includes(t)){throw new mt(t,i,"remote imports cannot import from a local location.")}throw new mt(t,i,"only relative and absolute specifiers are supported.")}}}function isURL(t){return Boolean(t&&typeof t==="object"&&"href"in t&&typeof t.href==="string"&&"protocol"in t&&typeof t.protocol==="string"&&t.href&&t.protocol)}function throwIfInvalidParentURL(t){if(t===undefined){return}if(typeof t!=="string"&&!isURL(t)){throw new Ze.ERR_INVALID_ARG_TYPE("parentURL",["string","URL"],t)}}function defaultResolve(t,s={}){const{parentURL:i}=s;Ve.ok(i!==undefined,"expected `parentURL` to be defined");throwIfInvalidParentURL(i);let r;if(i){try{r=new URL(i)}catch{}}let a;let o;try{a=shouldBeTreatedAsRelativeOrAbsolutePath(t)?new URL(t,r):new URL(t);o=a.protocol;if(o==="data:"){return{url:a.href,format:null}}}catch{}const l=checkIfDisallowedImport(t,a,r);if(l)return l;if(o===undefined&&a){o=a.protocol}if(o==="node:"){return{url:t}}if(a&&a.protocol==="node:")return{url:t};const u=getConditionsSet(s.conditions);const p=moduleResolve(t,new URL(i),u,false);return{url:p.href,format:defaultGetFormatWithoutErrors(p,{parentURL:i})}}function import_meta_resolve_resolve(t,s){if(!s){throw new Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that")}try{return defaultResolve(t,{parentURL:s}).url}catch(t){const s=t;if((s.code==="ERR_UNSUPPORTED_DIR_IMPORT"||s.code==="ERR_MODULE_NOT_FOUND")&&typeof s.url==="string"){return s.url}throw t}}function makeStaticFileCache(t){return makeStrongCache(function*(s,i){const r=i.invalidate(()=>fileMtime(s));if(r===null){return null}return t(s,yield*Ne(s,"utf8"))})}function fileMtime(t){if(!De.existsSync(t))return null;try{return+De.statSync(t).mtime}catch(t){if(t.code!=="ENOENT"&&t.code!=="ENOTDIR")throw t}return null}const Ot="package.json";const Dt=makeStaticFileCache((t,s)=>{let i;try{i=JSON.parse(s)}catch(s){throw new ConfigError(`Error while parsing JSON - ${s.message}`,t)}if(!i)throw new Error(`${t}: No config detected`);if(typeof i!=="object"){throw new ConfigError(`Config returned typeof ${typeof i}`,t)}if(Array.isArray(i)){throw new ConfigError(`Expected config object but found array`,t)}return{filepath:t,dirname:Te.dirname(t),options:i}});function*findPackageData(t){let s=null;const i=[];let r=true;let a=Te.dirname(t);while(!s&&Te.basename(a)!=="node_modules"){i.push(a);s=yield*Dt(Te.join(a,Ot));const t=Te.dirname(a);if(a===t){r=false;break}a=t}return{filepath:t,directories:i,pkg:s,isPackage:r}}const Nt=(0,Re.Ud)("babel:config:loading:files:module-types");const jt=(0,Me.createRequire)(import.meta.url);const Rt=new Set;function loadCjsDefault(t){if(Rt.has(t)){Nt("Auto-ignoring usage of config %o.",t);return{}}let s;try{Rt.add(t);s=endHiddenCallStack(jt)(t)}finally{Rt.delete(t)}return s!=null&&(s.__esModule||s[Symbol.toStringTag]==="Module")?s.default:s}const Lt=endHiddenCallStack(async function loadMjsFromPath(t){const s=(0,Fe.pathToFileURL)(t).toString()+"?import";return await r(33898)(s)});const tsNotSupportedError=t=>`You are using a ${t} config file, but Babel only supports transpiling .cts configs. Either:\n- Use a .cts config file\n- Update to Node.js 23.6.0, which has native TypeScript support\n- Install tsx to transpile ${t} files on the fly`;const Ft={".js":"unknown",".mjs":"esm",".cjs":"cjs",".ts":"unknown",".mts":"esm",".cts":"cjs"};function*loadCodeDefault(t,s,i,r){let a;const o=Te.extname(t);const l=o===".ts"||o===".cts"||o===".mts";const u=Ft[Object.hasOwn(Ft,o)?o:".js"];const p=`${s} ${u}`;switch(p){case"require cjs":case"auto cjs":return loadCjsDefault(t);case"auto unknown":case"require unknown":case"require esm":try{return loadCjsDefault(t)}catch(s){if(s.code==="ERR_REQUIRE_ASYNC_MODULE"){if(!(a??=(yield*Ie()))){throw new ConfigError(r,t)}}else{throw s}}case"auto esm":if(a??(yield*Ie())){return(yield*Oe(Lt(t))).default}if(l){throw new ConfigError(tsNotSupportedError(o),t)}else{throw new ConfigError(i,t)}default:throw new Error("Internal Babel error: unreachable code.")}}const Mt=(0,Me.createRequire)(import.meta.url);const Bt=(0,Re.Ud)("babel:config:loading:files:configuration");const qt=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json","babel.config.cts","babel.config.ts","babel.config.mts"];const Wt=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json",".babelrc.cts"];const Ut=".babelignore";const zt=makeWeakCache(function*runConfig(t,s){yield*[];return{options:endHiddenCallStack(t)(makeConfigAPI(s)),cacheNeedsConfiguration:!s.configured()}});function*readConfigCode(t,s){if(!De.existsSync(t))return null;let i=yield*loadCodeDefault(t,(yield*Ie())?"auto":"require","You appear to be using a native ECMAScript module configuration "+"file, which is only supported when running Babel asynchronously "+"or when using the Node.js `--experimental-require-module` flag.","You appear to be using a configuration file that contains top-level "+"await, which is only supported when running Babel asynchronously.");let r=false;if(typeof i==="function"){({options:i,cacheNeedsConfiguration:r}=yield*zt(i,s))}if(!i||typeof i!=="object"||Array.isArray(i)){throw new ConfigError(`Configuration should be an exported JavaScript object.`,t)}if(typeof i.then==="function"){i.catch?.(()=>{});throw new ConfigError(`You appear to be using an async configuration, `+`which your current version of Babel does not support. `+`We may add support for this in the future, `+`but if you're on the most recent version of @babel/core and still `+`seeing this error, then you'll need to synchronously return your config.`,t)}if(r)throwConfigError(t);return buildConfigFileObject(i,t)}const Ht=new WeakMap;function buildConfigFileObject(t,s){let i=Ht.get(t);if(!i){Ht.set(t,i=new Map)}let r=i.get(s);if(!r){r={filepath:s,dirname:Te.dirname(s),options:t};i.set(s,r)}return r}const Vt=makeWeakCacheSync(t=>{const s=t.options.babel;if(s===undefined)return null;if(typeof s!=="object"||Array.isArray(s)||s===null){throw new ConfigError(`.babel property must be an object`,t.filepath)}return{filepath:t.filepath,dirname:t.dirname,options:s}});const Kt=makeStaticFileCache((t,s)=>{let i;try{i=Le.parse(s)}catch(s){throw new ConfigError(`Error while parsing config - ${s.message}`,t)}if(!i)throw new ConfigError(`No config detected`,t);if(typeof i!=="object"){throw new ConfigError(`Config returned typeof ${typeof i}`,t)}if(Array.isArray(i)){throw new ConfigError(`Expected config object but found array`,t)}delete i.$schema;return{filepath:t,dirname:Te.dirname(t),options:i}});const Gt=makeStaticFileCache((t,s)=>{const i=Te.dirname(t);const r=s.split("\n").map(t=>t.replace(/^#.*$/,"").trim()).filter(Boolean);for(const s of r){if(s.startsWith("!")){throw new ConfigError(`Negation of file paths is not supported.`,t)}}return{filepath:t,dirname:Te.dirname(t),ignore:r.map(t=>pathToPattern(t,i))}});function findConfigUpwards(t){let s=t;for(;;){for(const t of qt){if(De.existsSync(Te.join(s,t))){return s}}const t=Te.dirname(s);if(s===t)break;s=t}return null}function*findRelativeConfig(t,s,i){let r=null;let a=null;const o=Te.dirname(t.filepath);for(const l of t.directories){if(!r){r=yield*loadOneConfig(Wt,l,s,i,t.pkg?.dirname===l?Vt(t.pkg):null)}if(!a){const t=Te.join(l,Ut);a=yield*Gt(t);if(a){Bt("Found ignore %o from %o.",a.filepath,o)}}}return{config:r,ignore:a}}function findRootConfig(t,s,i){return loadOneConfig(qt,t,s,i)}function*loadOneConfig(t,s,i,r,a=null){const o=yield*Ce.all(t.map(t=>readConfig(Te.join(s,t),i,r)));const l=o.reduce((t,i)=>{if(i&&t){throw new ConfigError(`Multiple configuration files found. Please remove one:\n`+` - ${Te.basename(t.filepath)}\n`+` - ${i.filepath}\n`+`from ${s}`)}return i||t},a);if(l){Bt("Found configuration %o from %o.",l.filepath,s)}return l}function*loadConfig(t,s,i,r){const a=Mt.resolve(t,{paths:[s]});const o=yield*readConfig(a,i,r);if(!o){throw new ConfigError(`Config file contains no configuration data`,a)}Bt("Loaded config %o from %o.",t,s);return o}function readConfig(t,s,i){const r=Te.extname(t);switch(r){case".js":case".cjs":case".mjs":case".ts":case".cts":case".mts":return readConfigCode(t,{envName:s,caller:i});default:return Kt(t)}}function*resolveShowConfigPath(t){const s=process.env.BABEL_SHOW_CONFIG_FOR;if(s!=null){const i=Te.resolve(t,s);const r=yield*je(i);if(!r.isFile()){throw new Error(`${i}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`)}return i}return null}function throwConfigError(t){throw new ConfigError(`Caching was left unconfigured. Babel's plugins, presets, and .babelrc.js files can be configured\nfor various types of caching, using the first param of their handler functions:\n\nmodule.exports = function(api) {\n // The API exposes the following:\n\n // Cache the returned value forever and don't call this function again.\n api.cache(true);\n\n // Don't cache at all. Not recommended because it will be very slow.\n api.cache(false);\n\n // Cached based on the value of some function. If this function returns a value different from\n // a previously-encountered value, the plugins will re-evaluate.\n var env = api.cache(() => process.env.NODE_ENV);\n\n // If testing for a specific env, we recommend specifics to avoid instantiating a plugin for\n // any possible NODE_ENV value that might come up during plugin execution.\n var isProd = api.cache(() => process.env.NODE_ENV === "production");\n\n // .cache(fn) will perform a linear search though instances to find the matching plugin based\n // based on previous instantiated plugins. If you want to recreate the plugin and discard the\n // previous instance whenever something changes, you may use:\n var isProd = api.cache.invalidate(() => process.env.NODE_ENV === "production");\n\n // Note, we also expose the following more-verbose versions of the above examples:\n api.cache.forever(); // api.cache(true)\n api.cache.never(); // api.cache(false)\n api.cache.using(fn); // api.cache(fn)\n\n // Return the value that will be cached.\n return { };\n};`,t)}const Jt=(0,Me.createRequire)(import.meta.url);const Xt=(0,Re.Ud)("babel:config:loading:files:plugins");const Yt=/^module:/;const Qt=/^(?!@|module:|[^/]+\/|babel-plugin-)/;const Zt=/^(?!@|module:|[^/]+\/|babel-preset-)/;const en=/^(@babel\/)(?!plugin-|[^/]+\/)/;const tn=/^(@babel\/)(?!preset-|[^/]+\/)/;const nn=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/;const sn=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/;const rn=/^(@(?!babel$)[^/]+)$/;const an=resolveStandardizedName.bind(null,"plugin");const on=resolveStandardizedName.bind(null,"preset");function*loadPlugin(t,s){const{filepath:i,loader:r}=an(t,s,yield*Ie());const a=yield*requireModule("plugin",r,i);Xt("Loaded plugin %o from %o.",t,s);return{filepath:i,value:a}}function*loadPreset(t,s){const{filepath:i,loader:r}=on(t,s,yield*Ie());const a=yield*requireModule("preset",r,i);Xt("Loaded preset %o from %o.",t,s);return{filepath:i,value:a}}function standardizeName(t,s){if(Te.isAbsolute(s))return s;const i=t==="preset";return s.replace(i?Zt:Qt,`babel-${t}-`).replace(i?tn:en,`$1${t}-`).replace(i?sn:nn,`$1babel-${t}-`).replace(rn,`$1/babel-${t}`).replace(Yt,"")}function*resolveAlternativesHelper(t,s){const i=standardizeName(t,s);const{error:r,value:a}=yield i;if(!r)return a;if(r.code!=="MODULE_NOT_FOUND")throw r;if(i!==s&&!(yield s).error){r.message+=`\n- If you want to resolve "${s}", use "module:${s}"`}if(!(yield standardizeName(t,"@babel/"+s)).error){r.message+=`\n- Did you mean "@babel/${s}"?`}const o=t==="preset"?"plugin":"preset";if(!(yield standardizeName(o,s)).error){r.message+=`\n- Did you accidentally pass a ${o} as a ${t}?`}if(t==="plugin"){const t=i.replace("-proposal-","-transform-");if(t!==i&&!(yield t).error){r.message+=`\n- Did you mean "${t}"?`}}r.message+=`\n\nMake sure that all the Babel plugins and presets you are using\nare defined as dependencies or devDependencies in your package.json\nfile. It's possible that the missing plugin is loaded by a preset\nyou are using that forgot to add the plugin to its dependencies: you\ncan workaround this problem by explicitly adding the missing package\nto your top-level package.json.\n`;throw r}function tryRequireResolve(t,s){try{if(s){return{error:null,value:Jt.resolve(t,{paths:[s]})}}else{return{error:null,value:Jt.resolve(t)}}}catch(t){return{error:t,value:null}}}function tryImportMetaResolve(t,s){try{return{error:null,value:import_meta_resolve_resolve(t,s)}}catch(t){return{error:t,value:null}}}function resolveStandardizedNameForRequire(t,s,i){const r=resolveAlternativesHelper(t,s);let a=r.next();while(!a.done){a=r.next(tryRequireResolve(a.value,i))}return{loader:"require",filepath:a.value}}function resolveStandardizedNameForImport(t,s,i){const r=(0,Fe.pathToFileURL)(Te.join(i,"./babel-virtual-resolve-base.js")).href;const a=resolveAlternativesHelper(t,s);let o=a.next();while(!o.done){o=a.next(tryImportMetaResolve(o.value,r))}return{loader:"auto",filepath:(0,Fe.fileURLToPath)(o.value)}}function resolveStandardizedName(t,s,i,r){if(!r){return resolveStandardizedNameForRequire(t,s,i)}try{const r=resolveStandardizedNameForImport(t,s,i);if(!(0,De.existsSync)(r.filepath)){throw Object.assign(new Error(`Could not resolve "${s}" in file ${i}.`),{type:"MODULE_NOT_FOUND"})}return r}catch(r){try{return resolveStandardizedNameForRequire(t,s,i)}catch(t){if(r.type==="MODULE_NOT_FOUND")throw r;if(t.type==="MODULE_NOT_FOUND")throw t;throw r}}}function*requireModule(t,s,i){try{return yield*loadCodeDefault(i,s,`You appear to be using a native ECMAScript module ${t}, `+"which is only supported when running Babel asynchronously "+"or when using the Node.js `--experimental-require-module` flag.",`You appear to be using a ${t} that contains top-level await, `+"which is only supported when running Babel asynchronously.")}catch(t){t.message=`[BABEL]: ${t.message} (While processing: ${i})`;throw t}}var ln=r(46411);var cn=r(25288);function ok(t,s){try{accessSync(t,s);return true}catch{return false}}function access_writable(t){return ok(t,constants.W_OK)}function readable(t){return ok(t,constants.R_OK)}function executable(t){return ok(t,constants.X_OK)}function absolute(t,s){return(0,Te.isAbsolute)(t)?t:(0,Te.resolve)(s||".",t)}function from(t,s,i){try{let i=t instanceof URL||t.startsWith("file://")?join(fileURLToPath(t),"noop.js"):join(absolute(t),"noop.js");return createRequire(i).resolve(s)}catch(t){if(!i)throw t}}function cwd(t,s){return from(resolve(),t,s)}function up(t,s){let{last:i,cwd:r}=s||{};let a=absolute(t,r);let o=absolute(i||"/",r);let l,u=[];while(l!==o){u.push(a);a=(0,Te.dirname)(l=a);if(a===l)break}return u}function find_up(t,s){let i,r;let a=s&&s.cwd||"";for(i of up(a,s)){r=(0,Te.join)(i,t);if((0,De.existsSync)(r))return r}}function any(t,s){let i,r=s&&s.cwd||"";let a=0,o=t.length,l;for(i of walk.up(r,s)){for(a=0;a<o;a++){l=join(i,t[a]);if(existsSync(l))return l}}}function file(t,s){let i,r;let a=s&&s.cwd||"";for(i of walk.up(a,s)){try{r=join(i,t);if(statSync(r).isFile())return r}catch{}}}function dir(t,s){let i,r;let a=s&&s.cwd||"";for(i of walk.up(a,s)){try{r=join(i,t);if(statSync(r).isDirectory())return r}catch{}}}function package_up(t){return find_up("package.json",t)}function package_cache(t,s){s=s||{};let i=env.CACHE_DIR;if(!i||/^(1|0|true|false)$/.test(i)){let t=package_up(s);if(i=t&&dirname(t)){let t=join(i,"node_modules");let s=existsSync(t);if(!writable(s?t:i))return;i=join(t,".cache")}}if(i){i=join(i,t);if(s.create&&!existsSync(i)){mkdirSync(i,{recursive:true})}return i}}const un=(0,Re.Ud)("babel:transform:file");function getInputMapPath(t,s,i){const r=Te.dirname(t);const a=Te.resolve(r,i);const o=Te.relative(r,a);if(o.startsWith("..")||Te.isAbsolute(o)){const t=package_up({cwd:r,last:s});const i=t?Te.dirname(t):s;const o=Te.relative(i,a);if(o.startsWith("..")||Te.isAbsolute(o)){un(`discarding input sourcemap "${a}" outside of package root "${i}"`);return null}}return a}function readInputSourceMapFile(t,s,i){const r=getInputMapPath(t,s,i);if(r){const t=De.readFileSync(r,"utf8");return cn.fromJSON(t)}return null}const dn=Ce(function*(t,s){const i={...s,filename:t};const r=yield*Ds(i);if(r===null)return null;const a=yield*Ne(t,"utf8");return yield*run(r,a)});function transformFile(...t){dn.errback(...t)}function transformFileSync(...t){return dn.sync(...t)}function transformFileAsync(...t){return dn.async(...t)}var pn=r(77913);var fn=r(85723);const hn=JSON.parse('{"P":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"45","safari":"10.1","ios":"10.3","samsung":"8.2","android":"61","electron":"2.0"}}');var mn=r(7469);const gn={};const yn={safari:"tp"};const bn={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",deno:"deno",op_mob:"opera_mobile",opera:"opera",safari:"safari",samsung:"samsung"};const vn=/^(?:\d+|\d(?:\d?[^\d\n\r\u2028\u2029]\d+|\d{2,}(?:[^\d\n\r\u2028\u2029]\d+)?))$/;const wn=new fn.S("@babel/helper-compilation-targets");function semverMin(t,s){return t&&comparison_CmVirWIW_isLessThan(t,s)?t:s}function semverify(t){if(typeof t==="string"&&version_Co1j9Tpq_isValid(t)){return t}wn.invariant(typeof t==="number"||typeof t==="string"&&vn.test(t),`'${t}' is not a valid version`);t=t.toString();let s=0;let i=0;while((s=t.indexOf(".",s+1))>0){i++}return t+".0".repeat(2-i)}function isUnreleasedVersion(t,s){const i=yn[s];return!!i&&i===t.toString().toLowerCase()}function getLowestUnreleased(t,s,i){const r=yn[i];if(t===r){return s}if(s===r){return t}return semverMin(t,s)}function getHighestUnreleased(t,s,i){return getLowestUnreleased(t,s,i)===t?s:t}function getLowestImplementedVersion(t,s){const i=t[s];if(!i&&s==="android"){return t.chrome}return i}const xn={node:"node",deno:"deno",chrome:"chrome",opera:"opera",edge:"edge",firefox:"firefox",safari:"safari",ie:"ie",ios:"ios",android:"android",electron:"electron",samsung:"samsung",rhino:"rhino",opera_mobile:"opera_mobile"};function prettifyVersion(t){if(typeof t!=="string"){return t}const{major:s,minor:i,patch:r}=parse(t);const a=[s];if(i||r){a.push(i)}if(r){a.push(r)}return a.join(".")}function prettifyTargets(t){return Object.keys(t).reduce((s,i)=>{let r=t[i];const a=yn[i];if(typeof r==="string"&&a!==r){r=prettifyVersion(r)}s[i]=r;return s},{})}function getInclusionReasons(t,s,i){const r=i[t]||{};return Object.keys(s).reduce((t,i)=>{const a=getLowestImplementedVersion(r,i);const o=s[i];if(!a){t[i]=prettifyVersion(o)}else{const s=isUnreleasedVersion(a,i);const r=isUnreleasedVersion(o,i);if(!r&&(s||isLessThan(o.toString(),semverify(a)))){t[i]=prettifyVersion(o)}}return t},{})}function targetsSupported(t,s){const i=Object.keys(t);if(i.length===0){return false}const r=i.filter(i=>{const r=getLowestImplementedVersion(s,i);if(!r){return true}const a=t[i];if(isUnreleasedVersion(a,i)){return false}if(isUnreleasedVersion(r,i)){return true}if(!isValid(a.toString())){throw new Error(`Invalid version passed for target "${i}": "${a}". `+"Versions must be in semver format (major.minor.patch)")}return isGreaterThan(semverify(r),a.toString())});return r.length===0}function isRequired(t,s,{compatData:i=pluginsCompatData,includes:r,excludes:a}={}){if(a?.has(t))return false;if(r?.has(t))return true;return!targetsSupported(s,i[t])}function filterItems(t,s,i,r,a,o,l){const u=new Set;const p={compatData:t,includes:s,excludes:i};for(const s in t){if(isRequired(s,r,p)){u.add(s)}else if(l){const t=l.get(s);if(t){u.add(t)}}}a?.forEach(t=>!i.has(t)&&u.add(t));o?.forEach(t=>!s.has(t)&&u.delete(t));return u}const kn=hn.P;const Sn=new fn.S("@babel/helper-compilation-targets");function validateTargetNames(t){const s=Object.keys(xn);for(const i of Object.keys(t)){if(!(i in xn)){throw new Error(Sn.formatMessage(`'${i}' is not a valid target\n- Did you mean '${(0,fn.G)(i,s)}'?`))}}return t}function isBrowsersQueryValid(t){return typeof t==="string"||Array.isArray(t)&&t.every(t=>typeof t==="string")}function validateBrowsers(t){Sn.invariant(t===undefined||isBrowsersQueryValid(t),`'${String(t)}' is not a valid browserslist query`);return t}function getLowestVersions(t){return t.reduce((t,s)=>{const[i,r]=s.split(" ");const a=bn[i];if(!a){return t}try{const s=r.split("-")[0].toLowerCase();const i=isUnreleasedVersion(s,a);if(!t[a]){t[a]=i?s:semverify(s);return t}const o=t[a];const l=isUnreleasedVersion(o,a);if(l&&i){t[a]=getLowestUnreleased(o,s,a)}else if(l){t[a]=semverify(s)}else if(!l&&!i){const i=semverify(s);t[a]=semverMin(o,i)}}catch(t){}return t},{})}function outputDecimalWarning(t){if(!t.length){return}console.warn("Warning, the following targets are using a decimal version:\n");t.forEach(({target:t,value:s})=>console.warn(` ${t}: ${s}`));console.warn(`\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n`)}function semverifyTarget(t,s){try{return semverify(s)}catch(i){throw new Error(Sn.formatMessage(`'${s}' is not a valid value for 'targets.${t}'.`),{cause:i})}}function nodeTargetParser(t){const s=t===true||t==="current"?process.versions.node.split("-")[0]:semverifyTarget("node",t);return["node",s]}function defaultTargetParser(t,s){const i=isUnreleasedVersion(s,t)?s.toLowerCase():semverifyTarget(t,s);return[t,i]}function generateTargets(t){const s={...t};delete s.esmodules;delete s.browsers;return s}function resolveTargets(t,s){const i=pn(t,{mobileToDesktop:true,env:s});return getLowestVersions(i)}const En=mn(64);function resolveTargetsCached(t,s){const i=typeof t==="string"?t:t.join()+s;let r=En.get(i);if(!r){r=resolveTargets(t,s);En.set(i,r)}return{...r}}function getTargets(t={},s={}){let{browsers:i,esmodules:r}=t;const{configPath:a=".",onBrowserslistConfigFound:o}=s;validateBrowsers(i);const l=generateTargets(t);let u=validateTargetNames(l);const p=!!i;const f=p||Object.keys(u).length>0;const h=!s.ignoreBrowserslistConfig&&!f;if(!i&&h){i=process.env.BROWSERSLIST;if(!i){const t=s.configFile||process.env.BROWSERSLIST_CONFIG||pn.findConfigFile(a);if(t!=null){o?.(t);i=pn.loadConfig({config:t,env:s.browserslistEnv})}}if(i==null){i=["defaults"]}}if(r&&!i?.length){i=Object.keys(kn).map(t=>`${t} >= ${kn[t]}`).join(", ");r=false}if(i?.length){const t=resolveTargetsCached(i,s.browserslistEnv);if(r){for(const s of Object.keys(t)){if(s!=="deno"&&s!=="ie"){const i=kn[s==="opera_mobile"?"op_mob":s];if(i){const r=t[s];t[s]=getHighestUnreleased(r,semverify(i),s)}else{delete t[s]}}else{delete t[s]}}}u=Object.assign(t,u)}const m={};const g=[];for(const t of Object.keys(u).sort()){const s=u[t];if(typeof s==="number"&&s%1!==0){g.push({target:t,value:s})}const[i,r]=t==="node"?nodeTargetParser(s):defaultTargetParser(t,s);if(r){m[i]=r}}outputDecimalWarning(g);return m}function resolveBrowserslistConfigFile(t,s){return Te.resolve(s,t)}function resolve_targets_resolveTargets(t,s){const i=t.targets;let r;if(typeof i==="string"||Array.isArray(i)){r={browsers:i}}else if(i){r=i}const{browserslistConfigFile:a}=t;let o;let l=false;if(typeof a==="string"){o=a}else{l=a===false}return getTargets(r,{ignoreBrowserslistConfig:l,configFile:o,configPath:s,browserslistEnv:t.browserslistEnv})}const _n=Object.defineProperty({__proto__:null,get DEFAULT_EXTENSIONS(){return ri},get File(){return File},get buildExternalHelpers(){return buildExternalHelpers},get createConfigItem(){return Ws},get createConfigItemAsync(){return createConfigItemAsync},get createConfigItemSync(){return createConfigItemSync},get getEnv(){return getEnv},get loadOptions(){return loadOptions},get loadOptionsAsync(){return loadOptionsAsync},get loadOptionsSync(){return loadOptionsSync},get loadPartialConfig(){return loadPartialConfig},get loadPartialConfigAsync(){return loadPartialConfigAsync},get loadPartialConfigSync(){return loadPartialConfigSync},get parse(){return si},get parseAsync(){return parseAsync},get parseSync(){return parseSync},get resolvePlugin(){return index_shared_resolvePlugin},get resolvePreset(){return index_shared_resolvePreset},get template(){return o.Ay},get tokTypes(){return ln.Y_},get transform(){return Zs},get transformAsync(){return transformAsync},get transformFile(){return transformFile},get transformFileAsync(){return transformFileAsync},get transformFileSync(){return transformFileSync},get transformFromAst(){return ti},get transformFromAstAsync(){return transformFromAstAsync},get transformFromAstSync(){return transformFromAstSync},get transformSync(){return transformSync},get traverse(){return m.Ay},get types(){return a},get version(){return ii}},Symbol.toStringTag,{value:"Module"});const{cloneNode:Tn,interpreterDirective:Cn,traverseFast:An}=a;class File{_map=new Map;opts;declarations={};path;ast;scope;metadata={};code="";inputMap;hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)};constructor(t,{code:s,ast:i,inputMap:r}){this.opts=t;this.code=s;this.ast=i;this.inputMap=r;this.path=m.eX.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext();this.scope=this.path.scope}get shebang(){const{interpreter:t}=this.path.node;return t?t.value:""}set shebang(t){if(t){this.path.get("interpreter").replaceWith(Cn(t))}else{this.path.get("interpreter").remove()}}set(t,s){this._map.set(t,s)}get(t){return this._map.get(t)}has(t){return this._map.has(t)}availableHelper(t,s){if(isInternal(t))return false;let i;try{i=lib_minVersion(t)}catch(t){if(t.code!=="BABEL_HELPER_UNKNOWN")throw t;return false}if(typeof s!=="string")return true;if(version_Co1j9Tpq_isValid(s))s=`^${s}`;return!rangesIntersect(`<${i}`,s)&&!rangesIntersect(`>=9.0.0`,s)}addHelper(t){if(isInternal(t)){throw new Error("Cannot use internal helper "+t)}return this._addHelper(t)}_addHelper(t){const s=this.declarations[t];if(s)return Tn(s);const i=this.get("helperGenerator");if(i){const s=i(t);if(s)return s}lib_minVersion(t);const r=this.declarations[t]=this.scope.generateUidIdentifier(t);const a={};for(const s of getDependencies(t)){a[s]=this._addHelper(s)}const{nodes:o,globals:l}=get(t,t=>a[t],r.name,Object.keys(this.scope.getAllBindings()));l.forEach(t=>{if(this.path.scope.hasBinding(t,true)){this.path.scope.rename(t)}});o.forEach(t=>{t._compact=true});const u=this.path.unshiftContainer("body",o);for(const t of u){if(t.isVariableDeclaration())this.scope.registerDeclaration(t)}return r}buildCodeFrameError(t,s,i=SyntaxError){let r=t?.loc;if(!r&&t){An(t,function(t){if(t.loc){r=t.loc;return An.stop}});let i="This is an error on an internal node. Probably an internal error.";if(r)i+=" Location has been estimated.";s+=` (${i})`}if(r){const{highlightCode:t=true}=this.opts;s+="\n"+(0,g.g)(this.code,{start:{line:r.start.line,column:r.start.column},end:r.end&&r.start.line===r.end.line?{line:r.end.line,column:r.end.column}:undefined},{highlightCode:t})}return new i(s)}}const{arrayExpression:In,assignmentExpression:Pn,binaryExpression:$n,blockStatement:On,callExpression:Dn,cloneNode:Nn,conditionalExpression:jn,exportNamedDeclaration:Rn,exportSpecifier:Ln,expressionStatement:Fn,functionExpression:Mn,identifier:Bn,memberExpression:qn,objectExpression:Wn,program:Un,stringLiteral:zn,unaryExpression:Hn,variableDeclaration:Vn,variableDeclarator:Kn}=a;const buildUmdWrapper=t=>o.Ay.statement`
|
|
3
3
|
(function (root, factory) {
|
|
4
4
|
if (typeof define === "function" && define.amd) {
|
|
5
5
|
define(AMD_ARGUMENTS, factory);
|