0\rm]%1/0/_dk_https://comfy.org https://comfy.org https://cloud.comfy.org/assets/widget-mXGG1kPn.js(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`9e8727bcafb1506b0b3c0b12bdf49f798d286148`}}catch{}})();try{(function(){var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`d2de991f-d66e-4b84-ad5b-214af35a19af`,e._sentryDebugIdIdentifier=`sentry-dbid-d2de991f-d66e-4b84-ad5b-214af35a19af`)})()}catch{}import"./rolldown-runtime-CB5moqbW.js";function tokenize(e){let t=[],n=/(\d+(?:\.\d*)?|\.\d+)|([+\-*/%()])/g,r=0;for(let i of e.matchAll(n)){if(e.slice(r,i.index).trim())return;r=i.index+i[0].length,i[1]?t.push({type:`number`,value:parseFloat(i[1])}):t.push({type:`op`,value:i[2]})}if(!e.slice(r).trim())return t}function evaluateMathExpression(e){let t=tokenize(e);if(!t||t.length===0)return;let n=t,r=0,i=0;function peek(){return n[r]}function consume(){return n[r++]}function primary(){let e=peek();if(e){if(e.type===`number`)return consume(),e.value;if(e.type===`op`&&e.value===`(`){if(++i>200)return;consume();let e=expr();if(e===void 0)return;let t=peek();return!t||t.type!==`op`||t.value!==`)`?void 0:(consume(),i--,e)}}}function unary(){let e=peek();if(e?.type===`op`&&(e.value===`+`||e.value===`-`)){consume();let t=unary();return t===void 0?void 0:e.value===`-`?-t:t}return primary()}function factor(){let e=unary();if(e!==void 0){for(;peek()?.type===`op`&&(peek().value===`*`||peek().value===`/`||peek().value===`%`);){let t=consume().value,n=unary();if(n===void 0)return;e=t===`*`?e*n:t===`/`?e/n:e%n}return e}}function expr(){let e=factor();if(e!==void 0){for(;peek()?.type===`op`&&(peek().value===`+`||peek().value===`-`);){let t=consume().value,n=factor();if(n===void 0)return;e=t===`+`?e+n:e-n}return e}}let a=expr();if(!(a===void 0||r!==n.length))return a===0?0:a}function getWidgetStep(e){return e.step2||(e.step||10)*.1}function evaluateInput(e){let t=evaluateMathExpression(e);if(t!==void 0)return isFinite(t)?t:void 0;let n=Number(e);if(isFinite(n))return n}function resolveNodeRootGraphId(e,t){return e.graph?.rootGraph.id??t}export{getWidgetStep as n,resolveNodeRootGraphId as r,evaluateInput as t}; //# sourceMappingURL=widget-mXGG1kPn.js.mapA EoXeGmj^/,j^/,j^/UHTTP/1.1 200server:nginx/1.31.2date:Sun, 21 Jun 2026 19:00:01 GMTcontent-type:text/javascriptcontent-length:2317x-guploader-uploadid:AJ5rDhGMC3chN6XIv5JtMA0AcP-_yAyJbWc0phKZ8jN2MRGTuE6WibwjQvyvDdcYvVvtHBEcXBX_e3oexpires:Sun, 21 Jun 2026 19:25:12 GMTlast-modified:Fri, 19 Jun 2026 22:00:24 GMTetag:"92c1e86f1682d0a426d304f286712f5e"x-goog-generation:1781906424057604x-goog-metageneration:1x-goog-stored-content-encoding:identityx-goog-stored-content-length:2317x-goog-meta-goog-reserved-file-mtime:1781906406x-goog-hash:crc32c=bduQYA==x-goog-hash:md5=ksHobxaC0KQm0wTyhnEvXg==x-goog-storage-class:STANDARDcache-control:public, max-age=2592000, immutablex-cache-status:HITx-content-type-options:nosniffreferrer-policy:strict-origin-when-cross-origincontent-security-policy:default-src 'self' https: data: blob: wss:; script-src 'self' 'unsafe-inline' 'unsafe-eval' https:; style-src 'self' 'unsafe-inline' https:; object-src 'none'; worker-src 'self' blob:; frame-ancestors 'self' https:; base-uri 'self'; form-action 'self'accept-ranges:bytesvia:1.1 googlealt-svc:h3=":443"; ma=2592000-0)0Vo=6;VMD0  *H  0;1 0 UUS10U Google Trust Services1 0 UWR30 260513044147Z 260811053601Z010Ucloud.comfy.org0"0  *H 0 7-";'ȅbڪr2x  |R:a=!Ngkv>}/}|!aEinڤUw? {MCJ:YLXOP%&;RҊJp9AyPʍG[X:l(:w4i#s ԠeaȴE /sQ+rf+,P~*{qn:덾vŭf-DG0C0U0U% 0 +0 U00Uo?V~baܕ3TZ0U#0ǁWN\b#!8Qv`W5E_,44h=%RF#}fY;8/{ XHHB 6Q%p [s]EqROJ w"!T&?njY45vý@8[ Άc6^hΝW]UTdMWK&g)Uw5[p>\:6JJrd4Ґ0 0h:"KZ0  *H  0G1 0 UUS1"0 U Google Trust Services LLC10U GTS Root R10 231213090000Z 290220140000Z0;1 0 UUS10U Google Trust Services1 0 UWR30"0  *H 0 4uro54lz|Ty |8^3FoF7c՗N2{#{ICмWSxT|TEYOF+b^:*#Ŏ^q}#}R4ߙLY_Ou²0Fж g?T'eJ,/e_ͭ\A[L?}04+(0&0$+0http://i.pki.goog/r1.crt0+U$0"0 http://c.pki.goog/r/r1.crl0U  0 0g 0  *H  C3Ho%׬(衻3*˓U۾vo,8< Sj\):=yU=7d,`I6>Z.j^'&hvo|k85a=?Lfoz_bah^/Տp*3SE+8DX ~I[HOnӉkSn~jFC @2:2_2SZFU`@=mڗ:2J.fsg/1M\m,RrӍ