import{g as Jt,r as D,a4 as $t,w as qt,m as Q,n as _t,a1 as $,q as S,L as V,u as M,F as P,E as U,K as bt,D as At,T as Yt}from"./base-45eb5090.js";/* empty css *//* empty css *//* empty css *//* empty css */import{J as Ot,v as q}from"./event-4977bef7.js";import{t as T}from"./index-047041cb.js";import{u as jt}from"./vue-router-fcbaaf02.js";import{g as Gt}from"./weapp-86b87c15.js";import{a0 as Qt}from"./index-341914e3.js";import{d as Wt,a as Zt}from"./storage-4159d1ed.js";import{l as Xt}from"./diy-e858e923.js";import{a as st}from"./index-aef37b98.js";import{E as te}from"./index-4ce9333e.js";import{E as ee}from"./index-25c37860.js";import{a as ne,E as oe}from"./index-c4fd4c9d.js";import{E as re}from"./index-da8a1336.js";import"./common-af78c857.js";import"./common-2cf17469.js";import"./el-overlay-616d6124.js";import"./index-cd1661d3.js";import"./focus-trap-318ae2e0.js";import"./el-radio-2719e44c.js";import"./index-9670e877.js";import"./index-3be486d3.js";import"./_plugin-vue_export-helper-c27b6911.js";import"./el-tooltip-58212670.js";import"./el-avatar-bc58ad46.js";import"./castArray-df7eff2c.js";import"./_Uint8Array-e584e472.js";import"./_initCloneObject-983ff8c8.js";var j={},ie=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},vt={},I={};let wt;const se=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];I.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};I.getSymbolTotalCodewords=function(t){return se[t]};I.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};I.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');wt=t};I.isKanjiModeEnabled=function(){return typeof wt<"u"};I.toSJIS=function(t){return wt(t)};var et={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(i){if(typeof i!="string")throw new Error("Param is not a string");switch(i.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+i)}}e.isValid=function(r){return r&&typeof r.bit<"u"&&r.bit>=0&&r.bit<4},e.from=function(r,n){if(e.isValid(r))return r;try{return t(r)}catch{return n}}})(et);function St(){this.buffer=[],this.length=0}St.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let i=0;i>>t-i-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var ae=St;function G(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}G.prototype.set=function(e,t,i,r){const n=e*this.size+t;this.data[n]=i,r&&(this.reservedBit[n]=!0)};G.prototype.get=function(e,t){return this.data[e*this.size+t]};G.prototype.xor=function(e,t,i){this.data[e*this.size+t]^=i};G.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var ue=G,Mt={};(function(e){const t=I.getSymbolSize;e.getRowColCoords=function(r){if(r===1)return[];const n=Math.floor(r/7)+2,o=t(r),s=o===145?26:Math.ceil((o-13)/(2*n-2))*2,a=[o-7];for(let u=1;u=0&&n<=7},e.from=function(n){return e.isValid(n)?parseInt(n,10):void 0},e.getPenaltyN1=function(n){const o=n.size;let s=0,a=0,u=0,l=null,c=null;for(let B=0;B=5&&(s+=t.N1+(a-5)),l=d,a=1),d=n.get(p,B),d===c?u++:(u>=5&&(s+=t.N1+(u-5)),c=d,u=1)}a>=5&&(s+=t.N1+(a-5)),u>=5&&(s+=t.N1+(u-5))}return s},e.getPenaltyN2=function(n){const o=n.size;let s=0;for(let a=0;a=10&&(a===1488||a===93)&&s++,u=u<<1&2047|n.get(c,l),c>=10&&(u===1488||u===93)&&s++}return s*t.N3},e.getPenaltyN4=function(n){let o=0;const s=n.data.length;for(let u=0;u=0;){const s=o[0];for(let u=0;u0){const o=new Uint8Array(this.degree);return o.set(r,n),o}return r};var ce=yt,Ut={},k={},Et={};Et.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var R={};const Ft="[0-9]+",fe="[A-Z $%*+\\-./:]+";let O="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";O=O.replace(/u/g,"\\u");const de="(?:(?![A-Z0-9 $%*+\\-./:]|"+O+`)(?:.|[\r ]))+`;R.KANJI=new RegExp(O,"g");R.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");R.BYTE=new RegExp(de,"g");R.NUMERIC=new RegExp(Ft,"g");R.ALPHANUMERIC=new RegExp(fe,"g");const ge=new RegExp("^"+O+"$"),he=new RegExp("^"+Ft+"$"),me=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");R.testKanji=function(t){return ge.test(t)};R.testNumeric=function(t){return he.test(t)};R.testAlphanumeric=function(t){return me.test(t)};(function(e){const t=Et,i=R;e.NUMERIC={id:"Numeric",bit:1<<0,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:1<<1,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:1<<2,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:1<<3,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(o,s){if(!o.ccBits)throw new Error("Invalid mode: "+o);if(!t.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?o.ccBits[0]:s<27?o.ccBits[1]:o.ccBits[2]},e.getBestModeForData=function(o){return i.testNumeric(o)?e.NUMERIC:i.testAlphanumeric(o)?e.ALPHANUMERIC:i.testKanji(o)?e.KANJI:e.BYTE},e.toString=function(o){if(o&&o.id)return o.id;throw new Error("Invalid mode")},e.isValid=function(o){return o&&o.bit&&o.ccBits};function r(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+n)}}e.from=function(o,s){if(e.isValid(o))return o;try{return r(o)}catch{return s}}})(k);(function(e){const t=I,i=nt,r=et,n=k,o=Et,s=1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,a=t.getBCHDigit(s);function u(p,d,w){for(let y=1;y<=40;y++)if(d<=e.getCapacity(y,w,p))return y}function l(p,d){return n.getCharCountIndicator(p,d)+4}function c(p,d){let w=0;return p.forEach(function(y){const b=l(y.mode,d);w+=b+y.getBitsLength()}),w}function B(p,d){for(let w=1;w<=40;w++)if(c(p,w)<=e.getCapacity(w,d,n.MIXED))return w}e.from=function(d,w){return o.isValid(d)?parseInt(d,10):w},e.getCapacity=function(d,w,y){if(!o.isValid(d))throw new Error("Invalid QR Code version");typeof y>"u"&&(y=n.BYTE);const b=t.getSymbolTotalCodewords(d),m=i.getTotalCodewordsCount(d,w),h=(b-m)*8;if(y===n.MIXED)return h;const f=h-l(y,d);switch(y){case n.NUMERIC:return Math.floor(f/10*3);case n.ALPHANUMERIC:return Math.floor(f/11*2);case n.KANJI:return Math.floor(f/13);case n.BYTE:default:return Math.floor(f/8)}},e.getBestVersionForData=function(d,w){let y;const b=r.from(w,r.M);if(Array.isArray(d)){if(d.length>1)return B(d,b);if(d.length===0)return 1;y=d[0]}else y=d;return u(y.mode,y.getLength(),b)},e.getEncodedBits=function(d){if(!o.isValid(d)||d<7)throw new Error("Invalid QR Code version");let w=d<<12;for(;t.getBCHDigit(w)-a>=0;)w^=s<=0;)n^=Vt<0&&(r=this.data.substr(i),n=parseInt(r,10),t.put(n,o*3+1))};var ye=z;const Ee=k,at=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function x(e){this.mode=Ee.ALPHANUMERIC,this.data=e}x.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};x.prototype.getLength=function(){return this.data.length};x.prototype.getBitsLength=function(){return x.getBitsLength(this.data.length)};x.prototype.write=function(t){let i;for(i=0;i+2<=this.data.length;i+=2){let r=at.indexOf(this.data[i])*45;r+=at.indexOf(this.data[i+1]),t.put(r,11)}this.data.length%2&&t.put(at.indexOf(this.data[i]),6)};var Ce=x,Be=function(t){for(var i=[],r=t.length,n=0;n=55296&&o<=56319&&r>n+1){var s=t.charCodeAt(n+1);s>=56320&&s<=57343&&(o=(o-55296)*1024+s-56320+65536,n+=1)}if(o<128){i.push(o);continue}if(o<2048){i.push(o>>6|192),i.push(o&63|128);continue}if(o<55296||o>=57344&&o<65536){i.push(o>>12|224),i.push(o>>6&63|128),i.push(o&63|128);continue}if(o>=65536&&o<=1114111){i.push(o>>18|240),i.push(o>>12&63|128),i.push(o>>6&63|128),i.push(o&63|128);continue}i.push(239,191,189)}return new Uint8Array(i).buffer};const _e=Be,be=k;function H(e){this.mode=be.BYTE,typeof e=="string"&&(e=_e(e)),this.data=new Uint8Array(e)}H.getBitsLength=function(t){return t*8};H.prototype.getLength=function(){return this.data.length};H.prototype.getBitsLength=function(){return H.getBitsLength(this.data.length)};H.prototype.write=function(e){for(let t=0,i=this.data.length;t=33088&&i<=40956)i-=33088;else if(i>=57408&&i<=60351)i-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+` Make sure your charset is UTF-8`);i=(i>>>8&255)*192+(i&255),e.put(i,13)}};var Ne=K,gt={},ve={get exports(){return gt},set exports(e){gt=e}};(function(e){var t={single_source_shortest_paths:function(i,r,n){var o={},s={};s[r]=0;var a=t.PriorityQueue.make();a.push(r,0);for(var u,l,c,B,p,d,w,y,b;!a.empty();){u=a.pop(),l=u.value,B=u.cost,p=i[l]||{};for(c in p)p.hasOwnProperty(c)&&(d=p[c],w=B+d,y=s[c],b=typeof s[c]>"u",(b||y>w)&&(s[c]=w,a.push(c,w),o[c]=l))}if(typeof n<"u"&&typeof s[n]>"u"){var m=["Could not find a path from ",r," to ",n,"."].join("");throw new Error(m)}return o},extract_shortest_path_from_predecessor_list:function(i,r){for(var n=[],o=r;o;)n.push(o),i[o],o=i[o];return n.reverse(),n},find_path:function(i,r,n){var o=t.single_source_shortest_paths(i,r,n);return t.extract_shortest_path_from_predecessor_list(o,n)},PriorityQueue:{make:function(i){var r=t.PriorityQueue,n={},o;i=i||{};for(o in r)r.hasOwnProperty(o)&&(n[o]=r[o]);return n.queue=[],n.sorter=i.sorter||r.default_sorter,n},default_sorter:function(i,r){return i.cost-r.cost},push:function(i,r){var n={value:i,cost:r};this.queue.push(n),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(ve);(function(e){const t=k,i=ye,r=Ce,n=Ae,o=Ne,s=R,a=I,u=gt;function l(m){return unescape(encodeURIComponent(m)).length}function c(m,h,f){const g=[];let E;for(;(E=m.exec(f))!==null;)g.push({data:E[0],index:E.index,mode:h,length:E[0].length});return g}function B(m){const h=c(s.NUMERIC,t.NUMERIC,m),f=c(s.ALPHANUMERIC,t.ALPHANUMERIC,m);let g,E;return a.isKanjiModeEnabled()?(g=c(s.BYTE,t.BYTE,m),E=c(s.KANJI,t.KANJI,m)):(g=c(s.BYTE_KANJI,t.BYTE,m),E=[]),h.concat(f,g,E).sort(function(_,A){return _.index-A.index}).map(function(_){return{data:_.data,mode:_.mode,length:_.length}})}function p(m,h){switch(h){case t.NUMERIC:return i.getBitsLength(m);case t.ALPHANUMERIC:return r.getBitsLength(m);case t.KANJI:return o.getBitsLength(m);case t.BYTE:return n.getBitsLength(m)}}function d(m){return m.reduce(function(h,f){const g=h.length-1>=0?h[h.length-1]:null;return g&&g.mode===f.mode?(h[h.length-1].data+=f.data,h):(h.push(f),h)},[])}function w(m){const h=[];for(let f=0;f=0&&a<=6&&(u===0||u===6)||u>=0&&u<=6&&(a===0||a===6)||a>=2&&a<=4&&u>=2&&u<=4?e.set(o+a,s+u,!0,!0):e.set(o+a,s+u,!1,!0))}}function ke(e){const t=e.size;for(let i=8;i>a&1)===1,e.set(n,o,s,!0),e.set(o,n,s,!0)}function ct(e,t,i){const r=e.size,n=De.getEncodedBits(t,i);let o,s;for(o=0;o<15;o++)s=(n>>o&1)===1,o<6?e.set(o,8,s,!0):o<8?e.set(o+1,8,s,!0):e.set(r-15+o,8,s,!0),o<8?e.set(8,r-o-1,s,!0):o<9?e.set(8,15-o-1+1,s,!0):e.set(8,15-o-1,s,!0);e.set(r-8,8,1,!0)}function xe(e,t){const i=e.size;let r=-1,n=i-1,o=7,s=0;for(let a=i-1;a>0;a-=2)for(a===6&&a--;;){for(let u=0;u<2;u++)if(!e.isReserved(n,a-u)){let l=!1;s>>o&1)===1),e.set(n,a-u,l),o--,o===-1&&(s++,o=7)}if(n+=r,n<0||i<=n){n-=r,r=-r;break}}}function He(e,t,i){const r=new Se;i.forEach(function(u){r.put(u.mode.bit,4),r.put(u.getLength(),Ue.getCharCountIndicator(u.mode,e)),u.write(r)});const n=rt.getSymbolTotalCodewords(e),o=mt.getTotalCodewordsCount(e,t),s=(n-o)*8;for(r.getLengthInBits()+4<=s&&r.put(0,4);r.getLengthInBits()%8!==0;)r.putBit(0);const a=(s-r.getLengthInBits())/8;for(let u=0;u=7&&ze(u,t),xe(u,s),isNaN(r)&&(r=ht.getBestMask(u,ct.bind(null,u,i))),ht.applyMask(r,u),ct(u,i,r),{modules:u,version:t,errorCorrectionLevel:i,maskPattern:r,segments:n}}vt.create=function(t,i){if(typeof t>"u"||t==="")throw new Error("No input text");let r=ut.M,n,o;return typeof i<"u"&&(r=ut.from(i.errorCorrectionLevel,ut.M),n=tt.from(i.version),o=ht.from(i.maskPattern),i.toSJISFunc&&rt.setToSJISFunction(i.toSJISFunc)),Je(t,n,r,o)};var xt={},Ct={};(function(e){function t(i){if(typeof i=="number"&&(i=i.toString()),typeof i!="string")throw new Error("Color should be defined as hex string");let r=i.slice().replace("#","").split("");if(r.length<3||r.length===5||r.length>8)throw new Error("Invalid hex color: "+i);(r.length===3||r.length===4)&&(r=Array.prototype.concat.apply([],r.map(function(o){return[o,o]}))),r.length===6&&r.push("F","F");const n=parseInt(r.join(""),16);return{r:n>>24&255,g:n>>16&255,b:n>>8&255,a:n&255,hex:"#"+r.slice(0,6).join("")}}e.getOptions=function(r){r||(r={}),r.color||(r.color={});const n=typeof r.margin>"u"||r.margin===null||r.margin<0?4:r.margin,o=r.width&&r.width>=21?r.width:void 0,s=r.scale||4;return{width:o,scale:o?4:s,margin:n,color:{dark:t(r.color.dark||"#000000ff"),light:t(r.color.light||"#ffffffff")},type:r.type,rendererOpts:r.rendererOpts||{}}},e.getScale=function(r,n){return n.width&&n.width>=r+n.margin*2?n.width/(r+n.margin*2):n.scale},e.getImageWidth=function(r,n){const o=e.getScale(r,n);return Math.floor((r+n.margin*2)*o)},e.qrToImageData=function(r,n,o){const s=n.modules.size,a=n.modules.data,u=e.getScale(s,o),l=Math.floor((s+o.margin*2)*u),c=o.margin*u,B=[o.color.light,o.color.dark];for(let p=0;p=c&&d>=c&&p"u"&&(!s||!s.getContext)&&(u=s,s=void 0),s||(l=r()),u=t.getOptions(u);const c=t.getImageWidth(o.modules.size,u),B=l.getContext("2d"),p=B.createImageData(c,c);return t.qrToImageData(p.data,o,u),i(B,l,c),B.putImageData(p,0,0),l},e.renderToDataURL=function(o,s,a){let u=a;typeof u>"u"&&(!s||!s.getContext)&&(u=s,s=void 0),u||(u={});const l=e.render(o,s,u),c=u.type||"image/png",B=u.rendererOpts||{};return l.toDataURL(c,B.quality)}})(xt);var Ht={};const $e=Ct;function Nt(e,t){const i=e.a/255,r=t+'="'+e.hex+'"';return i<1?r+" "+t+'-opacity="'+i.toFixed(2).slice(1)+'"':r}function ft(e,t,i){let r=e+t;return typeof i<"u"&&(r+=" "+i),r}function qe(e,t,i){let r="",n=0,o=!1,s=0;for(let a=0;a0&&u>0&&e[a-1]||(r+=o?ft("M",u+i,.5+l+i):ft("m",n,0),n=0,o=!1),u+1':"",l="',c='viewBox="0 0 '+a+" "+a+'"',p=''+u+l+` `;return typeof r=="function"&&r(null,p),p};const Ye=ie,pt=vt,Kt=xt,Oe=Ht;function Bt(e,t,i,r,n){const o=[].slice.call(arguments,1),s=o.length,a=typeof o[s-1]=="function";if(!a&&!Ye())throw new Error("Callback required as last argument");if(a){if(s<2)throw new Error("Too few arguments provided");s===2?(n=i,i=t,t=r=void 0):s===3&&(t.getContext&&typeof n>"u"?(n=r,r=void 0):(n=r,r=i,i=t,t=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(i=t,t=r=void 0):s===2&&!t.getContext&&(r=i,i=t,t=void 0),new Promise(function(u,l){try{const c=pt.create(i,r);u(e(c,t,r))}catch(c){l(c)}})}try{const u=pt.create(i,r);n(null,e(u,t,r))}catch(u){n(u)}}j.create=pt.create;j.toCanvas=Bt.bind(null,Kt.render);j.toDataURL=Bt.bind(null,Kt.renderToDataURL);j.toString=Bt.bind(null,function(e,t,i){return Oe.render(e,i)});const je={class:"main-container w-[375px] mx-auto my-[20px] relative"},Ge={class:"flex h-full"},Qe=["src"],We={class:"w-[375px] border border-slate-100 bg-body pt-[20px] px-[20px]"},Ze={class:"font-bold text-xl mb-[40px]"},Xe={class:"mb-[20px] flex flex-col"},tn={class:"mb-[10px]"},en={key:0,class:"w-[400px] absolute bg-body top-[10%] -right-[450px]"},nn={class:"info-wrap mt-[20px]"},on={class:"px-[20px] pb-[10px] font-bold"},rn={class:"px-[20px] pb-[10px] font-bold mt-[40px]"},sn={class:"text-gray-400"},Vn=Jt({__name:"preview",setup(e){const t=D(""),i=D(""),r=D(""),n=D(""),o=D(!1),s=D(!1),a=D(!1),u=D(0);new Date().getTime();const l=jt();l.query.id=l.query.id||0,l.query.name=l.query.name||"",Qt().then(h=>{i.value=h.data.wap_domain,t.value=h.data.wap_url,B()});const c=()=>{if(i.value.trim().length==0){st({type:"warning",message:`${T("wapDomainPlaceholder")}`});return}t.value=i.value+"/wap",B(),Zt.set({key:"wap_domain",data:t.value}),s.value=!0,a.value=!1},B=()=>{Xt({id:l.query.id,name:l.query.name}).then(h=>{let f=h.data;n.value=`${t.value}/${f.page}`,j.toDataURL(n.value,{errorCorrectionLevel:"L",margin:0,width:100}).then(g=>{r.value=g})})},p=()=>{if(n.value){var h=new Date().getTime(),f=h-u.value;f<1e3?(a.value=!0,s.value=!1,n.value="",r.value=""):(a.value=!1,s.value=!0),o.value=!0}},d=$t({qr_code:""});D("weapp"),Gt().then(h=>{if(h.code==1){let f=h.data;d.qr_code=f.qr_code}});const{copy:w,isSupported:y,copied:b}=Ot(),m=h=>{y.value||st({message:T("notSupportCopy"),type:"warning"}),w(h)};return qt(b,()=>{b.value&&st({message:T("copySuccess"),type:"success"})}),(h,f)=>{const g=te,E=ee,C=ne,_=re,A=oe;return Q(),_t("div",je,[$(S("div",Ge,[$(S("iframe",{class:"w-[375px] border border-slate-100 bg-gray-100",src:n.value,frameborder:"0",id:"previewIframe",onLoad:p},null,40,Qe),[[q,s.value]]),$(S("div",We,[S("div",Ze,V(M(T)("developTitle")),1),S("div",Xe,[S("text",tn,V(M(T)("wapDomain")),1),P(g,{modelValue:i.value,"onUpdate:modelValue":f[0]||(f[0]=N=>i.value=N),placeholder:M(T)("wapDomainPlaceholder"),clearable:""},null,8,["modelValue","placeholder"])]),P(E,{type:"primary",onClick:c},{default:U(()=>[bt(V(M(T)("confirm")),1)]),_:1})],512),[[q,a.value]]),s.value?(Q(),_t("div",en,[S("div",nn,[S("div",on,V(M(T)("h5")),1),P(A,{"label-width":"40px",class:"px-[20px]"},{default:U(()=>[$(P(C,{label:M(T)("link")},{default:U(()=>[P(g,{readonly:"",value:n.value},{append:U(()=>[P(E,{onClick:f[1]||(f[1]=N=>m(n.value)),class:"bg-primary copy"},{default:U(()=>[bt(V(M(T)("copy")),1)]),_:1})]),_:1},8,["value"])]),_:1},8,["label"]),[[q,n.value]]),$(P(C,{label:" "},{default:U(()=>[P(_,{src:r.value},null,8,["src"])]),_:1},512),[[q,r.value]])]),_:1}),S("div",rn,V(M(T)("weapp")),1),P(A,{"label-width":"40px",class:"px-[20px]"},{default:U(()=>[d.qr_code?(Q(),At(C,{key:0,label:" "},{default:U(()=>[P(_,{class:"w-[100px] h-[100px]",src:M(Wt)(d.qr_code)},null,8,["src"])]),_:1})):(Q(),At(C,{key:1,label:" "},{default:U(()=>[S("span",sn,V(M(T)("weappNotSet")),1)]),_:1}))]),_:1})])])):Yt("",!0)],512),[[q,o.value]])])}}});export{Vn as default};