SYMBOL INDEX (2254 symbols across 60 files) FILE: __init__.py class WeiLinComfyUIPromptAllInOneGreat (line 16) | class WeiLinComfyUIPromptAllInOneGreat: method __init__ (line 18) | def __init__(self): method INPUT_TYPES (line 22) | def INPUT_TYPES(s): method encode (line 43) | def encode(self, positive): class WeiLinComfyUIPromptAllInOneNeg (line 47) | class WeiLinComfyUIPromptAllInOneNeg: method __init__ (line 49) | def __init__(self): method INPUT_TYPES (line 53) | def INPUT_TYPES(s): method encode (line 74) | def encode(self, negative): class WeiLinPromptToString (line 78) | class WeiLinPromptToString: method __init__ (line 80) | def __init__(self): method INPUT_TYPES (line 84) | def INPUT_TYPES(s): method encode (line 110) | def encode(self, positive,negative): class WeiLinComfyUIPromptToLoras (line 115) | class WeiLinComfyUIPromptToLoras: method __init__ (line 117) | def __init__(self): method INPUT_TYPES (line 122) | def INPUT_TYPES(s): method load_lora_great (line 153) | def load_lora_great(self, model, clip, positive,negative): class WeiLinComfyUIPromptToLorasOnly (line 204) | class WeiLinComfyUIPromptToLorasOnly: method __init__ (line 206) | def __init__(self): method INPUT_TYPES (line 210) | def INPUT_TYPES(s): method load_lora_great (line 236) | def load_lora_great(self, model, clip, positive): function load_lora_for_models (line 285) | def load_lora_for_models(model, clip, lora, strength_model, strength_clip): function replaceStrFunc (line 315) | def replaceStrFunc(nom_str): function getStrLoraName (line 339) | def getStrLoraName(str): function dist2package (line 374) | def dist2package(dist: str): function install_requirements (line 381) | def install_requirements(requirements_file_path): function copy_folder (line 423) | def copy_folder(source_folder, destination_folder): FILE: js/common/autocomplete.js constant CHAR_CODE_ZERO (line 174) | const CHAR_CODE_ZERO = "0".charCodeAt(0); constant CHAR_CODE_NINE (line 175) | const CHAR_CODE_NINE = "9".charCodeAt(0); class TextAreaCaretHelper (line 177) | class TextAreaCaretHelper { method constructor (line 178) | constructor(el, getScale) { method #calculateElementOffset (line 183) | #calculateElementOffset() { method #isDigit (line 204) | #isDigit(charCode) { method #getLineHeightPx (line 208) | #getLineHeightPx() { method #calculateLineHeightPx (line 231) | #calculateLineHeightPx(nodeName, computedStyle) { method getCursorOffset (line 257) | getCursorOffset() { method #getElScroll (line 276) | #getElScroll() { method #getCursorPosition (line 280) | #getCursorPosition() { method getBeforeCursor (line 284) | getBeforeCursor() { method getAfterCursor (line 288) | getAfterCursor() { method insertAtCursor (line 292) | insertAtCursor(value, offset, finalOffset) { class TextAreaAutoComplete (line 353) | class TextAreaAutoComplete { method words (line 382) | get words() { method separator (line 386) | get separator() { method constructor (line 393) | constructor(el, iframe, insEl, words = null, separator = null) { method #setup (line 405) | #setup() { method #keyDown (line 416) | #keyDown(e) { method #keyPress (line 451) | #keyPress(e) { method #keyUp (line 472) | #keyUp(e) { method #setSelected (line 490) | #setSelected(item) { method #insertItem (line 499) | #insertItem() { method #getFilteredWords (line 504) | #getFilteredWords(term) { method #update (line 544) | #update() { method #hide (line 674) | #hide() { method updateWords (line 679) | static updateWords(id, words, addGlobal = true) { FILE: js/common/modelInfoDialog.js class ModelInfoDialog (line 7) | class ModelInfoDialog extends ComfyDialog { method constructor (line 8) | constructor(name, node) { method customNotes (line 15) | get customNotes() { method customNotes (line 19) | set customNotes(v) { method hash (line 23) | get hash() { method show (line 27) | async show(type, value) { method createButtons (line 49) | createButtons() { method getNoteInfo (line 70) | getNoteInfo() { method addInfo (line 175) | addInfo() { method addInfoEntry (line 183) | addInfoEntry(name, value) { method getCivitaiDetails (line 196) | async getCivitaiDetails() { method addCivitaiInfo (line 207) | addCivitaiInfo() { FILE: js/common/utils.js function addStylesheet (line 3) | function addStylesheet(url) { function getUrl (line 15) | function getUrl(path, baseUrl) { function loadImage (line 23) | async function loadImage(url) { FILE: js/modelInfo.js constant MAX_TAGS (line 6) | const MAX_TAGS = 500; class LoraInfoDialog (line 16) | class LoraInfoDialog extends ModelInfoDialog { method getTagFrequency (line 17) | getTagFrequency() { method getResolutions (line 36) | getResolutions() { method getTagList (line 62) | getTagList(tags) { method addTags (line 88) | addTags() { method addExample (line 124) | addExample(title, value, name) { method addInfo (line 163) | async addInfo() { method saveAsExample (line 198) | async saveAsExample(example, name = "example.txt") { method createButtons (line 224) | createButtons() { FILE: js/weiLinComfyUIPromptNode.js method init (line 11) | async init() {} method setup (line 12) | async setup() {} method beforeRegisterNodeDef (line 15) | async beforeRegisterNodeDef(nodeType, nodeData, app) { FILE: js/weilinComfyUIAutocompleter.js function parseCSV (line 14) | function parseCSV(csvText) { function getCustomWords (line 85) | async function getCustomWords() { function addCustomWords (line 93) | async function addCustomWords(text) { function toggleLoras (line 150) | function toggleLoras() { class EmbeddingInfoDialog (line 157) | class EmbeddingInfoDialog extends ModelInfoDialog { method addInfo (line 158) | async addInfo() { class CustomWordsDialog (line 174) | class CustomWordsDialog extends ComfyDialog { method show (line 175) | async show() { method createButtons (line 250) | createButtons() { function initComplete (line 282) | function initComplete() { method init (line 505) | init(){ method setup (line 508) | setup() { method beforeRegisterNodeDef (line 563) | beforeRegisterNodeDef(_,nodeData, def) { FILE: js/weilinComfyUIPromptGlobal.js method init (line 12) | async init() { method setup (line 571) | async setup(app) { method beforeRegisterNodeDef (line 576) | async beforeRegisterNodeDef(nodeType, nodeData, app) { FILE: prompt_js/main.entry.js function si (line 5) | function si(e,t){const n=new Set(e.split(","));return t?i=>n.has(i.toLow... function At (line 5) | function At(e){if(Xe(e)){const t={};for(let n=0;n{... function Ge (line 5) | function Ge(e){let t="";if(zt(e))t=e;else if(Xe(e))for(let n=0;nNs(n,t))} class mC (line 9) | class mC{constructor(t=!1){this.detached=t,this._active=!0,this.effects=... method constructor (line 9) | constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this... method active (line 9) | get active(){return this._active} method run (line 9) | run(t){if(this._active){const n=Yn;try{return Yn=this,t()}finally{Yn=n}}} method on (line 9) | on(){Yn=this} method off (line 9) | off(){Yn=this.parent} method stop (line 9) | stop(t){if(this._active){let n,i;for(n=0,i=this.effects.length;ne._depsLength){for(let t=e._depsLength;t... function oh (line 9) | function oh(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(... function Yi (line 9) | function Yi(){sh.push(yr),yr=!1} function Xi (line 9) | function Xi(){const e=sh.pop();yr=e===void 0?!0:e} function mc (line 9) | function mc(){gc++} function vc (line 9) | function vc(){for(gc--;!gc&&yc.length;)yc.shift()()} function ah (line 9) | function ah(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const i... function lh (line 9) | function lh(e,t,n){mc();for(const i of e.keys()){let r;i._dirtyLevelr==="__v_isRea... function DC (line 9) | function DC(e){switch(e){case"Object":case"Array":return 1;case"Map":cas... function FC (line 9) | function FC(e){return e.__v_skip||!Object.isExtensible(e)?0:DC(sC(e))} function Fn (line 9) | function Fn(e){return Kr(e)?e:ul(e,!1,kC,NC,bh)} function BC (line 9) | function BC(e){return ul(e,!1,xC,RC,Ch)} function wc (line 9) | function wc(e){return ul(e,!0,TC,PC,_h)} function eV (line 9) | function eV(e){return ul(e,!0,SC,MC,wh)} function ul (line 9) | function ul(e,t,n,i,r){if(!Ft(e)||e.__v_raw&&!(t&&e.__v_isReactive))retu... function Rs (line 9) | function Rs(e){return Kr(e)?Rs(e.__v_raw):!!(e&&e.__v_isReactive)} function Kr (line 9) | function Kr(e){return!!(e&&e.__v_isReadonly)} function Lo (line 9) | function Lo(e){return!!(e&&e.__v_isShallow)} function kh (line 9) | function kh(e){return e?!!e.__v_raw:!1} function Tt (line 9) | function Tt(e){const t=e&&e.__v_raw;return t?Tt(t):e} function $C (line 9) | function $C(e){return Object.isExtensible(e)&&Xp(e,"__v_skip",!0),e} class Th (line 9) | class Th{constructor(t,n,i,r){this.getter=t,this._setter=n,this.dep=void... method constructor (line 9) | constructor(t,n,i,r){this.getter=t,this._setter=n,this.dep=void 0,this... method value (line 9) | get value(){const t=Tt(this);return(!t._cacheable||t.effect.dirty)&&vr... method value (line 9) | set value(t){this._setter(t)} method _dirty (line 9) | get _dirty(){return this.effect.dirty} method _dirty (line 9) | set _dirty(t){this.effect.dirty=t} function jC (line 9) | function jC(e,t,n=!1){let i,r;const o=st(e);return o?(i=e,r=qn):(i=e.get... function xh (line 9) | function xh(e){var t;yr&&Wr&&(e=Tt(e),ah(Wr,(t=e.dep)!=null?t:e.dep=uh((... function cl (line 9) | function cl(e,t=4,n,i){e=Tt(e);const r=e.dep;r&&lh(r,t)} function Ln (line 9) | function Ln(e){return!!(e&&e.__v_isRef===!0)} function Lt (line 9) | function Lt(e){return Sh(e,!1)} function HC (line 9) | function HC(e){return Sh(e,!0)} function Sh (line 9) | function Sh(e,t){return Ln(e)?e:new VC(e,t)} class VC (line 9) | class VC{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_... method constructor (line 9) | constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!... method value (line 9) | get value(){return xh(this),this._value} method value (line 9) | set value(t){const n=this.__v_isShallow||Lo(t)||Kr(t);t=n?t:Tt(t),vr(t... function Eh (line 9) | function Eh(e){return Ln(e)?e.value:e} function Ah (line 9) | function Ah(e){return Rs(e)?e:new Proxy(e,WC)} function tV (line 13) | function tV(e,...t){if(Tc)return;Tc=!0,Yi();const n=Ms.length?Ms[Ms.leng... function UC (line 15) | function UC(){let e=Ms[Ms.length-1];if(!e)return[];const t=[];for(;e;){c... function KC (line 15) | function KC(e){const t=[];return e.forEach((n,i)=>{t.push(...i===0?[]:[` function GC (line 16) | function GC({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive c... function zC (line 16) | function zC(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(i... function Lh (line 16) | function Lh(e,t,n){return zt(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):... function Zi (line 16) | function Zi(e,t,n,i){try{return i?e(...i):e()}catch(r){fl(r,t,n)}} function li (line 16) | function li(e,t,n,i){if(st(e)){const r=Zi(e,t,n,i);return r&&zp(r)&&r.ca... function fl (line 16) | function fl(e,t,n,i=!0){const r=t?t.vnode:null;if(t){let o=t.parent;cons... function qC (line 16) | function qC(e,t,n,i=!0){console.error(e)} function Io (line 16) | function Io(e){const t=Sc||Oh;return e?t.then(this?e.bind(this):e):t} function YC (line 16) | function YC(e){let t=Ni+1,n=wn.length;for(;t>>1,r=wn[i]... function Ec (line 16) | function Ec(e){(!wn.length||!wn.includes(e,Ds&&e.allowRecurse?Ni+1:Ni))&... function Ih (line 16) | function Ih(){!Ds&&!xc&&(xc=!0,Sc=Oh.then(Ph))} function XC (line 16) | function XC(e){const t=wn.indexOf(e);t>Ni&&wn.splice(t,1)} function JC (line 16) | function JC(e){Xe(e)?Oo.push(...e):(!Cr||!Cr.includes(e,e.allowRecurse?G... function Nh (line 16) | function Nh(e,t,n=Ds?Ni+1:0){for(;nFs(n)-... function Ph (line 16) | function Ph(e){xc=!1,Ds=!0,wn.sort(ZC);const t=qn;try{for(Ni=0;Ni{i._d&&wg(-1)... function oe (line 16) | function oe(e,t){if(dn===null)return e;const n=Ll(dn),i=e.dirs||(e.dirs=... function Yr (line 16) | function Yr(e,t,n,i){const r=e.dirs,o=t&&t.dirs;for(let s=0;s{const r=t.default&&$h(... function Fh (line 16) | function Fh(e,t){const{leavingVNodes:n}=e;let i=n.get(t.type);return i||... function Ac (line 16) | function Ac(e,t,n,i,r){const{appear:o,mode:s,persisted:a=!1,onBeforeEnte... function Lc (line 16) | function Lc(e){if(ml(e))return e=kr(e),e.children=null,e} function Bh (line 16) | function Bh(e){if(!ml(e))return e;const{shapeFlag:t,children:n}=e;if(n){... function gl (line 16) | function gl(e,t){e.shapeFlag&6&&e.component?gl(e.component.subTree,t):e.... function $h (line 16) | function $h(e,t=!1,n){let i=[],r=0;for(let o=0;ofn({name:e.name},t,{setup:e}))():e} function t_ (line 16) | function t_(e,t){jh(e,"a",t)} function n_ (line 16) | function n_(e,t){jh(e,"da",t)} function jh (line 16) | function jh(e,t,n=mn){const i=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if... function i_ (line 16) | function i_(e,t,n,i){const r=vl(t,e,i,!0);Vh(()=>{uc(i[t],r)},n)} function vl (line 16) | function vl(e,t,n=mn,i=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t._... function c_ (line 16) | function c_(e,t=mn){vl("ec",e,t)} function Be (line 16) | function Be(e,t){return Ic(Oc,e,!0,t)||e} function Uh (line 16) | function Uh(e){return zt(e)?Ic(Oc,e,!1)||e:e||Wh} function Ro (line 16) | function Ro(e){return Ic(f_,e)} function Ic (line 16) | function Ic(e,t,n=!0,i=!1){const r=dn||mn;if(r){const o=r.type;if(e===Oc... function Kh (line 16) | function Kh(e,t){return e&&(e[t]||e[Ci(t)]||e[Qa(Ci(t))])} function et (line 16) | function et(e,t,n,i){let r;const o=n&&n[i];if(Xe(e)||zt(e)){r=new Array(... function Gh (line 16) | function Gh(e,t,n={},i,r){if(dn.isCE||dn.parent&&Bs(dn.parent)&&dn.paren... function zh (line 16) | function zh(e){return e.some(t=>kl(t)?!(t.type===jn||t.type===Pe&&!zh(t.... method get (line 16) | get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:i,data:r,... method set (line 16) | set({_:e},t,n){const{data:i,setupState:r,ctx:o}=e;return Rc(r,t)?(r[t]=n... method has (line 16) | has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:r,propsOption... method defineProperty (line 16) | defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:kt(n,"valu... function qh (line 16) | function qh(e){return Xe(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e} function p_ (line 16) | function p_(e){const t=Mc(e),n=e.proxy,i=e.ctx;Pc=!1,t.beforeCreate&&Yh(... function h_ (line 16) | function h_(e,t,n=qn){Xe(e)&&(e=Dc(e));for(const i in e){const r=e[i];le... function Yh (line 16) | function Yh(e,t,n){li(Xe(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,n)} function Xh (line 16) | function Xh(e,t,n,i){const r=i.includes(".")?bg(n,i):()=>n[i];if(zt(e)){... function Mc (line 16) | function Mc(e){const t=e.type,{mixins:n,extends:i}=t,{mixins:r,optionsCa... function yl (line 16) | function yl(e,t,n,i=!1){const{mixins:r,extends:o}=t;o&&yl(e,o,n,!0),r&&r... function Jh (line 16) | function Jh(e,t){return t?e?function(){return fn(st(e)?e.call(this,this)... function m_ (line 16) | function m_(e,t){return js(Dc(e),Dc(t))} function Dc (line 16) | function Dc(e){if(Xe(e)){const t={};for(let n=0;n$c(m,t&&(Xe(t)?t[C]... method process (line 16) | process(e,t,n,i,r,o,s,a,l,f){const{mc:d,pc:v,pbc:m,o:{insert:C,querySele... method remove (line 16) | remove(e,t,n,{um:i,o:{remove:r}},o){const{shapeFlag:s,children:a,anchor:... function bl (line 16) | function bl(e,t,n,{o:{insert:i},m:r},o=2){o===0&&i(e.targetAnchor,t,n);c... function A_ (line 16) | function A_(e,t,n,i,r,o,{o:{nextSibling:s,parentNode:a,querySelector:l,i... function hg (line 16) | function hg(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&... function gg (line 16) | function gg(e,t,n,i){const r=t.targetStart=n(""),o=t.targetAnchor=n("");... function O_ (line 16) | function O_(e){return I_(e)} function I_ (line 16) | function I_(e,t){const n=Zp();n.__VUE__=!0;const{insert:i,remove:r,patch... function Hc (line 16) | function Hc({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n... function Xr (line 16) | function Xr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n} function N_ (line 16) | function N_(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted} function Vc (line 16) | function Vc(e,t,n=!1){const i=e.children,r=t.children;if(Xe(i)&&Xe(r))fo... function R_ (line 16) | function R_(e){const t=e.slice(),n=[0];let i,r,o,s,a;const l=e.length;fo... function mg (line 16) | function mg(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.as... function vg (line 16) | function vg(e){if(e)for(let t=0;t{let i=e;for(let r=0;r0?Xn||ai:null,K_(),Ws>0&&Xn&&... function A (line 16) | function A(e,t,n,i,r,o){return kg(p(e,t,n,i,r,o,!0))} function Ae (line 16) | function Ae(e,t,n,i,r){return kg(ie(e,t,n,i,r,!0))} function kl (line 16) | function kl(e){return e?e.__v_isVNode===!0:!1} function Jr (line 16) | function Jr(e,t){return e.type===t.type&&e.key===t.key} function p (line 16) | function p(e,t=null,n=null,i=0,r=null,o=e===Pe?0:1,s=!1,a=!1){const l={_... function G_ (line 16) | function G_(e,t=null,n=null,i=0,r=null,o=!1){if((!e||e===Wh)&&(e=jn),kl(... function z_ (line 16) | function z_(e){return e?kh(e)||ig(e)?fn({},e):e:null} function kr (line 16) | function kr(e,t,n=!1,i=!1){const{props:r,ref:o,patchFlag:s,children:a,tr... function Ze (line 16) | function Ze(e=" ",t=0){return ie(wl,null,e,t)} function Y (line 16) | function Y(e="",t=!1){return t?(T(),Ae(jn,null,e)):ie(jn,null,e)} function Ri (line 16) | function Ri(e){return e==null||typeof e=="boolean"?ie(jn):Xe(e)?ie(Pe,nu... function Tr (line 16) | function Tr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:kr(e)} function Kc (line 16) | function Kc(e,t){let n=0;const{shapeFlag:i}=e;if(t==null)t=null;else if(... function xl (line 16) | function xl(...e){const t={};for(let n=0;n{e.exposed=n||{}};return{attrs:new Proxy(e.att... function Ll (line 16) | function Ll(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(... function Og (line 16) | function Og(e,t=!0){return st(e)?e.displayName||e.name:e.name||t&&e.__name} function Ig (line 16) | function Ig(e,t,n=!1){let i=Og(t);if(!i&&t.__file){const r=t.__file.matc... function iw (line 16) | function iw(e){return st(e)&&"__vccOpts"in e} function Nt (line 16) | function Nt(e,t,n){const i=arguments.length;return i===2?Ft(t)&&!Xe(t)?k... method setScopeId (line 20) | setScopeId(e,t){e.setAttribute(t,"")} method insertStaticContent (line 20) | insertStaticContent(e,t,n,i,r,o){const s=n?n.previousSibling:t.lastChild... function lw (line 20) | function lw(e){const t={};for(const F in e)F in Rg||(t[F]=e[F]);if(e.css... function uw (line 20) | function uw(e){if(e==null)return null;if(Ft(e))return[zc(e.enter),zc(e.l... function zc (line 20) | function zc(e){return uC(e)} function Sr (line 20) | function Sr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Gs]... function Qr (line 20) | function Qr(e,t){t.split(/\s+/).forEach(i=>i&&e.classList.remove(i));con... function Mg (line 20) | function Mg(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})} function Dg (line 20) | function Dg(e,t,n,i){const r=e._endId=++cw,o=()=>{r===e._endId&&i()};if(... function fw (line 20) | function fw(e,t){const n=window.getComputedStyle(e),i=b=>(n[b]||"").spli... function Fg (line 20) | function Fg(e,t){for(;e.lengthIl(e,t,i));else if(n==null&&(n=... function vw (line 20) | function vw(e,t){const n=qc[t];if(n)return n;let i=Ci(t);if(i!=="filter"... function Wg (line 20) | function Wg(e,t,n,i,r,o=hC(t)){i&&t.startsWith("xlink:")?n==null?e.remov... function yw (line 20) | function yw(e,t,n,i){if(t==="innerHTML"||t==="textContent"){if(n==null)r... function Er (line 20) | function Er(e,t,n,i){e.addEventListener(t,n,i)} function bw (line 20) | function bw(e,t,n,i){e.removeEventListener(t,n,i)} function Cw (line 20) | function Cw(e,t,n,i,r=null){const o=e[Ug]||(e[Ug]={}),s=o[t];if(i&&s)s.v... function _w (line 20) | function _w(e){let t;if(Kg.test(e)){t={};let i;for(;i=e.match(Kg);)e=e.s... function Tw (line 20) | function Tw(e,t){const n=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts... function xw (line 20) | function xw(e,t){if(Xe(t)){const n=e.stopImmediatePropagation;return e.s... function Ew (line 20) | function Ew(e,t,n,i){if(i)return!!(t==="innerHTML"||t==="textContent"||t... function Aw (line 20) | function Aw(e){e.target.composing=!0} function zg (line 20) | function zg(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchE... method created (line 20) | created(e,{modifiers:{lazy:t,trim:n,number:i}},r){e[tr]=Do(r);const o=i|... method mounted (line 20) | mounted(e,{value:t}){e.value=t??""} method beforeUpdate (line 20) | beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:i,trim:r,number:o}},s... method created (line 20) | created(e,t,n){e[tr]=Do(n),Er(e,"change",()=>{const i=e._modelValue,r=qs... method beforeUpdate (line 20) | beforeUpdate(e,t,n){e[tr]=Do(n),qg(e,t,n)} function qg (line 20) | function qg(e,{value:t,oldValue:n},i){e._modelValue=t,Xe(t)?e.checked=dc... method created (line 20) | created(e,{value:t,modifiers:{number:n}},i){const r=Ao(t);Er(e,"change",... method mounted (line 20) | mounted(e,{value:t,modifiers:{number:n}}){Yg(e,t)} method beforeUpdate (line 20) | beforeUpdate(e,t,n){e[tr]=Do(n)} method updated (line 20) | updated(e,{value:t,modifiers:{number:n}}){e._assigning||Yg(e,t)} function Yg (line 20) | function Yg(e,t,n){const i=e.multiple,r=Xe(t);if(!(i&&!r&&!Ao(t))){for(l... function qs (line 20) | function qs(e){return"_value"in e?e._value:e.value} function Xg (line 20) | function Xg(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t} function Zg (line 20) | function Zg(){return Jg||(Jg=O_(Nw))} function Pw (line 20) | function Pw(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLEl... function Mw (line 20) | function Mw(e){return zt(e)?document.querySelector(e):e} function em (line 25) | function em(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){v... function Di (line 25) | function Di(e){for(var t=1;t"&&(t=t.substring(1)),e)try{if(e.matc... function jw (line 25) | function jw(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.par... function _i (line 25) | function _i(e,t,n,i){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.pa... function Jn (line 25) | function Jn(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](... function tt (line 25) | function tt(e,t,n){var i=e&&e.style;if(i){if(n===void 0)return document.... function Bo (line 25) | function Bo(e,t){var n="";if(typeof e=="string")n=e;else do{var i=tt(e,"... function sm (line 25) | function sm(e,t,n){if(e){var i=e.getElementsByTagName(t),r=0,o=i.length;... function Fi (line 25) | function Fi(){var e=document.scrollingElement;return e||document.documen... function en (line 25) | function en(e,t,n,i,r){if(!(!e.getBoundingClientRect&&e!==window)){var o... function am (line 25) | function am(e,t,n){for(var i=Ar(e,!0),r=en(e)[t];i;){var o=en(i)[n],s=vo... function $o (line 25) | function $o(e,t,n,i){for(var r=0,o=0,s=e.children;o1)&&(e=1),e} function Kt (line 31) | function Kt(e,t){Lk(e)&&(e="100%");var n=Ok(e);return e=Math.min(t,Math.... function ql (line 31) | function ql(e){return Math.min(1,Math.max(0,e))} function ei (line 31) | function ei(e){return parseInt(e,16)} function Lk (line 31) | function Lk(e){return typeof e=="string"&&e.indexOf(".")!=-1&&parseFloat... function Ok (line 31) | function Ok(e){return typeof e=="string"&&e.indexOf("%")!=-1} function ki (line 31) | function ki(e){return e.length==1?"0"+e:""+e} function sa (line 31) | function sa(e){return e<=1&&(e=e*100+"%"),e} function Lm (line 31) | function Lm(e){return Math.round(parseFloat(e)*255).toString(16)} function Om (line 31) | function Om(e){return ei(e)/255} function or (line 31) | function or(e){return!!Ti.CSS_UNIT.exec(e)} function Ik (line 31) | function Ik(e){e=e.replace(uk,"").replace(ck,"").toLowerCase();var t=!1;... function Nk (line 31) | function Nk(e){var t,n;return e=e||{level:"AA",size:"small"},t=(e.level|... method replaceTag (line 31) | replaceTag(e){return typeof e!="string"||e===""||(e=this.replaceBrackets... method replaceBrackets (line 31) | replaceBrackets(e){const t=e.length;if(t===0)return e;let n={};this.brac... method hasBrackets (line 31) | hasBrackets(e){const t=e.length;if(t===0)return!1;let n=[];this.brackets... method splitTag (line 31) | splitTag(e){let t={left:"",value:"",right:""},n=e.match(/^([\(\<\{\[]+)(... method splitTags (line 31) | splitTags(e,t=!1,n=!1){return lk(e,t,n)} method canTranslate (line 31) | canTranslate(e){return!(e.trim()===""||e[0]==="<"&&e[e.length-1]===">"||... method isEnglish (line 31) | isEnglish(e){const t=e.length;if(e[0]==="<"&&e[t-1]===">")return!0;for(l... method canOneTranslate (line 31) | canOneTranslate(e){const t=["zh_CN","zh_HK","zh_TW","ar_SA","ja_JP","ko_... method isEnglishByLangCode (line 31) | isEnglishByLangCode(e,t){if(!this.canOneTranslate(t))return-1;const n=e.... method isSameLang (line 31) | isSameLang(e,t){if(e===t)return!0;let n=e.toLowerCase(),i=t.toLowerCase(... method getLang (line 31) | getLang(e,t,n){return n[t]&&n[t].lang&&n[t].lang[e]?this.replaceGlobals(... method replaceGlobals (line 31) | replaceGlobals(e,t){for(let n in oa){let i=oa[n];if(n==="docs")switch(t)... method escapeHtml (line 31) | escapeHtml(e){return e.replace(/[&<>'"]/g,t=>({"&":"&","<":"<",">... method unescapeHtml (line 31) | unescapeHtml(e){return e.replace(/&|<|>|'|"/g,t=>({"&... method getTagWeightNum (line 31) | getTagWeightNum(e){const t=e.match(this.weightNumRegex);return t?parseFl... method getLoraTagWeightNum (line 31) | getLoraTagWeightNum(e){const t=/:(-?\d+(\.\d{0,2})?)(?::(-?\d+(\.\d{0,2}... method getTagIncWeight (line 31) | getTagIncWeight(e,t=!1){return t?this.countLayers(e,"{","}"):this.countL... method getTagDecWeight (line 31) | getTagDecWeight(e){return this.countLayers(e,"[","]")} method countLayers (line 31) | countLayers(e,t="(",n=")"){let i=0;if(e.length<2)return i;for(;;){let r=... method setLayers (line 31) | setLayers(e,t=0,n="(",i=")",r=""){for(;;){let o=e[0],s=e[e.length-1];if(... method getTranslateApiInfo (line 31) | getTranslateApiInfo(e,t){let n=!1;for(const i in t)for(const r in i.chil... method isEqualTags (line 31) | isEqualTags(e,t,n=[]){if(t.length!==e.length)return!1;for(let i=0;io.split("/... function aa (line 31) | function aa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.c... function Ee (line 37) | function Ee(W,Q,fe){var de="";typeof W=="string"&&(W=JSON.parse(W)),type... function Ce (line 37) | function Ce(W,Q){if(W==null)return"";if(W.constructor===Date)return JSON... function I (line 38) | function I(){if(N.length!==0){var q,_e,$e,Le,G=N[0];if(h(M.before)){var ... function F (line 38) | function F(){N.splice(0,1),I()} function d (line 38) | function d(M){this._handle=null,this._finished=!1,this._completed=!1,thi... function v (line 38) | function v(M){var E;(M=M||{}).chunkSize||(M.chunkSize=l.RemoteChunkSize)... function m (line 38) | function m(M){var E,N;(M=M||{}).chunkSize||(M.chunkSize=l.LocalChunkSize... function C (line 38) | function C(M){var E;d.call(this,M=M||{}),this.stream=function(N){return ... function b (line 38) | function b(M){d.call(this,M=M||{});var E=[],N=!0,I=!1;this.pause=functio... function k (line 38) | function k(M){var E,N,I,F=Math.pow(2,53),q=-F,_e=/^\s*-?(\d+\.?|\.\d+|\d... function x (line 42) | function x(M){return M.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")} function L (line 42) | function L(M){var E,N=(M=M||{}).delimiter,I=M.newline,F=M.comments,q=M.s... function $ (line 45) | function $(M){var E=M.data,N=s[E.workerId],I=!1;if(E.error)N.userError(E... function V (line 45) | function V(M,E){var N=s[M];h(N.userComplete)&&N.userComplete(E),N.termin... function O (line 45) | function O(){throw new Error("Not implemented.")} function ge (line 45) | function ge(M){if(typeof M!="object"||M===null)return M;var E=Array.isAr... function K (line 45) | function K(M,E){return function(){M.apply(E,arguments)}} function h (line 45) | function h(M){return typeof M=="function"} method data (line 45) | data(){return{cancelMultiTranslate:!1,globals:oa}} method langName (line 45) | langName(){for(const e in this.languages){const t=this.languages[e];if(t... method getLang (line 45) | getLang(e){return pe.getLang(e,this.languageCode,this.languages)} method replaceGlobals (line 45) | replaceGlobals(e){return pe.replaceGlobals(e,this.languageCode)} method getCSV (line 45) | getCSV(e=null,t=!1){return window.tagCompleteFileCache=window.tagComplet... method _translateToLocalBy (line 45) | _translateToLocalBy(e,t,n=!1){e=e.trim().toLowerCase();let i=r=>{var o;r... method translateToLocalByCSV (line 45) | async translateToLocalByCSV(e,t=null,n=!1,i=!1){let r=await this.getCSV(... method translateToEnByCSV (line 45) | async translateToEnByCSV(e,t=null,n=!1){let i=await this.getCSV(t,n);ret... method translateToLocalByGroupTags (line 45) | async translateToLocalByGroupTags(e,t=!1){return console.log("translateT... method translateToEnByGroupTags (line 45) | async translateToEnByGroupTags(e){return this._toEn(e,this.groupTagsTran... method _toEn (line 45) | _toEn(e,t){return e=e.trim().toLowerCase(),t.has(e)?t.get(e):""} method data (line 45) | data(){return{value:NaN}} method increasable (line 45) | increasable(){return io(this.value)||this.valuethis.min} method handler (line 45) | handler(e,t){!(io(e)&&typeof t>"u")&&e!==this.value&&this.setValue(e)} method change (line 45) | change(e){this.setValue(e.target.value)} method paste (line 45) | paste(e){const t=e.clipboardData||window.clipboardData;t&&!Mk.test(t.get... method decrease (line 45) | decrease(){if(this.decreasable){let{value:e}=this;io(e)&&(e=0),this.setV... method increase (line 45) | increase(){if(this.increasable){let{value:e}=this;io(e)&&(e=0),this.setV... method setValue (line 45) | setValue(e){const t=this.value;let n=typeof e!="number"?parseFloat(e):e;... function Wk (line 45) | function Wk(e,t,n,i,r,o){return T(),A("div",null,[p("div",{class:Ge(["vu... method data (line 45) | data(){return{autocompleteResults:null,autocompleteResultsParent:null,sh... method appendListChildItemTags (line 45) | appendListChildItemTags(){return this.appendListSelected===null?[]:this.... method mounted (line 45) | mounted(){this.initAutoInputPrompt(),[{name:"txt2img",type:"prompt",key:... method onUnfoldClick (line 45) | onUnfoldClick(){this.hidePanel&&this.$nextTick(()=>{this.onResize()}),th... method onTranslatesToLocalClick (line 45) | onTranslatesToLocalClick(){if(this.tags.length===0)return;if(this.loadin... method onTranslatesToEnglishClick (line 45) | onTranslatesToEnglishClick(){if(this.tags.length===0)return;if(this.load... method onCopyAllTagsClick (line 45) | onCopyAllTagsClick(){this.copy(this.prompt)} method onDeleteAllTagsClick (line 45) | onDeleteAllTagsClick(){confirm(this.getLang("delete_all_keywords_confirm... method onClickLoadWebuiPrompt (line 45) | onClickLoadWebuiPrompt(){this.onTextareaChange(!0)} method appendListItemName (line 45) | appendListItemName(e){let t=[];if(typeof e.name=="object")for(let n of e... method onAppendTagFocus (line 45) | onAppendTagFocus(e){if(this.$refs.promptTagAppend.value===""||this.$refs... method onAppendTagBlur (line 45) | onAppendTagBlur(e){setTimeout(()=>{this.showAppendList=!1},300)} method selectAppendList (line 45) | selectAppendList(e=!0){this.appendList.length!==0&&(this.appendListSelec... method selectAppendListChild (line 45) | selectAppendListChild(e=!0){this.appendList.length!==0&&this.appendListS... method scrollAppendListChild (line 45) | scrollAppendListChild(){this.appendListSelected!==null&&(this.appendList... method onAppendTagKeyDown (line 45) | onAppendTagKeyDown(e,t=null){if(!(e.keyCode===38||e.keyCode===40))if(e.k... method autoTranslateByIndexes (line 48) | autoTranslateByIndexes(e){this.updatePrompt(),this.autoTranslateToEnglis... method onAppendTagKeyUp (line 48) | onAppendTagKeyUp(e){this.$refs.promptTagAppend.value===""||this.$refs.pr... method onAppendGroupClick (line 48) | onAppendGroupClick(e,t,n){if(e!==null){if(this.appendListSelected=e,t===... method onAppendListChildMouseLeave (line 48) | onAppendListChildMouseLeave(e,t,n){this.appendListSelected=null,this.app... method onAppendListChildMouseEnter (line 48) | onAppendListChildMouseEnter(e,t,n){this.appendListSelected=e,this.append... method _appendTagByList (line 48) | _appendTagByList(){if(this.appendListSelected===null)return;const e=this... method getAutocompleteResults (line 50) | getAutocompleteResults(){if(!this.autocompleteResults){const e=this.$ref... method removeAutocompleteResultsSelected (line 50) | removeAutocompleteResultsSelected(){const e=this.getAutocompleteResults(... method getAutocompleteResultsSelected (line 50) | getAutocompleteResultsSelected(){const e=this.getAutocompleteResults();i... method getAutocompleteResultsSelectedText (line 50) | getAutocompleteResultsSelectedText(e=null){if(!e&&(e=this.getAutocomplet... method bindAutocompleteResultsClick (line 50) | bindAutocompleteResultsClick(){if(this.getAutocompleteResults(),!this.au... method onAutocompleteResultsClicked (line 50) | onAutocompleteResultsClicked(e){const t=this.getAutocompleteResultsSelec... method onSettingBoxMouseEnter (line 50) | onSettingBoxMouseEnter(){this.favorites=typeof window.phystonPromptfavor... method getCurrentTypeFavorites (line 50) | getCurrentTypeFavorites(){this.favorites=typeof window.phystonPromptfavo... method onAutoInputPromptChange (line 50) | onAutoInputPromptChange(){this.gradioAPI.setData(this.autoInputPromptKey... method initAutoInputPrompt (line 50) | initAutoInputPrompt(){this.autoInputPromptKey="autoInputPrompt-"+this.na... method data (line 50) | data(){return{dropStartX:0,dropStartY:0,dropEndX:0,dropEndY:0,dropOffset... method _dropOver (line 50) | _dropOver(){this.dropIsSelecting=!1,this.dropIsStart=!1,this.dropIsEnd=!... method onDropMouseDown (line 50) | onDropMouseDown(e){this.droping||(this._dropOver(),this.dropOffsetX=e.cl... method onDropMouseMove (line 50) | onDropMouseMove(e){if(this.dropIsStart){this.dropIsSelecting=!0,this.dro... method dropSelectItems (line 50) | dropSelectItems(){this.dropTimeId&&clearTimeout(this.dropTimeId);let e=[... method onDropMouseUp (line 50) | onDropMouseUp(e){this.dropIsSelecting=!1,this.dropIsStart=!1,this.dropIs... method _getDropTags (line 50) | _getDropTags(){let e=[];return this.dropTags.forEach(t=>{let n=this.tags... method _getDropIndexes (line 50) | _getDropIndexes(){let e=[];return this.dropTags.forEach(t=>{let n=this.t... method _getDropTagsEle (line 50) | _getDropTagsEle(){let e=[];return this.dropTags.forEach(t=>{let n=this.$... method onDropCopy (line 50) | onDropCopy(){let e=this._getDropTags();this._dropOver();let t=this.genPr... method onDropFavorite (line 50) | onDropFavorite(){let e=this._getDropTags();this._dropOver();let t=this.g... method onDropDisable (line 50) | onDropDisable(){let e=this._getDropTags();this._dropOver(),e.forEach(t=>... method onDropEnable (line 50) | onDropEnable(){let e=this._getDropTags();this._dropOver(),e.forEach(t=>{... method onDropDelete (line 50) | onDropDelete(){let e=this._getDropIndexes();this._dropOver(),e.sort((t,n... function qk (line 50) | function qk(e){return"&"+zk[e]+";"} function Yk (line 50) | function Yk(e){return e.replace(/\s|<|>/g,qk)} function Xk (line 50) | function Xk(){var e=document.createElement("div");return e.id=mf,e.style... function r (line 50) | function r(){var s=e.value||e.getAttribute("placeholder")||"",a=document... method data (line 50) | data(){return{tagClickTimeId:0,showExtendId:""}} method mounted (line 50) | mounted(){} method _setTag (line 50) | _setTag(e){if(typeof e.type=="string"&&e.type==="wrap")e.weightNum=1,e.i... method _setTagHeight (line 50) | _setTagHeight(e){let t=10,n=setInterval(()=>{if(t--,t<=0&&clearInterval(... method _getTagType (line 50) | _getTagType(e){} method _setTagClass (line 50) | _setTagClass(e){if(e.isLora=!1,e.loraExists=!1,e.isLyco=!1,e.lycoExists=... method _setTagById (line 50) | _setTagById(e,t=null,n=null){let i=this.tags.find(r=>r.id===e);return i?... method _isTagBlacklist (line 50) | _isTagBlacklist(e){var t,n,i,r,o;if(typeof e.type=="string"&&e.type==="w... method _appendTag (line 50) | _appendTag(e,t="",n=!1,i=-1,r="text"){if(e==="")return-1;const o=Date.no... method renderTag (line 50) | renderTag(e){let t=this.tags.find(i=>i.id===e);if(!t)return"";let n=t.va... method isFavorite (line 50) | isFavorite(e){let t=this.tags.find(n=>n.id===e);if(!t)return!1;if(typeof... method onLoraPopupUseKeywords (line 50) | onLoraPopupUseKeywords(e){let t=[];for(let n of e){let i=n.toLowerCase()... method onTagMouseEnter (line 50) | onTagMouseEnter(e){if(this.isEditing)return!1;let t=this.tags.find(n=>n.... method onTagMouseMove (line 50) | onTagMouseMove(e){} method onTagMouseLeave (line 50) | onTagMouseLeave(e){if(!this.tags.find(n=>n.id===e))return!1;this.hotkey.... method onTagClick (line 50) | onTagClick(e){this.tagClickTimeId&&clearTimeout(this.tagClickTimeId),thi... method onTagDblclick (line 50) | onTagDblclick(e){switch(clearTimeout(this.tagClickTimeId),this.hotkey.db... method onTagRightClick (line 50) | onTagRightClick(e,t){switch(this.hotkey.rightClick){case"edit":this._han... method _handleEditTag (line 50) | _handleEditTag(e){let t=this.tags.find(n=>n.id===e);if(!t)return!1;this.... method _handleDisableTag (line 50) | _handleDisableTag(e){let t=this.tags.find(n=>n.id===e);if(!t)return!1;th... method _handleHoverTag (line 50) | _handleHoverTag(e){if(!this.tags.find(n=>n.id===e))return!1;this.showExt... method onTagInputBlur (line 50) | onTagInputBlur(e){let t=this.tags.find(n=>n.id===e);if(!t)return!1;this.... method onTagInputKeyDown (line 50) | onTagInputKeyDown(e,t){if(t.keyCode===13){let n=this.tags.find(i=>i.id==... method onTagInputChange (line 50) | onTagInputChange(e,t){let n=this.tags.find(i=>i.id===e);if(!n)return!1;t... method _changeTagValue (line 50) | _changeTagValue(e,t){let n=e.value;e.value!==t&&(e.value=t,this._setTag(... method onTagWeightNumChange (line 50) | onTagWeightNumChange(e,t){let n=this.tags.find(s=>s.id===e);if(!n)return... method onTagLoraClipWeightNumChange (line 50) | onTagLoraClipWeightNumChange(e,t){let n=this.tags.find(s=>s.id===e);if(!... method replaceLoraNumbers (line 50) | replaceLoraNumbers(e,t,n){const i=/:(\d+(\.\d+)?|-\d+(\.\d+)?)((?::(\d+(... method onDeleteTagClick (line 50) | onDeleteTagClick(e){let t=this.tags.find(i=>i.id===e);if(!t)return!1;let... method onFavoriteTagClick (line 50) | onFavoriteTagClick(e){let t=this.tags.find(i=>i.id===e);if(!t)return!1;l... method onDisabledTagClick (line 50) | onDisabledTagClick(e){let t=this.tags.find(n=>n.id===e);t&&(t.disabled=!... method onIncWeightClick (line 50) | onIncWeightClick(e,t){let n=this.tags.find(s=>s.id===e);if(!n)return;let... method onDecWeightClick (line 50) | onDecWeightClick(e,t){let n=this.tags.find(s=>s.id===e);if(!n)return;let... method onWrapTagClick (line 50) | onWrapTagClick(e){let t=this.tags.find(o=>o.id===e);if(!t)return;let n=t... method onTranslateToLocalClick (line 52) | onTranslateToLocalClick(e){let t=this.tags.find(i=>i.id===e);if(!t)retur... method onTranslateToEnglishClick (line 52) | onTranslateToEnglishClick(e){let t=this.tags.find(i=>i.id===e);if(!t)ret... method onBlacklistClick (line 52) | onBlacklistClick(e){let t=this.tags.find(i=>i.id===e);if(!t)return;if(!t... method data (line 53) | data(){return{groupTagsActive:"",subGroupTagsActive:"",groupTagsProcesse... method handler (line 53) | handler(){this.genGroup(),(!this.groupTagsActive||!this.subGroupTagsActi... method handler (line 53) | handler(){this.genGroup()} method handler (line 53) | handler(){this.genGroup()} method mounted (line 53) | mounted(){this.gradioAPI.getData("groupTagsActive-"+this.name).then(e=>{... method genGroup (line 53) | async genGroup(){let e=[],t={name:this.getLang("favorite"),tabKey:"favor... method saveGroupActive (line 53) | saveGroupActive(){this.gradioAPI.setData("groupTagsActive-"+this.name,{g... method activeGroupTab (line 53) | activeGroupTab(e){this.groupTagsActive=this.groupTagsProcessed[e].tabKey... method activeSubGroupTab (line 53) | activeSubGroupTab(e,t){this.subGroupTagsActive=this.groupTagsProcessed[e... method _setGroupTagItemWidth (line 53) | _setGroupTagItemWidth(){this.$nextTick(()=>{if(!this.$refs.groupTagItem)... method onClickHideGroupTags (line 53) | onClickHideGroupTags(){this.$emit("update:hideGroupTags",!this.hideGroup... method onClickGroupTag (line 53) | onClickGroupTag(e,t,n,i){let r=[];if(this.tags.forEach((o,s)=>{o.origina... method onClickGroupTagFavorite (line 53) | onClickGroupTagFavorite(e){e.tags.forEach(t=>{this._appendTag(t.value,t.... method onClickGroupTagExtraNetwork (line 53) | onClickGroupTagExtraNetwork(e,t,n){let i=this._groupTagsExtraNetworkTags... method getGroupTagTooltip (line 53) | getGroupTagTooltip(e,t){let n="";return e&&e!==t&&(n+=e+"
"),n+=t,n} method getGroupTagStyle (line 53) | getGroupTagStyle(e,t,n){let i={},r=pe.getTagsColorKey(e,t),o="";this.gro... method _groupTagsExtraNetworkTagsIndexes (line 53) | _groupTagsExtraNetworkTagsIndexes(e){let t=e.name,n=e.output_name||void ... method getGroupTagExtraNetworkStyle (line 53) | getGroupTagExtraNetworkStyle(e){let t=this._groupTagsExtraNetworkTagsInd... method getTagsColorKey (line 53) | getTagsColorKey(e,t){return pe.getTagsColorKey(e,t)} method onTagsColorChange (line 53) | onTagsColorChange(e){this.$emit("update:groupTagsColor",this.groupTagsCo... method onClickResetTagsColor (line 53) | onClickResetTagsColor(e){for(let t of this.groupTagsProcessed)for(let n ... method onClickClearTagsColor (line 53) | onClickClearTagsColor(e){this.groupTagsColor[e]=Lt("rgba(0,0,0,0)"),this... method getTagColorStyle (line 53) | getTagColorStyle(e){if(e.isLora||e.isLyco||e.isEmbedding)return{};if(!th... method onGroupExtraNetworkMouseEnter (line 53) | onGroupExtraNetworkMouseEnter(e,t){this.$emit("showExtraNetworks",e.targ... method onGroupExtraNetworkMouseMove (line 53) | onGroupExtraNetworkMouseMove(){} method onGroupExtraNetworkMouseLeave (line 53) | onGroupExtraNetworkMouseLeave(){this.$emit("hideExtraNetworks")} method onClickGroupExtraNetworkRefresh (line 53) | onClickGroupExtraNetworkRefresh(){this.$emit("refreshExtraNetworks")} method onClickGroupExtraNetworkRefreshLoadAllImage (line 53) | onClickGroupExtraNetworkRefreshLoadAllImage(){this.$emit("refreshExtraNe... method openDB (line 53) | openDB(){return new Promise((e,t)=>{const n=indexedDB.open("comfyui_work... method fetchModelById (line 53) | fetchModelById(e,t){return new Promise((n,i)=>{const s=e.transaction(["m... method data (line 53) | data(){return{svgCode:""}} method mounted (line 53) | mounted(){this.getSvg()} method getSvg (line 53) | getSvg(){if(!this.name)return;let e=this.svgName||this.name;if(window.lo... function iT (line 53) | function iT(e,t,n,i,r,o){return oe((T(),A("div",{class:Ge(["icon-svg","i... method data (line 53) | data(){return{scrollTop:0,showTimeId:0,hideTimeId:0,lastHighLightTag:null}} method mounted (line 53) | mounted(){} method show (line 53) | show(e){this.lastHighLightTag&&this.lastHighLightTag.value===e.value||(t... method _show (line 53) | _show(e){if(this.hideDefaultInput)return this._hide();if(typeof e.type==... method hide (line 53) | hide(){this.lastHighLightTag=null,this.showTimeId&&clearTimeout(this.sho... method _hide (line 53) | _hide(){this.textarea.style.display="block",this.$refs.highlightPrompt.s... function oT (line 53) | function oT(e,t,n,i,r,o){return T(),A("div",{class:"physton-highlight-pr... function aT (line 53) | function aT(e){return nh()?(yC(e),!0):!1} function la (line 53) | function la(e){return typeof e=="function"?e():Eh(e)} function fT (line 53) | function fT(){var e,t;return Rm&&((e=window==null?void 0:window.navigato... function Pm (line 53) | function Pm(e,t){function n(...i){return new Promise((r,o)=>{Promise.res... function dT (line 53) | function dT(e,t={}){let n,i,r=Uo;const o=a=>{clearTimeout(a),r(),r=Uo};r... function pT (line 53) | function pT(e=Mm){const t=Lt(!0);function n(){t.value=!1}function i(){t.... function hT (line 53) | function hT(e){return e||Sl()} function ro (line 53) | function ro(e,t=200,n={}){return Pm(dT(t,n),e)} function gT (line 53) | function gT(e,t,n={}){const{eventFilter:i=Mm,...r}=n;return ci(e,Pm(i,t)... function mT (line 53) | function mT(e,t,n={}){const{eventFilter:i,...r}=n,{eventFilter:o,pause:s... function Ko (line 53) | function Ko(e,t=!0,n){hT()?No(e,n):t?e():Io(e)} function Nn (line 53) | function Nn(e,t,n){const i=ci(e,(r,o,s)=>{r&&(n!=null&&n.once&&Io(()=>i(... function ua (line 53) | function ua(e){var t;const n=la(e);return(t=n==null?void 0:n.$el)!=null?... function oo (line 53) | function oo(...e){let t,n,i,r;if(typeof e[0]=="string"||Array.isArray(e[... function vT (line 53) | function vT(e,t,n={}){const{window:i=ca,ignore:r=[],capture:o=!0,detectI... function yT (line 53) | function yT(){const e=Lt(!1),t=Sl();return t&&No(()=>{e.value=!0},t),e} function bT (line 53) | function bT(e){const t=yT();return sn(()=>(t.value,!!e()))} function _T (line 53) | function _T(){return Xl in Yl||(Yl[Xl]=Yl[Xl]||{}),Yl[Xl]} function wT (line 53) | function wT(e,t){return CT[e]||t} function kT (line 53) | function kT(e){return e==null?"any":e instanceof Set?"set":e instanceof ... function xT (line 53) | function xT(e,t,n,i={}){var r;const{flush:o="pre",deep:s=!0,listenToStor... function ST (line 53) | function ST(e={}){const{initialValue:t=""}=e,n=bT(()=>typeof window<"u"&... function vf (line 53) | function vf(e,t,n={}){const{window:i=ca}=n;return xT(e,t,i==null?void 0:... function n (line 53) | function n(G){var le=new Error(t+": "+G);throw le.source=t,le} function i (line 53) | function i(){var G=r();return t.length>0&&n("Invalid input not EOF"),G} function r (line 53) | function r(){return V(o)} function o (line 53) | function o(){return s("linear-gradient",e.linearGradient,l)||s("repeatin... function s (line 53) | function s(G,le,be){return a(le,function(Ee){var Ce=be();return Ce&&($e(... function a (line 53) | function a(G,le){var be=$e(G);if(be){$e(e.startCall)||n("Missing (");var... function l (line 53) | function l(){return f()||d()} function f (line 53) | function f(){return _e("directional",e.sideOrCorner,1)} function d (line 53) | function d(){return _e("angular",e.angleValue,1)} function v (line 53) | function v(){var G,le=m(),be;return le&&(G=[],G.push(le),be=t,$e(e.comma... function m (line 53) | function m(){var G=C()||b();if(G)G.at=x();else{var le=k();if(le){G=le;va... function C (line 53) | function C(){var G=_e("shape",/^(circle)/i,0);return G&&(G.style=q()||k(... function b (line 53) | function b(){var G=_e("shape",/^(ellipse)/i,0);return G&&(G.style=I()||k... function k (line 53) | function k(){return _e("extent-keyword",e.extentKeywords,1)} function x (line 53) | function x(){if(_e("position",/^at/,0)){var G=L();return G||n("Missing p... function L (line 53) | function L(){var G=$();if(G.x||G.y)return{type:"position",value:G}} function $ (line 53) | function $(){return{x:I(),y:I()}} function V (line 53) | function V(G){var le=G(),be=[];if(le)for(be.push(le);$e(e.comma);)le=G()... function O (line 53) | function O(){var G=ge();return G||n("Expected color definition"),G.lengt... function ge (line 53) | function ge(){return h()||E()||M()||K()} function K (line 53) | function K(){return _e("literal",e.literalColor,0)} function h (line 53) | function h(){return _e("hex",e.hexColor,1)} function M (line 53) | function M(){return a(e.rgbColor,function(){return{type:"rgb",value:V(N)... function E (line 53) | function E(){return a(e.rgbaColor,function(){return{type:"rgba",value:V(... function N (line 53) | function N(){return $e(e.number)[1]} function I (line 53) | function I(){return _e("%",e.percentageValue,1)||F()||q()} function F (line 53) | function F(){return _e("position-keyword",e.positionKeywords,1)} function q (line 53) | function q(){return _e("px",e.pixelValue,1)||_e("em",e.emValue,1)} function _e (line 53) | function _e(G,le,be){var Ee=$e(le);if(Ee)return{type:G,value:Ee[be]}} function $e (line 53) | function $e(G){var le,be;return be=/^[\n\r\t\s]+/.exec(t),be&&Le(be[0].l... function Le (line 53) | function Le(G){t=t.substr(G)} function Bi (line 53) | function Bi(e){return e?(e.nodeName||"").toLowerCase():null} function ti (line 53) | function ti(e){if(e==null)return window;if(e.toString()!=="[object Windo... function ao (line 53) | function ao(e){var t=ti(e).Element;return e instanceof t||e instanceof E... function hi (line 53) | function hi(e){var t=ti(e).HTMLElement;return e instanceof t||e instance... function bf (line 53) | function bf(e){if(typeof ShadowRoot>"u")return!1;var t=ti(e).ShadowRoot;... function HT (line 53) | function HT(e){var t=e.state;Object.keys(t.elements).forEach(function(n)... function VT (line 53) | function VT(e){var t=e.state,n={popper:{position:t.options.strategy,left... function $i (line 53) | function $i(e){return e.split("-")[0]} function Cf (line 53) | function Cf(){var e=navigator.userAgentData;return e!=null&&e.brands&&Ar... function Vm (line 53) | function Vm(){return!/^((?!chrome|android).)*safari/i.test(Cf())} function qo (line 53) | function qo(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var i=e.getBoun... function _f (line 53) | function _f(e){var t=qo(e),n=e.offsetWidth,i=e.offsetHeight;return Math.... function Wm (line 53) | function Wm(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))r... function sr (line 53) | function sr(e){return ti(e).getComputedStyle(e)} function WT (line 53) | function WT(e){return["table","td","th"].indexOf(Bi(e))>=0} function Ir (line 53) | function Ir(e){return((ao(e)?e.ownerDocument:e.document)||window.documen... function Zl (line 53) | function Zl(e){return Bi(e)==="html"?e:e.assignedSlot||e.parentNode||(bf... function Um (line 53) | function Um(e){return!hi(e)||sr(e).position==="fixed"?null:e.offsetParent} function UT (line 53) | function UT(e){var t=/firefox/i.test(Cf()),n=/Trident/i.test(Cf());if(n&... function ha (line 53) | function ha(e){for(var t=ti(e),n=Um(e);n&&WT(n)&&sr(n).position==="stati... function wf (line 53) | function wf(e){return["top","bottom"].indexOf(e)>=0?"x":"y"} function ga (line 53) | function ga(e,t,n){return lo(e,Jl(t,n))} function KT (line 53) | function KT(e,t,n){var i=ga(e,t,n);return i>n?n:i} function Km (line 53) | function Km(){return{top:0,right:0,bottom:0,left:0}} function Gm (line 53) | function Gm(e){return Object.assign({},Km(),e)} function zm (line 53) | function zm(e,t){return t.reduce(function(n,i){return n[i]=e,n},{})} function zT (line 53) | function zT(e){var t,n=e.state,i=e.name,r=e.options,o=n.elements.arrow,s... function qT (line 53) | function qT(e){var t=e.state,n=e.options,i=n.element,r=i===void 0?"[data... function Yo (line 53) | function Yo(e){return e.split("-")[1]} function JT (line 53) | function JT(e,t){var n=e.x,i=e.y,r=t.devicePixelRatio||1;return{x:zo(n*r... function qm (line 53) | function qm(e){var t,n=e.popper,i=e.popperRect,r=e.placement,o=e.variati... function ZT (line 53) | function ZT(e){var t=e.state,n=e.options,i=n.gpuAcceleration,r=i===void ... function ex (line 53) | function ex(e){var t=e.state,n=e.instance,i=e.options,r=i.scroll,o=r===v... function eu (line 53) | function eu(e){return e.replace(/left|right|bottom|top/g,function(t){ret... function Ym (line 53) | function Ym(e){return e.replace(/start|end/g,function(t){return ix[t]})} function kf (line 53) | function kf(e){var t=ti(e),n=t.pageXOffset,i=t.pageYOffset;return{scroll... function Tf (line 53) | function Tf(e){return qo(Ir(e)).left+kf(e).scrollLeft} function rx (line 53) | function rx(e,t){var n=ti(e),i=Ir(e),r=n.visualViewport,o=i.clientWidth,... function ox (line 53) | function ox(e){var t,n=Ir(e),i=kf(e),r=(t=e.ownerDocument)==null?void 0:... function xf (line 53) | function xf(e){var t=sr(e),n=t.overflow,i=t.overflowX,r=t.overflowY;retu... function Xm (line 53) | function Xm(e){return["html","body","#document"].indexOf(Bi(e))>=0?e.own... function ma (line 53) | function ma(e,t){var n;t===void 0&&(t=[]);var i=Xm(e),r=i===((n=e.ownerD... function Sf (line 53) | function Sf(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.w... function sx (line 53) | function sx(e,t){var n=qo(e,!1,t==="fixed");return n.top=n.top+e.clientT... function Jm (line 53) | function Jm(e,t,n){return t===Bm?Sf(rx(e,n)):ao(t)?sx(t,n):Sf(ox(Ir(e)))} function ax (line 53) | function ax(e){var t=ma(Zl(e)),n=["absolute","fixed"].indexOf(sr(e).posi... function lx (line 53) | function lx(e,t,n,i){var r=t==="clippingParents"?ax(e):[].concat(t),o=[]... function Zm (line 53) | function Zm(e){var t=e.reference,n=e.element,i=e.placement,r=i?$i(i):nul... function va (line 53) | function va(e,t){t===void 0&&(t={});var n=t,i=n.placement,r=i===void 0?e... function ux (line 53) | function ux(e,t){t===void 0&&(t={});var n=t,i=n.placement,r=n.boundary,o... function cx (line 53) | function cx(e){if($i(e)===yf)return[];var t=eu(e);return[Ym(e),t,Ym(t)]} function fx (line 53) | function fx(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]... function Qm (line 53) | function Qm(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-... function ev (line 53) | function ev(e){return[Vn,pi,di,Wn].some(function(t){return e[t]>=0})} function px (line 53) | function px(e){var t=e.state,n=e.name,i=t.rects.reference,r=t.rects.popp... function gx (line 53) | function gx(e,t,n){var i=$i(e),r=[Wn,Vn].indexOf(i)>=0?-1:1,o=typeof n==... function mx (line 53) | function mx(e){var t=e.state,n=e.options,i=e.name,r=n.offset,o=r===void ... function yx (line 53) | function yx(e){var t=e.state,n=e.name;t.modifiersData[n]=Zm({reference:t... function Cx (line 53) | function Cx(e){return e==="x"?"y":"x"} function _x (line 53) | function _x(e){var t=e.state,n=e.options,i=e.name,r=n.mainAxis,o=r===voi... function kx (line 53) | function kx(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}} function Tx (line 53) | function Tx(e){return e===ti(e)||!hi(e)?kf(e):kx(e)} function xx (line 53) | function xx(e){var t=e.getBoundingClientRect(),n=zo(t.width)/e.offsetWid... function Sx (line 53) | function Sx(e,t,n){n===void 0&&(n=!1);var i=hi(t),r=hi(t)&&xx(t),o=Ir(t)... function Ex (line 53) | function Ex(e){var t=new Map,n=new Set,i=[];e.forEach(function(o){t.set(... function Ax (line 53) | function Ax(e){var t=Ex(e);return jT.reduce(function(n,i){return n.conca... function Lx (line 53) | function Lx(e){var t;return function(){return t||(t=new Promise(function... function Ox (line 53) | function Ox(e){var t=e.reduce(function(n,i){var r=n[i.name];return n[i.n... function nv (line 53) | function nv(){for(var e=arguments.length,t=new Array(e),n=0;n{var o;return!((o=e[... method any (line 65) | static get any(){return Bx()} method func (line 65) | static get func(){return $x().def(this.defaults.func)} method bool (line 65) | static get bool(){return jx().def(this.defaults.bool)} method string (line 65) | static get string(){return Hx().def(this.defaults.string)} method number (line 65) | static get number(){return Vx().def(this.defaults.number)} method array (line 65) | static get array(){return Wx().def(this.defaults.array)} method object (line 65) | static get object(){return Ux().def(this.defaults.object)} method integer (line 65) | static get integer(){return Kx().def(this.defaults.integer)} method symbol (line 65) | static get symbol(){return Gx()} method nullable (line 65) | static get nullable(){return{type:null}} method extend (line 65) | static extend(t){if(Jo(t))return t.forEach(l=>this.extend(l)),this;const... function n2 (line 65) | function n2(e={func:()=>{},bool:!0,string:"",number:0,array:()=>[],objec... function Af (line 65) | function Af(e){var t={exports:{}};return e(t,t.exports),t.exports} function po (line 65) | function po(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a... function Ov (line 65) | function Ov(e,t){for(var n=0;n-1&&e%1==0&&e<=lA} function yd (line 67) | function yd(e){return e!=null&&$y(e.length)&&!hd(e)} function uA (line 67) | function uA(e,t,n){if(!mo(n))return!1;var i=typeof t;return(i=="number"?... function cA (line 67) | function cA(e){return aA(function(t,n){var i=-1,r=n.length,o=r>1?n[r-1]:... function jy (line 67) | function jy(e){var t=e&&e.constructor,n=typeof t=="function"&&t.prototyp... function dA (line 67) | function dA(e,t){for(var n=-1,i=Array(e);++n-1} function wL (line 67) | function wL(e,t){var n=this.__data__,i=Eu(n,e);return i<0?(++this.size,n... function fr (line 67) | function fr(e){var t=-1,n=e==null?0:e.length;for(this.clear();++t1)throw new Error("The alpha value must be betw... function kd (line 67) | function kd(e){const t=e.toString(16);return t.length===1?"0"+t:t} function sO (line 67) | function sO(e){const t=Math.floor(e.r*e.a),n=Math.floor(e.g*e.a),i=Math.... method constructor (line 67) | constructor(t,n,i,r=1){oO.validateAlphaValue(r),this.r=t,this.g=n,this.b... method toRGBString (line 67) | toRGBString(){return`rgb(${Math.floor(this.r*this.a)},${Math.floor(this.... method toRGBAString (line 67) | toRGBAString(){return`rgba(${this.r},${this.g},${this.b},${this.a})`} method toHexString (line 67) | toHexString(){return sO(this)} function lO (line 67) | function lO(e,t){const n=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exe... method constructor (line 67) | constructor(t,n,i,r=1){Td.validateMinMaxValues(t,n),Td.validateColorStop... method getColor (line 67) | getColor(t){const n=this.colorStops.length;if(tn==="transparent... function kO (line 67) | function kO(e,t,n,i,r,o){return T(),A("div",_O,[(T(!0),A(Pe,null,et(e.pa... method setup (line 67) | setup(e,{emit:t}){var n,i,r;const o=Sl(),s={h:((n=e.color)==null?void 0:... function LO (line 67) | function LO(e,t,n,i,r,o){return T(),A("div",{ref:"boardElement",class:Ge... method setup (line 67) | setup(e,{emit:t}){const n=Lt(null),i=Lt(null);let r=e.color||new hn;cons... function PO (line 67) | function PO(e,t,n,i,r,o){return T(),A("div",{class:Ge(["vc-hue-slider",{... method setup (line 67) | setup(e,{emit:t}){const n=Lt(null),i=Lt(null);let r=e.color||new hn;cons... function $O (line 67) | function $O(e,t,n,i,r,o){return T(),A("div",{class:Ge(["vc-lightness-sli... method setup (line 67) | setup(e,{emit:t}){return{onColorSelect:n=>{t("change",n)}}} function UO (line 67) | function UO(e,t,n,i,r,o){return e.colors&&e.colors.length>0?(T(),A("div"... method setup (line 67) | setup(e,{emit:t}){var n,i,r,o;const s=Lt("hex"),a=Fn({color:e.color,hex:... function rI (line 67) | function rI(e,t,n,i,r,o){return T(),A("div",zO,[e.isSupported?(T(),A("di... method setup (line 67) | setup(e,{emit:t}){const n=e.color||new hn,i=Fn({color:n,hex:n.toHexStrin... function dI (line 67) | function dI(e,t,n,i,r,o){const s=Be("Palette"),a=Be("Board"),l=Be("Hue")... method setup (line 67) | setup(e,{emit:t}){const n=e.color||new hn,i=Fn({color:n,hex:n.toHexStrin... function yI (line 67) | function yI(e,t,n,i,r,o){const s=Be("Board"),a=Be("Hue"),l=Be("Alpha"),f... method setup (line 67) | setup(e,{emit:t}){const n=Lt(null),i=Lt(0);ci(()=>e.angle,a=>{i.value=a}... function Ou (line 67) | function Ou(e){let t;if(Array.isArray(e))t=[],e.forEach(n=>{t.push(Ou(n)... function kI (line 67) | function kI(e,t=2){const n=new RegExp(`^\\d+(?:\\.\\d{0,${t}})?`,"g");re... method setup (line 67) | setup(e,{emit:t}){const n=Fn({angle:e.angle,type:e.gradientType=="both"?... function HI (line 67) | function HI(e,t,n,i,r,o){const s=Be("Angle"),a=Be("Board"),l=Be("Hue"),f... method setup (line 67) | setup(e,{emit:t}){const n=Fn({activeKey:e.activeKey}),i=Mo(Pd),r=o=>{n.a... function qI (line 67) | function qI(e,t,n,i,r,o){var s,a;return T(),A("div",{class:Ge(["vc-color... method setup (line 67) | setup(e,{emit:t}){eg(Pd,{lang:sn(()=>ZI[e.lang||"ZH-cn"])});const n=Fn({... function tN (line 67) | function tN(e,t,n,i,r,o){const s=Be("WrapContainer");return T(),A(Pe,nul... method data (line 67) | data(){return{prompt:"",counterText:"0/75",tags:[],sortable:null,droping... method isEnglish (line 67) | isEnglish(){return this.languageCode==="en_US"} method translateApiItem (line 67) | translateApiItem(){return pe.getTranslateApiItem(this.translateApis,this... method handler (line 67) | handler(){this.tags.forEach(e=>{this._setTagClass(e)})} method handler (line 67) | handler(){this.tags.forEach(e=>{this._setTagClass(e)})} method handler (line 67) | handler(){this.tags.forEach(e=>{this._setTagClass(e)})} method mounted (line 67) | mounted(){this.$appMode&&(this.counterText=""),this.$nextTick(()=>{this.... method init (line 67) | init(){this.tags=[],this.onTextareaChange();let e=this.textarea.value;se... method onTextareaChange (line 67) | onTextareaChange(e){this.onTextareaChangeTimeId&&clearTimeout(this.onTex... method _onTextareaChange (line 67) | _onTextareaChange(e){const t=this.textarea.parentElement.getElementsByCl... method _setTextareaFocus (line 70) | _setTextareaFocus(){if(typeof get_uiCurrentTabContent!="function"||typeo... method copy (line 70) | copy(e){this.$copyText(e).then(()=>{this.$toastr.success(this.getLang("s... method genPrompt (line 70) | genPrompt(e=null,t=!1){e=e||this.tags;let n=[],i=[];if(t)i=e;else for(le... method replaceOrAddNumbers (line 71) | replaceOrAddNumbers(e,t,n){const i=/:(\d+(\.\d+)?|-\d+(\.\d+)?)((?::(\d+... method updatePrompt (line 71) | updatePrompt(){let e=[],t=this.tags.length;for(let n=0;n{this._setTagHeight(e)})} method initSortable (line 73) | initSortable(){this.sortable=nt.create(this.$refs.promptTagsList,{animat... method useHistory (line 73) | useHistory(e){this.tags=[],e.tags.forEach(t=>{this._appendTag(t.value,t.... method useFavorite (line 73) | useFavorite(e){this.useHistory(e)} method useChatgpt (line 73) | useChatgpt(e){let t=pe.splitTags(e,this.autoBreakBeforeWrap,this.autoBre... method onPromptMainClick (line 73) | onPromptMainClick(){this.autoLoadWebuiPrompt&&this.onTextareaChange(!0),... method translates (line 73) | translates(e,t=!1,n=!0){return new Promise((i,r)=>{if(this.languageCode=... method changeEditTag (line 73) | changeEditTag(e){this.editTag=e} function m3 (line 73) | function m3(e,t,n,i,r,o){const s=Be("icon-svg"),a=Be("vue-number-input")... method data (line 79) | data(){return{testText:"",translateSuccess:!1,errorMessage:"",translated... method apiItem (line 79) | apiItem(){return pe.getTranslateApiItem(this.translateApis,this.apiKey)} method supportApi (line 79) | supportApi(){if(!this.translateApis||this.translateApis.length<=0)return... method mounted (line 79) | mounted(){this.translateSuccess=!1,this.errorMessage="",this.translatedT... method open (line 79) | open(e){this.testText=`Hi, this extension is developed by Physton. Welco... method getItemName (line 84) | getItemName(e){let t=e.name;return t=t.replace("[Free] ","["+this.getLan... method onChangeConfigValue (line 84) | onChangeConfigValue(e){e.type==="input"&&e.value===""&&e.default&&(e.val... method refreshCSVs (line 84) | refreshCSVs(){this.tagCompleteFilesLoading||(this.tagCompleteFilesLoadin... method onTestClick (line 84) | onTestClick(){if(this.loading)return;this.translateSuccess=!1,this.error... method translate (line 84) | translate(e,t,n,i=null,r=null){return new Promise(async(o,s)=>{i=i||this... method onSaveClick (line 84) | onSaveClick(){this.isOpen=!1;let e={};for(const t of this.configs)e[t.ke... method onCloseClick (line 84) | onCloseClick(){this.isOpen=!1} method onTagCompleteTestClick (line 84) | onTagCompleteTestClick(){this.tagCompleteResults=[],["1girl","Robot dog"... method onMbart50Initialize (line 84) | onMbart50Initialize(){this.mbart50Loading=!0,this.mbart50Success=!1,this... function kP (line 84) | function kP(e,t,n,i,r,o){const s=Be("icon-svg"),a=Ro("tooltip");return T... method data (line 84) | data(){return{isOpen:!1}} method mounted (line 84) | mounted(){} method open (line 84) | open(){this.isOpen=!0,this.$nextTick(()=>{this.scrollToSelectedItem()})} method close (line 84) | close(){this.isOpen=!1} method onLanguageClick (line 84) | onLanguageClick(e){this.$emit("update:languageCode",e.code),this.close()} method scrollToSelectedItem (line 84) | scrollToSelectedItem(){const e=this.$refs.items;for(let t=0;t{this.getFavorites(e.key)})} method formatTime (line 84) | formatTime(e){return pe.formatTime(e*1e3,!1)} method getFavorites (line 84) | getFavorites(e){if(!e)return;let t=this.favorites.find(n=>n.key===e);t&&... method show (line 84) | show(e,t){if(!(!e||!t)){if(this.favoriteKey=e,this.isShow){this.isShow=!... method hide (line 84) | hide(){this.mouseEnter=!1,this.isShow=!1} method onMouseEnter (line 84) | onMouseEnter(){this.mouseEnter=!0} method onMouseLeave (line 84) | onMouseLeave(e){e.relatedTarget&&this.hide()} method onTabClick (line 84) | onTabClick(e){this.favoriteKey=e,this.getFavorites(this.favoriteKey)} method onFavoriteClick (line 84) | onFavoriteClick(e){let t=this.favorites.find(i=>i.key===this.favoriteKey... method onCopyClick (line 84) | onCopyClick(e){let t=this.favorites.find(i=>i.key===this.favoriteKey);if... method onNameKeyDown (line 84) | onNameKeyDown(e,t){t.keyCode===13&&t.target.blur()} method onNameChange (line 84) | onNameChange(e,t){let n=this.favorites.find(o=>o.key===this.favoriteKey)... method onItemMouseEnter (line 84) | onItemMouseEnter(e){let t=this.favorites.find(n=>n.key===this.favoriteKe... method onItemMouseLeave (line 84) | onItemMouseLeave(e){this.currentItem={}} method onUseClick (line 84) | onUseClick(e){let t=this.favorites.find(n=>n.key===this.favoriteKey);t&&... method onMoveUpClick (line 84) | onMoveUpClick(e){let t=this.favorites.find(i=>i.key===this.favoriteKey);... method onMoveDownClick (line 84) | onMoveDownClick(e){let t=this.favorites.find(i=>i.key===this.favoriteKey... function o4 (line 84) | function o4(e,t,n,i,r,o){const s=Be("icon-svg"),a=Ro("tooltip");return T... method data (line 84) | data(){return{historyKey:"",histories:[{name:"txt2img",type:"prompt",key... method mounted (line 84) | mounted(){} method formatTime (line 84) | formatTime(e){return pe.formatTime(e*1e3,!1)} method getHistories (line 84) | getHistories(e){if(!e)return;let t=this.histories.find(n=>n.key===e);t&&... method show (line 84) | show(e,t){if(!(!e||!t)){if(this.historyKey=e,this.isShow){this.isShow=!1... method hide (line 84) | hide(){this.mouseEnter=!1,this.isShow=!1} method onMouseEnter (line 84) | onMouseEnter(){this.mouseEnter=!0} method onMouseLeave (line 84) | onMouseLeave(e){e.relatedTarget&&this.hide()} method onTabClick (line 84) | onTabClick(e){this.historyKey=e,this.getHistories(this.historyKey)} method onDeleteClick (line 84) | onDeleteClick(e){let t=this.histories.find(i=>i.key===this.historyKey);i... method onFavoriteClick (line 84) | onFavoriteClick(e){let t=this.histories.find(i=>i.key===this.historyKey)... method onCopyClick (line 84) | onCopyClick(e){let t=this.histories.find(i=>i.key===this.historyKey);if(... method onNameKeyDown (line 84) | onNameKeyDown(e,t){t.keyCode===13&&t.target.blur()} method onNameChange (line 84) | onNameChange(e,t){let n=this.histories.find(o=>o.key===this.historyKey);... method onItemMouseEnter (line 84) | onItemMouseEnter(e){let t=this.histories.find(n=>n.key===this.historyKey... method onItemMouseLeave (line 84) | onItemMouseLeave(e){this.currentItem={}} method onUseClick (line 84) | onUseClick(e){let t=this.histories.find(n=>n.key===this.historyKey);t&&(... method onDeleteAllHistoryClick (line 84) | onDeleteAllHistoryClick(){let e=this.histories.find(t=>t.key===this.hist... function D4 (line 84) | function D4(e,t,n,i,r,o){const s=Be("icon-svg"),a=Ro("tooltip");return T... method data (line 84) | data(){return{isOpen:!1,list:[]}} method mounted (line 84) | mounted(){} method init (line 84) | init(){this.refresh(!0)} method refresh (line 84) | refresh(e=!1){this.gradioAPI.getExtensionCssList().then(t=>{let n=[];for... method getName (line 84) | getName(e){if(!e)return"";let t=e.manifest.name;return e.manifest.i18n&&... method onChangeSelect (line 84) | onChangeSelect(e){let t=this.list.find(n=>n.id===e);t&&(t.selected=!t.se... method open (line 84) | open(){this.isOpen=!0,this.refresh(!1)} method close (line 84) | close(){this.isOpen=!1} function K4 (line 84) | function K4(e,t,n,i,r,o){const s=Be("icon-svg");return T(),Ae(Bt,{name:"... method data (line 84) | data(){return{isOpen:!1}} method mounted (line 84) | mounted(){} method open (line 84) | open(){this.isOpen=!0} method close (line 84) | close(){this.isOpen=!1} function _M (line 84) | function _M(e,t,n,i,r,o){const s=Be("icon-svg");return T(),Ae(Bt,{name:"... method data (line 84) | data(){return{isOpen:!1,data:{prompt:[],negative_prompt:[],lora:[],lycor... method mounted (line 84) | mounted(){} method open (line 84) | open(){this.isOpen=!0,this.data={prompt:[],negative_prompt:[],lora:[],ly... method close (line 90) | close(){this.isOpen=!1} method onCloseClick (line 90) | onCloseClick(){this.close()} method onSaveClick (line 90) | onSaveClick(){this.data.prompt=this.textarea.prompt.split(/\s*\n\s*/).fi... function JM (line 90) | function JM(e,t,n,i,r,o){const s=Be("icon-svg");return T(),Ae(Bt,{name:"... method data (line 90) | data(){return{todayNotShow:!1,isOpen:!1,loading:!1,showResult:!1,result:... method handler (line 101) | handler(){this.isAllInstalled()||this.open()} method mounted (line 101) | mounted(){} method isInstalled (line 101) | isInstalled(e){for(let t of this.packagesState)if(t.name===e)return t.st... method isAllInstalled (line 101) | isAllInstalled(){for(let e of this.packagesState)if(!e.state)return!1;re... method getCommand (line 101) | getCommand(e){return`${this.python} -m pip install ${e.package}`} method onInstallClick (line 101) | onInstallClick(){if(this.loading)return;this.loading=!0,this.showResult=... method scrollToBottom (line 105) | scrollToBottom(){this.$nextTick(()=>{this.$refs.result.scrollTop=this.$r... method onTodayNotShowChange (line 105) | onTodayNotShowChange(){this.todayNotShow=!this.todayNotShow,this.gradioA... method open (line 105) | open(){this.gradioAPI.getData("packagesStateTodayNotShow").then(e=>{e&&e... method close (line 105) | close(){this.isOpen=!1} function u5 (line 105) | function u5(e,t,n,i,r,o){const s=Be("icon-svg");return T(),Ae(Bt,{name:"... method data (line 105) | data(){return{isOpen:!1,api:{},configs:[],chatPreset:"",hidePanels:{api:... method mounted (line 105) | mounted(){} method open (line 105) | open(){this.isOpen=!0,this.saveConfigIng=!1,this.genIng=!1,this.gradioAP... method close (line 105) | close(){this.isOpen=!1} method onUnfoldClick (line 105) | onUnfoldClick(e){this.hidePanels[e]=!this.hidePanels[e]} method onSaveConfigClick (line 105) | onSaveConfigClick(){if(this.saveConfigIng)return;this.saveConfigIng=!0;l... method onPresetChange (line 105) | onPresetChange(e){this.chatPreset=e.target.value,this._saveChatPreset()} method onRestoreClick (line 105) | onRestoreClick(){this.chatPreset=this.getLang("chatgpt_prompts_preset"),... method _saveChatPreset (line 105) | _saveChatPreset(){this.gradioAPI.setData("chatgpt_prompts_preset",this.c... method onGenClick (line 105) | onGenClick(){if(this.genIng)return;if(!this.imageDesc)return this.$refs.... method onUseClick (line 105) | onUseClick(){this.$emit("use",this.promptResult),this.close()} function Z5 (line 105) | function Z5(e,t,n,i,r,o){const s=Be("icon-svg");return T(),Ae(Bt,{name:"... method setup (line 105) | setup(){const e={warn:{color:"#E6A23C",backgroundColor:"rgb(253, 246, 23... function nD (line 105) | function nD(e,t,n,i,r,o){return oe((T(),A("div",{class:"pop-message",sty... method data (line 105) | data(){return{packagesState:[],python:"./python",todayNotShow:!1,isOpen:... method mounted (line 116) | mounted(){} method isInstalled (line 116) | isInstalled(e){for(let t of this.packagesState)if(t.name===e)return t.st... method isAllInstalled (line 116) | isAllInstalled(){for(let e of this.packagesState)if(!e.state)return!1;re... method getCommand (line 116) | getCommand(e){return`${this.python} -m pip install ${e.package}`} method onInstallClick (line 116) | onInstallClick(){if(this.loading)return;this.loading=!0,this.showResult=... method scrollToBottom (line 120) | scrollToBottom(){this.$nextTick(()=>{this.$refs.result.scrollTop=this.$r... method open (line 120) | open(){this.result="",this.loading=!0,this.showResult=!1,this.isOpen=!0,... method close (line 120) | close(){this.isOpen=!1} function dD (line 120) | function dD(e,t,n,i,r,o){const s=Be("icon-svg");return T(),Ae(Bt,{name:"... method data (line 120) | data(){return{isOpen:!1,loading:!1,jsonData:{llmName:"获取中。。。。",n_gpu_lay... method open (line 120) | open(){this.loading=!0,this.jsonData={llmName:"获取中。。。。",n_gpu_layers:-1,... method close (line 120) | close(){this.isOpen=!1} method onCloseClick (line 120) | onCloseClick(){this.close()} method onSaveClick (line 120) | onSaveClick(){this.loading=!0,this.gradioAPI.setLLMSettingConfig(this.js... function ED (line 120) | function ED(e,t,n,i,r,o){const s=Be("icon-svg");return T(),Ae(Bt,{name:"... method data (line 120) | data(){return{isOpen:!1,imageDesc:"",promptResult:"",loading:!1}} method mounted (line 120) | mounted(){} method open (line 120) | open(){this.imageDesc="",this.promptResult="",this.isOpen=!0} method close (line 120) | close(){this.isOpen=!1} method onCheckOrInstallLLM (line 120) | onCheckOrInstallLLM(){this.$refs.llmPackagesState.open()} method openLLMSetting (line 120) | openLLMSetting(){this.$refs.editLLMSetting.open()} method testLLM (line 120) | testLLM(){this.gradioAPI.testLLMTran().then(e=>{e.status!=200?ct({type:"... method imageLLMReps (line 120) | imageLLMReps(){this.loading=!0,this.promptResult="",this.gradioAPI.image... method sendToGreat (line 120) | sendToGreat(){const e=new CustomEvent("weilinPromptInnerSendToGreat",{de... method sendToNeg (line 120) | sendToNeg(){const e=new CustomEvent("weilinPromptInnerSendToNeg",{detail... method copyTP (line 120) | copyTP(){navigator.clipboard.writeText(this.promptResult).then(e=>{ct({t... function jD (line 120) | function jD(e,t,n,i,r,o){const s=Be("icon-svg"),a=Be("LlmPackagesState")... method data (line 120) | data(){return{version:"",latestVersion:"",isLatestVersion:!0,isOpen:!1,l... method mounted (line 120) | mounted(){this.icons=[{title:"GitHub stars",url:this.globals.github+"/st... method open (line 120) | open(){this.isOpen=!0,this.version="",this.latestVersion="",this.isLates... method close (line 120) | close(){this.isOpen=!1} method commitUrl (line 120) | commitUrl(e){return this.globals.github+"/commit/"+e} method formatVersion (line 120) | formatVersion(e){return e?e.slice(0,7):this.getLang("unknown_version")} method message (line 120) | message(e){return e=pe.escapeHtml(e),e=e.replace(/Former-commit-id: [a-z... function r6 (line 121) | function r6(e,t,n,i,r,o){const s=Be("icon-svg");return T(),Ae(Bt,{name:"... function Iu (line 121) | function Iu(e){"@babel/helpers - typeof";return Iu=typeof Symbol=="funct... function u6 (line 121) | function u6(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.c... function b (line 121) | function b(Ce){try{return document.execCommand(Ce)}catch{return!1}} function L (line 121) | function L(Ce){var W=document.documentElement.getAttribute("dir")==="rtl... function O (line 121) | function O(Ce){"@babel/helpers - typeof";return typeof Symbol=="function... function h (line 121) | function h(Ce){"@babel/helpers - typeof";return typeof Symbol=="function... function M (line 121) | function M(Ce,W){if(!(Ce instanceof W))throw new TypeError("Cannot call ... function E (line 121) | function E(Ce,W){for(var Q=0;Q"u"||!Reflect.construct||Reflect.constru... function G (line 121) | function G(Ce){return G=Object.setPrototypeOf?Object.getPrototypeOf:func... function le (line 121) | function le(Ce,W){var Q="data-clipboard-".concat(Ce);if(W.hasAttribute(Q... function Q (line 121) | function Q(fe,de){var ye;return M(this,Q),ye=W.call(this),ye.resolveOpti... function l (line 121) | function l(f,d){for(;f&&f.nodeType!==s;){if(typeof f.matches=="function"... function f (line 121) | function f(m,C,b,k,x){var L=v.apply(this,arguments);return m.addEventLis... function d (line 121) | function d(m,C,b,k,x){return typeof m.addEventListener=="function"?f.app... function v (line 121) | function v(m,C,b,k){return function(x){x.delegateTarget=l(x.target,C),x.... function d (line 121) | function d(b,k,x){if(!b&&!k&&!x)throw new Error("Missing required argume... function v (line 121) | function v(b,k,x){return b.addEventListener(k,x),{destroy:function(){b.r... function m (line 121) | function m(b,k,x){return Array.prototype.forEach.call(b,function(L){L.ad... function C (line 121) | function C(b,k,x){return f(document.body,b,k,x)} function s (line 121) | function s(a){var l;if(a.nodeName==="SELECT")a.focus(),l=a.value;else if... function s (line 121) | function s(){} function v (line 121) | function v(){d.off(a,v),l.apply(f,arguments)} function r (line 121) | function r(o){if(i[o])return i[o].exports;var s=i[o]={exports:{}};return... function d6 (line 121) | function d6(e,t,n,i,r,o){var s=Be("json-box");return T(),A("div",{class:... method data (line 121) | data(){return{isOpen:!1,rawJson:{}}} method open (line 121) | open(e){this.rawJson=e,console.log(this.rawJson),this.isOpen=!0} method close (line 121) | close(){this.isOpen=!1} method onCloseClick (line 121) | onCloseClick(){this.close()} function g6 (line 121) | function g6(e,t,n,i,r,o){const s=Be("icon-svg"),a=Be("JsonViewer");retur... method data (line 121) | data(){return{loraBaseInfo:{},loading:!1,isOpen:!1,loarGetInfo:{},select... method mounted (line 121) | mounted(){} method open (line 121) | open(e){this.loraBaseInfo=e,this.isOpen=!0,this.loading=!0,this.$nextTic... method init (line 121) | init(){const e=this.loraBaseInfo.name;this.loarGetInfo={},this.selectWor... method refreshLoraInfo (line 121) | refreshLoraInfo(){this.loading=!0;const e=this.loraBaseInfo.name;this.gr... method close (line 121) | close(){this.isOpen=!1} method clickWords (line 121) | clickWords(e){let t=!1;for(let n=0;n"u"||e===null} function q8 (line 122) | function q8(e){return typeof e=="object"&&e!==null} function Y8 (line 122) | function Y8(e){return Array.isArray(e)?e:T0(e)?[]:[e]} function X8 (line 122) | function X8(e,t){var n,i,r,o;if(t)for(o=Object.keys(t),n=0,i=o.length;n<... function J8 (line 122) | function J8(e,t){var n="",i;for(i=0;ia&&(... function jd (line 124) | function jd(e,t){return ln.repeat(" ",t-e.length)+e} function o9 (line 124) | function o9(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.max... function u9 (line 128) | function u9(e){var t={};return e!==null&&Object.keys(e).forEach(function... function c9 (line 128) | function c9(e,t){if(t=t||{},Object.keys(t).forEach(function(n){if(a9.ind... function S0 (line 128) | function S0(e,t){var n=[];return e[t].forEach(function(i){var r=n.length... function f9 (line 128) | function f9(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:... function Hd (line 128) | function Hd(e){return this.extend(e)} function d9 (line 128) | function d9(e){if(e===null)return!0;var t=e.length;return t===1&&e==="~"... function p9 (line 128) | function p9(){return null} function h9 (line 128) | function h9(e){return e===null} function g9 (line 128) | function g9(e){if(e===null)return!1;var t=e.length;return t===4&&(e==="t... function m9 (line 128) | function m9(e){return e==="true"||e==="True"||e==="TRUE"} function v9 (line 128) | function v9(e){return Object.prototype.toString.call(e)==="[object Boole... function y9 (line 128) | function y9(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102} function b9 (line 128) | function b9(e){return 48<=e&&e<=55} function C9 (line 128) | function C9(e){return 48<=e&&e<=57} function _9 (line 128) | function _9(e){if(e===null)return!1;var t=e.length,n=0,i=!1,r;if(!t)retu... function w9 (line 128) | function w9(e){var t=e,n=1,i;if(t.indexOf("_")!==-1&&(t=t.replace(/_/g,"... function k9 (line 128) | function k9(e){return Object.prototype.toString.call(e)==="[object Numbe... function x9 (line 128) | function x9(e){return!(e===null||!T9.test(e)||e[e.length-1]==="_")} function S9 (line 128) | function S9(e){var t,n;return t=e.replace(/_/g,"").toLowerCase(),n=t[0]=... function A9 (line 128) | function A9(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan... function L9 (line 128) | function L9(e){return Object.prototype.toString.call(e)==="[object Numbe... function O9 (line 128) | function O9(e){return e===null?!1:B0.exec(e)!==null||$0.exec(e)!==null} function I9 (line 128) | function I9(e){var t,n,i,r,o,s,a,l=0,f=null,d,v,m;if(t=B0.exec(e),t===nu... function N9 (line 128) | function N9(e){return e.toISOString()} function R9 (line 128) | function R9(e){return e==="<<"||e===null} function P9 (line 129) | function P9(e){if(e===null)return!1;var t,n,i=0,r=e.length,o=Vd;for(n=0;... function M9 (line 129) | function M9(e){var t,n,i=e.replace(/[\r\n=]/g,""),r=i.length,o=Vd,s=0,a=... function D9 (line 129) | function D9(e){var t="",n=0,i,r,o=e.length,s=Vd;for(i=0;i1&&(e.result+=ln.repeat(` function iF (line 131) | function iF(e,t,n){var i,r,o,s,a,l,f,d,v=e.kind,m=e.result,C;if(C=e.inpu... function rF (line 131) | function rF(e,t){var n,i,r;if(n=e.input.charCodeAt(e.position),n!==39)re... function oF (line 131) | function oF(e,t){var n,i,r,o,s,a;if(a=e.input.charCodeAt(e.position),a!=... function sF (line 131) | function sF(e,t){var n=!0,i,r,o,s=e.tag,a,l=e.anchor,f,d,v,m,C,b=Object.... function aF (line 131) | function aF(e,t){var n,i,r=Ud,o=!1,s=!1,a=t,l=0,f=!1,d,v;if(v=e.input.ch... function rb (line 137) | function rb(e,t){var n,i=e.tag,r=e.anchor,o=[],s,a=!1,l;if(e.firstTabInL... function lF (line 137) | function lF(e,t,n){var i,r,o,s,a,l,f=e.tag,d=e.anchor,v={},m=Object.crea... function uF (line 137) | function uF(e){var t,n=!1,i=!1,r,o,s;if(s=e.input.charCodeAt(e.position)... function cF (line 137) | function cF(e){var t,n;if(n=e.input.charCodeAt(e.position),n!==38)return... function fF (line 137) | function fF(e){var t,n,i;if(i=e.input.charCodeAt(e.position),i!==42)retu... function ys (line 137) | function ys(e,t,n,i,r){var o,s,a,l=1,f=!1,d=!1,v,m,C,b,k,x;if(e.listener... function dF (line 137) | function dF(e){var t=e.position,n,i,r,o=!1,s;for(e.version=null,e.checkL... function ob (line 137) | function ob(e,t){e=String(e),t=t||{},e.length!==0&&(e.charCodeAt(e.lengt... function pF (line 138) | function pF(e,t,n){t!==null&&typeof t=="object"&&typeof n>"u"&&(n=t,t=nu... function hF (line 138) | function hF(e,t){var n=ob(e,t);if(n.length!==0){if(n.length===1)return n... function MF (line 138) | function MF(e,t){var n,i,r,o,s,a,l;if(t===null)return{};for(n={},i=Objec... function DF (line 138) | function DF(e){var t,n,i;if(t=e.toString(16).toUpperCase(),e<=255)n="x",... function BF (line 138) | function BF(e){this.schema=e.schema||Wd,this.indent=Math.max(1,e.indent|... function hb (line 138) | function hb(e,t){for(var n=ln.repeat(" ",t),i=0,r=-1,o="",s,a=e.length;i... function Yd (line 140) | function Yd(e,t){return` function $F (line 141) | function $F(e,t){var n,i,r;for(n=0,i=e.implicitTypes.length;n=55296&&n<=56319&&t+1<... function vb (line 141) | function vb(e){var t=/^\n* /;return t.test(e)} function VF (line 141) | function VF(e,t,n,i,r,o,s,a){var l,f=0,d=null,v=!1,m=!1,C=i!==-1,b=-1,k=... function WF (line 141) | function WF(e,t,n,i,r){e.dump=function(){if(t.length===0)return e.quotin... function _b (line 141) | function _b(e,t){var n=vb(e)?String(t):"",i=e[e.length-1]===` function wb (line 145) | function wb(e){return e[e.length-1]===` function UF (line 146) | function UF(e,t){for(var n=/(\n+)([^\n]*)/g,i=function(){var f=e.indexOf(` function kb (line 149) | function kb(e,t){if(e===""||e[0]===" ")return e;for(var n=/ [^ ]/g,i,r=0... function KF (line 152) | function KF(e){for(var t="",n=0,i,r=0;r=65536?r+=2:r++)n=Da(... function GF (line 152) | function GF(e,t,n){var i="",r=e.tag,o,s,a;for(o=0,s=n.length;o{this.defaultHotkey[e.name... method close (line 153) | close(){this.isOpen=!1} method onCloseClick (line 153) | onCloseClick(){this.close()} method onSaveClick (line 153) | onSaveClick(){let e={};this.hotkeys.forEach(t=>{e[t.name]=t.value}),this... function CB (line 153) | function CB(e,t,n,i,r,o){const s=Be("icon-svg");return T(),Ae(Bt,{name:"... method data (line 153) | data(){return{isShow:!1,e:null,name:"",useCallback:null,type:"",from:"ta... method mounted (line 153) | mounted(){} method show (line 153) | show(e,t,n,i=!1,r="tags"){this.mouseIn=!1,this.eMouseIn=!0,this.e=e,this... method onPreviewLoad (line 153) | onPreviewLoad(){const e=this.$refs.extraNetworks.getBoundingClientRect()... method _hide (line 153) | _hide(){this.isShow&&(this.hideTimer&&clearTimeout(this.hideTimer),this.... method hide (line 153) | hide(){this.eMouseIn=!1,this._hide()} method onMouseEnter (line 153) | onMouseEnter(){this.mouseIn=!0} method onMouseMove (line 153) | onMouseMove(){this.mouseIn=!0} method onMouseLeave (line 153) | onMouseLeave(){this.mouseIn=!1,this._hide()} method copy (line 153) | copy(e){this.$copyText(e).then(()=>{this.$toastr.success(this.getLang("s... method getCivitaiUrl (line 153) | getCivitaiUrl(e){return oa.civitaiUrl+"/models/"+e} method onOpenCivitaiClick (line 153) | onOpenCivitaiClick(){if(!this.data.modelId)return;let e=this.getCivitaiU... method onUseKeywordsClick (line 153) | onUseKeywordsClick(e){if(!e||typeof this.useCallback!="function")return;... function ZB (line 153) | function ZB(e,t,n,i,r,o){const s=Ro("tooltip");return oe((T(),A("div",{c... method data (line 153) | data(){return{isOpen:!1,enValue:"",cnValue:"",firstKeyName:"",secondKeyN... method open (line 153) | open(e,t,n){this.loading=!1,this.enValue="",this.cnValue="",this.firstKe... method close (line 153) | close(){this.$emit("addSuccess","yes"),this.isOpen=!1} method onCloseClick (line 153) | onCloseClick(){this.close()} method onSaveClick (line 153) | onSaveClick(){if(this.cnValue.length<=0||this.enValue.length<=0){ct({typ... function u$ (line 153) | function u$(e,t,n,i,r,o){const s=Be("icon-svg");return T(),Ae(Bt,{name:"... method data (line 153) | data(){return{isOpen:!1,enValue:"",cnValue:"",firstKeyName:"",secondKeyN... method open (line 153) | open(e,t,n,i,r){this.loading=!1,this.enValue=i,this.cnValue=n,this.first... method close (line 153) | close(){this.$emit("addSuccess","yes"),this.isOpen=!1} method onCloseClick (line 153) | onCloseClick(){this.close()} method onSaveClick (line 153) | onSaveClick(){if(this.cnValue.length<=0||this.enValue.length<=0){ct({typ... function C$ (line 153) | function C$(e,t,n,i,r,o){const s=Be("icon-svg");return T(),Ae(Bt,{name:"... method data (line 153) | data(){return{isOpen:!1,enValue:"",cnValue:"",firstKeyName:"",secondKeyN... method open (line 153) | open(e,t,n,i,r){this.loading=!1,this.enValue=i,this.cnValue=n,this.first... method close (line 153) | close(){this.$emit("addSuccess","yes"),this.isOpen=!1} method onCloseClick (line 153) | onCloseClick(){this.close()} method onSaveClick (line 153) | onSaveClick(){if(this.cnValue.length<=0||this.enValue.length<=0){ct({typ... function I$ (line 153) | function I$(e,t,n,i,r,o){const s=Be("icon-svg");return T(),Ae(Bt,{name:"... method data (line 153) | data(){return{isOpen:!1,enValue:"",cnValue:"",firstKeyName:"",secondKeyN... method open (line 153) | open(e,t,n,i){this.loading=!1,this.refreshColor=!0,this.enValue="",this.... method close (line 153) | close(){this.$emit("addSuccess",{model:1}),this.isOpen=!1} method onCloseClick (line 153) | onCloseClick(){this.close()} method onSaveClick (line 153) | onSaveClick(){if(this.modelEs<=1){if(this.firstKeyName.length<=0||this.s... function W$ (line 153) | function W$(e,t,n,i,r,o){const s=Be("icon-svg");return T(),Ae(Bt,{name:"... method data (line 153) | data(){return{isOpen:!1,firstKeyName:"",secondKeyName:"",loading:!1,lauC... method open (line 153) | open(e,t,n,i){this.loading=!1,this.firstKeyName=e,this.secondKeyName=t,t... method close (line 153) | close(){this.$emit("addSuccess","yes"),this.isOpen=!1} method onCloseClick (line 153) | onCloseClick(){this.close()} method onSaveClick (line 153) | onSaveClick(){this.loading=!0,this.modelEs==1?this.gradioAPI.deleteNodeG... function ej (line 153) | function ej(e,t,n,i,r,o){const s=Be("icon-svg");return T(),Ae(Bt,{name:"... method data (line 153) | data(){return{prompts:[{tab:"tab_txt2img",prompt:"txt2img_prompt",counte... method onlyCsvOnAuto (line 153) | onlyCsvOnAuto(){this.startWatchSave&&(console.log("onOnlyCsvOnAutoChange... method extraNetworksWidth (line 153) | extraNetworksWidth(){this.startWatchSave&&(this.extraNetworksWidthTimer&... method extraNetworksHeight (line 153) | extraNetworksHeight(){this.startWatchSave&&(this.extraNetworksHeightTime... method mounted (line 153) | mounted(){pe.loadCSS("toastr.min.css","physton-prompt-toastr",!0,!0,!1),... method getLang (line 153) | getLang(e){return pe.getLang(e,this.languageCode,this.languages)} method init (line 153) | init(){this.loadExtraNetworks();let e=["languageCode","autoTranslate","a... method loadGroupTags (line 153) | loadGroupTags(){this.gradioAPI.getGroupTags(this.languageCode).then(e=>{... method _handleGroupTags (line 153) | _handleGroupTags(){let e={toEn:new Map,toLocal:new Map},t=(n,i)=>{[n,n.r... method updateTippyState (line 153) | updateTippyState(){for(const e of this.$tippyList)this.enableTooltip?e.e... method updateTranslateApiConfig (line 153) | updateTranslateApiConfig(){this.gradioAPI.getData("translate_api."+this.... method onPromptFormatClick (line 153) | onPromptFormatClick(e){this.$refs.promptFormat.open(e)} method onBlacklistClick (line 153) | onBlacklistClick(e){this.$refs.blacklist.open(e)} method onHotkeyClick (line 153) | onHotkeyClick(e){this.$refs.hotkey.open(e)} method onSelectLanguageClick (line 153) | onSelectLanguageClick(e){this.$refs.selectLanguage.open(e)} method onTranslateApiClick (line 153) | onTranslateApiClick(){this.$refs.translateSetting.open(this.translateApi)} method onSelectThemeClick (line 153) | onSelectThemeClick(){this.$refs.extensionCss.open()} method handlePaste (line 153) | handlePaste(){if(typeof gradioApp!="function")return;const e=gradioApp()... method openPastePopup (line 153) | openPastePopup(){this.pasteContent="",this.pasteLoading=!1,this.showPast... method closePastePopup (line 153) | closePastePopup(){this.showPastePopup=!1} method onClickPasteSubmit (line 153) | onClickPasteSubmit(){this.pasteLoading=!0;const e=get_uiCurrentTabConten... method onUpdateHideDefaultInput (line 153) | onUpdateHideDefaultInput(e,t){const n=this.prompts.find(i=>i.id==e);n&&(... method onUpdateAutoLoadWebuiPrompt (line 153) | onUpdateAutoLoadWebuiPrompt(e,t){const n=this.prompts.find(i=>i.id==e);n... method onUpdateHidePanel (line 153) | onUpdateHidePanel(e,t){const n=this.prompts.find(i=>i.id==e);n&&(n.hideP... method onUpdateHideGroupTags (line 153) | onUpdateHideGroupTags(e,t){const n=this.prompts.find(i=>i.id==e);n&&(n.h... method onShowHistory (line 153) | onShowHistory(e,t){this.$refs.favorite.hide(),this.historyCurrentPrompt=... method onUseHistory (line 153) | onUseHistory(e){if(!this.historyCurrentPrompt)return;const t=this.prompt... method onShowFavorite (line 153) | onShowFavorite(e,t){this.$refs.history.hide(),this.favoriteCurrentPrompt... method onUseFavorite (line 153) | onUseFavorite(e){if(!this.favoriteCurrentPrompt)return;const t=this.prom... method onRefreshFavorites (line 153) | onRefreshFavorites(e){this.$refs.favorite.getFavorites(e)} method onShowChatgpt (line 153) | onShowChatgpt(e,t){this.chatgptCurrentPrompt=e,this.prompts.find(i=>i.id... method onShowLlmPrompt (line 153) | onShowLlmPrompt(){this.$refs.llmPrompt.open()} method onUseChatgpt (line 153) | onUseChatgpt(e){if(!this.chatgptCurrentPrompt)return;const t=this.prompt... method onShowAbout (line 153) | onShowAbout(){this.$refs.about.open()} method onShowLoraInfo (line 153) | onShowLoraInfo(e){this.$refs.loraInfomation.open(e)} method onSwitchTheme (line 153) | onSwitchTheme(){this.theme=this.theme==="dark"?"light":"dark";let e=wind... method _handleBlacklist (line 153) | _handleBlacklist(e){var t,n,i,r,o,s;return e={...e},e.prompt=(t=e.prompt... method onUpdateBlacklist (line 153) | onUpdateBlacklist(e,t){this.blacklist=this._handleBlacklist(e),typeof t=... method onUpdateHotkey (line 153) | onUpdateHotkey(e){this.hotkey=e} method onShowExtraNetworks (line 153) | onShowExtraNetworks(e,t,n,i,r){this.$refs.extraNetworksPopup.show(e,t,n,... method onHideExtraNetworks (line 153) | onHideExtraNetworks(){this.$refs.extraNetworksPopup.hide()} method onRefreshExtraNetworks (line 153) | onRefreshExtraNetworks(){this._loadExtraNetworks()} method onRefreshExtraNetworksLoadAll (line 153) | onRefreshExtraNetworksLoadAll(){this._loadExtraNetworksLoadAll()} method openAddKey (line 153) | openAddKey(e){this.$refs.addKey.open(e.key,e.group,this.languageCode)} method openEditKey (line 153) | openEditKey(e){this.$refs.editKey.open(e.key,e.group,e.cn,e.en,this.lang... method openDeleteKey (line 153) | openDeleteKey(e){this.$refs.deleteKey.open(e.key,e.group,e.cn,e.en,this.... method openAddNodeGroup (line 153) | openAddNodeGroup(e){this.$refs.addNodeGroup.open(e.key,e.group,this.lang... method openDeleteNodeGroup (line 153) | openDeleteNodeGroup(e){this.$refs.deleteNodeGroup.open(e.key,e.group,thi... function sj (line 153) | function sj(e,t,n,i,r,o){const s=Be("physton-prompt"),a=Be("translate-se... function lj (line 162) | function lj(){return Eb||(Eb=1,function(e){(function(t,n){e.exports=t.do... function f (line 165) | function f(E,N,I){return K({type:s.error,iconClass:h().iconClasses.error... function d (line 165) | function d(E,N){return E||(E=h()),i=n("#"+E.containerId),i.length||N&&(i... function v (line 165) | function v(E,N,I){return K({type:s.info,iconClass:h().iconClasses.info,m... function m (line 165) | function m(E){r=E} function C (line 165) | function C(E,N,I){return K({type:s.success,iconClass:h().iconClasses.suc... function b (line 165) | function b(E,N,I){return K({type:s.warning,iconClass:h().iconClasses.war... function k (line 165) | function k(E,N){var I=h();i||d(I),$(E,I,N)||L(I)} function x (line 165) | function x(E){var N=h();if(i||d(N),E&&n(":focus",E).length===0){M(E);ret... function L (line 165) | function L(E){for(var N=i.children(),I=N.length-1;I>=0;I--)$(n(N[I]),E)} function $ (line 165) | function $(E,N,I){var F=I&&I.force?I.force:!1;return E&&(F||n(":focus",E... function V (line 165) | function V(E){return i=n("
").attr("id",E.containerId).addClass(E.p... function O (line 165) | function O(){return{tapToDismiss:!0,toastClass:"toast",containerId:"toas... function ge (line 165) | function ge(E){r&&r(E)} function K (line 165) | function K(E){var N=h(),I=E.iconClass||N.iconClass;if(typeof E.optionsOv... function h (line 165) | function h(){return n.extend({},O(),a.options)} function M (line 165) | function M(E){i||(i=d()),!E.is(":visible")&&(E.remove(),E=null,i.childre... function b (line 170) | function b(W){try{return document.execCommand(W)}catch{return!1}} function L (line 170) | function L(W){var Q=document.documentElement.getAttribute("dir")==="rtl"... function ge (line 170) | function ge(W){"@babel/helpers - typeof";return typeof Symbol=="function... function M (line 170) | function M(W){"@babel/helpers - typeof";return typeof Symbol=="function"... function E (line 170) | function E(W,Q){if(!(W instanceof Q))throw new TypeError("Cannot call a ... function N (line 170) | function N(W,Q){for(var fe=0;fe"u"||!Reflect.construct||Reflect.construc... function le (line 170) | function le(W){return le=Object.setPrototypeOf?Object.getPrototypeOf:fun... function be (line 170) | function be(W,Q){var fe="data-clipboard-".concat(W);if(Q.hasAttribute(fe... function fe (line 170) | function fe(de,ye){var Oe;return E(this,fe),Oe=Q.call(this),Oe.resolveOp... function l (line 170) | function l(f,d){for(;f&&f.nodeType!==s;){if(typeof f.matches=="function"... function f (line 170) | function f(m,C,b,k,x){var L=v.apply(this,arguments);return m.addEventLis... function d (line 170) | function d(m,C,b,k,x){return typeof m.addEventListener=="function"?f.app... function v (line 170) | function v(m,C,b,k){return function(x){x.delegateTarget=l(x.target,C),x.... function d (line 170) | function d(b,k,x){if(!b&&!k&&!x)throw new Error("Missing required argume... function v (line 170) | function v(b,k,x){return b.addEventListener(k,x),{destroy:function(){b.r... function m (line 170) | function m(b,k,x){return Array.prototype.forEach.call(b,function(L){L.ad... function C (line 170) | function C(b,k,x){return f(document.body,b,k,x)} function s (line 170) | function s(a){var l;if(a.nodeName==="SELECT")a.focus(),l=a.value;else if... function s (line 170) | function s(){} function v (line 170) | function v(){d.off(a,v),l.apply(f,arguments)} function r (line 170) | function r(o){if(i[o])return i[o].exports;var s=i[o]={exports:{}};return... method toClipboard (line 170) | toClipboard(n,i){return new Promise((r,o)=>{const s=document.createEleme... function Lb (line 170) | function Lb(e,t){return function(){return e.apply(t,arguments)}} function gj (line 170) | function gj(e){return e!==null&&!Fa(e)&&e.constructor!==null&&!Fa(e.cons... function mj (line 170) | function mj(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t... function Ba (line 170) | function Ba(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;l... function Nb (line 170) | function Nb(e,t){t=t.toLowerCase();const n=Object.keys(e);let i=n.length... function tp (line 170) | function tp(){const{caseless:e}=Rb(this)&&this||{},t={},n=(i,r)=>{const ... function qj (line 170) | function qj(e){return!!(e&&ri(e.append)&&e[Symbol.toStringTag]==="FormDa... function dt (line 170) | function dt(e,t,n,i,r){Error.call(this),Error.captureStackTrace?Error.ca... function ip (line 170) | function ip(e){return ue.isPlainObject(e)||ue.isArray(e)} function Hb (line 170) | function Hb(e){return ue.endsWith(e,"[]")?e.slice(0,-2):e} function Vb (line 170) | function Vb(e,t,n){return e?e.concat(t).map(function(r,o){return r=Hb(r)... function eH (line 170) | function eH(e){return ue.isArray(e)&&!e.some(ip)} function Wu (line 170) | function Wu(e,t,n){if(!ue.isObject(e))throw new TypeError("target must b... function Wb (line 170) | function Wb(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E... function rp (line 170) | function rp(e,t){this._pairs=[],e&&Wu(e,this,t)} function nH (line 170) | function nH(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace... function Kb (line 170) | function Kb(e,t,n){if(!t)return e;const i=n&&n.encode||nH,r=n&&n.seriali... class iH (line 170) | class iH{constructor(){this.handlers=[]}use(t,n,i){return this.handlers.... method constructor (line 170) | constructor(){this.handlers=[]} method use (line 170) | use(t,n,i){return this.handlers.push({fulfilled:t,rejected:n,synchrono... method eject (line 170) | eject(t){this.handlers[t]&&(this.handlers[t]=null)} method clear (line 170) | clear(){this.handlers&&(this.handlers=[])} method forEach (line 170) | forEach(t){ue.forEach(this.handlers,function(i){i!==null&&t(i)})} function lH (line 170) | function lH(e,t){return Wu(e,new Si.classes.URLSearchParams,Object.assig... function uH (line 170) | function uH(e){return ue.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?... function cH (line 170) | function cH(e){const t={},n=Object.keys(e);let i;const r=n.length;let o;... function qb (line 170) | function qb(e){function t(n,i,r,o){let s=n[o++];if(s==="__proto__")retur... function fH (line 170) | function fH(e,t,n){if(ue.isString(e))try{return(t||JSON.parse)(e),ue.tri... function $a (line 171) | function $a(e){return e&&String(e).trim().toLowerCase()} function Uu (line 171) | function Uu(e){return e===!1||e==null?e:ue.isArray(e)?e.map(Uu):String(e)} function hH (line 171) | function hH(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;... function lp (line 171) | function lp(e,t,n,i,r){if(ue.isFunction(i))return i.call(this,t,n);if(r&... function mH (line 171) | function mH(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(... function vH (line 171) | function vH(e,t){const n=ue.toCamelCase(" "+t);["get","set","has"].forEa... class Ku (line 171) | class Ku{constructor(t){t&&this.set(t)}set(t,n,i){const r=this;function ... method constructor (line 171) | constructor(t){t&&this.set(t)} method set (line 171) | set(t,n,i){const r=this;function o(a,l,f){const d=$a(l);if(!d)throw ne... method get (line 171) | get(t,n){if(t=$a(t),t){const i=ue.findKey(this,t);if(i){const r=this[i... method has (line 171) | has(t,n){if(t=$a(t),t){const i=ue.findKey(this,t);return!!(i&&this[i]!... method delete (line 171) | delete(t,n){const i=this;let r=!1;function o(s){if(s=$a(s),s){const a=... method clear (line 171) | clear(t){const n=Object.keys(this);let i=n.length,r=!1;for(;i--;){cons... method normalize (line 171) | normalize(t){const n=this,i={};return ue.forEach(this,(r,o)=>{const s=... method concat (line 171) | concat(...t){return this.constructor.concat(this,...t)} method toJSON (line 171) | toJSON(t){const n=Object.create(null);return ue.forEach(this,(i,r)=>{i... method toString (line 171) | toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n)... method from (line 172) | static from(t){return t instanceof this?t:new this(t)} method concat (line 172) | static concat(t,...n){const i=new this(t);return n.forEach(r=>i.set(r)... method accessor (line 172) | static accessor(t){const i=(this[Yb]=this[Yb]={accessors:{}}).accessor... method [Symbol.iterator] (line 171) | [Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator... method [Symbol.toStringTag] (line 172) | get[Symbol.toStringTag](){return"AxiosHeaders"} method set (line 172) | set(i){this[n]=i} function up (line 172) | function up(e,t){const n=this||ap,i=t||n,r=Ei.from(i.headers);let o=i.da... function Xb (line 172) | function Xb(e){return!!(e&&e.__CANCEL__)} function _s (line 172) | function _s(e,t,n){dt.call(this,e??"canceled",dt.ERR_CANCELED,t,n),this.... function Jb (line 172) | function Jb(e,t,n){const i=n.config.validateStatus;!n.status||!i||i(n.st... function yH (line 172) | function yH(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1... function bH (line 172) | function bH(e,t){e=e||10;const n=new Array(e),i=new Array(e);let r=0,o=0... function CH (line 172) | function CH(e,t){let n=0,i=1e3/t,r,o;const s=(f,d=Date.now())=>{n=d,r=nu... function r (line 172) | function r(o){let s=o;return t&&(n.setAttribute("href",s),s=n.href),n.se... method write (line 172) | write(e,t,n,i,r,o){const s=[e+"="+encodeURIComponent(t)];ue.isNumber(n)&... method read (line 172) | read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]... method remove (line 172) | remove(e){this.write(e,"",Date.now()-864e5)} method write (line 172) | write(){} method read (line 172) | read(){return null} method remove (line 172) | remove(){} function kH (line 172) | function kH(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)} function TH (line 172) | function TH(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""... function e1 (line 172) | function e1(e,t){return e&&!kH(t)?TH(e,t):t} function Co (line 172) | function Co(e,t){t=t||{};const n={};function i(f,d,v){return ue.isPlainO... function k (line 172) | function k(){C&&C(),b&&b(),r.cancelToken&&r.cancelToken.unsubscribe(d),r... function L (line 172) | function L(){if(!x)return;const V=Ei.from("getAllResponseHeaders"in x&&x... method pull (line 172) | async pull(f){try{const{done:d,value:v}=await o.next();if(d){l(),f.close... method cancel (line 172) | cancel(f){return l(f),o.return()} method duplex (line 172) | get duplex(){return e=!0,"half"} function pp (line 174) | function pp(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.sign... function u1 (line 174) | function u1(e){return pp(e),e.headers=Ei.from(e.headers),e.data=up.call(... function r (line 174) | function r(o,s){return"[Axios v"+c1+"] Transitional option '"+o+"'"+s+(i... function RH (line 174) | function RH(e,t,n){if(typeof e!="object")throw new dt("options must be a... class Yu (line 174) | class Yu{constructor(t){this.defaults=t,this.interceptors={request:new G... method constructor (line 174) | constructor(t){this.defaults=t,this.interceptors={request:new Gb,respo... method request (line 174) | async request(t,n){try{return await this._request(t,n)}catch(i){if(i i... method _request (line 175) | _request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Co(this.d... method getUri (line 175) | getUri(t){t=Co(this.defaults,t);const n=e1(t.baseURL,t.url);return Kb(... function n (line 175) | function n(i){return function(o,s,a){return this.request(Co(a||{},{metho... class mp (line 175) | class mp{constructor(t){if(typeof t!="function")throw new TypeError("exe... method constructor (line 175) | constructor(t){if(typeof t!="function")throw new TypeError("executor m... method throwIfRequested (line 175) | throwIfRequested(){if(this.reason)throw this.reason} method subscribe (line 175) | subscribe(t){if(this.reason){t(this.reason);return}this._listeners?thi... method unsubscribe (line 175) | unsubscribe(t){if(!this._listeners)return;const n=this._listeners.inde... method source (line 175) | static source(){let t;return{token:new mp(function(r){t=r}),cancel:t}} function MH (line 175) | function MH(e){return function(n){return e.apply(null,n)}} function DH (line 175) | function DH(e){return ue.isObject(e)&&e.isAxiosError===!0} function d1 (line 175) | function d1(e){const t=new Xu(e),n=Lb(Xu.prototype.request,t);return ue.... class BH (line 175) | class BH{constructor(){iC(this,"apiBaseURL","");this.apiBaseURL=pe.apiUr... method constructor (line 175) | constructor(){iC(this,"apiBaseURL","");this.apiBaseURL=pe.apiUrl(),thi... method getVersion (line 175) | async getVersion(){return(await this.api.get("/get_version")).data} method getRemoteVersions (line 175) | async getRemoteVersions(t=1,n=100){return(await this.api.get("/get_rem... method getConfig (line 175) | async getConfig(){return(await this.api.get("/get_config")).data} method installPackage (line 175) | async installPackage(t,n){const i={timeout:1e7};return(await this.api.... method getExtensions (line 175) | async getExtensions(){return(await this.api.get("/get_extensions")).da... method tokenCounter (line 175) | async tokenCounter(t,n){return(await this.api.post("/token_counter",{t... method getData (line 175) | async getData(t){return(await this.api.get("/get_data",{params:{key:t}... method getDatas (line 175) | async getDatas(t){return typeof t=="object"&&(t=t.join(",")),(await th... method setData (line 175) | async setData(t,n){return(await this.api.post("/set_data",{key:t,data:... method setDatas (line 175) | async setDatas(t){return(await this.api.post("/set_datas",{datas:t})).... method getDataListItem (line 175) | async getDataListItem(t,n){return(await this.api.get("/get_data_list_i... method pushDataList (line 175) | async pushDataList(t,n){return(await this.api.post("/push_data_list",{... method popDataList (line 175) | async popDataList(t){return(await this.api.post("/pop_data_list",{key:... method shiftDataList (line 175) | async shiftDataList(t){return(await this.api.post("/shift_data_list",{... method removeDataList (line 175) | async removeDataList(t,n){return(await this.api.post("/remove_data_lis... method clearDataList (line 175) | async clearDataList(t){return(await this.api.post("/clear_data_list",{... method getHistories (line 175) | async getHistories(t){return(await this.api.get("/get_histories",{para... method getFavorites (line 175) | async getFavorites(t){return(await this.api.get("/get_favorites",{para... method pushHistory (line 175) | async pushHistory(t,n,i,r=""){return(await this.api.post("/push_histor... method pushFavorite (line 175) | async pushFavorite(t,n,i,r=""){return(await this.api.post("/push_favor... method moveUpFavorite (line 175) | async moveUpFavorite(t,n){return(await this.api.post("/move_up_favorit... method moveDownFavorite (line 175) | async moveDownFavorite(t,n){return(await this.api.post("/move_down_fav... method getLatestHistory (line 175) | async getLatestHistory(t){return(await this.api.get("/get_latest_histo... method setHistory (line 175) | async setHistory(t,n,i,r,o){return(await this.api.post("/set_history",... method setHistoryName (line 175) | async setHistoryName(t,n,i){return(await this.api.post("/set_history_n... method setFavoriteName (line 175) | async setFavoriteName(t,n,i){return(await this.api.post("/set_favorite... method doFavorite (line 175) | async doFavorite(t,n){return(await this.api.post("/dofavorite",{type:t... method unFavorite (line 175) | async unFavorite(t,n){return(await this.api.post("/unfavorite",{type:t... method deleteHistory (line 175) | async deleteHistory(t,n){return(await this.api.post("/delete_history",... method deleteHistories (line 175) | async deleteHistories(t){return(await this.api.post("/delete_histories... method translate (line 175) | async translate(t,n,i,r,o={}){let s=(await this.api.post("/translate",... method translates (line 175) | async translates(t,n,i,r,o={}){let s=(await this.api.post("/translates... method getCSVs (line 175) | async getCSVs(){return(await this.api.get("/get_csvs")).data.csvs} method getCSV (line 175) | async getCSV(t){return(await this.api.get("/get_csv",{params:{key:t}})... method styles (line 175) | async styles(t,n=""){return(await this.api.get("/styles",{params:{file... method getExtensionCssList (line 175) | async getExtensionCssList(){return(await this.api.get("/get_extension_... method getExtraNetworks (line 175) | async getExtraNetworks(){return(await this.api.get("/get_extra_network... method getExtraNetworksLoadAll (line 175) | async getExtraNetworksLoadAll(){return(await this.api.get("/get_extra_... method genOpenAI (line 175) | async genOpenAI(t,n){return(await this.api.post("/gen_openai",{message... method mbart50Initialize (line 175) | async mbart50Initialize(){const t={timeout:1e11};return(await this.api... method getGroupTags (line 175) | async getGroupTags(t){return(await this.api.get("/get_group_tags",{par... method getLoraInfo (line 175) | async getLoraInfo(t,n=!1,i=!1){return await this.apiLora.get("/api/lor... method getLoraClear (line 175) | async getLoraClear(t){return await this.apiLora.get("/api/loras/info/c... method getLoraRefresh (line 175) | async getLoraRefresh(t){return await this.apiLora.get("/api/loras/info... method postLoraSave (line 175) | async postLoraSave(t,n){const i=new FormData;return i.append("json",JS... method addGroupTags (line 175) | async addGroupTags(t,n,i,r,o){return await this.api.post("/add_group_t... method editGroupTags (line 175) | async editGroupTags(t,n,i,r,o){return await this.api.post("/edit_group... method deleteGroupTags (line 175) | async deleteGroupTags(t,n,i,r,o){return await this.api.post("/delete_g... method addNewNodeGroupTags (line 175) | async addNewNodeGroupTags(t,n,i,r){return await this.api.post("/new_no... method addNewGroupTags (line 175) | async addNewGroupTags(t,n,i,r){return await this.api.post("/new_group_... method editNodeGroupTags (line 175) | async editNodeGroupTags(t,n,i){return await this.api.post("/edit_node_... method editChildGroupTags (line 175) | async editChildGroupTags(t,n,i,r){return await this.api.post("/edit_ch... method deleteNodeGroupTags (line 175) | async deleteNodeGroupTags(t,n){return await this.api.post("/delete_nod... method deleteChildGroupTags (line 175) | async deleteChildGroupTags(t,n,i){return await this.api.post("/delete_... method deleteChildGroupTags (line 175) | async deleteChildGroupTags(t,n,i){return await this.api.post("/delete_... method postUplaodImg (line 175) | async postUplaodImg(t,n,i){const r=new FormData;return r.append("image... method getLLMInstallConfig (line 175) | async getLLMInstallConfig(){return(await this.api.get("/get_llm_config... method getLLMSettingConfig (line 175) | async getLLMSettingConfig(){return(await this.apiLLM.get("/getSetting"... method setLLMSettingConfig (line 175) | async setLLMSettingConfig(t){return(await this.apiLLM.post("/setTransS... method testLLMTran (line 175) | async testLLMTran(){return await this.apiLLM.get("/testTransServer")} method testLLMTran (line 175) | async testLLMTran(){return await this.apiLLM.get("/testTransServer")} method imageLLMReps (line 175) | async imageLLMReps(t){const n={timeout:1e7};return await this.apiLLM.p... method installLLMPackage (line 175) | async installLLMPackage(t,n){const i={timeout:1e7};return(await this.a... method data (line 175) | data(){return{gradioAPI:null}} method beforeMount (line 175) | beforeMount(){this.gradioAPI=new BH} method loadExtraNetworks (line 175) | loadExtraNetworks(e=0){if(pe.gradioApp().querySelectorAll("#txt2img_chec... method _loadExtraNetworks (line 175) | _loadExtraNetworks(){this.gradioAPI.getExtraNetworks().then(e=>{e&&(this... method _loadExtraNetworksLoadAll (line 175) | _loadExtraNetworksLoadAll(){this.gradioAPI.getExtraNetworksLoadAll().the... method getExtraNetworkFullName (line 175) | getExtraNetworkFullName(e,t="lora"){var n,i,r;if(typeof this.extraNetwor... method loraExists (line 175) | loraExists(e){return typeof this.loras!="object"?e:this.loras[e.toLowerC... method lycoExists (line 175) | lycoExists(e){return typeof this.lycos!="object"?e:this.lycos[e.toLowerC... method embeddingExists (line 175) | embeddingExists(e){return typeof this.embeddings!="object"?e:this.embedd... function bp (line 175) | function bp(e,t,n){if(Array.isArray(e)){var i=e[t];return i??(Array.isAr... function Cp (line 175) | function Cp(e,t){var n={}.toString.call(e);return n.indexOf("[object")==... function v1 (line 175) | function v1(e,t){return typeof e=="function"?e.apply(void 0,t):e} function y1 (line 175) | function y1(e,t){if(t===0)return e;var n;return function(i){clearTimeout... function VH (line 175) | function VH(e){return e.split(/\s+/).filter(Boolean)} function ws (line 175) | function ws(e){return[].concat(e)} function b1 (line 175) | function b1(e,t){e.indexOf(t)===-1&&e.push(t)} function WH (line 175) | function WH(e){return e.filter(function(t,n){return e.indexOf(t)===n})} function UH (line 175) | function UH(e){return e.split("-")[0]} function Ju (line 175) | function Ju(e){return[].slice.call(e)} function C1 (line 175) | function C1(e){return Object.keys(e).reduce(function(t,n){return e[n]!==... function ja (line 175) | function ja(){return document.createElement("div")} function Zu (line 175) | function Zu(e){return["Element","Fragment"].some(function(t){return Cp(e... function KH (line 175) | function KH(e){return Cp(e,"NodeList")} function GH (line 175) | function GH(e){return Cp(e,"MouseEvent")} function zH (line 175) | function zH(e){return!!(e&&e._tippy&&e._tippy.reference===e)} function qH (line 175) | function qH(e){return Zu(e)?[e]:KH(e)?Ju(e):Array.isArray(e)?e:Ju(docume... function _p (line 175) | function _p(e,t){e.forEach(function(n){n&&(n.style.transitionDuration=t+... function _1 (line 175) | function _1(e,t){e.forEach(function(n){n&&n.setAttribute("data-state",t)})} function YH (line 175) | function YH(e){var t,n=ws(e),i=n[0];return i!=null&&(t=i.ownerDocument)!... function XH (line 175) | function XH(e,t){var n=t.clientX,i=t.clientY;return e.every(function(r){... function wp (line 175) | function wp(e,t,n){var i=t+"EventListener";["transitionend","webkitTrans... function w1 (line 175) | function w1(e,t){for(var n=t;n;){var i;if(e.contains(n))return!0;n=n.get... function JH (line 175) | function JH(){Vi.isTouch||(Vi.isTouch=!0,window.performance&&document.ad... function T1 (line 175) | function T1(){var e=performance.now();e-k1<20&&(Vi.isTouch=!1,document.r... function ZH (line 175) | function ZH(){var e=document.activeElement;if(zH(e)){var t=e._tippy;e.bl... function QH (line 175) | function QH(){document.addEventListener("touchstart",JH,_o),window.addEv... function x1 (line 175) | function x1(e){var t=e.plugins||[],n=t.reduce(function(i,r){var o=r.name... function s7 (line 175) | function s7(e,t){var n=t?Object.keys(x1(Object.assign({},Ai,{plugins:t})... function S1 (line 175) | function S1(e,t){var n=Object.assign({},t,{content:v1(t.content,[e])},t.... function kp (line 175) | function kp(e,t){e[a7()]=t} function E1 (line 175) | function E1(e){var t=ja();return e===!0?t.className=h1:(t.className=g1,Z... function A1 (line 175) | function A1(e,t){Zu(t.content)?(kp(e,""),e.appendChild(t.content)):typeo... function Tp (line 175) | function Tp(e){var t=e.firstElementChild,n=Ju(t.children);return{box:t,c... function L1 (line 175) | function L1(e){var t=ja(),n=ja();n.className=jH,n.setAttribute("data-sta... function u7 (line 175) | function u7(e,t){var n=S1(e,Object.assign({},Ai,x1(C1(t)))),i,r,o,s=!1,a... function Ha (line 175) | function Ha(e,t){t===void 0&&(t={});var n=Ai.plugins.concat(t.plugins||[... method mounted (line 175) | mounted(n,i){n.classList.add("animate__animated",`animate__${i.value}`,"... method updated (line 175) | updated(n,i){n.classList.remove(`animate__${i.oldValue}`),n.classList.ad... method mounted (line 175) | mounted(n,i){n.setAttribute("data-tippy-content",i.value);let r=n.getAtt... method updated (line 175) | updated(n,i){i.value?(n.setAttribute("data-tippy-content",i.value),n.$ti... FILE: script/autocomplete.py function get_metadata (line 16) | def get_metadata(filepath): function runApp (line 33) | def runApp(): FILE: script/llm/Translator.py class TranslatorInterface (line 5) | class TranslatorInterface(ABC): method __init__ (line 6) | def __init__(self): method translate (line 14) | def translate(self,*args, **kwargs) -> str: method encrypt_string_to_md5 (line 17) | def encrypt_string_to_md5(self,input_string): function translate_text (line 24) | def translate_text(translator: TranslatorInterface,*args, **kwargs): FILE: script/llm/llm.py function chat (line 11) | def chat(question,**kwargs): function chat_imagine (line 30) | def chat_imagine(question,settings): function chat (line 37) | def chat(question,**kwargs): function chat_imagine (line 39) | def chat_imagine(question,settings): FILE: script/llm/llmTranslate.py class LLMTranslator (line 12) | class LLMTranslator(TranslatorInterface): method translate (line 13) | def translate(self,text: str,settings) -> str: class LLMTranslatorTest (line 18) | class LLMTranslatorTest(TranslatorInterface): method translate (line 19) | def translate(self,text: str,settings) -> str: FILE: script/llm_server.py function runLLMServerAPP (line 11) | def runLLMServerAPP(): FILE: script/lorainfo.py function loraInfoApp (line 18) | def loraInfoApp(): function image_upload (line 102) | def image_upload(post, image_save_function=None): function get_param (line 135) | def get_param(request, param, default=None): function is_param_falsy (line 139) | def is_param_falsy(request, param): function path_exists (line 144) | def path_exists(path): function get_folder_path (line 151) | def get_folder_path(file: str, model_type="loras"): function get_loras_info_response (line 161) | async def get_loras_info_response(request, maybe_fetch_civitai=False, ma... function load_json_file (line 198) | def load_json_file(file: str, default=None): function _update_data (line 218) | def _update_data(info_data: dict) -> bool: function get_model_info (line 242) | async def get_model_info(file: str, function _merge_metadata (line 339) | def _merge_metadata(info_data: dict, data_meta: dict) -> bool: function _merge_civitai_data (line 384) | def _merge_civitai_data(info_data: dict, data_civitai: dict) -> bool: function _get_model_civitai_data (line 471) | def _get_model_civitai_data(file: str, model_type="loras", default=None,... function _get_model_metadata (line 500) | def _get_model_metadata(file: str, model_type="loras", default=None, ref... function _read_file_metadata_from_header (line 521) | def _read_file_metadata_from_header(file_path: str) -> dict: function get_folder_path (line 556) | def get_folder_path(file: str, model_type="loras"): function _get_sha256_hash (line 566) | def _get_sha256_hash(file_path: str): function set_model_info_partial (line 580) | async def set_model_info_partial(file: str, info_data_partial, model_typ... function save_model_info (line 587) | def save_model_info(file: str, info_data, model_type="loras"): function get_dict_value (line 597) | def get_dict_value(data: dict, dict_key: str, default=None): function read_userdata_json (line 606) | def read_userdata_json(rel_path: str): function save_userdata_json (line 612) | def save_userdata_json(rel_path: str, data: dict): function clean_path (line 618) | def clean_path(rel_path: str): function save_json_file (line 627) | def save_json_file(file_path: str, data: dict): function _get_info_cache_file (line 635) | def _get_info_cache_file(data_type: str, file_hash: str): function delete_model_info (line 639) | async def delete_model_info(file: str, function delete_userdata_file (line 662) | def delete_userdata_file(rel_path: str): FILE: sd_webui_prompt_all_in_one_app/app.py function app_start (line 15) | def app_start(): FILE: sd_webui_prompt_all_in_one_app/install.py function run_install (line 9) | def run_install(): FILE: sd_webui_prompt_all_in_one_app/launch.py function is_installed (line 10) | def is_installed(package): function run_pip (line 18) | def run_pip(command, desc=None, live=default_command_live): function run_pip_noex (line 22) | def run_pip_noex(command, desc=None, live=default_command_live): function run_get_python (line 25) | def run_get_python(): function is_module_installed (line 31) | def is_module_installed(module_name): function run (line 46) | def run(command, desc=None, errdesc=None, custom_env=None, live: bool = ... function run (line 77) | def run(command, desc=None, errdesc=None, custom_env=None, live: bool = ... FILE: sd_webui_prompt_all_in_one_app/modules/extra_networks.py function parse_prompt (line 1) | def parse_prompt(text): FILE: sd_webui_prompt_all_in_one_app/modules/prompt_parser.py function get_multicond_prompt_list (line 1) | def get_multicond_prompt_list(text): function get_learned_conditioning_prompt_schedules (line 4) | def get_learned_conditioning_prompt_schedules(prompt_flat_list, steps): FILE: sd_webui_prompt_all_in_one_app/modules/script_callbacks.py function report_exception (line 11) | def report_exception(c, job): class ImageSaveParams (line 15) | class ImageSaveParams: method __init__ (line 16) | def __init__(self, image, p, filename, pnginfo): class ExtraNoiseParams (line 30) | class ExtraNoiseParams: method __init__ (line 31) | def __init__(self, noise, x, xi): class CFGDenoiserParams (line 42) | class CFGDenoiserParams: method __init__ (line 43) | def __init__(self, x, image_cond, sigma, sampling_step, total_sampling... class CFGDenoisedParams (line 66) | class CFGDenoisedParams: method __init__ (line 67) | def __init__(self, x, sampling_step, total_sampling_steps, inner_model): class AfterCFGCallbackParams (line 81) | class AfterCFGCallbackParams: method __init__ (line 82) | def __init__(self, x, sampling_step, total_sampling_steps): class UiTrainTabParams (line 93) | class UiTrainTabParams: method __init__ (line 94) | def __init__(self, txt2img_preview_params): class ImageGridLoopParams (line 98) | class ImageGridLoopParams: method __init__ (line 99) | def __init__(self, imgs, cols, rows): function clear_callbacks (line 130) | def clear_callbacks(): function app_started_callback (line 135) | def app_started_callback(demo: Optional[Blocks], app: FastAPI): function app_reload_callback (line 143) | def app_reload_callback(): function model_loaded_callback (line 151) | def model_loaded_callback(sd_model): function ui_tabs_callback (line 159) | def ui_tabs_callback(): function ui_train_tabs_callback (line 171) | def ui_train_tabs_callback(params: UiTrainTabParams): function ui_settings_callback (line 179) | def ui_settings_callback(): function before_image_saved_callback (line 187) | def before_image_saved_callback(params: ImageSaveParams): function image_saved_callback (line 195) | def image_saved_callback(params: ImageSaveParams): function extra_noise_callback (line 203) | def extra_noise_callback(params: ExtraNoiseParams): function cfg_denoiser_callback (line 211) | def cfg_denoiser_callback(params: CFGDenoiserParams): function cfg_denoised_callback (line 219) | def cfg_denoised_callback(params: CFGDenoisedParams): function cfg_after_cfg_callback (line 227) | def cfg_after_cfg_callback(params: AfterCFGCallbackParams): function before_component_callback (line 235) | def before_component_callback(component, **kwargs): function after_component_callback (line 243) | def after_component_callback(component, **kwargs): function image_grid_callback (line 251) | def image_grid_callback(params: ImageGridLoopParams): function infotext_pasted_callback (line 259) | def infotext_pasted_callback(infotext: str, params: Dict[str, Any]): function script_unloaded_callback (line 267) | def script_unloaded_callback(): function before_ui_callback (line 275) | def before_ui_callback(): function list_optimizers_callback (line 283) | def list_optimizers_callback(): function list_unets_callback (line 295) | def list_unets_callback(): function add_callback (line 307) | def add_callback(callbacks, fun): function remove_current_script_callbacks (line 314) | def remove_current_script_callbacks(): function remove_callbacks_for_function (line 324) | def remove_callbacks_for_function(callback_func): function on_app_started (line 330) | def on_app_started(callback): function on_before_reload (line 336) | def on_before_reload(callback): function on_model_loaded (line 341) | def on_model_loaded(callback): function on_ui_tabs (line 347) | def on_ui_tabs(callback): function on_ui_train_tabs (line 360) | def on_ui_train_tabs(callback): function on_ui_settings (line 367) | def on_ui_settings(callback): function on_before_image_saved (line 373) | def on_before_image_saved(callback): function on_image_saved (line 381) | def on_image_saved(callback): function on_extra_noise (line 389) | def on_extra_noise(callback): function on_cfg_denoiser (line 397) | def on_cfg_denoiser(callback): function on_cfg_denoised (line 405) | def on_cfg_denoised(callback): function on_cfg_after_cfg (line 413) | def on_cfg_after_cfg(callback): function on_before_component (line 421) | def on_before_component(callback): function on_after_component (line 433) | def on_after_component(callback): function on_image_grid (line 438) | def on_image_grid(callback): function on_infotext_pasted (line 446) | def on_infotext_pasted(callback): function on_script_unloaded (line 455) | def on_script_unloaded(callback): function on_before_ui (line 462) | def on_before_ui(callback): function on_list_optimizers (line 468) | def on_list_optimizers(callback): function on_list_unets (line 476) | def on_list_unets(callback): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/on_app_started.py function on_app_started (line 73) | def on_app_started(_: gr.Blocks): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/csv.py function get_csvs (line 14) | def get_csvs(): function get_csv (line 43) | def get_csv(key): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/gen_openai.py function gen_openai (line 11) | def gen_openai(messages, api_config): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/get_extensions.py function get_extensions (line 5) | def get_extensions(): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/get_extra_networks.py function quote_js (line 26) | def quote_js(s): function download_image (line 31) | def download_image(url, filename, directory): function prepare_lora_item_data (line 46) | def prepare_lora_item_data(item_path, auto_fetch=False): function get_extra_networks (line 83) | async def get_extra_networks(auto_fetch=False): function preview_file (line 100) | def preview_file(filename: str): function get_thumbnail_for_image_file (line 123) | def get_thumbnail_for_image_file(file_path): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/get_group_tags.py function _get_tags_filename (line 6) | def _get_tags_filename(name): function get_group_tags (line 10) | def get_group_tags(lang): function addGroupTag (line 56) | def addGroupTag(lang,cn,en,key,groupKey): function editGroupTag (line 83) | def editGroupTag(lang,cn,en,key,groupKey): function deleteGroupTag (line 107) | def deleteGroupTag(lang,cn,en,key,groupKey): function addNewNodeGroup (line 131) | def addNewNodeGroup(lang,key,groupKe,color): function addNewGroup (line 163) | def addNewGroup(lang,key,groupKe,color): function editNodeGroup (line 192) | def editNodeGroup(lang,key,newKey): function editChildNodeGroup (line 215) | def editChildNodeGroup(lang,key,groupA,newKey): function deleteNodeGroup (line 240) | def deleteNodeGroup(lang,key): function deleteChildNodeGroup (line 260) | def deleteChildNodeGroup(lang,key,groupKey): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/get_i18n.py function get_i18n (line 7) | def get_i18n(reload=False): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/get_lang.py function replace_vars (line 14) | def replace_vars(text, vars): function get_lang (line 20) | def get_lang(key, vars={}): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/get_token_counter.py function get_prompt_lengths_on_ui (line 6) | def get_prompt_lengths_on_ui(prompt): function get_token_counter (line 11) | def get_token_counter(text, steps): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/get_translate_apis.py function get_translate_apis (line 18) | def get_translate_apis(reload=False): function privacy_translate_api_config (line 49) | def privacy_translate_api_config(data_key, data): function unprotected_translate_api_config (line 87) | def unprotected_translate_api_config(data_key, data): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/get_version.py function get_git_commit_version (line 8) | def get_git_commit_version(): function _handle_versions (line 38) | def _handle_versions(response, filter_update_readme=False): function get_git_remote_versions (line 64) | def get_git_remote_versions(page=1, per_page=100, filter_update_readme=F... function get_latest_version (line 83) | def get_latest_version(): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/history.py class History (line 13) | class History: method __init__ (line 29) | def __init__(self): method __save_histories (line 42) | def __save_histories(self, type): method __save_favorites (line 45) | def __save_favorites(self, type): method get_histories (line 48) | def get_histories(self, type): method is_favorite (line 54) | def is_favorite(self, type, id): method get_favorites (line 60) | def get_favorites(self, type): method push_history (line 63) | def push_history(self, type, tags, prompt, name=''): method push_favorite (line 77) | def push_favorite(self, type, tags, prompt, name=''): method move_up_favorite (line 89) | def move_up_favorite(self, type, id): method move_down_favorite (line 99) | def move_down_favorite(self, type, id): method get_latest_history (line 109) | def get_latest_history(self, type): method set_history (line 114) | def set_history(self, type, id, tags, prompt, name): method set_favorite (line 126) | def set_favorite(self, type, id, tags, prompt, name): method set_history_name (line 136) | def set_history_name(self, type, id, name): method set_favorite_name (line 148) | def set_favorite_name(self, type, id, name): method dofavorite (line 160) | def dofavorite(self, type, id): method unfavorite (line 170) | def unfavorite(self, type, id): method remove_history (line 180) | def remove_history(self, type, id): method remove_histories (line 188) | def remove_histories(self, type): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/mbart50.py class Translator (line 10) | class Translator: method __init__ (line 11) | def __init__(self): method initialize (line 19) | def initialize(self,reload=False): method translate (line 53) | def translate(self,text, src_lang, target_lang): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/packages.py function get_llm_packages_state (line 35) | def get_llm_packages_state(): function get_packages_state (line 53) | def get_packages_state(): function install_llm_package (line 69) | def install_llm_package(name, package): function install_package (line 95) | def install_package(name, package): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/storage.py class Storage (line 10) | class Storage: method __init__ (line 13) | def __init__(self): method __get_storage_path (line 16) | def __get_storage_path(self): method __get_data_filename (line 35) | def __get_data_filename(self, key): method __get_key_lock_filename (line 38) | def __get_key_lock_filename(self, key): method __lock (line 41) | def __lock(self, key): method __unlock (line 46) | def __unlock(self, key): method __is_locked (line 51) | def __is_locked(self, key): method __get (line 55) | def __get(self, key): method __set (line 80) | def __set(self, key, data): method set (line 85) | def set(self, key, data): method get (line 96) | def get(self, key): method delete (line 99) | def delete(self, key): method __get_list (line 104) | def __get_list(self, key): method list_push (line 111) | def list_push(self, key, item): method list_pop (line 125) | def list_pop(self, key): method list_shift (line 140) | def list_shift(self, key): method list_remove (line 155) | def list_remove(self, key, index): method list_get (line 165) | def list_get(self, key, index): method list_clear (line 170) | def list_clear(self, key): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/styles.py function get_style_full_path (line 15) | def get_style_full_path(file): function get_extension_css_list (line 27) | def get_extension_css_list(): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/translate.py function translate (line 34) | def translate(text, from_lang, to_lang, api, api_config=None, llmModel =... FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/translator/alibaba_translator.py class AlibabaTranslator (line 14) | class AlibabaTranslator(BaseTranslator): method __init__ (line 15) | def __init__(self): method _get_config (line 18) | def _get_config(self): method translate (line 30) | def translate(self, text): method translate_batch (line 55) | def translate_batch(self, texts): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/translator/amazon_translator.py class AmazonTranslator (line 11) | class AmazonTranslator(BaseTranslator): method __init__ (line 12) | def __init__(self): method translate (line 15) | def translate(self, text): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/translator/baidu_translator.py class BaiduTranslator (line 15) | class BaiduTranslator(BaseTranslator): method __init__ (line 16) | def __init__(self): method translate (line 19) | def translate(self, text): method translate_batch (line 57) | def translate_batch(self, texts): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/translator/base_tanslator.py class BaseTranslator (line 17) | class BaseTranslator(ABC): method __init__ (line 24) | def __init__(self, api): method set_from_lang (line 37) | def set_from_lang(self, from_lang): method set_to_lang (line 44) | def set_to_lang(self, to_lang): method set_api_config (line 51) | def set_api_config(self, api_config): method get_concurrent (line 55) | def get_concurrent(self): method translate (line 62) | def translate(self, text): method translate_batch (line 65) | def translate_batch(self, texts): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/translator/caiyun_translator.py class CaiyunTranslator (line 15) | class CaiyunTranslator(BaseTranslator): method __init__ (line 16) | def __init__(self): method translate (line 19) | def translate(self, text): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/translator/deepl_translator.py class DeeplTranslator (line 14) | class DeeplTranslator(BaseTranslator): method __init__ (line 15) | def __init__(self): method translate (line 18) | def translate(self, text): method translate_batch (line 53) | def translate_batch(self, texts): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/translator/google_tanslator.py class GoogleTranslator (line 13) | class GoogleTranslator(BaseTranslator): method __init__ (line 14) | def __init__(self): method translate (line 17) | def translate(self, text): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/translator/iflytekV1_translator.py class IflytekV1Translator (line 18) | class IflytekV1Translator(BaseTranslator): method __init__ (line 19) | def __init__(self): method translate (line 22) | def translate(self, text): function hashlib_256 (line 48) | def hashlib_256(res): function httpdate (line 53) | def httpdate(dt): function translate (line 67) | def translate(Text, From, To, APPID, Secret, APIKey, Host="itrans.xfyun.... FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/translator/iflytekV2_translator.py class IflytekV2Translator (line 21) | class IflytekV2Translator(BaseTranslator): method __init__ (line 22) | def __init__(self): method translate (line 25) | def translate(self, text): class Url (line 57) | class Url: method __init__ (line 58) | def __init__(self, host, path, schema): function sha256base64 (line 65) | def sha256base64(data): function parse_url (line 71) | def parse_url(requset_url): function assemble_ws_auth_url (line 84) | def assemble_ws_auth_url(requset_url, method="POST", api_key="", api_sec... function translate (line 105) | def translate(Text, From, To, APPId, APISecret, APIKey, Host="itrans.xf-... FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/translator/mbart50_translator.py class MBart50Translator (line 13) | class MBart50Translator(BaseTranslator): method __init__ (line 14) | def __init__(self,localModel): method translate (line 18) | def translate(self, text): method translate_batch (line 34) | def translate_batch(self, texts): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/translator/microsoft_translator.py class MicrosoftTranslator (line 14) | class MicrosoftTranslator(BaseTranslator): method __init__ (line 15) | def __init__(self): method translate (line 18) | def translate(self, text): method translate_batch (line 62) | def translate_batch(self, texts): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/translator/mymemory_translator.py class MyMemoryTranslator (line 14) | class MyMemoryTranslator(BaseTranslator): method __init__ (line 15) | def __init__(self): method translate (line 18) | def translate(self, text): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/translator/niutrans_translator.py class NiutransTranslator (line 14) | class NiutransTranslator(BaseTranslator): method __init__ (line 15) | def __init__(self): method translate (line 18) | def translate(self, text): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/translator/openai_translator.py class OpenaiTranslator (line 13) | class OpenaiTranslator(BaseTranslator): method __init__ (line 14) | def __init__(self): method translate (line 17) | def translate(self, text): method translate_batch (line 75) | def translate_batch(self, texts): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/translator/tencent_translator.py class TencentTranslator (line 20) | class TencentTranslator(BaseTranslator): method __init__ (line 21) | def __init__(self): method _get_config (line 24) | def _get_config(self): method translate (line 36) | def translate(self, text): method translate_batch (line 55) | def translate_batch(self, texts): function sign_tencent (line 75) | def sign_tencent(secret_id, secret_key, regin, params, action="TextTrans... FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/translator/translators_translator.py class TranslatorsTranslator (line 12) | class TranslatorsTranslator(BaseTranslator): method set_translator (line 15) | def set_translator(self, translator): method translate (line 19) | def translate(self, text): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/translator/volcengine_translator.py class VolcengineTranslator (line 18) | class VolcengineTranslator(BaseTranslator): method __init__ (line 19) | def __init__(self): method translate (line 22) | def translate(self, text): method translate_batch (line 67) | def translate_batch(self, texts): function norm_query (line 71) | def norm_query(params): function hmac_sha256 (line 84) | def hmac_sha256(key: bytes, content: str): function hash_sha256 (line 87) | def hash_sha256(content: str): function request (line 90) | def request(access_key_id, access_key_secret, region, body): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/translator/yandex_translator.py class YandexTranslator (line 13) | class YandexTranslator(BaseTranslator): method __init__ (line 14) | def __init__(self): method translate (line 17) | def translate(self, text): method translate_batch (line 66) | def translate_batch(self, texts): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/translator/youdao_translator.py class YoudaoTranslator (line 16) | class YoudaoTranslator(BaseTranslator): method __init__ (line 17) | def __init__(self): method translate (line 20) | def translate(self, text): method translate_batch (line 80) | def translate_batch(self, texts): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/scripts/physton_prompt/translators/server.py class TranslatorError (line 88) | class TranslatorError(Exception): class Tse (line 92) | class Tse: method __init__ (line 93) | def __init__(self): method time_stat (line 103) | def time_stat(func): method get_timestamp (line 121) | def get_timestamp() -> int: method get_uuid (line 125) | def get_uuid() -> str: method get_headers (line 134) | def get_headers(host_url: str, method check_en_lang (line 167) | def check_en_lang(self, from_lang: str, to_lang: str, default_translat... method check_language (line 175) | def check_language(self, method warning_auto_lang (line 204) | def warning_auto_lang(translator: str, default_from_language: str, if_... method debug_lang_kwargs (line 211) | def debug_lang_kwargs(from_language: str, to_language: str, default_fr... method debug_language_map (line 221) | def debug_language_map(func): method check_input_limit (line 248) | def check_input_limit(query_text: str, input_limit: int) -> None: method check_query (line 253) | def check_query(func): method uncertified (line 292) | def uncertified(func): class Region (line 315) | class Region(Tse): method __init__ (line 316) | def __init__(self): method get_region_of_server (line 324) | def get_region_of_server(self, if_judge_cn: bool = True, if_print_regi... class GoogleV1 (line 352) | class GoogleV1(Tse): method __init__ (line 353) | def __init__(self, server_region='EN'): method _xr (line 370) | def _xr(a: int, b: str) -> int: method _ints (line 382) | def _ints(text: str) -> List[int]: method acquire (line 394) | def acquire(self, text: str, tkk: str) -> str: method get_language_map (line 435) | def get_language_map(self, host_html: str, **kwargs: LangMapKwargsType... method get_tkk (line 440) | def get_tkk(self, host_html: str) -> str: method google_api (line 445) | def google_api(self, query_text: str, from_language: str = 'auto', to_... class GoogleV2 (line 520) | class GoogleV2(Tse): method __init__ (line 521) | def __init__(self, server_region='EN'): method get_language_map (line 542) | def get_language_map(self, host_html: str, **kwargs: LangMapKwargsType... method get_rpc (line 547) | def get_rpc(self, query_text: str, from_language: str, to_language: st... method get_info (line 552) | def get_info(self, host_html: str) -> dict: method get_consent_data (line 557) | def get_consent_data(self, consent_html: str) -> dict: #142 merged bu... method google_api (line 568) | def google_api(self, query_text: str, from_language: str = 'auto', to_... class BaiduV1 (line 644) | class BaiduV1(Tse): method __init__ (line 645) | def __init__(self): method get_language_map (line 667) | def get_language_map(self, lang_url: str, ss: SessionType, headers: di... method baidu_api (line 677) | def baidu_api(self, query_text: str, from_language: str = 'auto', to_l... class BaiduV2 (line 753) | class BaiduV2(Tse): method __init__ (line 754) | def __init__(self): method get_language_map (line 778) | def get_language_map(self, lang_url: str, ss: SessionType, headers: di... method get_sign (line 785) | def get_sign(self, query_text: str, host_html: str, ss: SessionType, h... method get_tk (line 796) | def get_tk(self, host_html: str) -> str: method baidu_api (line 812) | def baidu_api(self, query_text: str, from_language: str = 'auto', to_l... class YoudaoV1 (line 902) | class YoudaoV1(Tse): method __init__ (line 903) | def __init__(self): method get_language_map (line 933) | def get_language_map(self, lang_url: str, ss: SessionType, headers: di... method get_sign_key (line 938) | def get_sign_key(self, host_html: str, ss: SessionType, timeout: float... method get_form (line 950) | def get_form(self, query_text: str, from_language: str, to_language: s... method youdao_api (line 976) | def youdao_api(self, query_text: str, from_language: str = 'auto', to_... class YoudaoV2 (line 1028) | class YoudaoV2(Tse): method __init__ (line 1029) | def __init__(self): method get_language_map (line 1060) | def get_language_map(self, lang_url: str, ss: SessionType, headers: di... method get_default_key (line 1065) | def get_default_key(self, js_html: str) -> str: method get_sign (line 1068) | def get_sign(self, key: str, timestmp: int) -> str: method get_payload (line 1072) | def get_payload(self, keyid: str, key: str, timestamp: int, **kwargs: ... method decrypt (line 1089) | def decrypt(self, cipher_text: str, decrypt_dictionary: dict) -> str: method youdao_api (line 1096) | def youdao_api(self, query_text: str, from_language: str = 'auto', to_... class YoudaoV3 (line 1173) | class YoudaoV3(Tse): method __init__ (line 1174) | def __init__(self): method get_language_map (line 1189) | def get_language_map(self, host_html: str, **kwargs: LangMapKwargsType... method youdao_api (line 1197) | def youdao_api(self, query_text: str, from_language: str = 'auto', to_... class QQFanyi (line 1251) | class QQFanyi(Tse): method __init__ (line 1252) | def __init__(self): method get_language_map (line 1271) | def get_language_map(self, ss: SessionType, language_url: str, timeout... method get_qt (line 1277) | def get_qt(self, ss: SessionType, timeout: float, proxies: dict) -> dict: method qqFanyi_api (line 1282) | def qqFanyi_api(self, query_text: str, from_language: str = 'auto', to... class QQTranSmart (line 1343) | class QQTranSmart(Tse): method __init__ (line 1344) | def __init__(self): method get_language_map (line 1362) | def get_language_map(self, lang_url: str, ss: SessionType, timeout: Op... method get_clientKey (line 1369) | def get_clientKey(self) -> str: method split_sentence (line 1372) | def split_sentence(self, data: dict) -> List[str]: method qqTranSmart_api (line 1379) | def qqTranSmart_api(self, query_text: str, from_language: str = 'auto'... class AlibabaV1 (line 1462) | class AlibabaV1(Tse): method __init__ (line 1463) | def __init__(self): method get_dmtrack_pageid (line 1480) | def get_dmtrack_pageid(self, host_response: ResponseType) -> str: method get_language_map (line 1501) | def get_language_map(self, ss: SessionType, lang_url: str, use_domain:... method alibaba_api (line 1508) | def alibaba_api(self, query_text: str, from_language: str = 'auto', to... class AlibabaV2 (line 1572) | class AlibabaV2(Tse): method __init__ (line 1573) | def __init__(self): method get_language_map (line 1594) | def get_language_map(self, lang_html: str, **kwargs: LangMapKwargsType... method get_d_lang_map (line 1603) | def get_d_lang_map(self, lang_html: str) -> dict: method alibaba_api (line 1612) | def alibaba_api(self, query_text: str, from_language: str = 'auto', to... class Bing (line 1680) | class Bing(Tse): method __init__ (line 1681) | def __init__(self, server_region='EN'): method get_language_map (line 1702) | def get_language_map(self, host_html: str, **kwargs: LangMapKwargsType... method get_ig_iid (line 1708) | def get_ig_iid(self, host_html: str) -> dict: method get_tk (line 1714) | def get_tk(self, host_html: str) -> dict: method bing_api (line 1721) | def bing_api(self, query_text: str, from_language: str = 'auto', to_la... class Sogou (line 1796) | class Sogou(Tse): method __init__ (line 1797) | def __init__(self): method get_language_map (line 1816) | def get_language_map(self, host_html: str, lang_old_url: str, ss: Sess... method get_form (line 1830) | def get_form(self, query_text: str, from_language: str, to_language: s... method sogou_api (line 1847) | def sogou_api(self, query_text: str, from_language: str = 'auto', to_l... class Caiyun (line 1899) | class Caiyun(Tse): method __init__ (line 1900) | def __init__(self): method get_language_map (line 1925) | def get_language_map(self, js_html: str, **kwargs: LangMapKwargsType) ... method get_tk (line 1931) | def get_tk(self, js_html: str) -> str: method crypt (line 1934) | def crypt(self, if_de: bool = True) -> dict: method encrypt (line 1939) | def encrypt(self, plain_text: str) -> str: method decrypt (line 1944) | def decrypt(self, cipher_text: str) -> str: method caiyun_api (line 1952) | def caiyun_api(self, query_text: str, from_language: str = 'auto', to_... class Deepl (line 2041) | class Deepl(Tse): method __init__ (line 2042) | def __init__(self): method get_language_map (line 2060) | def get_language_map(self, host_html: str, **kwargs: LangMapKwargsType... method split_sentences_param (line 2064) | def split_sentences_param(self, query_text: str, from_language: str) -... method context_sentences_param (line 2084) | def context_sentences_param(self, sentences: List[str], from_language:... method deepl_api (line 2123) | def deepl_api(self, query_text: str, from_language: str = 'auto', to_l... class Yandex (line 2185) | class Yandex(Tse): method __init__ (line 2186) | def __init__(self): method get_language_map (line 2209) | def get_language_map(self, host_html: str, **kwargs: LangMapKwargsType... method get_yum (line 2215) | def get_yum(self) -> str: method get_sid (line 2224) | def get_sid(self, host_html: str) -> str: method detect_language (line 2234) | def detect_language(self, ss: SessionType, query_text: str, sid: str, ... method yandex_api (line 2250) | def yandex_api(self, query_text: str, from_language: str = 'auto', to_... class Argos (line 2332) | class Argos(Tse): method __init__ (line 2333) | def __init__(self): method get_language_map (line 2352) | def get_language_map(self, lang_url: str, ss: SessionType, headers: di... method get_secret (line 2357) | def get_secret(self, secret_url: str, ss: SessionType, headers: dict, ... method argos_api (line 2364) | def argos_api(self, query_text: str, from_language: str = 'auto', to_l... class Iciba (line 2422) | class Iciba(Tse): method __init__ (line 2423) | def __init__(self): method get_language_map (line 2442) | def get_language_map(self, api_url: str, ss: SessionType, headers: dic... method encrypt_by_aes_ecb_pkcs7 (line 2448) | def encrypt_by_aes_ecb_pkcs7(self, data: str, key: str, if_padding: bo... method decrypt_by_aes_ecb_pkcs7 (line 2464) | def decrypt_by_aes_ecb_pkcs7(self, data: bytes, key: str, if_padding: ... method get_sign (line 2478) | def get_sign(self, query_text: str) -> str: method get_result (line 2485) | def get_result(self, data: dict) -> dict: method iciba_api (line 2493) | def iciba_api(self, query_text: str, from_language: str = 'auto', to_l... class IflytekV1 (line 2556) | class IflytekV1(Tse): method __init__ (line 2557) | def __init__(self): method get_language_map (line 2577) | def get_language_map(self, host_html: str, ss: SessionType, headers: d... method iflytek_api (line 2594) | def iflytek_api(self, query_text: str, from_language: str = 'auto', to... class IflytekV2 (line 2651) | class IflytekV2(Tse): method __init__ (line 2652) | def __init__(self): method get_language_map (line 2670) | def get_language_map(self, host_html: str, ss: SessionType, headers: d... method iflytek_api (line 2686) | def iflytek_api(self, query_text: str, from_language: str = 'auto', to... class Iflyrec (line 2741) | class Iflyrec(Tse): method __init__ (line 2742) | def __init__(self): method get_language_map (line 2761) | def get_language_map(self, lang_index: dict, **kwargs: LangMapKwargsTy... method iflyrec_api (line 2768) | def iflyrec_api(self, query_text: str, from_language: str = 'auto', to... class Reverso (line 2831) | class Reverso(Tse): method __init__ (line 2832) | def __init__(self): method get_language_map (line 2850) | def get_language_map(self, lang_html: str, **kwargs: LangMapKwargsType... method decrypt_lang_map (line 2856) | def decrypt_lang_map(self, lang_html: str) -> dict: method reverso_api (line 2863) | def reverso_api(self, query_text: str, from_language: str = 'auto', to... class Itranslate (line 2931) | class Itranslate(Tse): method __init__ (line 2932) | def __init__(self): method get_language_map (line 2950) | def get_language_map(self, lang_html: str, **kwargs: LangMapKwargsType... method get_apikey (line 2956) | def get_apikey(self, lang_html: str) -> str: method itranslate_api (line 2961) | def itranslate_api(self, query_text: str, from_language: str = 'auto',... class TranslateCom (line 3025) | class TranslateCom(Tse): method __init__ (line 3026) | def __init__(self): method get_language_map (line 3044) | def get_language_map(self, lang_desc: dict, **kwargs: LangMapKwargsTyp... method translateCom_api (line 3049) | def translateCom_api(self, query_text: str, from_language: str = 'auto... class Utibet (line 3112) | class Utibet(Tse): method __init__ (line 3113) | def __init__(self): method parse_result (line 3127) | def parse_result(self, host_html: str) -> str: method utibet_api (line 3133) | def utibet_api(self, query_text: str, from_language: str = 'auto', to_... class Papago (line 3188) | class Papago(Tse): method __init__ (line 3189) | def __init__(self): method get_language_map (line 3210) | def get_language_map(self, lang_html: str, **kwargs: LangMapKwargsType... method get_auth_key (line 3218) | def get_auth_key(self, lang_html: str) -> str: method get_authorization (line 3221) | def get_authorization(self, url: str, auth_key: str, device_id: str, t... method papago_api (line 3227) | def papago_api(self, query_text: str, from_language: str = 'auto', to_... class Lingvanex (line 3304) | class Lingvanex(Tse): method __init__ (line 3305) | def __init__(self): method get_language_map (line 3326) | def get_language_map(self, lang_url: str, ss: SessionType, headers: di... method get_d_lang_map (line 3334) | def get_d_lang_map(self, lang_url: str, ss: SessionType, headers: dict... method get_auth (line 3338) | def get_auth(self, auth_url: str, ss: SessionType, headers: dict, time... method lingvanex_api (line 3344) | def lingvanex_api(self, query_text: str, from_language: str = 'auto', ... class NiutransV1 (line 3421) | class NiutransV1(Tse): method __init__ (line 3422) | def __init__(self): method get_language_map (line 3446) | def get_language_map(self, lang_url: str, ss: SessionType, headers: di... method encrypt_rsa (line 3451) | def encrypt_rsa(self, message_text: str, public_key_text: str) -> str: method niutrans_api (line 3468) | def niutrans_api(self, query_text: str, from_language: str = 'auto', t... class NiutransV2 (line 3543) | class NiutransV2(Tse): method __init__ (line 3544) | def __init__(self): method get_language_map (line 3570) | def get_language_map(self, lang_url: str, ss: SessionType, headers: di... method get_captcha_id (line 3575) | def get_captcha_id(self, captcha_url: str, ss: SessionType, headers: d... method get_geetest_callback (line 3583) | def get_geetest_callback(self): method get_geetest_w (line 3586) | def get_geetest_w(self, k=1088): method get_geetest_data (line 3590) | def get_geetest_data(self, timeout, proxies): method niutrans_api (line 3619) | def niutrans_api(self, query_text: str, from_language: str = 'auto', t... class Mglip (line 3695) | class Mglip(Tse): method __init__ (line 3696) | def __init__(self): method mglip_api (line 3712) | def mglip_api(self, query_text: str, from_language: str = 'auto', to_l... class VolcEngine (line 3764) | class VolcEngine(Tse): method __init__ (line 3765) | def __init__(self): method get_language_map (line 3784) | def get_language_map(self, host_html: str, **kwargs: LangMapKwargsType... method professional_field_map (line 3790) | def professional_field_map(self) -> dict: method volcEngine_api (line 3810) | def volcEngine_api(self, query_text: str, from_language: str = 'auto',... class ModernMt (line 3878) | class ModernMt(Tse): method __init__ (line 3879) | def __init__(self): method get_language_map (line 3895) | def get_language_map(self, lang_url: str, ss: SessionType, headers: di... method modernMt_api (line 3903) | def modernMt_api(self, query_text: str, from_language: str = 'auto', t... class MyMemory (line 3963) | class MyMemory(Tse): method __init__ (line 3964) | def __init__(self): method get_language_map (line 3982) | def get_language_map(self, myMemory_host_html: str, matecat_lang_url: ... method myMemory_api (line 3996) | def myMemory_api(self, query_text: str, from_language: str = 'auto', t... class Mirai (line 4059) | class Mirai(Tse): method __init__ (line 4060) | def __init__(self): method get_language_map (line 4085) | def get_language_map(self, lang_url: str, ss: SessionType, headers: di... method mirai_api (line 4093) | def mirai_api(self, query_text: str, from_language: str = 'auto', to_l... class Apertium (line 4175) | class Apertium(Tse): method __init__ (line 4176) | def __init__(self): method get_language_map (line 4194) | def get_language_map(self, lang_url: str, ss: SessionType, headers: di... method apertium_api (line 4201) | def apertium_api(self, query_text: str, from_language: str = 'auto', t... class Tilde (line 4263) | class Tilde(Tse): method __init__ (line 4264) | def __init__(self): method get_language_map (line 4288) | def get_language_map(self, sys_data: dict, **kwargs: LangMapKwargsType... method get_langpair_ids (line 4292) | def get_langpair_ids(self, sys_data: dict) -> dict: method tilde_api (line 4298) | def tilde_api(self, query_text: str, from_language: str = 'auto', to_l... class cloudTranslationV1 (line 4363) | class cloudTranslationV1(Tse): method __init__ (line 4364) | def __init__(self): method get_language_map (line 4387) | def get_language_map(self, d_lang_map: dict, **kwargs: LangMapKwargsTy... method get_langpair_domain (line 4390) | def get_langpair_domain(self, d_lang_map: dict) -> dict: method get_professional_field_list (line 4393) | def get_professional_field_list(self, d_lang_map: dict) -> set: method cloudTranslation_api (line 4398) | def cloudTranslation_api(self, query_text: str, from_language: str = '... class cloudTranslationV2 (line 4473) | class cloudTranslationV2(Tse): method __init__ (line 4474) | def __init__(self): method get_language_map (line 4496) | def get_language_map(self, d_lang_map: dict, **kwargs: LangMapKwargsTy... method get_langpair_domain (line 4499) | def get_langpair_domain(self, d_lang_map: dict) -> dict: method get_professional_field_list (line 4502) | def get_professional_field_list(self, d_lang_map: dict) -> set: method cloudTranslation_api (line 4507) | def cloudTranslation_api(self, query_text: str, from_language: str = '... class SysTran (line 4583) | class SysTran(Tse): method __init__ (line 4584) | def __init__(self): method get_language_map (line 4608) | def get_language_map(self, d_lang_map: dict, **kwargs: LangMapKwargsTy... method get_professional_field_list (line 4611) | def get_professional_field_list(self, d_lang_map: dict) -> set: method get_langpair_domain (line 4614) | def get_langpair_domain(self, d_lang_map: dict) -> dict: method get_client_data (line 4624) | def get_client_data(self, client_url: str, ss: SessionType, headers: d... method sysTran_api (line 4636) | def sysTran_api(self, query_text: str, from_language: str = 'auto', to... class TranslateMe (line 4723) | class TranslateMe(Tse): method __init__ (line 4724) | def __init__(self): method get_language_map (line 4740) | def get_language_map(self, host_html: str, **kwargs: LangMapKwargsType... method _translateMe_api (line 4751) | def _translateMe_api(self, query_text: str, from_language: str = 'auto... method translateMe_api (line 4820) | def translateMe_api(self, query_text: str, from_language: str = 'auto'... class Elia (line 4874) | class Elia(Tse): method __init__ (line 4875) | def __init__(self): method get_language_map (line 4894) | def get_language_map(self, dd: dict, **kwargs: LangMapKwargsType) -> d... method get_professional_field_list (line 4897) | def get_professional_field_list(self, dd: dict) -> set: method get_langpair_domain (line 4900) | def get_langpair_domain(self, dd: dict) -> dict: method elia_api (line 4910) | def elia_api(self, query_text: str, from_language: str = 'auto', to_la... class LanguageWire (line 4991) | class LanguageWire(Tse): method __init__ (line 4992) | def __init__(self): method get_language_map (line 5013) | def get_language_map(self, lang_url: str, ss: SessionType, headers: di... method get_lwt_data (line 5025) | def get_lwt_data(self) -> dict: method languageWire_api (line 5034) | def languageWire_api(self, query_text: str, from_language: str = 'auto... class Judic (line 5096) | class Judic(Tse): method __init__ (line 5097) | def __init__(self): method get_language_map (line 5114) | def get_language_map(self, lang_list: List[str], **kwargs: LangMapKwar... method judic_api (line 5120) | def judic_api(self, query_text: str, from_language: str = 'auto', to_l... class Yeekit (line 5177) | class Yeekit(Tse): method __init__ (line 5178) | def __init__(self): method get_language_map (line 5196) | def get_language_map(self, lang_list: List[str], **kwargs: LangMapKwar... method yeekit_api (line 5202) | def yeekit_api(self, query_text: str, from_language: str = 'auto', to_... class Hujiang (line 5260) | class Hujiang(Tse): method __init__ (line 5261) | def __init__(self): method get_language_map (line 5277) | def get_language_map(self, host_html: str, **kwargs: LangMapKwargsType... method hujiang_api (line 5284) | def hujiang_api(self, query_text: str, from_language: str = 'auto', to... class TranslatorsServer (line 5339) | class TranslatorsServer: method __init__ (line 5340) | def __init__(self): method translate_text (line 5447) | def translate_text(self, method translate_html (line 5491) | def translate_html(self, method _test_translate (line 5550) | def _test_translate(self, _ts: str, timeout: Optional[float] = None, i... method get_languages (line 5564) | def get_languages(self, translator: str = 'bing'): method preaccelerate (line 5572) | def preaccelerate(self, timeout: Optional[float] = None, if_show_time_... method speedtest (line 5594) | def speedtest(self, **kwargs: List[str]) -> None: method preaccelerate_and_speedtest (line 5609) | def preaccelerate_and_speedtest(self, timeout: Optional[float] = None,... FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/tests/translate.py function is_tested (line 21) | def is_tested(api_key, from_lang, to_lang): function add_tested (line 27) | def add_tested(api_key, from_lang, to_lang, translated_text): function test_api (line 37) | def test_api(api): FILE: sd_webui_prompt_all_in_one_app/sd_webui_prompt_all_in_one/tests/translator.py function test_google (line 42) | def test_google(): function test_microsoft (line 49) | def test_microsoft(): function test_openai (line 57) | def test_openai(): function test_amazon (line 66) | def test_amazon(): function test_deepl (line 75) | def test_deepl(): function test_baidu (line 82) | def test_baidu(): function test_youdao (line 90) | def test_youdao(): function test_alibaba (line 98) | def test_alibaba(): function test_tencent (line 106) | def test_tencent(): function test_translators (line 115) | def test_translators(): function test_yandex (line 119) | def test_yandex(): function test_mymemory (line 126) | def test_mymemory(): function test_niutrans (line 133) | def test_niutrans(): function test_caiyun (line 140) | def test_caiyun(): function test_volcengine (line 148) | def test_volcengine(): function test_iflytekV1 (line 156) | def test_iflytekV1(): function test_iflytekV2 (line 165) | def test_iflytekV2(): function test_languages (line 174) | def test_languages():