PageSourceSearch

https://exportyai.com/build/assets/Edit-BTkqBGUQ.js

js exportyai.com collected 2026-09-24 14:42:57 UTC 251,806 bytes, 218 lines download raw bytes

1import{d as jt,i as Xt,o as ne,w as ze,s as Yt,D as Jt,E as Qt,u as xe,J as Ct,K as ar,k as Ee,c as We,l as Gt,z as et,m as ir,G as nr,a as le,b as Ie,g as sr,e as a,p as we,S as or,f as Ne,j as tt,L as wt,n as $e,t as pe,F as je,r as rt,M as zt,A as Me,N as Ae,O as bt}from"./app-D6Z0QfqM.js";import{_ as lr}from"./AppLayout.vue_vue_type_script_setup_true_lang-DZH8kkxg.js";import{c as St}from"./_commonjs-dynamic-modules-TDtrdbi3.js";import{g as Dt,_ as Ft,a as Lt,b as $t,c as Mt,d as Rt,e as Nt,f as Ot}from"./AlertDialogTitle.vue_vue_type_script_setup_true_lang-CELDHhxN.js";import{a as dr}from"./useForwardExpose-CJ58Ne1s.js";import{_ as ur}from"./DialogTrigger-DEhJNapo.js";import{k as It,d as At}from"./doubao-BFCaBc5Q.js";import"./Primitive-BocIYmOS.js";import"./useForwardPropsEmits-IQJC-XB-.js";import"./TooltipTrigger.vue_vue_type_script_setup_true_lang-BeeXy6SD.js";import"./SwitchLang.vue_vue_type_script_setup_true_lang-CpzNRh6X.js";import"./AppLogoIcon.vue_vue_type_script_setup_true_lang-_OmQKkcg.js";import"./useDirection-1rjEeOj7.js";import"./RovingFocusGroup-BVPIo6LO.js";import"./useArrowNavigation-B5rxJs06.js";const cr=jt({__name:"AlertDialogTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},setup(nt){const Ve=nt;return dr(),(C,U)=>(ne(),Xt(xe(ur),Jt(Qt(Ve)),{default:ze(()=>[Yt(C.$slots,"default")]),_:3},16))}}),Vt=jt({__name:"AlertDialogTrigger",props:{asChild:{type:Boolean},as:{}},setup(nt){const Ve=nt;return(C,U)=>(ne(),Xt(xe(cr),Jt(Qt(Ve)),{default:ze(()=>[Yt(C.$slots,"default")]),_:3},16))}});var Wt={exports:{}};/*!
2
3JSZip v3.10.1 - A JavaScript class for generating and reading zip files
4<http://stuartk.com/jszip>
5
6(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
7Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/main/LICENSE.markdown.
8
9JSZip uses the library pako released under the MIT license :
10https://github.com/nodeca/pako/blob/main/LICENSE
11*/var Kt;function pr(){return Kt||(Kt=1,function(nt,Ve){(function(C){nt.exports=C()})(function(){return function C(U,x,h){function u(y,_){if(!x[y]){if(!U[y]){var b=typeof St=="function"&&St;if(!_&&b)return b(y,!0);if(n)return n(y,!0);var p=new Error("Cannot find module '"+y+"'");throw p.code="MODULE_NOT_FOUND",p}var s=x[y]={exports:{}};U[y][0].call(s.exports,function(l){var i=U[y][1][l];return u(i||l)},s,s.exports,C,U,x,h)}return x[y].exports}for(var n=typeof St=="function"&&St,m=0;m<h.length;m++)u(h[m]);return u}({1:[function(C,U,x){var h=C("./utils"),u=C("./support"),n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";x.encode=function(m){for(var y,_,b,p,s,l,i,f=[],o=0,v=m.length,k=v,S=h.getTypeOf(m)!=="string";o<m.length;)k=v-o,b=S?(y=m[o++],_=o<v?m[o++]:0,o<v?m[o++]:0):(y=m.charCodeAt(o++),_=o<v?m.charCodeAt(o++):0,o<v?m.charCodeAt(o++):0),p=y>>2,s=(3&y)<<4|_>>4,l=1<k?(15&_)<<2|b>>6:64,i=2<k?63&b:64,f.push(n.charAt(p)+n.charAt(s)+n.charAt(l)+n.charAt(i));return f.join("")},x.decode=function(m){var y,_,b,p,s,l,i=0,f=0,o="data:";if(m.substr(0,o.length)===o)throw new Error("Invalid base64 input, it looks like a data url.");var v,k=3*(m=m.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(m.charAt(m.length-1)===n.charAt(64)&&k--,m.charAt(m.length-2)===n.charAt(64)&&k--,k%1!=0)throw new Error("Invalid base64 input, bad content length.");for(v=u.uint8array?new Uint8Array(0|k):new Array(0|k);i<m.length;)y=n.indexOf(m.charAt(i++))<<2|(p=n.indexOf(m.charAt(i++)))>>4,_=(15&p)<<4|(s=n.indexOf(m.charAt(i++)))>>2,b=(3&s)<<6|(l=n.indexOf(m.charAt(i++))),v[f++]=y,s!==64&&(v[f++]=_),l!==64&&(v[f++]=b);return v}},{"./support":30,"./utils":32}],2:[function(C,U,x){var h=C("./external"),u=C("./stream/DataWorker"),n=C("./stream/Crc32Probe"),m=C("./stream/DataLengthProbe");function y(_,b,p,s,l){this.compressedSize=_,this.uncompressedSize=b,this.crc32=p,this.compression=s,this.compressedContent=l}y.prototype={getContentWorker:function(){var _=new u(h.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new m("data_length")),b=this;return _.on("end",function(){if(this.streamInfo.data_length!==b.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),_},getCompressedWorker:function(){return new u(h.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},y.createWorkerFrom=function(_,b,p){return _.pipe(new n).pipe(new m("uncompressedSize")).pipe(b.compressWorker(p)).pipe(new m("compressedSize")).withStreamInfo("compression",b)},U.exports=y},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(C,U,x){var h=C("./stream/GenericWorker");x.STORE={magic:"\0\0",compressWorker:function(){return new h("STORE compression")},uncompressWorker:function(){return new h("STORE decompression")}},x.DEFLATE=C("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(C,U,x){var h=C("./utils"),u=function(){for(var n,m=[],y=0;y<256;y++){n=y;for(var _=0;_<8;_++)n=1&n?3988292384^n>>>1:n>>>1;m[y]=n}return m}();U.exports=function(n,m){return n!==void 0&&n.length?h.getTypeOf(n)!=="string"?function(y,_,b,p){var s=u,l=p+b;y^=-1;for(var i=p;i<l;i++)y=y>>>8^s[255&(y^_[i])];return-1^y}(0|m,n,n.length,0):function(y,_,b,p){var s=u,l=p+b;y^=-1;for(var i=p;i<l;i++)y=y>>>8^s[255&(y^_.charCodeAt(i))];return-1^y}(0|m,n,n.length,0):0}},{"./utils":32}],5:[function(C,U,x){x.base64=!1,x.binary=!1,x.dir=!1,x.createFolders=!0,x.date=null,x.compression=null,x.
vendor: 7,580 bytes, lines 11-12
11compressionOptions=null,x.comment=null,x.unixPermissions=null,x.dosPermissions=null},{}],6:[function(C,U,x){var h=null;h=typeof Promise<"u"?Promise:C("lie"),U.exports={Promise:h}},{lie:37}],7:[function(C,U,x){var h=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",u=C("pako"),n=C("./utils"),m=C("./stream/GenericWorker"),y=h?"uint8array":"array";function _(b,p){m.call(this,"FlateWorker/"+b),this._pako=null,this._pakoAction=b,this._pakoOptions=p,this.meta={}}x.magic="\b\0",n.inherits(_,m),_.prototype.processChunk=function(b){this.meta=b.meta,this._pako===null&&this._createPako(),this._pako.push(n.transformTo(y,b.data),!1)},_.prototype.flush=function(){m.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},_.prototype.cleanUp=function(){m.prototype.cleanUp.call(this),this._pako=null},_.prototype._createPako=function(){this._pako=new u[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var b=this;this._pako.onData=function(p){b.push({data:p,meta:b.meta})}},x.compressWorker=function(b){return new _("Deflate",b)},x.uncompressWorker=function(){return new _("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(C,U,x){function h(s,l){var i,f="";for(i=0;i<l;i++)f+=String.fromCharCode(255&s),s>>>=8;return f}function u(s,l,i,f,o,v){var k,S,I=s.file,N=s.compression,L=v!==y.utf8encode,H=n.transformTo("string",v(I.name)),D=n.transformTo("string",y.utf8encode(I.name)),q=I.comment,oe=n.transformTo("string",v(q)),w=n.transformTo("string",y.utf8encode(q)),$=D.length!==I.name.length,r=w.length!==q.length,F="",ee="",j="",me=I.dir,K=I.date,ce={crc32:0,compressedSize:0,uncompressedSize:0};l&&!i||(ce.crc32=s.crc32,ce.compressedSize=s.compressedSize,ce.uncompressedSize=s.uncompressedSize);var E=0;l&&(E|=8),L||!$&&!r||(E|=2048);var P=0,se=0;me&&(P|=16),o==="UNIX"?(se=798,P|=function(G,_e){var ge=G;return G||(ge=_e?16893:33204),(65535&ge)<<16}(I.unixPermissions,me)):(se=20,P|=function(G){return 63&(G||0)}(I.dosPermissions)),k=K.getUTCHours(),k<<=6,k|=K.getUTCMinutes(),k<<=5,k|=K.getUTCSeconds()/2,S=K.getUTCFullYear()-1980,S<<=4,S|=K.getUTCMonth()+1,S<<=5,S|=K.getUTCDate(),$&&(ee=h(1,1)+h(_(H),4)+D,F+="up"+h(ee.length,2)+ee),r&&(j=h(1,1)+h(_(oe),4)+w,F+="uc"+h(j.length,2)+j);var te="";return te+=`
12\0`,te+=h(E,2),te+=N.magic,te+=h(k,2),te+=h(S,2),te+=h(ce.crc32,4),te+=h(ce.compressedSize,4),te+=h(ce.uncompressedSize,4),te+=h(H.length,2),te+=h(F.length,2),{fileRecord:b.LOCAL_FILE_HEADER+te+H+F,dirRecord:b.CENTRAL_FILE_HEADER+h(se,2)+te+h(oe.length,2)+"\0\0\0\0"+h(P,4)+h(f,4)+H+F+oe}}var n=C("../utils"),m=C("../stream/GenericWorker"),y=C("../utf8"),_=C("../crc32"),b=C("../signature");function p(s,l,i,f){m.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=l,this.zipPlatform=i,this.encodeFileName=f,this.streamFiles=s,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}n.inherits(p,m),p.prototype.push=function(s){var l=s.meta.percent||0,i=this.entriesCount,f=this._sources.length;this.accumulate?this.contentBuffer.push(s):(this.bytesWritten+=s.data.length,m.prototype.push.call(this,{data:s.data,meta:{currentFile:this.currentFile,percent:i?(l+100*(i-f-1))/i:100}}))},p.prototype.openedSource=function(s){this.currentSourceOffset=this.bytesWritten,this.currentFile=s.file.name;var l=this.streamFiles&&!s.file.dir;if(l){var i=u(s,l,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:i.fileRecord,meta:{percent:0}})}else this.accumulate=!0},p.prototype.closedSource=function(s){this.accumulate=!1;var l=this.streamFiles&&!s.file.dir,i=u(s,l,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(i.dirRecord),l)this.push({data:function(f){return b.DATA_DESCRIPTOR+h(f.crc32,4)+h(f.compressedSize,4)+h(f.uncompressedSize,4)}(s),meta:{percent:100}});else for(this.push({data:i.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},p.prototype.flush=function(){for(var s=this.bytesWritten,l=0;l<this.dirRecords.length;l++)this.push({data:this.dirRecords[l],meta:{percent:100}});var i=this.bytesWritten-s,f=function(o,v,k,S,I){var N=n.transformTo("string",I(S));return b.CENTRAL_DIRECTORY_END+"\0\0\0\0"+h(o,2)+h(o,2)+h(v,4)+h(k,4)+h(N.length,2)+N}(this.dirRecords.length,i,s,this.zipComment,this.encodeFileName);this.push({data:f,meta:{percent:100}})},p.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},p.prototype.registerPrevious=function(s){this._sources.push(s);var l=this;return s.on("data",function(i){l.processChunk(i)}),s.on("end",function(){l.closedSource(l.previous.streamInfo),l._sources.length?l.prepareNextSource():l.end()}),s.on("error",function(i){l.error(i)}),this},p.prototype.resume=function(){return!!m.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},p.prototype.error=function(s){var l=this._sources;if(!m.prototype.error.call(this,s))return!1;for(var i=0;i<l.length;i++)try{l[i].error(s)}catch{}return!0},p.prototype.lock=function(){m.prototype.lock.call(this);for(var s=this._sources,l=0;l<s.length;l++)s[l].lock()},U.exports=p},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(C,U,x){var h=C("../compressions"),u=C("./ZipFileWorker");x.generateWorker=function(n,m,y){var _=new u(m.streamFiles,y,m.platform,m.encodeFileName),b=0;try{n.forEach(function(p,s){b++;var l=function(v,k){var S=v||k,I=h[S];if(!I)throw new Error(S+" is not a valid compression method !");return I}(s.options.compression,m.compression),i=s.options.compressionOptions||m.compressionOptions||{},f=s.dir,o=s.date;s._compressWorker(l,i).withStreamInfo("file",{name:p,dir:f,date:o,comment:s.comment||"",unixPermissions:s.unixPermissions,dosPermissions:s.dosPermissions}).pipe(_)}),_.entriesCount=b}catch(p){_.error(p)}return _}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(C,U,x){function h(){if(!(this instanceof h))return new h;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var u=new h;for(var n in this)typeof this[n]!="function"&&(u[n]=this[n]);return u}}(h.prototype=C("./object")).loadAsync=C("./load"),h.support=C("./support"),h.defaults=C("./defaults"),h.version="3.10.1",h.loadAsync=function(u,n){return new h().loadAsync(u,n)},h.external=C("./external"),U.exports=h},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(C,U,x){var h=C("./utils"),u=C("./external"),n=C("./utf8"),m=C("./zipEntries"),y=C("./stream/Crc32Probe"),_=C("./nodejsUtils");function b(p){return new u.Promise(function(s,l){var i=p.decompressed.getContentWorker().pipe(new y);i.on("error",function(f){l(f)}).on("end",function(){i.streamInfo.crc32!==p.decompressed.crc32?l(new Error("Corrupted zip : CRC32 mismatch")):s()}).resume()})}U.exports=function(p,s){var l=this;return s=h.extend(s||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:n.utf8decode}),_.isNode&&_.isStream(p)?u.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):h.prepareContent("the loaded zip f
12ile",p,!0,s.optimizedBinaryString,s.base64).then(function(i){var f=new m(s);return f.load(i),f}).then(function(i){var f=[u.Promise.resolve(i)],o=i.files;if(s.checkCRC32)for(var v=0;v<o.length;v++)f.push(b(o[v]));return u.Promise.all(f)}).then(function(i){for(var f=i.shift(),o=f.files,v=0;v<o.length;v++){var k=o[v],S=k.fileNameStr,I=h.resolve(k.fileNameStr);l.file(I,k.decompressed,{binary:!0,optimizedBinaryString:!0,date:k.date,dir:k.dir,comment:k.fileCommentStr.length?k.fileCommentStr:null,unixPermissions:k.unixPermissions,dosPermissions:k.dosPermissions,createFolders:s.createFolders}),k.dir||(l.file(I).unsafeOriginalName=S)}return f.zipComment.length&&(l.comment=f.zipComment),l})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(C,U,x){var h=C("../utils"),u=C("../stream/GenericWorker");function n(m,y){u.call(this,"Nodejs stream input adapter for "+m),this._upstreamEnded=!1,this._bindStream(y)}h.inherits(n,u),n.prototype._bindStream=function(m){var y=this;(this._stream=m).pause(),m.on("data",function(_){y.push({data:_,meta:{percent:0}})}).on("error",function(_){y.isPaused?this.generatedError=_:y.error(_)}).on("end",function(){y.isPaused?y._upstreamEnded=!0:y.end()})},n.prototype.pause=function(){return!!u.prototype.pause.call(this)&&(this._stream.pause(),!0)},n.prototype.resume=function(){return!!u.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},U.exports=n},{"../stream/GenericWorker":28,"../utils":32}],13:[function(C,U,x){var h=C("readable-stream").Readable;function u(n,m,y){h.call(this,m),this._helper=n;var _=this;n.on("data",function(b,p){_.push(b)||_._helper.pause(),y&&y(p)}).on("error",function(b){_.emit("error",b)}).on("end",function(){_.push(null)})}C("../utils").inherits(u,h),u.prototype._read=function(){this._helper.resume()},U.exports=u},{"../utils":32,"readable-stream":16}],14:[function(C,U,x){U.exports={isNode:typeof Buffer<"u",newBufferFrom:function(h,u){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(h,u);if(typeof h=="number")throw new Error('The "data" argument must not be a number');return new Buffer(h,u)},allocBuffer:function(h){if(Buffer.alloc)return Buffer.alloc(h);var u=new Buffer(h);return u.fill(0),u},isBuffer:function(h){return Buffer.isBuffer(h)},isStream:function(h){return h&&typeof h.on=="function"&&typeof h.pause=="function"&&typeof h.resume=="function"}}},{}],15:[function(C,U,x){function h(I,N,L){var H,D=n.getTypeOf(N),q=n.extend(L||{},_);q.date=q.date||new Date,q.compression!==null&&(q.compression=q.compression.toUpperCase()),typeof q.unixPermissions=="string"&&(q.unixPermissions=parseInt(q.unixPermissions,8)),q.unixPermissions&&16384&q.unixPermissions&&(q.dir=!0),q.dosPermissions&&16&q.dosPermissions&&(q.dir=!0),q.dir&&(I=o(I)),q.createFolders&&(H=f(I))&&v.call(this,H,!0);var oe=D==="string"&&q.binary===!1&&q.base64===!1;L&&L.binary!==void 0||(q.binary=!oe),(N instanceof b&&N.uncompressedSize===0||q.dir||!N||N.length===0)&&(q.base64=!1,q.binary=!0,N="",q.compression="STORE",D="string");var w=null;w=N instanceof b||N instanceof m?N:l.isNode&&l.isStream(N)?new i(I,N):n.prepareContent(I,N,q.binary,q.optimizedBinaryString,q.base64);var $=new p(I,w,q);this.files[I]=$}var u=C("./utf8"),n=C("./utils"),m=C("./stream/GenericWorker"),y=C("./stream/StreamHelper"),_=C("./defaults"),b=C("./compressedObject"),p=C("./zipObject"),s=C("./generate"),l=C("./nodejsUtils"),i=C("./nodejs/NodejsStreamInputAdapter"),f=function(I){I.slice(-1)==="/"&&(I=I.substring(0,I.length-1));var N=I.lastIndexOf("/");return 0<N?I.substring(0,N):""},o=function(I){return I.slice(-1)!=="/"&&(I+="/"),I},v=function(I,N){return N=N!==void 0?N:_.createFolders,I=o(I),this.files[I]||h.call(this,I,null,{dir:!0,createFolders:N}),this.files[I]};function k(I){return Object.prototype.toString.call(I)==="[object RegExp]"}var S={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(I){var N,L,H;for(N in this.files)H=this.files[N],(L=N.slice(this.root.length,N.length))&&N.slice(0,this.root.length)===this.root&&I(L,H)},filter:function(I){var N=[];return this.forEach(function(L,H){I(L,H)&&N.push(H)}),N},file:function(I,N,L){if(arguments.length!==1)return I=this.root+I,h.call(this,I,N,L),this;if(k(I)){var H=I;return this.filter(function(q,oe){return!oe.dir&&H.test(q)})}var D=this.files[this.root+I];return D&&!D.dir?D:null},folder:function(I){if(!I)return this;if(k(I))return this.filter(function(D,q){return q.dir&&I.test(D)});var N=this.root+I,L=v.call(this,N),H=this.clone();return H.root=L.name,H},remove:function(I){I=this.root+I;var N=this.files[I];if(N||(I.slice(-1)!=="/"&&(I+="/"),N=this.files[I]),N&&!N.dir)delete this.files[I];else for(var L=this.filter(function(D,q){return q.name.slice(0,I.length)===I}),H=0;H<L.length;
vendor: 18,918 bytes, line 12
12H++)delete this.files[L[H].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(I){var N,L={};try{if((L=n.extend(I||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:u.utf8encode})).type=L.type.toLowerCase(),L.compression=L.compression.toUpperCase(),L.type==="binarystring"&&(L.type="string"),!L.type)throw new Error("No output type specified.");n.checkSupport(L.type),L.platform!=="darwin"&&L.platform!=="freebsd"&&L.platform!=="linux"&&L.platform!=="sunos"||(L.platform="UNIX"),L.platform==="win32"&&(L.platform="DOS");var H=L.comment||this.comment||"";N=s.generateWorker(this,L,H)}catch(D){(N=new m("error")).error(D)}return new y(N,L.type||"string",L.mimeType)},generateAsync:function(I,N){return this.generateInternalStream(I).accumulate(N)},generateNodeStream:function(I,N){return(I=I||{}).type||(I.type="nodebuffer"),this.generateInternalStream(I).toNodejsStream(N)}};U.exports=S},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(C,U,x){U.exports=C("stream")},{stream:void 0}],17:[function(C,U,x){var h=C("./DataReader");function u(n){h.call(this,n);for(var m=0;m<this.data.length;m++)n[m]=255&n[m]}C("../utils").inherits(u,h),u.prototype.byteAt=function(n){return this.data[this.zero+n]},u.prototype.lastIndexOfSignature=function(n){for(var m=n.charCodeAt(0),y=n.charCodeAt(1),_=n.charCodeAt(2),b=n.charCodeAt(3),p=this.length-4;0<=p;--p)if(this.data[p]===m&&this.data[p+1]===y&&this.data[p+2]===_&&this.data[p+3]===b)return p-this.zero;return-1},u.prototype.readAndCheckSignature=function(n){var m=n.charCodeAt(0),y=n.charCodeAt(1),_=n.charCodeAt(2),b=n.charCodeAt(3),p=this.readData(4);return m===p[0]&&y===p[1]&&_===p[2]&&b===p[3]},u.prototype.readData=function(n){if(this.checkOffset(n),n===0)return[];var m=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,m},U.exports=u},{"../utils":32,"./DataReader":18}],18:[function(C,U,x){var h=C("../utils");function u(n){this.data=n,this.length=n.length,this.index=0,this.zero=0}u.prototype={checkOffset:function(n){this.checkIndex(this.index+n)},checkIndex:function(n){if(this.length<this.zero+n||n<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+n+"). Corrupted zip ?")},setIndex:function(n){this.checkIndex(n),this.index=n},skip:function(n){this.setIndex(this.index+n)},byteAt:function(){},readInt:function(n){var m,y=0;for(this.checkOffset(n),m=this.index+n-1;m>=this.index;m--)y=(y<<8)+this.byteAt(m);return this.index+=n,y},readString:function(n){return h.transformTo("string",this.readData(n))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var n=this.readInt(4);return new Date(Date.UTC(1980+(n>>25&127),(n>>21&15)-1,n>>16&31,n>>11&31,n>>5&63,(31&n)<<1))}},U.exports=u},{"../utils":32}],19:[function(C,U,x){var h=C("./Uint8ArrayReader");function u(n){h.call(this,n)}C("../utils").inherits(u,h),u.prototype.readData=function(n){this.checkOffset(n);var m=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,m},U.exports=u},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(C,U,x){var h=C("./DataReader");function u(n){h.call(this,n)}C("../utils").inherits(u,h),u.prototype.byteAt=function(n){return this.data.charCodeAt(this.zero+n)},u.prototype.lastIndexOfSignature=function(n){return this.data.lastIndexOf(n)-this.zero},u.prototype.readAndCheckSignature=function(n){return n===this.readData(4)},u.prototype.readData=function(n){this.checkOffset(n);var m=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,m},U.exports=u},{"../utils":32,"./DataReader":18}],21:[function(C,U,x){var h=C("./ArrayReader");function u(n){h.call(this,n)}C("../utils").inherits(u,h),u.prototype.readData=function(n){if(this.checkOffset(n),n===0)return new Uint8Array(0);var m=this.data.subarray(this.zero+this.index,this.zero+this.index+n);return this.index+=n,m},U.exports=u},{"../utils":32,"./ArrayReader":17}],22:[function(C,U,x){var h=C("../utils"),u=C("../support"),n=C("./ArrayReader"),m=C("./StringReader"),y=C("./NodeBufferReader"),_=C("./Uint8ArrayReader");U.exports=function(b){var p=h.getTypeOf(b);return h.checkSupport(p),p!=="string"||u.uint8array?p==="nodebuffer"?new y(b):u.uint8array?new _(h.transformTo("uint8array",b)):new n(h.transformTo("array",b)):new m(b)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(C,U,x){x.LOCAL_FILE_HEADER="PK��",x.CENTRAL_FILE_HEADER="PK��",x.CENTRAL_DIRECTORY_END="PK��",x.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK�\x07",x.ZIP64_CENTRAL_DIRECTORY_END="PK��",x.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(C,U,x){var h=C("./GenericWorker"),u=C("../utils");function n(m){h.call(this,"ConvertWorker to "+m),this.destType=m}u.inherits(n,h),n.prototype.processChunk=function(m){this.push({data:u.transformTo(this.destType,m.data),meta:m.meta})},U.exports=n},{"../utils":32,"./GenericWorker":28}],25:[function(C,U,x){var h=C("./GenericWorker"),u=C("../crc32");function n(){h.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}C("../utils").inherits(n,h),n.prototype.processChunk=function(m){this.streamInfo.crc32=u(m.data,this.streamInfo.crc32||0),this.push(m)},U.exports=n},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(C,U,x){var h=C("../utils"),u=C("./GenericWorker");function n(m){u.call(this,"DataLengthProbe for "+m),this.propName=m,this.withStreamInfo(m,0)}h.inherits(n,u),n.prototype.processChunk=function(m){if(m){var y=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=y+m.data.length}u.prototype.processChunk.call(this,m)},U.exports=n},{"../utils":32,"./GenericWorker":28}],27:[function(C,U,x){var h=C("../utils"),u=C("./GenericWorker");function n(m){u.call(this,"DataWorker");var y=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,m.then(function(_){y.dataIsReady=!0,y.data=_,y.max=_&&_.length||0,y.type=h.getTypeOf(_),y.isPaused||y._tickAndRepeat()},function(_){y.error(_)})}h.inherits(n,u),n.prototype.cleanUp=function(){u.prototype.cleanUp.call(this),this.data=null},n.prototype.resume=function(){return!!u.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,h.delay(this._tickAndRepeat,[],this)),!0)},n.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(h.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},n.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var m=null,y=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":m=this.data.substring(this.index,y);break;case"uint8array":m=this.data.subarray(this.index,y);break;case"array":case"nodebuffer":m=this.data.slice(this.index,y)}return this.index=y,this.push({data:m,meta:{percent:this.max?this.index/this.max*100:0}})},U.exports=n},{"../utils":32,"./GenericWorker":28}],28:[function(C,U,x){function h(u){this.name=u||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}h.prototype={push:function(u){this.emit("data",u)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(u){this.emit("error",u)}return!0},error:function(u){return!this.isFinished&&(this.isPaused?this.generatedError=u:(this.isFinished=!0,this.emit("error",u),this.previous&&this.previous.error(u),this.cleanUp()),!0)},on:function(u,n){return this._listeners[u].push(n),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(u,n){if(this._listeners[u])for(var m=0;m<this._listeners[u].length;m++)this._listeners[u][m].call(this,n)},pipe:function(u){return u.registerPrevious(this)},registerPrevious:function(u){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=u.streamInfo,this.mergeStreamInfo(),this.previous=u;var n=this;return u.on("data",function(m){n.processChunk(m)}),u.on("end",function(){n.end()}),u.on("error",function(m){n.error(m)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var u=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),u=!0),this.previous&&this.previous.resume(),!u},flush:function(){},processChunk:function(u){this.push(u)},withStreamInfo:function(u,n){return this.extraStreamInfo[u]=n,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var u in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,u)&&(this.streamInfo[u]=this.extraStreamInfo[u])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var u="Worker "+this.name;return this.previous?this.previous+" -> "+u:u}},U.exports=h},{}],29:[function(C,U,x){var h=C("../utils"),u=C("./ConvertWorker"),n=C("./GenericWorker"),m=C("../base64"),y=C("../support"),_=C("../external"),b=null;if(y.nodestream)try{b=C("../nodejs/NodejsStreamOutputAdapter")}catch{}function p(l,i){return new _.Promise(function(f,o){var v=[],k=l._internalType,S=l._outputType,I=l._mimeType;l.on("data",function(N,L){v.push(N),i&&i(L)}).on("error",function(N){v=[],o(N)}).on("end",function(){try{var N=function(L,H,D){switch(L){case"blob":return h.newBlob(h.transformTo("arraybuffer",H),D);case"base64":return m.encode(H);default:return h.transformTo(L,H)}}(S,function(L,H){var D,q=0,oe=null,w=0;for(D=0;D<H.length;D++)w+=H[D].length;switch(L){case"string":return H.join("");case"array":return Array.prototype.concat.apply([],H);case"uint8array":for(oe=new Uint8Array(w),D=0;D<H.length;D++)oe.set(H[D],q),q+=H[D].length;return oe;case"nodebuffer":return Buffer.concat(H);default:throw new Error("concat : unsupported type '"+L+"'")}}(k,v),I);f(N)}catch(L){o(L)}v=[]}).resume()})}function s(l,i,f){var o=i;switch(i){case"blob":case"arraybuffer":o="uint8array";break;case"base64":o="string"}try{this._internalType=o,this._outputType=i,this._mimeType=f,h.checkSupport(o),this._worker=l.pipe(new u(o)),l.lock()}catch(v){this._worker=new n("error"),this._worker.error(v)}}s.prototype={accumulate:function(l){return p(this,l)},on:function(l,i){var f=this;return l==="data"?this._worker.on(l,function(o){i.call(f,o.data,o.meta)}):this._worker.on(l,function(){h.delay(i,arguments,f)}),this},resume:function(){return h.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(l){if(h.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new b(this,{objectMode:this._outputType!=="nodebuffer"},l)}},U.exports=s},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(C,U,x){if(x.base64=!0,x.array=!0,x.string=!0,x.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",x.nodebuffer=typeof Buffer<"u",x.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")x.blob=!1;else{var h=new ArrayBuffer(0);try{x.blob=new Blob([h],{type:"application/zip"}).size===0}catch{try{var u=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);u.append(h),x.blob=u.getBlob("application/zip").size===0}catch{x.blob=!1}}}try{x.nodestream=!!C("readable-stream").Readable}catch{x.nodestream=!1}},{"readable-stream":16}],31:[function(C,U,x){for(var h=C("./utils"),u=C("./support"),n=C("./nodejsUtils"),m=C("./stream/GenericWorker"),y=new Array(256),_=0;_<256;_++)y[_]=252<=_?6:248<=_?5:240<=_?4:224<=_?3:192<=_?2:1;y[254]=y[254]=1;function b(){m.call(this,"utf-8 decode"),this.leftOver=null}function p(){m.call(this,"utf-8 encode")}x.utf8encode=function(s){return u.nodebuffer?n.newBufferFrom(s,"utf-8"):function(l){var i,f,o,v,k,S=l.length,I=0;for(v=0;v<S;v++)(64512&(f=l.charCodeAt(v)))==55296&&v+1<S&&(64512&(o=l.charCodeAt(v+1)))==56320&&(f=65536+(f-55296<<10)+(o-56320),v++),I+=f<128?1:f<2048?2:f<65536?3:4;for(i=u.uint8array?new Uint8Array(I):new Array(I),v=k=0;k<I;v++)(64512&(f=l.charCodeAt(v)))==55296&&v+1<S&&(64512&(o=l.charCodeAt(v+1)))==56320&&(f=65536+(f-55296<<10)+(o-56320),v++),f<128?i[k++]=f:(f<2048?i[k++]=192|f>>>6:(f<65536?i[k++]=224|f>>>12:(i[k++]=240|f>>>18,i[k++]=128|f>>>12&63),i[k++]=128|f>>>6&63),i[k++]=128|63&f);return i}(s)},x.utf8decode=function(s){return u.nodebuffer?h.transformTo("nodebuffer",s).toString("utf-8"):function(l){var i,f,o,v,k=l.length,S=new Array(2*k);for(i=f=0;i<k;)if((o=l[i++])<128)S[f++]=o;else if(4<(v=y[o]))S[f++]=65533,i+=v-1;else{for(o&=v===2?31:v===3?15:7;1<v&&i<k;)o=o<<6|63&l[i++],v--;1<v?S[f++]=65533:o<65536?S[f++]=o:(o-=65536,S[f++]=55296|o>>10&1023,S[f++]=56320|1023&o)}return S.length!==f&&(S.subarray?S=S.subarray(0,f):S.length=f),h.applyFromCharCode(S)}(s=h.transformTo(u.uint8array?"uint8array":"array",s))},h.inherits(b,m),b.prototype.processChunk=function(s){var l=h.transformTo(u.uint8array?"uint8array":"array",s.data);if(this.leftOver&&this.leftOver.length){if(u.uint8array){var i=l;(l=new Uint8Array(i.length+this.leftOver.length)).set(this.leftOver,0),l.set(i,this.leftOver.length)}else l=this.leftOver.concat(l);this.leftOver=null}var f=function(v,k){var S;for((k=k||v.length)>v.length&&(k=v.length),S=k-1;0<=S&&(192&v[S])==128;)S--;return S<0||S===0?k:S+y[v[S]]>k?S:k}(l),o=l;f!==l.length&&(u.uint8array?(o=l.subarray(0,f),this.leftOver=l.subarray(f,l.length)):(o=l.slice(0,f),this.leftOver=l.slice(f,l.length))),this.push({data:x.utf8decode(o),meta:s.meta})},b.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:x.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},x.Utf8DecodeWorker=b,h.inherits(p,m),p.prototype.processChunk=function(s){this.push({data:x.utf8encode(s.data),meta:s.meta})},x.Utf8EncodeWorker=p},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(C,U,x){var h=C("./support"),u=C("./base64"),n=C("./nodejsUtils"),m=C("./external");function y(i){return i}function _(i,f){for(var o=0;o<i.length;++o)f[o]=255&i.charCodeAt(o);return f}C("setimmediate"),x.newBlob=function(i,f){x.checkSupport("blob");try{return new Blob([i],{type:f})}catch{try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return o.append(i),o.getBlob(f)}catch{throw new Error("Bug : can't construct the Blob.")}}};var b={stringifyByChunk:function(i,f,o){var v=[],k=0,S=i.length;if(S<=o)return String.fromCharCode.apply(null,i);for(;k<S;)f==="array"||f==="nodebuffer"?v.push(String.fromCharCode.apply(null,i.slice(k,Math.min(k+o,S)))):v.push(String.fromCharCode.apply(null,i.subarray(k,Math.min(k+o,S)))),k+=o;return v.join("")},stringifyByChar:function(i){for(var f="",o=0;o<i.length;o++)f+=String.fromCharCode(i[o]);return f},applyCanBeUsed:{uint8array:function(){try{return h.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return h.nodebuffer&&String.fromCharCode.apply(null,n.allocBuffer(1)).length===1}catch{return!1}}()}};function p(i){var f=65536,o=x.getTypeOf(i),v=!0;if(o==="uint8array"?v=b.applyCanBeUsed.uint8array:o==="nodebuffer"&&(v=b.applyCanBeUsed.nodebuffer),v)for(;1<f;)try{return b.stringifyByChunk(i,o,f)}catch{f=Math.floor(f/2)}return b.stringifyByChar(i)}function s(i,f){for(var o=0;o<i.length;o++)f[o]=i[o];return f}x.applyFromCharCode=p;var l={};l.string={string:y,array:function(i){return _(i,new Array(i.length))},arraybuffer:function(i){return l.string.uint8array(i).buffer},uint8array:function(i){return _(i,new Uint8Array(i.length))},nodebuffer:function(i){return _(i,n.allocBuffer(i.length))}},l.array={string:p,array:y,arraybuffer:function(i){return new Uint8Array(i).buffer},uint8array:function(i){return new Uint8Array(i)},nodebuffer:function(i){return n.newBufferFrom(i)}},l.arraybuffer={string:function(i){return p(new Uint8Array(i))},array:function(i){return s(new Uint8Array(i),new Array(i.byteLength))},arraybuffer:y,uint8array:function(i){return new Uint8Array(i)},nodebuffer:function(i){return n.newBufferFrom(new Uint8Array(i))}},l.uint8array={string:p,array:function(i){return s(i,new Array(i.length))},arraybuffer:function(i){return i.buffer},uint8array:y,nodebuffer:function(i){return n.newBufferFrom(i)}},l.nodebuffer={string:p,array:function(i){return s(i,new Array(i.length))},arraybuffer:function(i){return l.nodebuffer.uint8array(i).buffer},uint8array:function(i){return s(i,new Uint8Array(i.length))},nodebuffer:y},x.transformTo=function(i,f){if(f=f||"",!i)return f;x.checkSupport(i);var o=x.getTypeOf(f);return l[o][i](f)},x.resolve=function(i){for(var f=i.split("/"),o=[],v=0;v<f.length;v++){var k=f[v];k==="."||k===""&&v!==0&&v!==f.length-1||(k===".."?o.pop():o.push(k))}return o.join("/")},x.getTypeOf=function(i){return typeof i=="string"?"string":Object.prototype.toString.call(i)==="[object Array]"?"array":h.nodebuffer&&n.isBuffer(i)?"nodebuffer":h.uint8array&&i instanceof Uint8Array?"uint8array":h.arraybuffer&&i instanceof ArrayBuffer?"arraybuffer":void 0},x.checkSupport=function(i){if(!h[i.toLowerCase()])throw new Error(i+" is not supported by this platform")},x.MAX_VALUE_16BITS=65535,x.MAX_VALUE_32BITS=-1,x.pretty=function(i){var f,o,v="";for(o=0;o<(i||"").length;o++)v+="\\x"+((f=i.charCodeAt(o))<16?"0":"")+f.toString(16).toUpperCase();return v},x.delay=function(i,f,o){setImmediate(function(){i.apply(o||null,f||[])})},x.inherits=function(i,f){function o(){}o.prototype=f.prototype,i.prototype=new o},x.extend=function(){var i,f,o={};for(i=0;i<arguments.length;i++)for(f in arguments[i])Object.prototype.hasOwnProperty.call(arguments[i],f)&&o[f]===void 0&&(o[f]=arguments[i][f]);return o},x.prepareContent=function(i,f,o,v,k){return m.Promise.resolve(f).then(function(S){return h.blob&&(S instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(S))!==-1)&&typeof FileReader<"u"?new m.Promise(function(I,N){var L=new FileReader;L.onload=function(H){I(H.target.result)},L.onerror=function(H){N(H.target.error)},L.readAsArrayBuffer(S)}):S}).then(function(S){var I=x.getTypeOf(S);return I?(I==="arraybuffer"?S=x.transformTo("uint8array",S):I==="str
12ing"&&(k?S=u.decode(S):o&&v!==!0&&(S=function(N){return _(N,h.uint8array?new Uint8Array(N.length):new Array(N.length))}(S))),S):m.Promise.reject(new Error("Can't read the data of '"+i+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(C,U,x){var h=C("./reader/readerFor"),u=C("./utils"),n=C("./signature"),m=C("./zipEntry"),y=C("./support");function _(b){this.files=[],this.loadOptions=b}_.prototype={checkSignature:function(b){if(!this.reader.readAndCheckSignature(b)){this.reader.index-=4;var p=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+u.pretty(p)+", expected "+u.pretty(b)+")")}},isSignature:function(b,p){var s=this.reader.index;this.reader.setIndex(b);var l=this.reader.readString(4)===p;return this.reader.setIndex(s),l},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var b=this.reader.readData(this.zipCommentLength),p=y.uint8array?"uint8array":"array",s=u.transformTo(p,b);this.zipComment=this.loadOptions.decodeFileName(s)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var b,p,s,l=this.zip64EndOfCentralSize-44;0<l;)b=this.reader.readInt(2),p=this.reader.readInt(4),s=this.reader.readData(p),this.zip64ExtensibleData[b]={id:b,length:p,value:s}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var b,p;for(b=0;b<this.files.length;b++)p=this.files[b],this.reader.setIndex(p.localHeaderOffset),this.checkSignature(n.LOCAL_FILE_HEADER),p.readLocalPart(this.reader),p.handleUTF8(),p.processAttributes()},readCentralDir:function(){var b;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(n.CENTRAL_FILE_HEADER);)(b=new m({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(b);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var b=this.reader.lastIndexOfSignature(n.CENTRAL_DIRECTORY_END);if(b<0)throw this.isSignature(0,n.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(b);var p=b;if(this.checkSignature(n.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===u.MAX_VALUE_16BITS||this.diskWithCentralDirStart===u.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===u.MAX_VALUE_16BITS||this.centralDirRecords===u.MAX_VALUE_16BITS||this.centralDirSize===u.MAX_VALUE_32BITS||this.centralDirOffset===u.MAX_VALUE_32BITS){if(this.zip64=!0,(b=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(b),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,n.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var s=this.centralDirOffset+this.centralDirSize;this.zip64&&(s+=20,s+=12+this.zip64EndOfCentralSize);var l=p-s;if(0<l)this.isSignature(p,n.CENTRAL_FILE_HEADER)||(this.reader.zero=l);else if(l<0)throw new Error("Corrupted zip: missing "+Math.abs(l)+" bytes.")},prepareReader:function(b){this.reader=h(b)},load:function(b){this.prepareReader(b),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},U.exports=_},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(C,U,x){var h=C("./reader/readerFor"),u=C("./utils"),n=C("./compressedObject"),m=C("./crc32"),y=C("./utf8"),_=C("./compressions"),b=C("./support");function p(s,l){this.options=s,this.loadOptions=l}p.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(s){var l,i;if(s.skip(22),this.fileNameLength=s.readInt(2),i=s.readInt(2),this.fileName=s.readData(this.fileNameLength),s.skip(i),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((l=function(f){for(var o in _)if(Object.prototype.hasOwnProperty.call(_,o)&&_[o].magic===f)return _[o];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+u.pretty(this.compressionMethod)+" unknown (inner file : "+u.transformTo("string",this.fileName)+")");this.decompressed=new n(this.compressedSize,this.uncompressedSize,this.crc32,l,s.readData(this.compressedSize))},readCentralPart:function(s){this.versionMadeBy=s.readInt(2),s.skip(2),this.bitFlag=s.readInt(2),this.compressionMethod=s.readString(2),this.date=s.readDate(),this.crc32=s.readInt(4),this.compressedSize=s.readInt(4),this.uncompressedSize=s.readInt(4);var l=s.readInt(2);if(this.extraFieldsLength=s.readInt(2),this.fileCommentLength=s.readInt(2),this.diskNumberStart=s.readInt(2),this.internalFileAttributes=s.readInt(2),this.externalFileAttributes=s.readInt(4),this.localHeaderOffset=s.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");s.skip(l),this.readExtraFields(s),this.parseZIP64ExtraField(s),this.fileComment=s.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var s=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),s==0&&(this.dosPermissions=63&this.externalFileAttributes),s==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var s=h(this.extraFields[1].value);
vendor: 11,290 bytes, line 12
12this.uncompressedSize===u.MAX_VALUE_32BITS&&(this.uncompressedSize=s.readInt(8)),this.compressedSize===u.MAX_VALUE_32BITS&&(this.compressedSize=s.readInt(8)),this.localHeaderOffset===u.MAX_VALUE_32BITS&&(this.localHeaderOffset=s.readInt(8)),this.diskNumberStart===u.MAX_VALUE_32BITS&&(this.diskNumberStart=s.readInt(4))}},readExtraFields:function(s){var l,i,f,o=s.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});s.index+4<o;)l=s.readInt(2),i=s.readInt(2),f=s.readData(i),this.extraFields[l]={id:l,length:i,value:f};s.setIndex(o)},handleUTF8:function(){var s=b.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=y.utf8decode(this.fileName),this.fileCommentStr=y.utf8decode(this.fileComment);else{var l=this.findExtraFieldUnicodePath();if(l!==null)this.fileNameStr=l;else{var i=u.transformTo(s,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(i)}var f=this.findExtraFieldUnicodeComment();if(f!==null)this.fileCommentStr=f;else{var o=u.transformTo(s,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(o)}}},findExtraFieldUnicodePath:function(){var s=this.extraFields[28789];if(s){var l=h(s.value);return l.readInt(1)!==1||m(this.fileName)!==l.readInt(4)?null:y.utf8decode(l.readData(s.length-5))}return null},findExtraFieldUnicodeComment:function(){var s=this.extraFields[25461];if(s){var l=h(s.value);return l.readInt(1)!==1||m(this.fileComment)!==l.readInt(4)?null:y.utf8decode(l.readData(s.length-5))}return null}},U.exports=p},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(C,U,x){function h(l,i,f){this.name=l,this.dir=f.dir,this.date=f.date,this.comment=f.comment,this.unixPermissions=f.unixPermissions,this.dosPermissions=f.dosPermissions,this._data=i,this._dataBinary=f.binary,this.options={compression:f.compression,compressionOptions:f.compressionOptions}}var u=C("./stream/StreamHelper"),n=C("./stream/DataWorker"),m=C("./utf8"),y=C("./compressedObject"),_=C("./stream/GenericWorker");h.prototype={internalStream:function(l){var i=null,f="string";try{if(!l)throw new Error("No output type specified.");var o=(f=l.toLowerCase())==="string"||f==="text";f!=="binarystring"&&f!=="text"||(f="string"),i=this._decompressWorker();var v=!this._dataBinary;v&&!o&&(i=i.pipe(new m.Utf8EncodeWorker)),!v&&o&&(i=i.pipe(new m.Utf8DecodeWorker))}catch(k){(i=new _("error")).error(k)}return new u(i,f,"")},async:function(l,i){return this.internalStream(l).accumulate(i)},nodeStream:function(l,i){return this.internalStream(l||"nodebuffer").toNodejsStream(i)},_compressWorker:function(l,i){if(this._data instanceof y&&this._data.compression.magic===l.magic)return this._data.getCompressedWorker();var f=this._decompressWorker();return this._dataBinary||(f=f.pipe(new m.Utf8EncodeWorker)),y.createWorkerFrom(f,l,i)},_decompressWorker:function(){return this._data instanceof y?this._data.getContentWorker():this._data instanceof _?this._data:new n(this._data)}};for(var b=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],p=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},s=0;s<b.length;s++)h.prototype[b[s]]=p;U.exports=h},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(C,U,x){(function(h){var u,n,m=h.MutationObserver||h.WebKitMutationObserver;if(m){var y=0,_=new m(l),b=h.document.createTextNode("");_.observe(b,{characterData:!0}),u=function(){b.data=y=++y%2}}else if(h.setImmediate||h.MessageChannel===void 0)u="document"in h&&"onreadystatechange"in h.document.createElement("script")?function(){var i=h.document.createElement("script");i.onreadystatechange=function(){l(),i.onreadystatechange=null,i.parentNode.removeChild(i),i=null},h.document.documentElement.appendChild(i)}:function(){setTimeout(l,0)};else{var p=new h.MessageChannel;p.port1.onmessage=l,u=function(){p.port2.postMessage(0)}}var s=[];function l(){var i,f;n=!0;for(var o=s.length;o;){for(f=s,s=[],i=-1;++i<o;)f[i]();o=s.length}n=!1}U.exports=function(i){s.push(i)!==1||n||u()}}).call(this,typeof Ct<"u"?Ct:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(C,U,x){var h=C("immediate");function u(){}var n={},m=["REJECTED"],y=["FULFILLED"],_=["PENDING"];function b(o){if(typeof o!="function")throw new TypeError("resolver must be a function");this.state=_,this.queue=[],this.outcome=void 0,o!==u&&i(this,o)}function p(o,v,k){this.promise=o,typeof v=="function"&&(this.onFulfilled=v,this.callFulfilled=this.otherCallFulfilled),typeof k=="function"&&(this.onRejected=k,this.callRejected=this.otherCallRejected)}function s(o,v,k){h(function(){var S;try{S=v(k)}catch(I){return n.reject(o,I)}S===o?n.reject(o,new TypeError("Cannot resolve promise with itself")):n.resolve(o,S)})}function l(o){var v=o&&o.then;if(o&&(typeof o=="object"||typeof o=="function")&&typeof v=="function")return function(){v.apply(o,arguments)}}function i(o,v){var k=!1;function S(L){k||(k=!0,n.reject(o,L))}function I(L){k||(k=!0,n.resolve(o,L))}var N=f(function(){v(I,S)});N.status==="error"&&S(N.value)}function f(o,v){var k={};try{k.value=o(v),k.status="success"}catch(S){k.status="error",k.value=S}return k}(U.exports=b).prototype.finally=function(o){if(typeof o!="function")return this;var v=this.constructor;return this.then(function(k){return v.resolve(o()).then(function(){return k})},function(k){return v.resolve(o()).then(function(){throw k})})},b.prototype.catch=function(o){return this.then(null,o)},b.prototype.then=function(o,v){if(typeof o!="function"&&this.state===y||typeof v!="function"&&this.state===m)return this;var k=new this.constructor(u);return this.state!==_?s(k,this.state===y?o:v,this.outcome):this.queue.push(new p(k,o,v)),k},p.prototype.callFulfilled=function(o){n.resolve(this.promise,o)},p.prototype.otherCallFulfilled=function(o){s(this.promise,this.onFulfilled,o)},p.prototype.callRejected=function(o){n.reject(this.promise,o)},p.prototype.otherCallRejected=function(o){s(this.promise,this.onRejected,o)},n.resolve=function(o,v){var k=f(l,v);if(k.status==="error")return n.reject(o,k.value);var S=k.value;if(S)i(o,S);else{o.state=y,o.outcome=v;for(var I=-1,N=o.queue.length;++I<N;)o.queue[I].callFulfilled(v)}return o},n.reject=function(o,v){o.state=m,o.outcome=v;for(var k=-1,S=o.queue.length;++k<S;)o.queue[k].callRejected(v);return o},b.resolve=function(o){return o instanceof this?o:n.resolve(new this(u),o)},b.reject=function(o){var v=new this(u);return n.reject(v,o)},b.all=function(o){var v=this;if(Object.prototype.toString.call(o)!=="[object Array]")return this.reject(new TypeError("must be an array"));var k=o.length,S=!1;if(!k)return this.resolve([]);for(var I=new Array(k),N=0,L=-1,H=new this(u);++L<k;)D(o[L],L);return H;function D(q,oe){v.resolve(q).then(function(w){I[oe]=w,++N!==k||S||(S=!0,n.resolve(H,I))},function(w){S||(S=!0,n.reject(H,w))})}},b.race=function(o){var v=this;if(Object.prototype.toString.call(o)!=="[object Array]")return this.reject(new TypeError("must be an array"));var k=o.length,S=!1;if(!k)return this.resolve([]);for(var I=-1,N=new this(u);++I<k;)L=o[I],v.resolve(L).then(function(H){S||(S=!0,n.resolve(N,H))},function(H){S||(S=!0,n.reject(N,H))});var L;return N}},{immediate:36}],38:[function(C,U,x){var h={};(0,C("./lib/utils/common").assign)(h,C("./lib/deflate"),C("./lib/inflate"),C("./lib/zlib/constants")),U.exports=h},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(C,U,x){var h=C("./zlib/deflate"),u=C("./utils/common"),n=C("./utils/strings"),m=C("./zlib/messages"),y=C("./zlib/zstream"),_=Object.prototype.toString,b=0,p=-1,s=0,l=8;function i(o){if(!(this instanceof i))return new i(o);this.options=u.assign({level:p,method:l,chunkSize:16384,windowBits:15,memLevel:8,strategy:s,to:""},o||{});var v=this.options;v.raw&&0<v.windowBits?v.windowBits=-v.windowBits:v.gzip&&0<v.windowBits&&v.windowBits<16&&(v.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new y,this.strm.avail_out=0;var k=h.deflateInit2(this.strm,v.level,v.method,v.windowBits,v.memLevel,v.strategy);if(k!==b)throw new Error(m[k]);if(v.header&&h.deflateSetHeader(this.strm,v.header),v.dictionary){var S;if(S=typeof v.dictionary=="string"?n.string2buf(v.dictionary):_.call(v.dictionary)==="[object ArrayBuffer]"?new Uint8Array(v.dictionary):v.dictionary,(k=h.deflateSetDictionary(this.strm,S))!==b)throw new Error(m[k]);this._dict_set=!0}}function f(o,v){var k=new i(v);if(k.push(o,!0),k.err)throw k.msg||m[k.err];return k.result}i.prototype.push=function(o,v){var k,S,I=this.strm,N=this.options.chunkSize;if(this.ended)return!1;S=v===~~v?v:v===!0?4:0,typeof o=="string"?I.input=n.string2buf(o):_.call(o)==="[object ArrayBuffer]"?I.input=new Uint8Array(o):I.input=o,I.next_in=0,I.avail_in=I.input.length;do{if(I.avail_out===0&&(I.output=new u.Buf8(N),I.next_out=0,I.avail_out=N),(k=h.deflate(I,S))!==1&&k!==b)return this.onEnd(k),!(this.ended=!0);I.avail_out!==0&&(I.avail_in!==0||S!==4&&S!==2)||(this.options.to==="string"?this.onData(n.buf2binstring(u.shrinkBuf(I.output,I.next_out))):this.onData(u.shrinkBuf(I.output,I.next_out)))}while((0<I.avail_in||I.avail_out===0)&&k!==1);return S===4?(k=h.deflateEnd(this.strm),this.onEnd(k),this.ended=!0,k===b):S!==2||(this.onEnd(b),!(I.avail_out=0))},i.prototype.onData=function(o){this.chunks.push(o)},i.prototype.onEnd=function(o){o===b&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=u.flattenChunks(this.chunks)),this.chunks=[],this.err=o,this.msg=this.strm.msg},x.Deflate=i,x.deflate=f,x.deflateRaw=function(o,v){return(v=v||{}).raw=!0,f(o,v)},x.gzip=function(o,v){return(v=v||{}).gzip=!0,f(o,v)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(C,U,x){var h=C("./zlib/inflate"),u=C("./utils/common"),n=C("./utils/strings"),m=C("./zlib/constants"),y=C("./zlib/messages"),_=C("./zlib/zstream"),b=C("./zlib/gzheader"),p=Object.prototype.toString;function s(i){if(!(this instanceof s))return new s(i);this.options=u.assign({chunkSize:16384,windowBits:0,to:""},i||{});var f=this.options;f.raw&&0<=f.windowBits&&f.windowBits<16&&(f.windowBits=-f.windowBits,f.windowBits===0&&(f.windowBits=-15)),!(0<=f.windowBits&&f.windowBits<16)||i&&i.windowBits||(f.windowBits+=32),15<f.windowBits&&f.windowBits<48&&(15&f.windowBits)==0&&(f.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new _,this.strm.avail_out=0;var o=h.inflateInit2(this.strm,f.windowBits);if(o!==m.Z_OK)throw new Error(y[o]);this.header=new b,h.inflateGetHeader(this.strm,this.header)}function l(i,f){var o=new s(f);if(o.push(i,!0),o.err)throw o.msg||y[o.err];return o.result}s.prototype.push=function(i,f){var o,v,k,S,I,N,L=this.strm,H=this.options.chunkSize,D=this.options.dictionary,q=!1;if(this.ended)return!1;v=f===~~f?f:f===!0?m.Z_FINISH:m.Z_NO_FLUSH,typeof i=="string"?L.input=n.binstring2buf(i):p.call(i)==="[object ArrayBuffer]"?L.input=new Uint8Array(i):L.input=i,L.next_in=0,L.avail_in=L.input.length;do{if(L.avail_out===0&&(L.output=new u.Buf8(H),L.next_out=0,L.avail_out=H),(o=h.inflate(L,m.Z_NO_FLUSH))===m.Z_NEED_DICT&&D&&(N=typeof D=="str
12ing"?n.string2buf(D):p.call(D)==="[object ArrayBuffer]"?new Uint8Array(D):D,o=h.inflateSetDictionary(this.strm,N)),o===m.Z_BUF_ERROR&&q===!0&&(o=m.Z_OK,q=!1),o!==m.Z_STREAM_END&&o!==m.Z_OK)return this.onEnd(o),!(this.ended=!0);L.next_out&&(L.avail_out!==0&&o!==m.Z_STREAM_END&&(L.avail_in!==0||v!==m.Z_FINISH&&v!==m.Z_SYNC_FLUSH)||(this.options.to==="string"?(k=n.utf8border(L.output,L.next_out),S=L.next_out-k,I=n.buf2string(L.output,k),L.next_out=S,L.avail_out=H-S,S&&u.arraySet(L.output,L.output,k,S,0),this.onData(I)):this.onData(u.shrinkBuf(L.output,L.next_out)))),L.avail_in===0&&L.avail_out===0&&(q=!0)}while((0<L.avail_in||L.avail_out===0)&&o!==m.Z_STREAM_END);return o===m.Z_STREAM_END&&(v=m.Z_FINISH),v===m.Z_FINISH?(o=h.inflateEnd(this.strm),this.onEnd(o),this.ended=!0,o===m.Z_OK):v!==m.Z_SYNC_FLUSH||(this.onEnd(m.Z_OK),!(L.avail_out=0))},s.prototype.onData=function(i){this.chunks.push(i)},s.prototype.onEnd=function(i){i===m.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=u.flattenChunks(this.chunks)),this.chunks=[],this.err=i,this.msg=this.strm.msg},x.Inflate=s,x.inflate=l,x.inflateRaw=function(i,f){return(f=f||{}).raw=!0,l(i,f)},x.ungzip=l},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(C,U,x){var h=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";x.assign=function(m){for(var y=Array.prototype.slice.call(arguments,1);y.length;){var _=y.shift();if(_){if(typeof _!="object")throw new TypeError(_+"must be non-object");for(var b in _)_.hasOwnProperty(b)&&(m[b]=_[b])}}return m},x.shrinkBuf=function(m,y){return m.length===y?m:m.subarray?m.subarray(0,y):(m.length=y,m)};var u={arraySet:function(m,y,_,b,p){if(y.subarray&&m.subarray)m.set(y.subarray(_,_+b),p);else for(var s=0;s<b;s++)m[p+s]=y[_+s]},flattenChunks:function(m){var y,_,b,p,s,l;for(y=b=0,_=m.length;y<_;y++)b+=m[y].length;for(l=new Uint8Array(b),y=p=0,_=m.length;y<_;y++)s=m[y],l.set(s,p),p+=s.length;return l}},n={arraySet:function(m,y,_,b,p){for(var s=0;s<b;s++)m[p+s]=y[_+s]},flattenChunks:function(m){return[].concat.apply([],m)}};x.setTyped=function(m){m?(x.Buf8=Uint8Array,x.Buf16=Uint16Array,x.Buf32=Int32Array,x.assign(x,u)):(x.Buf8=Array,x.Buf16=Array,x.Buf32=Array,x.assign(x,n))},x.setTyped(h)},{}],42:[function(C,U,x){var h=C("./common"),u=!0,n=!0;try{String.fromCharCode.apply(null,[0])}catch{u=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{n=!1}for(var m=new h.Buf8(256),y=0;y<256;y++)m[y]=252<=y?6:248<=y?5:240<=y?4:224<=y?3:192<=y?2:1;function _(b,p){if(p<65537&&(b.subarray&&n||!b.subarray&&u))return String.fromCharCode.apply(null,h.shrinkBuf(b,p));for(var s="",l=0;l<p;l++)s+=String.fromCharCode(b[l]);return s}m[254]=m[254]=1,x.string2buf=function(b){var p,s,l,i,f,o=b.length,v=0;for(i=0;i<o;i++)(64512&(s=b.charCodeAt(i)))==55296&&i+1<o&&(64512&(l=b.charCodeAt(i+1)))==56320&&(s=65536+(s-55296<<10)+(l-56320),i++),v+=s<128?1:s<2048?2:s<65536?3:4;for(p=new h.Buf8(v),i=f=0;f<v;i++)(64512&(s=b.charCodeAt(i)))==55296&&i+1<o&&(64512&(l=b.charCodeAt(i+1)))==56320&&(s=65536+(s-55296<<10)+(l-56320),i++),s<128?p[f++]=s:(s<2048?p[f++]=192|s>>>6:(s<65536?p[f++]=224|s>>>12:(p[f++]=240|s>>>18,p[f++]=128|s>>>12&63),p[f++]=128|s>>>6&63),p[f++]=128|63&s);return p},x.buf2binstring=function(b){return _(b,b.length)},x.binstring2buf=function(b){for(var p=new h.Buf8(b.length),s=0,l=p.length;s<l;s++)p[s]=b.charCodeAt(s);return p},x.buf2string=function(b,p){var s,l,i,f,o=p||b.length,v=new Array(2*o);for(s=l=0;s<o;)if((i=b[s++])<128)v[l++]=i;else if(4<(f=m[i]))v[l++]=65533,s+=f-1;else{for(i&=f===2?31:f===3?15:7;1<f&&s<o;)i=i<<6|63&b[s++],f--;1<f?v[l++]=65533:i<65536?v[l++]=i:(i-=65536,v[l++]=55296|i>>10&1023,v[l++]=56320|1023&i)}return _(v,l)},x.utf8border=function(b,p){var s;for((p=p||b.length)>b.length&&(p=b.length),s=p-1;0<=s&&(192&b[s])==128;)s--;return s<0||s===0?p:s+m[b[s]]>p?s:p}},{"./common":41}],43:[function(C,U,x){U.exports=function(h,u,n,m){for(var y=65535&h|0,_=h>>>16&65535|0,b=0;n!==0;){for(n-=b=2e3<n?2e3:n;_=_+(y=y+u[m++]|0)|0,--b;);y%=65521,_%=65521}return y|_<<16|0}},{}],44:[function(C,U,x){U.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ER
vendor: 38,503 bytes, line 12
12ROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(C,U,x){var h=function(){for(var u,n=[],m=0;m<256;m++){u=m;for(var y=0;y<8;y++)u=1&u?3988292384^u>>>1:u>>>1;n[m]=u}return n}();U.exports=function(u,n,m,y){var _=h,b=y+m;u^=-1;for(var p=y;p<b;p++)u=u>>>8^_[255&(u^n[p])];return-1^u}},{}],46:[function(C,U,x){var h,u=C("../utils/common"),n=C("./trees"),m=C("./adler32"),y=C("./crc32"),_=C("./messages"),b=0,p=4,s=0,l=-2,i=-1,f=4,o=2,v=8,k=9,S=286,I=30,N=19,L=2*S+1,H=15,D=3,q=258,oe=q+D+1,w=42,$=113,r=1,F=2,ee=3,j=4;function me(e,M){return e.msg=_[M],M}function K(e){return(e<<1)-(4<e?9:0)}function ce(e){for(var M=e.length;0<=--M;)e[M]=0}function E(e){var M=e.state,B=M.pending;B>e.avail_out&&(B=e.avail_out),B!==0&&(u.arraySet(e.output,M.pending_buf,M.pending_out,B,e.next_out),e.next_out+=B,M.pending_out+=B,e.total_out+=B,e.avail_out-=B,M.pending-=B,M.pending===0&&(M.pending_out=0))}function P(e,M){n._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,M),e.block_start=e.strstart,E(e.strm)}function se(e,M){e.pending_buf[e.pending++]=M}function te(e,M){e.pending_buf[e.pending++]=M>>>8&255,e.pending_buf[e.pending++]=255&M}function G(e,M){var B,g,d=e.max_chain_length,z=e.strstart,O=e.prev_length,W=e.nice_match,T=e.strstart>e.w_size-oe?e.strstart-(e.w_size-oe):0,V=e.window,J=e.w_mask,X=e.prev,Q=e.strstart+q,ke=V[z+O-1],ve=V[z+O];e.prev_length>=e.good_match&&(d>>=2),W>e.lookahead&&(W=e.lookahead);do if(V[(B=M)+O]===ve&&V[B+O-1]===ke&&V[B]===V[z]&&V[++B]===V[z+1]){z+=2,B++;do;while(V[++z]===V[++B]&&V[++z]===V[++B]&&V[++z]===V[++B]&&V[++z]===V[++B]&&V[++z]===V[++B]&&V[++z]===V[++B]&&V[++z]===V[++B]&&V[++z]===V[++B]&&z<Q);if(g=q-(Q-z),z=Q-q,O<g){if(e.match_start=M,W<=(O=g))break;ke=V[z+O-1],ve=V[z+O]}}while((M=X[M&J])>T&&--d!=0);return O<=e.lookahead?O:e.lookahead}function _e(e){var M,B,g,d,z,O,W,T,V,J,X=e.w_size;do{if(d=e.window_size-e.lookahead-e.strstart,e.strstart>=X+(X-oe)){for(u.arraySet(e.window,e.window,X,X,0),e.match_start-=X,e.strstart-=X,e.block_start-=X,M=B=e.hash_size;g=e.head[--M],e.head[M]=X<=g?g-X:0,--B;);for(M=B=X;g=e.prev[--M],e.prev[M]=X<=g?g-X:0,--B;);d+=X}if(e.strm.avail_in===0)break;if(O=e.strm,W=e.window,T=e.strstart+e.lookahead,V=d,J=void 0,J=O.avail_in,V<J&&(J=V),B=J===0?0:(O.avail_in-=J,u.arraySet(W,O.input,O.next_in,J,T),O.state.wrap===1?O.adler=m(O.adler,W,J,T):O.state.wrap===2&&(O.adler=y(O.adler,W,J,T)),O.next_in+=J,O.total_in+=J,J),e.lookahead+=B,e.lookahead+e.insert>=D)for(z=e.strstart-e.insert,e.ins_h=e.window[z],e.ins_h=(e.ins_h<<e.hash_shift^e.window[z+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[z+D-1])&e.hash_mask,e.prev[z&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=z,z++,e.insert--,!(e.lookahead+e.insert<D)););}while(e.lookahead<oe&&e.strm.avail_in!==0)}function ge(e,M){for(var B,g;;){if(e.lookahead<oe){if(_e(e),e.lookahead<oe&&M===b)return r;if(e.lookahead===0)break}if(B=0,e.lookahead>=D&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+D-1])&e.hash_mask,B=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),B!==0&&e.strstart-B<=e.w_size-oe&&(e.match_length=G(e,B)),e.match_length>=D)if(g=n._tr_tally(e,e.strstart-e.match_start,e.match_length-D),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=D){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+D-1])&e.hash_mask,B=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,--e.match_length!=0;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else g=n._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(g&&(P(e,!1),e.strm.avail_out===0))return r}return e.insert=e.strstart<D-1?e.strstart:D-1,M===p?(P(e,!0),e.strm.avail_out===0?ee:j):e.last_lit&&(P(e,!1),e.strm.avail_out===0)?r:F}function fe(e,M){for(var B,g,d;;){if(e.lookahead<oe){if(_e(e),e.lookahead<oe&&M===b)return r;if(e.lookahead===0)break}if(B=0,e.lookahead>=D&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+D-1])&e.hash_mask,B=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=D-1,B!==0&&e.prev_length<e.max_lazy_match&&e.strstart-B<=e.w_size-oe&&(e.match_length=G(e,B),e.match_length<=5&&(e.strategy===1||e.match_length===D&&4096<e.strstart-e.match_start)&&(e.match_length=D-1)),e.prev_length>=D&&e.match_length<=e.prev_length){for(d=e.strstart+e.lookahead-D,g=n._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-D),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=d&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+D-1])&e.hash_mask,B=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),--e.prev_length!=0;);if(e.match_available=0,e.match_length=D-1,e.strstart++,g&&(P(e,!1),e.strm.avail_out===0))return r}else if(e.match_available){if((g=n._tr_tally(e,0,e.window[e.strstart-1]))&&P(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return r}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(g=n._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<D-1?e.strstart:D-1,M===p?(P(e,!0),e.strm.avail_out===0?ee:j):e.last_lit&&(P(e,!1),e.strm.avail_out===0)?r:F}function he(e,M,B,g,d){this.good_length=e,this.max_lazy=M,this.nice_length=B,this.max_chain=g,this.func=d}function ye(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=v,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new u.Buf16(2*L),this.dyn_dtree=new u.Buf16(2*(2*I+1)),this.bl_tree=new u.Buf16(2*(2*N+1)),ce(this.dyn_ltree),ce(this.dyn_dtree),ce(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new u.Buf16(H+1),this.heap=new u.Buf16(2*S+1),ce(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new u.Buf16(2*S+1),ce(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function Be(e){var M;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=o,(M=e.state).pending=0,M.pending_out=0,M.wrap<0&&(M.wrap=-M.wrap),M.status=M.wrap?w:$,e.adler=M.wrap===2?0:1,M.last_flush=b,n._tr_init(M),s):me(e,l)}function Pe(e){var M=Be(e);return M===s&&function(B){B.window_size=2*B.w_size,ce(B.head),B.max_lazy_match=h[B.level].max_lazy,B.good_match=h[B.level].good_length,B.nice_match=h[B.level].nice_length,B.max_chain_length=h[B.level].max_chain,B.strstart=0,B.block_start=0,B.lookahead=0,B.insert=0,B.match_length=B.prev_length=D-1,B.match_available=0,B.ins_h=0}(e.state),M}function Le(e,M,B,g,d,z){if(!e)return l;var O=1;if(M===i&&(M=6),g<0?(O=0,g=-g):15<g&&(O=2,g-=16),d<1||k<d||B!==v||g<8||15<g||M<0||9<M||z<0||f<z)return me(e,l);g===8&&(g=9);var W=new ye;return(e.state=W).strm=e,W.wrap=O,W.gzhead=null,W.w_bits=g,W.w_size=1<<W.w_bits,W.w_mask=W.w_size-1,W.hash_bits=d+7,W.hash_size=1<<W.hash_bits,W.hash_mask=W.hash_size-1,W.hash_shift=~~((W.hash_bits+D-1)/D),W.window=new u.Buf8(2*W.w_size),W.head=new u.Buf16(W.hash_size),W.prev=new u.Buf16(W.w_size),W.lit_bufsize=1<<d+6,W.pending_buf_size=4*W.lit_bufsize,W.pending_buf=new u.Buf8(W.pending_buf_size),W.d_buf=1*W.lit_bufsize,W.l_buf=3*W.lit_bufsize,W.level=M,W.strategy=z,W.method=B,Pe(e)}h=[new he(0,0,0,0,function(e,M){var B=65535;for(B>e.pending_buf_size-5&&(B=e.pending_buf_size-5);;){if(e.lookahead<=1){if(_e(e),e.lookahead===0&&M===b)return r;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var g=e.block_start+B;if((e.strstart===0||e.strstart>=g)&&(e.lookahead=e.strstart-g,e.strstart=g,P(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-oe&&(P(e,!1),e.strm.avail_out===0))return r}return e.insert=0,M===p?(P(e,!0),e.strm.avail_out===0?ee:j):(e.strstart>e.block_start&&(P(e,!1),e.strm.avail_out),r)}),new he(4,4,8,4,ge),new he(4,5,16,8,ge),new he(4,6,32,32,ge),new he(4,4,16,16,fe),new he(8,16,32,32,fe),new he(8,16,128,128,fe),new he(8,32,128,256,fe),new he(32,128,258,1024,fe),new he(32,258,258,4096,fe)],x.deflateInit=function(e,M){return Le(e,M,v,15,8,0)},x.deflateInit2=Le,x.deflateReset=Pe,x.deflateResetKeep=Be,x.deflateSetHeader=function(e,M){return e&&e.state?e.state.wrap!==2?l:(e.state.gzhead=M,s):l},x.deflate=function(e,M){var B,g,d,z;if(!e||!e.state||5<M||M<0)return e?me(e,l):l;if(g=e.state,!e.output||!e.input&&e.avail_in!==0||g.status===666&&M!==p)return me(e,e.avail_out===0?-5:l);if(g.strm=e,B=g.last_flush,g.last_flush=M,g.status===w)if(g.wrap===2)e.adler=0,se(g,31),se(g,139),se(g,8),g.gzhead?(se(g,(g.gzhead.text?1:0)+(g.gzhead.hcrc?2:0)+(g.gzhead.extra?4:0)+(g.gzhead.name?8:0)+(g.gzhead.comment?16:0)),se(g,255&g.gzhead.time),se(g,g.gzhead.time>>8&255),se(g,g.gzhead.time>>16&255),se(g,g.gzhead.time>>24&255),se(g,g.level===9?2:2<=g.strategy||g.level<2?4:0),se(g,255&g.gzhead.os),g.gzhead.extra&&g.gzhead.extra.length&&(se(g,255&g.gzhead.extra.length),se(g,g.gzhead.extra.length>>8&255)),g.gzhead.hcrc&&(e.adler=y(e.adler,g.pending_buf,g.pending,0)),g.gzindex=0,g.status=69):(se(g,0),se(g,0),se(g,0),se(g,0),se(g,0),se(g,g.level===9?2:2<=g.strategy||g.level<2?4:0),se(g,3),g.status=$);else{var O=v+(g.w_bits-8<<4)<<8;O|=(2<=g.strategy||g.level<2?0:g.level<6?1:g.level===6?2:3)<<6,g.strstart!==0&&(O|=32),O+=31-O%31,g.status=$,te(g,O),g.strstart!==0&&(te(g,e.adler>>>16),te(g,65535&e.adler)),e.adler=1}if(g.status===69)if(g.gzhead.extra){for(d=g.pending;g.gzindex<(65535&g.gzhead.extra.length)&&(g.pending!==g.pending_buf_size||(g.gzhead.hcrc&&g.pending>d&&(e.adler=y(e.adler,g.pending_buf,g.pending-d,d)),E(e),d=g.pending,g.pending!==g.pending_buf_size));)se(g,255&g.gzhead.extra[g.gzindex]),g.gzindex++;g.gzhead.hcrc&&g.pending>d&&(e.adler=y(e.adler,g.pending_buf,g.pending-d,d)),g.gzindex===g.gzhead.extra.length&&(g.gzindex=0,g.status=73)}else g.status=73;if(g.status===73)if(g.gzhead.name){d=g.pending;do{if(g.pending===g.pending_buf_size&&(g.gzhead.hcrc&&g.pending>d&&(e.adler=y(e.adler,g.pending_buf,g.pending-d,d)),E(e),d=g.pending,g.pending===g.pending_buf_size)){z=1;break}z=g.gzindex<g.gzhead.name.length?255&g.gzhead.name.charCodeAt(g.gzindex++):0,se(g,z)}while(z!==0);g.gzhead.hcrc&&g.pending>d&&(e.adler=y(e.adler,g.pending_buf,g.pending-d,d)),z===0&&(g.gzindex=0,g.status=91)}else g.status=91;if(g.status===91)if(g.gzhead.comment){d=g.pending;do{if(g.pending===g.pending_buf_size&&(g.gzhead.hcrc&&g.pending>d&&(e.adler=y(e.adler,g.pending_buf,g.pending-d,d)),E(e),d=g.pending,g.pending===g.pending_buf_size)){z=1;break}z=g.gzindex<g.gzhead.comment.length?255&g.gzhead.comment.charCodeAt(g.gzindex++):0,se(g,z)}while(z!==0);g.gzhead.hcrc&&g.pending>d&&(e.adler=y(e.adler,g.pending_buf,g.pending-d,d)),z===0&&(g.status=103)}else g.status=103;if(g.status===103&&(g.gzhead.hcrc?(g.pending+2>g.pending_buf_size&&E(e),g.pending+2<=g.pending_buf_size&&(se(g,255&e.adler),se(g,e.adler>>8&255),e.adler=0,g.status=$)):g.status=$),g.pending!==0){if(E(e),e.avail_out===0)return g.last_flush=-1,s}else if(e.avail_in===0&&K(M)<=K(B)&&M!==p)return me(e,-5);if(g.status===666&&e.avail_in!==0)return me(e,-5);if(e.avail_in!==0||g.lookahead!==0||M!==b&&g.status!==666){var W=g.strategy===2?function(T,V){for(var J;;){if(T.lookahead===0&&(_e(T),T.lookahead===0)){if(V===b)return r;break}if(T.match_length=0,J=n._tr_tally(T,0,T.window[T.strstart]),T.lookahead--,T.strstart++,J&&(P(T,!1),T.strm.avail_out===0))return r}return T.insert=0,V===p?(P(T,!0),T.strm.avail_out===0?ee:j):T.last_lit&&(P(T,!1),T.strm.avail_out===0)?r:F}(g,M):g.strategy===3?function(T,V){for(var J,X,Q,ke,ve=T.window;;){if(T.lookahead<=q){if(_e(T),T.lookahead<=q&&V===b)return r;if(T.lookahead===0)break}if(T.match_length=0,T.lookahead>=D&&0<T.strstart&&(X=ve[Q=T.strstart-1])===ve[++Q]&&X===ve[++Q]&&X===ve[++Q]){ke=T.strstart+q;do;while(X===ve[++Q]&&X===ve[++Q]&&X===ve[++Q]&&X===ve[++Q]&&X===ve[++Q]&&X===ve[++Q]&&X===ve[++Q]&&X===ve[++Q]&&Q<ke);T.match_length=q-(ke-Q),T.match_length>T.lookahead&&(T.match_length=T.lookahead)}if(T.match_length>=D?(J=n._tr_tally(T,1,T.match_length-D),T.lookahead-=T.match_length,T.strstart+=T.match_length,T.match_length=0):(J=n._tr_tally(T,0,T.window[T.strstart]),T.lookahead--,T.strstart++),J&&(P(T,!1),T.strm.avail_out===0))return r}return T.insert=0,V===p?(P(T,!0),T.strm.avail_out===0?ee:j):T.last_lit&&(P(T,!1),T.strm.avail_out===0)?r:F}(g,M):h[g.level].func(g,M);if(W!==ee&&W!==j||(g.status=666),W===r||W===ee)return e.avail_out===0&&(g.last_flush=-1),s;if(W===F&&(M===1?n._tr_align(g):M!==5&&(n._tr_stored_block(g,0,0,!1),M===3&&(ce(g.head),g.lookahead===0&&(g.strstart=0,g.block_start=0,g.insert=0))),E(e),e.avail_out===0))return g.last_flush=-1,s}return M!==p?s:g.wrap<=0?1:(g.wrap===2?(se(g,255&e.adler),se(g,e.adler>>8&255),se(g,e.adler>>16&255),se(g,e.adler>>24&255),se(g,255&e.total_in),se(g,e.total_in>>8&255),se(g,e.total_in>>16&255),se(g,e.total_in>>24&255)):(te(g,e.adler>>>16),te(g,65535&e.adler)),E(e),0<g.wrap&&(g.wrap=-g.wrap),g.pending!==0?s:1)},x.deflateEnd=function(e){var M;return e&&e.state?(M=e.state.status)!==w&&M!==69&&M!==73&&M!==91&&M!==103&&M!==$&&M!==666?me(e,l):(e.state=null,M===$?me(e,-3):s):l},x.deflateSetDictionary=function(e,M){var B,g,d,z,O,W,T,V,J=M.length;if(!e||!e.state||(z=(B=e.state).wrap)===2||z===1&&B.status!==w||B.lookahead)return l;for(z===1&&(e.adler=m(e.adler,M,J,0)),B.wrap=0,J>=B.w_size&&(z===0&&(ce(B.head),B.strstart=0,B.block_start=0,B.insert=0),V=new u.Buf8(B.w_size),u.arraySet(V,M,J-B.w_size,B.w_size,0),M=V,J=B.w_size),O=e.avail_in,W=e.next_in,T=e.input,e.avail_in=J,e.next_in=0,e.input=M,_e(B);B.lookahead>=D;){for(g=B.strstart,d=B.lookahead-(D-1);B.ins_h=(B.ins_h<<B.hash_shift^B.window[g+D-1])&B.hash_mask,B.prev[g&B.w_mask]=B.head[B.ins_h],B.head[B.ins_h]=g,g++,--d;);B.strstart=g,B.lookahead=D-1,_e(B)}return B.strstart+=B.lookahead,B.block_start=B.strstart,B.insert=B.lookahead,B.lookahead=0,B.match_length=B.prev_length=D-1,B.match_available=0,e.next_in=W,e.input=T,e.avail_in=O,B.wrap=z,s},x.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(C,U,x){U.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(C,U,x){U.exports=function(h,u){var n,m,y,_,b,p,s,l,i,f,o,v,k,S,I,N,L,H,D,q,oe,w,$,r,F;n=h.state,m=h.next_in,r=h.input,y=m+(h.avail_in-5),_=h.next_out,F=h.output,b=_-(u-h.avail_out),p=_+(h.avail_out-257),s=n.dmax,l=n.wsize,i=n.whave,f=n.wnext,o=n.window,v=n.hold,k=n.bits,S=n.lencode,I=n.distcode,N=(1<<n.lenbits)-1,L=(1<<n.distbits)-1;e:do{k<15&&(v+=r[m++]<<k,k+=8,v+=r[m++]<<k,k+=8),H=S[v&N];t:for(;;){if(v>>>=D=H>>>24,k-=D,(D=H>>>16&255)===0)F[_++]=65535&H;else{if(!(16&D)){if((64&D)==0){H=S[(65535&H)+(v&(1<<D)-1)];continue t}if(32&D){n.mode=12;break e}h.msg="invalid literal/length code",n.mode=30;break e}q=65535&H,(D&=15)&&(k<D&&(v+=r[m++]<<k,k+=8),q+=v&(1<<D)-1,v>>>=D,k-=D),k<15&&(v+=r[m++]<<k,k+=8,v+=r[m++]<<k,k+=8),H=I[v&L];r:for(;;){if(v>>>=D=H>>>24,k-=D,!(16&(D=H>>>16&255))){if((64&D)==0){H=I[(65535&H)+(v&(1<<D)-1)];continue r}h.msg="invalid distance code",n.mode=30;break e}if(oe=65535&H,k<(D&=15)&&(v+=r[m++]<<k,(k+=8)<D&&(v+=r[m++]<<k,k+=8)),s<(oe+=v&(1<<D)-1)){h.msg="invalid distance too far back",n.mode=30;break e}if(v>>>=D,k-=D,(D=_-b)<oe){if(i<(D=oe-D)&&n.sane){h.msg="invalid distance too far back",n.mode=30;break e}if($=o,(w=0)===f){if(w+=l-D,D<q){for(q-=D;F[_++]=o[w++],--D;);w=_-oe,$=F}}else if(f<D){if(w+=l+f-D,(D-=f)<q){for(q-=D;F[_++]=o[w++],--D;);if(w=0,f<q){for(q-=D=f;F[_++]=o[w++],--D;);w=_-oe,$=F}}}else if(w+=f-D,D<q){for(q-=D;F[_++]=o[w++],--D;);w=_-oe,$=F}for(;2<q;)F[_++]=$[w++],F[_++]=$[w++],F[_++]=$[w++],q-=3;q&&(F[_++]=$[w++],1<q&&(F[_++]=$[w++]))}else{for(w=_-oe;F[_++]=F[w++],F[_++]=F[w++],F[_++]=F[w++],2<(q-=3););q&&(F[_++]=F[w++],1<q&&(F[_++]=F[w++]))}break}}break}}while(m<y&&_<p);m-=q=k>>3,v&=(1<<(k-=q<<3))-1,h.next_in=m,h.next_out=_,h.avail_in=m<y?y-m+5:5-(m-y),h.avail_out=_<p?p-_+257:257-(_-p),n.hold=v,n.bits=k}},{}],49:[function(C,U,x){var h=C("../utils/common"),u=C("./adler32"),n=C("./crc32"),m=C("./inffast"),y=C("./inftrees"),_=1,b=2,p=0,s=-2,l=1,i=852,f=592;function o(w){return(w>>>24&255)+(w>>>8&65280)+((65280&w)<<8)+((255&w)<<24)}function v(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new h.Buf16(320),this.work=new h.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function k(w){var $;return w&&w.state?($=w.state,w.total_in=w.total_out=$.total=0,w.msg="",$.wrap&&(w.adler=1&$.wrap),$.mode=l,$.last=0,$.havedict=0,$.dmax=32768,$.head=null,$.hold=0,$.bits=0,$.lencode=$.lendyn=new h.Buf32(i),$.distcode=$.distdyn=new h.Buf32(f),$.sane=1,$.back=-1,p):s}function S(w){var $;return w&&w.state?(($=w.state).wsize=0,$.whave=0,$.wnext=0,k(w)):s}function I(w,$){var r,F;return w&&w.state?(F=w.state,$<0?(r=0,$=-$):(r=1+($>>4),$<48&&($&=15)),$&&($<8||15<$)?s:(F.window!==null&&F.wbits!==$&&(F.window=null),F.wrap=r,F.wbits=$,S(w))):s}function N(w,$){var r,F;return w?(F=new v,(w.state=F).window=null,(r=I(w,$))!==p&&(w.state=null),r):s}var L,H,D=!0;function q(w){if(D){var $;for(L=new h.Buf32(512),H=new h.Buf32(32),$=0;$<144;)w.lens[$++]=8;for(;$<256;)w.lens[$++]=9;for(;$<280;)w.lens[$++]=7;for(;$<288;)w.lens[$++]=8;for(y(_,w.lens,0,288,L,0,w.work,{bits:9}),$=0;$<32;)w.lens[$++]=5;y(b,w.lens,0,32,H,0,w.work,{bits:5}),D=!1}w.lencode=L,w.lenbits=9,w.distcode=H,w.distbits=5}function oe(w,$,r,F){var ee,j=w.state;return j.window===null&&(j.wsize=1<<j.wbits,j.wnext=0,j.whave=0,j.window=new h.Buf8(j.wsize)),F>=j.wsize?(h.arraySet(j.window,$,r-j.wsize,j.wsize,0),j.wnext=0,j.whave=j.wsize):(F<(ee=j.wsize-j.wnext)&&(ee=F),h.arraySet(j.window,$,r-F,ee,j.wnext),(F-=ee)?(h.arraySet(j.window,$,r-F,F,0),j.wnext=F,j.whave=j.wsize):(j.wnext+=ee,j.wnext===j.wsize&&(j.wnext=0),j.whave<j.wsize&&(j.whave+=ee))),0}x.inflateReset=S,x.inflateReset2=I,x.inflateResetKeep=k,x.inflateInit=function(w){return N(w,15)},x.inflateInit2=N,x.inflate=function(w,$){var r,F,ee,j,me,K,ce,E,P,se,te,G,_e,ge,fe,he,ye,Be,Pe,Le,e,M,B,g,d=0,z=new h.Buf8(4),O=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!w||!w.state||!w.output||!w.input&&w.avail_in!==0)return s;(r=w.state).mode===12&&(r.mode=13),me=w.next_out,ee=w.output,ce=w.avail_out,j=w.next_in,F=w.input,K=w.avail_in,E=r.hold,P=r.bits,se=K,te=ce,M=p;e:for(;;)switch(r.mode){case l:if(r.wrap===0){r.mode=13;break}for(;P<16;){if(K===0)break e;K--,E+=F[j++]<<P,P+=8}if(2&r.wrap&&E===35615){z[r.check=0]=255&E,z[1]=E>>>8&255,r.check=n(r.check,z,2,0),P=E=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&E)<<8)+(E>>8))%31){w.msg="incorrect header check",r.mode=30;break}if((15&E)!=8){w.msg="unknown compression method",r.mode=30;break}if(P-=4,e=8+(15&(E>>>=4)),r.wbits===0)r.wbits=e;else if(e>r.wbits){w.msg="invalid window size",r.mode=30;break}r.dmax=1<<e,w.adler=r.check=1,r.mode=512&E?10:12,P=E=0;break;case 2:for(;P<16;){if(K===0)break e;K--,E+=F[j++]<<P,P+=8}if(r.flags=E,(255&r.flags)!=8){w.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){w.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=E>>8&1),512&r.flags&&(z[0]=255&E,z[1]=E>>>8&255,r.check=n(r.check,z,2,0)),P=E=0,r.mode=3;case 3:for(;P<32;){if(K===0)break e;K--,E+=F[j++]<<P,P+=8}r.head&&(r.head.time=E),512&r.flags&&(z[0]=255&E,z[1]=E>>>8&255,z[2]=E>>>16&255,z[3]=E>>>24&255,r.check=n(r.check,z,4,0)),P=E=0,r.mode=4;case 4:for(;P<16;){if(K===0)break e;K--,E+=F[j++]<<P,P+=8}r.head&&(r.head.xflags=255&E,r.head.os=E>>8),512&r.flags&&(z[0]=255&E,z[1]=E>>>8&255,r.check=n(r.check,z,2,0)),P=E=0,r.mode=5;case 5:if(1024&r.flags){for(;P<16;){if(K===0)break e;K--,E+=F[j++]<<P,P+=8}r.length=E,r.head&&(r.head.extra_len=E),512&r.flags&&(z[0]=255&E,z[1]=E>>>8&255,r.check=n(r.check,z,2,0)),P=E=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(K<(G=r.length)&&(G=K),G&&(r.head&&(e=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),h.arraySet(r.head.extra,F,j,G,e)),512&r.flags&&(r.check=n(r.check,F,G,j)),K-=G,j+=G,r.length-=G),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(K===0)break e;for(G=0;e=F[j+G++],r.head&&e&&r.length<65536&&(r.head.name+=String.fromCharCode(e)),e&&G<K;);if(512&r.flags&&(r.check=n(r.check,F,G,j)),K-=G,j+=G,e)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(K===0)break e;for(G=0;e=F[j+G++],r.head&&e&&r.length<65536&&(r.head.comment+=String.fromCharCode(e)),e&&G<K;);if(512&r.flags&&(r.check=n(r.check,F,G,j)),K-=G,j+=G,e)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;P<16;){if(K===0)break e;K--,E+=F[j++]<<P,P+=8}if(E!==(65535&r.check)){w.msg="header crc mismatch",r.mode=30;break}P=E=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),w.adler=r.check=0,r.mode=12;break;case 10:for(;P<32;){if(K===0)break e;K--,E+=F[j++]<<P,P+=8}w.adler=r.check=o(E),P=E=0,r.mode=11;case 11:if(r.havedict===0)return w.next_out=me,w.avail_out=ce,w.next_in=j,w.avail_in=K,r.hold=E,r.bits=P,2;w.adler=r.check=1,r.mode=12;case 12:if($===5||$===6)break e;case 13:if(r.last){E>>>=7&P,P-=7&P,r.mode=27;break}for(;P<3;){if(K===0)break e;K--,E+=F[j++]<<P,P+=8}switch(r.last=1&E,P-=1,3&(E>>>=1)){case 0:r.mode=14;break;case 1:if(q(r),r.mode=20,$!==6)break;E>>>=2,P-=2;break e;case 2:r.mode=17;break;case 3:w.msg="invalid block type",r.mode=30}E>>>=2,P-=2;break;case 14:for(E>>>=7&P,P-=7&P;P<32;){if(K===0)break e;K--,E+=F[j++]<<P,P+=8}if((65535&E)!=(E>>>16^65535)){w.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&E,P=E=0,r.mode=15,$===6)break e;case 15:r.mode=16;case 16:if(G=r.length){if(K<G&&(G=K),ce<G&&(G=ce),G===0)break e;h.arraySet(ee,F,j,G,me),K-=G,j+=G,ce-=G,me+=G,r.length-=G;break}r.mode=12;break;case 17:for(;P<14;){if(K===0)break e;K--,E+=F[j++]<<P,P+=8}if(r.nlen=257+(31&E),E>>>=5,P-=5,r.ndist=1+(31&E),E>>>=5,P-=5,r.ncode=4+(15&E),E>>>=4,P-=4,286<r.nlen||30<r.ndist){w.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;P<3;){if(K===0)break e;K--,E+=F[j++]<<P,P+=8}r.lens[O[r.have++]]=7&E,E>>>=3,P-=3}for(;r.have<19;)r.lens[O[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,B={bits:r.lenbits},M=y(0,r.lens,0,19,r.lencode,0,r.work,B),r.lenbits=B.bits,M){w.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;he=(d=r.lencode[E&(1<<r.lenbits)-1])>>>16&255,ye=65535&d,!((fe=d>>>24)<=P);){if(K===0)break e;K--,E+=F[j++]<<P,P+=8}if(ye<16)E>>>=fe,P-=fe,r.lens[r.have++]=ye;else{if(ye===16){for(g=fe+2;P<g;){if(K===0)break e;K--,E+=F[j++]<<P,P+=8}if(E>>>=fe,P-=fe,r.have===0){w.msg="invalid bit length repeat",r.mode=30;break}e=r.lens[r.have-1],G=3+(3&E),E>>>=2,P-=2}else if(ye===17){for(g=fe+3;P<g;){if(K===0)break e;K--,E+=F[j++]<<P,P+=8}P-=fe,e=0,G=3+(7&(E>>>=fe)),E>>>=3,P-=3}else{for(g=fe+7;P<g;){if(K===0)break e;K--,E+=F[j++]<<P,P+=8}P-=fe,e=0,G=11+(127&(E>>>=fe)),E>>>=7,P-=7}if(r.have+G>r.nlen+r.ndist){w.msg="invalid bit length repeat",r.mode=30;break}for(;G--;)r.lens[r.have++]=e}}if(r.mode===30)break;if(r.lens[256]===0){w.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,B={bits:r.lenbits},M=y(_,r.lens,0,r.nlen,r.lencode,0,r.work,B),r.lenbits=B.bits,M){w.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,B={bits:r.distbits},M=y(b,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,B),r.distbits=B.bits,M){w.msg="invalid distances set",r.mode=30;break}if(r.mode=20,$===6)break e;case 20:r.mode=21;case 21:if(6<=K&&258<=ce){w.next_out=me,w.avail_out=ce,w.next_in=j,w.avail_in=K,r.hold=E,r.bits=P,m(w,te),me=w.next_out,ee=w.output,ce=w.avail_out,j=w.next_in,F=w.input,K=w.avail_in,E=r.hold,P=r.bits,r.mode===12&&(r.back=-1);break}for(r.back=0;he=(d=r.lencode[E&(1<<r.lenbits)-1])>>>16&255,ye=65535&d,!((fe=d>>>24)<=P);){if(K===0)break e;K--,E+=F[j++]<<P,P+=8}if(he&&(240&he)==0){for(Be=fe,Pe=he,Le=ye;he=(d=r.lencode[Le+((E&(1<<Be+Pe)-1)>>Be)])>>>16&255,ye=65535&d,!(Be+(fe=d>>>24)<=P);){if(K===0)break e;K--,E+=F[j++]<<P,P+=8}E>>>=Be,P-=Be,r.back+=Be}if(E>>>=fe,P-=fe,r.back+=fe,r.length=ye,he===0){r.mode=26;break}if(32&he){r.back=-1,r.mode=12;break}if(64&he){w.msg="invalid literal/length code",r.mode=30;break}r.extra=15&he,r.mode=22;case 22:if(r.extra){for(g=r.extra;P<g;){if(K===0)break e;K--,E+=F[j++]<<P,P+=8}r.length+=E&(1<<r.extra)-1,E>>>=r.extra,P-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;he=(d=r.distcode[E&(1<<r.distbits)-1])>>>16&255,ye=65535&d,!((fe=d>>>24)<=P);){if(K===0)break e;K--,E+=F[j++]<<P,P+=8}if((240&he)==0){for(Be=fe,Pe=he,Le=ye;he=(d=r.distcode[Le+((E&(1<<Be+Pe)-1)>>Be)])>>>16&255,ye=65535&d,!(Be+(fe=d>>>24)<=P);){if(K===0)break e;K--,E+=F[j++]<<P,P+=8}E>>>=Be,P-=Be,r.back+=Be}if(E>>>=fe,P-=fe,r.back+=fe,64&he){w.msg="invalid distance code",r.mode=30;break}r.offset=ye,r.extra=15&he,r.mode=24;case 24:if(r.extra){for(g=r.extra;P<g;){if(K===0)break e;K--,E+=F[j++]<<P,P+=8}r.offset+=E&(1<<r.extra)-1,E>>>=r.extra,P-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){w.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(ce===0)break e;if(G=te-ce,r.offset>G){if((G=r.offset-G)>r.whave&&r.sane){w.msg="invalid distance too far back",r.mode=30;break}_e=G>r.wnext?(G-=r.wnext,r.wsize-G):r.wnext-G,G>r.length&&(G=r.length),ge=r.window}else ge=ee,_e=me-r.offset,G=r.length;for(ce<G&&(G=ce),ce-=G,r.length-=G;ee[me++]=ge[_e++],--G;);r.length===0&&(r.mode=21);break;case 26:if(ce===0)break e;ee[me++]=r.length,ce--,r.mode=21;break;case 27:if(r.wrap){for(;P<32;){if(K===0)break e;K--,E|=F[j++]<<P,P+=8}if(te-=ce,w.total_out+=te,r.total+=te,te&&(w.adler=r.check=r.flags?n(r.check,ee,te,me-te):u(r.check,ee,te,me-te)),te=ce,(r.flags?E:o(E))!==r.check){w.msg="incorrect data check",r.mode=30;break}P=E=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;P<32;){if(K===0)break e;K--,E+=F[j++]<<P,P+=8}if(E!==(4294967295&r.total)){w.msg="incorrect length check",r.mode=30;break}P=E=0}r.mode=29;case 29:M=1;break e;case 30:M=-3;break e;case 31:return-4;case 32:default:return s}return w.next_out=me,w.avail_out=ce,w.next_in=j,w.avail_in=K,r.hold=E,r.bits=P,(r.wsize||te!==w.avail_out&&r.mode<30&&(r.mode<27||$!==4))&&oe(w,w.output,w.next_out,te-w.avail_out)?(r.mode=31,-4):(se-=w.avail_in,te-=w.avail_out,w.total_in+=se,w.total_out+=te,r.total+=te,r.wrap&&te&&(w.adler=r.check=r.flags?n(r.check,ee,te,w.next_out-te):u(r.check,ee,te,w.next_out-te)),w.data_type=r.bits+(r.last?64:0)+(r.mode===12?128:0)+(r.mode===20||r.mode===15?256:0),(se==0&&te===0||$===4)&&M===p&&(M=-5),M)},x.inflateEnd=function(w){if(!w||!w.state)return s;var $=w.state;return $.window&&($.window=null),w.state=null,p},x.inflateGetHeader=function(w,$){var r;return w&&w.state?(2&(r=w.state).wrap)==0?s:((r.head=$).done=!1,p):s},x.inflateSetDictionary=function(w,$){var r,F=$.length;return w&&w.state?(r=w.state).wrap!==0&&r.mode!==11?s:r.mode===11&&u(1,$,F,0)!==r.check?-3:oe(w,$,F,F)?(r.mode=31,-4):(r.havedict=1,p):s},x.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(C,U,x){var h=C("../utils/common"),u=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],n=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],m=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],y=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];U.exports=function(_,b,p,s,l,i,f,o){var v,k,S,I,N,L,H,D,q,oe=o.bits,w=0,$=0,r=0,F=0,ee=0,j=0,me=0,K=0,ce=0,E=0,P=null,se=0,te=new h.Buf16(16),G=new h.Buf16(16),_e=null,ge=0;for(w=0;w<=15;w++)te[w]=0;for($=0;$<s;$++)te[b[p+$]]++;for(ee=oe,F=15;1<=F&&te[F]===0;F--);if(F<ee&&(ee=F),F===0)return l[i++]=20971520,l[i++]=20971520,o.bits=1,0;for(r=1;r<F&&te[r]===0;r++);for(ee<r&&(ee=r),w=K=1;w<=15;w++)if(K<<=1,(K-=te[w])<0)return-1;if(0<K&&(_===0||F!==1))return-1;for(G[1]=0,w=1;w<15;w++)G[w+1]=G[w]+te[w];for($=0;$<s;$++)b[p+$]!==0&&(f[G[b[p+$]]++]=$);if(L=_===0?(P=_e=f,19):_===1?(P=u,se-=257,_e=n,ge-=257,256):(P=m,_e=y,-1),w=r,N=i,me=$=E=0,S=-1,I=(ce=1<<(j=ee))-1,_===1&&852<ce||_===2&&592<ce)return 1;for(;;){for(H=w-me,q=f[$]<L?(D=0,f[$]):f[$]>L?(D=_e[ge+f[$]],P[se+f[$]]):(D=96,0),v=1<<w-me,r=k=1<<j;l[N+(E>>me)+(k-=v)]=H<<24|D<<16|q|0,k!==0;);for(v=1<<w-1;E&v;)v>>=1;if(v!==0?(E&=v-1,E+=v):E=0,$++,--te[w]==0){if(w===F)break;w=b[p+f[$]]}if(ee<w&&(E&I)!==S){for(me===0&&(me=ee),N+=r,K=1<<(j=w-me);j+me<F&&!((K-=te[j+me])<=0);)j++,K<<=1;if(ce+=1<<j,_===1&&852<ce||_===2&&592<ce)return 1;l[S=E&I]=ee<<24|j<<16|N-i|0}}return E!==0&&(l[N+E]=w-me<<24|64<<16|0),o.bits=ee,0}},{"../utils/common":41}],51:[function(C,U,x){U.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(C,U,x){var h=C("../utils/common"),u=0,n=1;function m(d){for(var z=d.length;0<=--z;)d[z]=0}var y=0,_=29,b=256,p=b+1+_,s=30,l=19,i=2*p+1,f=15,o=16,v=7,k=256,S=16,I=17,N=18,L=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],H=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],D=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],q=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],oe=new Array(2*(p+2));m(oe);var w=new Array(2*s);m(w);var $=new Array(512);m($);var r=new Array(256);m(r);var F=new Array(_);m(F);var ee,j,me,K=new Array(s);function ce(d,z,O,W,T){this.static_tree=d,this.extra_bits=z,this.extra_base=O,this.elems=W,this.max_length=T,this.has_stree=d&&d.length}function E(d,z){this.dyn_tree=d,this.max_code=0,this.stat_desc=z}function P(d){return d<256?$[d]:$[256+(d>>>7)]}function se(d,z){d.pending_buf[d.pending++]=255&z,d.pending_buf[d.pending++]=z>>>8&255}function te(d,z,O){d.bi_valid>o-O?(d.bi_buf|=z<<d.bi_valid&65535,se(d,d.bi_buf),d.bi_buf=z>>o-d.bi_valid,d.bi_valid+=O-o):(d.bi_buf|=z<<d.bi_valid&65535,d.bi_valid+=O)}function G(d,z,O){te(d,O[2*z],O[2*z+1])}function _e(d,z){for(var O=0;O|=1&d,d>>>=1,O<<=1,0<--z;);return O>>>1}function ge(d,z,O){var W,T,V=new Array(f+1),J=0;for(W=1;W<=f;W++)V[W]=J=J+O[W-1]<<1;for(T=0;T<=z;T++){var X=d[2*T+1];X!==0&&(d[2*T]=_e(V[X]++,X))}}function fe(d){var z;for(z=0;z<p;z++)d.dyn_ltree[2*z]=0;for(z=0;z<s;z++)d.dyn_dtree[2*z]=0;for(z=0;z<l;z++)d.bl_tree[2*z]=0;d.dyn_ltree[2*k]=1,d.opt_len=d.static_len=0,d.last_lit=d.matches=0}function he(d){8<d.bi_valid?se(d,d.bi_buf):0<d.bi_valid&&(d.pending_buf[d.pending++]=d.bi_buf),d.bi_buf=0,d.bi_valid=0}function ye(d,z,O,W){var T=2*z,V=2*O;return d[T]<d[V]||d[T]===d[V]&&W[z]<=W[O]}function Be(d,z,O){for(var W=d.heap[O],T=O<<1;T<=d.heap_len&&(T<d.heap_len&&ye(z,d.heap[T+1],d.heap[T],d.depth)&&T++,!ye(z,W,d.heap[T],d.depth));)d.heap[O]=d.heap[T],O=T,T<<=1;d.heap[O]=W}function Pe(d,z,O){var W,T,V,J,X=0;if(d.last_lit!==0)for(;W=d.pending_buf[d.d_buf+2*X]<<8|d.pending_buf[d.d_buf+2*X+1],T=d.pending_buf[d.l_buf+X],X++,W===0?G(d,T,z):(G(d,(V=r[T])+b+1,z),(J=L[V])!==0&&te(d,T-=F[V],J),G(d,V=P(--W),O),(J=H[V])!==0&&te(d,W-=K[V],J)),X<d.last_lit;);G(d,k,z)}function Le(d,z){var O,W,T,V=z.dyn_tree,J=z.stat_desc.static_tree,X=z.stat_desc.has_stree,Q=z.stat_desc.elems,ke=-1;for(d.heap_len=0,d.heap_max=i,O=0;O<Q;O++)V[2*O]!==0?(d.heap[++d.heap_len]=ke=O,d.depth[O]=0):V[2*O+1]=0;for(;d.heap_len<2;)V[2*(T=d.heap[++d.heap_len]=ke<2?++ke:0)]=1,d.depth[T]=0,d.opt_len--,X&&(d.static_len-=J[2*T+1]);for(z.max_code=ke,O=d.heap_len>>1;1<=O;O--)Be(d,V,O);for(T=Q;O=d.heap[1],d.heap[1]=d.heap[d.heap_len--],Be(d,V,1),W=d.heap[1],d.heap[--d.heap_max]=O,d.heap[--d.heap_max]=W,V[2*T]=V[2*O]+V[2*W],d.depth[T]=(d.depth[O]>=d.depth[W]?d.depth[O]:d.depth[W])+1,V[2*O+1]=V[2*W+1]=T,d.heap[1]=T++,Be(d,V,1),2<=d.heap_len;);d.heap[--d.heap_max]=d.heap[1],function(ve,Re){var st,Ue,Ze,Se,ot,xt,He=Re.dyn_tree,yt=Re.max_code,ht=Re.stat_desc.static_tree,Tt=Re.stat_desc.has_stree,Pt=Re.stat_desc.extra_bits,at=Re.stat_desc.extra_base,lt=Re.stat_desc.max_length,mt=0;for(Se=0;Se<=f;Se++)ve.bl_count[Se]=0;for(He[2*ve.heap[ve.heap_max]+1]=0,st=ve.heap_max+1;st<i;st++)lt<(Se=He[2*He[2*(Ue=ve.heap[st])+1]+1]+1)&&(Se=lt,mt++),He[2*Ue+1]=Se,yt<Ue||(ve.bl_count[Se]++,ot=0,at<=Ue&&(ot=Pt[Ue-at]),xt=He[2*Ue],ve.opt_len+=xt*(Se+ot),Tt&&(ve.static_len+=xt*(ht[2*Ue+1]+ot)));if(mt!==0){do{for(Se=lt-1;ve.bl_count[Se]===0;)Se--;ve.bl_count[Se]--,ve.bl_count[Se+1]+=2,ve.bl_count[lt]--,mt-=2}while(0<mt);for(Se=lt;Se!==0;Se--)for(Ue=ve.bl_count[Se];Ue!==0;)yt<(Ze=ve.heap[--st])||(He[2*Ze+1]!==Se&&(ve.opt_len+=(Se-He[2*Ze+1])*He[2*Ze],He[2*Ze+1]=Se),Ue--)}}(d,z),ge(V,ke,d.bl_count)}function e(d,z,O){var W,T,V=-1,J=z[1],X=0,Q=7,ke=4;for(J===0&&(Q=138,ke=3),z[2*(O+1)+1]=65535,W=0;W<=O;W++)T=J,J=z[2*(W+1)+1],++X<Q&&T===J||(X<ke?d.bl_tree[2*T]+=X:T!==0?(T!==V&&d.bl_tree[2*T]++,d.bl_tree[2*S]++):X<=10?d.bl_tree[2*I]++:d.bl_tree[2*N]++,V=T,ke=(X=0)===J?(Q=138,3):T===J?(Q=6,3):(Q=7,4))}function M(d,z,O){var W,T,V=-1,J=z[1],X=0,Q=7,ke=4;for(J===0&&(Q=138,ke=3),W=0;W<=O;W++)if(T=J,J=z[2*(W+1)+1],!(++X<Q&&T===J)){if(X<ke)for(;G(d,T,d.bl_tree),--X!=0;);else T!==0?(T!==V&&(G(d,T,d.bl_tree),X--),G(d,S,d.bl_tree),te(d,X-3,2)):X<=10?(G(d,I,d.bl_tree),te(d,X-3,3)):(G(d,N,d.bl_tree),te(d,X-11,7));V=T,ke=(X=0)===J?(Q=138,3):T===J?(Q=6,3):(Q=7,4)}}m(K);var B=!1;function g(d,z,O,W){te(d,(y<<1)+(W?1:0),3),function(T,V,J,X){he(T),se(T,J),se(T,~J),h.arraySet(T.pending_buf,T.window,V,J,T.pending),T.pending+=J}(d,z,O)}x._tr_init=function(d){B||(function(){var z,O,W,T,V,J=new Array(f+1);for(T=W=0;T<_-1;T++)for(F[T]=W,z=0;z<1<<L[T];z++)r[W++]=T;for(r[W-1]=T,T=V=0;T<16;T++)for(K[T]=V,z=0;z<1<<H[T];z++)$[V++]=T;for(V>>=7;T<s;T++)for(K[T]=V<<7,z=0;z<1<<H[T]-7;z++)$[256+V++]=T;for(O=0;O<=f;O++)J[O]=0;for(z=0;z<=143;)oe[2*z+1]=8,z++,J[8]++;for(;z<=255;)oe[2*z+1]=9,z++,J[9]++;for(;z<=279;)oe[2*z+1]=7,z++,J[7]++;for(;z<=287;)oe[2*z+1]=8,z++,J[8]++;for(ge(oe,p+1,J),z=0;z<s;z++)w[2*z+1]=5,w[2*z]=_e(z,5);ee=new ce(oe,L,b+1,p,f),j=new ce(w,H,0,s,f),me=new ce(new Array(0),D,0,l,v)}(),B=!0),d.l_desc=new E(d.dyn_ltree,ee),d.d_desc=new E(d.dyn_dtree,j),d.bl_desc=new E(d.bl_tree,me),d.bi_buf=0,d.bi_valid=0,fe(d)},x._tr_stored_block=g,x._tr_flush_block=function(d,z,O,W){var T,V,J=0;0<d.level?(d.strm.data_type===2&&(d.strm.data_type=function(X){var Q,ke=4093624447;for(Q=0;Q<=31;Q++,ke>>>=1)if(1&ke&&X.dyn_ltree[2*Q]!==0)return u;if(X.dyn_ltree[18]!==0||X.dyn_ltree[20]!==0||X.dyn_ltree[26]!==0)return n;for(Q=32;Q<b;Q++)if(X.dyn_ltree[2*Q]!==0)return n;return u}(d)),Le(d,d.l_desc),Le(d,d.d_desc),J=function(X){var Q;for(e(X,X.dyn_ltree,X.l_desc.max_code),e(X,X.dyn_dtree,X.d_desc.max_code),Le(X,X.bl_desc),Q=l-1;3<=Q&&X.bl_tree[2*q[Q]+1]===0;Q--);return X.opt_len+=3*(Q+1)+5+5+4,Q}(d),T=d.opt_len+3+7>>>3,(V=d.static_len+3+7>>>3)<=T&&(T=V)):T=V=O+5,O+4<=T&&z!==-1?g(d,z,O,W):d.strategy===4||V===T?(te(d,2+(W?1:0),3),Pe(d,oe,w)):(te(d,4+(W?1:0),3),function(X,Q,ke,ve){var Re;for(te(X,Q-257,5),te(X,ke-1,5),te(X,ve-4,4),Re=0;Re<ve;Re++)te(X,X.bl_tree[2*q[Re]+1],3);M(X,X.dyn_ltree,Q-1),M(X,X.dyn_dtree,ke-1)}(d,d.l_desc.max_code+1,d.d_desc.max_code+1,J+1),Pe(d,d.dyn_ltree,d.dyn_dtree)),fe(d),W&&he(d)},x._tr_tally=function(d,z,O){return d.pending_buf[d.d_buf+2*d.last_lit]=z>>>8&255,d.pending_buf[d.d_buf+2*d.last_lit+1]=255&z,d.pending_buf[d.l_buf+d.last_lit]=255&O,d.last_lit++,z===0?d.dyn_ltree[2*O]++:(d.matches++,z--,d.dyn_ltree[2*(r[O]+b+1)]++,d.dyn_dtree[2*P(z)]++),d.last_lit===d.lit_bufsize-1},x._tr_align=function(d){te(d,2,3),G(d,k,oe),function(z){z.bi_valid===16?(se(z,z.bi_buf),z.bi_buf=0,z.bi_valid=0):8<=z.bi_valid&&(z.pending_buf[z.pending++]=255&z.bi_buf,z.bi_buf>>=8,z.bi_valid-=8)}(d)}},{"../utils/common":41}],53:[function(C,U,x){U.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(C,U,x){(function(h){(function(u,n){if(!u.setImmediate){var m,y,_,b,p=1,s={},l=!1,i=u.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(u);f=f&&f.setTimeout?f:u,m={}.toString.call(u.process)==="[object process]"?function(S){process.nextTick(function(){v(S)})}:function(){if(u.postMessage&&!u.importScripts){var S=!0,I=u.onmessage;return u.onmessage=function(){S=!1},u.postMessage("","*"),u.onmessage=I,S}}()?(b="setImmediate$"+Math.random()+"$",u.addEventListener?u.addEventListener("message",k,!1):u.attachEvent("onmessage",k),function(S){u.postMessage(b+S,"*")}):u.MessageChannel?((_=new MessageChannel).port1.onmessage=function(S){v(S.data)},function(S){_.port2.postMessage(S)}):i&&"onreadystatechange"in i.createElement("script")?(y=i.documentElement,function(S){var I=i.createElement("script");I.onreadystatechange=function(){v(S),I.onreadystatechange=null,y.removeChild(I),I=null},y.appendChild(I)}):function(S){setTimeout(v,0,S)},f.setImmediate=function(S){typeof S!="function"&&(S=new Function(""+S));for(var I=new Array(arguments.length-1),N=0;N<I.length;N++)I[N]=arguments[N+1];var L={callback:S,args:I};return s[p]=L,m(p),p++},f.clearImmediate=o}function o(S){delete s[S]}function v(S){if(l)setTimeout(v,0,S);else{var I=s[S];if(I){l=!0;try{(function(N){var L=N.callback,H=N.args;switch(H.length){case 0:L();break;case 1:L(H[0]);break;case 2:L(H[0],H[1]);break;case 3:L(H[0],H[1],H[2]);break;default:L.apply(n,H)}})(I)}finally{o(S),l=!1}}}}
12function k(S){S.source===u&&typeof S.data=="string"&&S.data.indexOf(b)===0&&v(+S.data.slice(b.length))}})(typeof self>"u"?h===void 0?this:h:self)}).call(this,typeof Ct<"u"?Ct:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})}(Wt)),Wt.exports}var fr=pr();const hr=ar(fr),mr={class:"bg-white dark:bg-gray-800 rounded-3xl p-5 border border-slate-200/80 dark:border-gray-700 shadow-sm flex flex-wrap items-center justify-between gap-3"},gr={class:"flex items-center gap-3 flex-1 min-w-[240px]"},vr={class:"flex items-center gap-1.5 flex-1"},br={class:"flex items-center gap-2 flex-wrap"},xr=["disabled"],yr=["href"],wr={class:"bg-white dark:bg-gray-800 rounded-3xl p-6 border border-slate-200/80 dark:border-gray-700 shadow-sm space-y-6"},_r={class:"text-xl font-extrabold text-slate-900 dark:text-gray-100 flex flex-wrap items-center gap-2"},kr={class:"px-2.5 py-0.5 rounded-full text-xs font-bold bg-blue-100 text-blue-700 dark:bg-blue-900/40 dark:text-blue-300"},Cr={class:"flex flex-wrap items-center gap-2.5 shrink-0"},zr={class:"flex items-center bg-slate-100 dark:bg-gray-700/80 p-1 rounded-2xl border border-slate-200/80 dark:border-gray-600"},Sr=["disabled"],Ir=["disabled"],Ar={class:"space-y-1.5"},Tr=["value"],Pr={class:"text-[11px] text-slate-400 leading-tight"},Er={class:"space-y-1.5"},Br=["value"],Dr={class:"space-y-1.5"},Fr=["value"],Lr={class:"space-y-1.5"},$r={key:0,class:"pt-2 border-t border-slate-100 dark:border-gray-700 space-y-2"},Mr={class:"flex items-center justify-between"},Rr={class:"text-[11px] text-blue-600 dark:text-blue-400 font-bold"},Nr={class:"flex flex-wrap items-center gap-2"},Or=["onClick"],Wr={key:1,class:"mt-2 flex items-center justify-between text-xs text-blue-700 dark:text-blue-300 bg-blue-50/70 dark:bg-blue-950/40 px-3.5 py-2.5 rounded-xl border border-blue-200/60 dark:border-blue-800/40"},jr={key:2,class:"mt-2 flex items-center justify-between text-xs text-indigo-700 dark:text-indigo-300 bg-indigo-50/70 dark:bg-indigo-950/40 px-3.5 py-2.5 rounded-xl border border-indigo-200/60 dark:border-indigo-800/40"},Ur={class:"bg-white dark:bg-gray-800 rounded-3xl p-6 border border-slate-200/80 dark:border-gray-700 shadow-sm"},Zr={class:"space-y-4"},Hr={class:"h-8 flex items-center justify-between"},qr={class:"text-sm font-bold text-slate-800 dark:text-slate-200 flex items-center gap-2"},Gr={class:"flex items-center gap-2"},Vr={class:"text-slate-700 dark:text-slate-200"},Kr={class:"text-slate-700 dark:text-slate-200"},Xr={class:"space-y-3"},Yr={key:0,class:"space-y-1"},Jr={class:"flex items-center justify-between"},Qr={class:"flex items-center gap-1 bg-slate-100 dark:bg-gray-700 p-0.5 rounded-md"},ea={class:"text-[10px] text-slate-400 px-1"},ta={class:"space-y-1"},ra={class:"flex items-center justify-between"},aa={class:"flex items-center gap-1 bg-slate-100 dark:bg-gray-700 p-0.5 rounded-md"},ia={class:"text-[10px] text-slate-400 px-1"},na={key:1,class:"space-y-1"},sa={class:"flex items-center justify-between"},oa={class:"flex items-center gap-1 bg-slate-100 dark:bg-gray-700 p-0.5 rounded-md"},la={class:"text-[10px] text-slate-400 px-1"},da={key:2,class:"space-y-1"},ua={class:"flex items-center justify-between"},ca={class:"flex items-center gap-1 bg-slate-100 dark:bg-gray-700 p-0.5 rounded-md"},pa={class:"text-[10px] text-slate-400 px-1"},fa={key:3,class:"space-y-1"},ha={class:"flex items-center justify-between"},ma={class:"flex items-center gap-1 bg-slate-100 dark:bg-gray-700 p-0.5 rounded-md"},ga={class:"text-[10px] text-slate-400 px-1"},va={class:"flex flex-wrap gap-1.5 pt-1"},ba={key:0,class:"space-y-3"},xa={class:"h-8 flex flex-wrap items-center justify-between gap-2"},ya={class:"text-sm font-bold text-slate-800 dark:text-slate-200 flex items-center gap-2"},wa={key:0,class:"px-2 py-0.5 rounded-full text-[10px] bg-blue-100 dark:bg-blue-900/60 text-blue-700 dark:text-blue-300 font-bold border border-blue-200 dark:border-blue-700/50"},_a={class:"flex items-center gap-2"},ka={class:"flex items-center gap-1 bg-slate-100 dark:bg-gray-700 p-0.5 rounded-lg border border-slate-200 dark:border-gray-600"},Ca={class:"space-y-3 p-4 rounded-2xl bg-slate-50 dark:bg-gray-900/50 border border-slate-200/60 dark:border-gray-700/60"},za={class:"flex flex-wrap items-center justify-between gap-2 text-[11px] pb-2 border-b border-slate-200/60 dark:border-gray-700/60"},Sa={class:"flex items-center gap-2"},Ia={class:"font-bold text-slate-700 dark:text-slate-300"},Aa={class:"flex items-center gap-2"},Ta=["value"],Pa=["value"],Ea={class:"flex items-center justify-between text-[11px] pb-2 border-b border-slate-200/60 dark:border-gray-700/60"},Ba={class:"flex flex-wrap items-center gap-3"},Da={class:"flex items-center gap-1"},Fa=["value"],La={class:"flex items-center gap-1"},$a=["value"],Ma={class:"flex items-center justify-between text-[11px] pt-1"},Ra={class:"flex items-center gap-2 cursor-pointer select-none"},Na=["checked"],Oa={key:0,class:"p-2 rounded-xl bg-amber-50 dark:bg-amber-950/40 text-amber-800 dark:text-amber-300 text-[11px] leading-relaxed border border-amber-200 dark:border-amber-900"},Wa={class:"space-y-2"},ja={class:"flex items-center justify-between text-[11px]"}
12,Ua={class:"text-slate-600 dark:text-slate-400"},Za={class:"flex items-center gap-1.5"},Ha={key:0,class:"text-emerald-600 font-bold flex items-center gap-1"},qa={key:0,class:"font-mono text-[10px] font-normal text-slate-500 bg-slate-200/60 dark:bg-gray-800 dark:text-slate-400 px-1.5 py-0.5 rounded border border-slate-300/60 dark:border-gray-700"},Ga={key:1,class:"text-amber-600 font-semibold flex items-center gap-1"},Va={key:2,class:"text-slate-400"},Ka={class:"flex items-center gap-2"},Xa={key:1,class:"h-full flex flex-col items-center justify-center p-8 rounded-2xl bg-slate-50 dark:bg-gray-900/50 border border-slate-200/60 dark:border-gray-700/60 text-center space-y-3 text-slate-400"},Ya={key:2,class:"h-full flex flex-col items-center justify-center p-8 rounded-2xl bg-slate-50 dark:bg-gray-900/50 border border-slate-200/60 dark:border-gray-700/60 text-center space-y-3 text-slate-400"},Ja={class:"flex flex-wrap items-center justify-between gap-3"},Qa={class:"text-base font-extrabold text-slate-900 dark:text-gray-100 flex items-center gap-2"},ei={class:"text-xs font-normal text-slate-500 dark:text-slate-400"},ti={class:"flex items-center gap-2"},ri={class:"flex items-center bg-slate-200/70 dark:bg-gray-700/80 p-1 rounded-2xl border border-slate-300/80 dark:border-gray-600"},ai={class:"text-xs font-mono font-bold text-slate-400"},ii={key:0,class:"flex items-center justify-between px-2"},ni={class:"flex items-center gap-2"},si={class:"px-2.5 py-0.5 rounded-lg bg-blue-600 text-white text-xs font-bold"},oi={key:0,class:"text-[11px] text-emerald-600 dark:text-emerald-400 font-bold"},li=["onClick"],di={class:"w-full overflow-hidden flex flex-col items-center justify-start"},ui=["id"],ci={key:0,class:"absolute -top-32 left-1/3 -translate-x-1/2 w-[700px] h-[350px] bg-blue-600/20 rounded-full blur-[100px] pointer-events-none"},pi={key:1,class:"absolute -bottom-32 right-10 w-[500px] h-[300px] bg-indigo-600/20 rounded-full blur-[90px] pointer-events-none"},fi={key:2,class:"absolute top-0 right-0 w-[600px] h-[600px] bg-emerald-400/10 rounded-full blur-[120px] pointer-events-none"},hi={class:"relative z-10 space-y-3.5 my-auto max-w-[416px] mx-auto"},mi={class:"flex flex-nowrap items-center justify-center gap-1.5"},gi={class:"relative z-10 space-y-1.5 pt-2.5 pb-0.5 w-full border-t border-white/10"},vi={class:"flex items-center justify-center gap-2.5 text-slate-200"},bi=["src"],xi=["src"],yi={class:"relative z-10 flex flex-col items-center justify-center text-center space-y-6 my-auto max-w-[1000px] mx-auto"},wi={class:"flex flex-wrap items-center justify-center gap-3 pt-2"},_i={class:"relative z-10 pt-4 border-t border-white/10 flex items-center justify-between text-xs opacity-75 font-medium"},ki={class:"flex items-center gap-3 text-slate-200"},Ci=["src"],zi=["src"],Si={class:"relative z-10 flex items-center my-auto py-2"},Ii={class:"max-w-[55%] space-y-6"},Ai={key:0,class:"pt-2"},Ti={key:1,class:"flex flex-wrap items-center gap-2 pt-2"},Pi=["src"],Ei={key:1,class:"p-6 text-center space-y-3 text-slate-400"},Bi={class:"space-y-1"},Di={class:"text-xs font-mono font-bold text-blue-400 mt-1"},Fi={class:"flex-1 flex items-center justify-center overflow-hidden relative"},Li=["src"],$i={key:1,class:"p-6 text-center space-y-2 text-slate-400"},Mi={class:"text-xs font-mono font-bold text-blue-400"},Ri={width:"0",height:"0",style:{position:"absolute",overflow:"hidden"},"aria-hidden":"true"},Ni=450,Oi=700,Wi=720,ji=480,sn=jt({__name:"Edit",props:{project:{},projects:{}},setup(nt){const Ve=nt,C=[{title:"管理后台",href:route("admin.dashboard")},{title:"设计方案列表",href:route("admin.promos.index")},{title:`编辑方案: ${Ve.project.name}`,href:route("admin.promos.edit",Ve.project.id)}],U={store_1280_800:{key:"store_1280_800",name:"商店排版主图 (1280 × 800)",width:1280,height:800,ratio:"16:10",desc:"Chrome Web Store & Edge 插件商店主要截图",popupRecSize:"420 × 640 px",webRecSize:"720 × 480 px"},tile_440_280:{key:"tile_440_280",name:"小型宣传图块 (440 × 280)",width:440,height:280,ratio:"11:7",desc:"Chrome 商店搜索列表推荐位的小图块 (推荐 JPEG / 24-bit 无 alpha)",popupRecSize:"180 × 220 px",webRecSize:"240 × 160 px"},marquee_1400_560:{key:"marquee_1400_560",name:"顶部横幅图块 (1400 × 560)",width:1400,height:560,ratio:"5:2",desc:"Chrome/Edge 首页大屏轮播纯文字宣发横幅 (推荐 JPEG / 24-bit 无 alpha)",popupRecSize:"340 × 440 px",webRecSize:"640 × 380 px"}},x=Ee("store_1280_800"),h=We(()=>U[x.value]),u=Ee("single"),n=We(()=>u.value==="all"?b:b.filter(c=>
12c.code===p.value)),m={indigo_dark:{key:"indigo_dark",name:"🌌 极光蓝深色 (品牌原色)",bgClass:"bg-gradient-to-br from-slate-950 via-slate-900 to-indigo-950 text-white",badgeClass:"bg-blue-600/30 text-blue-300 border border-blue-400/30 backdrop-blur-md",titleClass:"text-white",subClass:"text-slate-300",cardClass:"bg-slate-900/90 border border-slate-700/80 shadow-2xl backdrop-blur-xl",pillClass:"bg-slate-800/90 text-slate-200 border border-slate-700/60",bgStyle:{background:"linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e1b4b 100%)",color:"#ffffff"},badgeStyle:{backgroundColor:"rgba(37, 99, 235, 0.3)",color:"#93c5fd",borderColor:"rgba(96, 165, 250, 0.3)"},cardStyle:{backgroundColor:"rgba(15, 23, 42, 0.9)",borderColor:"rgba(51, 65, 85, 0.8)"},pillStyle:{backgroundColor:"rgba(30, 41, 59, 0.9)",color:"#e2e8f0",borderColor:"rgba(51, 65, 85, 0.6)"}},mint_light:{key:"mint_light",name:"🍃 薄荷绿风 (清新竞品感)",bgClass:"bg-gradient-to-br from-emerald-50/80 via-slate-50 to-blue-50/80 text-slate-900",badgeClass:"bg-emerald-100 text-emerald-800 border border-emerald-200/80",titleClass:"text-slate-900",subClass:"text-slate-600",cardClass:"bg-white/95 border border-slate-200/90 shadow-xl backdrop-blur-lg",pillClass:"bg-white text-slate-700 border border-slate-200",bgStyle:{background:"linear-gradient(135deg, #ecfdf5 0%, #f8fafc 50%, #eff6ff 100%)",color:"#0f172a"},badgeStyle:{backgroundColor:"#d1fae5",color:"#065f46",borderColor:"rgba(167, 243, 208, 0.8)"},cardStyle:{backgroundColor:"rgba(255, 255, 255, 0.95)",borderColor:"rgba(226, 232, 240, 0.9)"},pillStyle:{backgroundColor:"#ffffff",color:"#334155",borderColor:"#e2e8f0"}},apple_white:{key:"apple_white",name:"🍎 苹果极简白 (简约纯白)",bgClass:"bg-white text-slate-900 border border-slate-100",badgeClass:"bg-slate-100 text-slate-800 border border-slate-200",titleClass:"text-slate-900",subClass:"text-slate-500",cardClass:"bg-slate-50/90 border border-slate-200/80 shadow-lg",pillClass:"bg-slate-100 text-slate-700 border border-slate-200",bgStyle:{backgroundColor:"#ffffff",color:"#0f172a"},badgeStyle:{backgroundColor:"#f1f5f9",color:"#1e293b",borderColor:"#e2e8f0"},cardStyle:{backgroundColor:"rgba(248, 250, 252, 0.9)",borderColor:"rgba(226, 232, 240, 0.8)"},pillStyle:{backgroundColor:"#f1f5f9",color:"#334155",borderColor:"#e2e8f0"}}},y=Ee("indigo_dark"),_=We(()=>m[y.value]),b=[{code:"zh-CN",name:"简体中文"},{code:"zh-TW",name:"繁體中文"},{code:"en",name:"English"},{code:"ja",name:"日本語"},{code:"ko",name:"한국어"},{code:"es",name:"Español"},{code:"de",name:"Deutsch"},{code:"fr",name:"Français"},{code:"pt-BR",name:"Português (Brasil)"}],p=Ee("zh-CN"),s=Ee([{id:1,name:"Slide 1: 核心功能 / 一键与批量导出",data:{badge:{"zh-CN":"🚀 全能 AI 导出 · 支持批量打包","zh-TW":"🚀 全能 AI 匯出 · 支持批量打包",en:"🚀 Universal & Batch AI Chat Exporter",ja:"🚀 AI チャット一括&個別保存ツール",ko:"🚀 올인원 AI 대화 내보내기 & 일괄 다운로드",es:"🚀 Exportador Universal de Chats de IA por Lotes",de:"🚀 Universeller & Batch-KI-Chat-Exporter",fr:"🚀 Exportateur Universel & par Lot de Chats IA","pt-BR":"🚀 Exportador Universal & em Lote de Chats de IA"},title:{"zh-CN":"一键 & 批量导出 AI 对话","zh-TW":"一鍵 & 批量匯出 AI 對話",en:"Export & Batch Download AI Chats",ja:"AI 対話の一括&ワンクリック保存",ko:"AI 대화 원클릭 & 일괄 내보내기",es:"Exportar Chats de IA por Lotes o Un Clic",de:"KI-Chats Einzeln & im Batch Exportieren",fr:"Exporter & Télécharger par Lot les Chats IA","pt-BR":"Exportar Chats de IA em Lote ou Um Clique"},subtitle:{"zh-CN":"一键将单篇或批量历史会话无损导出为 PDF、Word、Markdown、ZIP 压缩包及 Notion。","zh-TW":"一鍵將單篇或批量歷史對話無損匯出為 PDF、Word、Markdown、ZIP 壓縮包及 Notion。",en:"Convert single chats or batch download entire history into PDF, Word, Markdown, ZIP & Notion.",ja:"単一チャットから履歴全体の一括エクスポートまで、PDF、Word、Markdown、ZIP、Notion に対å¿
12œã€‚",ko:"단일 대화 및 전체 대화 기록을 PDF, Word, Markdown, ZIP 압축파일 및 Notion으로 즉시 내보내세요.",es:"Exporte chats individuales o descargue por lotes todo el historial en PDF, Word, Markdown, ZIP y Notion.",de:"Konvertieren Sie einzelne Chats oder den gesamten Verlauf in PDF, Word, Markdown, ZIP und Notion.",fr:"Convertissez des chats individuels ou l'historique complet en PDF, Word, Markdown, ZIP et Notion.","pt-BR":"Exporte conversas individuais ou baixe em lote todo o histórico em PDF, Word, Markdown, ZIP e Notion."},formats:["PDF","Markdown","Word","ZIP 打包","Notion","TXT"]}},{id:2,name:"Slide 2: 批量导出 / 历史多选打包",data:{badge:{"zh-CN":"行业首创 · 批量导出神器","zh-TW":"行業首創 · 批量匯出神器",en:"First-Ever Batch AI Chat Exporter",ja:"業界初・AI チャット一括保存",ko:"업계 최초 AI 대화 일괄 내보내기",es:"Primer Exportador por Lotes de Chats de IA",de:"Erster Batch-Exporter für KI-Chats",fr:"Premier Exportateur par Lot de Chats IA","pt-BR":"Primeiro Exportador em Lote de Chats de IA"},title:{"zh-CN":"一键批量打包历史会话","zh-TW":"一鍵批量打包歷史對話",en:"Batch Download AI Conversations",ja:"履歴チャットを一括で自動ダウンロード",ko:"대화 기록 원클릭 일괄 압축 다운로드",es:"Descarga por Lotes Conversaciones de IA",de:"KI-Konversationen im Batch Herunterladen",fr:"Téléchargez par Lot vos Conversations IA","pt-BR":"Baixe em Lote suas Conversas de IA"},subtitle:{"zh-CN":"告别逐篇手动复制!侧边栏智能多选数十篇历史对话,自动打包为独立 ZIP 压缩包或合并为单份 Word/PDF。","zh-TW":"告別逐篇手動複製!側邊欄智慧多選數十篇歷史對話,自動打包為獨立 ZIP 壓縮包或合併為單份 Word/PDF。",en:"Say goodbye to repetitive manual exports! Multi-select dozens of past chats in the side panel to bundle into standalone ZIP files or merged Word/PDF docs.",ja:"手動コピーの手間から解放!サイドバーで過去のチャットを複数選択し、ZIP 一括アーカイブや結合 Word/PDF として瞬時に保存。",ko:"하나씩 복사하던 번거로움은 이제 그만! 사이드패널에서 여러 대화를 한 번에 선택하여 ZIP 압축 파일이나 통합 Word/PDF로 내보내세요.",es:"¡Dígale adiós a la copia manual! Seleccione múltiples chats en el panel lateral para empaquetarlos en ZIP o fusionarlos en Word/PDF.",de:"Schluss mit manuellem Kopieren! Wählen Sie im Seitenbereich mehrere Chats aus und exportieren Sie diese als ZIP oder zusammengefasstes Word/PDF.",fr:"Fini la copie manuelle ! Sélectionnez plusieurs conversations dans le panneau latéral pour les regrouper en ZIP ou fusionner en Word/PDF.","pt-BR":"Diga adeus à cópia manual! Selecione vários chats no painel lateral para empacotá-los em ZIP ou mesclá-los em Word/PDF."},formats:{"zh-CN":["侧边栏多选","独立多文件 (ZIP)","多篇合并单份 Word/PDF","一键全量加载"],"zh-TW":["側邊欄多選","獨立多檔案 (ZIP)","多篇合併單份 Word/PDF","一鍵全量載入"],en:["Side Panel Multi-Select","Independent ZIP Archive","Merged Word/PDF Doc","One-Click Load All"],ja:["サイドバー複数選択","個別ファイル ZIP 一括","結合 Word / PDF 文書","全履歴ワンクリック読み込み"],ko:["사이드패널 다중 선택","개별 파일 ZIP 압축","통합 Word / PDF 문서","전체 기록 원클릭 로드"],es:["Selección Múltiple en Panel","Archivo ZIP Independiente","Documento Word/PDF Fusionado","Carga Todo en Un Clic"],de:["Seitenleisten-Mehrfachauswahl","Unabhängiges ZIP-Archiv","Zusammengeführtes Word/PDF","Alle mit 1 Klick Laden"],fr:["Sélection Multiple Panneau","Archive ZIP Indépendante","Doc Word/PDF Fusionné","Tout Charger en 1 Clic"],"pt-BR":["Seleção Múltipla no Painel","Arquivo ZIP Independente","Doc Word/PDF Mesclado","Carregar Tudo com 1 Clique"]}}},{id:3,name:"Slide 3: 支持 15+ 主流 AI 平台",data:{badge:{"zh-CN":"无缝兼容 15+ 主流 AI 平台","zh-TW":"無縫相容 15+ 主流 AI 平台",en:"Supports 15+ AI Platforms",ja:"15以上の主要 AI プラットフォーム対応",ko:"15개 이상의 주요 AI 플랫폼 지원",es:"Compatible con Más de 15 Plataformas de IA",de:"Unterstützt 15+ Führende KI-Plattformen",fr:"Compatible avec Plus de 15 Plateformes IA","pt-BR":"Suporta Mais de 15 Plataformas de IA"},title:{"zh-CN":"全平台通用 AI 导出神器","zh-TW":"全平台通用 AI 匯出神器",en:"Universal Exporter for All AI Platforms",ja:"あらゆる AI チャットに対応する保存ツール",ko:"모든 AI 플랫폼을 위한 범용 내보내기",es:"Exportador Universal para Todas las IAs",de:"Universeller Exporter für Alle KI-Systeme",fr:"Exportateur Universel pour Toutes les IA","pt-BR":"Exportador Universal para Todas as IAs"},subtitle:{"zh-CN":"完美支持 ChatGPT, Gemini, Claude 3.5, DeepSeek, Kimi, 豆包, 腾讯元宝, Perplexity 等。","zh-TW":"完美支援 ChatGPT, Gemini, Claude 3.5, DeepSeek, Kimi, 豆包, 騰訊元寶, Perplexity 等。",en:"Works seamlessly with ChatGPT, Gemini, Claude 3.5, DeepSeek, Kimi, Doubao, Yuanbao, Perplexity & more.",ja:"ChatGPT、Gemini、Claude 3.5、DeepSeek、Kimi、Perplexity などに完全対応。",ko:"ChatGPT, Gemini, Claude 3.5, DeepSeek, Kimi, Perplexity 등을 완벽하게 지원합니다.",es:"Funciona con ChatGPT, Gemini, Claude 3.5, DeepSeek, Kimi, Perplexity y más.",de:"Funktioniert nahtlos mit ChatGPT, Gemini, Claude 3.5, DeepSeek, Kimi, Perplexity u.v.m.",fr:"Compatible avec ChatGPT, Gemini, Claude 3.5, DeepSeek, Kimi, Perplexity et plus.","pt-BR":"Funciona com ChatGPT, Gemini, Claude 3.5, DeepSeek, Kimi, Perplexity e mais."},formats:["ChatGPT","Claude","DeepSeek","Gemini","Perplexity","Kimi"]}},{id:4,name:"Slide 4: LaTeX 公式与代码高亮无损导出",data:{badge:{"zh-CN":"高清排版 & 极速预览","zh-TW":"高畫質排版 & 極速預覽",en:"Live Preview & Rich Formatting",ja:"高精度プレビュー&リッチテキスト",ko:"실시간 서식 미리보기 & 렌더링",es:"Vista Previa en Tiempo Real y Formato",de:"Echtzeit-Vorschau & Schöne Formatierung",fr:"Aperçu en Temps Réel et Formatage","pt-BR":"Visualização em Tempo Real e Formatação"},title:{"zh-CN":"LaTeX 公式与代码高亮无损导出","zh-TW":"LaTeX 公式與程式碼高亮無損匯出",en:"Flawless Render for Co
12de & Math Formulas",ja:"コード強調表示&LaTeX 数式を美しく保持",ko:"코드 하이라이팅 & LaTeX 수식 완벽 보존",es:"Renderizado Perfecto de Código y Fórmulas",de:"Perfekte Darstellung von Code & LaTeX-Formeln",fr:"Rendu Parfait du Code et des Formules LaTeX","pt-BR":"Renderização Perfeita de Código e Fórmulas"},subtitle:{"zh-CN":"保留复杂的代码语法高亮、LaTeX 数式、Markdown 表格及格式排版,导出如同原版呈现。","zh-TW":"保留複雜的程式碼語法高亮、LaTeX 數式、Markdown 表格及格式排版,匯出如同原版呈現。",en:"Preserves complex code syntax highlighting, math equations, tables, and Markdown layout effortlessly.",ja:"複雑なコード構文ハイライト、LaTeX 数式、Markdown テーブルのレイアウトを崩さず保存。",ko:"복잡한 코드 구문 강조, 수학 공식, 마크다운 테이블 및 서식을 원본 그대로 보존합니다.",es:"Conserva el resaltado de código, ecuaciones matemáticas y tablas de Markdown sin pérdidas.",de:"Behält Syntax-Highlighting, Formeln und Markdown-Tabellen ohne Qualitätsverlust bei.",fr:"Conserve le surlignage du code, les formules mathématiques et les tableaux sans perte.","pt-BR":"Preserva o realce de sintaxe de código, equações matemáticas e tabelas sem perdas."},formats:{"zh-CN":["代码高亮","LaTeX 数式","Markdown 表格","富文本排版"],"zh-TW":["程式碼高亮","LaTeX 數式","Markdown 表格","富文本排版"],en:["Code Syntax","LaTeX Math","Markdown Tables","Rich Text"],ja:["コード強調表示","LaTeX 数式","Markdown テーブル","リッチテキスト"],ko:["코드 하이라이팅","LaTeX 수식","마크다운 테이블","리치 텍스트"],es:["Sintaxis de Código","Fórmulas LaTeX","Tablas Markdown","Texto Enriquecido"],de:["Code-Syntax","LaTeX-Formeln","Markdown-Tabellen","Rich Text"],fr:["Syntaxe Code","Formules LaTeX","Tableaux Markdown","Texte Enrichi"],"pt-BR":["Sintaxe de Código","Fórmulas LaTeX","Tabelas Markdown","Texto Enriquecido"]}}},{id:5,name:"Slide 5: Notion 智能卡片同步",data:{badge:{"zh-CN":"Notion 一键无缝同步","zh-TW":"Notion 一鍵無縫同步",en:"Instant Sync to Notion",ja:"Notion へのワンクリック同期",ko:"Notion 원클릭 대화 동기화",es:"Sincronización Instantánea con Notion",de:"Sofortige Synchronisierung mit Notion",fr:"Synchronisation Instantanée vers Notion","pt-BR":"Sincronização Instantânea para o Notion"},title:{"zh-CN":"构建你的个人 AI 知识库","zh-TW":"構建你的個人 AI 知識庫",en:"Build Your Personal AI Knowledge Base",ja:"自分だけの AI ナレッジベースを構築",ko:"나만의 AI 지식베이스 구축하기",es:"Construya su Base de Conocimiento de IA",de:"Bauen Sie Ihre Persönliche KI-Wissensdatenbank Auf",fr:"Créez Votre Base de Connaissances IA Personnel","pt-BR":"Construa sua Base de Conhecimento de IA"},subtitle:{"zh-CN":"一键将精彩对话同步至 Notion 数据库,完美保留代码与 Markdown 格式,打造终身知识库。","zh-TW":"一鍵將精彩對話同步至 Notion 資料庫,完美保留程式碼與 Markdown 格式,打造終身知識庫。",en:"Sync AI chats to Notion databases with perfectly preserved markdown and code blocks to build your personal knowledge base.",ja:"AI との対話を Notion データベースに即座に同期。Markdown やコードブロックのフォーマットを完全保持。",ko:"AI와의 대화를 Notion 데이터베이스로 즉시 동기화하여 마크다운과 코드 블록 서식을 완벽하게 유지하세요.",es:"Sincronice chats de IA en Notion conservando perfectamente el formato de código y Markdown.",de:"Synchronisieren Sie KI-Chats in Notion unter perfekter Beibehaltung von Code- und Markdown-Formatierungen.",fr:"Synchronisez vos chats IA vers Notion en conservant parfaitement le formatage du code et du Markdown.","pt-BR":"Sincronize chats de IA no Notion mantendo perfeitamente a formatação de código e Markdown."},formats:{"zh-CN":["Notion 官方 API","保留代码与 Markdown","数据库智能同步"],"zh-TW":["Notion 官方 API","保留程式碼與 Markdown","資料庫智慧同步"],en:["Notion Official API","Markdown & Code Preserved","Rich Database Sync"],ja:["Notion 公式 API","コード&Markdown完全保持","データベーススマート同期"],ko:["Notion 공식 API","코드 & 마크다운 완벽 보존","데이터베이스 스마트 동기화"],es:["API Oficial de Notion","Código y Markdown Conservados","Sincronización Inteligente de Base de Datos"],de:["Offizielle Notion-API","Code & Markdown Erhalten","Intelligente Datenbank-Synchronisierung"],fr:["API Officielle Notion","Code et Markdown Conservés","Synchronisation Base de Données Intelligente"],"pt-BR":["API Oficial do Notion","Código e Markdown Preservados","Sincronização Inteligente de Banco de Dados"]}}},{id:6,name:"Slide 6: 本地渲染 & 100% 隐私安全",data:{badge:{"zh-CN":"100% 本地渲染 & 隐私保护","zh-TW":"100% 本地渲染 & 隱私保護",en:"100% Local Processing & Privacy",ja:"100% ローカル処理&プライバシー完全性",ko:"100% 로컬 처리 & 완벽한 개인정보 보호",es:"Procesamiento 100% Local y Privado",de:"100% Lokale Verarbeitung & Datenschutz",fr:"Traitement 100% Local et Privé","pt-BR":"Processamento 100% Local e Privado"},title:{"zh-CN":"数据零上传,全流程隐私护航","zh-TW":"資料零上傳,全流程隱私護航",en:"Zero Server Uploads, 100% Private",ja:"サーバーへのデータ送信なし・完全安全",ko:"서버 업로드 zero, 100% 안전한 로컬 보관",es:"Sin Cargas en Servidores, 100% Seguro",de:"Keine Server-Uploads, Absolute Sicherheit",fr:"Aucun Envoi sur Serveur, 100% Sécurisé","pt-BR":"Sem Envios para Servidores, 100% Seguro"},subtitle:{"zh-CN":"所有对话直接在浏览器本地解析生成,数据绝不上传第三方服务器,零隐私泄露风险。","zh-TW":"所有對話直接在瀏覽器本地解析生成,資料絕不上傳第三方伺服器,零隱私洩漏風險。",en:"All conversations are parsed entirely inside your browser. No middleman servers, 100% private.",ja:"すべての変換処理はブラウザ内でローカル完結。外部サーバーへの送信は一切ありません。",ko:"모든 대화 내용은 브라우저 내부에서만 처리됩니다. 외부 서버 전송이 없어 안심할 수 있습니다.",es:"Toda la conversión se realiza de
12ntro de su navegador. Sin servidores externos.",de:"Die gesamte Konvertierung erfolgt lokal in Ihrem Browser. Keine externen Server.",fr:"Toute la conversion s'effectue dans votre navigateur, sans aucun serveur externe.","pt-BR":"Toda a conversão é feita no seu navegador, sem servidores externos."},formats:{"zh-CN":["浏览器本地处理","零云端泄露风险","隐私安全第一"],"zh-TW":["瀏覽器本地處理","零雲端洩漏風險","隱私安全第一"],en:["Browser Local Processing","Zero Cloud Leak","Privacy First"],ja:["ブラウザ内ローカル処理","クラウド漏洩ゼロ","プライバシー最優先"],ko:["브라우저 로컬 처리","클라우드 유출 Zero","개인정보 보호 최우선"],es:["Procesamiento Local en Navegador","Cero Fugas en la Nube","Privacidad Primero"],de:["Lokale Browser-Verarbeitung","Null Cloud-Lecks","Datenschutz Zuerst"],fr:["Traitement Local Navigateur","Zéro Fuite Nuage","Confidentialité D'abord"],"pt-BR":["Processamento Local no Navegador","Zero Vazamento na Nuvem","Privacidade Em Primeiro Lugar"]}}},{id:7,name:"Slide 7: 智能 Raw API & DOM 双引擎",data:{badge:{"zh-CN":"智能 API & DOM 双引擎护航","zh-TW":"智慧 API & DOM 雙引擎護航",en:"Smart Dual Engine Architecture",ja:"スマート双方向 Raw API & DOM エンジン",ko:"스마트 Raw API & DOM 듀얼 엔진",es:"Arquitectura de Motor Doble Inteligente",de:"Intelligente Dual-Engine-Architektur",fr:"Architecture à Double Moteur Intelligent","pt-BR":"Arquitetura de Motor Duplo Inteligente"},title:{"zh-CN":"无惧接口更新,导出流程流畅稳定","zh-TW":"無懼介面更新,匯出流程順暢穩定",en:"Dual-Engine Protection for 100% Stability",ja:"仕様変更にも強い・超安定デュアルエンジン",ko:"업데이트에도 꺾이지 않는 100% 안정적 구조",es:"Estabilidad 100% Garantizada Sin Interrupciones",de:"100% Stabilität bei Schnittstellen-Updates",fr:"Stabilité 100% Garantie Même en Cas de Mise à Jour","pt-BR":"Estabilidade 100% Garantida Contra Mudanças"},subtitle:{"zh-CN":"优先调用底层 Raw API 协议极速下载,遇到限制自动无缝降级ä¸
12º DOM 解析,保障随时可用。","zh-TW":"優先調用底層 Raw API 協定極速下載,遇到限制自動無縫降級為 DOM 解析,保障隨時可用。",en:"Prioritizes Raw API for instant exports, with automatic DOM parsing fallback when APIs change.",ja:"高速 Raw API 取得を優先し、エラー発生時はスムーズに HTML 解析モードへ自動切替。",ko:"초고속 Raw API 방식을 우선 적용하고, 제한 시 자동으로 HTML 파싱 모드로 전환됩니다.",es:"Prioriza Raw API para descargas ultrarrápidas y cambia automáticamente a análisis HTML si es necesario.",de:"Bevorzugt Raw API für schnelle Exports mit automatischem Fallback auf HTML-Parsing.",fr:"Priorise le mode Raw API ultra-rapide avec basculement automatique vers l'analyse HTML.","pt-BR":"Prioriza Raw API para downloads ultra-rápidos com alternância automática para análise HTML."},formats:{"zh-CN":["Raw API 协议","DOM 智能解析","自动降级保护","故障零中断"],"zh-TW":["Raw API 協定","DOM 智慧解析","自動降級保護","故障零中斷"],en:["Raw API Protocol","Smart DOM Parsing","Auto-Fallback Protection","Zero Interruption"],ja:["Raw API プロトコル","DOM スマート解析","自動フォールバック保護","無停止設計"],ko:["Raw API 프로토콜","스마트 DOM 파싱","자동 폴백 보호","무중단 서비스"],es:["Protocolo Raw API","Análisis DOM Inteligente","Protección Fallback Automática","Cero Interrupciones"],de:["Raw-API-Protokoll","Intelligentes DOM-Parsing","Automatischer Fallback-Schutz","Null Unterbrechung"],fr:["Protocole Raw API","Analyse DOM Intelligente","Protection Fallback Automatique","Zéro Interruption"],"pt-BR":["Protocolo Raw API","Análise DOM Inteligente","Proteção Fallback Automática","Zero Interrupção"]}}}]),l=Ee(1),i=We(()=>s.value.find(c=>c.id===l.value)||s.value[0]),f=Ee(Ve.project.name),o=Ee({}),v=Ee({}),k=Ee({}),S=(c,t)=>{const R=`${l.value}_${c}`;return t==="badge"?o.value[R]??o.value[c]??i.value.data.badge[c]??i.value.data.badge.en:t==="title"?v.value[R]??v.value[c]??i.value.data.title[c]??i.value.data.title.en:t==="subtitle"?k.value[R]??k.value[c]??i.value.data.subtitle[c]??i.value.data.subtitle.en:""},I=(c,t)=>!c||!c.formats?[]:Array.isArray(c.formats)?c.formats:typeof c.formats=="object"?c.formats[t]||c.formats.en||c.formats["zh-CN"]||[]:[],N={"zh-CN":{title:"一键 & 批量导出 AI 对话",formats:["🚀 批量导出","📄 PDF/Word/MD","✨ Notion 同步"]},"zh-TW":{title:"一鍵 & 批量匯出 AI 對話",formats:["🚀 批量匯出","📄 PDF/Word/MD","✨ Notion 同步"]},en:{title:"One-Click & Batch AI Chat Exporter",formats:["🚀 Batch Export","📄 PDF/Word/MD","✨ Notion Sync"]},ja:{title:"AI 対話の一括&高速保存",formats:["🚀 一括保存","📄 PDF/Word/MD","✨ Notion 同期"]},ko:{title:"AI 대화 원클릭 & 일괄 내보내기",formats:["🚀 일괄 내보내기","📄 PDF/Word/MD","✨ Notion 동기화"]},es:{title:"Exportar Chats de IA por Lotes",formats:["🚀 Exportar Lotes","📄 PDF/Word/MD","✨ Notion Sync"]},de:{title:"KI-Chats im Batch Exportieren",formats:["🚀 Batch-Export","📄 PDF/Word/MD","✨ Notion-Sync"]},fr:{title:"Exporter par Lot les Chats IA",formats:["🚀 Export par Lot","📄 PDF/Word/MD","✨ Sync Notion"]},"pt-BR":{title:"Exportar Chats de IA em Lote",formats:["🚀 Exportar Lotes","📄 PDF/Word/MD","✨ Notion Sync"]}},L=c=>{var R;const t=`tile440_${c}`;return v.value[t]?v.value[t]:((R=N[c])==null?void 0:R.title)||N.en.title},H=c=>{var t;return((t=N[c])==null?void 0:t.formats)||N.en.formats},D={"zh-CN":{badge:"🚀 全新升级 · 一键 & 批量导出",title:"一键与批量导出 AI 对话,无损排版同步 Notion",subtitle:"支持 ChatGPT、Claude、DeepSeek、Gemini 等 15+ 主流平台。一键或批量多选打包下载 PDF、Word、Markdown,公式代码高亮 1:1 无损保留。",formats:["⚡ 批量多选打包","📄 PDF / Word / MD","✨ Notion 知识库","🔒 本地渲染 100% 隐私安全"]},"zh-TW":{badge:"🚀 全新升級 · 一鍵 & 批量匯出",title:"一鍵與批量匯出 AI 對話,無損排版同步 Notion",subtitle:"支援 ChatGPT、Claude、DeepSeek、Gemini 等 15+ 主流平台。一鍵或批量多選打包下載 PDF、Word、Markdown,公式程式碼高亮 1:1 無損保留。",formats:["⚡ 批量多選打包","📄 PDF / Word / MD","✨ Notion 知識庫","🔒 本地渲染 100% 隱私安全"]},en:{badge:"🚀 2026 NEW: One-Click & Batch AI Exporter",title:"Export & Batch Download AI Chats with Perfect Formatting",subt
12itle:"Works across 15+ AI platforms including ChatGPT, Claude, DeepSeek, Gemini. Batch download chats as PDF, Word, Markdown, or sync directly to Notion.",formats:["⚡ Batch Export ZIP","📄 PDF / Word / Markdown","✨ Notion Sync","🔒 100% Local & Private"]},ja:{badge:"🚀 大型アップデート · 一括エクスポート対応",title:"AI 対話を一括&高画質保存、Notion と即時同期",subtitle:"ChatGPT、Claude、DeepSeek、Gemini など 15+ の主要 AI に対応。PDF、Word、Markdown 形式で一括保存&Notion 連携。数式・コードも完全再現。",formats:["⚡ 一括保存 ZIP","📄 PDF / Word / MD","✨ Notion 同期","🔒 完全ローカル処理で安全"]},ko:{badge:"🚀 신규 기능 · AI 대화 일괄 내보내기",title:"AI 대화 원클릭 & 일괄 내보내기, Notion 완벽 동기화",subtitle:"ChatGPT, Claude, DeepSeek, Gemini 등 15개 이상 주요 AI 플랫폼 지원. PDF, Word, Markdown 일괄 다운로드 및 수식/코드 무손실 보존.",formats:["⚡ 일괄 다운로드 ZIP","📄 PDF / Word / MD","✨ Notion 동기화","🔒 100% 로컬 보안"]},es:{badge:"🚀 NOVEDAD: Exportación por Lotes y Sincronización",title:"Exporta Chats de IA Individualmente o por Lotes a Notion",subtitle:"Compatible con más de 15 plataformas como ChatGPT, Claude, DeepSeek y Gemini. Descarga en PDF, Word y Markdown conservando fórmulas y código.",formats:["⚡ Exportación por Lotes","📄 PDF / Word / MD","✨ Sincronización Notion","🔒 100% Seguro y Local"]},de:{badge:"🚀 NEU: Batch-Export & Notion-Synchronisation",title:"KI-Chats einzeln oder im Batch exportieren und mit Notion synchronisieren",subtitle:"Unterstützt 15+ Plattformen wie ChatGPT, Claude, DeepSeek, Gemini. Exportieren Sie Chats als PDF, Word, Markdown mit Formeln und Syntax-Highlighting.",formats:["⚡ Batch-Export ZIP","📄 PDF / Word / MD","✨ Notion-Sync","🔒 100% Datenschutz"]},fr:{badge:"🚀 NOUVEAU : Export par Lot & Synchronisation Notion",title:"Exportez et Téléchargez par Lot vos Conversations IA vers Notion",subtitle:"Compatible avec 15+ plateformes dont ChatGPT, Claude, DeepSeek, Gemini. Téléchargez en PDF, Word, Markdown avec préservation des formules et du code.",formats:["⚡ Export par Lot ZIP","📄 PDF / Word / MD","✨ Sync Notion","🔒 100% Sécurisé & Local"]},"pt-BR":{badge:"🚀 NOVIDADE: Exportação em Lote e Sincronização Notion",title:"Exporte e Baixe em Lote seus Chats de IA com Formatação Perfeita",subtitle:"Compatível com mais de 15 plataformas como ChatGPT, Claude, DeepSeek e Gemini. Baixe em PDF, Word e Markdown com fórmulas e código preservados.",formats:["⚡ Exportação em Lote","📄 PDF / Word / MD","✨ Sincronizar Notion","🔒 100% Local e Privado"]}},q=(c,t)=>{var Y;const R=`marquee1400_${t}_${c}`;return t==="badge"&&o.value[R]?o.value[R]:t==="title"&&v.value[R]?v.value[R]:t==="subtitle"&&k.value[R]?k.value[R]:((Y=D[c])==null?void 0:Y[t])||D.en[t]},oe=c=>{var t;return((t=D[c])==null?void 0:t.formats)||D.en.formats},w=We({get:()=>x.value==="marquee_1400_560"?q(p.value,"badge"):S(p.value,"badge"),set:c=>{if(x.value==="marquee_1400_560"){const t=`marquee1400_badge_${p.value}`;o.value={...o.value,[t]:c}}else{const t=`${l.value}_${p.value}`;o.value={...o.value,[t]:c}}}}),$=We({get:()=>x.value==="tile_440_280"?L(p.value):x.value==="marquee_1400_560"?q(p.value,"title"):S(p.value,"title"),set:c=>{if(x.value==="tile_440_280"){const t=`tile440_${p.value}`;v.value={...v.value,[t]:c}}else if(x.value==="marquee_1400_560"){const t=`marquee1400_title_${p.value}`;v.value={...v.value,[t]:c}}else{const t=`${l.value}_${p.value}`;v.value={...v.value,[t]:c}}}}),r=We({get:()=>x.value==="marquee_1400_560"?q(p.value,"subtitle"):S(p.value,"subtitle"),set:c=>{if(x.value==="marquee_1400_560"){const t=`marquee1400_subtitle_${p.value}`;k.value={...k.value,[t]:c}}else{const t=`${l.value}_${p.value}`;k.value={...k.value,[t]:c}}}}),F=Ee({}),ee=(c,t)=>{var Z,Ce,A;const R=typeof c=="string"?c:(c==null?void 0:c.value)||p.value,Y=x.value,re=l.value,ae=`${Y}_${re}_${R}`,de=`${Y}_${R}`;return(Z=F.value[ae])!=null&&Z[t]?F.value[ae][t]:(Ce=F.value[de])!=null&&Ce[t]?F.value[de][t]:(A=F.value[R])!=null&&A[t]?F.value[R][t]:t==="title"?Y==="tile_440_280"?21:Y==="marquee_1400_560"?42:46:t==="subtitle"?Y==="marquee_1400_560"?20:18:t==="badge"?12:t==="pills"&&Y==="store_1280_800"&&re===1?15:14},j=(c,t)=>{const R=p.value,Y=x.value,re=l.value,ae=`${Y}_${re}_${R}`,de=`${Y}_${R}`,Z=F.value[ae]||F.value[de]||F.value[R]||{title:ee(R,"title"),subtitle:ee(R,"subt
12itle"),badge:ee(R,"badge"),pills:ee(R,"pills")},Ce=Math.max(10,Math.min(80,(Z[c]??ee(R,c))+t));F.value={...F.value,[ae]:{...Z,[c]:Ce}}},me=()=>{var de;const c=p.value,t=x.value,R=l.value,Y=`${t}_${R}_${c}`,re=`${t}_${c}`,ae={...F.value};delete ae[Y],delete ae[re],delete ae[c],F.value=ae,Ae.success(`↺ [${((de=b.find(Z=>Z.code===c))==null?void 0:de.name)||c}] 的字号设置已重置为标准默认值!`)},K=()=>{var de;const c=p.value,t=x.value,R=l.value,Y={title:ee(c,"title"),subtitle:ee(c,"subtitle"),badge:ee(c,"badge"),pills:ee(c,"pills")},re={...F.value};for(const Z of b){const Ce=`${t}_${R}_${Z.code}`,A=`${t}_${Z.code}`;re[Ce]={...Y},re[A]={...Y}}F.value=re;const ae=((de=b.find(Z=>Z.code===c))==null?void 0:de.name)||c;Ae.success(`🌐 已将 [${ae}] 的字号方案 (主标题 ${Y.title}px · 副标题 ${Y.subtitle}px · 标签 ${Y.pills}px) 一键同步应用至全部 9 种语言!`)},ce=()=>{var Z,Ce,A;const c=p.value,t=x.value,R=l.value;if(t==="tile_440_280"){const ue={...v.value};delete ue[`tile440_${c}`],v.value=ue,Ae.success(`↺ [${((Z=b.find(be=>be.code===c))==null?void 0:Z.name)||c}] 440×280 小型宣传图文案已重置为默认预设!`);return}if(t==="marquee_1400_560"){const ue={...o.value},be={...v.value},De={...k.value};delete ue[`marquee1400_badge_${c}`],delete be[`marquee1400_title_${c}`],delete De[`marquee1400_subtitle_${c}`],o.value=ue,v.value=be,k.value=De,Ae.success(`↺ [${((Ce=b.find(ie=>ie.code===c))==null?void 0:Ce.name)||c}] 1400×560 顶部横幅文案已重置为默认预设!`);return}const Y=`${R}_${c}`,re={...o.value},ae={...v.value},de={...k.value};if(delete re[Y],delete re[c],delete ae[Y],delete ae[c],delete de[Y],delete de[c],o.value=re,v.value=ae,k.value=de,R===1){const ue={...P.value};delete ue[c],P.value=ue}Ae.success(`↺ [${((A=b.find(ue=>ue.code===c))==null?void 0:A.name)||c}] Slide ${R} 的文案已重置为默认标准预设!`)},E={"zh-CN":"⚡ 无缝支持 ChatGPT, Gemini, Kimi, Claude, DeepSeek 等 15+ 平台","zh-TW":"⚡ 無縫支援 ChatGPT, Gemini, Kimi, Claude, DeepSeek 等 15+ 平台",en:"⚡ Powering Seamless Exports for ChatGPT, Gemini, Kimi, Claude & DeepSeek",ja:"⚡ ChatGPT、Gemini、Kimi、Claude、DeepSeek など 15+ プラットフォーム完全対応",ko:"⚡ ChatGPT, Gemini, Kimi, Claude, DeepSeek 등 15+ 플랫폼 완벽 지원",es:"⚡ Compatible con ChatGPT, Gemini, Kimi, Claude, DeepSeek y más de 15 plataformas",de:"⚡ Nahtloser Export für ChatGPT, Gemini, Kimi, Claude & DeepSeek (15+ Systeme)",fr:"⚡ Exportations fluides pour ChatGPT, Gemini, Kimi, Claude & DeepSeek (15+ plateformes)","pt-BR":"⚡ Exportação contínua para ChatGPT, Gemini, Kimi, Claude e DeepSeek (15+ plataformas)"},P=Ee({}),se=c=>P.value[c]?P.value[c]:E[c]||E.en,te=We({get:()=>se(p.value),set:c=>{P.value={...P.value,[p.value]:c}}}),G=Ee({}),_e=(c,t)=>{const R=c??l.value,Y=t??p.value,re=`${R}_${Y}`,ae=`${R}`,de=`${R}_en`,Z=G.value[re]??G.value[ae]??G.value[de];return{mode:(Z==null?void 0:Z.mode)??"popup",popupWidth:(Z==null?void 0:Z.popupWidth)??Ni,popupHeight:(Z==null?void 0:Z.popupHeight)??Oi,popupLeft:(Z==null?void 0:Z.popupLeft)??(Z==null?void 0:Z.imgLeft)??0,popupTop:(Z==null?void 0:Z.popupTop)??(Z==null?void 0:Z.imgTop)??0,webWidth:(Z==null?void 0:Z.webWidth)??Wi,webHeight:(Z==null?void 0:Z.webHeight)??ji,webLeft:(Z==null?void 0:Z.webLeft)??0,webTop:(Z==null?void 0:Z.webTop)??0,showFooter:(Z==null?void 0:Z.showFooter)??!0}},ge=We({get:()=>_e(l.value,p.value).mode??"popup",set:c=>{he("mode",c)}}),fe=We({get:()=>{const c=_e(l.value,p.value),t=c.mode??"popup";return{mode:t,width:t==="popup"?c.popupWidth:c.webWidth,height:t==="popup"?c.popupHeight:c.webHeight,left:t==="popup"?c.popupLeft:c.webLeft,top:t==="popup"?c.popupTop:c.webTop,popupWidth:c.popupWidth,popupHeight:c.popupHeight,popupLeft:c.popupLeft,popupTop:c.popupTop,webWidth:c.webWidth,webHeight:c.webHeight,webLeft:c.webLeft,webTop:c.webTop,showFooter:c.showFooter??!0}},set:c=>{const t=`${l.value}_${p.value}`;G.value={...G.value,[t]:c}}}),he=(c,t)=>{const R=_e(l.value,p.value),Y=`${l.value}_${p.value}`;G.value={...G.value,[Y]:{...R,[c]:typeof t=="number"&&Number.isNaN(t)?0:t}}},ye=(c,t)=>{const R=c??l.value,Y=t??p.value,re=_e(R,Y),ae=re.mode??"popup",de=h.value,Z=ae==="popup"?re.popupWidth:re.webWidth,Ce=ae==="popup"?re.popupHeight:re.webHeight,A=ae==="popup"?re.popupLeft:re.webLeft,ue=ae==="popup"?re.popupTop:re.webTop,be=de.key==="tile_440_280"?24:64,De=de.width-be-Z,ie=Math.round((de.height-Ce)/2);return{mode:ae,overlayW:Z,overlayH:Ce,userLeft:A,userTop:ue,calcLeft:De+A,calcTop:ie+ue,showFooter:re.showFooter??!0}},Be=()=>{var Y;const c={...G.value},t=`${l.value}_${p.value}`,R=`${l.value}`;delete c[t],delete c[R],G.value=c,Ae.success(`↺ [${((Y=b.find(re=>re.code===p.value))==null?void 0:Y.name)||p.value}] Slide ${l.value} 的图片尺寸与画布坐标位置已重置!`)},Pe=Ee({}),Le=c=>{var Y;const t=`${l.value}_${c}`;if(Pe.value[t])return{src:Pe.value[t],sourceLang:(Y=b.find(re=>re.code===c))==null?void 0:Y.name,isFallback:!1};const R=`${l.value}_en`;return Pe.value[R]?{src:Pe.value[R],sourceLang:"English (默认兜底)",isFallback:!0}:null},e=We(()=>Le(p.value)),M=We(()=>{var ae;if(!((ae=e.value)!=null&&ae.src))return null;const c=_e(l.value),t=ge.value==="popup"?c.popupWidth:c.webWidth,R=ge.value==="popup"?c.popupHeight:c.webHeight;if(!t||!R)return null;const Y=t/R,re=new Image;
12if(re.src=e.value.src,re.naturalWidth&&re.naturalHeight){const de=re.naturalWidth/re.naturalHeight;if(Math.abs(Y-de)/Y>.05)return`⚠️ 上传截图的比率 (${re.naturalWidth}×${re.naturalHeight}, 比率 ${de.toFixed(2)}) 与设定的容器尺寸 (${t}×${R}, 比率 ${Y.toFixed(2)}) 不成比例,在画幅中渲染时会被拉伸变形!`}return null}),B=()=>{var t;if(!((t=e.value)!=null&&t.src)){Ae.error("当前 Slide 尚未上传截图!");return}const c=new Image;c.crossOrigin="anonymous",c.onload=()=>{if(c.naturalWidth&&c.naturalHeight){const R=c.naturalWidth,Y=c.naturalHeight;ge.value==="popup"?(he("popupWidth",R),he("popupHeight",Y)):(he("webWidth",R),he("webHeight",Y)),Ae.success(`🎯 已一键将 ${ge.value==="popup"?"弹窗":"网页"} 容器尺寸设置为图片实际分辨率: ${R} × ${Y} px!`)}else Ae.error("无法读取截图实际分辨率!")},c.onerror=()=>{Ae.error("截图读取失败!")},c.src=e.value.src},g=()=>{const c=_e(l.value,p.value),t=l.value,R={...G.value};R[`${t}`]={...c};for(const de of b){const Z=`${t}_${de.code}`;R[Z]={...R[Z]||{},...c}}G.value=R;const Y=c.mode==="popup"?"弹窗":"网页",re=c.mode==="popup"?c.popupWidth:c.webWidth,ae=c.mode==="popup"?c.popupHeight:c.webHeight;Ae.success(`🌐 已将当前语言的 ${Y}尺寸 (${re}×${ae}px) 及位置设置同步应用至当前 Slide 的全部语言!`)},d=Ee(null);Gt(()=>{var c;return(c=e.value)==null?void 0:c.src},c=>{if(!c){d.value=null;return}const t=new Image;t.crossOrigin="anonymous",t.onload=()=>{t.naturalWidth&&t.naturalHeight?d.value={width:t.naturalWidth,height:t.naturalHeight}:d.value=null},t.onerror=()=>{d.value=null},t.src=c},{immediate:!0});const z=Ee("split"),O=c=>{z.value=c,localStorage.setItem("exportyai_promo_view_mode",c),et(()=>{J(),setTimeout(J,50),setTimeout(J,150),setTimeout(J,320)})};Ee(null);const W=Ee(null),T=Ee(1e3);let V=null;const J=()=>{if(W.value){const c=window.getComputedStyle(W.value),t=parseFloat(c.paddingLeft)||0,R=parseFloat(c.paddingRight)||0,Y=W.value.clientWidth-t-R-32;T.value=Math.max(280,Y)}};Gt(u,()=>{et(()=>{J(),setTimeout(J,50),setTimeout(J,150),setTimeout(J,320)})});const X=We(()=>{const c=h.value.width;return T.value>=c?1:T.value/c}),Q=Ee(Ve.project),ke=Ee(!1);ir(()=>{const c=localStorage.getItem("exportyai_promo_view_mode");(c==="split"||c==="stacked")&&(z.value=c),ve(Ve.project),et(()=>{J(),typeof ResizeObserver<"u"&&W.value&&(V=new ResizeObserver(()=>{J()}),V.observe(W.value))}),window.addEventListener("resize",J)});const ve=c=>{Q.value=c,f.value=c.name,c.screenshots&&(Pe.value={...c.screenshots}),c.config&&(c.config.activeSlideId&&(l.value=c.config.activeSlideId),c.config.activeLocale&&(p.value=c.config.activeLocale),c.config.selectedSpecKey&&(x.value=c.config.selectedSpecKey),c.config.selectedThemeKey&&(y.value=c.config.selectedThemeKey),c.config.canvasPreviewMode&&(u.value=c.config.canvasPreviewMode),c.config.slideOverlaySettings&&(G.value=c.config.slideOverlaySettings),c.config.fontSizes&&(F.value=c.config.fontSizes),c.config.customBadgeText&&(o.value=c.config.customBadgeText),c.config.customTitleText&&(v.value=c.config.customTitleText),c.config.customSubtitleText&&(k.value=c.config.customSubtitleText),c.config.customTaglineText&&(P.value=c.config.customTaglineText))},Re=async()=>{ke.value=!0;try{const c={activeSlideId:l.value,activeLocale:p.value,selectedSpecKey:x.value,selectedThemeKey:y.value,canvasPreviewMode:u.value,slideOverlaySettings:G.value,fontSizes:F.value,customBadgeText:o.value,customTitleText:v.value,customSubtitleText:k.value,customTaglineText:P.value};(await bt.put(route("admin.promos.update",Q.value.id),{name:f.value,config:c,screenshots:Pe.value})).data.success&&(Q.value.name=f.value,Ae.success("💾 方案名称与配置已成功保存!"))}catch(c){Ae.error("保存方案失败: "+(c.message||c))}finally{ke.value=!1}},st=async(c,t)=>{var de;const R=c.target;if(!R.files||!R.files[0])return;const Y=R.files[0],re=`${l.value}_${t}`,ae=new FormData;ae.append("file",Y),ae.append("key",re);try{const Z=await bt.post(route("admin.promos.upload-screenshot",Q.value.id),ae);Z.data.success&&(Pe.value[re]=Z.data.url,Q.value.screenshots||(Q.value.screenshots={}),Q.value.screenshots[re]=Z.data.url,Ae.success(`✓ 上传 [${(de=b.find(Ce=>Ce.code===t))==null?void 0:de.name}] 截图保存成功!`))}catch(Z){Ae.error("上传截图失败: "+(Z.message||Z))}finally{R.value=""}},Ue=async c=>{var R;const t=`${l.value}_${c}`;try{(await bt.delete(route("admin.promos.delete-screenshot",Q.value.id),{data:{key:t}})).data.success&&(delete Pe.value[t],Q.value.screenshots&&delete Q.value.screenshots[t],Ae.success(`✓ [${(R=b.find(re=>re.code===c))==null?void 0:R.name}] 截图文件已在服务端彻底删除!`))}catch{delete Pe.value[t],Re(),Ae.info("截图记录已从本地清理")}},Ze=Ee("png"),Se=Ee(!1),ot=Ee(Date.now()),xt=(c,t,R)=>{const Y=x.value,re=i.value,ae=S(c,"badge"),de=S(c,"title"),Z=S(c,"subtitle"),Ce=ee(c,"title"),A=ee(c,"subtitle"),ue=ee(c,"badge"),be=ee(c,"pills"),De={indigo_dark:{bg:"linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e1b4b 100%)",textColor:"#ffffff",badgeBg:"rgba(37, 99, 235, 0.35)",badgeText:"#93c5fd",badgeBorder:"rgba(96, 165, 250, 0.4)",titleColor:"#ffffff",subColor:"#cbd5e1",cardBg:"rgba(15, 23, 42, 0.92)",cardBorder:"rgba(51, 65, 85, 0.8)",pillBg:"rgba(30, 41, 59, 
120.9)",pillText:"#e2e8f0",pillBorder:"rgba(51, 65, 85, 0.6)",aura1:"radial-gradient(ellipse at center, rgba(37,99,235,0.45) 0%, rgba(37,99,235,0.12) 55%, transparent 80%)",aura2:"radial-gradient(ellipse at center, rgba(99,102,241,0.4) 0%, rgba(99,102,241,0.1) 55%, transparent 80%)",footerOpacity:"0.55"},mint_light:{bg:"linear-gradient(135deg, #ecfdf5 0%, #f8fafc 50%, #eff6ff 100%)",textColor:"#0f172a",badgeBg:"#d1fae5",badgeText:"#065f46",badgeBorder:"rgba(52,211,153,0.4)",titleColor:"#0f172a",subColor:"#475569",cardBg:"rgba(255,255,255,0.97)",cardBorder:"rgba(226,232,240,0.9)",pillBg:"#ffffff",pillText:"#334155",pillBorder:"#e2e8f0",aura1:"radial-gradient(circle at center, rgba(52,211,153,0.22) 0%, transparent 70%)",aura2:"",footerOpacity:"0.6"},apple_white:{bg:"#ffffff",textColor:"#0f172a",badgeBg:"#f1f5f9",badgeText:"#1e293b",badgeBorder:"#e2e8f0",titleColor:"#0f172a",subColor:"#64748b",cardBg:"rgba(248,250,252,0.95)",cardBorder:"rgba(226,232,240,0.85)",pillBg:"#f1f5f9",pillText:"#334155",pillBorder:"#e2e8f0",aura1:"",aura2:"",footerOpacity:"0.5"}},ie=De[y.value]||De.indigo_dark,Oe="M12 2L2 7l10 5 10-5-10-5zm0 9l2.5-1.25L12 8.5l-2.5 1.25L12 11zm0 2.5l-5-2.5-5 2.5L12 22l10-8.5-5-2.5-5 2.5z",Ye=Le(c),Ke=(Ye==null?void 0:Ye.src)||null,Te=I(re.data,c),dt=Te.map(Fe=>`
13        <span style="display:inline-block; padding:7px 16px; border-radius:10px; font-size:${be}px; font-weight:700;
14            background:${ie.pillBg}; color:${ie.pillText}; border:1px solid ${ie.pillBorder}; margin:4px 3px;">
15            ✦ ${Fe}
16        </span>`).join("");Te.map(Fe=>`
17        <span style="display:inline-block; padding:3px 10px; border-radius:8px; font-size:12px; font-weight:800;
18            background:${ie.pillBg}; color:${ie.pillText}; border:1px solid ${ie.pillBorder}; margin:2px 3px;">
19            ${Fe}
20        </span>`).join("");const it=`
21        <svg width="0" height="0" style="position: absolute; overflow: hidden;" aria-hidden="true">
22            <defs>
23                <linearGradient id='lobe-icons-gemini-fill' x1='0%' x2='68.73%' y1='100%' y2='30.395%'>
24                    <stop offset='0%' stop-color='#1C7DFF'></stop>
25                    <stop offset='52.021%' stop-color='#1C69FF'></stop>
26                    <stop offset='100%' stop-color='#F0DCD6'></stop>
27                </linearGradient>
28                <clipPath id="yuanbao-clip-0"><rect width="20" height="20" rx="10" fill="white"/></clipPath>
29                <clipPath id="yuanbao-clip-1"><rect width="20" height="20" fill="white"/></clipPath>
30            </defs>
31            <symbol id="chatgpt-icon" viewBox="0 0 20 20"><path d="M11.248 18.25q-.825 0-1.568-.314a4.3 4.3 0 0 1-1.32-.874 4 4 0 0 1-1.304.214 4 4 0 0 1-2.046-.544 4.27 4.27 0 0 1-1.518-1.485 4 4 0 0 1-.56-2.095q0-.48.131-1.04A4.4 4.4 0 0 1 2.04 10.71a4.07 4.07 0 0 1 .017-3.4 4.2 4.2 0 0 1 1.056-1.418 3.8 3.8 0 0 1 1.6-.842 3.9 3.9 0 0 1 .76-1.683q.593-.759 1.451-1.188a4.04 4.04 0 0 1 1.832-.429q.825 0 1.567.313.742.314 1.32.875a4 4 0 0 1 1.304-.215q1.106 0 2.046.545a4.14 4.14 0 0 1 1.501 1.485q.578.941.578 2.095 0 .48-.132 1.04.66.61 1.023 1.419.363.792.363 1.666 0 .892-.38 1.717a4.3 4.3 0 0 1-1.072 1.435 3.8 3.8 0 0 1-1.584.825 3.8 3.8 0 0 1-.775 1.683 4.06 4.06 0 0 1-1.436 1.188 4.04 4.04 0 0 1-1.832.429m-4.076-2.062q.825 0 1.435-.347l3.103-1.782a.36.36 0 0 0 .164-.313v-1.42L7.881 14.62a.67.67 0 0 1-.726 0l-3.118-1.798a.5.5 0 0 1-.017.115v.198q0 .841.396 1.551.413.693 1.139 1.089a3.2 3.2 0 0 0 1.617.412m.165-2.69a.4.4 0 0 0 .181.05q.083 0 .165-.05l1.238-.71-3.977-2.31a.7.7 0 0 1-.363-.643v-3.58q-.825.362-1.32 1.122a2.9 2.9 0 0 0-.495 1.65q0 .809.413 1.55.412.743 1.072 1.123zm3.91 3.663q.875 0 1.585-.396a2.96 2.96 0 0 0 1.534-2.64v-3.564a.32.32 0 0 0-.165-.297l-1.254-.726v4.604a.7.7 0 0 1-.363.643l-3.119 1.799a3 3 0 0 0 1.783.577m.627-6.039V8.878L10.01 7.822 8.129 8.878v2.244l1.881 1.056zM7.057 5.859a.7.7 0 0 1 .363-.644l3.119-1.798a3 3 0 0 0-1.782-.578q-.874 0-1.584.396A2.96 2.96 0 0 0 6.05 4.324a3.07 3.07 0 0 0-.396 1.551v3.547q0 .199.165.314l1.237.726zm8.383 7.887q.825-.364 1.303-1.123.495-.758.495-1.65a3.15 3.15 0 0 0-.412-1.55q-.413-.743-1.073-1.123l-3.086-1.782q-.099-.065-.181-.049a.3.3 0 0 0-.165.05l-1.238.692 3.993 2.327a.6.6 0 0 1 .264.264.64.64 0 0 1 .1.363zm-3.317-8.382a.63.63 0 0 1 .726 0l3.135 1.831v-.297q0-.792-.396-1.501a2.86 2.86 0 0 0-1.105-1.155q-.71-.43-1.65-.43-.825 0-1.436.347L8.294 5.941a.36.36 0 0 0-.165.314v1.418z"/></symbol>
32            <symbol id="deepseek-icon" viewBox="0 0 20 20"><path d='M23.748 4.482c-.254-.124-.364.113-.512.234-.051.039-.094.09-.137.136-.372.397-.806.657-1.373.626-.829-.046-1.537.214-2.163.848-.133-.782-.575-1.248-1.247-1.548-.352-.156-.708-.311-.955-.65-.172-.241-.219-.51-.305-.774-.055-.16-.11-.323-.293-.35-.2-.031-.278.136-.356.276-.313.572-.434 1.202-.422 1.84.027 1.436.633 2.58 1.838 3.393.137.093.172.187.129.323-.082.28-.18.552-.266.833-.055.179-.137.217-.329.14a5.526 5.526 0 01-1.736-1.18c-.857-.828-1.631-1.742-2.597-2.458a11.365 11.365 0 00-.689-.471c-.985-.957.13-1.743.388-1.836.27-.098.093-.432-.779-.428-.872.004-1.67.295-2.687.684a3.055 3.055 0 01-.465.137 9.597 9.597 0 00-2.883-.102c-1.885.21-3.39 1.102-4.497 2.623C.082 8.606-.231 10.684.152 12.85c.403 2.284 1.569 4.175 3.36 5.653 1.858 1.533 3.997 2.284 6.438 2.14 1.482-.085 3.133-.284 4.994-1.86.47.234.962.327 1.78.397.63.059 1.236-.03 1.705-.128.735-.156.684-.837.419-.961-2.155-1.004-1.682-.595-2.113-.926 1.096-1.296 2.746-2.642 3.392-7.003.05-.347.007-.565 0-.845-.004-.17.035-.237.23-.256a4.173 4.173 0 001.545-.475c1.396-.763 1.96-2.015 2.093-3.517.02-.23-.004-.467-.247-.588zM11.581 18c-2.089-1.642-3.102-2.183-3.52-2.16-.392.024-.321.471-.235.763.09.288.207.486.371.739.114.167.192.416-.113.603-.673.416-1.842-.14-1.897-.167-1.361-.802-2.5-1.86-3.301-3.307-.774-1.393-1.224-2.887-1.298-4.482-.02-.386.093-.522.477-.592a4.696 4.696 0 011.529-.039c2.132.312 3.946 1.265 5.468 2.774.868.86 1.525 1.887 2.202 2.891.72 1.066 1.494 2.082 2.48 2.914.348.292.625.514.891.677-.802.09-2.14.11-3.054-.614zm1-6.44a.306.306 0 01.415-.287.302.302 0 01.2.288.306.306 0 01-.31.307.303.303 0 01-.304-.308zm3.11 1.596c-.2.081-.399.151-.59.16a1.245 1.245 0 01-.798-.254c-.274-.23-.47-.358-.552-.758a1.73 1.73 0 01.016-.588c.07-.327-.008-.537-.239-.727-.187-.156-.426-.199-.688-.199a.559.559 0 01-.254-.078c-.11-.054-.2-.19-.114-.358.028-.054.16-.186.192-.21.356-.202.767-.136 1.146.016.352.144.618.408 1.001.782.391.451.462.576.685.914.176.265.336.537.445.848.067.195-.019.354-.25.452z' fill='#4D6BFE'/></symbol>
33            <symbol id="gemini-icon" viewBox="0 0 24 24"><path d='M12 24A14.304 14.304 0 000 12 14.304 14.304 0 0012 0a14.305 14.305 0 0012 12 14.305 14.305 0 00-12 12' fill='url(#lobe-icons-gemini-fill)' fill-rule='nonzero'></path></symbol>
34            <symbol id="grok-icon" viewBox="0 0 24 24"><path fill="currentColor" fill-rule="evenodd" d="M9.27 15.29l7.978-5.897c.391-.29.95-.177 1.137.272.98 2.369.542 5.215-1.41 7.169-1.951 1.954-4.667 2.382-7.149 1.406l-2.711 1.257c3.889 2.661 8.611 2.003 11.562-.953 2.341-2.344 3.066-5.539 2.388-8.42l.006.007c-.983-4.232.242-5.924 2.75-9.383.06-.082.12-.164.179-.248l-3.301 3.305v-.01L9.267 15.292M7.623 16.723c-2.792-2.67-2.31-6.801.071-9.184 1.761-1.763 4.647-2.483 7.166-1.425l2.705-1.25a7.808 7.808 0 00-1.829-1A8.975 8.975 0 005.984 5.83c-2.533 2.536-3.33 6.436-1.962 9.764 1.022 2.487-.653 4.246-2.34 6.022-.599.63-1.199 1.259-1.682 1.925l7.62-6.815"></path></symbol>
35            <symbol id="yuanbao-icon" viewBox="0 0 20 20"><g clip-path="url(#yuanbao-clip-0)"><g clip-path="url(#yuanbao-clip-1)"><path d="M14.4045 12.2651C14.4045 12.2651 11.6817 20.5535 1.71094 15.5898C1.71094 15.5898 4.4922 20.1203 10.2451 19.9899L18.1462 12.9073L14.4045 12.2651Z" fill="#BEF5C0"/><path d="M18.0333 4.07226C16.4263 2.08881 13.5248 1.6172 11.3633 3.06548C9.06977 4.60073 8.45506 7.70634 9.98851 10.0025C11.7157 12.5863 10.7185 16.197 7.66996 17.4396C5.82247 18.1922 3.67597 17.739 2.28785 16.3057C1.99719 16.0047 1.74997 15.6836 1.54952 15.3441C-1.34032 10.7768 -0.0808147 4.71278 4.43434 1.68911C8.89438 -1.29776 14.8862 -0.214056 18.0333 4.07226Z" fill="#4BC979"/><path d="M19.7936 8.04756C19.6499 7.35519 19.4428 6.69794 19.1805 6.08251C18.5408 4.7145 16.8119 4.09572 15.3736 4.8717C14.4098 5.39014 13.8335 6.44541 13.9621 7.53246C13.9738 7.63782 13.9989 7.75991 14.0223 7.86192C14.2311 8.47401 14.3797 9.1229 14.4599 9.80355C14.8875 13.4209 13.0417 16.9747 9.83618 18.6989C9.00431 19.1471 8.14571 19.4498 7.28711 19.6254C9.94476 20.3747 12.9365 20.0335 15.5591 18.3093C18.9266 16.0951 20.6188 11.996 19.7953 8.04756H19.7936Z" fill="#4BC979"/></g></g></symbol>
36            <symbol id="claude-icon" viewBox="0 0 512 510"><path d="M142.27 316.619l73.655-41.326 1.238-3.589-1.238-1.996-3.589-.001-12.31-.759-42.084-1.138-36.498-1.516-35.361-1.896-8.897-1.895-8.34-10.995.859-5.484 7.482-5.03 10.717.935 23.683 1.617 35.537 2.452 25.782 1.517 38.193 3.968h6.064l.86-2.451-2.073-1.517-1.618-1.517-36.776-24.922-39.81-26.338-20.852-15.166-11.273-7.683-5.687-7.204-2.451-15.721 10.237-11.273 13.75.935 3.513.936 13.928 10.716 29.749 23.027 38.848 28.612 5.687 4.727 2.275-1.617.278-1.138-2.553-4.271-21.13-38.193-22.546-38.848-10.035-16.101-2.654-9.655c-.935-3.968-1.617-7.304-1.617-11.374l11.652-15.823 6.445-2.073 15.545 2.073 6.547 5.687 9.655 22.092 15.646 34.78 24.265 47.291 7.103 14.028 3.791 12.992 1.416 3.968 2.449-.001v-2.275l1.997-26.641 3.69-32.707 3.589-42.084 1.239-11.854 5.863-14.206 11.652-7.683 9.099 4.348 7.482 10.716-1.036 6.926-4.449 28.915-8.72 45.294-5.687 30.331h3.313l3.792-3.791 15.342-20.372 25.782-32.227 11.374-12.789 13.27-14.129 8.517-6.724 16.1-.001 11.854 17.617-5.307 18.199-16.581 21.029-13.75 17.819-19.716 26.54-12.309 21.231 1.138 1.694 2.932-.278 44.536-9.479 24.062-4.347 28.714-4.928 12.992 6.066 1.416 6.167-5.106 12.613-30.71 7.583-36.018 7.204-53.636 12.689-.657.48.758.935 24.164 2.275 10.337.556h25.301l47.114 3.514 12.309 8.139 7.381 9.959-1.238 7.583-18.957 9.655-25.579-6.066-59.702-14.205-20.474-5.106-2.83-.001v1.694l17.061 16.682 31.266 28.233 39.152 36.397 1.997 8.999-5.03 7.102-5.307-.758-34.401-25.883-13.27-11.651-30.053-25.302-1.996-.001v2.654l6.926 10.136 36.574 54.975 1.895 16.859-2.653 5.485-9.479 3.311-10.414-1.895-21.408-30.054-22.092-33.844-17.819-30.331-2.173 1.238-10.515 113.261-4.929 5.788-11.374 4.348-9.478-7.204-5.03-11.652 5.03-23.027 6.066-30.052 4.928-23.886 4.449-29.674 2.654-9.858-.177-.657-2.173.278-22.37 30.71-34.021 45.977-26.919 28.815-6.445 2.553-11.173-5.789 1.037-10.337 6.243-9.2 37.257-47.392 22.47-29.371 14.508-16.961-.101-2.451h-.859l-98.954 64.251-17.618 2.275-7.583-7.103.936-11.652 3.589-3.791 29.749-20.474-.101.102.024.101z" fill="#D77655" /></symbol>
37            <symbol id="notebooklm-icon" viewBox="0 0 16 16"><circle cx="8" cy="8" r="8" fill="black"/><path d="M8 3.5C5.23833 3.5 3 5.72 3 8.45917V10.8333H3.92167V10.5967C3.92167 9.48583 4.82917 8.585 5.94917 8.585C7.06917 8.585 7.97667 9.48583 7.97667 10.5967V10.8333H8.89833V10.5967C8.89833 8.98083 7.5775 7.67167 5.94917 7.67167C5.315 7.67167 4.7275 7.87 4.24667 8.20833C4.75 7.21583 5.78667 6.535 6.98333 6.535C8.67417 6.535 10.045 7.895 10.045 9.57167V10.8333H10.9667V9.57167C10.9667 7.39 9.18333 5.62083 6.98333 5.62083C5.99417 5.62083 5.08917 5.97833 4.3925 6.57083C5.07667 5.28833 6.435 4.41417 8 4.41417C10.2525 4.41417 12.0783 6.225 12.0783 8.45917V10.8333H13V8.45917C13 5.72 10.7617 3.5 8 3.5Z" fill="white"/></symbol>
38            <symbol id="perplexity-icon" viewBox="0 0 24 24"><path fill="currentColor" d="M22.3977 7.0896h-2.3106V.0676l-7.5094 6.3542V.1577h-1.1554v6.1966L4.4904 0v7.0896H1.6023v10.3976h2.8882V24l6.932-6.3591v6.2005h1.1554v-6.0469l6.9318 6.1807v-6.4879h2.8882V7.0896zm-3.4657-4.531v4.531h-5.355l5.355-4.531zm-13.2862.0676 4.8691 4.4634H5.6458V2.6262zM2.7576 16.332V8.245h7.8476l-6.1149 6.1147v1.9723H2.7576zm2.8882 5.0404v-3.8852h.0001v-2.6488l5.7763-5.7764v7.0111l-5.7764 5.2993zm12.7086.0248-5.7766-5.1509V9.0618l5.7766 5.7766v6.5588zm2.8882-5.0652h-1.733v-1.9723L13.3948 8.245h7.8478v8.087z"/></symbol>
39        </svg>`,ut=l.value===1?se(c):null;let Xe="";y.value==="indigo_dark"?Xe=`
40        <svg style="position:absolute; top:0; left:0; width:${t}px; height:${R}px; pointer-events:none; z-index:1;" viewBox="0 0 ${t} ${R}">
41            <defs>
42                <radialGradient id="auraTopLeftGlow" cx="33%" cy="-5%" r="35%">
43                    <stop offset="0%" stop-color="#2563eb" stop-opacity="0.22" />
44                    <stop offset="40%" stop-color="#2563eb" stop-opacity="0.12" />
45                    <stop offset="75%" stop-color="#2563eb" stop-opacity="0.03" />
46                    <stop offset="100%" stop-color="#2563eb" stop-opacity="0" />
47                </radialGradient>
48                <radialGradient id="auraBottomRightGlow" cx="85%" cy="95%" r="35%">
49                    <stop offset="0%" stop-color="#6366f1" stop-opacity="0.18" />
50                    <stop offset="60%" stop-color="#6366f1" stop-opacity="0.04" />
51                    <stop offset="100%" stop-color="#6366f1" stop-opacity="0" />
52                </radialGradient>
53            </defs>
54            <rect x="0" y="0" width="${t}" height="${R}" fill="url(#auraTopLeftGlow)" />
55            <rect x="0" y="0" width="${t}" height="${R}" fill="url(#auraBottomRightGlow)" />
56        </svg>
56`:y.value==="mint_light"&&(Xe=`
57        <svg style="position:absolute; top:0; left:0; width:${t}px; height:${R}px; pointer-events:none; z-index:1;" viewBox="0 0 ${t} ${R}">
58            <defs>
59                <radialGradient id="auraMintGlow" cx="80%" cy="20%" r="50%">
60                    <stop offset="0%" stop-color="#34d399" stop-opacity="0.25" />
61                    <stop offset="60%" stop-color="#10b981" stop-opacity="0.05" />
62                    <stop offset="100%" stop-color="#10b981" stop-opacity="0" />
63                </radialGradient>
64            </defs>
65            <rect x="0" y="0" width="${t}" height="${R}" fill="url(#auraMintGlow)" />
66        </svg>`);let ct="";if(Y==="tile_440_280"){const Fe=L(c),Je=H(c).map(pt=>`
67            <span style="display:inline-flex; align-items:center; white-space:nowrap; padding:3.5px 8px; border-radius:7px; font-size:13px; font-weight:800;
68                background:${ie.pillBg}; color:${ie.pillText}; border:1px solid ${ie.pillBorder}; box-shadow: 0 1px 3px rgba(0,0,0,0.18);">
69                ${pt}
70            </span>`).join("");ct=`
71        <div style="display:flex; flex-direction:column; justify-content:space-between; padding:20px 14px 16px; text-align:center; width:${t}px; height:${R}px; box-sizing:border-box; position:relative; overflow:hidden; background:${ie.bg}; color:${ie.textColor}; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">
72            ${Xe}
73            ${it}
74            <div style="position:relative; z-index:10; display:flex; align-items:center; justify-content:center; gap:10px; padding-top:2px;">
75                <div style="width:36px; height:36px; border-radius:12px; background:#2563eb; display:flex; align-items:center; justify-content:center; padding:6px; box-sizing:border-box; flex-shrink:0;">
76                    <svg viewBox="0 0 24 24" width="24" height="24" fill="#ffffff" style="display:block;"><path d="${Oe}"/></svg>
77                </div>
78                <span style="font-size:24px; font-weight:900; letter-spacing:-0.5px; line-height:1; color:${ie.titleColor};">ExportyAI</span>
79            </div>
80            <div style="position:relative; z-index:10; margin:auto 0; max-width:416px; margin-left:auto; margin-right:auto;">
81                <h2 style="font-size:${Ce}px; font-weight:900; letter-spacing:-0.5px; line-height:1.25; margin:0 0 13px; color:${ie.titleColor};">${Fe}</h2>
82                <div style="display:flex; flex-wrap:nowrap; justify-content:center; align-items:center; gap:6px;">${Je}</div>
83            </div>
84            <div style="position:relative; z-index:10; padding-top:10px; padding-bottom:2px; border-top:1px solid rgba(255,255,255,0.1); display:flex; flex-direction:column; gap:6px;">
85                <div style="display:flex; align-items:center; justify-content:center; gap:10px; color:${ie.subColor};">
86                    <!-- ChatGPT -->
87                    <svg viewBox="0 0 20 20" style="width:18px; height:18px; fill:currentColor; flex-shrink:0;"><path d="M11.248 18.25q-.825 0-1.568-.314a4.3 4.3 0 0 1-1.32-.874 4 4 0 0 1-1.304.214 4 4 0 0 1-2.046-.544 4.27 4.27 0 0 1-1.518-1.485 4 4 0 0 1-.56-2.095q0-.48.131-1.04A4.4 4.4 0 0 1 2.04 10.71a4.07 4.07 0 0 1 .017-3.4 4.2 4.2 0 0 1 1.056-1.418 3.8 3.8 0 0 1 1.6-.842 3.9 3.9 0 0 1 .76-1.683q.593-.759 1.451-1.188a4.04 4.04 0 0 1 1.832-.429q.825 0 1.567.313.742.314 1.32.875a4 4 0 0 1 1.304-.215q1.106 0 2.046.545a4.14 4.14 0 0 1 1.501 1.485q.578.941.578 2.095 0 .48-.132 1.04.66.61 1.023 1.419.363.792.363 1.666 0 .892-.38 1.717a4.3 4.3 0 0 1-1.072 1.435 3.8 3.8 0 0 1-1.584.825 3.8 3.8 0 0 1-.775 1.683 4.06 4.06 0 0 1-1.436 1.188 4.04 4.04 0 0 1-1.832.429m-4.076-2.062q.825 0 1.435-.347l3.103-1.782a.36.36 0 0 0 .164-.313v-1.42L7.881 14.62a.67.67 0 0 1-.726 0l-3.118-1.798a.5.5 0 0 1-.017.115v.198q0 .841.396 1.551.413.693 1.139 1.089a3.2 3.2 0 0 0 1.617.412m.165-2.69a.4.4 0 0 0 .181.05q.083 0 .165-.05l1.238-.71-3.977-2.31a.7.7 0 0 1-.363-.643v-3.58q-.825.362-1.32 1.122a2.9 2.9 0 0 0-.495 1.65q0 .809.413 1.55.412.743 1.072 1.123zm3.91 3.663q.875 0 1.585-.396a2.96 2.96 0 0 0 1.534-2.64v-3.564a.32.32 0 0 0-.165-.297l-1.254-.726v4.604a.7.7 0 0 1-.363.643l-3.119 
871.799a3 3 0 0 0 1.783.577m.627-6.039V8.878L10.01 7.822 8.129 8.878v2.244l1.881 1.056zM7.057 5.859a.7.7 0 0 1 .363-.644l3.119-1.798a3 3 0 0 0-1.782-.578q-.874 0-1.584.396A2.96 2.96 0 0 0 6.05 4.324a3.07 3.07 0 0 0-.396 1.551v3.547q0 .199.165.314l1.237.726zm8.383 7.887q.825-.364 1.303-1.123.495-.758.495-1.65a3.15 3.15 0 0 0-.412-1.55q-.413-.743-1.073-1.123l-3.086-1.782q-.099-.065-.181-.049a.3.3 0 0 0-.165.05l-1.238.692 3.993 2.327a.6.6 0 0 1 .264.264.64.64 0 0 1 .1.363zm-3.317-8.382a.63.63 0 0 1 .726 0l3.135 1.831v-.297q0-.792-.396-1.501a2.86 2.86 0 0 0-1.105-1.155q-.71-.43-1.65-.43-.825 0-1.436.347L8.294 5.941a.36.36 0 0 0-.165.314v1.418z"/></svg>
88                    <!-- Claude -->
89                    <svg viewBox="0 0 512 510" style="width:18px; height:18px; flex-shrink:0;"><path d="M142.27 316.619l73.655-41.326 1.238-3.589-1.238-1.996-3.589-.001-12.31-.759-42.084-1.138-36.498-1.516-35.361-1.896-8.897-1.895-8.34-10.995.859-5.484 7.482-5.03 10.717.935 23.683 1.617 35.537 2.452 25.782 1.517 38.193 3.968h6.064l.86-2.451-2.073-1.517-1.618-1.517-36.776-24.922-39.81-26.338-20.852-15.166-11.273-7.683-5.687-7.204-2.451-15.721 10.237-11.273 13.75.935 3.513.936 13.928 10.716 29.749 23.027 38.848 28.612 5.687 4.727 2.275-1.617.278-1.138-2.553-4.271-21.13-38.193-22.546-38.848-10.035-16.101-2.654-9.655c-.935-3.968-1.617-7.304-1.617-11.374l11.652-15.823 6.445-2.073 15.545 2.073 6.547 5.687 9.655 22.092 15.646 34.78 24.265 47.291 7.103 14.028 3.791 12.992 1.416 3.968 2.449-.001v-2.275l1.997-26.641 3.69-32.707 3.589-42.084 1.239-11.854 5.863-14.206 11.652-7.683 9.099 4.348 7.482 10.716-1.036 6.926-4.449 28.915-8.72 45.294-5.687 30.331h3.313l3.792-3.791 15.342-20.372 25.782-32.227 11.374-12.789 13.27-14.129 8.517-6.724 16.1-.001 11.854 17.617-5.307 18.199-16.581 21.029-13.75 17.819-19.716 26.54-12.309 21.231 1.138 1.694 2.932-.278 44.536-9.479 24.062-4.347 28.714-4.928 12.992 6.066 1.416 6.167-5.106 12.613-30.71 7.583-36.018 7.204-53.636 12.689-.657.48.758.935 24.164 2.275 10.337.556h25.301l47.114 3.514 12.309 8.139 7.381 9.959-1.238 7.583-18.957 9.655-25.579-6.066-59.702-14.205-20.474-5.106-2.83-.001v1.694l17.061 16.682 31.266 28.233 39.152 36.397 1.997 8.999-5.03 7.102-5.307-.758-34.401-25.883-13.27-11.651-30.053-25.302-1.996-.001v2.654l6.926 10.136 36.574 54.975 1.895 16.859-2.653 5.485-9.479 3.311-10.414-1.895-21.408-30.054-22.092-33.844-17.819-30.331-2.173 1.238-10.515 113.261-4.929 5.788-11.374 4.348-9.478-7.204-5.03-11.652 5.03-23.027 6.066-30.052 4.928-23.886 4.449-29.674 2.654-9.858-.177-.657-2.173.278-22.37 30.71-34.021 45.977-26.919 28.815-6.445 2.553-11.173-5.789 1.037-10.337 6.243-9.2 37.257-47.392 22.47-29.371 14.508-16.961-.101-2.451h-.859l-98.954 64.251-17.618 2.275-7.583-7.103.936-11.652 3.589-3.791 29.749-20.474-.101.102.024.101z" fill="#D77655" /></svg>
90                    <!-- DeepSeek -->
91                    <svg viewBox="0 0 20 20" style="width:18px; height:18px; flex-shrink:0;"><path d="M23.748 4.482c-.254-.124-.364.113-.512.234-.051.039-.094.09-.137.136-.372.397-.806.657-1.373.626-.829-.046-1.537.214-2.163.848-.133-.782-.575-1.248-1.247-1.548-.352-.156-.708-.311-.955-.65-.172-.241-.219-.51-.305-.774-.055-.16-.11-.323-.293-.35-.2-.031-.278.136-.356.276-.313.572-.434 1.202-.422 1.84.027 1.436.633 2.58 1.838 3.393.137.093.172.187.129.323-.082.28-.18.552-.266.833-.055.179-.137.217-.329.14a5.526 5.526 0 01-1.736-1.18c-.857-.828-1.631-1.742-2.597-2.458a11.365 11.365 0 00-.689-.471c-.985-.957.13-1.743.388-1.836.27-.098.093-.432-.779-.428-.872.004-1.67.295-2.687.684a3.055 3.055 0 01-.465.137 9.597 9.597 0 00-2.883-.102c-1.885.21-3.39 1.102-4.497 2.623C.082 8.606-.231 10.684.152 12.85c.403 2.284 1.569 4.175 3.36 5.653 1.858 1.533 3.997 2.284 6.438 2.14 1.482-.085 3.133-.284 4.994-1.86.47.234.962.327 1.78.397.63.059 1.236-.03 1.705-.128.735-.156.684-.837.419-.961-2.155-1.004-1.682-.595-2.113-.926 1.096-1.296 2.746-2.642 3.392-7.003.05-.347.007-.565 0-.845-.004-.17.035-.237.23-.256a4.173 4.173 0 001.545-.475c1.396-.763 1.96-2.015 2.093-3.517.02-.23-.004-.467-.247-.588zM11.581 18c-2.089-1.642-3.102-2.183-3.52-2.16-.392.024-.321.471-.235.763.09.288.207.486.371.739.114.167.192.416-.113.603-.673.416-1.842-.14-1.897-.167-1.361-.802-2.5-1.86-3.301-3.307-.774-1.393-1.224-2.887-1.298-4.482-.02-.386.093-.522.477-.592a4.696 4.696 0 011.529-.039c2.132.312 3.946 1.265 5.468 2.774.868.86 1.525 1.887 2.202 2.891.72 1.066 1.494 2.082 2.48 2.914.348.292.625.514.891.677-.802.09-2.14.11-3.054-.614zm1-6.44a.306.306 0 01.415-.287.302.302 0 01.2.288.306.306 0 01-.31.307.303.303 0 01-.304-.308zm3.11 1.596c-.2.081-.399.151-.59.16a1.245 1.245 0 01-.798-.254c-.274-.23-.47-.358-.552-.758a1.73 1.73 0 01.016-.588c.07-.327-.008-.537-.239-.727-.187-.156-.426-.199-.688-.199a.559.559 0 01-.254-.078c-.11-.054-.2-.19-.114-.358.028-.054.16-.186.192-.21.356-.202.767-.136 1.146.016.352.144.618.408 1.001.782.391.451.462.576.685.9
9114.176.265.336.537.445.848.067.195-.019.354-.25.452z" fill="#4D6BFE"/></svg>
92                    <!-- Gemini -->
93                    <svg viewBox="0 0 24 24" style="width:18px; height:18px; flex-shrink:0;"><defs><linearGradient id="gemini-g-fill" x1="0%" x2="68.73%" y1="100%" y2="30.395%"><stop offset="0%" stop-color="#1C7DFF"></stop><stop offset="52.021%" stop-color="#1C69FF"></stop><stop offset="100%" stop-color="#F0DCD6"></stop></linearGradient></defs><path d="M12 24A14.304 14.304 0 000 12 14.304 14.304 0 0012 0a14.305 14.305 0 0012 12 14.305 14.305 0 00-12 12" fill="url(#gemini-g-fill)" fill-rule="nonzero"></path></svg>
94                    <!-- Grok -->
95                    <svg viewBox="0 0 24 24" style="width:18px; height:18px; fill:currentColor; flex-shrink:0;"><path fill="currentColor" fill-rule="evenodd" d="M9.27 15.29l7.978-5.897c.391-.29.95-.177 1.137.272.98 2.369.542 5.215-1.41 7.169-1.951 1.954-4.667 2.382-7.149 1.406l-2.711 1.257c3.889 2.661 8.611 2.003 11.562-.953 2.341-2.344 3.066-5.539 2.388-8.42l.006.007c-.983-4.232.242-5.924 2.75-9.383.06-.082.12-.164.179-.248l-3.301 3.305v-.01L9.267 15.292M7.623 16.723c-2.792-2.67-2.31-6.801.071-9.184 1.761-1.763 4.647-2.483 7.166-1.425l2.705-1.25a7.808 7.808 0 00-1.829-1A8.975 8.975 0 005.984 5.83c-2.533 2.536-3.33 6.436-1.962 9.764 1.022 2.487-.653 4.246-2.34 6.022-.599.63-1.199 1.259-1.682 1.925l7.62-6.815"></path></svg>
96                    <!-- Perplexity -->
97                    <svg viewBox="0 0 24 24" style="width:18px; height:18px; fill:currentColor; flex-shrink:0;"><path fill="currentColor" d="M22.3977 7.0896h-2.3106V.0676l-7.5094 6.3542V.1577h-1.1554v6.1966L4.4904 0v7.0896H1.6023v10.3976h2.8882V24l6.932-6.3591v6.2005h1.1554v-6.0469l6.9318 6.1807v-6.4879h2.8882V7.0896zm-3.4657-4.531v4.531h-5.355l5.355-4.531zm-13.2862.0676 4.8691 4.4634H5.6458V2.6262zM2.7576 16.332V8.245h7.8476l-6.1149 6.1147v1.9723H2.7576zm2.8882 5.0404v-3.8852h.0001v-2.6488l5.7763-5.7764v7.0111l-5.7764 5.2993zm12.7086.0248-5.7766-5.1509V9.0618l5.7766 5.7766v6.5588zm2.8882-5.0652h-1.733v-1.9723L13.3948 8.245h7.8478v8.087z"/></svg>
98                    <!-- Yuanbao -->
99                    <svg viewBox="0 0 20 20" style="width:18px; height:18px; flex-shrink:0;"><g><path d="M14.4045 12.2651C14.4045 12.2651 11.6817 20.5535 1.71094 15.5898C1.71094 15.5898 4.4922 20.1203 10.2451 19.9899L18.1462 12.9073L14.4045 12.2651Z" fill="#BEF5C0"/><path d="M18.0333 4.07226C16.4263 2.08881 13.5248 1.6172 11.3633 3.06548C9.06977 4.60073 8.45506 7.70634 9.98851 10.0025C11.7157 12.5863 10.7185 16.197 7.66996 17.4396C5.82247 18.1922 3.67597 17.739 2.28785 16.3057C1.99719 16.0047 1.74997 15.6836 1.54952 15.3441C-1.34032 10.7768 -0.0808147 4.71278 4.43434 1.68911C8.89438 -1.29776 14.8862 -0.214056 18.0333 4.07226Z" fill="#4BC979"/><path d="M19.7936 8.04756C19.6499 7.35519 19.4428 6.69794 19.1805 6.08251C18.5408 4.7145 16.8119 4.09572 15.3736 4.8717C14.4098 5.39014 13.8335 6.44541 13.9621 7.53246C13.9738 7.63782 13.9989 7.75991 14.0223 7.86192C14.2311 8.47401 14.3797 9.1229 14.4599 9.80355C14.8875 13.4209 13.0417 16.9747 9.83618 18.6989C9.00431 19.1471 8.14571 19.4498 7.28711 19.6254C9.94476 20.3747 12.9365 20.0335 15.5591 18.3093C18.9266 16.0951 20.6188 11.996 19.7953 8.04756H19.7936Z" fill="#4BC979"/></g></svg>
100                    <!-- NotebookLM -->
101                    <svg viewBox="0 0 16 16" style="width:18px; height:18px; flex-shrink:0;"><circle cx="8" cy="8" r="8" fill="black"/><path d="M8 3.5C5.23833 3.5 3 5.72 3 8.45917V10.8333H3.92167V10.5967C3.92167 9.48583 4.82917 8.585 5.94917 8.585C7.06917 8.585 7.97667 9.48583 7.97667 10.5967V10.8333H8.89833V10.5967C8.89833 8.98083 7.5775 7.67167 5.94917 7.67167C5.315 7.67167 4.7275 7.87 4.24667 8.20833C4.75 7.21583 5.78667 6.535 6.98333 6.535C8.67417 6.535 10.045 7.895 10.045 9.57167V10.8333H10.9667V9.57167C10.9667 7.39 9.18333 5.62083 6.98333 5.62083C5.99417 5.62083 5.08917 5.97833 4.3925 6.57083C5.07667 5.28833 6.435 4.41417 8 4.41417C10.2525 4.41417 12.0783 6.225 12.0783 8.45917V10.8333H13V8.45917C13 5.72 10.7617 3.5 8 3.5Z" fill="white"/></svg>
102                    <!-- Kimi -->
103                    <img src="${It}" style="width:18px; height:18px; border-radius:50%; object-fit:contain; flex-shrink:0;" alt="Kimi" />
104                    <!-- Doubao -->
105                    <img src="${At}" style="width:18px; height:18px; border-radius:50%; object-fit:contain; flex-shrink:0;" alt="Doubao" />
106                </div>
107                <p style="font-size:9px; font-weight:800; letter-spacing:2px; text-transform:uppercase; opacity:0.75; margin:0; color:${ie.subColor};">WORKS ON 15+ AI PLATFORMS</p>
108            </div>
109        </div>`}else if(Y==="marquee_1400_560"){const Fe=q(c,"badge"),qe=q(c,"title"),Je=q(c,"subtitle"),gt=oe(c).map(Qe=>`
110            <span style="display:inline-block; padding:7px 16px; border-radius:10px; font-size:${be}px; font-weight:700;
111                background:${ie.pillBg}; color:${ie.pillText}; border:1px solid ${ie.pillBorder}; margin:4px 4px;">
112                ✦ ${Qe}
113            </span>`).join("");ct=`
114        <div style="display:flex; flex-direction:column; justify-content:space-between; padding:48px 64px; width:${t}px; height:${R}px; box-sizing:border-box; position:relative; overflow:hidden; background:${ie.bg}; color:${ie.textColor}; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">
115            ${Xe}
116            <div style="position:relative; z-index:10; display:flex; align-items:center; justify-content:space-between; width:100%;">
117                <div style="display:flex; align-items:center; gap:14px;">
118                    <div style="width:48px; height:48px; border-radius:14px; background:#2563eb; display:flex; align-items:center; justify-content:center; padding:10px; box-sizing:border-box;">
119                        <svg viewBox="0 0 24 24" width="28" height="28" fill="#ffffff" style="display:block;"><path d="${Oe}"/></svg>
120                    </div>
121                    <div>
122                        <div style="font-size:22px; font-weight:900; letter-spacing:-0.5px; line-height:1; color:${ie.titleColor};">ExportyAI</div>
123                        <div style="font-size:11px; opacity:0.65; letter-spacing:2px; text-transform:uppercase; font-weight:600; margin-top:4px; color:${ie.subColor};">AI Chat Exporter &amp; Notion Sync</div>
124                    </div>
125                </div>
126                <div style="padding:6px 16px; border-radius:999px; font-size:11px; font-weight:700; background:rgba(255,255,255,0.1); border:1px solid rgba(255,255,255,0.2); color:${ie.subColor};">
127                    Chrome Web Store &amp; Edge Official Banner
128                </div>
129            </div>
130            <div style="position:relative; z-index:10; display:flex; flex-direction:column; align-items:center; text-align:center; gap:20px; margin:auto 0; max-width:1000px; margin-left:auto; margin-right:auto;">
131                <span style="display:inline-flex; align-items:center; gap:8px; padding:6px 18px; border-radius:999px; font-size:${ue}px; font-weight:800; letter-spacing:1px; text-transform:uppercase; background:${ie.badgeBg}; color:${ie.badgeText}; border:1px solid ${ie.badgeBorder};">
132                    <span style="width:8px; height:8px; border-radius:50%; background:${ie.badgeText}; display:inline-block;"></span>
133                    ${Fe}
134                </span>
135                <h1 style="font-size:${Ce}px; font-weight:900; letter-spacing:-1px; line-height:1.2; margin:0; color:${ie.titleColor};">${qe}</h1>
136                <p style="font-size:${A}px; line-height:1.6; opacity:0.88; margin:0; color:${ie.subColor}; max-width:850px;">${Je}</p>
137                <div>${gt}</div>
138            </div>
139            <div style="position:relative; z-index:10; padding-top:16px; border-top:1px solid rgba(255,255,255,0.1); display:flex; align-items:center; justify-content:space-between; font-size:12px; font-weight:500; opacity:${ie.footerOpacity}; color:${ie.subColor};">
140                <div style="display:flex; align-items:center; gap:12px; color:${ie.subColor};">
141                    <span style="font-size:11px; font-weight:800; letter-spacing:0.5px;">SUPPORTED:</span>
142                    <!-- ChatGPT -->
143                    <svg viewBox="0 0 20 20" style="width:20px; height:20px; fill:currentColor; flex-shrink:0;"><path d="M11.248 18.25q-.825 0-1.568-.314a4.3 4.3 0 0 1-1.32-.874 4 4 0 0 1-1.304.214 4 4 0 0 1-2.046-.544 4.27 4.27 0 0 1-1.518-1.485 4 4 0 0 1-.56-2.095q0-.48.131-1.04A4.4 4.4 0 0 1 2.04 10.71a4.07 4.07 0 0 1 .017-3.4 4.2 4.2 0 0 1 1.056-1.418 3.8 3.8 0 0 1 1.6-.842 3.9 3.9 0 0 1 .76-1.683q.593-.759 1.451-1.188a4.04 4.04 0 0 1 1.832-.429q.825 0 1.567.313.742.314 1.32.875a4 4 0 0 1 1.304-.215q1.106 0 2.046.545a4.14 4.14 0 0 1 1.501 1.485q.578.941.578 2.095 0 .48-.132 1.04.66.61 1.023 1.419.363.792.363 1.666 0 .892-.38 1.717a4.3 4.3 0 0 1-1.072 1.435 3.8 3.8 0 0 1-1.584.825 3.8 3.8 0 0 1-.775 1.683 4.06 4.06 0 0 1-1.436 1.188 4.04 4.04 0 0 1-1.832.429m-4.076-2.062q.825 0 1.435-.347l3.103-1.782a.36.36 0 0 0 .164-.313v-1.42L7.881 14.62a.67.67 0 0 1-.726 0l-3.118-1.798a.5.5 0 0 1-.017.115v.198q0 .841.396 1.551.413.693 1.139 1.089a3.2 3.2 0 0 0 1.617.412m.165-2.69a.4.4 0 0 0 .181.05q.083 0 .165-.05l1.238-.71-3.977-2.31a.7.7 0 0 1-.363-.643v-3.58q-.825.362-1.32 1.122a2.9 2.9 0 0 0-.495 1.65q0 .809.413 1.55.412.743 1.072 1.123zm3.91 3.663q.875 0 1.585-.396a2.96 2.96 0 0 0 1.534-2.64v-3.564a.32.32 0 0 0-.165-.297l-1.254-.726v4.604a.7.7 0 0 1-.363.643l-3.119 
1431.799a3 3 0 0 0 1.783.577m.627-6.039V8.878L10.01 7.822 8.129 8.878v2.244l1.881 1.056zM7.057 5.859a.7.7 0 0 1 .363-.644l3.119-1.798a3 3 0 0 0-1.782-.578q-.874 0-1.584.396A2.96 2.96 0 0 0 6.05 4.324a3.07 3.07 0 0 0-.396 1.551v3.547q0 .199.165.314l1.237.726zm8.383 7.887q.825-.364 1.303-1.123.495-.758.495-1.65a3.15 3.15 0 0 0-.412-1.55q-.413-.743-1.073-1.123l-3.086-1.782q-.099-.065-.181-.049a.3.3 0 0 0-.165.05l-1.238.692 3.993 2.327a.6.6 0 0 1 .264.264.64.64 0 0 1 .1.363zm-3.317-8.382a.63.63 0 0 1 .726 0l3.135 1.831v-.297q0-.792-.396-1.501a2.86 2.86 0 0 0-1.105-1.155q-.71-.43-1.65-.43-.825 0-1.436.347L8.294 5.941a.36.36 0 0 0-.165.314v1.418z"/></svg>
144                    <!-- Claude -->
145                    <svg viewBox="0 0 512 510" style="width:20px; height:20px; flex-shrink:0;"><path d="M142.27 316.619l73.655-41.326 1.238-3.589-1.238-1.996-3.589-.001-12.31-.759-42.084-1.138-36.498-1.516-35.361-1.896-8.897-1.895-8.34-10.995.859-5.484 7.482-5.03 10.717.935 23.683 1.617 35.537 2.452 25.782 1.517 38.193 3.968h6.064l.86-2.451-2.073-1.517-1.618-1.517-36.776-24.922-39.81-26.338-20.852-15.166-11.273-7.683-5.687-7.204-2.451-15.721 10.237-11.273 13.75.935 3.513.936 13.928 10.716 29.749 23.027 38.848 28.612 5.687 4.727 2.275-1.617.278-1.138-2.553-4.271-21.13-38.193-22.546-38.848-10.035-16.101-2.654-9.655c-.935-3.968-1.617-7.304-1.617-11.374l11.652-15.823 6.445-2.073 15.545 2.073 6.547 5.687 9.655 22.092 15.646 34.78 24.265 47.291 7.103 14.028 3.791 12.992 1.416 3.968 2.449-.001v-2.275l1.997-26.641 3.69-32.707 3.589-42.084 1.239-11.854 5.863-14.206 11.652-7.683 9.099 4.348 7.482 10.716-1.036 6.926-4.449 28.915-8.72 45.294-5.687 30.331h3.313l3.792-3.791 15.342-20.372 25.782-32.227 11.374-12.789 13.27-14.129 8.517-6.724 16.1-.001 11.854 17.617-5.307 18.199-16.581 21.029-13.75 17.819-19.716 26.54-12.309 21.231 1.138 1.694 2.932-.278 44.536-9.479 24.062-4.347 28.714-4.928 12.992 6.066 1.416 6.167-5.106 12.613-30.71 7.583-36.018 7.204-53.636 12.689-.657.48.758.935 24.164 2.275 10.337.556h25.301l47.114 3.514 12.309 8.139 7.381 9.959-1.238 7.583-18.957 9.655-25.579-6.066-59.702-14.205-20.474-5.106-2.83-.001v1.694l17.061 16.682 31.266 28.233 39.152 36.397 1.997 8.999-5.03 7.102-5.307-.758-34.401-25.883-13.27-11.651-30.053-25.302-1.996-.001v2.654l6.926 10.136 36.574 54.975 1.895 16.859-2.653 5.485-9.479 3.311-10.414-1.895-21.408-30.054-22.092-33.844-17.819-30.331-2.173 1.238-10.515 113.261-4.929 5.788-11.374 4.348-9.478-7.204-5.03-11.652 5.03-23.027 6.066-30.052 4.928-23.886 4.449-29.674 2.654-9.858-.177-.657-2.173.278-22.37 30.71-34.021 45.977-26.919 28.815-6.445 2.553-11.173-5.789 1.037-10.337 6.243-9.2 37.257-47.392 22.47-29.371 14.508-16.961-.101-2.451h-.859l-98.954 64.251-17.618 2.275-7.583-7.103.936-11.652 3.589-3.791 29.749-20.474-.101.102.024.101z" fill="#D77655" /></svg>
146                    <!-- DeepSeek -->
147                    <svg viewBox="0 0 20 20" style="width:20px; height:20px; flex-shrink:0;"><path d="M23.748 4.482c-.254-.124-.364.113-.512.234-.051.039-.094.09-.137.136-.372.397-.806.657-1.373.626-.829-.046-1.537.214-2.163.848-.133-.782-.575-1.248-1.247-1.548-.352-.156-.708-.311-.955-.65-.172-.241-.219-.51-.305-.774-.055-.16-.11-.323-.293-.35-.2-.031-.278.136-.356.276-.313.572-.434 1.202-.422 1.84.027 1.436.633 2.58 1.838 3.393.137.093.172.187.129.323-.082.28-.18.552-.266.833-.055.179-.137.217-.329.14a5.526 5.526 0 01-1.736-1.18c-.857-.828-1.631-1.742-2.597-2.458a11.365 11.365 0 00-.689-.471c-.985-.957.13-1.743.388-1.836.27-.098.093-.432-.779-.428-.872.004-1.67.295-2.687.684a3.055 3.055 0 01-.465.137 9.597 9.597 0 00-2.883-.102c-1.885.21-3.39 1.102-4.497 2.623C.082 8.606-.231 10.684.152 12.85c.403 2.284 1.569 4.175 3.36 5.653 1.858 1.533 3.997 2.284 6.438 2.14 1.482-.085 3.133-.284 4.994-1.86.47.234.962.327 1.78.397.63.059 1.236-.03 1.705-.128.735-.156.684-.837.419-.961-2.155-1.004-1.682-.595-2.113-.926 1.096-1.296 2.746-2.642 3.392-7.003.05-.347.007-.565 0-.845-.004-.17.035-.237.23-.256a4.173 4.173 0 001.545-.475c1.396-.763 1.96-2.015 2.093-3.517.02-.23-.004-.467-.247-.588zM11.581 18c-2.089-1.642-3.102-2.183-3.52-2.16-.392.024-.321.471-.235.763.09.288.207.486.371.739.114.167.192.416-.113.603-.673.416-1.842-.14-1.897-.167-1.361-.802-2.5-1.86-3.301-3.307-.774-1.393-1.224-2.887-1.298-4.482-.02-.386.093-.522.477-.592a4.696 4.696 0 011.529-.039c2.132.312 3.946 1.265 5.468 2.774.868.86 1.525 1.887 2.202 2.891.72 1.066 1.494 2.082 2.48 2.914.348.292.625.514.891.677-.802.09-2.14.11-3.054-.614zm1-6.44a.306.306 0 01.415-.287.302.302 0 01.2.288.306.306 0 01-.31.307.303.303 0 01-.304-.308zm3.11 1.596c-.2.081-.399.151-.59.16a1.245 1.245 0 01-.798-.254c-.274-.23-.47-.358-.552-.758a1.73 1.73 0 01.016-.588c.07-.327-.008-.537-.239-.727-.187-.156-.426-.199-.688-.199a.559.559 0 01-.254-.078c-.11-.054-.2-.19-.114-.358.028-.054.16-.186.192-.21.356-.202.767-.136 1.146.016.352.144.618.408 1.001.782.391.451.462.576.685.9
14714.176.265.336.537.445.848.067.195-.019.354-.25.452z" fill="#4D6BFE"/></svg>
148                    <!-- Gemini -->
149                    <svg viewBox="0 0 24 24" style="width:20px; height:20px; flex-shrink:0;"><defs><linearGradient id="gemini-m-fill" x1="0%" x2="68.73%" y1="100%" y2="30.395%"><stop offset="0%" stop-color="#1C7DFF"></stop><stop offset="52.021%" stop-color="#1C69FF"></stop><stop offset="100%" stop-color="#F0DCD6"></stop></linearGradient></defs><path d="M12 24A14.304 14.304 0 000 12 14.304 14.304 0 0012 0a14.305 14.305 0 0012 12 14.305 14.305 0 00-12 12" fill="url(#gemini-m-fill)" fill-rule="nonzero"></path></svg>
150                    <!-- Grok -->
151                    <svg viewBox="0 0 24 24" style="width:20px; height:20px; fill:currentColor; flex-shrink:0;"><path fill="currentColor" fill-rule="evenodd" d="M9.27 15.29l7.978-5.897c.391-.29.95-.177 1.137.272.98 2.369.542 5.215-1.41 7.169-1.951 1.954-4.667 2.382-7.149 1.406l-2.711 1.257c3.889 2.661 8.611 2.003 11.562-.953 2.341-2.344 3.066-5.539 2.388-8.42l.006.007c-.983-4.232.242-5.924 2.75-9.383.06-.082.12-.164.179-.248l-3.301 3.305v-.01L9.267 15.292M7.623 16.723c-2.792-2.67-2.31-6.801.071-9.184 1.761-1.763 4.647-2.483 7.166-1.425l2.705-1.25a7.808 7.808 0 00-1.829-1A8.975 8.975 0 005.984 5.83c-2.533 2.536-3.33 6.436-1.962 9.764 1.022 2.487-.653 4.246-2.34 6.022-.599.63-1.199 1.259-1.682 1.925l7.62-6.815"></path></svg>
152                    <!-- Perplexity -->
153                    <svg viewBox="0 0 24 24" style="width:20px; height:20px; fill:currentColor; flex-shrink:0;"><path fill="currentColor" d="M22.3977 7.0896h-2.3106V.0676l-7.5094 6.3542V.1577h-1.1554v6.1966L4.4904 0v7.0896H1.6023v10.3976h2.8882V24l6.932-6.3591v6.2005h1.1554v-6.0469l6.9318 6.1807v-6.4879h2.8882V7.0896zm-3.4657-4.531v4.531h-5.355l5.355-4.531zm-13.2862.0676 4.8691 4.4634H5.6458V2.6262zM2.7576 16.332V8.245h7.8476l-6.1149 6.1147v1.9723H2.7576zm2.8882 5.0404v-3.8852h.0001v-2.6488l5.7763-5.7764v7.0111l-5.7764 5.2993zm12.7086.0248-5.7766-5.1509V9.0618l5.7766 5.7766v6.5588zm2.8882-5.0652h-1.733v-1.9723L13.3948 8.245h7.8478v8.087z"/></svg>
154                    <!-- Yuanbao -->
155                    <svg viewBox="0 0 20 20" style="width:20px; height:20px; flex-shrink:0;"><g><path d="M14.4045 12.2651C14.4045 12.2651 11.6817 20.5535 1.71094 15.5898C1.71094 15.5898 4.4922 20.1203 10.2451 19.9899L18.1462 12.9073L14.4045 12.2651Z" fill="#BEF5C0"/><path d="M18.0333 4.07226C16.4263 2.08881 13.5248 1.6172 11.3633 3.06548C9.06977 4.60073 8.45506 7.70634 9.98851 10.0025C11.7157 12.5863 10.7185 16.197 7.66996 17.4396C5.82247 18.1922 3.67597 17.739 2.28785 16.3057C1.99719 16.0047 1.74997 15.6836 1.54952 15.3441C-1.34032 10.7768 -0.0808147 4.71278 4.43434 1.68911C8.89438 -1.29776 14.8862 -0.214056 18.0333 4.07226Z" fill="#4BC979"/><path d="M19.7936 8.04756C19.6499 7.35519 19.4428 6.69794 19.1805 6.08251C18.5408 4.7145 16.8119 4.09572 15.3736 4.8717C14.4098 5.39014 13.8335 6.44541 13.9621 7.53246C13.9738 7.63782 13.9989 7.75991 14.0223 7.86192C14.2311 8.47401 14.3797 9.1229 14.4599 9.80355C14.8875 13.4209 13.0417 16.9747 9.83618 18.6989C9.00431 19.1471 8.14571 19.4498 7.28711 19.6254C9.94476 20.3747 12.9365 20.0335 15.5591 18.3093C18.9266 16.0951 20.6188 11.996 19.7953 8.04756H19.7936Z" fill="#4BC979"/></g></svg>
156                    <!-- NotebookLM -->
157                    <svg viewBox="0 0 16 16" style="width:20px; height:20px; flex-shrink:0;"><circle cx="8" cy="8" r="8" fill="black"/><path d="M8 3.5C5.23833 3.5 3 5.72 3 8.45917V10.8333H3.92167V10.5967C3.92167 9.48583 4.82917 8.585 5.94917 8.585C7.06917 8.585 7.97667 9.48583 7.97667 10.5967V10.8333H8.89833V10.5967C8.89833 8.98083 7.5775 7.67167 5.94917 7.67167C5.315 7.67167 4.7275 7.87 4.24667 8.20833C4.75 7.21583 5.78667 6.535 6.98333 6.535C8.67417 6.535 10.045 7.895 10.045 9.57167V10.8333H10.9667V9.57167C10.9667 7.39 9.18333 5.62083 6.98333 5.62083C5.99417 5.62083 5.08917 5.97833 4.3925 6.57083C5.07667 5.28833 6.435 4.41417 8 4.41417C10.2525 4.41417 12.0783 6.225 12.0783 8.45917V10.8333H13V8.45917C13 5.72 10.7617 3.5 8 3.5Z" fill="white"/></svg>
158                    <!-- Kimi -->
159                    <img src="${It}" style="width:20px; height:20px; border-radius:50%; object-fit:contain; flex-shrink:0;" alt="Kimi" />
160                    <!-- Doubao -->
161                    <img src="${At}" style="width:20px; height:20px; border-radius:50%; object-fit:contain; flex-shrink:0;" alt="Doubao" />
162                </div>
163                <span>https://exportyai.com</span>
164            </div>
165        </div>`}else{const Fe=ye(l.value,c),qe=Fe.overlayW,Je=Fe.overlayH,pt=Fe.calcLeft,gt=Fe.calcTop,Qe=Fe.mode??"popup",_t=Qe==="popup"?"20px":"10px";let ft="";Ke?Qe==="web"?ft=`
166                    <div style="height:28px; padding:0 12px; background:rgba(15,23,42,0.7); border-bottom:1px solid rgba(51,65,85,0.8); display:flex; align-items:center; gap:6px; flex-shrink:0;">
167                        <span style="width:10px; height:10px; border-radius:50%; background:#f43f5e; display:inline-block;"></span>
168                        <span style="width:10px; height:10px; border-radius:50%; background:#f59e0b; display:inline-block;"></span>
169                        <span style="width:10px; height:10px; border-radius:50%; background:#10b981; display:inline-block;"></span>
170                        <span style="margin-left:8px; font-size:10px; color:#94a3b8; font-family:monospace; flex:1; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;">https://exportyai.com/preview</span>
171                    </div>
172                    <div style="flex:1; overflow:hidden; position:relative;">
173                        <img src="${Ke}" style="width:100%; height:100%; object-fit:cover; object-position:top; display:block; image-rendering:-webkit-optimize-contrast; image-rendering:high-quality;" crossorigin="anonymous" />
174                    </div>`:ft=`<div style="width:100%; height:100%; overflow:hidden; position:relative;"><img src="${Ke}" style="width:100%; height:100%; object-fit:cover; object-position:top; display:block; image-rendering:-webkit-optimize-contrast; image-rendering:high-quality;" crossorigin="anonymous" /></div>`:ft=`
175                <div style="display:flex; flex-direction:column; align-items:center; justify-content:center; height:100%; gap:8px; color:#94a3b8; text-align:center; padding:16px; box-sizing:border-box;">
176                    <div style="font-size:11px; font-weight:700; color:#cbd5e1;">${Qe==="web"?"网页预览截图留白区域":"软件弹窗截图留白区域"}</div>
177                    <div style="font-size:10px; font-family:monospace; color:#60a5fa;">${qe} × ${Je} px</div>
178                </div>`;const vt=Qe==="web"?"flex-direction:column;":"";ct=`
179        <div style="display:flex; flex-direction:column; justify-content:space-between; padding:48px 64px; width:${t}px; height:${R}px; box-sizing:border-box; position:relative; overflow:hidden; background:${ie.bg}; color:${ie.textColor}; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;">
180            ${Xe}
181            <!-- Header -->
182            <div style="position:relative; z-index:10; display:flex; align-items:center; justify-content:space-between; width:100%;">
183                <div style="display:flex; align-items:center; gap:14px;">
184                    <div style="width:48px; height:48px; border-radius:16px; background:#2563eb; display:flex; align-items:center; justify-content:center; padding:10px; box-sizing:border-box;">
185                        <svg viewBox="0 0 24 24" width="28" height="28" fill="#ffffff" style="display:block;"><path d="${Oe}"/></svg>
186                    </div>
187                    <div>
188                        <div style="font-size:22px; font-weight:900; letter-spacing:-0.5px; line-height:1; color:${ie.titleColor};">ExportyAI</div>
189                        <div style="font-size:11px; opacity:0.65; letter-spacing:2px; text-transform:uppercase; font-weight:600; margin-top:4px; color:${ie.subColor};">AI Chat Exporter &amp; Notion Sync</div>
190                    </div>
191                </div>
192            </div>
193            <!-- Main content text -->
194            <div style="position:relative; z-index:10; display:flex; align-items:center; margin:auto 0; padding:8px 0;">
195                <!-- Left text column -->
196                <div style="max-width:55%; display:flex; flex-direction:column; gap:20px;">
197                    <span style="display:inline-flex; align-items:center; gap:8px; padding:6px 18px; border-radius:999px; font-size:${ue}px; font-weight:800; letter-spacing:1px; text-transform:uppercase; background:${ie.badgeBg}; color:${ie.badgeText}; border:1px solid ${ie.badgeBorder}; align-self:flex-start;">
198                        <span style="width:8px; height:8px; border-radius:50%; background:${ie.badgeText}; display:inline-block;"></span>
199                        ${ae}
200                    </span>
201                    <h1 style="font-size:${Ce}px; font-weight:900; letter-spacing:-1px; line-height:1.15; margin:0; color:${ie.titleColor};">${de}</h1>
202                    <p style="font-size:${A}px; line-height:1.65; opacity:0.88; margin:0; color:${ie.subColor};">${Z}</p>
203                    ${ut?`<p style="font-size:${be}px; font-weight:800; opacity:0.95; letter-spacing:0.3px; margin:0; color:${ie.subColor};">${ut}</p>`:`<div style="display:flex; flex-wrap:wrap; gap:8px;">${dt}</div>`}
204                </div>
205            </div>
206            <!-- Footer -->
207            <div style="position:relative; z-index:10; padding-top:16px; border-top:1px solid ${Fe.showFooter??!0?"rgba(255,255,255,0.1)":"transparent"}; display:flex; align-items:center; justify-content:space-between; font-size:11px; font-weight:500; opacity:${Fe.showFooter??!0?ie.footerOpacity:0}; color:${ie.subColor}; visibility:${Fe.showFooter??!0?"visible":"hidden"};">
208                <span>ExportyAI Extension</span>
209                <span>https://exportyai.com</span>
210            </div>
211            <!-- Floating screenshot overlay -->
212            <div id="export-screenshot-viewport" style="position:absolute; left:${pt}px; top:${gt}px; width:${qe}px; height:${Je}px; border-radius:${_t}; overflow:hidden; border:1px solid ${ie.cardBorder}; background:${ie.cardBg}; display:flex; ${vt} box-shadow: 0 25px 50px rgba(0,0,0,0.35); z-index:20;">
213                ${ft}
214            </div>
215        </div>`}return ct},He=c=>new Promise((t,R)=>{const Y=new Image;Y.crossOrigin="anonymous",Y.onload=()=>t(Y),Y.onerror=re=>R(re),Y.src=c}),yt=(c,t,R,Y,re,ae)=>{if(typeof c.roundRect=="function"){c.roundRect(t,R,Y,re,ae);return}const de=Array.isArray(ae)?[ae[0],ae[1],ae[2],ae[3]]:[ae,ae,ae,ae],[Z,Ce,A,ue]=de;c.beginPath(),c.moveTo(t+Z,R),c.lineTo(t+Y-Ce,R),c.arcTo(t+Y,R,t+Y,R+Ce,Ce),c.lineTo(t+Y,R+re-A),c.arcTo(t+Y,R+re,t+Y-A,R+re,A),c.lineTo(t+ue,R+re),c.arcTo(t,R+re,t,R+re-ue,ue),c.lineTo(t,R+Z),c.arcTo(t,R,t+Z,R,Z),c.closePath()},ht=async(c,t,R)=>{var ue;const Y=R||p.value,re=xt(Y,c,t),ae=document.createElement("iframe");ae.style.cssText=`position:fixed; top:-9999px; left:-9999px; width:${c}px; height:${t}px; border:none; opacity:0; pointer-events:none;`,document.body.appendChild(ae);const de=ae.contentDocument||((ue=ae.contentWindow)==null?void 0:ue.document);if(!de)throw document.body.removeChild(ae),new Error("无法创建离屏渲染 Iframe 文档");de.open(),de.write(`<!DOCTYPE html><html><head><meta charset="utf-8"><style>
216        html, body { margin:0; padding:0; width:${c}px; height:${t}px; overflow:hidden; background:transparent; }
217        * { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
218    </style></head><body>${re}</body></html>`),de.close();const Z=de.createElement("script");Z.src="/vendor/js/html2canvas.min.js";const Ce=new Promise((be,De)=>{Z.onload=()=>be(),Z.onerror=()=>De(new Error("离屏 Iframe 加载 html2canvas 失败"))});de.head.appendChild(Z),await Promise.all([Ce,Promise.race([de.fonts.ready,new Promise(be=>setTimeout(be,800))])]),await new Promise(be=>setTimeout(be,150));const A=ae.contentWindow.html2canvas;if(!A)throw document.body.removeChild(ae),new Error("Iframe 中的 html2canvas 加载失败");try{const be=de.body.firstElementChild,De=de.getElementById("export-screenshot-viewport"),ie=Le(Y),Oe=ie==null?void 0:ie.src,Ye=await A(be,{scale:2,useCORS:!0,allowTaint:!0,logging:!1,width:c,height:t,windowWidth:c,windowHeight:t}),Ke=document.createElement("canvas");Ke.width=c,Ke.height=t;const Te=Ke.getContext("2d");if(!Te)return Ye.toDataURL(Ze.value==="jpeg"?"image/jpeg":"image/png",.95);if(Te.imageSmoothingEnabled=!0,Te.imageSmoothingQuality="high",Te.drawImage(Ye,0,0,c,t),Oe&&De)try{const dt=be.getBoundingClientRect(),it=De.getBoundingClientRect(),ut=it.left-dt.left,Xe=it.top-dt.top,ct=it.width,Fe=it.height,qe=ge.value==="web",Je=ut,pt=qe?Xe+28:Xe,gt=ct,Qe=qe?Fe-28:Fe,_t=ut,ft=qe?Xe+28:Xe,vt=ct,kt=qe?Fe-28:Fe,Ge=await He(Oe);if(Te.save(),Te.beginPath(),qe?yt(Te,Je,pt,gt,Qe,[0,0,10,10]):yt(Te,Je,pt,gt,Qe,20),Te.clip(),Ge.naturalWi
218dth===Math.round(vt)&&Ge.naturalHeight===Math.round(kt))Te.imageSmoothingEnabled=!1,Te.drawImage(Ge,Math.round(_t),Math.round(ft),Math.round(vt),Math.round(kt));else{Te.imageSmoothingEnabled=!0,Te.imageSmoothingQuality="high";const rr=Ge.naturalWidth/Ge.naturalHeight,Et=vt/kt;let Zt=0,Ht=0,Bt=Ge.naturalWidth,qt=Ge.naturalHeight;rr>Et?(Bt=Ge.naturalHeight*Et,Zt=(Ge.naturalWidth-Bt)/2):(qt=Ge.naturalWidth/Et,Ht=0),Te.drawImage(Ge,Zt,Ht,Bt,qt,_t,ft,vt,kt)}Te.restore()}catch(dt){console.warn("Direct screenshot compositing fallback:",dt)}return Ke.toDataURL(Ze.value==="jpeg"?"image/jpeg":"image/png",.95)}finally{document.body.contains(ae)&&document.body.removeChild(ae)}},Tt=async c=>{u.value!=="single"&&(u.value="single",await et()),Se.value=!0;try{await et();const t=await ht(h.value.width,h.value.height),R=document.createElement("a");R.href=t,R.download=c||`ExportyAI_${x.value}_${p.value}.${Ze.value}`,R.click(),Ae.success("📸 单图导出成功!")}catch(t){Ae.error("单图导出失败: "+(t.message||t))}finally{Se.value=!1}},Pt=async()=>{var ae,de;Se.value=!0;const c=new hr,t=p.value,R=x.value,Y=l.value,re=u.value;u.value="single",await et();try{Ae.info("🚀 正在开启 9 语言多尺寸全量渲染打 Zip 包,请稍候...");for(const be of b){p.value=be.code;const De=c.folder(be.code);x.value="store_1280_800";for(let Te=1;Te<=s.value.length;Te++){l.value=Te,await et(),await new Promise(ut=>setTimeout(ut,120));const it=(await ht(1280,800,be.code)).replace(/^data:image\/png;base64,/,"");De.file(`store_1280x800_${Te}.png`,it,{base64:!0})}x.value="tile_440_280",await et(),await new Promise(Te=>setTimeout(Te,120));const Oe=(await ht(440,280,be.code)).replace(/^data:image\/png;base64,/,"");De.file("tile_440x280.png",Oe,{base64:!0}),x.value="marquee_1400_560",await et(),await new Promise(Te=>setTimeout(Te,120));const Ke=(await ht(1400,560,be.code)).replace(/^data:image\/png;base64,/,"");De.file("marquee_1400x560.png",Ke,{base64:!0})}p.value=t,x.value=R,l.value=Y,u.value=re;const Z={version:"1.0",name:Q.value.name,config:JSON.parse(JSON.stringify(Q.value.config||{})),screenshots:JSON.parse(JSON.stringify(Pe.value||{})),exported_at:new Date().toISOString()};if(c.file("project_export.json",JSON.stringify(Z,null,4)),Pe.value&&Object.keys(Pe.value).length>0){const be=c.folder("screenshots");for(const[De,ie]of Object.entries(Pe.value))if(ie&&typeof ie=="string")try{const Oe=await fetch(ie);if(Oe.ok){const Ye=await Oe.blob();be==null||be.file(`${De}.png`,Ye)}}catch(Oe){console.warn(`[ZIP Export] Could not fetch screenshot for ${De}:`,Oe)}}const Ce=await c.generateAsync({type:"blob",compression:"DEFLATE",compressionOptions:{level:6}}),A=`ExportyAI_Promos_${Q.value.name}.zip`,ue=document.createElement("a");ue.href=URL.createObjectURL(Ce),ue.download=A,document.body.appendChild(ue),ue.click(),document.body.removeChild(ue),setTimeout(()=>URL.revokeObjectURL(ue.href),1e4),Ae.success("🎉 9 语言宣发套图 Zip 压缩包(共 72 张图片 + project_export.json)已成功生成并下载!");try{const be=new FormData;be.append("zip_file",Ce,A);const De=await bt.post(route("admin.promos.upload-zip",Q.value.id),be,{headers:{"Content-Type":"multipart/form-data"}});(ae=De.data)!=null&&ae.success&&(Q.value.zip_path=De.data.zip_path,ot.value=Date.now(),Ae.success("☁️ 服务器端持久化 Zip 压缩包已同步更新完成!"))}catch(be){((de=be.response)==null?void 0:de.status)===413?(console.warn("Backend ZIP upload size limit (413 Payload Too Large)."),Ae.info("💡 提示:文件已成功下载!若需在后台服务器持久化保存大包,请在 Nginx 配置 client_max_body_size 128M;")):console.warn("Backend ZIP upload info:",be)}}catch(Z){Ae.error("批量导出 Zip 失败: "+(Z.message||Z))}finally{Se.value=!1}},at=Ee(!1),lt=()=>{at.value=!0},mt=async()=>{var c;if((c=Q.value)!=null&&c.id)try{(await bt.delete(route("admin.promos.delete-zip",Q.value.id))).data.success&&(Q.value.zip_path=void 0,at.value=!1,Ae.success("🗑️ Zip 压缩包已从服务器安全删除!"))}catch(t){Ae.error("删除 Zip 失败: "+(t.message||t))}},Ut=Ee(null),er=()=>{var c;(c=Ut.value)==null||c.click()},tr=async c=>{var re,ae,de;const t=c.target;if(!t.files||!t.files[0])return;
218const R=t.files[0],Y=new FormData;Y.append("zip_file",R),(re=Q.value)!=null&&re.id&&Y.append("project_id",String(Q.value.id));try{Ae.info("⏳ 正在解析并导入 Zip 方案包...");const Z=await bt.post(route("admin.promos.import-zip"),Y,{headers:{"Content-Type":"multipart/form-data"}});Z.data.success&&(Ae.success(Z.data.message||"🎉 方案 ZIP 成功导入!"),Z.data.project&&(Q.value=Z.data.project,f.value=Z.data.project.name||f.value,ve(Z.data.project)))}catch(Z){Ae.error("导入 Zip 失败: "+(((de=(ae=Z.response)==null?void 0:ae.data)==null?void 0:de.message)||Z.message||Z))}finally{t.value=""}};return nr(()=>{window.removeEventListener("resize",J),V&&(V.disconnect(),V=null)}),(c,t)=>(ne(),le(je,null,[Ie(xe(sr),{title:`编辑方案: ${f.value} - ExportyAI Admin`},null,8,["title"]),Ie(lr,{breadcrumbs:C},{default:ze(()=>{var R,Y,re,ae,de,Z,Ce;return[a("div",{class:we(["transition-all duration-300",z.value==="split"?"w-full px-4 md:px-6 py-3 h-[calc(100vh-4rem)] overflow-hidden":"p-6 max-w-7xl mx-auto"])},[a("div",{class:we([z.value==="split"?"grid grid-cols-1 lg:grid-cols-12 gap-6 items-start h-full":"space-y-6"])},[a("div",{class:we([z.value==="split"?"lg:col-span-5 xl:col-span-5 2xl:col-span-5 space-y-6 h-full overflow-y-auto pr-2 pb-6 custom-scrollbar":"space-y-6"])},[a("div",mr,[a("div",gr,[Ie(xe(or),{href:c.route("admin.promos.index"),class:"px-3 py-1.5 rounded-xl bg-slate-100 dark:bg-gray-700 hover:bg-slate-200 text-slate-700 dark:text-slate-200 text-xs font-bold transition-all shrink-0"},{default:ze(()=>t[41]||(t[41]=[Ne(" ⬅️ 返回列表 ")])),_:1,__:[41]},8,["href"]),a("div",vr,[t[42]||(t[42]=a("span",{class:"text-xs font-bold text-slate-500 shrink-0"},"方案名:",-1)),tt(a("input",{"onUpdate:modelValue":t[0]||(t[0]=A=>f.value=A),type:"text",class:"h-8 rounded-xl border border-slate-200 dark:border-gray-700 bg-slate-50 dark:bg-gray-900 px-2.5 text-xs font-bold text-slate-900 dark:text-slate-100 flex-1 min-w-[120px]",placeholder:"方案名称..."},null,512),[[wt,f.value]])])]),a("div",br,[a("input",{type:"file",ref_key:"importZipInputRef",ref:Ut,accept:".zip",class:"hidden",onChange:tr},null,544),a("button",{onClick:er,class:"px-3 py-1.5 rounded-xl bg-purple-600 hover:bg-purple-700 text-white text-xs font-bold shadow-sm transition-all flex items-center gap-1",title:"从 Zip 压缩包导入并覆盖还原方案配置与截图"}," 📥 导入 Zip "),a("button",{onClick:Re,disabled:ke.value,class:"px-3 py-1.5 rounded-xl bg-emerald-600 hover:bg-emerald-700 text-white text-xs font-bold shadow-sm transition-all flex items-center gap-1"}," 💾 保存方案 ",8,xr),(R=Q.value)!=null&&R.zip_path?(ne(),le("a",{key:0,href:c.route("admin.promos.download-zip",Q.value.id)+"?t="+ot.value,class:"px-3 py-1.5 rounded-xl bg-amber-500 hover:bg-amber-600 text-white text-xs font-bold shadow-sm transition-all flex items-center gap-1",title:"直接下载服务器端已生成的 Zip 包"}," 📥 下载 Zip 包 ",8,yr)):$e("",!0),(Y=Q.value)!=null&&Y.zip_path?(ne(),le("button",{key:1,onClick:lt,class:"px-2.5 py-1.5 rounded-xl bg-rose-100 hover:bg-rose-200 text-rose-700 dark:bg-rose-950/60 dark:text-rose-300 text-xs font-bold transition-all flex items-center gap-1",title:"从服务器彻底删除 Zip 压缩包"}," 🗑️ 删除 Zip ")):$e("",!0)])]),a("div",wr,[a("div",{class:we(["pb-4 border-b border-slate-100 dark:border-gray-700 gap-4",z.value==="split"?"flex flex-col":"flex flex-col lg:flex-row lg:items-center justify-between"])},[a("div",null,[a("h1",_r,[t[43]||(t[43]=a("span",null,"🎨 编辑宣传图方案",-1)),a("span",kr,pe(f.value),1)]),t[44]||(t[44]=a("p",{class:"text-xs text-slate-500 dark:text-slate-400 mt-1"}," 实时调整图块画幅、颜色主题、9 语言细节文案、图文排版字号及软件截图。 ",-1))]),a("div",Cr,[a("div",zr,[a("button",{onClick:t[1]||(t[1]=A=>O("split")),class:we(["px-3 py-1.5 rounded-xl text-xs font-bold transition-all flex items-center gap-1.5",z.value==="split"?"bg-white dark:bg-gray-800 text-blue-600 dark:text-blue-400 shadow-sm":"text-slate-600 dark:text-slate-300 hover:text-slate-900"]),title:"左右分栏 (适合宽屏)"},t[45]||(t[45]=[a("span",null,"📊 左右分栏",-1)]),2),a("button",{onClick:t[2]||(t[2]=A=>O("stacked")),class:we(["px-3 py-1.5 rounded-xl text-xs font-bold transition-all flex items-center gap-1.5",z.value==="stacked"?"bg-white dark:bg-gray-800 text-blue-600 dar
218k:text-blue-400 shadow-sm":"text-slate-600 dark:text-slate-300 hover:text-slate-900"]),title:"上下堆叠"},t[46]||(t[46]=[a("span",null,"📜 上下堆叠",-1)]),2)]),a("button",{onClick:t[3]||(t[3]=A=>Tt()),disabled:Se.value,class:"px-3.5 py-2 rounded-2xl bg-blue-600 hover:bg-blue-700 text-white font-bold text-xs shadow-md transition-all flex items-center gap-1.5 hover:scale-[1.02] active:scale-95 disabled:opacity-50"},[t[47]||(t[47]=a("svg",{class:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-4l-4 4m0 0l-4-4m4 4V4"})],-1)),a("span",null,pe(Se.value?"导出中...":"📸 导出当前单图"),1)],8,Sr),a("button",{onClick:t[4]||(t[4]=A=>Pt()),disabled:Se.value,class:"px-3.5 py-2 rounded-2xl bg-indigo-600 hover:bg-indigo-700 text-white font-bold text-xs shadow-md transition-all flex items-center gap-1.5 hover:scale-[1.02] active:scale-95 disabled:opacity-50"},t[48]||(t[48]=[a("svg",{class:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M8 7v8a2 2 0 002 2h6M8 7V5a2 2 0 012-2h4.586a1 1 0 01.707.293l4.414 4.414a1 1 0 01.293.707V15a2 2 0 01-2 2h-2M8 7H6a2 2 0 00-2 2v10a2 2 0 002-2v-2"})],-1),a("span",null,"📦 批量 9 语言导出 Zip",-1)]),8,Ir)])],2),a("div",{class:we(["grid gap-4 text-xs",z.value==="split"?"grid-cols-1 sm:grid-cols-2":"grid-cols-1 md:grid-cols-2 lg:grid-cols-4"])},[a("div",Ar,[t[49]||(t[49]=a("label",{class:"font-bold text-slate-700 dark:text-slate-300"},"1. 画布尺寸规格",-1)),tt(a("select",{"onUpdate:modelValue":t[5]||(t[5]=A=>x.value=A),class:"w-full h-9 rounded-xl border border-slate-200 dark:border-gray-700 bg-slate-50 dark:bg-gray-800 px-3 text-xs font-semibold"},[(ne(),le(je,null,rt(U,(A,ue)=>a("option",{key:ue,value:ue},pe(A.name),9,Tr)),64))],512),[[zt,x.value]]),a("p",Pr,pe(h.value.desc),1)]),a("div",Er,[t[50]||(t[50]=a("label",{class:"font-bold text-slate-700 dark:text-slate-300"},"2. 主题色彩风格",-1)),tt(a("select",{"onUpdate:modelValue":t[6]||(t[6]=A=>y.value=A),class:"w-full h-9 rounded-xl border border-slate-200 dark:border-gray-700 bg-slate-50 dark:bg-gray-800 px-3 text-xs font-semibold"},[(ne(),le(je,null,rt(m,(A,ue)=>a("option",{key:ue,value:ue},pe(A.name),9,Br)),64))],512),[[zt,y.value]])]),a("div",Dr,[t[51]||(t[51]=a("label",{class:"font-bold text-slate-700 dark:text-slate-300"},"3. 预览语言 (9 语言支持)",-1)),tt(a("select",{"onUpdate:modelValue":t[7]||(t[7]=A=>p.value=A),class:"w-full h-9 rounded-xl border border-slate-200 dark:border-gray-700 bg-slate-50 dark:bg-gray-800 px-3 text-xs font-semibold"},[(ne(),le(je,null,rt(b,A=>a("option",{key:A.code,value:A.code}," 🌐 "+pe(A.name)+" ("+pe(A.code)+") ",9,Fr)),64))],512),[[zt,p.value]])]),a("div",Lr,[t[53]||(t[53]=a("label",{class:"font-bold text-slate-700 dark:text-slate-300"},"4. 导出图片格式与选项",-1)),tt(a("select",{"onUpdate:modelValue":t[8]||(t[8]=A=>Ze.value=A),class:"w-full h-9 rounded-xl border border-slate-200 dark:border-gray-700 bg-slate-50 dark:bg-gray-800 px-3 text-xs font-semibold"},t[52]||(t[52]=[a("option",{value:"png"},"PNG (无损透明)",-1),a("option",{value:"jpeg"},"JPEG (带背景 / 24-bit 无 alpha)",-1)]),512),[[zt,Ze.value]])])],2),x.value==="store_1280_800"?(ne(),le("div",$r,[a("div",Mr,[t[54]||(t[54]=a("span",{class:"text-xs font-bold text-slate-700 dark:text-slate-300"}," 套图页签切换 (Slide Selector) ",-1)),a("span",Rr," 已选中: Slide "+pe(l.value),1)]),a("div",Nr,[(ne(!0),le(je,null,rt(s.value,A=>(ne(),le("button",{key:A.id,onClick:ue=>l.value=A.id,class:we(["px-3 py-1.5 rounded-xl text-xs font-bold transition-all border",l.value===A.id?"bg-blue-600 text-white border-blue-600 shadow-sm scale-[1.02]":"bg-slate-100 text-slate-600 dark:bg-gray-800 dark:text-slate-300 border-slate-200 dark:border-gray-700 hover:bg-slate-200"])},pe(A.name),11,Or))),128))])])):x.value==="tile_440_280"?(ne(),le("div",Wr,t[55]||(t[55]=[a("div",{class:"flex items-center gap-2"},[a("span",{class:"text-base"},"🏷️"),a("div",null,[a("span",{class:"font-bold"},"440×280 小型宣传图块 (Small Promo Tile)"),a("p",{class:"text-[11px] text-slate-500 dark:text-slate-400 mt-0.5"},"Chrome 网上应用店单图卡片封面,文案独立固定,不跟随 Slide 序列切换。")])],-1),a("span",{class:"font-bold text-[11px] bg-blue-600 text-white px-2 py-0.5 rounded-md shrink-0"}," 独立单图规格 ",-1)]))):x.value==="marquee_1400_560"?(ne(),le("div",jr,t[56]||(t[56]=[a("div",{class:"flex items-center gap-2"},[a("span",{class:"text-base"},"🚩"),a("div",null,[a("span",{class:"font-bold"},"1400×560 顶部横幅图块 (Marquee Hero Banner)"),a("p",{class:"text-[11px] text-slate-500 dark:text-slate-400 mt-0.5"},"Chrome / Edge 官方精选推荐大图,文案独立固定,不跟随 Slide 序列切换。")])],-1),a("span",{class:"font-bold text-[11px] bg-indigo-600 text-white px-2 py-0.5 rounded-md shrink-0"}," 独立单图规格 ",-1)]))):$e("",!0)]),a("div",Ur,[a("div",{class:we(["grid gap-6 text-xs",z.value==="split"?"grid-cols-1":"grid-cols-1 lg:grid-cols-2"])},[a("div",Zr,[a("div",Hr,[a("h3",qr,[a("span",null,"✏️ 画面文案细节微调 ["+pe((re=b.find(A=>A.code===p.value))==null?void 0:re.name)+"]",1)]),a("div",Gr,[a("button",{onClick:K,class:"px-2.5 py-1 rounded-lg bg-emerald-50 hover:bg-emerald-100 text-emerald-700 dark:bg-emerald-950/60 dark:hover:bg-emerald-900/80 dark:text-emerald-300 text-[11px] font-bold transition-all border border-emerald-200/60 dark:border-emerald-800 flex items-center gap-1 shrink-0 shadow-2xs",title:"一键将当前语言设置的字号(主标题、副标题、胶囊标签等)同步应用到全部 9 种语言"},t[57]||(t[57]=[a("svg",{class:"w-3.5 h-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3.055 11H5a2 2 0 012 2v1a2 2 0 002 2 2 2 0 012 2v2.945M8 3.935V5.5A2.5 2.5 0 0010.5 8h.5a2 2 0 012 2 2 2 0 104 0 2 2 
2180 012-2h1.064M15 20.488V18a2 2 0 012-2h3.064M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1),a("span",null,"应用字号到其它语言",-1)])),Ie(xe(Dt),null,{default:ze(()=>[Ie(xe(Vt),{"as-child":""},{default:ze(()=>t[58]||(t[58]=[a("button",{class:"px-2.5 py-1 rounded-lg bg-slate-100 hover:bg-amber-50 text-slate-500 hover:text-amber-600 dark:bg-gray-700 dark:hover:bg-amber-950/40 dark:text-slate-300 dark:hover:text-amber-400 text-[11px] font-bold transition-all flex items-center gap-1 border border-slate-200/60 dark:border-gray-600",title:"还原当前 Slide 及语言下的文案为默认预设"},[a("svg",{class:"w-3.5 h-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"})]),a("span",null,"重置文案内容")],-1)])),_:1,__:[58]}),Ie(xe(Ft),{class:"sm:max-w-[425px]"},{default:ze(()=>[Ie(xe(Lt),null,{default:ze(()=>[Ie(xe($t),{class:"flex items-center gap-2 text-slate-900 dark:text-slate-100"},{default:ze(()=>t[59]||(t[59]=[a("span",null,"↺ 确认重置文案内容?",-1)])),_:1,__:[59]}),Ie(xe(Mt),{class:"text-xs text-slate-500 dark:text-slate-400 pt-1 leading-relaxed"},{default:ze(()=>{var A;return[t[60]||(t[60]=Ne(" 将还原当前 Slide 在语言 ")),a("strong",Vr,"["+pe((A=b.find(ue=>ue.code===p.value))==null?void 0:A.name)+"]",1),t[61]||(t[61]=Ne(" 下的胶囊 Badge 标签、主标题及副标题/描述文本为系统默认预设文案。您设置的自定义字号不会受到影响。 "))]}),_:1,__:[60,61]})]),_:1}),Ie(xe(Rt),{class:"gap-2 pt-2"},{default:ze(()=>[Ie(xe(Nt),{class:"rounded-xl text-xs"},{default:ze(()=>t[62]||(t[62]=[Ne("取消")])),_:1,__:[62]}),Ie(xe(Ot),{onClick:ce,class:"rounded-xl text-xs bg-amber-600 hover:bg-amber-700 text-white font-bold"},{default:ze(()=>t[63]||(t[63]=[Ne(" 确认重置文案 ")])),_:1,__:[63]})]),_:1})]),_:1})]),_:1}),Ie(xe(Dt),null,{default:ze(()=>[Ie(xe(Vt),{"as-child":""},{default:ze(()=>t[64]||(t[64]=[a("button",{class:"px-2.5 py-1 rounded-lg bg-slate-100 hover:bg-rose-50 text-slate-500 hover:text-rose-600 dar
218k:bg-gray-700 dark:hover:bg-rose-950/40 dark:text-slate-300 dark:hover:text-rose-400 text-[11px] font-bold transition-all flex items-center gap-1 border border-slate-200/60 dark:border-gray-600",title:"还原当前语言及 Slide 下的字号为默认值"},[a("svg",{class:"w-3.5 h-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})]),a("span",null,"重置默认字号")],-1)])),_:1,__:[64]}),Ie(xe(Ft),{class:"sm:max-w-[425px]"},{default:ze(()=>[Ie(xe(Lt),null,{default:ze(()=>[Ie(xe($t),{class:"flex items-center gap-2 text-slate-900 dark:text-slate-100"},{default:ze(()=>t[65]||(t[65]=[a("span",null,"↺ 确认重置字号设置?",-1)])),_:1,__:[65]}),Ie(xe(Mt),{class:"text-xs text-slate-500 dark:text-slate-400 pt-1 leading-relaxed"},{default:ze(()=>{var A;return[t[66]||(t[66]=Ne(" 将重置当前语言 ")),a("strong",Kr,"["+pe((A=b.find(ue=>ue.code===p.value))==null?void 0:A.name)+"]",1),t[67]||(t[67]=Ne(" 在当前画幅及 Slide 下的主标题、副标题和胶囊 Badge 标签字号为系统标准尺寸。此操作不会清除您自定义修改的文案内容。 "))]}),_:1,__:[66,67]})]),_:1}),Ie(xe(Rt),{class:"gap-2 pt-2"},{default:ze(()=>[Ie(xe(Nt),{class:"rounded-xl text-xs"},{default:ze(()=>t[68]||(t[68]=[Ne("取消")])),_:1,__:[68]}),Ie(xe(Ot),{onClick:me,class:"rounded-xl text-xs bg-rose-600 hover:bg-rose-700 text-white font-bold"},{default:ze(()=>t[69]||(t[69]=[Ne(" 确认重置 ")])),_:1,__:[69]})]),_:1})]),_:1})]),_:1})])]),a("div",Xr,[x.value!=="tile_440_280"?(ne(),le("div",Yr,[a("div",Jr,[t[70]||(t[70]=a("label",{class:"font-semibold text-slate-600 dark:text-slate-400"},"顶部胶囊 Badge 标签",-1)),a("div",Qr,[a("span",ea,"字号: "+pe(ee(p.value,"badge"))+"px",1),a("button",{onClick:t[9]||(t[9]=A=>j("badge",-1)),class:"w-5 h-5 bg-white dark:bg-gray-800 rounded border border-slate-200 text-xs font-bold"},"-"),a("button",{onClick:t[10]||(t[10]=A=>j("badge",1)),class:"w-5 h-5 bg-white dark:bg-gray-800 rounded border border-slate-200 text-xs font-bold"},"+")])]),tt(a("input",{"onUpdate:modelValue":t[11]||(t[11]=A=>w.value=A),class:"w-full h-8 rounded-lg border border-slate-200 dark:border-gray-700 px-2.5 text-xs"},null,512),[[wt,w.value]])])):$e("",!0),a("div",ta,[a("div",ra,[t[71]||(t[71]=a("label",{class:"font-semibold text-slate-600 dark:text-slate-400"},"主标题 (Main Title)",-1)),a("div",aa,[a("span",ia,"字号: "+pe(ee(p.value,"title"))+"px",1),a("button",{onClick:t[12]||(t[12]=A=>j("title",-2)),class:"w-5 h-5 bg-white dark:bg-gray-800 rounded border border-slate-200 text-xs font-bold"},"-"),a("button",{onClick:t[13]||(t[13]=A=>j("title",2)),class:"w-5 h-5 bg-white dark:bg-gray-800 rounded border border-slate-200 text-xs font-bold"},"+")])]),tt(a("input",{"onUpdate:modelValue":t[14]||(t[14]=A=>$.value=A),class:"w-full h-8 rounded-lg border border-slate-200 dark:border-gray-700 px-2.5 text-xs font-bold"},null,512),[[wt,$.value]])]),x.value!=="tile_440_280"?(ne(),le("div",na,[a("div",sa,[t[72]||(t[72]=a("label",{class:"font-semibold text-slate-600 dark:text-slate-400"},"副标题/描述 (Subtitle)",-1)),a("div",oa,[a("span",la,"字号: "+pe(ee(p.value,"subtitle"))+"px",1),a("button",{onClick:t[15]||(t[15]=A=>j("subtitle",-1)),class:"w-5 h-5 bg-white dark:bg-gray-800 rounded border border-slate-200 text-xs font-bold"},"-"),a("button",{onClick:t[16]||(t[16]=A=>j("subtitle",1)),class:"w-5 h-5 bg-white dark:bg-gray-800 rounded border border-slate-200 text-xs font-bold"},"+")])]),tt(a("textarea",{"onUpdate:modelValue":t[17]||(t[17]=A=>r.value=A),rows:"2",class:"w-full rounded-lg border border-slate-200 dark:border-gray-700 p-2.5 text-xs leading-relaxed"},null,512),[[wt,r.value]])])):$e("",!0),x.value==="store_1280_800"&&l.value===1?(ne(),le("div",da,[a("div",ua,[t[73]||(t[73]=a("label",{class:"font-semibold text-slate-600 dark:text-slate-400"},"底部支持平台标语 (Platform Tagline)",-1)),a("div",ca,[a("span",pa,"字号: "+pe(ee(p.value,"pills"))+"px",1),a("button",{onClick:t[18]||(t[18]=A=>j("pills",-1)),class:"w-5 h-5 bg-white dark:bg-gray-800 rounded border border-slate-200 text-xs font-bold"},"-"),a("button",{onClick:t[19]||(t[19]=A=>j("pills",1)),class:"w-5 h-5 bg-white dark:bg-gray-800 rounded border border-slate-200 text-xs font-bold"},"+")])]),tt(a("input",{"onUpdate:modelValue":t[20]||(t[20]=A=>te.value=A),class:"w-full h-8 rounded-lg border border-slate-200 dark:border-gray-700 px-2.5 text-xs font-medium"},null,512),[[wt,te.value]])])):x.value!=="tile_440_280"?(ne(),le("div",fa,[a("div",ha,[t[74]||(t[74]=a("label",{class:"font-semibold text-slate-600 dar
218k:text-slate-400"},"底部特色胶囊标签 (Feature Pills)",-1)),a("div",ma,[a("span",ga,"字号: "+pe(ee(p.value,"pills"))+"px",1),a("button",{onClick:t[21]||(t[21]=A=>j("pills",-1)),class:"w-5 h-5 bg-white dark:bg-gray-800 rounded border border-slate-200 text-xs font-bold"},"-"),a("button",{onClick:t[22]||(t[22]=A=>j("pills",1)),class:"w-5 h-5 bg-white dark:bg-gray-800 rounded border border-slate-200 text-xs font-bold"},"+")])]),a("div",va,[(ne(!0),le(je,null,rt(x.value==="marquee_1400_560"?oe(p.value):I(i.value.data,p.value),A=>(ne(),le("span",{key:A,class:"px-2.5 py-1 rounded-lg bg-slate-100 dark:bg-gray-800 text-[11px] font-semibold text-slate-600 dark:text-slate-300 border border-slate-200/60 dark:border-gray-700"}," ✦ "+pe(A),1))),128))])])):$e("",!0)])]),x.value==="store_1280_800"?(ne(),le("div",ba,[a("div",xa,[a("h3",ya,[a("span",null,"📸 右侧软件截图管理 (Slide "+pe(l.value)+" · "+pe(((ae=b.find(A=>A.code===p.value))==null?void 0:ae.name)||p.value)+")",1),G.value[`${l.value}_${p.value}`]?(ne(),le("span",wa," 当前语言独立配置 ")):$e("",!0)]),a("div",_a,[a("button",{onClick:Be,class:"px-2.5 py-1 rounded-lg bg-slate-100 hover:bg-rose-50 text-slate-500 hover:text-rose-600 dar
218k:bg-gray-700 dark:hover:bg-rose-950/40 dark:text-slate-300 hover:dark:text-rose-400 text-[11px] font-bold transition-all flex items-center gap-1 border border-slate-200/60 dark:border-gray-600",title:"重置当前 Slide 的图片尺寸与 Left/Top 位置偏移为默认值"},t[75]||(t[75]=[a("svg",{class:"w-3.5 h-3.5",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})],-1),a("span",null,"重置尺寸与位置",-1)])),a("div",ka,[a("button",{onClick:t[23]||(t[23]=A=>ge.value="popup"),class:we(["px-2 py-0.5 rounded text-[10px] font-bold",ge.value==="popup"?"bg-blue-600 text-white":"text-slate-500 dark:text-slate-400"])}," 📱 插件弹窗 ",2),a("button",{onClick:t[24]||(t[24]=A=>ge.value="web"),class:we(["px-2 py-0.5 rounded text-[10px] font-bold",ge.value==="web"?"bg-blue-600 text-white":"text-slate-500 dark:text-slate-400"])}," 💻 网页窗口 ",2)])])]),a("div",Ca,[a("div",za,[a("div",Sa,[a("span",Ia,pe(ge.value==="popup"?"弹窗容器微调尺寸:":"网页容器微调尺寸:"),1),(de=e.value)!=null&&de.src?(ne(),le("button",{key:0,onClick:B,class:"px-2 py-0.5 rounded-md bg-blue-50 hover:bg-blue-100 text-blue-600 dark:bg-blue-950/60 dark:hover:bg-blue-900/80 dark:text-blue-300 text-[10px] font-bold transition-all border border-blue-200/60 dark:border-blue-800 flex items-center gap-1 shrink-0",title:"一键将当前容器尺寸设置为上传截图的真实原图分辨率"},t[76]||(t[76]=[a("span",null,"🎯 匹配图片实际尺寸",-1)]))):$e("",!0),a("button",{onClick:g,class:"px-2 py-0.5 rounded-md bg-emerald-50 hover:bg-emerald-100 text-emerald-700 dark:bg-emerald-950/60 dark:hover:bg-emerald-900/80 dark:text-emerald-300 text-[10px] font-bold transition-all border border-emerald-200/60 dark:border-emerald-800 flex items-center gap-1 shrink-0",title:"一键将当前语言设置的尺寸及位置同步应用到当前 Slide 的所有其它语言"},t[77]||(t[77]=[a("span",null,"🌐 应用到其它语言",-1)]))]),a("div",Aa,[a("input",{value:ge.value==="popup"?fe.value.popupWidth:fe.value.webWidth,onInput:t[25]||(t[25]=A=>he(ge.value==="popup"?"popupWidth":"webWidth",Number(A.target.value))),type:"number",class:"w-16 h-7 rounded border border-slate-300 dark:border-gray-700 px-1.5 text-center font-mono font-bold"},null,40,Ta),t[78]||(t[78]=a("span",null,"×",-1)),a("input",{value:ge.value==="popup"?fe.value.popupHeight:fe.value.webHeight,onInput:t[26]||(t[26]=A=>he(ge.value==="popup"?"popupHeight":"webHeight",Number(A.target.value))),type:"number",class:"w-16 h-7 rounded border border-slate-300 dark:border-gray-700 px-1.5 text-center font-mono font-bold"},null,40,Pa),t[79]||(t[79]=a("span",{class:"text-slate-400"},"px",-1))])]),a("div",Ea,[t[84]||(t[84]=a("span",{class:"font-bold text-slate-700 dark:text-slate-300"},"画布绝对位置微调 (Left / Top 坐标):",-1)),a("div",Ba,[a("div",Da,[t[80]||(t[80]=a("span",{class:"text-slate-500 font-semibold"}
218,"Left:",-1)),a("button",{onClick:t[27]||(t[27]=A=>he(ge.value==="popup"?"popupLeft":"webLeft",fe.value.left-5)),class:"w-5 h-5 bg-white dark:bg-gray-800 rounded border border-slate-200 text-xs font-bold"},"-"),a("input",{value:fe.value.left,onInput:t[28]||(t[28]=A=>he(ge.value==="popup"?"popupLeft":"webLeft",Number(A.target.value))),type:"number",class:"w-14 h-7 rounded border border-slate-300 dark:border-gray-700 px-1 text-center font-mono font-bold"},null,40,Fa),a("button",{onClick:t[29]||(t[29]=A=>he(ge.value==="popup"?"popupLeft":"webLeft",fe.value.left+5)),class:"w-5 h-5 bg-white dark:bg-gray-800 rounded border border-slate-200 text-xs font-bold"},"+"),t[81]||(t[81]=a("span",{class:"text-slate-400"},"px",-1))]),a("div",La,[t[82]||(t[82]=a("span",{class:"text-slate-500 font-semibold"},"Top:",-1)),a("button",{onClick:t[30]||(t[30]=A=>he(ge.value==="popup"?"popupTop":"webTop",fe.value.top-5)),class:"w-5 h-5 bg-white dark:bg-gray-800 rounded border border-slate-200 text-xs font-bold"},"-"),a("input",{value:fe.value.top,onInput:t[31]||(t[31]=A=>he(ge.value==="popup"?"popupTop":"webTop",Number(A.target.value))),type:"number",class:"w-14 h-7 rounded border border-slate-300 dark:border-gray-700 px-1 text-center font-mono font-bold"},null,40,$a),a("button",{onClick:t[32]||(t[32]=A=>he(ge.value==="popup"?"popupTop":"webTop",fe.value.top+5)),class:"w-5 h-5 bg-white dark:bg-gray-800 rounded border border-slate-200 text-xs font-bold"},"+"),t[83]||(t[83]=a("span",{class:"text-slate-400"},"px",-1))])])]),a("div",Ma,[t[86]||(t[86]=a("span",{class:"font-bold text-slate-700 dark:text-slate-300"},"底部 Footer 标识:",-1)),a("label",Ra,[a("input",{type:"checkbox",checked:fe.value.showFooter,onChange:t[33]||(t[33]=A=>he("showFooter",A.target.checked)),class:"rounded text-blue-600 focus:ring-blue-500 w-4 h-4 cursor-pointer"},null,40,Na),t[85]||(t[85]=a("span",{class:"text-slate-600 dark:text-slate-300 font-medium"},' 显示 "ExportyAI Extension" 及网址 ',-1))])]),M.value?(ne(),le("div",Oa,pe(M.value),1)):$e("",!0),a("div",Wa,[a("div",ja,[a("span",Ua," Slide "+pe(l.value)+" ["+pe((Z=b.find(A=>A.code===p.value))==null?void 0:Z.name)+"] 截图: ",1),a("div",Za,[Pe.value[`${l.value}_${p.value}`]?(ne(),le("span",Ha,[t[87]||(t[87]=a("span",null,"✓ 已上传",-1)),d.value?(ne(),le("span",qa,pe(d.value.width)+" × "+pe(d.value.height)+" px ",1)):$e("",!0)])):(Ce=e.value)!=null&&Ce.isFallback?(ne(),le("span",Ga,t[88]||(t[88]=[a("span",null,"(继承默认截图)",-1)]))):(ne(),le("span",Va,"未上传"))])]),a("div",Ka,[a("input",{type:"file",accept:"image/*",onClick:t[34]||(t[34]=A=>A.target.value=""),onChange:t[35]||(t[35]=A=>st(A,p.value)),class:"block w-full text-xs text-slate-500 file:mr-2 file:py-1 file:px-3 file:rounded-xl file:border-0 file:text-xs file:font-semibold file:bg-blue-50 file:text-blue-700 hover:file:bg-blue-100"},null,32),Pe.value[`${l.value}_${p.value}`]?(ne(),le("button",{key:0,onClick:t[36]||(t[36]=A=>Ue(p.value)),class:"px-2 py-1 bg-red-100 text-red-600 hover:bg-red-200 rounded-lg text-[11px] shrink-0"}," 删除 ")):$e("",!0)])])])])):x.value==="tile_440_280"?(ne(),le("div",Xa,t[89]||(t[89]=[a("div",{class:"text-3xl"},"🏷️",-1),a("div",{class:"text-xs font-bold text-slate-700 dark:text-slate-200"},"440×280 小型宣传图块 (Small Promo Tile)",-1),a("div",{class:"text-[11px] text-slate-500 dark:text-slate-400 max-w-xs leading-relaxed"}," 此规格为 Chrome 网上应用店单图封面,已启用独立纯文本与 3 大特性胶囊排版,不包含软件截图。切换至 1280×800 规格即可管理各 Slide 截图。 ",-1)]))):x.value==="marquee_1400_560"?(ne(),le("div",Ya,t[90]||(t[90]=[a("div",{class:"text-3xl"},"🚩",-1),a("div",{class:"text-xs font-bold text-slate-700 dark:text-slate-200"},"1400×560 顶部横幅图块 (Marquee Hero Banner)",-1),a("div",{class:"text-[11px] text-slate-500 dark:text-slate-400 max-w-xs leading-relaxed"}," 此规格为 Chrome / Edge 官方精选推荐大横幅,已启用独立 Hero 大标题、副标题与多平台支持矩阵排版,不包含软件截图。切换至 1280×800 规格即可管理各 Slide 截图。 ",-1)]))):$e("",!0)],2)])],2),a("div",{ref_key:"containerRef",ref:W,class:we([z.value==="split"?"lg:col-span-7 xl:col-span-7 2xl:col-span-7 space-y-3 h-full overflow-y-auto pr-1 pb-1 custom-scrollbar":"space-y-3"])},[a("div",Ja,[a("h2",Qa,[t[91]||(t[91]=a("span",null,"🖼️ 实时 1:1 预览画布",-1)),a("span",ei," ("+pe(u.value==="single"?"单语言模式":"全 9 语言一览模式")+") ",1)]),a("div",ti,[a("div",ri,[a("button",{onClick:t[37]||(t[37]=A=>u.value="single"),class:we(["px-3 py-1 rounded-xl text-xs font-bold transition-all",u.value==="single"?"bg-white dark:bg-gray-800 text-blue-600 dar
218k:text-blue-400 shadow-sm":"text-slate-600 dark:text-slate-300 hover:text-slate-900"])}," 🌐 仅显示当前语言 ",2),a("button",{onClick:t[38]||(t[38]=A=>u.value="all"),class:we(["px-3 py-1 rounded-xl text-xs font-bold transition-all",u.value==="all"?"bg-white dark:bg-gray-800 text-blue-600 dark:text-blue-400 shadow-sm":"text-slate-600 dark:text-slate-300 hover:text-slate-900"])}," 🌍 显示所有 9 语言 ",2)]),a("span",ai,pe(h.value.width)+" × "+pe(h.value.height)+" px ",1)])]),a("div",{class:we(u.value==="all"?"space-y-6 max-h-[85vh] overflow-y-auto pr-1 custom-scrollbar":"")},[(ne(!0),le(je,null,rt(n.value,A=>(ne(),le("div",{key:A.code,class:we(u.value==="all"?"bg-slate-900/10 dark:bg-slate-950/60 rounded-3xl p-4 border border-slate-200 dark:border-gray-800 space-y-3":"w-full overflow-hidden p-3 md:p-4 bg-slate-900/10 dark:bg-slate-950/60 rounded-3xl border border-slate-200 dark:border-gray-800 flex flex-col items-center justify-start transition-all"),style:Me(u.value==="single"?{minHeight:`${h.value.height*X.value+32}px`}:{})},[u.value==="all"?(ne(),le("div",ii,[a("div",ni,[a("span",si," 🌐 "+pe(A.name)+" ("+pe(A.code)+") ",1),p.value===A.code?(ne(),le("span",oi," (当前编辑语言) ")):$e("",!0)]),a("button",{onClick:ue=>p.value=A.code,class:"px-2.5 py-1 rounded-lg bg-slate-200 dark:bg-gray-700 hover:bg-blue-100 text-xs font-bold text-slate-700 dark:text-slate-200 transition-colors"}," 切换至此语言编辑 ✏️ ",8,li)])):$e("",!0),a("div",di,[a("div",{style:Me({width:`${h.value.width}px`,height:`${h.value.height}px`,transform:`scale(${X.value})`,transformOrigin:"top center"}),class:"shrink-0 transition-transform duration-200"},[a("div",{ref_for:!0,ref:u.value==="single"?"canvasRef":void 0,id:u.value==="single"?"export-promo-canvas":void 0,style:Me(_.value.bgStyle),class:we(["w-full h-full relative overflow-hidden font-sans",x.value==="tile_440_280"?"flex flex-col justify-between px-3.5 py-5 text-center":"flex flex-col justify-between px-16 py-12",_.value.bgClass])},[y.value==="indigo_dark"?(ne(),le("div",ci)):$e("",!0),y.value==="indigo_dark"?(ne(),le("div",pi)):$e("",!0),y.value==="mint_light"?(ne(),le("div",fi)):$e("",!0),x.value==="tile_440_280"?(ne(),le(je,{key:3},[t[100]||(t[100]=a("div",{class:"relative z-10 flex items-center justify-center gap-2.5 pt-1"},[a("div",{class:"w-9 h-9 rounded-xl bg-blue-600 flex items-center justify-center shadow-md shadow-blue-500/30 text-white p-1.5 shrink-0"},[a("svg",{viewBox:"0 0 24 24",class:"w-full h-full fill-current"},[a("path",{d:"M12 2L2 7l10 5 10-5-10-5zm0 9l2.5-1.25L12 8.5l-2.5 1.25L12 11zm0 2.5l-5-2.5-5 2.5L12 22l10-8.5-5-2.5-5 2.5z"})])]),a("span",{class:"text-2xl font-black tracking-tight leading-none"},"ExportyAI")],-1)),a("div",hi,[a("h2",{class:we(["font-black tracking-tight leading-snug px-1",_.value.titleClass]),style:Me({fontSize:`${ee(A.code,"title")}px`})},pe(L(A.code)),7),a("div",mi,[(ne(!0),le(je,null,rt(H(A.code),ue=>(ne(),le("span",{key:ue,class:we(["px-2.5 py-0.5 rounded-lg text-[13px] font-extrabold shadow-xs border whitespace-nowrap",_.value.pillClass]),style:Me(_.value.pillStyle)},pe(ue),7))),128))])]),a("div",gi,[a("div",vi,[t[92]||(t[92]=a("svg",{class:"w-4.5 h-4.5 fill-current",title:"ChatGPT"},[a("use",{href:"#chatgpt-icon"})],-1)),t[93]||(t[93]=a("svg",{class:"w-4.5 h-4.5 fill-current",title:"Claude"},[a("use",{href:"#claude-icon"})],-1)),t[94]||(t[94]=a("svg",{class:"w-4.5 h-4.5 fill-current",title:"DeepSeek"},[a("use",{href:"#deepseek-icon"})],-1)),t[95]||(t[95]=a("svg",{class:"w-4.5 h-4.5",title:"Gemini"},[a("use",{href:"#gemini-icon"})],-1)),t[96]||(t[96]=a("svg",{class:"w-4.5 h-4.5 fill-current",title:"Grok"},[a("use",{href:"#grok-icon"})],-1)),t[97]||(t[97]=a("svg",{class:"w-4.5 h-4.5 fill-current",title:"Perplexity"},[a("use",{href:"#perplexity-icon"})],-1)),t[98]||(t[98]=a("svg",{class:"w-4.5 h-4.5",title:"腾讯元宝"},[a("use",{href:"#yuanbao-icon"})],-1)),t[99]||(t[99]=a("svg",{class:"w-4.5 h-4.5",title:"NotebookLM"},[a("use",{href:"#notebooklm-icon"})],-1)),a("img",{src:xe(It),class:"w-4.5 h-4.5 rounded-full object-contain",alt:"Kimi",title:"Kimi"},null,8,bi),a("img",{src:xe(At),class:"w-4.5 h-4.5 rounded-full object-contain",alt:"Doubao",title:"豆包"},null,8,xi)]),a("p",{class:we(["text-[10px] font-extrabold tracking-widest uppercase opacity-75",_.value.subClass])}," WORKS ON 15+ AI PLATFORMS ",2)])],64)):x.value==="marquee_1400_560"?(ne(),le(je,{key:4},[t[112]||(t[112]=a("div",{class:"relative z-10 flex items-center justify-between w-full"},[a("div",{class:"flex items-center gap-3.5"},[a("div",{class:"w-12 h-12 rounded-2xl bg-blue-600 flex items-center justify-center shadow-lg shadow-blue-500/30 text-white p-2.5"},[a("svg",{viewBox:"0 0 24 24",class:"w-full h-full fill-current"},[a("path",{d:"M12 2L2 7l10 5 10-5-10-5zm0 9l2.5-1.25L12 8.5l-2.5 1.25L12 11zm0 2.5l-5-2.5-5 2.5L12 22l10-8.5-5-2.5-5 2.5z"})])]),a("div",{class:"flex flex-col"},[a("span",{class:"text-2xl font-black tracking-tight leading-none"},"ExportyAI"),a("span",{class:"text-[11px] opacity-70 tracking-widest uppercase font-semibold mt-1"},"AI Chat Exporter & Notion Sync")])]),a("div",{class:"px-4 py-1.5 rounded-full text-xs font-bold backdrop-blur-md opacity-70 bg-white/10 border border-white/20"}," Chrome Web Store & Edge Official Banner ")],-1)),a("div",yi,[a("div",null,[a("span",{class:we(["inline-flex items-center gap-2 px-4 py-1.5 rounded-full font-extrabold tracking-wide uppercase shadow-sm",_.value.badgeClass]),style:Me({fontSize:`${ee(A.code,"badge")}px`})},[t[101]||(t[101]=a("span",{class:"w-2 h-2 rounded-full bg-blue-500 animate-pulse"},null,-1)),a("span",null,pe(q(A.code,"badge")),1)],6)]),a("h1",{class:we(["font-black tracking-tight leading-tight",_.value.titleClass]),style:Me({fontSize:`${ee(A.code,"title")}px`})},pe(q(A.code,"title")),7),a("p",{class:we(["font-normal leading-relaxed max-w-[850px] opacity-90",_.value.subClass]),style:Me({fontSize:`${ee(A.code,"subtitle")}px`})},pe(q(A.code,"subtitle")),7),a("div",wi,[(ne(!0),le(je,null,rt(oe(A.code),ue=>(ne(),le("span",{key:ue,class:we(["px-4 py-2 rounded-xl font-bold shadow-sm",_.value.pillClass]),style:Me({fontSize:`${ee(A.code,"pills")}px`})}," ✦ "+pe(ue),7))),128))])]),a("div",_i,[a("div",ki,[t[102]||(t[102]=a("span",{class:"font-extrabold text-[11px]"},"SUPPORTED:",-1)),t[103]||(t[103]=a("svg",{class:"w-5 h-5 fill-current",title:"ChatGPT"},[a("use",{href:"#chatgpt-icon"})],-1)),t[104]||(t[104]=a("svg",{class:"w-5 h-5 fill-current",title:"Claude"},[a("use",{href:"#claude-icon"})],-1)),t[105]||(t[105]=a("svg",{class:"w-5 h-5 fill-current",title:"DeepSeek"},[a("use",{href:"#deepseek-icon"})],-1)),t[106]||(t[106]=a("svg",{class:"w-5 h-5",title:"Gemini"},[a("use",{href:"#gemini-icon"})],-1)),t[107]||(t[107]=a("svg",{class:"w-5 h-5 fill-current",title:"Grok"},[a("use",{href:"#grok-icon"})],-1)),t[108]||(t[108]=a("svg",{class:"w-5 h-5 fill-current",title:"Perplexity"},[a("use",{href:"#perplexity-icon"})],-1)),t[109]||(t[109]=a("svg",{class:"w-5 h-5",title:"腾讯元宝"},[a("use",{href:"#yuanbao-icon"})],-1)),t[110]||(t[110]=a("svg",{class:"w-5 h-5",title:"NotebookLM"},[a("use",{href:"#notebooklm-icon"})],-1)),a("img",{src:xe(It),class:"w-5 h-5 rounded-full object-contain",alt:"Kimi",title:"Kimi"},null,8,Ci),a("img",{src:xe(At),class:"w-5 h-5 rounded-full object-contain",alt:"Doubao",title:"豆包"},null,8,zi)]),t[111]||(t[111]=a("span",null,"https://exportyai.com",-1))])],64)):(ne(),le(je,{key:5},[t[119]||(t[119]=a("div",{class:"relative z-10 flex items-center justify-between w-full"},[a("div",{class:"flex items-center gap-3.5"},[a("div",{class:"w-12 h-12 rounded-2xl bg-blue-600 flex items-center justify-center shadow-lg shadow-blue-500/30 text-white p-2.5"},[a("svg",{viewBox:"0 0 24 24",class:"w-full h-full fill-current"},[a("path",{d:"M12 2L2 7l10 5 10-5-10-5zm0 9l2.5-1.25L12 8.5l-2.5 1.25L12 11zm0 2.5l-5-2.5-5 2.5L12 22l10-8.5-5-2.5-5 2.5z"})])]),a("div",{class:"flex flex-col"},[a("span",{class:"text-2xl font-black tracking-tight leading-none"},"ExportyAI"),a("span",{class:"text-[11px] opacity-70 tracking-widest uppercase font-semibold mt-1"},"AI Chat Exporter & Notion Sync")])])],-1)),a("div",Si,[a("div",Ii,[a("div",null,[a("span",{class:we(["inline-flex items-center gap-2 px-4 py-1.5 rounded-full font-extrabold tracking-wide uppercase shadow-sm",_.value.badgeClass]),style:Me({fontSize:`${ee(A.code,"badge")}px`,..._.value.badgeStyle})},[t[113]||(t[113]=a("span",{class:"w-2 h-2 rounded-full bg-blue-500 animate-pulse"},null,-1)),a("span",null,pe(S(A.code,"badge")),1)],6)]),a("h1",{class:we(["font-black tracking-tight leading-[1.15]",_.value.titleClass]),style:Me({fontSize:`${ee(A.code,"title")}px`})},pe(S(A.code,"title")),7),a("p",{class:we(["font-normal leading-relaxed opacity-90",_.value.subClass]),style:Me({fontSize:`${ee(A.code,"subtitle")}px`})},pe(S(A.code,"subtitle")),7),l.value===1?(ne(),le("div",Ai,[a("p",{class:we(["font-extrabold opacity-95 tracking-wide flex items-center gap-1.5",_.value.subClass]),style:Me({fontSize:`${ee(A.code,"pills")}px`})},[a("span",null,pe(se(A.code)),1)],6)])):(ne(),le("div",Ti,[(ne(!0),le(je,null,rt(I(i.value.data,A.code),ue=>(ne(),le("span",{key:ue,class:we(["px-3.5 py-1.5 rounded-xl font-bold shadow-2xs",_.value.pillClass]),style:Me({fontSize:`${ee(A.code,"pills")}px`,..._.value.pillStyle})}," ✦ "+pe(ue),7))),128))]))])]),a("div",{class:we(["relative z-10 pt-4 border-t flex items-center justify-between text-[11px] font-medium transition-all duration-200",_e(l.value,A.code).showFooter?"border-white/10 opacity-60 visible":"border-transparent opacity-0 invisible"])},t[114]||(t[114]=[a("span",null,"ExportyAI Extension",-1),a("span",null,"https://exportyai.com",-1)]),2),_e(l.value,A.code).mode==="popup"?(ne(),le("div",{key:0,id:"export-screenshot-viewport",class:we(["absolute rounded-3xl overflow-hidden shadow-2xl transition-all duration-300 flex items-center justify-center border z-20",_.value.cardClass]),style:Me({left:`${ye(l.value,A.code).calcLeft}px`,top:`${ye(l.value,A.code).calcTop}px`,width:`${ye(l.value,A.code).overlayW}px`,height:`${ye(l.value,A.code).overlayH}px`,..._.value.cardStyle})},[Le(A.code)?(ne(),le("img",{key:0,src:Le(A.code).src,class:"w-full h-full object-cover object-top",style:{imageRendering:"-webkit-optimize-contrast"},alt:"App Screenshot"},null,8,Pi)):(ne(),le("div",Ei,[t[116]||(t[116]=a("div",{class:"w-12 h-12 mx-auto rounded-2xl bg-blue-500/10 text-blue-500 flex items-center justify-center font-bold"},[a("svg",{class:"w-6 h-6",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[a("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l1.586-1.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"})])],-1)),a("div",Bi,[t[115]||(t[115]=a("p",{class:"text-xs font-bold text-slate-300"},"软件弹窗截图留白区域",-1)),a("p",Di,pe(ye(l.value,A.code).overlayW)+" × "+pe(ye(l.value,A.code).overlayH)+" px",1)])]))],6)):(ne(),le("div",{key:1,id:"export-screenshot-viewport",class:we(["absolute rounded-2xl overflow-hidden shadow-2xl transition-all duration-300 flex flex-col border z-20",_.value.cardClass]),style:Me({left:`${ye(l.value,A.code).calcLeft}px`,top:`${ye(l.value,A.code).calcTop}px`,width:`${ye(l.value,A.code).overlayW}px`,height:`${ye(l.value,A.code).overlayH}px`,..._.value.cardStyle})},[t[118]||(t[118]=a("div",{class:"h-7 px-3 bg-slate-900/60 border-b border-slate-800 flex items-center gap-1.5 shrink-0"},[a("div",{class:"w-2.5 h-2.5 rounded-full bg-rose-500/80"}),a("div",{class:"w-2.5 h-2.5 rounded-full bg-amber-500/80"}),a("div",{class:"w-2.5 h-2.5 rounded-full bg-emerald-500/80"}),a("div",{class:"ml-2 px-3 py-0.5 rounded-md bg-slate-800/80 text-[10px] text-slate-400 font-mono flex-1 truncate"}," https://exportyai.com/preview ")],-1)),a("div",Fi,[Le(A.code)?(ne(),le("img",{key:0,src:Le(A.code).src,class:"w-full h-full object-cover object-top",style:{imageRendering:"-webkit-optimize-contrast"},alt:"Web Preview"},null,8,Li)):(ne(),le("div",$i,[t[117]||(t[117]=a("p",{class:"text-xs font-bold text-slate-300"},"网页预览截图留白区域",-1)),a("p",Mi,pe(ye(l.value,A.code).overlayW)+" × "+pe(ye(l.value,A.code).overlayH)+" px",1)]))])],6))],64))],14,ui)],4)])],6))),128))],2)],2)
218],2)],2),(ne(),le("svg",Ri,t[120]||(t[120]=[a("defs",null,[a("linearGradient",{id:"lobe-icons-gemini-fill",x1:"0%",x2:"68.73%",y1:"100%",y2:"30.395%"},[a("stop",{offset:"0%","stop-color":"#1C7DFF"}),a("stop",{offset:"52.021%","stop-color":"#1C69FF"}),a("stop",{offset:"100%","stop-color":"#F0DCD6"})]),a("clipPath",{id:"yuanbao-clip-0"},[a("rect",{width:"20",height:"20",rx:"10",fill:"white"})]),a("clipPath",{id:"yuanbao-clip-1"},[a("rect",{width:"20",height:"20",fill:"white"})])],-1),a("symbol",{id:"chatgpt-icon",viewBox:"0 0 20 20"},[a("path",{d:"M11.248 18.25q-.825 0-1.568-.314a4.3 4.3 0 0 1-1.32-.874 4 4 0 0 1-1.304.214 4 4 0 0 1-2.046-.544 4.27 4.27 0 0 1-1.518-1.485 4 4 0 0 1-.56-2.095q0-.48.131-1.04A4.4 4.4 0 0 1 2.04 10.71a4.07 4.07 0 0 1 .017-3.4 4.2 4.2 0 0 1 1.056-1.418 3.8 3.8 0 0 1 1.6-.842 3.9 3.9 0 0 1 .76-1.683q.593-.759 1.451-1.188a4.04 4.04 0 0 1 1.832-.429q.825 0 1.567.313.742.314 1.32.875a4 4 0 0 1 1.304-.215q1.106 0 2.046.545a4.14 4.14 0 0 1 1.501 1.485q.578.941.578 2.095 0 .48-.132 1.04.66.61 1.023 1.419.363.792.363 1.666 0 .892-.38 1.717a4.3 4.3 0 0 1-1.072 1.435 3.8 3.8 0 0 1-1.584.825 3.8 3.8 0 0 1-.775 1.683 4.06 4.06 0 0 1-1.436 1.188 4.04 4.04 0 0 1-1.832.429m-4.076-2.062q.825 0 1.435-.347l3.103-1.782a.36.36 0 0 0 .164-.313v-1.42L7.881 14.62a.67.67 0 0 1-.726 0l-3.118-1.798a.5.5 0 0 1-.017.115v.198q0 .841.396 1.551.413.693 1.139 1.089a3.2 3.2 0 0 0 1.617.412m.165-2.69a.4.4 0 0 0 .181.05q.083 0 .165-.05l1.238-.71-3.977-2.31a.7.7 0 0 1-.363-.643v-3.58q-.825.362-1.32 1.122a2.9 2.9 0 0 0-.495 1.65q0 .809.413 1.55.412.743 1.072 1.123zm3.91 3.663q.875 0 1.585-.396a2.96 2.96 0 0 0 1.534-2.64v-3.564a.32.32 0 0 0-.165-.297l-1.254-.726v4.604a.7.7 0 0 1-.363.643l-3.119 1.799a3 3 0 0 0 1.783.577m.627-6.039V8.878L10.01 7.822 8.129 8.878v2.244l1.881 1.056zM7.057 5.859a.7.7 0 0 1 .363-.644l3.119-1.798a3 3 0 0 0-1.782-.578q-.874 0-1.584.396A2.96 2.96 0 0 0 6.05 4.324a3.07 3.07 0 0 0-.396 1.551v3.547q0 .199.165.314l1.237.726zm8.383 7.887q.825-.364 1.303-1.123.495-.758.495-1.65a3.15 3.15 0 0 0-.412-1.55q-.413-.743-1.073-1.123l-3.086-1.782q-.099-.065-.181-.049a.3.3 0 0 0-.165.05l-1.238.692 3.993 2.327a.6.6 0 0 1 .264.264.64.64 0 0 1 .1.363zm-3.317-8.382a.63.63 0 0 1 .726 0l3.135 1.831v-.297q0-.792-.396-1.501a2.86 2.86 0 0 0-1.105-1.155q-.71-.43-1.65-.43-.825 0-1.436.347L8.294 5.941a.36.36 0 0 0-.165.314v1.418z"})],-1),a("symbol",{id:"deepseek-icon",viewBox:"0 0 20 20"},[a("path",{d:"M23.748 4.482c-.254-.124-.364.113-.512.234-.051.039-.094.09-.137.136-.372.397-.806.657-1.373.626-.829-.046-1.537.214-2.163.848-.133-.782-.575-1.248-1.247-1.548-.352-.156-.708-.311-.955-.65-.172-.241-.219-.51-.305-.774-.055-.16-.11-.323-.293-.35-.2-.031-.278.136-.356.276-.313.572-.434 1.202-.422 1.84.027 1.436.633 2.58 1.838 3.393.137.093.172.187.129.323-.082.28-.18.552-.266.833-.055.179-.137.217-.329.14a5.526 5.526 0 01-1.736-1.18c-.857-.828-1.631-1.742-2.597-2.458a11.365 11.365 0 00-.689-.471c-.985-.957.13-1.743.388-1.836.27-.098.093-.432-.779-.428-.872.004-1.67.295-2.687.684a3.055 3.055 0 01-.465.137 9.597 9.597 0 00-2.883-.102c-1.885.21-3.39 1.102-4.497 2.623C.082 8.606-.231 10.684.152 12.85c.403 2.284 1.569 4.175 3.36 5.653 1.858 1.533 3.997 2.284 6.438 2.14 1.482-.085 3.133-.284 4.994-1.86.47.234.962.327 1.78.397.63.059 1.236-.03 1.705-.128.735-.156.684-.837.419-.961-2.155-1.004-1.682-.595-2.113-.926 1.096-1.296 2.746-2.642 3.392-7.003.05-.347.007-.565 0-.845-.004-.17.035-.237.23-.256a4.173 4.173 0 001.545-.475c1.396-.763 1.96-2.015 2.093-3.517.02-.23-.004-.467-.247-.588zM11.581 18c-2.089-1.642-3.102-2.183-3.52-2.16-.392.024-.321.471-.235.763.09.288.207.486.371.739.114.167.192.416-.113.603-.673.416-1.842-.14-1.897-.167-1.361-.802-2.5-1.86-3.301-3.307-.774-1.393-1.224-2.887-1.298-4.482-.02-.386.093-.522.477-.592a4.696 4.696 0 011.529-.039c2.132.312 3.946 1.265 5.468 2.774.868.86 1.525 1.887 2.202 2.891.72 1.066 1.494 2.082 2.48 2.914.348.292.625.514.891.677-.802.09-2.14.11-3.054-.614zm1-6.44a.306.306 0 01.415-.287.302.302 0 01.2.288.306.306 0 01-.31.307.303.303 0 01-.304-.308zm3.11 1.596c-.2.081-.399.151-.59.16a1.245 1.245 0 01-.798-.254c-.274-.23-.47-.358-.552-.758a1.73 1.73 0 01.016-.588c.07-.327-.008-.537-.239-.727-.187-.156-.426-.199-.688-.199a.559.559 0 01-.254-.078c-.11-.054-.2-.19-.114-.358.028-.054.16-.186.192-.21.356-.202.767-.136 1.146.016.352.144.618.408 1.001.782.391.451.462.576.685.9
21814.176.265.336.537.445.848.067.195-.019.354-.25.452z",fill:"#4D6BFE"})],-1),a("symbol",{id:"gemini-icon",viewBox:"0 0 24 24"},[a("path",{d:"M12 24A14.304 14.304 0 000 12 14.304 14.304 0 0012 0a14.305 14.305 0 0012 12 14.305 14.305 0 00-12 12",fill:"url(#lobe-icons-gemini-fill)","fill-rule":"nonzero"})],-1),a("symbol",{id:"grok-icon",viewBox:"0 0 24 24"},[a("path",{fill:"currentColor","fill-rule":"evenodd",d:"M9.27 15.29l7.978-5.897c.391-.29.95-.177 1.137.272.98 2.369.542 5.215-1.41 7.169-1.951 1.954-4.667 2.382-7.149 1.406l-2.711 1.257c3.889 2.661 8.611 2.003 11.562-.953 2.341-2.344 3.066-5.539 2.388-8.42l.006.007c-.983-4.232.242-5.924 2.75-9.383.06-.082.12-.164.179-.248l-3.301 3.305v-.01L9.267 15.292M7.623 16.723c-2.792-2.67-2.31-6.801.071-9.184 1.761-1.763 4.647-2.483 7.166-1.425l2.705-1.25a7.808 7.808 0 00-1.829-1A8.975 8.975 0 005.984 5.83c-2.533 2.536-3.33 6.436-1.962 9.764 1.022 2.487-.653 4.246-2.34 6.022-.599.63-1.199 1.259-1.682 1.925l7.62-6.815"})],-1),a("symbol",{id:"yuanbao-icon",viewBox:"0 0 20 20"},[a("g",{"clip-path":"url(#yuanbao-clip-0)"},[a("g",{"clip-path":"url(#yuanbao-clip-1)"},[a("path",{d:"M14.4045 12.2651C14.4045 12.2651 11.6817 20.5535 1.71094 15.5898C1.71094 15.5898 4.4922 20.1203 10.2451 19.9899L18.1462 12.9073L14.4045 12.2651Z",fill:"#BEF5C0"}),a("path",{d:"M18.0333 4.07226C16.4263 2.08881 13.5248 1.6172 11.3633 3.06548C9.06977 4.60073 8.45506 7.70634 9.98851 10.0025C11.7157 12.5863 10.7185 16.197 7.66996 17.4396C5.82247 18.1922 3.67597 17.739 2.28785 16.3057C1.99719 16.0047 1.74997 15.6836 1.54952 15.3441C-1.34032 10.7768 -0.0808147 4.71278 4.43434 1.68911C8.89438 -1.29776 14.8862 -0.214056 18.0333 4.07226Z",fill:"#4BC979"}),a("path",{d:"M19.7936 8.04756C19.6499 7.35519 19.4428 6.69794 19.1805 6.08251C18.5408 4.7145 16.8119 4.09572 15.3736 4.8717C14.4098 5.39014 13.8335 6.44541 13.9621 7.53246C13.9738 7.63782 13.9989 7.75991 14.0223 7.86192C14.2311 8.47401 14.3797 9.1229 14.4599 9.80355C14.8875 13.4209 13.0417 16.9747 9.83618 18.6989C9.00431 19.1471 8.14571 19.4498 7.28711 19.6254C9.94476 20.3747 12.9365 20.0335 15.5591 18.3093C18.9266 16.0951 20.6188 11.996 19.7953 8.04756H19.7936Z",fill:"#4BC979"})])])],-1),a("symbol",{id:"claude-icon",viewBox:"0 0 512 510"},[a("path",{d:"M142.27 316.619l73.655-41.326 1.238-3.589-1.238-1.996-3.589-.001-12.31-.759-42.084-1.138-36.498-1.516-35.361-1.896-8.897-1.895-8.34-10.995.859-5.484 7.482-5.03 10.717.935 23.683 1.617 35.537 2.452 25.782 1.517 38.193 3.968h6.064l.86-2.451-2.073-1.517-1.618-1.517-36.776-24.922-39.81-26.338-20.852-15.166-11.273-7.683-5.687-7.204-2.451-15.721 10.237-11.273 13.75.935 3.513.936 13.928 10.716 29.749 23.027 38.848 28.612 5.687 4.727 2.275-1.617.278-1.138-2.553-4.271-21.13-38.193-22.546-38.848-10.035-16.101-2.654-9.655c-.935-3.968-1.617-7.304-1.617-11.374l11.652-15.823 6.445-2.073 15.545 2.073 6.547 5.687 9.655 22.092 15.646 34.78 24.265 47.291 7.103 14.028 3.791 12.992 1.416 3.968 2.449-.001v-2.275l1.997-26.641 3.69-32.707 3.589-42.084 1.239-11.854 5.863-14.206 11.652-7.683 9.099 4.348 7.482 10.716-1.036 6.926-4.449 28.915-8.72 45.294-5.687 30.331h3.313l3.792-3.791 15.342-20.372 25.782-32.227 11.374-12.789 13.27-14.129 8.517-6.724 16.1-.001 11.854 17.617-5.307 18.199-16.581 21.029-13.75 17.819-19.716 26.54-12.309 21.231 1.138 1.694 2.932-.278 44.536-9.479 24.062-4.347 28.714-4.928 12.992 6.066 1.416 6.167-5.106 12.613-30.71 7.583-36.018 7.204-53.636 12.689-.657.48.758.935 24.164 2.275 10.337.556h25.301l47.114 3.514 12.309 8.139 7.381 9.959-1.238 7.583-18.957 9.655-25.579-6.066-59.702-14.205-20.474-5.106-2.83-.001v1.694l17.061 16.682 31.266 28.233 39.152 36.397 1.997 8.999-5.03 7.102-5.307-.758-34.401-25.883-13.27-11.651-30.053-25.302-1.996-.001v2.654l6.926 10.136 36.574 54.975 1.895 16.859-2.653 5.485-9.479 3.311-10.414-1.895-21.408-30.054-22.092-33.844-17.819-30.331-2.173 1.238-10.515 113.261-4.929 5.788-11.374 4.348-9.478-7.204-5.03-11.652 5.03-23.027 6.066-30.052 4.928-23.886 4.449-29.674 2.654-9.858-.177-.657-2.173.278-22.37 30.71-34.021 45.977-26.919 28.815-6.445 2.553-11.173-5.789 1.037-10.337 6.243-9.2 37.257-47.392 22.47-29.371 14.508-16.961-.
218101-2.451h-.859l-98.954 64.251-17.618 2.275-7.583-7.103.936-11.652 3.589-3.791 29.749-20.474-.101.102.024.101z",fill:"#D77655"})],-1),a("symbol",{id:"google-search-icon",viewBox:"0 0 24 24"},[a("path",{fill:"#4285F4",d:"M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"}),a("path",{fill:"#34A853",d:"M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"}),a("path",{fill:"#FBBC05",d:"M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.06H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.94l3.66-2.85z"}),a("path",{fill:"#EA4335",d:"M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.06l3.66 2.85c.87-2.6 3.3-4.53 6.16-4.53z"})],-1),a("symbol",{id:"notebooklm-icon",viewBox:"0 0 16 16"},[a("circle",{cx:"8",cy:"8",r:"8",fill:"black"}),a("path",{d:"M8 3.5C5.23833 3.5 3 5.72 3 8.45917V10.8333H3.92167V10.5967C3.92167 9.48583 4.82917 8.585 5.94917 8.585C7.06917 8.585 7.97667 9.48583 7.97667 10.5967V10.8333H8.89833V10.5967C8.89833 8.98083 7.5775 7.67167 5.94917 7.67167C5.315 7.67167 4.7275 7.87 4.24667 8.20833C4.75 7.21583 5.78667 6.535 6.98333 6.535C8.67417 6.535 10.045 7.895 10.045 9.57167V10.8333H10.9667V9.57167C10.9667 7.39 9.18333 5.62083 6.98333 5.62083C5.99417 5.62083 5.08917 5.97833 4.3925 6.57083C5.07667 5.28833 6.435 4.41417 8 4.41417C10.2525 4.41417 12.0783 6.225 12.0783 8.45917V10.8333H13V8.45917C13 5.72 10.7617 3.5 8 3.5Z",fill:"white"})],-1),a("symbol",{id:"perplexity-icon",viewBox:"0 0 24 24"},[a("path",{fill:"currentColor",d:"M22.3977 7.0896h-2.3106V.0676l-7.5094 6.3542V.1577h-1.1554v6.1966L4.4904 0v7.0896H1.6023v10.3976h2.8882V24l6.932-6.3591v6.2005h1.1554v-6.0469l6.9318 6.1807v-6.4879h2.8882V7.0896zm-3.4657-4.531v4.531h-5.355l5.355-4.531zm-13.2862.0676 4.8691 4.4634H5.6458V2.6262zM2.7576 16.332V8.245h7.8476l-6.1149 6.1147v1.9723H2.7576zm2.8882 5.0404v-3.8852h.0001v-2.6488l5.7763-5.7764v7.0111l-5.7764 5.2993zm12.7086.0248-5.7766-5.1509V9.0618l5.7766 5.7766v6.5588zm2.8882-5.0652h-1.733v-1.9723L13.3948 8.245h7.8478v8.087z"})],-1)]))),Ie(xe(Dt),{open:at.value,"onUpdate:open":t[40]||(t[40]=A=>at.value=A)},{default:ze(()=>[Ie(xe(Ft),null,{default:ze(()=>[Ie(xe(Lt),null,{default:ze(()=>[Ie(xe($t),null,{default:ze(()=>t[121]||(t[121]=[Ne("确认删除 Zip 压缩包?")])),_:1,__:[121]}),Ie(xe(Mt),null,{default:ze(()=>{var A;return[t[122]||(t[122]=Ne(" 确定要从服务器彻底删除方案「")),a("strong",null,pe((A=Q.value)==null?void 0:A.name),1),t[123]||(t[123]=Ne("」已导出的 Zip 压缩包吗?方案配置与截图数据将不受影响。 "))]}),_:1,__:[122,123]})]),_:1}),Ie(xe(Rt),null,{default:ze(()=>[Ie(xe(Nt),{onClick:t[39]||(t[39]=A=>at.value=!1)},{default:ze(()=>t[124]||(t[124]=[Ne("取消")])),_:1,__:[124]}),Ie(xe(Ot),{onClick:mt,class:"bg-rose-600 hover:bg-rose-700 text-white font-semibold rounded-xl"},{default:ze(()=>t[125]||(t[125]=[Ne(" 确认删除 Zip ")])),_:1,__:[125]})]),_:1})]),_:1})]),_:1},8,["open"])]}),_:1})],64))}});export{sn as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.