detect/detect.gui/Embedded/dist/assets/result-96028563.js

58 lines
926 KiB
JavaScript
Raw Normal View History

2025-05-14 13:55:55 +08:00
var cr=Object.defineProperty,hr=Object.defineProperties;var fr=Object.getOwnPropertyDescriptors;var er=Object.getOwnPropertySymbols;var dr=Object.prototype.hasOwnProperty,pr=Object.prototype.propertyIsEnumerable;var rr=(ne,ie)=>{if(ie=Symbol[ne])return ie;throw Error("Symbol."+ne+" is not defined")};var nr=(ne,ie,s)=>ie in ne?cr(ne,ie,{enumerable:!0,configurable:!0,writable:!0,value:s}):ne[ie]=s,ye=(ne,ie)=>{for(var s in ie||(ie={}))dr.call(ie,s)&&nr(ne,s,ie[s]);if(er)for(var s of er(ie))pr.call(ie,s)&&nr(ne,s,ie[s]);return ne},Ee=(ne,ie)=>hr(ne,fr(ie));var Zt=(ne,ie,s)=>new Promise((T,S)=>{var m=n=>{try{a(s.next(n))}catch(t){S(t)}},o=n=>{try{a(s.throw(n))}catch(t){S(t)}},a=n=>n.done?T(n.value):Promise.resolve(n.value).then(m,o);a((s=s.apply(ne,ie)).next())}),$e=function(ne,ie){this[0]=ne,this[1]=ie},ir=(ne,ie,s)=>{var T=(o,a,n,t)=>{try{var e=s[o](a),l=(a=e.value)instanceof $e,r=e.done;Promise.resolve(l?a[0]:a).then(i=>l?T(o==="return"?o:"next",a[1]?{done:i.done,value:i.value}:i,n,t):n({value:i,done:r})).catch(i=>T("throw",i,n,t))}catch(i){t(i)}},S=o=>m[o]=a=>new Promise((n,t)=>T(o,a,n,t)),m={};return s=s.apply(ne,ie),m[Symbol.asyncIterator]=()=>m,S("next"),S("throw"),S("return"),m};var Ve=(ne,ie,s)=>(ie=ne[rr("asyncIterator")])?ie.call(ne):(ne=ne[rr("iterator")](),ie={},s=(T,S)=>(S=ne[T])&&(ie[T]=m=>new Promise((o,a,n)=>(m=S.call(ne,m),n=m.done,Promise.resolve(m.value).then(t=>o({value:t,done:n}),a)))),s("next"),s("return"),ie);import{a as mr,B as br}from"./index-5753cee3.js";import{u as gr,B as yr}from"./useTable-0929d6a4.js";import"./useForm-12b49814.js";import{c as Vt,d as vr,ae as wr,ad as _r,Q as sr,af as xr}from"./antd-1b4d4679.js";import{aq as qe,_ as kr}from"./index.js";import{d as Sr,f as Ze,a6 as Cr,Z as We,a4 as Ye,a5 as Ne,$ as or,k as Xe,u as ke,G as Ge,a0 as Mr,l as ar,_ as Tr,a8 as Je,F as Er,a9 as Ar}from"./vue-72a104e4.js";import"./useWindowSizeFn-c13a0e28.js";import"./onMountedOrActivated-ee461833.js";import"./sortable.esm-15c0a34e.js";import"./copyTextToClipboard-a10a0e6f.js";var lr={exports:{}};/*! ExcelJS 19-10-2023 */(function(ne,ie){(function(s){ne.exports=s()})(function(){return function s(T,S,m){function o(t,e){if(!S[t]){if(!T[t]){var l=typeof qe=="function"&&qe;if(!e&&l)return l(t,!0);if(a)return a(t,!0);var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}var i=S[t]={exports:{}};T[t][0].call(i.exports,function(c){return o(T[t][1][c]||c)},i,i.exports,s,T,S,m)}return S[t].exports}for(var a=typeof qe=="function"&&qe,n=0;n<m.length;n++)o(m[n]);return o}({1:[function(s,T,S){const m=s("fs"),o=s("fast-csv"),a=s("dayjs/plugin/customParseFormat"),n=s("dayjs/plugin/utc"),t=s("dayjs").extend(a).extend(n),e=s("../utils/stream-buf"),{fs:{exists:l}}=s("../utils/utils"),r={true:!0,false:!1,"#N/A":{error:"#N/A"},"#REF!":{error:"#REF!"},"#NAME?":{error:"#NAME?"},"#DIV/0!":{error:"#DIV/0!"},"#NULL!":{error:"#NULL!"},"#VALUE!":{error:"#VALUE!"},"#NUM!":{error:"#NUM!"}};T.exports=class{constructor(i){this.workbook=i,this.worksheet=null}readFile(i,c){return Zt(this,null,function*(){if(c=c||{},!(yield l(i)))throw new Error("File not found: "+i);const f=m.createReadStream(i),u=yield this.read(f,c);return f.close(),u})}read(i,c){return c=c||{},new Promise((f,u)=>{const d=this.workbook.addWorksheet(c.sheetName),h=c.dateFormats||["YYYY-MM-DD[T]HH:mm:ssZ","YYYY-MM-DD[T]HH:mm:ss","MM-DD-YYYY","YYYY-MM-DD"],v=c.map||function(A){if(A==="")return null;const N=Number(A);if(!Number.isNaN(N)&&N!==1/0)return N;const L=h.reduce((P,D)=>{if(P)return P;const H=t(A,D,!0);return H.isValid()?H:null},null);if(L)return new Date(L.valueOf());const j=r[A];return j!==void 0?j:A},_=o.parse(c.parserOptions).on("data",A=>{d.addRow(A.map(v))}).on("end",()=>{_.emit("worksheet",d)});_.on("worksheet",f).on("error",u),i.pipe(_)})}createInputStream(){throw new Error("`CSV#createInputStream` is deprecated. You should use `CSV#read` instead. This method will be removed in version 5.0. Please follow upgrade instruction: https://github.com/exceljs/exceljs/blob/master/UPGRADE-4.0.md")}write(i,c){return new Promise((f,u)=>{c=c
2025-05-08 11:41:35 +08:00
`)}openNode(l,r){const i=this.tos,c=this._xml;i&&this.open&&c.push(">"),this._stack.push(l),c.push("<"),c.push(l),n(c,r),this.leaf=!0,this.open=!0}addAttribute(l,r){if(!this.open)throw new Error("Cannot write attributes to node if it is not open");r!==void 0&&a(this._xml,l,r)}addAttributes(l){if(!this.open)throw new Error("Cannot write attributes to node if it is not open");n(this._xml,l)}writeText(l){const r=this._xml;this.open&&(r.push(">"),this.open=!1),this.leaf=!1,r.push(o.xmlEncode(l.toString()))}writeXml(l){this.open&&(this._xml.push(">"),this.open=!1),this.leaf=!1,this._xml.push(l)}closeNode(){const l=this._stack.pop(),r=this._xml;this.leaf?r.push("/>"):(r.push("</"),r.push(l),r.push(">")),this.open=!1,this.leaf=!1}leafNode(l,r,i){this.openNode(l,r),i!==void 0&&this.writeText(i),this.closeNode()}closeAll(){for(;this._stack.length;)this.closeNode()}addRollback(){return this._rollbacks.push({xml:this._xml.length,stack:this._stack.length,leaf:this.leaf,open:this.open}),this.cursor}commit(){this._rollbacks.pop()}rollback(){const l=this._rollbacks.pop();this._xml.length>l.xml&&this._xml.splice(l.xml,this._xml.length-l.xml),this._stack.length>l.stack&&this._stack.splice(l.stack,this._stack.length-l.stack),this.leaf=l.leaf,this.open=l.open}get xml(){return this.closeAll(),this._xml.join("")}}t.StdDocAttributes={version:"1.0",encoding:"UTF-8",standalone:"yes"},T.exports=t},{"./under-dash":26,"./utils":27}],29:[function(s,T,S){(function(m){(function(){const o=s("events"),a=s("jszip"),n=s("./stream-buf"),{stringToBuffer:t}=s("./browser-buffer-encode");class e extends o.EventEmitter{constructor(r){super(),this.options=Object.assign({type:"nodebuffer",compression:"DEFLATE"},r),this.zip=new a,this.stream=new n}append(r,i){i.hasOwnProperty("base64")&&i.base64?this.zip.file(i.name,r,{base64:!0}):(m.browser&&typeof r=="string"&&(r=t(r)),this.zip.file(i.name,r))}finalize(){return Zt(this,null,function*(){const r=yield this.zip.generateAsync(this.options);this.stream.end(r),this.emit("finish")})}read(r){return this.stream.read(r)}setEncoding(r){return this.stream.setEncoding(r)}pause(){return this.stream.pause()}resume(){return this.stream.resume()}isPaused(){return this.stream.isPaused()}pipe(r,i){return this.stream.pipe(r,i)}unpipe(r){return this.stream.unpipe(r)}unshift(r){return this.stream.unshift(r)}wrap(r){return this.stream.wrap(r)}}T.exports={ZipWriter:e}}).call(this)}).call(this,s("_process"))},{"./browser-buffer-encode":17,"./stream-buf":24,_process:467,events:422,jszip:441}],30:[function(s,T,S){T.exports={0:{f:"General"},1:{f:"0"},2:{f:"0.00"},3:{f:"#,##0"},4:{f:"#,##0.00"},9:{f:"0%"},10:{f:"0.00%"},11:{f:"0.00E+00"},12:{f:"# ?/?"},13:{f:"# ??/??"},14:{f:"mm-dd-yy"},15:{f:"d-mmm-yy"},16:{f:"d-mmm"},17:{f:"mmm-yy"},18:{f:"h:mm AM/PM"},19:{f:"h:mm:ss AM/PM"},20:{f:"h:mm"},21:{f:"h:mm:ss"},22:{f:'m/d/yy "h":mm'},27:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},28:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},29:{"zh-tw":'[$-404]e"年"m"月"d"日"',"zh-cn":'m"月"d"日"',"ja-jp":'[$-411]ggge"年"m"月"d"日"',"ko-kr":"mm-dd"},30:{"zh-tw":"m/d/yy ","zh-cn":"m-d-yy","ja-jp":"m/d/yy","ko-kr":"mm-dd-yy"},31:{"zh-tw":'yyyy"年"m"月"d"日"',"zh-cn":'yyyy"年"m"月"d"日"',"ja-jp":'yyyy"年"m"月"d"日"',"ko-kr":'yyyy"년" mm"월" dd"일"'},32:{"zh-tw":'hh"時"mm"分"',"zh-cn":'h"时"mm"分"',"ja-jp":'h"時"mm"分"',"ko-kr":'h"시" mm"분"'},33:{"zh-tw":'hh"時"mm"分"ss"秒"',"zh-cn":'h"时"mm"分"ss"秒"',"ja-jp":'h"時"mm"分"ss"秒"',"ko-kr":'h"시" mm"분" ss"초"'},34:{"zh-tw":'上午/下午 hh"時"mm"分"',"zh-cn":'上午/下午 h"时"mm"分"',"ja-jp":'yyyy"年"m"月"',"ko-kr":"yyyy-mm-dd"},35:{"zh-tw":'上午/下午 hh"時"mm"分"ss"秒"',"zh-cn":'上午/下午 h"时"mm"分"ss"秒"',"ja-jp":'m"月"d"日"',"ko-kr":"yyyy-mm-dd"},36:{"zh-tw":"[$-404]e/m/d","zh-cn":'yyyy"年"m"月"',"ja-jp":"[$-411]ge.m.d","ko-kr":'yyyy"年" mm"月" dd"日"'},37:{f:"#,##0 ;(#,##0)"},38:{f:"#,##0 ;[Red](#,##0
2025-04-18 09:53:39 +08:00
<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme"> <a:themeElements> <a:clrScheme name="Office"> <a:dk1> <a:sysClr val="windowText" lastClr="000000"/> </a:dk1> <a:lt1> <a:sysClr val="window" lastClr="FFFFFF"/> </a:lt1> <a:dk2> <a:srgbClr val="1F497D"/> </a:dk2> <a:lt2> <a:srgbClr val="EEECE1"/> </a:lt2> <a:accent1> <a:srgbClr val="4F81BD"/> </a:accent1> <a:accent2> <a:srgbClr val="C0504D"/> </a:accent2> <a:accent3> <a:srgbClr val="9BBB59"/> </a:accent3> <a:accent4> <a:srgbClr val="8064A2"/> </a:accent4> <a:accent5> <a:srgbClr val="4BACC6"/> </a:accent5> <a:accent6> <a:srgbClr val="F79646"/> </a:accent6> <a:hlink> <a:srgbClr val="0000FF"/> </a:hlink> <a:folHlink> <a:srgbClr val="800080"/> </a:folHlink> </a:clrScheme> <a:fontScheme name="Office"> <a:majorFont> <a:latin typeface="Cambria"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface=" "/> <a:font script="Hang" typeface=" "/> <a:font script="Hans" typeface=""/> <a:font script="Hant" typeface=""/> <a:font script="Arab" typeface="Times New Roman"/> <a:font script="Hebr" typeface="Times New Roman"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="MoolBoran"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Times New Roman"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:majorFont> <a:minorFont> <a:latin typeface="Calibri"/> <a:ea typeface=""/> <a:cs typeface=""/> <a:font script="Jpan" typeface=" "/> <a:font script="Hang" typeface=" "/> <a:font script="Hans" typeface=""/> <a:font script="Hant" typeface=""/> <a:font script="Arab" typeface="Arial"/> <a:font script="Hebr" typeface="Arial"/> <a:font script="Thai" typeface="Tahoma"/> <a:font script="Ethi" typeface="Nyala"/> <a:font script="Beng" typeface="Vrinda"/> <a:font script="Gujr" typeface="Shruti"/> <a:font script="Khmr" typeface="DaunPenh"/> <a:font script="Knda" typeface="Tunga"/> <a:font script="Guru" typeface="Raavi"/> <a:font script="Cans" typeface="Euphemia"/> <a:font script="Cher" typeface="Plantagenet Cherokee"/> <a:font script="Yiii" typeface="Microsoft Yi Baiti"/> <a:font script="Tibt" typeface="Microsoft Himalaya"/> <a:font script="Thaa" typeface="MV Boli"/> <a:font script="Deva" typeface="Mangal"/> <a:font script="Telu" typeface="Gautami"/> <a:font script="Taml" typeface="Latha"/> <a:font script="Syrc" typeface="Estrangelo Edessa"/> <a:font script="Orya" typeface="Kalinga"/> <a:font script="Mlym" typeface="Kartika"/> <a:font script="Laoo" typeface="DokChampa"/> <a:font script="Sinh" typeface="Iskoola Pota"/> <a:font script="Mong" typeface="Mongolian Baiti"/> <a:font script="Viet" typeface="Arial"/> <a:font script="Uigh" typeface="Microsoft Uighur"/> <a:font script="Geor" typeface="Sylfaen"/> </a:minorFont> </a:fontScheme> <a:fmtScheme name="Office"> <a:fillStyleLst> <a:solidFill> <a:schemeClr val="phClr"/> </a:solidFill> <a:gradFill rotWithShape="1"> <a:gsLst> <a:gs pos="0"> <a:schemeClr val="phClr"> <a:tint val="50000"/> <a:satMod val="300000"/> </a:schemeClr> </a:gs> <a:gs pos="35000"> <a:schemeClr val="phClr"> <a:tint val="37000"
`,this.quote='"',this.escape=this.quote,this.quoteColumns=!1,this.quoteHeaders=this.quoteColumns,this.headers=null,this.includeEndRowDelimiter=!1,this.writeBOM=!1,this.BOM="\uFEFF",this.alwaysWriteHeaders=!1,Object.assign(this,m||{}),(m==null?void 0:m.quoteHeaders)===void 0&&(this.quoteHeaders=this.quoteColumns),(m==null?void 0:m.quote)===!0?this.quote='"':(m==null?void 0:m.quote)===!1&&(this.quote=""),typeof(m==null?void 0:m.escape)!="string"&&(this.escape=this.quote),this.shouldWriteHeaders=!!this.headers&&((o=m.writeHeaders)===null||o===void 0||o),this.headers=Array.isArray(this.headers)?this.headers:null,this.escapedQuote=`${this.escape}${this.quote}`}}},{}],148:[function(s,T,S){var m=function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(S,"__esModule",{value:!0}),S.FieldFormatter=void 0;const o=m(s("lodash.isboolean")),a=m(s("lodash.isnil")),n=m(s("lodash.escaperegexp"));S.FieldFormatter=class{constructor(t){this._headers=null,this.formatterOptions=t,t.headers!==null&&(this.headers=t.headers),this.REPLACE_REGEXP=new RegExp(t.quote,"g");const e=`[${t.delimiter}${n.default(t.rowDelimiter)}|\r|
]`;this.ESCAPE_REGEXP=new RegExp(e)}set headers(t){this._headers=t}shouldQuote(t,e){const l=e?this.formatterOptions.quoteHeaders:this.formatterOptions.quoteColumns;return o.default(l)?l:Array.isArray(l)?l[t]:this._headers!==null&&l[this._headers[t]]}format(t,e,l){const r=(""+(a.default(t)?"":t)).replace(/\0/g,""),{formatterOptions:i}=this;return i.quote!==""&&r.indexOf(i.quote)!==-1?this.quoteField(r.replace(this.REPLACE_REGEXP,i.escapedQuote)):r.search(this.ESCAPE_REGEXP)!==-1||this.shouldQuote(e,l)?this.quoteField(r):r}quoteField(t){const{quote:e}=this.formatterOptions;return`${e}${t}${e}`}}},{"lodash.escaperegexp":442,"lodash.isboolean":444,"lodash.isnil":447}],149:[function(s,T,S){var m=function(l){return l&&l.__esModule?l:{default:l}};Object.defineProperty(S,"__esModule",{value:!0}),S.RowFormatter=void 0;const o=m(s("lodash.isfunction")),a=m(s("lodash.isequal")),n=s("./FieldFormatter"),t=s("../types");class e{constructor(r){this.rowCount=0,this.formatterOptions=r,this.fieldFormatter=new n.FieldFormatter(r),this.headers=r.headers,this.shouldWriteHeaders=r.shouldWriteHeaders,this.hasWrittenHeaders=!1,this.headers!==null&&(this.fieldFormatter.headers=this.headers),r.transform&&(this.rowTransform=r.transform)}static isRowHashArray(r){return!!Array.isArray(r)&&Array.isArray(r[0])&&r[0].length===2}static isRowArray(r){return Array.isArray(r)&&!this.isRowHashArray(r)}static gatherHeaders(r){return e.isRowHashArray(r)?r.map(i=>i[0]):Array.isArray(r)?r:Object.keys(r)}static createTransform(r){return t.isSyncTransform(r)?(i,c)=>{let f=null;try{f=r(i)}catch(u){return c(u)}return c(null,f)}:(i,c)=>{r(i,c)}}set rowTransform(r){if(!o.default(r))throw new TypeError("The transform should be a function");this._rowTransform=e.createTransform(r)}format(r,i){this.callTransformer(r,(c,f)=>{if(c)return i(c);if(!r)return i(null);const u=[];if(f){const{shouldFormatColumns:d,headers:h}=this.checkHeaders(f);if(this.shouldWriteHeaders&&h&&!this.hasWrittenHeaders&&(u.push(this.formatColumns(h,!0)),this.hasWrittenHeaders=!0),d){const v=this.gatherColumns(f);u.push(this.formatColumns(v,!1))}}return i(null,u)})}finish(r){const i=[];if(this.formatterOptions.alwaysWriteHeaders&&this.rowCount===0){if(!this.headers)return r(new Error("`alwaysWriteHeaders` option is set to true but `headers` option not provided."));i.push(this.formatColumns(this.headers,!0))}return this.formatterOptions.includeEndRowDelimiter&&i.push(this.formatterOptions.rowDelimiter),r(null,i)}checkHeaders(r){if(this.headers)return{shouldFormatColumns:!0,headers:this.headers};const i=e.gatherHeaders(r);return this.headers=i,this.fieldFormatter.headers=i,this.shouldWriteHeaders?{shouldFormatColumns:!a.default(i,r),headers:i}:{shouldFormatColumns:!0,headers:null}}gatherColumns(r){if(this.headers===null)throw new Error("Headers is currently null");return Array.isArray(r)?e.isRowHashArray(r)?this.headers.map((i,c)=>{const f=r[c];return f?f[1]:""}):e.isRowArray(r)&&!this.shouldWriteHeaders?r:this.headers.map((i,c)=>r[c]):this.headers.map(i=>r[i])}callTransformer(r,i){return this._rowTransform?this._rowTransform(r,i):i(null,r)}formatColumns(r,i){const c=r.map((u,d)=>this.fieldFormatter.format(u,d,i)).join(this.formatterOptions.delimiter),{rowCount:f}=this;return this.rowCount+=1,f?[this.formatterOptions.rowDelimiter,c].join(""):c}}S.RowFormatter=e},{"../types":152,"./FieldFormatter":148,"lodash.isequal":445,"lodash.isfunction":446}],150:[function(s,T,S){Object.defineProperty(S,"__esModule",{value:!0}),S.FieldFormatter=S.RowFormatter=void 0;var m=s("./RowFormatter");Object.defineProperty(S,"RowFormatter",{enumerable:!0,get:function(){return m.RowFormatter}});var o=s("./FieldFormatter");Object.defineProperty(S,"FieldFormatter",{enumerable:!0,get:function(){return o.FieldFormatter}})},{"./FieldFormatter":148,"./RowFormatter":149}],151:[function(s,T,S){(function(m){(function(){var o=Object.create?function(d,h,v,_){_===void 0&&(_=v),Object.defineProperty(d,_,{enumerable:!0,get:function(){return h[v]}})}:function(d,h,v,_){_===void 0&&(_=v),d[_]=h[v]},a=Object.create?function(d,h){Object.define
`||o===`\r
`}static isTokenCarriageReturn(m,o){return m.token===o.carriageReturn}static isTokenComment(m,o){return o.supportsComments&&!!m&&m.token===o.comment}static isTokenEscapeCharacter(m,o){return m.token===o.escapeChar}static isTokenQuote(m,o){return m.token===o.quote}static isTokenDelimiter(m,o){return m.token===o.delimiter}}},{}],160:[function(s,T,S){Object.defineProperty(S,"__esModule",{value:!0}),S.ColumnFormatter=void 0,S.ColumnFormatter=class{constructor(m){m.trim?this.format=o=>o.trim():m.ltrim?this.format=o=>o.trimLeft():m.rtrim?this.format=o=>o.trimRight():this.format=o=>o}}},{}],161:[function(s,T,S){Object.defineProperty(S,"__esModule",{value:!0}),S.ColumnParser=void 0;const m=s("./NonQuotedColumnParser"),o=s("./QuotedColumnParser"),a=s("../Token");S.ColumnParser=class{constructor(n){this.parserOptions=n,this.quotedColumnParser=new o.QuotedColumnParser(n),this.nonQuotedColumnParser=new m.NonQuotedColumnParser(n)}parse(n){const{nextNonSpaceToken:t}=n;return t!==null&&a.Token.isTokenQuote(t,this.parserOptions)?(n.advanceToToken(t),this.quotedColumnParser.parse(n)):this.nonQuotedColumnParser.parse(n)}}},{"../Token":159,"./NonQuotedColumnParser":162,"./QuotedColumnParser":163}],162:[function(s,T,S){Object.defineProperty(S,"__esModule",{value:!0}),S.NonQuotedColumnParser=void 0;const m=s("./ColumnFormatter"),o=s("../Token");S.NonQuotedColumnParser=class{constructor(a){this.parserOptions=a,this.columnFormatter=new m.ColumnFormatter(a)}parse(a){if(!a.hasMoreCharacters)return null;const{parserOptions:n}=this,t=[];let e=a.nextCharacterToken;for(;e&&!o.Token.isTokenDelimiter(e,n)&&!o.Token.isTokenRowDelimiter(e);e=a.nextCharacterToken)t.push(e.token),a.advancePastToken(e);return this.columnFormatter.format(t.join(""))}}},{"../Token":159,"./ColumnFormatter":160}],163:[function(s,T,S){Object.defineProperty(S,"__esModule",{value:!0}),S.QuotedColumnParser=void 0;const m=s("./ColumnFormatter"),o=s("../Token");S.QuotedColumnParser=class{constructor(a){this.parserOptions=a,this.columnFormatter=new m.ColumnFormatter(a)}parse(a){if(!a.hasMoreCharacters)return null;const n=a.cursor,{foundClosingQuote:t,col:e}=this.gatherDataBetweenQuotes(a);if(!t){if(a.advanceTo(n),!a.hasMoreData)throw new Error(`Parse Error: missing closing: '${this.parserOptions.quote||""}' in line: at '${a.lineFromCursor.replace(/[\r\n]/g,"\\n'")}'`);return null}return this.checkForMalformedColumn(a),e}gatherDataBetweenQuotes(a){const{parserOptions:n}=this;let t=!1,e=!1;const l=[];let r=a.nextCharacterToken;for(;!e&&r!==null;r=a.nextCharacterToken){const i=o.Token.isTokenQuote(r,n);if(!t&&i)t=!0;else if(t)if(o.Token.isTokenEscapeCharacter(r,n)){a.advancePastToken(r);const c=a.nextCharacterToken;c!==null&&(o.Token.isTokenQuote(c,n)||o.Token.isTokenEscapeCharacter(c,n))?(l.push(c.token),r=c):i?e=!0:l.push(r.token)}else i?e=!0:l.push(r.token);a.advancePastToken(r)}return{col:this.columnFormatter.format(l.join("")),foundClosingQuote:e}}checkForMalformedColumn(a){const{parserOptions:n}=this,{nextNonSpaceToken:t}=a;if(t){const e=o.Token.isTokenDelimiter(t,n),l=o.Token.isTokenRowDelimiter(t);if(!e&&!l){const r=a.lineFromCursor.substr(0,10).replace(/[\r\n]/g,"\\n'");throw new Error(`Parse Error: expected: '${n.escapedDelimiter}' OR new line got: '${t.token}'. at '${r}`)}a.advanceToToken(t)}else a.hasMoreData||a.advancePastLine()}}},{"../Token":159,"./ColumnFormatter":160}],164:[function(s,T,S){Object.defineProperty(S,"__esModule",{value:!0}),S.ColumnFormatter=S.QuotedColumnParser=S.NonQuotedColumnParser=S.ColumnParser=void 0;var m=s("./ColumnParser");Object.defineProperty(S,"ColumnParser",{enumerable:!0,get:function(){return m.ColumnParser}});var o=s("./NonQuotedColumnParser");Object.defineProperty(S,"NonQuotedColumnParser",{enumerable:!0,get:function(){return o.NonQuotedColumnParser}});var a=s("./QuotedColumnParser");Object.defineProperty(S,"QuotedColumnParser",{enumerable:!0,get:function(){return a.QuotedColumnParser}});var n=s("./ColumnFormatter");Object.defineProperty(S,"ColumnFormatter",{enumerable:!0,get:function(){return n.ColumnFormatter}})},{"./ColumnFormatter":16
2025-05-08 11:41:35 +08:00
`)}},{"./der":181,inherits:440}],184:[function(s,T,S){(function(m,o){function a(x,M){if(!x)throw new Error(M||"Assertion failed")}function n(x,M){x.super_=M;var w=function(){};w.prototype=M.prototype,x.prototype=new w,x.prototype.constructor=x}function t(x,M,w){if(t.isBN(x))return x;this.negative=0,this.words=null,this.length=0,this.red=null,x!==null&&(M!=="le"&&M!=="be"||(w=M,M=10),this._init(x||0,M||10,w||"be"))}var e;typeof m=="object"?m.exports=t:(void 0).BN=t,t.BN=t,t.wordSize=26;try{e=typeof window!="undefined"&&window.Buffer!==void 0?window.Buffer:s("buffer").Buffer}catch(x){}function l(x,M){var w=x.charCodeAt(M);return w>=65&&w<=70?w-55:w>=97&&w<=102?w-87:w-48&15}function r(x,M,w){var p=l(x,w);return w-1>=M&&(p|=l(x,w-1)<<4),p}function i(x,M,w,p){for(var b=0,g=Math.min(x.length,w),y=M;y<g;y++){var k=x.charCodeAt(y)-48;b*=p,b+=k>=49?k-49+10:k>=17?k-17+10:k}return b}t.isBN=function(x){return x instanceof t||x!==null&&typeof x=="object"&&x.constructor.wordSize===t.wordSize&&Array.isArray(x.words)},t.max=function(x,M){return x.cmp(M)>0?x:M},t.min=function(x,M){return x.cmp(M)<0?x:M},t.prototype._init=function(x,M,w){if(typeof x=="number")return this._initNumber(x,M,w);if(typeof x=="object")return this._initArray(x,M,w);M==="hex"&&(M=16),a(M===(0|M)&&M>=2&&M<=36);var p=0;(x=x.toString().replace(/\s+/g,""))[0]==="-"&&(p++,this.negative=1),p<x.length&&(M===16?this._parseHex(x,p,w):(this._parseBase(x,M,p),w==="le"&&this._initArray(this.toArray(),M,w)))},t.prototype._initNumber=function(x,M,w){x<0&&(this.negative=1,x=-x),x<67108864?(this.words=[67108863&x],this.length=1):x<4503599627370496?(this.words=[67108863&x,x/67108864&67108863],this.length=2):(a(x<9007199254740992),this.words=[67108863&x,x/67108864&67108863,1],this.length=3),w==="le"&&this._initArray(this.toArray(),M,w)},t.prototype._initArray=function(x,M,w){if(a(typeof x.length=="number"),x.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(x.length/3),this.words=new Array(this.length);for(var p=0;p<this.length;p++)this.words[p]=0;var b,g,y=0;if(w==="be")for(p=x.length-1,b=0;p>=0;p-=3)g=x[p]|x[p-1]<<8|x[p-2]<<16,this.words[b]|=g<<y&67108863,this.words[b+1]=g>>>26-y&67108863,(y+=24)>=26&&(y-=26,b++);else if(w==="le")for(p=0,b=0;p<x.length;p+=3)g=x[p]|x[p+1]<<8|x[p+2]<<16,this.words[b]|=g<<y&67108863,this.words[b+1]=g>>>26-y&67108863,(y+=24)>=26&&(y-=26,b++);return this.strip()},t.prototype._parseHex=function(x,M,w){this.length=Math.ceil((x.length-M)/6),this.words=new Array(this.length);for(var p=0;p<this.length;p++)this.words[p]=0;var b,g=0,y=0;if(w==="be")for(p=x.length-1;p>=M;p-=2)b=r(x,M,p)<<g,this.words[y]|=67108863&b,g>=18?(g-=18,y+=1,this.words[y]|=b>>>26):g+=8;else for(p=(x.length-M)%2==0?M+1:M;p<x.length;p+=2)b=r(x,M,p)<<g,this.words[y]|=67108863&b,g>=18?(g-=18,y+=1,this.words[y]|=b>>>26):g+=8;this.strip()},t.prototype._parseBase=function(x,M,w){this.words=[0],this.length=1;for(var p=0,b=1;b<=67108863;b*=M)p++;p--,b=b/M|0;for(var g=x.length-w,y=g%p,k=Math.min(g,g-y)+w,R=0,I=w;I<k;I+=p)R=i(x,I,I+p,M),this.imuln(b),this.words[0]+R<67108864?this.words[0]+=R:this._iaddn(R);if(y!==0){var z=1;for(R=i(x,I,x.length,M),I=0;I<y;I++)z*=M;this.imuln(z),this.words[0]+R<67108864?this.words[0]+=R:this._iaddn(R)}this.strip()},t.prototype.copy=function(x){x.words=new Array(this.length);for(var M=0;M<this.length;M++)x.words[M]=this.words[M];x.length=this.length,x.negative=this.negative,x.red=this.red},t.prototype.clone=function(){var x=new t(null);return this.copy(x),x},t.prototype._expand=function(x){for(;this.length<x;)this.words[this.length++]=0;return this},t.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},t.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},t.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000
`))},S.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6}},{"browserify-cipher":206,"browserify-sign":213,"browserify-sign/algos":210,"create-ecdh":384,"create-hash":386,"create-hmac":388,"diffie-hellman":400,pbkdf2:460,"public-encrypt":468,randombytes:475,randomfill:476}],391:[function(s,T,S){(function(m,o){typeof S=="object"&&T!==void 0?T.exports=o():(m=typeof globalThis!="undefined"?globalThis:m||self).dayjs=o()})(void 0,function(){var m=6e4,o=36e5,a="millisecond",n="second",t="minute",e="hour",l="day",r="week",i="month",c="quarter",f="year",u="date",d="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,v=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(p){var b=["th","st","nd","rd"],g=p%100;return"["+p+(b[(g-20)%10]||b[g]||b[0])+"]"}},A=function(p,b,g){var y=String(p);return!y||y.length>=b?p:""+Array(b+1-y.length).join(g)+p},N={s:A,z:function(p){var b=-p.utcOffset(),g=Math.abs(b),y=Math.floor(g/60),k=g%60;return(b<=0?"+":"-")+A(y,2,"0")+":"+A(k,2,"0")},m:function p(b,g){if(b.date()<g.date())return-p(g,b);var y=12*(g.year()-b.year())+(g.month()-b.month()),k=b.clone().add(y,i),R=g-k<0,I=b.clone().add(y+(R?-1:1),i);return+(-(y+(g-k)/(R?k-I:I-k))||0)},a:function(p){return p<0?Math.ceil(p)||0:Math.floor(p)},p:function(p){return{M:i,y:f,w:r,d:l,D:u,h:e,m:t,s:n,ms:a,Q:c}[p]||String(p||"").toLowerCase().replace(/s$/,"")},u:function(p){return p===void 0}},L="en",j={};j[L]=_;var P="$isDayjsObject",D=function(p){return p instanceof M||!(!p||!p[P])},H=function p(b,g,y){var k;if(!b)return L;if(typeof b=="string"){var R=b.toLowerCase();j[R]&&(k=R),g&&(j[R]=g,k=R);var I=b.split("-");if(!k&&I.length>1)return p(I[0])}else{var z=b.name;j[z]=b,k=z}return!y&&k&&(L=k),k||!y&&L},B=function(p,b){if(D(p))return p.clone();var g=typeof b=="object"?b:{};return g.date=p,g.args=arguments,new M(g)},x=N;x.l=H,x.i=D,x.w=function(p,b){return B(p,{locale:b.$L,utc:b.$u,x:b.$x,$offset:b.$offset})};var M=function(){function p(g){this.$L=H(g.locale,null,!0),this.parse(g),this.$x=this.$x||g.x||{},this[P]=!0}var b=p.prototype;return b.parse=function(g){this.$d=function(y){var k=y.date,R=y.utc;if(k===null)return new Date(NaN);if(x.u(k))return new Date;if(k instanceof Date)return new Date(k);if(typeof k=="string"&&!/Z$/i.test(k)){var I=k.match(h);if(I){var z=I[2]-1||0,U=(I[7]||"0").substring(0,3);return R?new Date(Date.UTC(I[1],z,I[3]||1,I[4]||0,I[5]||0,I[6]||0,U)):new Date(I[1],z,I[3]||1,I[4]||0,I[5]||0,I[6]||0,U)}}return new Date(k)}(g),this.init()},b.init=function(){var g=this.$d;this.$y=g.getFullYear(),this.$M=g.getMonth(),this.$D=g.getDate(),this.$W=g.getDay(),this.$H=g.getHours(),this.$m=g.getMinutes(),this.$s=g.getSeconds(),this.$ms=g.getMilliseconds()},b.$utils=function(){return x},b.isValid=function(){return this.$d.toString()!==d},b.isSame=function(g,y){var k=B(g);return this.startOf(y)<=k&&k<=this.endOf(y)},b.isAfter=function(g,y){return B(g)<this.startOf(y)},b.isBefore=function(g,y){return this.endOf(y)<B(g)},b.$g=function(g,y,k){return x.u(g)?this[y]:this.set(k,g)},b.unix=function(){return Math.floor(this.valueOf()/1e3)},b.valueOf=function(){return this.$d.getTime()},b.startOf=function(g,y){var k=this,R=!!x.u(y)||y,I=x.p(g),z=function(V,K){var W=x.w(k.$u?Date.UTC(k.$y,K,V):new Date(k.$y,K,V),k);return R?W:W.endOf(l)},U=function(V,K){return x.w(k.toDate()[V].apply(k.toDate("s"),(R?[0,0,0,0]:[23,59,59,999]).slice(K)),k)},q=this.$W,O=this.$M,$=this.$D,E="set"+(this.$u?"UTC":"");switch(I){case f:return R?z(1,0):z(31,11);case i:return R?
2025-04-18 09:53:39 +08:00
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
<http://stuartk.com/jszip>
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
JSZip uses the library pako released under the MIT license :
https://github.com/nodeca/pako/blob/main/LICENSE
2025-05-08 11:41:35 +08:00
*/(function(i){typeof S=="object"&&T!==void 0?T.exports=i():(typeof window!="undefined"?window:o!==void 0?o:typeof self!="undefined"?self:this).JSZip=i()})(function(){return function i(c,f,u){function d(_,A){if(!f[_]){if(!c[_]){var N=typeof s=="function"&&s;if(!A&&N)return N(_,!0);if(h)return h(_,!0);var L=new Error("Cannot find module '"+_+"'");throw L.code="MODULE_NOT_FOUND",L}var j=f[_]={exports:{}};c[_][0].call(j.exports,function(P){return d(c[_][1][P]||P)},j,j.exports,i,c,f,u)}return f[_].exports}for(var h=typeof s=="function"&&s,v=0;v<u.length;v++)d(u[v]);return d}({1:[function(i,c,f){var u=i("./utils"),d=i("./support"),h="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";f.encode=function(v){for(var _,A,N,L,j,P,D,H=[],B=0,x=v.length,M=x,w=u.getTypeOf(v)!=="string";B<v.length;)M=x-B,N=w?(_=v[B++],A=B<x?v[B++]:0,B<x?v[B++]:0):(_=v.charCodeAt(B++),A=B<x?v.charCodeAt(B++):0,B<x?v.charCodeAt(B++):0),L=_>>2,j=(3&_)<<4|A>>4,P=1<M?(15&A)<<2|N>>6:64,D=2<M?63&N:64,H.push(h.charAt(L)+h.charAt(j)+h.charAt(P)+h.charAt(D));return H.join("")},f.decode=function(v){var _,A,N,L,j,P,D=0,H=0,B="data:";if(v.substr(0,B.length)===B)throw new Error("Invalid base64 input, it looks like a data url.");var x,M=3*(v=v.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(v.charAt(v.length-1)===h.charAt(64)&&M--,v.charAt(v.length-2)===h.charAt(64)&&M--,M%1!=0)throw new Error("Invalid base64 input, bad content length.");for(x=d.uint8array?new Uint8Array(0|M):new Array(0|M);D<v.length;)_=h.indexOf(v.charAt(D++))<<2|(L=h.indexOf(v.charAt(D++)))>>4,A=(15&L)<<4|(j=h.indexOf(v.charAt(D++)))>>2,N=(3&j)<<6|(P=h.indexOf(v.charAt(D++))),x[H++]=_,j!==64&&(x[H++]=A),P!==64&&(x[H++]=N);return x}},{"./support":30,"./utils":32}],2:[function(i,c,f){var u=i("./external"),d=i("./stream/DataWorker"),h=i("./stream/Crc32Probe"),v=i("./stream/DataLengthProbe");function _(A,N,L,j,P){this.compressedSize=A,this.uncompressedSize=N,this.crc32=L,this.compression=j,this.compressedContent=P}_.prototype={getContentWorker:function(){var A=new d(u.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new v("data_length")),N=this;return A.on("end",function(){if(this.streamInfo.data_length!==N.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),A},getCompressedWorker:function(){return new d(u.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},_.createWorkerFrom=function(A,N,L){return A.pipe(new h).pipe(new v("uncompressedSize")).pipe(N.compressWorker(L)).pipe(new v("compressedSize")).withStreamInfo("compression",N)},c.exports=_},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(i,c,f){var u=i("./stream/GenericWorker");f.STORE={magic:"\0\0",compressWorker:function(){return new u("STORE compression")},uncompressWorker:function(){return new u("STORE decompression")}},f.DEFLATE=i("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(i,c,f){var u=i("./utils"),d=function(){for(var h,v=[],_=0;_<256;_++){h=_;for(var A=0;A<8;A++)h=1&h?3988292384^h>>>1:h>>>1;v[_]=h}return v}();c.exports=function(h,v){return h!==void 0&&h.length?u.getTypeOf(h)!=="string"?function(_,A,N,L){var j=d,P=0+N;_^=-1;for(var D=0;D<P;D++)_=_>>>8^j[255&(_^A[D])];return-1^_}(0|v,h,h.length):function(_,A,N,L){var j=d,P=0+N;_^=-1;for(var D=0;D<P;D++)_=_>>>8^j[255&(_^A.charCodeAt(D))];return-1^_}(0|v,h,h.length):0}},{"./utils":32}],5:[function(i,c,f){f.base64=!1,f.binary=!1,f.dir=!1,f.createFolders=!0,f.date=null,f.compression=null,f.compressionOptions=null,f.comment=null,f.unixPermissions=null,f.dosPermissions=null},{}],6:[function(i,c,f){var u;u=typeof Promise!="undefined"?Promise:i("lie"),c.exports={Promise:u}},{lie:37}],7:[function(i,c,f){var u=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",d=i("pako"),h=i("./utils"),v=i("./stream/GenericWorker"),_=
\0`,Q+=u(K,2),Q+=b.magic,Q+=u(M,2),Q+=u(w,2),Q+=u(V.crc32,4),Q+=u(V.compressedSize,4),Q+=u(V.uncompressedSize,4),Q+=u(y.length,2),Q+=u(O.length,2),{fileRecord:N.LOCAL_FILE_HEADER+Q+y+O,dirRecord:N.CENTRAL_FILE_HEADER+u(Z,2)+Q+u(I.length,2)+"\0\0\0\0"+u(W,4)+u(H,4)+y+O+I}}var h=i("../utils"),v=i("../stream/GenericWorker"),_=i("../utf8"),A=i("../crc32"),N=i("../signature");function L(j,P,D,H){v.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=P,this.zipPlatform=D,this.encodeFileName=H,this.streamFiles=j,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}h.inherits(L,v),L.prototype.push=function(j){var P=j.meta.percent||0,D=this.entriesCount,H=this._sources.length;this.accumulate?this.contentBuffer.push(j):(this.bytesWritten+=j.data.length,v.prototype.push.call(this,{data:j.data,meta:{currentFile:this.currentFile,percent:D?(P+100*(D-H-1))/D:100}}))},L.prototype.openedSource=function(j){this.currentSourceOffset=this.bytesWritten,this.currentFile=j.file.name;var P=this.streamFiles&&!j.file.dir;if(P){var D=d(j,P,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:D.fileRecord,meta:{percent:0}})}else this.accumulate=!0},L.prototype.closedSource=function(j){this.accumulate=!1;var P=this.streamFiles&&!j.file.dir,D=d(j,P,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(D.dirRecord),P)this.push({data:function(H){return N.DATA_DESCRIPTOR+u(H.crc32,4)+u(H.compressedSize,4)+u(H.uncompressedSize,4)}(j),meta:{percent:100}});else for(this.push({data:D.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},L.prototype.flush=function(){for(var j=this.bytesWritten,P=0;P<this.dirRecords.length;P++)this.push({data:this.dirRecords[P],meta:{percent:100}});var D=this.bytesWritten-j,H=function(B,x,M,w,p){var b=h.transformTo("string",p(w));return N.CENTRAL_DIRECTORY_END+"\0\0\0\0"+u(B,2)+u(B,2)+u(x,4)+u(M,4)+u(b.length,2)+b}(this.dirRecords.length,D,j,this.zipComment,this.encodeFileName);this.push({data:H,meta:{percent:100}})},L.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},L.prototype.registerPrevious=function(j){this._sources.push(j);var P=this;return j.on("data",function(D){P.processChunk(D)}),j.on("end",function(){P.closedSource(P.previous.streamInfo),P._sources.length?P.prepareNextSource():P.end()}),j.on("error",function(D){P.error(D)}),this},L.prototype.resume=function(){return!!v.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},L.prototype.error=function(j){var P=this._sources;if(!v.prototype.error.call(this,j))return!1;for(var D=0;D<P.length;D++)try{P[D].error(j)}catch(H){}return!0},L.prototype.lock=function(){v.prototype.lock.call(this);for(var j=this._sources,P=0;P<j.length;P++)j[P].lock()},c.exports=L},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(i,c,f){var u=i("../compressions"),d=i("./ZipFileWorker");f.generateWorker=function(h,v,_){var A=new d(v.streamFiles,_,v.platform,v.encodeFileName),N=0;try{h.forEach(function(L,j){N++;var P=function(x,M){var w=x||M,p=u[w];if(!p)throw new Error(w+" is not a valid compression method !");return p}(j.options.compression,v.compression),D=j.options.compressionOptions||v.compressionOptions||{},H=j.dir,B=j.date;j._compressWorker(P,D).withStreamInfo("file",{name:L,dir:H,date:B,comment:j.comment||"",unixPermissions:j.unixPermissions,dosPermissions:j.dosPermissions}).pipe(A)}),A.entriesCount=N}catch(L){A.error(L)}return A}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(i,c,f){function u(){if(!(this instanceof u))return new u;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upg
2025-04-18 09:53:39 +08:00
Use Chrome, Firefox or Internet Explorer 11`)}}).call(this)}).call(this,s("_process"),typeof Vt!="undefined"?Vt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{_process:467,"safe-buffer":494}],476:[function(s,T,S){(function(m,o){(function(){function a(){throw new Error(`secure random number generation not supported by this browser
2025-05-08 11:41:35 +08:00
use chrome, FireFox or Internet Explorer 11`)}var n=s("safe-buffer"),t=s("randombytes"),e=n.Buffer,l=n.kMaxLength,r=o.crypto||o.msCrypto,i=Math.pow(2,32)-1;function c(d,h){if(typeof d!="number"||d!=d)throw new TypeError("offset must be a number");if(d>i||d<0)throw new TypeError("offset must be a uint32");if(d>l||d>h)throw new RangeError("offset out of range")}function f(d,h,v){if(typeof d!="number"||d!=d)throw new TypeError("size must be a number");if(d>i||d<0)throw new TypeError("size must be a uint32");if(d+h>v||d>l)throw new RangeError("buffer too small")}function u(d,h,v,_){if(m.browser){var A=d.buffer,N=new Uint8Array(A,h,v);return r.getRandomValues(N),_?void m.nextTick(function(){_(null,d)}):d}if(!_)return t(v).copy(d,h),d;t(v,function(L,j){if(L)return _(L);j.copy(d,h),_(null,d)})}r&&r.getRandomValues||!m.browser?(S.randomFill=function(d,h,v,_){if(!(e.isBuffer(d)||d instanceof o.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof h=="function")_=h,h=0,v=d.length;else if(typeof v=="function")_=v,v=d.length-h;else if(typeof _!="function")throw new TypeError('"cb" argument must be a function');return c(h,d.length),f(v,h,d.length),u(d,h,v,_)},S.randomFillSync=function(d,h,v){if(h===void 0&&(h=0),!(e.isBuffer(d)||d instanceof o.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return c(h,d.length),v===void 0&&(v=d.length-h),f(v,h,d.length),u(d,h,v)}):(S.randomFill=a,S.randomFillSync=a)}).call(this)}).call(this,s("_process"),typeof Vt!="undefined"?Vt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{_process:467,randombytes:475,"safe-buffer":494}],477:[function(s,T,S){var m={};function o(n,t,e){e||(e=Error);var l=function(r){var i,c;function f(u,d,h){return r.call(this,function(v,_,A){return typeof t=="string"?t:t(v,_,A)}(u,d,h))||this}return c=r,(i=f).prototype=Object.create(c.prototype),i.prototype.constructor=i,i.__proto__=c,f}(e);l.prototype.name=e.name,l.prototype.code=n,m[n]=l}function a(n,t){if(Array.isArray(n)){var e=n.length;return n=n.map(function(l){return String(l)}),e>2?"one of ".concat(t," ").concat(n.slice(0,e-1).join(", "),", or ")+n[e-1]:e===2?"one of ".concat(t," ").concat(n[0]," or ").concat(n[1]):"of ".concat(t," ").concat(n[0])}return"of ".concat(t," ").concat(String(n))}o("ERR_INVALID_OPT_VALUE",function(n,t){return'The value "'+t+'" is invalid for option "'+n+'"'},TypeError),o("ERR_INVALID_ARG_TYPE",function(n,t,e){var l,r,i;if(typeof t=="string"&&(r="not ",t.substr(0,r.length)===r)?(l="must not be",t=t.replace(/^not /,"")):l="must be",function(f,u,d){return(d===void 0||d>f.length)&&(d=f.length),f.substring(d-u.length,d)===u}(n," argument"))i="The ".concat(n," ").concat(l," ").concat(a(t,"type"));else{var c=function(f,u,d){return typeof d!="number"&&(d=0),!(d+u.length>f.length)&&f.indexOf(u,d)!==-1}(n,".")?"property":"argument";i='The "'.concat(n,'" ').concat(c," ").concat(l," ").concat(a(t,"type"))}return i+=". Received type ".concat(typeof e)},TypeError),o("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),o("ERR_METHOD_NOT_IMPLEMENTED",function(n){return"The "+n+" method is not implemented"}),o("ERR_STREAM_PREMATURE_CLOSE","Premature close"),o("ERR_STREAM_DESTROYED",function(n){return"Cannot call "+n+" after a stream was destroyed"}),o("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),o("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),o("ERR_STREAM_WRITE_AFTER_END","write after end"),o("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),o("ERR_UNKNOWN_ENCODING",function(n){return"Unknown encoding: "+n},TypeError),o("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),T.exports.codes=m},{}],478:[function(s,T,S){(function(m){(function(){var o=Object.keys||function(f){var u=[];for(var d in f)u.push(d);return u};T.exports=r;var a=s("./_stream_readable"),n=s("./_stream_writable");s("inherits")(r,a);for(var t=o(n.prototype),e=0;e<t.length;e++){var l=t[e];r.prototype[l]||(r.prototype[l]=n.prototype[l])}function r(f){if(!(this instanceof r))return new r(f)
2025-04-18 09:53:39 +08:00
`,b=this.i)}}captureToChar(p){let{i:b}=this;const{chunk:g}=this;for(;;){let y=this.getCode();switch(y){case-2:this.text+=g.slice(b,this.prevI)+`
`,b=this.i,y=10;break;case-1:return this.text+=g.slice(b),!1}if(y===p)return this.text+=g.slice(b,this.prevI),!0}}captureNameChars(){const{chunk:p,i:b}=this;for(;;){const g=this.getCode();if(g===-1)return this.name+=p.slice(b),-1;if(!l(g))return this.name+=p.slice(b,this.prevI),g===-2?10:g}}skipSpaces(){for(;;){const p=this.getCodeNorm();if(p===-1||!n(p))return p}}setXMLVersion(p){this.currentXMLVersion=p,p==="1.0"?(this.isChar=t,this.getCode=this.getCode10):(this.isChar=c,this.getCode=this.getCode11)}sBegin(){this.chunk.charCodeAt(0)===65279&&(this.i++,this.column++),this.state=1}sBeginWhitespace(){const p=this.i,b=this.skipSpaces();switch(this.prevI!==p&&(this.xmlDeclPossible=!1),b){case 60:if(this.state=15,this.text.length!==0)throw new Error("no-empty text at start");break;case-1:break;default:this.unget(),this.state=13,this.xmlDeclPossible=!1}}sDoctype(){var p;const b=this.captureTo(j);switch(b){case 62:(p=this.doctypeHandler)===null||p===void 0||p.call(this,this.text),this.text="",this.state=13,this.doctype=!0;break;case-1:break;default:this.text+=String.fromCodePoint(b),b===91?this.state=4:N(b)&&(this.state=3,this.q=b)}}sDoctypeQuote(){const p=this.q;this.captureToChar(p)&&(this.text+=String.fromCodePoint(p),this.q=null,this.state=2)}sDTD(){const p=this.captureTo(P);p!==-1&&(this.text+=String.fromCodePoint(p),p===93?this.state=2:p===60?this.state=6:N(p)&&(this.state=5,this.q=p))}sDTDQuoted(){const p=this.q;this.captureToChar(p)&&(this.text+=String.fromCodePoint(p),this.state=4,this.q=null)}sDTDOpenWaka(){const p=this.getCodeNorm();switch(this.text+=String.fromCodePoint(p),p){case 33:this.state=7,this.openWakaBang="";break;case 63:this.state=11;break;default:this.state=4}}sDTDOpenWakaBang(){const p=String.fromCodePoint(this.getCodeNorm()),b=this.openWakaBang+=p;this.text+=p,b!=="-"&&(this.state=b==="--"?8:4,this.openWakaBang="")}sDTDComment(){this.captureToChar(45)&&(this.text+="-",this.state=9)}sDTDCommentEnding(){const p=this.getCodeNorm();this.text+=String.fromCodePoint(p),this.state=p===45?10:8}sDTDCommentEnded(){const p=this.getCodeNorm();this.text+=String.fromCodePoint(p),p===62?this.state=4:(this.fail("malformed comment."),this.state=8)}sDTDPI(){this.captureToChar(63)&&(this.text+="?",this.state=12)}sDTDPIEnding(){const p=this.getCodeNorm();this.text+=String.fromCodePoint(p),p===62&&(this.state=4)}sText(){this.tags.length!==0?this.handleTextInRoot():this.handleTextOutsideRoot()}sEntity(){let{i:p}=this;const{chunk:b}=this;t:for(;;)switch(this.getCode()){case-2:this.entity+=b.slice(p,this.prevI)+`
`,p=this.i;break;case 59:{const{entityReturnState:g}=this,y=this.entity+b.slice(p,this.prevI);let k;this.state=g,y===""?(this.fail("empty entity name."),k="&;"):(k=this.parseEntity(y),this.entity=""),g===13&&this.textHandler===void 0||(this.text+=k);break t}case-1:this.entity+=b.slice(p);break t}}sOpenWaka(){const p=this.getCode();if(e(p))this.state=34,this.unget(),this.xmlDeclPossible=!1;else switch(p){case 47:this.state=43,this.xmlDeclPossible=!1;break;case 33:this.state=16,this.openWakaBang="",this.xmlDeclPossible=!1;break;case 63:this.state=23;break;default:this.fail("disallowed character in tag name"),this.state=13,this.xmlDeclPossible=!1}}sOpenWakaBang(){switch(this.openWakaBang+=String.fromCodePoint(this.getCodeNorm()),this.openWakaBang){case"[CDATA[":this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0),this.state=20,this.openWakaBang="";break;case"--":this.state=17,this.openWakaBang="";break;case"DOCTYPE":this.state=2,(this.doctype||this.sawRoot)&&this.fail("inappropriately located doctype declaration."),this.openWakaBang="";break;default:this.openWakaBang.length>=7&&this.fail("incorrect syntax.")}}sComment(){this.captureToChar(45)&&(this.state=18)}sCommentEnding(){var p;const b=this.getCodeNorm();b===45?(this.state=19,(p=this.commentHandler)===null||p===void 0||p.call(this,this.text),this.text=""):(this.text+="-"+String.fromCodePoint(b),this.state=17)}sCommentEnded(){const p=this.getCodeNorm();p!==62?(this.fail("malformed comment."),this.text+="--"+String.fromCodePoint(p),this.state=17):this.state=13}sCData(){this.captureToChar(93)&&(this.state=21)}sCDataEnding(){const p=this.getCodeNorm();p===93?this.state=22:(this.text+="]"+String.fromCodePoint(p),this.state=20)}sCDataEnding2(){var p;const b=this.getCodeNorm();switch(b){case 62:(p=this.cdataHandler)===null||p===void 0||p.call(this,this.text),this.text="",this.state=13;break;case 93:this.text+="]";break;default:this.text+="]]"+String.fromCodePoint(b),this.state=20}}sPIFirstChar(){const p=this.getCodeNorm();this.nameStartCheck(p)?(this.piTarget+=String.fromCodePoint(p),this.state=24):p===63||n(p)?(this.fail("processing instruction without a target."),this.state=p===63?26:25):(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(p),this.state=24)}sPIRest(){const{chunk:p,i:b}=this;for(;;){const g=this.getCodeNorm();if(g===-1)return void(this.piTarget+=p.slice(b));if(!this.nameCheck(g)){this.piTarget+=p.slice(b,this.prevI);const y=g===63;y||n(g)?this.piTarget==="xml"?(this.xmlDeclPossible||this.fail("an XML declaration must be at the start of the document."),this.state=y?33:27):this.state=y?26:25:(this.fail("disallowed character in processing instruction name."),this.piTarget+=String.fromCodePoint(g));break}}}sPIBody(){if(this.text.length===0){const p=this.getCodeNorm();p===63?this.state=26:n(p)||(this.text=String.fromCodePoint(p))}else this.captureToChar(63)&&(this.state=26)}sPIEnding(){var p;const b=this.getCodeNorm();if(b===62){const{piTarget:g}=this;g.toLowerCase()==="xml"&&this.fail("the XML declaration must appear at the start of the document."),(p=this.piHandler)===null||p===void 0||p.call(this,{target:g,body:this.text}),this.piTarget=this.text="",this.state=13}else b===63?this.text+="?":(this.text+="?"+String.fromCodePoint(b),this.state=25);this.xmlDeclPossible=!1}sXMLDeclNameStart(){const p=this.skipSpaces();p!==63?p!==-1&&(this.state=28,this.name=String.fromCodePoint(p)):this.state=33}sXMLDeclName(){const p=this.captureTo(D);if(p===63)return this.state=33,this.name+=this.text,this.text="",void this.fail("XML declaration is incomplete.");if(n(p)||p===61){if(this.name+=this.text,this.text="",!this.xmlDeclExpects.includes(this.name))switch(this.name.length){case 0:this.fail("did not expect any more name/value pairs.");break;case 1:this.fail(`expected the name ${this.xmlDeclExpects[0]}.`);break;default:this.fail("expected
`),p=this.i,b=0;break;case-1:y!==void 0&&(this.text+=g.slice(p));break t;default:b=0}this.forbiddenState=b}handleTextOutsideRoot(){let{i:p}=this;const{chunk:b,textHandler:g}=this;let y=!1;t:for(;;){const k=this.getCode();switch(k){case 60:if(this.state=15,g!==void 0){const{text:R}=this,I=b.slice(p,this.prevI);R.length!==0?(g(R+I),this.text=""):I.length!==0&&g(I)}break t;case 38:this.state=14,this.entityReturnState=13,g!==void 0&&(this.text+=b.slice(p,this.prevI)),y=!0;break t;case-2:g!==void 0&&(this.text+=b.slice(p,this.prevI)+`
2025-05-08 11:41:35 +08:00
`),p=this.i;break;case-1:g!==void 0&&(this.text+=b.slice(p));break t;default:n(k)||(y=!0)}}y&&(this.sawRoot||this.reportedTextBeforeRoot||(this.fail("text data outside of root node."),this.reportedTextBeforeRoot=!0),this.closedRoot&&!this.reportedTextAfterRoot&&(this.fail("text data outside of root node."),this.reportedTextAfterRoot=!0))}pushAttribNS(p,b){var g;const{prefix:y,local:k}=this.qname(p),R={name:p,prefix:y,local:k,value:b};if(this.attribList.push(R),(g=this.attributeHandler)===null||g===void 0||g.call(this,R),y==="xmlns"){const I=b.trim();this.currentXMLVersion==="1.0"&&I===""&&this.fail("invalid attempt to undefine prefix in XML 1.0"),this.topNS[k]=I,B(this,k,I)}else if(p==="xmlns"){const I=b.trim();this.topNS[""]=I,B(this,"",I)}}pushAttribPlain(p,b){var g;const y={name:p,value:b};this.attribList.push(y),(g=this.attributeHandler)===null||g===void 0||g.call(this,y)}end(){var p,b;this.sawRoot||this.fail("document must contain a root element.");const{tags:g}=this;for(;g.length>0;){const k=g.pop();this.fail("unclosed tag: "+k.name)}this.state!==0&&this.state!==13&&this.fail("unexpected end.");const{text:y}=this;return y.length!==0&&((p=this.textHandler)===null||p===void 0||p.call(this,y),this.text=""),this._closed=!0,(b=this.endHandler)===null||b===void 0||b.call(this),this._init(),this}resolve(p){var b,g;let y=this.topNS[p];if(y!==void 0)return y;const{tags:k}=this;for(let R=k.length-1;R>=0;R--)if(y=k[R].ns[p],y!==void 0)return y;return y=this.ns[p],y!==void 0?y:(g=(b=this.opt).resolvePrefix)===null||g===void 0?void 0:g.call(b,p)}qname(p){const b=p.indexOf(":");if(b===-1)return{prefix:"",local:p};const g=p.slice(b+1),y=p.slice(0,b);return(y===""||g===""||g.includes(":"))&&this.fail(`malformed name: ${p}.`),{prefix:y,local:g}}processAttribsNS(){var p;const{attribList:b}=this,g=this.tag;{const{prefix:R,local:I}=this.qname(g.name);g.prefix=R,g.local=I;const z=g.uri=(p=this.resolve(R))!==null&&p!==void 0?p:"";R!==""&&(R==="xmlns"&&this.fail('tags may not have "xmlns" as prefix.'),z===""&&(this.fail(`unbound namespace prefix: ${JSON.stringify(R)}.`),g.uri=R))}if(b.length===0)return;const{attributes:y}=g,k=new Set;for(const R of b){const{name:I,prefix:z,local:U}=R;let q,O;z===""?(q=I==="xmlns"?v:"",O=I):(q=this.resolve(z),q===void 0&&(this.fail(`unbound namespace prefix: ${JSON.stringify(z)}.`),q=z),O=`{${q}}${U}`),k.has(O)&&this.fail(`duplicate attribute: ${O}.`),k.add(O),R.uri=q,y[I]=R}this.attribList=[]}processAttribsPlain(){const{attribList:p}=this,b=this.tag.attributes;for(const{name:g,value:y}of p)b[g]!==void 0&&this.fail(`duplicate attribute: ${g}.`),b[g]=y;this.attribList=[]}openTag(){var p;this.processAttribs();const{tags:b}=this,g=this.tag;g.isSelfClosing=!1,(p=this.openTagHandler)===null||p===void 0||p.call(this,g),b.push(g),this.state=13,this.name=""}openSelfClosingTag(){var p,b,g;this.processAttribs();const{tags:y}=this,k=this.tag;k.isSelfClosing=!0,(p=this.openTagHandler)===null||p===void 0||p.call(this,k),(b=this.closeTagHandler)===null||b===void 0||b.call(this,k),(this.tag=(g=y[y.length-1])!==null&&g!==void 0?g:null)===null&&(this.closedRoot=!0),this.state=13,this.name=""}closeTag(){const{tags:p,name:b}=this;if(this.state=13,this.name="",b==="")return this.fail("weird empty close tag."),void(this.text+="</>");const g=this.closeTagHandler;let y=p.length;for(;y-- >0;){const k=this.tag=p.pop();if(this.topNS=k.ns,g==null||g(k),k.name===b)break;this.fail("unexpected close tag.")}y===0?this.closedRoot=!0:y<0&&(this.fail(`unmatched closing tag: ${b}.`),this.text+=`</${b}>`)}parseEntity(p){if(p[0]!=="#"){const g=this.ENTITIES[p];return g!==void 0?g:(this.fail(this.isName(p)?"undefined entity.":"disallowed character in entity name."),`&${p};`)}let b=NaN;return p[1]==="x"&&/^#x[0-9a-f]+$/i.test(p)?b=parseInt(p.slice(2),16):/^#[0-9]+$/.test(p)&&(b=parseInt(p.slice(1),10)),this.isChar(b)?String.fromCodePoint(b):(this.fail("malformed character entity."),`&${p};`)}}},{"xmlchars/xml/1.0/ed5":543,"xmlchars/xml/1.1/ed2":544,"xmlchars/xmlns/1.0/ed3":545}],497:[function(s,T,S){var m=s("safe-buffer").Buffer;function o(a,
`)>=0,V+K.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?F[0]+(C===""?"":C+`
2025-04-18 09:53:39 +08:00
`)+" "+E.join(`,
`)+" "+F[1]:F[0]+C+" "+E.join(", ")+" "+F[1]}(U,q,$)):$[0]+q+$[1]}function c(p){return"["+Error.prototype.toString.call(p)+"]"}function f(p,b,g,y,k,R){var I,z,U;if((U=Object.getOwnPropertyDescriptor(b,k)||{value:b[k]}).get?z=U.set?p.stylize("[Getter/Setter]","special"):p.stylize("[Getter]","special"):U.set&&(z=p.stylize("[Setter]","special")),w(y,k)||(I="["+k+"]"),z||(p.seen.indexOf(U.value)<0?(z=h(g)?i(p,U.value,null):i(p,U.value,g-1)).indexOf(`
`)>-1&&(z=R?z.split(`
`).map(function(q){return" "+q}).join(`
`).substr(2):`
`+z.split(`
`).map(function(q){return" "+q}).join(`
`)):z=p.stylize("[Circular]","special")),A(I)){if(R&&k.match(/^\d+$/))return z;(I=JSON.stringify(""+k)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(I=I.substr(1,I.length-2),I=p.stylize(I,"name")):(I=I.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),I=p.stylize(I,"string"))}return I+": "+z}function u(p){return Array.isArray(p)}function d(p){return typeof p=="boolean"}function h(p){return p===null}function v(p){return typeof p=="number"}function _(p){return typeof p=="string"}function A(p){return p===void 0}function N(p){return L(p)&&H(p)==="[object RegExp]"}function L(p){return typeof p=="object"&&p!==null}function j(p){return L(p)&&H(p)==="[object Date]"}function P(p){return L(p)&&(H(p)==="[object Error]"||p instanceof Error)}function D(p){return typeof p=="function"}function H(p){return Object.prototype.toString.call(p)}function B(p){return p<10?"0"+p.toString(10):p.toString(10)}S.debuglog=function(p){if(A(n)&&(n=m.env.NODE_DEBUG||""),p=p.toUpperCase(),!t[p])if(new RegExp("\\b"+p+"\\b","i").test(n)){var b=m.pid;t[p]=function(){var g=S.format.apply(S,arguments)}}else t[p]=function(){};return t[p]},S.inspect=e,e.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},e.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},S.isArray=u,S.isBoolean=d,S.isNull=h,S.isNullOrUndefined=function(p){return p==null},S.isNumber=v,S.isString=_,S.isSymbol=function(p){return typeof p=="symbol"},S.isUndefined=A,S.isRegExp=N,S.isObject=L,S.isDate=j,S.isError=P,S.isFunction=D,S.isPrimitive=function(p){return p===null||typeof p=="boolean"||typeof p=="number"||typeof p=="string"||typeof p=="symbol"||p===void 0},S.isBuffer=s("./support/isBuffer");var x=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function M(){var p=new Date,b=[B(p.getHours()),B(p.getMinutes()),B(p.getSeconds())].join(":");return[p.getDate(),x[p.getMonth()],b].join(" ")}function w(p,b){return Object.prototype.hasOwnProperty.call(p,b)}S.log=function(){},S.inherits=s("inherits"),S._extend=function(p,b){if(!b||!L(b))return p;for(var g=Object.keys(b),y=g.length;y--;)p[g[y]]=b[g[y]];return p}}).call(this)}).call(this,s("_process"),typeof Vt!="undefined"?Vt:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{"./support/isBuffer":526,_process:467,inherits:525}],528:[function(s,T,S){Object.defineProperty(S,"__esModule",{value:!0}),Object.defineProperty(S,"v1",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(S,"v3",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(S,"v4",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(S,"v5",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(S,"NIL",{enumerable:!0,get:function(){return t.default}}),Object.defineProperty(S,"version",{enumerable:!0,get:function(){return e.default}}),Object.defineProperty(S,"validate",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(S,"stringify",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(S,"parse",{enumerable:!0,get:function(){return i.default}});var m=c(s("./v1.js")),o=c(s("./v3.js")),a=c(s("./v4.js")),n=c(s("./v5.js")),t=c(s("./nil.js")),e=c(s("./version.js")),l=c(s("./validate.js")),r=c(s("./stringify.js")),i=c(s("./parse.js"));function c(f){return f&&f.__esModule?f:{default:f}}},{"./nil.js":530,"./parse.js":531,"./stringify.js":535,"./v1.js":536,"./v3.js":537,"./v4.js":539,"./v5.js":540,"./validate.js":541,"./version.js":542}],529:[function(s,T,S){function m(i){return 14+(i+64>>>9<<4)+1}function o(i,c){const f=(65535&i)+(65535&c);return(i>>16)+(c>>16)+(f>>16)<<16|65535&f}function a(i,c,f,u,d,h){return o((v=o(o(c,i),o(u,h)))<<(_=d)|v>>>32-_,f);var v,_}function n(i,c,f,u,d,h,v){return a(c&f|~c&u,i,c,d,h,v)}function t(i,c,f,u,d,h,v){return a(c&u|f&~u,i,c,d,h,v)}function e(i,c,f,u,d,h,v){return a(c^f^u,i,c,d,h,v)}func
* Character classes and associated utilities for the 5th edition of XML 1.0.
*
* @author Louis-Dominique Dubeau
* @license MIT
* @copyright Louis-Dominique Dubeau
*/Object.defineProperty(S,"__esModule",{value:!0}),S.CHAR=`
\r --<EFBFBD>𐀀-􏿿`,S.S=` \r
`,S.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-<2D>𐀀-󯿿",S.NAME_CHAR="-"+S.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",S.CHAR_RE=new RegExp("^["+S.CHAR+"]$","u"),S.S_RE=new RegExp("^["+S.S+"]+$","u"),S.NAME_START_CHAR_RE=new RegExp("^["+S.NAME_START_CHAR+"]$","u"),S.NAME_CHAR_RE=new RegExp("^["+S.NAME_CHAR+"]$","u"),S.NAME_RE=new RegExp("^["+S.NAME_START_CHAR+"]["+S.NAME_CHAR+"]*$","u"),S.NMTOKEN_RE=new RegExp("^["+S.NAME_CHAR+"]+$","u");function m(o){return o>=65&&o<=90||o>=97&&o<=122||o===58||o===95||o===8204||o===8205||o>=192&&o<=214||o>=216&&o<=246||o>=248&&o<=767||o>=880&&o<=893||o>=895&&o<=8191||o>=8304&&o<=8591||o>=11264&&o<=12271||o>=12289&&o<=55295||o>=63744&&o<=64975||o>=65008&&o<=65533||o>=65536&&o<=983039}S.S_LIST=[32,10,13,9],S.isChar=function(o){return o>=32&&o<=55295||o===10||o===13||o===9||o>=57344&&o<=65533||o>=65536&&o<=1114111},S.isS=function(o){return o===32||o===10||o===13||o===9},S.isNameStartChar=m,S.isNameChar=function(o){return m(o)||o>=48&&o<=57||o===45||o===46||o===183||o>=768&&o<=879||o>=8255&&o<=8256}},{}],544:[function(s,T,S){/**
* Character classes and associated utilities for the 2nd edition of XML 1.1.
*
* @author Louis-Dominique Dubeau
* @license MIT
* @copyright Louis-Dominique Dubeau
*/Object.defineProperty(S,"__esModule",{value:!0}),S.CHAR="--<EFBFBD>𐀀-􏿿",S.RESTRICTED_CHAR="-\b\v\f--„†-Ÿ",S.S=` \r
`,S.NAME_START_CHAR=":A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-<2D>𐀀-󯿿",S.NAME_CHAR="-"+S.NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",S.CHAR_RE=new RegExp("^["+S.CHAR+"]$","u"),S.RESTRICTED_CHAR_RE=new RegExp("^["+S.RESTRICTED_CHAR+"]$","u"),S.S_RE=new RegExp("^["+S.S+"]+$","u"),S.NAME_START_CHAR_RE=new RegExp("^["+S.NAME_START_CHAR+"]$","u"),S.NAME_CHAR_RE=new RegExp("^["+S.NAME_CHAR+"]$","u"),S.NAME_RE=new RegExp("^["+S.NAME_START_CHAR+"]["+S.NAME_CHAR+"]*$","u"),S.NMTOKEN_RE=new RegExp("^["+S.NAME_CHAR+"]+$","u");function m(o){return o>=65&&o<=90||o>=97&&o<=122||o===58||o===95||o===8204||o===8205||o>=192&&o<=214||o>=216&&o<=246||o>=248&&o<=767||o>=880&&o<=893||o>=895&&o<=8191||o>=8304&&o<=8591||o>=11264&&o<=12271||o>=12289&&o<=55295||o>=63744&&o<=64975||o>=65008&&o<=65533||o>=65536&&o<=983039}S.S_LIST=[32,10,13,9],S.isChar=function(o){return o>=1&&o<=55295||o>=57344&&o<=65533||o>=65536&&o<=1114111},S.isRestrictedChar=function(o){return o>=1&&o<=8||o===11||o===12||o>=14&&o<=31||o>=127&&o<=132||o>=134&&o<=159},S.isCharAndNotRestricted=function(o){return o===9||o===10||o===13||o>31&&o<127||o===133||o>159&&o<=55295||o>=57344&&o<=65533||o>=65536&&o<=1114111},S.isS=function(o){return o===32||o===10||o===13||o===9},S.isNameStartChar=m,S.isNameChar=function(o){return m(o)||o>=48&&o<=57||o===45||o===46||o===183||o>=768&&o<=879||o>=8255&&o<=8256}},{}],545:[function(s,T,S){/**
* Character class utilities for XML NS 1.0 edition 3.
*
* @author Louis-Dominique Dubeau
* @license MIT
* @copyright Louis-Dominique Dubeau
2025-05-08 11:41:35 +08:00
*/function m(o){return o>=65&&o<=90||o===95||o>=97&&o<=122||o>=192&&o<=214||o>=216&&o<=246||o>=248&&o<=767||o>=880&&o<=893||o>=895&&o<=8191||o>=8204&&o<=8205||o>=8304&&o<=8591||o>=11264&&o<=12271||o>=12289&&o<=55295||o>=63744&&o<=64975||o>=65008&&o<=65533||o>=65536&&o<=983039}Object.defineProperty(S,"__esModule",{value:!0}),S.NC_NAME_START_CHAR="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-<2D>𐀀-󯿿",S.NC_NAME_CHAR="-"+S.NC_NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",S.NC_NAME_START_CHAR_RE=new RegExp("^["+S.NC_NAME_START_CHAR+"]$","u"),S.NC_NAME_CHAR_RE=new RegExp("^["+S.NC_NAME_CHAR+"]$","u"),S.NC_NAME_RE=new RegExp("^["+S.NC_NAME_START_CHAR+"]["+S.NC_NAME_CHAR+"]*$","u"),S.isNCNameStartChar=m,S.isNCNameChar=function(o){return m(o)||o===45||o===46||o>=48&&o<=57||o===183||o>=768&&o<=879||o>=8255&&o<=8256}},{}]},{},[15])(15)})})(lr);var Rr=lr.exports;const Or=vr(Rr);var ur={exports:{}};(function(ne,ie){(function(s,T){T()})(Vt,function(){function s(t,e){return typeof e=="undefined"?e={autoBom:!1}:typeof e!="object"&&(e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\uFEFF",t],{type:t.type}):t}function T(t,e,l){var r=new XMLHttpRequest;r.open("GET",t),r.responseType="blob",r.onload=function(){n(r.response,e,l)},r.onerror=function(){},r.send()}function S(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(l){}return 200<=e.status&&299>=e.status}function m(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(l){var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}}var o=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof Vt=="object"&&Vt.global===Vt?Vt:void 0,a=o.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),n=o.saveAs||(typeof window!="object"||window!==o?function(){}:"download"in HTMLAnchorElement.prototype&&!a?function(t,e,l){var r=o.URL||o.webkitURL,i=document.createElement("a");e=e||t.name||"download",i.download=e,i.rel="noopener",typeof t=="string"?(i.href=t,i.origin===location.origin?m(i):S(i.href)?T(t,e,l):m(i,i.target="_blank")):(i.href=r.createObjectURL(t),setTimeout(function(){r.revokeObjectURL(i.href)},4e4),setTimeout(function(){m(i)},0))}:"msSaveOrOpenBlob"in navigator?function(t,e,l){if(e=e||t.name||"download",typeof t!="string")navigator.msSaveOrOpenBlob(s(t,l),e);else if(S(t))T(t,e,l);else{var r=document.createElement("a");r.href=t,r.target="_blank",setTimeout(function(){m(r)})}}:function(t,e,l,r){if(r=r||open("","_blank"),r&&(r.document.title=r.document.body.innerText="downloading..."),typeof t=="string")return T(t,e,l);var i=t.type==="application/octet-stream",c=/constructor/i.test(o.HTMLElement)||o.safari,f=/CriOS\/[\d]+/.test(navigator.userAgent);if((f||i&&c||a)&&typeof FileReader!="undefined"){var u=new FileReader;u.onloadend=function(){var v=u.result;v=f?v:v.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=v:location=v,r=null},u.readAsDataURL(t)}else{var d=o.URL||o.webkitURL,h=d.createObjectURL(t);r?r.location=h:location.href=h,r=null,setTimeout(function(){d.revokeObjectURL(h)},4e4)}});o.saveAs=n.saveAs=n,ne.exports=n})})(ur);var jr=ur.exports;const Ir={style:{color:"#ffffff","font-size":"16px","font-weight":"normal"}},Nr={style:{"padding-right":"30px"}},Pr=Sr({__name:"result",emits:["success","register"],setup(ne,{emit:ie}){const s=[{title:"序号",dataIndex:"sn",key:"sn",width:"60px"},{title:"预埋件编号",dataIndex:"code",key:"code"},{title:"预埋件类型",dataIndex:"type",key:"type"},{title:"中心x",dataIndex:"x",key:"x",width:"80px"},{title:"中心y",dataIndex:"y",key:"y",width:"80px"},{title:"中心标高",dataIndex:"center",key:"center",width:"110px"},{title:"宽度",dataIndex:"w",key:"w",width:"80px"},{title:"高度",dataIndex:"h",key:"h",width:"80px"},{title:"大概偏差",dataIndex:"average_deviation",key:"average_deviation",width:"80px"},{titl