showai-reader 0.10.0-reader.oi4tdyjp → 0.10.0-reader.pb4kagun
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/chunks/CardGrid-TRO37NZO.js +2 -0
- package/chunks/CommandReference-YOBZ67AR.js +3 -0
- package/chunks/ComparisonMatrix-P3TVMSP7.js +1 -0
- package/chunks/{EventTimeline-EUOZGK5I.js → EventTimeline-PL6EEZLL.js} +1 -1
- package/chunks/{ExperimentTracker-ULN4Z5OW.js → ExperimentTracker-QLIXOBDQ.js} +1 -1
- package/chunks/{ExternalDiagram-6XIHKA7E.js → ExternalDiagram-ZTY4TDJJ.js} +3 -3
- package/chunks/{Flowchart-CLUQTGTM.js → Flowchart-PRS65CS3.js} +1 -1
- package/chunks/{G2Chart-DIG5VQML.js → G2Chart-TOPADKCR.js} +2 -2
- package/chunks/LayerDiagram-3CLVCITA.js +2 -0
- package/chunks/{Mindmap-6XNXEXFE.js → Mindmap-3XJLR4JB.js} +1 -1
- package/chunks/RichTextEditor-6ICZMOD6.js +156 -0
- package/chunks/{Roadmap-J643DY2U.js → Roadmap-SPBI3665.js} +1 -1
- package/chunks/{Scene3D-KGHIFPQH.js → Scene3D-MUQ74HZI.js} +2 -2
- package/chunks/SequenceDiagram-OOQN7BWQ.js +2 -0
- package/chunks/StatusTree-B6NZDDIZ.js +1 -0
- package/chunks/StepGuide-MWZV4NYU.js +1 -0
- package/chunks/StructureBrowser-CVA2IQML.js +3 -0
- package/chunks/{Waterfall-WQQRXMRH.js → Waterfall-B2BPYBF3.js} +1 -1
- package/chunks/chunk-2MWQ4I4F.js +1 -0
- package/chunks/chunk-4AKSPULD.js +9 -0
- package/chunks/{chunk-LXPCGURF.js → chunk-4RYRJOIW.js} +1 -1
- package/chunks/chunk-5CTTY5BQ.js +2 -0
- package/chunks/{chunk-57OQN4T3.js → chunk-6G2M37RQ.js} +1 -1
- package/chunks/chunk-AAGG3TEN.js +1 -0
- package/chunks/{chunk-5KANJNMG.js → chunk-BR33OQJ3.js} +1 -1
- package/chunks/chunk-GLP5VV7P.js +1 -0
- package/chunks/chunk-H7ALO2Q6.js +349 -0
- package/chunks/{chunk-HC6FTJAR.js.LEGAL.txt → chunk-H7ALO2Q6.js.LEGAL.txt} +3 -0
- package/chunks/{chunk-5HKZMSJF.js → chunk-KQR52I3G.js} +8 -8
- package/chunks/chunk-MLBEJ7IZ.js +1 -0
- package/chunks/{chunk-4M3FPEBB.js → chunk-PDHAXJXJ.js} +1 -1
- package/chunks/{chunk-A2JDK7HA.js → chunk-QD4XRUJK.js} +1 -1
- package/chunks/chunk-S7HOQGTC.js +4 -0
- package/chunks/{chunk-MCD72KVU.js → chunk-WP3ME37P.js} +2 -2
- package/chunks/chunk-XXZZVMLJ.js +1 -0
- package/index.js +1 -1
- package/manifest.json +5 -5
- package/package.json +1 -1
- package/reader-PB4KAGUN.js +51 -0
- package/chunks/CardGrid-AJZKUXS6.js +0 -2
- package/chunks/CommandReference-RV7YII3H.js +0 -3
- package/chunks/ComparisonMatrix-ZZD2G2AA.js +0 -1
- package/chunks/LayerDiagram-ERF2NRNM.js +0 -2
- package/chunks/RichTextEditor-6VUVXVYN.js +0 -156
- package/chunks/SequenceDiagram-G7UAIBJJ.js +0 -2
- package/chunks/StatusTree-BO3E5N3J.js +0 -1
- package/chunks/StepGuide-QYQ74I56.js +0 -1
- package/chunks/StructureBrowser-IKXDOONV.js +0 -3
- package/chunks/chunk-C2OMFGU2.js +0 -4
- package/chunks/chunk-HC6FTJAR.js +0 -21
- package/chunks/chunk-HPTQVBGO.js +0 -329
- package/chunks/chunk-JZTWI7SZ.js +0 -1
- package/chunks/chunk-KYWOOES7.js +0 -2
- package/chunks/chunk-NL63BEBA.js +0 -1
- package/chunks/chunk-WWRZIZ7N.js +0 -1
- package/reader-OI4TDYJP.js +0 -51
- /package/chunks/{G2Chart-DIG5VQML.js.LEGAL.txt → G2Chart-TOPADKCR.js.LEGAL.txt} +0 -0
- /package/chunks/{Scene3D-KGHIFPQH.js.LEGAL.txt → Scene3D-MUQ74HZI.js.LEGAL.txt} +0 -0
- /package/chunks/{chunk-KYWOOES7.js.LEGAL.txt → chunk-5CTTY5BQ.js.LEGAL.txt} +0 -0
- /package/chunks/{chunk-MCD72KVU.js.LEGAL.txt → chunk-WP3ME37P.js.LEGAL.txt} +0 -0
- /package/{reader-OI4TDYJP.js.LEGAL.txt → reader-PB4KAGUN.js.LEGAL.txt} +0 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import{a as k6,b as z6}from"./chunks/chunk-AAGG3TEN.js";import{a as So}from"./chunks/chunk-XXZZVMLJ.js";import{$ as E1,$a as v6,A as js,Aa as R1,B as w1,Ba as t6,C as Cm,Ca as lu,D as Tm,Da as a6,E as Us,Ea as n6,F as _s,Fa as o6,G as k1,Ga as r6,H as S1,Ha as i6,I as Gt,Ia as l6,J as Qd,Ja as L1,K as C1,Ka as s6,L as T1,La as su,M as Zs,Ma as P1,N as z1,Na as c6,O as zm,Oa as ml,P as Em,Pa as d6,Q as Dm,Qa as u6,R as Mm,Ra as p6,S as cl,Sa as m6,T as Nm,Ta as f6,U as Am,Ua as g6,V as Pn,Va as b6,W as at,Wa as O1,X as Im,Xa as h6,Y as Ba,Ya as cu,Z as Rm,Za as Wo,_ as Lm,_a as y6,a as Bs,aa as $d,ab as x6,b as mm,ba as Ha,bb as w6,c as il,ca as Pm,cb as uu,d as fm,da as eu,db as j1,e as Wd,ea as D1,eb as Ua,f as Kd,fa as M1,fb as H6,g as gm,ga as Om,gb as pu,h as Hs,ha as xo,hb as j6,i as bm,ia as dl,ib as Tr,j as ll,ja as Cr,jb as _1,k as hm,ka as Bm,kb as Z1,l as ym,la as wo,lb as U6,m as vo,ma as Hm,mb as Z6,n as y1,na as jm,o as Sr,oa as Um,ob as V6,p as Yd,pa as _m,q as v1,qa as ul,r as Jd,ra as Gm,s as vm,sa as tu,t as x1,ta as pl,u as xm,ua as qm,v as wm,va as N1,w as Xd,wa as Fm,x as km,y as Sm,ya as A1,z as sl,za as Qm}from"./chunks/chunk-4AKSPULD.js";import{h as iu}from"./chunks/chunk-3RZMLHCB.js";import{b as e6}from"./chunks/chunk-JXKAISUX.js";import{a as Jm}from"./chunks/chunk-C4JCEMQN.js";import{F as S6,K as C6,L as T6,b as Ym}from"./chunks/chunk-KQR52I3G.js";import{a as du,b as re,c as bl,d as ko,e as Bn,f as Hn,g as B1,h as L6,i as H1,j as hl}from"./chunks/chunk-SNEZ3O5V.js";import{a as $m}from"./chunks/chunk-77DN5DLU.js";import{a as Xm,b as au,c as nu}from"./chunks/chunk-AIBH6MTQ.js";import{a as ou}from"./chunks/chunk-BR33OQJ3.js";import{f as ru}from"./chunks/chunk-4RYRJOIW.js";import"./chunks/chunk-MLBEJ7IZ.js";import{a as mu}from"./chunks/chunk-MENLQ7WW.js";import{a as P6,b as O6}from"./chunks/chunk-5CTTY5BQ.js";import{a as M6,b as N6,c as A6,d as I6,e as R6}from"./chunks/chunk-PDHAXJXJ.js";import{a as Km}from"./chunks/chunk-GLP5VV7P.js";import"./chunks/chunk-5AW2WUSZ.js";import{b as Wm}from"./chunks/chunk-DG67SWQA.js";import{b as I1}from"./chunks/chunk-KF47DKNH.js";import{a as B6,b as U1,d as ja,e as G1,f as q1,g as _6,h as _a,i as ma,j as va,k as je}from"./chunks/chunk-2MWQ4I4F.js";import{A as nl,Aa as am,Ab as se,B as nn,Ba as g1,Bb as V1,C as xr,D as P5,Da as Pt,E as O5,Ea as nm,F as Od,Fa as om,I as B5,Ia as rm,J as c1,Ja as Zd,K as H5,Ka as im,L as wr,M as d1,Ma as Vd,N as j5,Na as kr,O as U5,Oa as Gd,P as bi,Pa as lm,Q as _5,R as yo,Ra as sm,S as Bd,Sa as cm,T as Z5,U as u1,Ua as dm,V as V5,Va as qd,W as p1,X as Hd,Y as G5,_ as q5,a as mt,b as S5,c as Me,ca as F5,d as C5,db as Qt,e as T5,ea as m1,eb as b1,f as z5,g as E5,ga as W5,h as D5,ha as f1,hb as Fd,i as M5,ia as K5,ib as h1,j as Id,ja as jd,jb as um,k as N5,kb as pm,l as A5,la as Y5,lb as Ja,m as al,ma as J5,mb as de,n as I5,na as Ud,nb as Ln,oa as Ps,p as l1,pa as X5,q as vr,qa as ol,r as gi,rb as On,sb as Zm,t as R5,ta as rl,u as Rd,ua as Q5,v as Ld,va as $5,w as Pd,wa as _d,x as L5,xa as em,xb as Vm,y as s1,ya as Os,z as Oa,za as tm,zb as gl}from"./chunks/chunk-H7ALO2Q6.js";import{a as rt,b as E6,c as fl,d as D6,f as St}from"./chunks/chunk-J6IRWTF7.js";import{a as tl,c as Z}from"./chunks/chunk-DCANE7XH.js";var e7=tl(qt=>{"use strict";function hu(e,t){var a=e.length;e.push(t);e:for(;0<a;){var n=a-1>>>1,o=e[n];if(0<W1(o,t))e[n]=t,e[a]=o,a=n;else break e}}function Co(e){return e.length===0?null:e[0]}function Y1(e){if(e.length===0)return null;var t=e[0],a=e.pop();if(a!==t){e[0]=a;e:for(var n=0,o=e.length,r=o>>>1;n<r;){var i=2*(n+1)-1,l=e[i],s=i+1,c=e[s];if(0>W1(l,a))s<o&&0>W1(c,l)?(e[n]=c,e[s]=a,n=s):(e[n]=l,e[i]=a,n=i);else if(s<o&&0>W1(c,a))e[n]=c,e[s]=a,n=s;else break e}}return t}function W1(e,t){var a=e.sortIndex-t.sortIndex;return a!==0?a:e.id-t.id}qt.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(q6=performance,qt.unstable_now=function(){return q6.now()}):(fu=Date,F6=fu.now(),qt.unstable_now=function(){return fu.now()-F6});var q6,fu,F6,Ko=[],zr=[],Dv=1,Un=null,Za=3,yu=!1,Vs=!1,Gs=!1,vu=!1,Y6=typeof setTimeout=="function"?setTimeout:null,J6=typeof clearTimeout=="function"?clearTimeout:null,W6=typeof setImmediate<"u"?setImmediate:null;function K1(e){for(var t=Co(zr);t!==null;){if(t.callback===null)Y1(zr);else if(t.startTime<=e)Y1(zr),t.sortIndex=t.expirationTime,hu(Ko,t);else break;t=Co(zr)}}function xu(e){if(Gs=!1,K1(e),!Vs)if(Co(Ko)!==null)Vs=!0,xl||(xl=!0,vl());else{var t=Co(zr);t!==null&&wu(xu,t.startTime-e)}}var xl=!1,qs=-1,X6=5,Q6=-1;function $6(){return vu?!0:!(qt.unstable_now()-Q6<X6)}function gu(){if(vu=!1,xl){var e=qt.unstable_now();Q6=e;var t=!0;try{e:{Vs=!1,Gs&&(Gs=!1,J6(qs),qs=-1),yu=!0;var a=Za;try{t:{for(K1(e),Un=Co(Ko);Un!==null&&!(Un.expirationTime>e&&$6());){var n=Un.callback;if(typeof n=="function"){Un.callback=null,Za=Un.priorityLevel;var o=n(Un.expirationTime<=e);if(e=qt.unstable_now(),typeof o=="function"){Un.callback=o,K1(e),t=!0;break t}Un===Co(Ko)&&Y1(Ko),K1(e)}else Y1(Ko);Un=Co(Ko)}if(Un!==null)t=!0;else{var r=Co(zr);r!==null&&wu(xu,r.startTime-e),t=!1}}break e}finally{Un=null,Za=a,yu=!1}t=void 0}}finally{t?vl():xl=!1}}}var vl;typeof W6=="function"?vl=function(){W6(gu)}:typeof MessageChannel<"u"?(bu=new MessageChannel,K6=bu.port2,bu.port1.onmessage=gu,vl=function(){K6.postMessage(null)}):vl=function(){Y6(gu,0)};var bu,K6;function wu(e,t){qs=Y6(function(){e(qt.unstable_now())},t)}qt.unstable_IdlePriority=5;qt.unstable_ImmediatePriority=1;qt.unstable_LowPriority=4;qt.unstable_NormalPriority=3;qt.unstable_Profiling=null;qt.unstable_UserBlockingPriority=2;qt.unstable_cancelCallback=function(e){e.callback=null};qt.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):X6=0<e?Math.floor(1e3/e):5};qt.unstable_getCurrentPriorityLevel=function(){return Za};qt.unstable_next=function(e){switch(Za){case 1:case 2:case 3:var t=3;break;default:t=Za}var a=Za;Za=t;try{return e()}finally{Za=a}};qt.unstable_requestPaint=function(){vu=!0};qt.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var a=Za;Za=e;try{return t()}finally{Za=a}};qt.unstable_scheduleCallback=function(e,t,a){var n=qt.unstable_now();switch(typeof a=="object"&&a!==null?(a=a.delay,a=typeof a=="number"&&0<a?n+a:n):a=n,e){case 1:var o=-1;break;case 2:o=250;break;case 5:o=1073741823;break;case 4:o=1e4;break;default:o=5e3}return o=a+o,e={id:Dv++,callback:t,priorityLevel:e,startTime:a,expirationTime:o,sortIndex:-1},a>n?(e.sortIndex=a,hu(zr,e),Co(Ko)===null&&e===Co(zr)&&(Gs?(J6(qs),qs=-1):Gs=!0,wu(xu,a-n))):(e.sortIndex=o,hu(Ko,e),Vs||yu||(Vs=!0,xl||(xl=!0,vl()))),e};qt.unstable_shouldYield=$6;qt.unstable_wrapCallback=function(e){var t=Za;return function(){var a=Za;Za=t;try{return e.apply(this,arguments)}finally{Za=a}}}});var a7=tl((KC,t7)=>{"use strict";t7.exports=e7()});var Vg=tl(N2=>{"use strict";var ba=a7(),_8=Me(),Mv=Ln();function ee(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function Z8(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Ic(e){for(var t=e,a=t;a&&!a.alternate;)t=a,(t.flags&4098)!==0&&(e=t.return),a=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function V8(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function G8(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function n7(e){if(Ic(e)!==e)throw Error(ee(188))}function Nv(e){var t=e.alternate;if(!t){if(t=Ic(e),t===null)throw Error(ee(188));return t!==e?null:e}for(var a=e,n=t;;){var o=a.return;if(o===null)break;var r=o.alternate;if(r===null){if(n=o.return,n!==null){a=n;continue}break}if(o.child===r.child){for(r=o.child;r;){if(r===a)return n7(o),e;if(r===n)return n7(o),t;r=r.sibling}throw Error(ee(188))}if(a.return!==n.return)a=o,n=r;else{for(var i=!1,l=o.child;l;){if(l===a){i=!0,a=o,n=r;break}if(l===n){i=!0,n=o,a=r;break}l=l.sibling}if(!i){for(l=r.child;l;){if(l===a){i=!0,a=r,n=o;break}if(l===n){i=!0,n=r,a=o;break}l=l.sibling}if(!i)throw Error(ee(189))}}if(a.alternate!==n)throw Error(ee(190))}if(a.tag!==3)throw Error(ee(188));return a.stateNode.current===a?e:t}function q8(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=q8(e),t!==null)return t;e=e.sibling}return null}function dn(e,t,a,n,o,r){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&a(e,n,o,r)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&dn(e.child,t,a,n,o,r))return!0;e=e.sibling}return!1}function Bi(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function o7(e){var t=!1;for(e=e.return;e!==null&&(e.tag===4&&(t=!0),!(e.tag===3||e.tag===5||e.tag===27));)e=e.return;return t}function F8(e){var t=[null,null],a=Bi(e);return a===null||W8(t,e,a.child,{foundSelf:!1}),t}function W8(e,t,a,n){for(;a!==null;){if(a===t)n.foundSelf=!0;else if(a.tag===5||a.tag===27||a.tag===6){if(n.foundSelf)return e[1]=a,!0;e[0]=a}else if((a.tag!==22||a.memoizedState===null)&&W8(e,t,a.child,n))return!0;a=a.sibling}return!1}function ga(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(ee(559))}}var El=null,$u=null;function Av(e,t,a){return e===a?!0:e===t?(El=e,!0):!1}function Iv(e,t,a){return e===a?($u=e,!1):e===t?($u!==null&&(El=e),!0):!1}function r7(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function ep(e,t,a){for(var n=0,o=e;o;o=a(o))n++;o=0;for(var r=t;r;r=a(r))o++;for(;0<n-o;)e=a(e),n--;for(;0<o-n;)t=a(t),o--;for(;n--;){if(e===t||t!==null&&e===t.alternate)return e;e=a(e),t=a(t)}return null}var Rt=Object.assign,Rv=Symbol.for("react.element"),J1=Symbol.for("react.transitional.element"),Qs=Symbol.for("react.portal"),Dl=Symbol.for("react.fragment"),K8=Symbol.for("react.strict_mode"),tp=Symbol.for("react.profiler"),Y8=Symbol.for("react.consumer"),No=Symbol.for("react.context"),d3=Symbol.for("react.forward_ref"),ap=Symbol.for("react.suspense"),np=Symbol.for("react.suspense_list"),u3=Symbol.for("react.memo"),Nr=Symbol.for("react.lazy"),op=Symbol.for("react.activity"),Lv=Symbol.for("react.legacy_hidden"),Pv=Symbol.for("react.memo_cache_sentinel"),rp=Symbol.for("react.view_transition"),Ov=Symbol.for("react.recoverable"),i7=Symbol.iterator;function Fs(e){return e===null||typeof e!="object"?null:(e=i7&&e[i7]||e["@@iterator"],typeof e=="function"?e:null)}var Bv=Symbol.for("react.client.reference");function ip(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Bv?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Dl:return"Fragment";case tp:return"Profiler";case K8:return"StrictMode";case ap:return"Suspense";case np:return"SuspenseList";case op:return"Activity";case rp:return"ViewTransition"}if(typeof e=="object")switch(e.$$typeof){case Qs:return"Portal";case No:return e.displayName||"Context";case Y8:return(e._context.displayName||"Context")+".Consumer";case d3:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case u3:return t=e.displayName||null,t!==null?t:ip(e.type)||"Memo";case Nr:t=e._payload,e=e._init;try{return ip(e(t))}catch{}}return null}var $s=Array.isArray,Ue=_8.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,vt=Mv.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ci={pending:!1,data:null,method:null,action:null},lp=[],Ml=-1;function Bo(e){return{current:e}}function Da(e){0>Ml||(e.current=lp[Ml],lp[Ml]=null,Ml--)}function Ht(e,t){Ml++,lp[Ml]=e.current,e.current=t}var Lo=Bo(null),bc=Bo(null),jr=Bo(null),O0=Bo(null);function B0(e,t){switch(Ht(jr,t),Ht(bc,e),Ht(Lo,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?x8(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=x8(t),e=yg(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Da(Lo),Ht(Lo,e)}function Yl(){Da(Lo),Da(bc),Da(jr)}function sp(e){var t=e.memoizedState;t!==null&&(rs._currentValue=t.memoizedState,Ht(O0,e)),t=Lo.current;var a=yg(t,e.type);t!==a&&(Ht(bc,e),Ht(Lo,a))}function H0(e){bc.current===e&&(Da(Lo),Da(bc)),O0.current===e&&(Da(O0),rs._currentValue=Ci)}var ku,l7;function Dr(e){if(ku===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);ku=t&&t[1]||"",l7=-1<a.stack.indexOf(`
|
|
2
|
+
at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
|
|
3
|
+
`+ku+e+l7}var Su=!1;function Cu(e,t){if(!e||Su)return"";Su=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(t){var u=function(){throw Error()};if(Object.defineProperty(u.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(u,[])}catch(y){var p=y}Reflect.construct(e,[],u)}else{try{u.call()}catch(y){p=y}u=!1;try{var b=Object.getOwnPropertyDescriptor(e.prototype,"props");Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),u=!0,new e}finally{u&&(b!==void 0?Object.defineProperty(e.prototype,"props",b):delete e.prototype.props)}}}else{try{throw Error()}catch(y){p=y}(u=e())&&typeof u.catch=="function"&&u.catch(function(){})}}catch(y){if(y&&p&&typeof y.stack=="string")return[y.stack,p.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var r=n.DetermineComponentFrameRoot(),i=r[0],l=r[1];if(i&&l){var s=i.split(`
|
|
4
|
+
`),c=l.split(`
|
|
5
|
+
`);for(o=n=0;n<s.length&&!s[n].includes("DetermineComponentFrameRoot");)n++;for(;o<c.length&&!c[o].includes("DetermineComponentFrameRoot");)o++;if(n===s.length||o===c.length)for(n=s.length-1,o=c.length-1;1<=n&&0<=o&&s[n]!==c[o];)o--;for(;1<=n&&0<=o;n--,o--)if(s[n]!==c[o]){if(n!==1||o!==1)do if(n--,o--,0>o||s[n]!==c[o]){var d=`
|
|
6
|
+
`+s[n].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),d}while(1<=n&&0<=o);break}}}finally{Su=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?Dr(a):""}function Hv(e,t){switch(e.tag){case 26:case 27:case 5:return Dr(e.type);case 16:return Dr("Lazy");case 13:return e.child!==t&&t!==null?Dr("Suspense Fallback"):Dr("Suspense");case 19:return Dr("SuspenseList");case 0:case 15:return Cu(e.type,!1);case 11:return Cu(e.type.render,!1);case 1:return Cu(e.type,!0);case 31:return Dr("Activity");case 30:return Dr("ViewTransition");default:return""}}function s7(e){try{var t="",a=null;do t+=Hv(e,a),a=e,e=e.return;while(e);return t}catch(n){return`
|
|
7
|
+
Error generating stack: `+n.message+`
|
|
8
|
+
`+n.stack}}var cp=Object.prototype.hasOwnProperty,p3=ba.unstable_scheduleCallback,Tu=ba.unstable_cancelCallback,jv=ba.unstable_shouldYield,Uv=ba.unstable_requestPaint,kn=ba.unstable_now,_v=ba.unstable_getCurrentPriorityLevel,J8=ba.unstable_ImmediatePriority,X8=ba.unstable_UserBlockingPriority,j0=ba.unstable_NormalPriority,Zv=ba.unstable_LowPriority,Q8=ba.unstable_IdlePriority,Vv=ba.log,Gv=ba.unstable_setDisableYieldValue,Rc=null,Sn=null;function Rr(e){if(typeof Vv=="function"&&Gv(e),Sn&&typeof Sn.setStrictMode=="function")try{Sn.setStrictMode(Rc,e)}catch{}}var Cn=Math.clz32?Math.clz32:Wv,qv=Math.log,Fv=Math.LN2;function Wv(e){return e>>>=0,e===0?32:31-(qv(e)/Fv|0)|0}var X1=256,Q1=262144,$1=4194304;function vi(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function u2(e,t,a){var n=e.pendingLanes;if(n===0)return 0;var o=0,r=e.suspendedLanes,i=e.pingedLanes;e=e.warmLanes;var l=n&134217727;return l!==0?(n=l&~r,n!==0?o=vi(n):(i&=l,i!==0?o=vi(i):a||(a=l&~e,a!==0&&(o=vi(a))))):(l=n&~r,l!==0?o=vi(l):i!==0?o=vi(i):a||(a=n&~e,a!==0&&(o=vi(a)))),o===0?0:t!==0&&t!==o&&(t&r)===0&&(r=o&-o,a=t&-t,r>=a||r===32&&(a&4194048)!==0)?t:o}function Lc(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function $8(e,t){(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var n=31-Cn(a),o=1<<n;t|=e[n],a&=~o}return t}function Kv(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function e9(){var e=$1;return $1<<=1,($1&62914560)===0&&($1=4194304),e}function zu(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function Pc(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Yv(e,t,a,n,o,r){var i=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var l=e.entanglements,s=e.expirationTimes,c=e.hiddenUpdates;for(a=i&~a;0<a;){var d=31-Cn(a),u=1<<d;l[d]=0,s[d]=-1;var p=c[d];if(p!==null)for(c[d]=null,d=0;d<p.length;d++){var b=p[d];b!==null&&(b.lane&=-536870913)}a&=~u}n!==0&&t9(e,n,0),r!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=r&~(i&~t))}function t9(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var n=31-Cn(t);e.entangledLanes|=t,e.entanglements[n]=e.entanglements[n]|1073741824|a&261930}function a9(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var n=31-Cn(a),o=1<<n;o&t|e[n]&t&&(e[n]|=t),a&=~o}}function n9(e,t){var a=t&-t;return a=(a&42)!==0?1:m3(a),(a&(e.suspendedLanes|t))!==0?0:a}function m3(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function f3(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function o9(){var e=vt.p;return e!==0?e:(e=window.event,e===void 0?32:Ug(e.type))}function c7(e,t){var a=vt.p;try{return vt.p=e,t()}finally{vt.p=a}}var lr=Math.random().toString(36).slice(2),za="__reactFiber$"+lr,un="__reactProps$"+lr,ss="__reactContainer$"+lr,d7="__reactEvents$"+lr,Jv="__reactListeners$"+lr,Xv="__reactHandles$"+lr,u7="__reactResources$"+lr,Oc="__reactMarker$"+lr,U0="__reactLoad$"+lr;function p2(e){delete e[za],delete e[un],delete e[Jv],delete e[Xv]}function ki(e){var t;if(t=e[za])return t;for(var a=e.parentNode;a;){if(t=a[ss]||a[za]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=D8(e);e!==null;){if(a=e[za])return a;e=D8(e)}return t}e=a,a=e.parentNode}return null}function cs(e){if(e=e[za]||e[ss]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function ec(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(ee(33))}function jl(e){var t=e[u7];return t||(t=e[u7]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function ka(e){e[Oc]=!0}function r9(e){e[U0]=void 0}var i9=new Set,l9={};function Hi(e,t){Jl(e,t),Jl(e+"Capture",t)}function Jl(e,t){for(l9[e]=t,e=0;e<t.length;e++)i9.add(t[e])}var Qv=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),p7={},m7={};function $v(e){return cp.call(m7,e)?!0:cp.call(p7,e)?!1:Qv.test(e)?m7[e]=!0:(p7[e]=!0,!1)}var bt=!1;function f7(){var e=bt;return bt=!1,e}function h0(e,t,a){if($v(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var n=t.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,a)}}function e0(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,a)}}function Yo(e,t,a,n){if(n===null)e.removeAttribute(a);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,n)}}function yn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function s9(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ex(e,t,a){var n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,r=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){a=""+i,r.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(i){a=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function dp(e){if(!e._valueTracker){var t=s9(e)?"checked":"value";e._valueTracker=ex(e,t,""+e[t])}}function c9(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),n="";return e&&(n=s9(e)?e.checked?"true":"false":e.value),e=n,e!==a?(t.setValue(e),!0):!1}var tx=/[\n"\\]/g;function qn(e){return e.replace(tx,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function up(e,t,a,n,o,r,i,l){e.name="",i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?e.type=i:e.removeAttribute("type"),t!=null?i==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+yn(t)):e.value!==""+yn(t)&&(e.value=""+yn(t)):i!=="submit"&&i!=="reset"||e.removeAttribute("value"),t!=null?i==="number"&&e.value==t?Eu(e,yn(e.value)):Eu(e,yn(t)):a!=null?Eu(e,yn(a)):n!=null&&e.removeAttribute("value"),o==null&&r!=null&&(e.defaultChecked=!!r),o!=null&&(e.checked=o&&typeof o!="function"&&typeof o!="symbol"),l!=null&&typeof l!="function"&&typeof l!="symbol"&&typeof l!="boolean"?e.name=""+yn(l):e.removeAttribute("name")}function d9(e,t,a,n,o,r,i,l){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(e.type=r),t!=null||a!=null){if(!(r!=="submit"&&r!=="reset"||t!=null)){dp(e);return}a=a!=null?""+yn(a):"",t=t!=null?""+yn(t):a,l||t===e.value||(e.value=t),e.defaultValue=t}n=n??o,n=typeof n!="function"&&typeof n!="symbol"&&!!n,e.checked=l?e.checked:!!n,e.defaultChecked=!!n,i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.name=i),dp(e)}function Eu(e,t){e.defaultValue!==""+t&&(e.defaultValue=""+t)}function Ul(e,t,a,n){if(e=e.options,t){t={};for(var o=0;o<a.length;o++)t["$"+a[o]]=!0;for(a=0;a<e.length;a++)o=t.hasOwnProperty("$"+e[a].value),e[a].selected!==o&&(e[a].selected=o),o&&n&&(e[a].defaultSelected=!0)}else{for(a=""+yn(a),t=null,o=0;o<e.length;o++){if(e[o].value===a){e[o].selected=!0,n&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function u9(e,t,a){if(t!=null&&(t=""+yn(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+yn(a):""}function p9(e,t,a,n){if(t==null){if(n!=null){if(a!=null)throw Error(ee(92));if($s(n)){if(1<n.length)throw Error(ee(93));n=n[0]}a=n}a==null&&(a=""),t=a}a=yn(t),e.defaultValue=a,n=e.textContent,n===a&&n!==""&&n!==null&&(e.value=n),dp(e)}function Xl(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var ax=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function g7(e,t,a){var n=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?n?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":n?e.setProperty(t,a):typeof a!="number"||a===0||ax.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function m9(e,t,a){if(t!=null&&typeof t!="object")throw Error(ee(62));if(e=e.style,a!=null){for(var n in a)!a.hasOwnProperty(n)||t!=null&&t.hasOwnProperty(n)||(n.indexOf("--")===0?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="",bt=!0);for(var o in t)n=t[o],t.hasOwnProperty(o)&&a[o]!==n&&(g7(e,o,n),bt=!0)}else for(var r in t)t.hasOwnProperty(r)&&g7(e,r,t[r])}function g3(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var nx=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["maskType","mask-type"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),ox=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function y0(e){return ox.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Ao(){}var pp=null;function b3(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Nl=null,_l=null;function b7(e){var t=cs(e);if(t&&(e=t.stateNode)){var a=e[un]||null;e:switch(e=t.stateNode,t.type){case"input":if(up(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+qn(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var n=a[t];if(n!==e&&n.form===e.form){var o=n[un]||null;if(!o)throw Error(ee(90));up(n,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<a.length;t++)n=a[t],n.form===e.form&&c9(n)}break e;case"textarea":u9(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&Ul(e,!!a.multiple,t,!1)}}}var Du=!1;function f9(e,t,a){if(Du)return e(t,a);Du=!0;try{var n=e(t);return n}finally{if(Du=!1,(Nl!==null||_l!==null)&&(z2(),Nl&&(t=Nl,e=_l,_l=Nl=null,b7(t),e)))for(t=0;t<e.length;t++)b7(e[t])}}function hc(e,t){var a=e.stateNode;if(a===null)return null;var n=a[un]||null;if(n===null)return null;a=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(ee(231,t,typeof a));return a}var tr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),mp=!1;if(tr)try{wl={},Object.defineProperty(wl,"passive",{get:function(){mp=!0}}),window.addEventListener("test",wl,wl),window.removeEventListener("test",wl,wl)}catch{mp=!1}var wl,Lr=null,h3=null,v0=null;function g9(){if(v0)return v0;var e,t=h3,a=t.length,n,o="value"in Lr?Lr.value:Lr.textContent,r=o.length;for(e=0;e<a&&t[e]===o[e];e++);var i=a-e;for(n=1;n<=i&&t[a-n]===o[r-n];n++);return v0=o.slice(e,1<n?1-n:void 0)}function x0(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function t0(){return!0}function h7(){return!1}function en(e){function t(a,n,o,r,i){this._reactName=a,this._targetInst=o,this.type=n,this.nativeEvent=r,this.target=i,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(a=e[l],this[l]=a?a(r):r[l]);return this.isDefaultPrevented=(r.defaultPrevented!=null?r.defaultPrevented:r.returnValue===!1)?t0:h7,this.isPropagationStopped=h7,this}return Rt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=t0)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=t0)},persist:function(){},isPersistent:t0}),t}var ei={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},m2=en(ei),Bc=Rt({},ei,{view:0,detail:0}),rx=en(Bc),Mu,Nu,Ws,f2=Rt({},Bc,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:y3,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==Ws&&(Ws&&e.type==="mousemove"?(Mu=e.screenX-Ws.screenX,Nu=e.screenY-Ws.screenY):Nu=Mu=0,Ws=e),Mu)},movementY:function(e){return"movementY"in e?e.movementY:Nu}}),y7=en(f2),ix=Rt({},f2,{dataTransfer:0}),lx=en(ix),sx=Rt({},Bc,{relatedTarget:0}),Au=en(sx),cx=Rt({},ei,{animationName:0,elapsedTime:0,pseudoElement:0}),dx=en(cx),ux=Rt({},ei,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),px=en(ux),mx=Rt({},ei,{data:0}),v7=en(mx),fx={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},gx={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},bx={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function hx(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=bx[e])?!!t[e]:!1}function y3(){return hx}var yx=Rt({},Bc,{key:function(e){if(e.key){var t=fx[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=x0(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?gx[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:y3,charCode:function(e){return e.type==="keypress"?x0(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?x0(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),vx=en(yx),xx=Rt({},f2,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),x7=en(xx),wx=Rt({},ei,{submitter:0}),kx=en(wx),Sx=Rt({},Bc,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:y3}),Cx=en(Sx),Tx=Rt({},ei,{propertyName:0,elapsedTime:0,pseudoElement:0}),zx=en(Tx),Ex=Rt({},f2,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Dx=en(Ex),Mx=Rt({},ei,{newState:0,oldState:0,source:0}),Nx=en(Mx),Ax=[9,13,27,32],v3=tr&&"CompositionEvent"in window,nc=null;tr&&"documentMode"in document&&(nc=document.documentMode);var Ix=tr&&"TextEvent"in window&&!nc,b9=tr&&(!v3||nc&&8<nc&&11>=nc),w7=" ",k7=!1;function h9(e,t){switch(e){case"keyup":return Ax.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function y9(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Al=!1;function Rx(e,t){switch(e){case"compositionend":return y9(t);case"keypress":return t.which!==32?null:(k7=!0,w7);case"textInput":return e=t.data,e===w7&&k7?null:e;default:return null}}function Lx(e,t){if(Al)return e==="compositionend"||!v3&&h9(e,t)?(e=g9(),v0=h3=Lr=null,Al=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return b9&&t.locale!=="ko"?null:t.data;default:return null}}var Px={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function S7(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Px[e.type]:t==="textarea"}function v9(e,t,a,n){Nl?_l?_l.push(n):_l=[n]:Nl=n,t=s2(t,"onChange"),0<t.length&&(a=new m2("onChange","change",null,a,n),e.push({event:a,listeners:t}))}var oc=null,yc=null;function Ox(e){gg(e,0)}function g2(e){var t=ec(e);if(c9(t))return e}function C7(e,t){if(e==="change")return t}var x9=!1;tr&&(tr?(n0="oninput"in document,n0||(Iu=document.createElement("div"),Iu.setAttribute("oninput","return;"),n0=typeof Iu.oninput=="function"),a0=n0):a0=!1,x9=a0&&(!document.documentMode||9<document.documentMode));var a0,n0,Iu;function T7(){oc&&(oc.detachEvent("onpropertychange",w9),yc=oc=null)}function w9(e){if(e.propertyName==="value"&&g2(yc)){var t=[];v9(t,yc,e,b3(e)),f9(Ox,t)}}function Bx(e,t,a){e==="focusin"?(T7(),oc=t,yc=a,oc.attachEvent("onpropertychange",w9)):e==="focusout"&&T7()}function Hx(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return g2(yc)}function jx(e,t){if(e==="click")return g2(t)}function Ux(e,t){if(e==="input"||e==="change")return g2(t)}function _x(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var zn=typeof Object.is=="function"?Object.is:_x;function vc(e,t){if(zn(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),n=Object.keys(t);if(a.length!==n.length)return!1;for(n=0;n<a.length;n++){var o=a[n];if(!cp.call(t,o)||!zn(e[o],t[o]))return!1}return!0}function fp(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function z7(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function E7(e,t){var a=z7(e);e=0;for(var n;a;){if(a.nodeType===3){if(n=e+a.textContent.length,e<=t&&n>=t)return{node:a,offset:t-e};e=n}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=z7(a)}}function k9(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?k9(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function S9(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=fp(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=fp(e.document)}return t}function x3(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Zx=tr&&"documentMode"in document&&11>=document.documentMode,Il=null,gp=null,rc=null,bp=!1;function D7(e,t,a){var n=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;bp||Il==null||Il!==fp(n)||(n=Il,"selectionStart"in n&&x3(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),rc&&vc(rc,n)||(rc=n,n=s2(gp,"onSelect"),0<n.length&&(t=new m2("onSelect","select",null,t,a),e.push({event:t,listeners:n}),t.target=Il)))}function hi(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var Rl={animationend:hi("Animation","AnimationEnd"),animationiteration:hi("Animation","AnimationIteration"),animationstart:hi("Animation","AnimationStart"),transitionrun:hi("Transition","TransitionRun"),transitionstart:hi("Transition","TransitionStart"),transitioncancel:hi("Transition","TransitionCancel"),transitionend:hi("Transition","TransitionEnd")},Ru={},C9={};tr&&(C9=document.createElement("div").style,"AnimationEvent"in window||(delete Rl.animationend.animation,delete Rl.animationiteration.animation,delete Rl.animationstart.animation),"TransitionEvent"in window||delete Rl.transitionend.transition);function ji(e){if(Ru[e])return Ru[e];if(!Rl[e])return e;var t=Rl[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in C9)return Ru[e]=t[a];return e}var T9=ji("animationend"),z9=ji("animationiteration"),E9=ji("animationstart"),Vx=ji("transitionrun"),Gx=ji("transitionstart"),qx=ji("transitioncancel"),D9=ji("transitionend"),M9=new Map,hp="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");hp.push("scrollEnd");function io(e,t){M9.set(e,t),Hi(t,[e])}var Fx=0;function ar(e,t){if(e.name!=null&&e.name!=="auto")return e.name;if(t.autoName!==null)return t.autoName;e=ro.identifierPrefix;var a=Fx++;return e="_"+e+"t_"+a.toString(32)+"_",t.autoName=e}function M7(e){if(e==null||typeof e=="string")return e;var t=null,a=Kl;if(a!==null)for(var n=0;n<a.length;n++){var o=e[a[n]];if(o!=null){if(o==="none")return"none";t=t==null?o:t+(" "+o)}}return t??e.default}function sr(e,t){return e=M7(e),t=M7(t),t==null?e==="auto"?null:e:t==="auto"?null:t}var _0=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Zn=[],Ll=0,w3=0;function b2(){for(var e=Ll,t=w3=Ll=0;t<e;){var a=Zn[t];Zn[t++]=null;var n=Zn[t];Zn[t++]=null;var o=Zn[t];Zn[t++]=null;var r=Zn[t];if(Zn[t++]=null,n!==null&&o!==null){var i=n.pending;i===null?o.next=o:(o.next=i.next,i.next=o),n.pending=o}r!==0&&N9(a,o,r)}}function h2(e,t,a,n){Zn[Ll++]=e,Zn[Ll++]=t,Zn[Ll++]=a,Zn[Ll++]=n,w3|=n,e.lanes|=n,e=e.alternate,e!==null&&(e.lanes|=n)}function k3(e,t,a,n){return h2(e,t,a,n),Z0(e)}function Ui(e,t){return h2(e,null,null,t),Z0(e)}function N9(e,t,a){e.lanes|=a;var n=e.alternate;n!==null&&(n.lanes|=a);for(var o=!1,r=e.return;r!==null;)r.childLanes|=a,n=r.alternate,n!==null&&(n.childLanes|=a),r.tag===22&&(e=r.stateNode,e===null||e._visibility&1||(o=!0)),e=r,r=r.return;return e.tag===3?(r=e.stateNode,o&&t!==null&&(o=31-Cn(a),e=r.hiddenUpdates,n=e[o],n===null?e[o]=[t]:n.push(t),t.lane=a|536870912),r):null}function Z0(e){if(50<gc)throw gc=0,N0=null,Error(ee(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var Pl={};function Wx(e,t,a,n){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function sn(e,t,a,n){return new Wx(e,t,a,n)}function S3(e){return e=e.prototype,!(!e||!e.isReactComponent)}function $o(e,t){var a=e.alternate;return a===null?(a=sn(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&1206910976,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function A9(e,t){e.flags&=1206910978;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function w0(e,t,a,n,o,r){var i=0;if(n=e,typeof n=="function")S3(n)&&(i=1);else if(typeof n=="string")i=vk(e,a,Lo.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(n){case op:return e=sn(31,a,t,o),e.elementType=op,e.lanes=r,e;case Dl:return Ti(a.children,o,r,t);case K8:i=8,o|=24;break;case tp:return e=sn(12,a,t,o|2),e.elementType=tp,e.lanes=r,e;case ap:return e=sn(13,a,t,o),e.elementType=ap,e.lanes=r,e;case np:return e=sn(19,a,t,o),e.elementType=np,e.lanes=r,e;case Lv:case rp:return e=o|32,e=sn(30,a,t,e),e.elementType=rp,e.lanes=r,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case No:i=10;break e;case Y8:i=9;break e;case d3:i=11;break e;case u3:i=14;break e;case Nr:i=16,n=null;break e}i=29,a=Error(ee(130,e===null?"null":typeof e,"")),n=null}return t=sn(i,a,t,o),t.elementType=e,t.type=n,t.lanes=r,t}function Ti(e,t,a,n){return e=sn(7,e,n,t),e.lanes=a,e}function Lu(e,t,a){return e=sn(6,e,null,t),e.lanes=a,e}function I9(e){var t=sn(18,null,null,0);return t.stateNode=e,t}function Pu(e,t,a){return t=sn(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var N7=new WeakMap;function Fn(e,t){if(typeof e=="object"&&e!==null){var a=N7.get(e);return a!==void 0?a:(t={value:e,source:t,stack:s7(t)},N7.set(e,t),t)}return{value:e,source:t,stack:s7(t)}}var Ol=[],Bl=0,V0=null,xc=0,Vn=[],Gn=0,Yr=null,Io=1,Ro="";function Xo(e,t){Ol[Bl++]=xc,Ol[Bl++]=V0,V0=e,xc=t}function R9(e,t,a){Vn[Gn++]=Io,Vn[Gn++]=Ro,Vn[Gn++]=Yr,Yr=e;var n=Io;e=Ro;var o=32-Cn(n)-1;n&=~(1<<o),a+=1;var r=32-Cn(t)+o;if(30<r){var i=o-o%5;r=(n&(1<<i)-1).toString(32),n>>=i,o-=i,Io=1<<32-Cn(t)+o|a<<o|n,Ro=r+e}else Io=1<<r|a<<o|n,Ro=e}function y2(e){e.return!==null&&(Xo(e,1),R9(e,1,0))}function C3(e){for(;e===V0;)V0=Ol[--Bl],Ol[Bl]=null,xc=Ol[--Bl],Ol[Bl]=null;for(;e===Yr;)Yr=Vn[--Gn],Vn[Gn]=null,Ro=Vn[--Gn],Vn[Gn]=null,Io=Vn[--Gn],Vn[Gn]=null}function L9(e,t){Vn[Gn++]=Io,Vn[Gn++]=Ro,Vn[Gn++]=Yr,Io=t.id,Ro=t.overflow,Yr=e}var Sa=null,Bt=null,nt=!1,Ur=null,Wn=!1,yp=Error(ee(519));function Jr(e){var t=Error(ee(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw wc(Fn(t,e)),yp}function A7(e){var t=e.stateNode,a=e.type,n=e.memoizedProps;switch(t[za]=e,t[un]=n,a){case"dialog":lt("cancel",t),lt("close",t);break;case"iframe":case"object":case"embed":lt("load",t);break;case"video":case"audio":for(a=0;a<Tc.length;a++)lt(Tc[a],t);break;case"source":lt("error",t);break;case"img":case"image":case"link":lt("error",t),lt("load",t);break;case"details":lt("toggle",t);break;case"input":lt("invalid",t),d9(t,n.value,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name,!0);break;case"select":lt("invalid",t);break;case"textarea":lt("invalid",t),p9(t,n.value,n.defaultValue,n.children)}a=n.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||n.suppressHydrationWarning===!0||hg(t.textContent,a)?(n.popover!=null&&(lt("beforetoggle",t),lt("toggle",t)),n.onScroll!=null&<("scroll",t),n.onScrollEnd!=null&<("scrollend",t),n.onClick!=null&&(t.onclick=Ao),t=!0):t=!1,t||Jr(e,!0)}function G0(e){for(Sa=e.return;Sa;)switch(Sa.tag){case 5:case 31:case 13:Wn=!1;return;case 27:case 3:Wn=!0;return;default:Sa=Sa.return}}function kl(e){if(e!==Sa)return!1;if(!nt)return G0(e),nt=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||a3(e.type,e.memoizedProps)),a=!a),a&&Bt&&Jr(e),G0(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(ee(317));Bt=E8(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(ee(317));Bt=E8(e)}else t===27?(t=Bt,ti(e.type)?(e=i3,i3=null,Bt=e):Bt=t):Bt=Sa?Kn(e.stateNode.nextSibling):null;return!0}function Mi(){Bt=Sa=null,nt=!1}function Ou(){var e=Ur;return e!==null&&(rn===null?rn=e:rn.push.apply(rn,e),Ur=null),e}function wc(e){Ur===null?Ur=[e]:Ur.push(e)}var vp=Bo(null),_i=null,Qo=null;function Pr(e,t,a){Ht(vp,t._currentValue),t._currentValue=a}function er(e){e._currentValue=vp.current,Da(vp)}function k0(e,t,a){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===a)break;e=e.return}}function xp(e,t,a,n){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var r=o.dependencies;if(r!==null){var i=o.child;r=r.firstContext;e:for(;r!==null;){var l=r;r=o;for(var s=0;s<t.length;s++)if(l.context===t[s]){r.lanes|=a,l=r.alternate,l!==null&&(l.lanes|=a),k0(r.return,a,e),n||(i=null);break e}r=l.next}}else if(o.tag===18){if(i=o.return,i===null)throw Error(ee(341));i.lanes|=a,r=i.alternate,r!==null&&(r.lanes|=a),k0(i,a,e),i=null}else o.tag===13&&o.memoizedState!==null&&o.memoizedState.dehydrated===null?(o.lanes|=a,i=o.alternate,i!==null&&(i.lanes|=a),k0(o.return,a,e),i=o.child,i=i!==null?i.sibling:null):i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===e){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}}function Ni(e,t,a,n){e=null;for(var o=t,r=!1;o!==null;){if(!r){if((o.flags&524288)!==0)r=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var i=o.alternate;if(i===null)throw Error(ee(387));if(i=i.memoizedProps,i!==null){var l=o.type;zn(o.pendingProps.value,i.value)||(e!==null?e.push(l):e=[l])}}else if(o===O0.current){if(i=o.alternate,i===null)throw Error(ee(387));i.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push(rs):e=[rs])}o=o.return}return e!==null&&xp(t,e,a,n),t.flags|=262144,e!==null}function q0(e){for(e=e.firstContext;e!==null;){if(!zn(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Ai(e){_i=e,Qo=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Ea(e){return P9(_i,e)}function o0(e,t){return _i===null&&Ai(e),P9(e,t)}function P9(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},Qo===null){if(e===null)throw Error(ee(308));Qo=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Qo=Qo.next=t;return a}var Kx=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},Yx=ba.unstable_scheduleCallback,Jx=ba.unstable_NormalPriority,ca={$$typeof:No,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function T3(){return{controller:new Kx,data:new Map,refCount:0}}function Hc(e){e.refCount--,e.refCount===0&&Yx(Jx,function(){e.controller.abort()})}function I7(e,t){if((e.pendingLanes&4194048)!==0){var a=e.transitionTypes;for(a===null&&(a=e.transitionTypes=[]),e=0;e<t.length;e++){var n=t[e];a.indexOf(n)===-1&&a.push(n)}}}var tc=null;function Xx(e){var t=e.transitionTypes;return e.transitionTypes=null,t}var ic=null,wp=0,Ii=0,Zl=null;function Qx(e,t){if(ic===null){var a=ic=[];wp=0,Ii=$3(),Zl={status:"pending",value:void 0,then:function(n){a.push(n)}}}return wp++,t.then(R7,R7),t}function R7(){if(--wp===0&&(tc=null,ic!==null)){Zl!==null&&(Zl.status="fulfilled");var e=ic;ic=null,Ii=0,Zl=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function $x(e,t){var a=[],n={status:"pending",value:null,reason:null,then:function(o){a.push(o)}};return e.then(function(){n.status="fulfilled",n.value=t;for(var o=0;o<a.length;o++)(0,a[o])(t)},function(o){for(n.status="rejected",n.reason=o,o=0;o<a.length;o++)(0,a[o])(void 0)}),n}var L7=Ue.S;Ue.S=function(e,t){if(eg=kn(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&Qx(e,t),tc!==null)for(var a=as;a!==null;)I7(a,tc),a=a.next;if(a=e.types,a!==null){for(var n=as;n!==null;)I7(n,a),n=n.next;if(Ii!==0){n=tc,n===null&&(n=tc=[]);for(var o=0;o<a.length;o++){var r=a[o];n.indexOf(r)===-1&&n.push(r)}}}L7!==null&&L7(e,t)};var zi=Bo(null);function z3(){var e=zi.current;return e!==null?e:It.pooledCache}function S0(e,t){t===null?Ht(zi,zi.current):Ht(zi,t.pool)}function O9(){var e=z3();return e===null?null:{parent:ca._currentValue,pool:e}}var ds=Error(ee(460)),E3=Error(ee(474)),v2=Error(ee(542)),F0={then:function(){}};function P7(e){return e=e.status,e==="fulfilled"||e==="rejected"}function B9(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(Ao,Ao),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,B7(e),e===void 0&&!("reason"in t)?Error(ee(600)):e;default:if(typeof t.status=="string")t.then(Ao,Ao);else{if(e=It,e!==null&&100<e.shellSuspendCounter)throw Error(ee(482));e=t,e.status="pending",e.then(function(n){if(t.status==="pending"){var o=t;o.status="fulfilled",o.value=n}},function(n){if(t.status==="pending"){var o=t;o.status="rejected",o.reason=n}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,B7(e),e}throw Ei=t,ds}}function xi(e){try{var t=e._init;return t(e._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(Ei=a,ds):a}}var Ei=null;function O7(){if(Ei===null)throw Error(ee(459));var e=Ei;return Ei=null,e}function B7(e){if(e===ds||e===v2)throw Error(ee(483))}var Vl=null,kc=0;function r0(e){var t=kc;return kc+=1,Vl===null&&(Vl=[]),B9(Vl,e,t)}function Er(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function i0(e,t){throw t.$$typeof===Rv?Error(ee(525)):(e=Object.prototype.toString.call(t),Error(ee(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function H9(e){function t(h,m){if(e){var v=h.deletions;v===null?(h.deletions=[m],h.flags|=16):v.push(m)}}function a(h,m){if(!e)return null;for(;m!==null;)t(h,m),m=m.sibling;return null}function n(h){for(var m=new Map;h!==null;)h.key===null?m.set(h.index,h):m.set(h.key,h),h=h.sibling;return m}function o(h,m){return h=$o(h,m),h.index=0,h.sibling=null,h}function r(h,m,v){return h.index=v,e?(v=h.alternate,v!==null?(v=v.index,v<m?(h.flags|=2,m):v):(h.flags|=134217730,m)):(h.flags|=1048576,m)}function i(h){return e&&h.alternate===null&&(h.flags|=134217730),h}function l(h,m,v,T){return m===null||m.tag!==6?(m=Lu(v,h.mode,T),m.return=h,m):(m=o(m,v),m.return=h,m)}function s(h,m,v,T){var x=v.type;return x===Dl?(h=d(h,m,v.props.children,T,v.key),Er(h,v),h):m!==null&&(m.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Nr&&xi(x)===m.type)?(m=o(m,v.props),Er(m,v),m.return=h,m):(m=w0(v.type,v.key,v.props,null,h.mode,T),Er(m,v),m.return=h,m)}function c(h,m,v,T){return m===null||m.tag!==4||m.stateNode.containerInfo!==v.containerInfo||m.stateNode.implementation!==v.implementation?(m=Pu(v,h.mode,T),m.return=h,m):(m=o(m,v.children||[]),m.return=h,m)}function d(h,m,v,T,x){return m===null||m.tag!==7?(m=Ti(v,h.mode,T,x),m.return=h,m):(m=o(m,v),m.return=h,m)}function u(h,m,v){if(typeof m=="string"&&m!==""||typeof m=="number"||typeof m=="bigint")return m=Lu(""+m,h.mode,v),m.return=h,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case J1:return v=w0(m.type,m.key,m.props,null,h.mode,v),Er(v,m),v.return=h,v;case Qs:return m=Pu(m,h.mode,v),m.return=h,m;case Nr:return m=xi(m),u(h,m,v)}if($s(m)||Fs(m))return m=Ti(m,h.mode,v,null),m.return=h,m;if(typeof m.then=="function")return u(h,r0(m),v);if(m.$$typeof===No)return u(h,o0(h,m),v);i0(h,m)}return null}function p(h,m,v,T){var x=m!==null?m.key:null;if(typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint")return x!==null?null:l(h,m,""+v,T);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case J1:return v.key===x?s(h,m,v,T):null;case Qs:return v.key===x?c(h,m,v,T):null;case Nr:return v=xi(v),p(h,m,v,T)}if($s(v)||Fs(v))return x!==null?null:d(h,m,v,T,null);if(typeof v.then=="function")return p(h,m,r0(v),T);if(v.$$typeof===No)return p(h,m,o0(h,v),T);i0(h,v)}return null}function b(h,m,v,T,x){if(typeof T=="string"&&T!==""||typeof T=="number"||typeof T=="bigint")return h=h.get(v)||null,l(m,h,""+T,x);if(typeof T=="object"&&T!==null){switch(T.$$typeof){case J1:return h=h.get(T.key===null?v:T.key)||null,s(m,h,T,x);case Qs:return h=h.get(T.key===null?v:T.key)||null,c(m,h,T,x);case Nr:return T=xi(T),b(h,m,v,T,x)}if($s(T)||Fs(T))return h=h.get(v)||null,d(m,h,T,x,null);if(typeof T.then=="function")return b(h,m,v,r0(T),x);if(T.$$typeof===No)return b(h,m,v,o0(m,T),x);i0(m,T)}return null}function y(h,m,v,T){for(var x=null,E=null,P=m,U=m=0,S=null;P!==null&&U<v.length;U++){P.index>U?(S=P,P=null):S=P.sibling;var k=p(h,P,v[U],T);if(k===null){P===null&&(P=S);break}e&&P&&k.alternate===null&&t(h,P),m=r(k,m,U),E===null?x=k:E.sibling=k,E=k,P=S}if(U===v.length)return a(h,P),nt&&Xo(h,U),x;if(P===null){for(;U<v.length;U++)P=u(h,v[U],T),P!==null&&(m=r(P,m,U),E===null?x=P:E.sibling=P,E=P);return nt&&Xo(h,U),x}for(P=n(P);U<v.length;U++)S=b(P,h,U,v[U],T),S!==null&&(e&&(k=S.alternate,k!==null&&P.delete(k.key===null?U:k.key)),m=r(S,m,U),E===null?x=S:E.sibling=S,E=S);return e&&P.forEach(function(A){return t(h,A)}),nt&&Xo(h,U),x}function f(h,m,v,T){if(v==null)throw Error(ee(151));for(var x=null,E=null,P=m,U=m=0,S=null,k=v.next();P!==null&&!k.done;U++,k=v.next()){P.index>U?(S=P,P=null):S=P.sibling;var A=p(h,P,k.value,T);if(A===null){P===null&&(P=S);break}e&&P&&A.alternate===null&&t(h,P),m=r(A,m,U),E===null?x=A:E.sibling=A,E=A,P=S}if(k.done)return a(h,P),nt&&Xo(h,U),x;if(P===null){for(;!k.done;U++,k=v.next())k=u(h,k.value,T),k!==null&&(m=r(k,m,U),E===null?x=k:E.sibling=k,E=k);return nt&&Xo(h,U),x}for(P=n(P);!k.done;U++,k=v.next())k=b(P,h,U,k.value,T),k!==null&&(e&&(S=k.alternate,S!==null&&P.delete(S.key===null?U:S.key)),m=r(k,m,U),E===null?x=k:E.sibling=k,E=k);return e&&P.forEach(function(L){return t(h,L)}),nt&&Xo(h,U),x}function w(h,m,v,T){if(typeof v=="object"&&v!==null&&v.type===Dl&&v.key===null&&v.props.ref===void 0&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case J1:e:{for(var x=v.key;m!==null;){if(m.key===x){if(x=v.type,x===Dl){if(m.tag===7){a(h,m.sibling),T=o(m,v.props.children),Er(T,v),T.return=h,h=T;break e}}else if(m.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===Nr&&xi(x)===m.type){a(h,m.sibling),T=o(m,v.props),Er(T,v),T.return=h,h=T;break e}a(h,m);break}else t(h,m);m=m.sibling}v.type===Dl?(T=Ti(v.props.children,h.mode,T,v.key),Er(T,v),T.return=h,h=T):(T=w0(v.type,v.key,v.props,null,h.mode,T),Er(T,v),T.return=h,h=T)}return i(h);case Qs:e:{for(x=v.key;m!==null;){if(m.key===x)if(m.tag===4&&m.stateNode.containerInfo===v.containerInfo&&m.stateNode.implementation===v.implementation){a(h,m.sibling),T=o(m,v.children||[]),T.return=h,h=T;break e}else{a(h,m);break}else t(h,m);m=m.sibling}T=Pu(v,h.mode,T),T.return=h,h=T}return i(h);case Nr:return v=xi(v),w(h,m,v,T)}if($s(v))return y(h,m,v,T);if(Fs(v)){if(x=Fs(v),typeof x!="function")throw Error(ee(150));return v=x.call(v),f(h,m,v,T)}if(typeof v.then=="function")return w(h,m,r0(v),T);if(v.$$typeof===No)return w(h,m,o0(h,v),T);i0(h,v)}return typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint"?(v=""+v,m!==null&&m.tag===6?(a(h,m.sibling),T=o(m,v),T.return=h,h=T):(a(h,m),T=Lu(v,h.mode,T),T.return=h,h=T),i(h)):a(h,m)}return function(h,m,v,T){try{kc=0;var x=w(h,m,v,T);return Vl=null,x}catch(P){if(P===ds||P===v2)throw P;var E=sn(29,P,null,h.mode);return E.lanes=T,E.return=h,E}}}var Ri=H9(!0),j9=H9(!1),Ar=!1;function D3(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function kp(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function _r(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Zr(e,t,a){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,(yt&2)!==0){var o=n.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),n.pending=t,t=Z0(e),N9(e,null,a),t}return h2(e,n,t,a),Z0(e)}function lc(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var n=t.lanes;n&=e.pendingLanes,a|=n,t.lanes=a,a9(e,a)}}function Bu(e,t){var a=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,a===n)){var o=null,r=null;if(a=a.firstBaseUpdate,a!==null){do{var i={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};r===null?o=r=i:r=r.next=i,a=a.next}while(a!==null);r===null?o=r=t:r=r.next=t}else o=r=t;a={baseState:n.baseState,firstBaseUpdate:o,lastBaseUpdate:r,shared:n.shared,callbacks:n.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var Sp=!1;function sc(){if(Sp){var e=Zl;if(e!==null)throw e}}function cc(e,t,a,n){Sp=!1;var o=e.updateQueue;Ar=!1;var r=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(l!==null){o.shared.pending=null;var s=l,c=s.next;s.next=null,i===null?r=c:i.next=c,i=s;var d=e.alternate;d!==null&&(d=d.updateQueue,l=d.lastBaseUpdate,l!==i&&(l===null?d.firstBaseUpdate=c:l.next=c,d.lastBaseUpdate=s))}if(r!==null){var u=o.baseState;i=0,d=c=s=null,l=r;do{var p=l.lane&-536870913,b=p!==l.lane;if(b?(ct&p)===p:(n&p)===p){p!==0&&p===Ii&&(Sp=!0),d!==null&&(d=d.next={lane:0,tag:l.tag,payload:l.payload,callback:null,next:null});e:{var y=e,f=l;p=t;var w=a;switch(f.tag){case 1:if(y=f.payload,typeof y=="function"){u=y.call(w,u,p);break e}u=y;break e;case 3:y.flags=y.flags&-65537|128;case 0:if(y=f.payload,p=typeof y=="function"?y.call(w,u,p):y,p==null)break e;u=Rt({},u,p);break e;case 2:Ar=!0}}p=l.callback,p!==null&&(e.flags|=64,b&&(e.flags|=8192),b=o.callbacks,b===null?o.callbacks=[p]:b.push(p))}else b={lane:p,tag:l.tag,payload:l.payload,callback:l.callback,next:null},d===null?(c=d=b,s=u):d=d.next=b,i|=p;if(l=l.next,l===null){if(l=o.shared.pending,l===null)break;b=l,l=b.next,b.next=null,o.lastBaseUpdate=b,o.shared.pending=null}}while(!0);d===null&&(s=u),o.baseState=s,o.firstBaseUpdate=c,o.lastBaseUpdate=d,r===null&&(o.shared.lanes=0),$r|=i,e.lanes=i,e.memoizedState=u}}function U9(e,t){if(typeof e!="function")throw Error(ee(191,e));e.call(t)}function _9(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)U9(a[e],t)}var Xr=Bo(null),W0=Bo(0);function H7(e,t){e=ir,Ht(W0,e),Ht(Xr,t),ir=e|t.baseLanes}function Cp(){Ht(W0,ir),Ht(Xr,Xr.current)}function M3(){ir=W0.current,Da(Xr),Da(W0)}var Aa=Bo(null),Va=null;function Vr(e){var t=e.alternate;Ht(Ma,Ma.current&1),Ht(Aa,e),Va===null&&(t===null||Xr.current!==null||t.memoizedState!==null)&&(Va=e)}function Tp(e){Ht(Ma,Ma.current),Ht(Aa,e),Va===null&&(Va=e)}function Z9(e){e.tag===22?(Ht(Ma,Ma.current),Ht(Aa,e),Va===null&&(Va=e)):Gr()}function Gr(){Ht(Ma,Ma.current),Ht(Aa,Aa.current)}function vn(e){Da(Aa),Va===e&&(Va=null),Da(Ma)}var Ma=Bo(0);function Sc(e,t){Ht(Aa,Aa.current),Ht(Ma,t)}function N3(e){Da(Ma),Da(Aa),Va===e&&(Va=null)}function K0(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||r3(a)||n4(a)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!=="independent"){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var nr=0,Ye=null,At=null,sa=null,Y0=!1,Gl=!1,Li=!1,J0=0,Cc=0,ql=null,ew=0;function $t(){throw Error(ee(321))}function A3(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!zn(e[a],t[a]))return!1;return!0}function I3(e,t,a,n,o,r){return nr=r,Ye=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ue.H=e===null||e.memoizedState===null?xf:wf,Li=!1,r=a(n,o),Li=!1,Gl&&(r=G9(t,a,n,o)),V9(e),r}function V9(e){Ue.H=X0;var t=At!==null&&At.next!==null;if(nr=0,sa=At=Ye=null,Y0=!1,Cc=0,ql=null,t)throw Error(ee(300));e===null||da||(e=e.dependencies,e!==null&&q0(e)&&(da=!0))}function G9(e,t,a,n){Ye=e;var o=0;do{if(Gl&&(ql=null),Cc=0,Gl=!1,25<=o)throw Error(ee(301));if(o+=1,sa=At=null,e.updateQueue!=null){var r=e.updateQueue;r.lastEffect=null,r.events=null,r.stores=null,r.memoCache!=null&&(r.memoCache.index=0)}Ue.H=sw,r=t(a,n)}while(Gl);return r}function tw(){var e=Ue.H,t=e.useState()[0];return t=typeof t.then=="function"?jc(t):t,e=e.useState()[0],(At!==null?At.memoizedState:null)!==e&&(Ye.flags|=1024),t}function R3(){var e=J0!==0;return J0=0,e}function L3(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function P3(e){if(Y0){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}Y0=!1}nr=0,sa=At=Ye=null,Gl=!1,Cc=J0=0,ql=null}function $a(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return sa===null?Ye.memoizedState=sa=e:sa=sa.next=e,sa}function oa(){if(At===null){var e=Ye.alternate;e=e!==null?e.memoizedState:null}else e=At.next;var t=sa===null?Ye.memoizedState:sa.next;if(t!==null)sa=t,At=e;else{if(e===null)throw Ye.alternate===null?Error(ee(467)):Error(ee(310));At=e,e={memoizedState:At.memoizedState,baseState:At.baseState,baseQueue:At.baseQueue,queue:At.queue,next:null},sa===null?Ye.memoizedState=sa=e:sa=sa.next=e}return sa}function x2(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function jc(e){var t=Cc;return Cc+=1,ql===null&&(ql=[]),e=B9(ql,e,t),t=Ye,(sa===null?t.memoizedState:sa.next)===null&&(t=t.alternate,Ue.H=t===null||t.memoizedState===null?xf:wf),e}function w2(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return jc(e);if(e.$$typeof===Ov)return;if(e.$$typeof===No)return Ea(e)}throw Error(ee(438,String(e)))}function O3(e){var t=null,a=Ye.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var n=Ye.alternate;n!==null&&(n=n.updateQueue,n!==null&&(n=n.memoCache,n!=null&&(t={data:n.data.map(function(o){return o.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=x2(),Ye.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),n=0;n<e;n++)a[n]=Pv;return t.index++,a}function or(e,t){return typeof t=="function"?t(e):t}function C0(e){var t=oa();return B3(t,At,e)}function B3(e,t,a){var n=e.queue;if(n===null)throw Error(ee(311));n.lastRenderedReducer=a;var o=e.baseQueue,r=n.pending;if(r!==null){if(o!==null){var i=o.next;o.next=r.next,r.next=i}t.baseQueue=o=r,n.pending=null}if(r=e.baseState,o===null)e.memoizedState=r;else{t=o.next;var l=i=null,s=null,c=t,d=!1;do{var u=c.lane&-536870913;if(u!==c.lane?(ct&u)===u:(nr&u)===u){var p=c.revertLane;if(p===0)s!==null&&(s=s.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),u===Ii&&(d=!0);else if((nr&p)===p){c=c.next,p===Ii&&(d=!0);continue}else u={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},s===null?(l=s=u,i=r):s=s.next=u,Ye.lanes|=p,$r|=p;u=c.action,Li&&a(r,u),r=c.hasEagerState?c.eagerState:a(r,u)}else p={lane:u,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},s===null?(l=s=p,i=r):s=s.next=p,Ye.lanes|=u,$r|=u;c=c.next}while(c!==null&&c!==t);if(s===null?i=r:s.next=l,!zn(r,e.memoizedState)&&(da=!0,d&&(a=Zl,a!==null)))throw a;e.memoizedState=r,e.baseState=i,e.baseQueue=s,n.lastRenderedState=r}return o===null&&(n.lanes=0),[e.memoizedState,n.dispatch]}function Hu(e){var t=oa(),a=t.queue;if(a===null)throw Error(ee(311));a.lastRenderedReducer=e;var n=a.dispatch,o=a.pending,r=t.memoizedState;if(o!==null){a.pending=null;var i=o=o.next;do r=e(r,i.action),i=i.next;while(i!==o);zn(r,t.memoizedState)||(da=!0),t.memoizedState=r,t.baseQueue===null&&(t.baseState=r),a.lastRenderedState=r}return[r,n]}function q9(e,t,a){var n=Ye,o=oa(),r=nt;if(r){if(a===void 0)throw Error(ee(407));a=a()}else a=t();var i=!zn((At||o).memoizedState,a);if(i&&(o.memoizedState=a,da=!0),o=o.queue,H3(K9.bind(null,n,o,e),[e]),e=o.getSnapshot!==t||i||sa!==null&&(sa.memoizedState.tag&1)!==0,Ql(e?9:8,{destroy:void 0},W9.bind(null,n,o,a,t),null),e){if(n.flags|=2048,It===null)throw Error(ee(349));r||(nr&127)!==0||F9(n,t,a)}return a}function F9(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=Ye.updateQueue,t===null?(t=x2(),Ye.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function W9(e,t,a,n){t.value=a,t.getSnapshot=n,Y9(t)&&J9(e)}function K9(e,t,a){return a(function(){Y9(t)&&J9(e)})}function Y9(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!zn(e,a)}catch{return!0}}function J9(e){var t=Ui(e,2);t!==null&&cn(t,e,2)}function zp(e){var t=$a();if(typeof e=="function"){var a=e;if(e=a(),Li){Rr(!0);try{a()}finally{Rr(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:or,lastRenderedState:e},t}function X9(e,t,a,n){return e.baseState=a,B3(e,At,typeof n=="function"?n:or)}function aw(e,t,a,n,o){if(S2(e))throw Error(ee(485));if(e=t.action,e!==null){var r={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(i){r.listeners.push(i)}};Ue.T!==null?a(!0):r.isTransition=!1,n(r),a=t.pending,a===null?(r.next=t.pending=r,Q9(t,r)):(r.next=a.next,t.pending=a.next=r)}}function Q9(e,t){var a=t.action,n=t.payload,o=e.state;if(t.isTransition){var r=Ue.T,i={};i.types=r!==null?r.types:null,Ue.T=i;try{var l=a(o,n),s=Ue.S;s!==null&&s(i,l),j7(e,t,l)}catch(c){Ep(e,t,c)}finally{r!==null&&i.types!==null&&(r.types=i.types),Ue.T=r}}else try{r=a(o,n),j7(e,t,r)}catch(c){Ep(e,t,c)}}function j7(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(n){U7(e,t,n)},function(n){return Ep(e,t,n)}):U7(e,t,a)}function U7(e,t,a){t.status="fulfilled",t.value=a,$9(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,Q9(e,a)))}function Ep(e,t,a){var n=e.pending;if(e.pending=null,n!==null){n=n.next;do t.status="rejected",t.reason=a,$9(t),t=t.next;while(t!==n)}e.action=null}function $9(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function ef(e,t){return t}function _7(e,t){if(nt){var a=It.formState;if(a!==null){e:{var n=Ye;if(nt){if(Bt){t:{for(var o=Bt,r=Wn;o.nodeType!==8;){if(!r){o=null;break t}if(o=Kn(o.nextSibling),o===null){o=null;break t}}r=o.data,o=r==="F!"||r==="F"?o:null}if(o){Bt=Kn(o.nextSibling),n=o.data==="F!";break e}}Jr(n)}n=!1}n&&(t=a[0])}}return a=$a(),a.memoizedState=a.baseState=t,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:ef,lastRenderedState:t},a.queue=n,a=hf.bind(null,Ye,n),n.dispatch=a,n=zp(!1),r=Z3.bind(null,Ye,!1,n.queue),n=$a(),o={state:t,dispatch:null,action:e,pending:null},n.queue=o,a=aw.bind(null,Ye,o,r,a),o.dispatch=a,n.memoizedState=e,[t,a,!1]}function Z7(e){var t=oa();return tf(t,At,e)}function tf(e,t,a){if(t=B3(e,t,ef)[0],e=C0(or)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var n=jc(t)}catch(i){throw i===ds?v2:i}else n=t;t=oa();var o=t.queue,r=o.dispatch;return a!==t.memoizedState&&(Ye.flags|=2048,Ql(9,{destroy:void 0},nw.bind(null,o,a),null)),[n,r,e]}function nw(e,t){e.action=t}function V7(e){var t=oa(),a=At;if(a!==null)return tf(t,a,e);oa(),t=t.memoizedState,a=oa();var n=a.queue.dispatch;return a.memoizedState=e,[t,n,!1]}function Ql(e,t,a,n){return e={tag:e,create:a,deps:n,inst:t,next:null},t=Ye.updateQueue,t===null&&(t=x2(),Ye.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(n=a.next,a.next=e,e.next=n,t.lastEffect=e),e}function af(){return oa().memoizedState}function T0(e,t,a,n){var o=$a();Ye.flags|=e,o.memoizedState=Ql(1|t,{destroy:void 0},a,n===void 0?null:n)}function k2(e,t,a,n){var o=oa();n=n===void 0?null:n;var r=o.memoizedState.inst;At!==null&&n!==null&&A3(n,At.memoizedState.deps)?o.memoizedState=Ql(t,r,a,n):(Ye.flags|=e,o.memoizedState=Ql(1|t,r,a,n))}function G7(e,t){T0(8390656,8,e,t)}function H3(e,t){k2(2048,8,e,t)}function ow(e){Ye.flags|=4;var t=Ye.updateQueue;if(t===null)t=x2(),Ye.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function nf(e){var t=oa().memoizedState;return ow({ref:t,nextImpl:e}),function(){if((yt&2)!==0)throw Error(ee(440));return t.impl.apply(void 0,arguments)}}function of(e,t){return k2(4,2,e,t)}function rf(e,t){return k2(4,4,e,t)}function lf(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function sf(e,t,a){a=a!=null?a.concat([e]):null,k2(4,4,lf.bind(null,t,e),a)}function j3(){}function cf(e,t){var a=oa();t=t===void 0?null:t;var n=a.memoizedState;return t!==null&&A3(t,n[1])?n[0]:(a.memoizedState=[e,t],e)}function df(e,t){var a=oa();t=t===void 0?null:t;var n=a.memoizedState;if(t!==null&&A3(t,n[1]))return n[0];if(n=e(),Li){Rr(!0);try{e()}finally{Rr(!1)}}return a.memoizedState=[n,t],n}function U3(e,t,a){return a===void 0||(nr&1073741824)!==0&&(ct&261930)===0?e.memoizedState=t:(e.memoizedState=a,e=ag(),Ye.lanes|=e,$r|=e,a)}function uf(e,t,a,n){return zn(a,t)?a:Xr.current!==null?(e=U3(e,a,n),zn(e,t)||(da=!0),e):(nr&106)===0||(nr&1073741824)!==0&&(ct&261930)===0?(da=!0,e.memoizedState=a):(e=ag(),Ye.lanes|=e,$r|=e,t)}function pf(e,t,a,n,o){var r=vt.p;vt.p=r!==0&&8>r?r:8;var i=Ue.T,l={};l.types=i!==null?i.types:null,Ue.T=l,Z3(e,!1,t,a);try{var s=o(),c=Ue.S;if(c!==null&&c(l,s),s!==null&&typeof s=="object"&&typeof s.then=="function"){var d=$x(s,n);dc(e,t,d,Tn(e))}else dc(e,t,n,Tn(e))}catch(u){dc(e,t,{then:function(){},status:"rejected",reason:u},Tn())}finally{vt.p=r,i!==null&&l.types!==null&&(i.types=l.types),Ue.T=i}}function rw(){}function Dp(e,t,a,n){if(e.tag!==5)throw Error(ee(476));var o=mf(e).queue;pf(e,o,t,Ci,a===null?rw:function(){return ff(e),a(n)})}function mf(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Ci,baseState:Ci,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:or,lastRenderedState:Ci},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:or,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function ff(e){var t=mf(e);t.next===null&&(t=e.alternate.memoizedState),dc(e,t.next.queue,{},Tn())}function _3(){return Ea(rs)}function gf(){return oa().memoizedState}function bf(){return oa().memoizedState}function iw(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=Tn();e=_r(a);var n=Zr(t,e,a);n!==null&&(cn(n,t,a),lc(n,t,a)),t={cache:T3()},e.payload=t;return}t=t.return}}function lw(e,t,a){var n=Tn();a={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},S2(e)?yf(t,a):(a=k3(e,t,a,n),a!==null&&(cn(a,e,n),vf(a,t,n)))}function hf(e,t,a){var n=Tn();dc(e,t,a,n)}function dc(e,t,a,n){var o={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(S2(e))yf(t,o);else{var r=e.alternate;if(e.lanes===0&&(r===null||r.lanes===0)&&(r=t.lastRenderedReducer,r!==null))try{var i=t.lastRenderedState,l=r(i,a);if(o.hasEagerState=!0,o.eagerState=l,zn(l,i))return h2(e,t,o,0),It===null&&b2(),!1}catch{}if(a=k3(e,t,o,n),a!==null)return cn(a,e,n),vf(a,t,n),!0}return!1}function Z3(e,t,a,n){if(n={lane:2,revertLane:$3(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},S2(e)){if(t)throw Error(ee(479))}else t=k3(e,a,n,2),t!==null&&cn(t,e,2)}function S2(e){var t=e.alternate;return e===Ye||t!==null&&t===Ye}function yf(e,t){Gl=Y0=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function vf(e,t,a){if((a&4194048)!==0){var n=t.lanes;n&=e.pendingLanes,a|=n,t.lanes=a,a9(e,a)}}var X0={readContext:Ea,use:w2,useCallback:$t,useContext:$t,useEffect:$t,useImperativeHandle:$t,useLayoutEffect:$t,useInsertionEffect:$t,useMemo:$t,useReducer:$t,useRef:$t,useState:$t,useDebugValue:$t,useDeferredValue:$t,useTransition:$t,useSyncExternalStore:$t,useId:$t,useHostTransitionStatus:$t,useFormState:$t,useActionState:$t,useOptimistic:$t,useMemoCache:$t,useCacheRefresh:$t,useEffectEvent:$t},xf={readContext:Ea,use:w2,useCallback:function(e,t){return $a().memoizedState=[e,t===void 0?null:t],e},useContext:Ea,useEffect:G7,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,T0(4194308,4,lf.bind(null,t,e),a)},useLayoutEffect:function(e,t){return T0(4194308,4,e,t)},useInsertionEffect:function(e,t){T0(4,2,e,t)},useMemo:function(e,t){var a=$a();t=t===void 0?null:t;var n=e();if(Li){Rr(!0);try{e()}finally{Rr(!1)}}return a.memoizedState=[n,t],n},useReducer:function(e,t,a){var n=$a();if(a!==void 0){var o=a(t);if(Li){Rr(!0);try{a(t)}finally{Rr(!1)}}}else o=t;return n.memoizedState=n.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},n.queue=e,e=e.dispatch=lw.bind(null,Ye,e),[n.memoizedState,e]},useRef:function(e){var t=$a();return e={current:e},t.memoizedState=e},useState:function(e){e=zp(e);var t=e.queue,a=hf.bind(null,Ye,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:j3,useDeferredValue:function(e,t){var a=$a();return U3(a,e,t)},useTransition:function(){var e=zp(!1);return e=pf.bind(null,Ye,e.queue,!0,!1),$a().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var n=Ye,o=$a();if(nt){if(a===void 0)throw Error(ee(407));a=a()}else{if(a=t(),It===null)throw Error(ee(349));(ct&127)!==0||F9(n,t,a)}o.memoizedState=a;var r={value:a,getSnapshot:t};return o.queue=r,G7(K9.bind(null,n,r,e),[e]),n.flags|=2048,Ql(9,{destroy:void 0},W9.bind(null,n,r,a,t),null),a},useId:function(){var e=$a(),t=It.identifierPrefix;if(nt){var a=Ro,n=Io;a=(n&~(1<<32-Cn(n)-1)).toString(32)+a,t="_"+t+"R_"+a,a=J0++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=ew++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:_3,useFormState:_7,useActionState:_7,useOptimistic:function(e){var t=$a();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=Z3.bind(null,Ye,!0,a),a.dispatch=t,[e,t]},useMemoCache:O3,useCacheRefresh:function(){return $a().memoizedState=iw.bind(null,Ye)},useEffectEvent:function(e){var t=$a(),a={impl:e};return t.memoizedState=a,function(){if((yt&2)!==0)throw Error(ee(440));return a.impl.apply(void 0,arguments)}}},wf={readContext:Ea,use:w2,useCallback:cf,useContext:Ea,useEffect:H3,useImperativeHandle:sf,useInsertionEffect:of,useLayoutEffect:rf,useMemo:df,useReducer:C0,useRef:af,useState:function(){return C0(or)},useDebugValue:j3,useDeferredValue:function(e,t){var a=oa();return uf(a,At.memoizedState,e,t)},useTransition:function(){var e=C0(or)[0],t=oa().memoizedState;return[typeof e=="boolean"?e:jc(e),t]},useSyncExternalStore:q9,useId:gf,useHostTransitionStatus:_3,useFormState:Z7,useActionState:Z7,useOptimistic:function(e,t){var a=oa();return X9(a,At,e,t)},useMemoCache:O3,useCacheRefresh:bf,useEffectEvent:nf},sw={readContext:Ea,use:w2,useCallback:cf,useContext:Ea,useEffect:H3,useImperativeHandle:sf,useInsertionEffect:of,useLayoutEffect:rf,useMemo:df,useReducer:Hu,useRef:af,useState:function(){return Hu(or)},useDebugValue:j3,useDeferredValue:function(e,t){var a=oa();return At===null?U3(a,e,t):uf(a,At.memoizedState,e,t)},useTransition:function(){var e=Hu(or)[0],t=oa().memoizedState;return[typeof e=="boolean"?e:jc(e),t]},useSyncExternalStore:q9,useId:gf,useHostTransitionStatus:_3,useFormState:V7,useActionState:V7,useOptimistic:function(e,t){var a=oa();return At!==null?X9(a,At,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:O3,useCacheRefresh:bf,useEffectEvent:nf};function ju(e,t,a,n){t=e.memoizedState,a=a(n,t),a=a==null?t:Rt({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var Mp={enqueueSetState:function(e,t,a){e=e._reactInternals;var n=Tn(),o=_r(n);o.payload=t,a!=null&&(o.callback=a),t=Zr(e,o,n),t!==null&&(cn(t,e,n),lc(t,e,n))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var n=Tn(),o=_r(n);o.tag=1,o.payload=t,a!=null&&(o.callback=a),t=Zr(e,o,n),t!==null&&(cn(t,e,n),lc(t,e,n))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=Tn(),n=_r(a);n.tag=2,t!=null&&(n.callback=t),t=Zr(e,n,a),t!==null&&(cn(t,e,a),lc(t,e,a))}};function q7(e,t,a,n,o,r,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,r,i):t.prototype&&t.prototype.isPureReactComponent?!vc(a,n)||!vc(o,r):!0}function F7(e,t,a,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,n),t.state!==e&&Mp.enqueueReplaceState(t,t.state,null)}function Pi(e,t){var a=t;if("ref"in t){a={};for(var n in t)n!=="ref"&&(a[n]=t[n])}if(e=e.defaultProps){a===t&&(a=Rt({},a));for(var o in e)a[o]===void 0&&(a[o]=e[o])}return a}function kf(e){_0(e)}function Sf(e){console.error(e)}function Cf(e){_0(e)}function Q0(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function W7(e,t,a){try{var n=e.onCaughtError;n(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function Np(e,t,a){return a=_r(a),a.tag=3,a.payload={element:null},a.callback=function(){Q0(e,t)},a}function Tf(e){return e=_r(e),e.tag=3,e}function zf(e,t,a,n){var o=a.type.getDerivedStateFromError;if(typeof o=="function"){var r=n.value;e.payload=function(){return o(r)},e.callback=function(){W7(t,a,n)}}var i=a.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(e.callback=function(){W7(t,a,n),typeof o!="function"&&(qr===null?qr=new Set([this]):qr.add(this));var l=n.stack;this.componentDidCatch(n.value,{componentStack:l!==null?l:""})})}function cw(e,t,a,n,o){if(a.flags|=32768,n!==null&&typeof n=="object"&&typeof n.then=="function"){if(t=a.alternate,t!==null&&Ni(t,a,o,!0),a=Aa.current,a!==null){switch(a.tag){case 31:case 13:case 19:return Va===null?i2():a.alternate===null&&ea===0&&(ea=3),a.flags&=-257,a.flags|=65536,a.lanes=o,n===F0?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([n]):t.add(n),Fu(e,n,o)),!1;case 22:return a.flags|=65536,n===F0?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([n])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([n]):a.add(n)),Fu(e,n,o)),!1}throw Error(ee(435,a.tag))}return Fu(e,n,o),i2(),!1}if(nt)return t=Aa.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,n!==yp&&(e=Error(ee(422),{cause:n}),wc(Fn(e,a)))):(n!==yp&&(t=Error(ee(423),{cause:n}),wc(Fn(t,a))),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,n=Fn(n,a),o=Np(e.stateNode,n,o),Bu(e,o),ea!==4&&(ea=2)),!1;var r=Error(ee(520),{cause:n});if(r=Fn(r,a),fc===null?fc=[r]:fc.push(r),ea!==4&&(ea=2),t===null)return!0;n=Fn(n,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=o&-o,a.lanes|=e,e=Np(a.stateNode,n,e),Bu(a,e),!1;case 1:if(t=a.type,r=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||r!==null&&typeof r.componentDidCatch=="function"&&(qr===null||!qr.has(r))))return a.flags|=65536,o&=-o,a.lanes|=o,o=Tf(o),zf(o,e,a,n),Bu(a,o),!1;break;case 22:if(a.memoizedState!==null)return a.flags|=65536,!1}a=a.return}while(a!==null);return!1}var V3=Error(ee(461)),da=!1;function fa(e,t,a,n){t.child=e===null?j9(t,null,a,n):Ri(t,e.child,a,n)}function K7(e,t,a,n,o){a=a.render;var r=t.ref;if("ref"in n){var i={};for(var l in n)l!=="ref"&&(i[l]=n[l])}else i=n;return Ai(t),n=I3(e,t,a,i,r,o),l=R3(),e!==null&&!da?(L3(e,t,o),rr(e,t,o)):(nt&&l&&y2(t),t.flags|=1,fa(e,t,n,o),t.child)}function Y7(e,t,a,n,o){if(e===null){var r=a.type;return typeof r=="function"&&!S3(r)&&r.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=r,Ef(e,t,r,n,o)):(e=w0(a.type,null,n,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(r=e.child,!q3(e,o)){var i=r.memoizedProps;if(a=a.compare,a=a!==null?a:vc,a(i,n)&&e.ref===t.ref)return rr(e,t,o)}return t.flags|=1,e=$o(r,n),e.ref=t.ref,e.return=t,t.child=e}function Ef(e,t,a,n,o){if(e!==null){var r=e.memoizedProps;if(vc(r,n)&&e.ref===t.ref)if(da=!1,t.pendingProps=n=r,q3(e,o))(e.flags&131072)!==0&&(da=!0);else return t.lanes=e.lanes,rr(e,t,o)}return Ap(e,t,a,n,o)}function Df(e,t,a,n){var o=n.children,r=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.mode==="hidden"){if((t.flags&128)!==0){if(r=r!==null?r.baseLanes|a:a,e!==null){for(n=t.child=e.child,o=0;n!==null;)o=o|n.lanes|n.childLanes,n=n.sibling;n=o&~r}else n=0,t.child=null;return J7(e,t,r,a,n)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&S0(t,r!==null?r.cachePool:null),r!==null?H7(t,r):Cp(),Z9(t);else return n=t.lanes=536870912,J7(e,t,r!==null?r.baseLanes|a:a,a,n)}else r!==null?(S0(t,r.cachePool),H7(t,r),Gr(),t.memoizedState=null):(e!==null&&S0(t,null),Cp(),Gr());return fa(e,t,o,a),t.child}function uc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function J7(e,t,a,n,o){var r=z3();return r=r===null?null:{parent:ca._currentValue,pool:r},t.memoizedState={baseLanes:a,cachePool:r},e!==null&&S0(t,null),Cp(),Z9(t),e!==null&&Ni(e,t,n,!0),t.childLanes=o,null}function z0(e,t){return t=C2({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function X7(e,t,a){return Ri(t,e.child,null,a),e=z0(t,t.pendingProps),e.flags|=2,vn(t),t.memoizedState=null,e}function dw(e,t,a){var n=t.pendingProps,o=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(nt){if(n.mode==="hidden")return e=z0(t,n),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},uc(null,e);if(Tp(t),(e=Bt)?(e=Dg(e,Wn),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Yr!==null?{id:Io,overflow:Ro}:null,retryLane:536870912,hydrationErrors:null},a=I9(e),a.return=t,t.child=a,Sa=t,Bt=null)):e=null,e===null)throw Jr(t);return t.lanes=536870912,null}return z0(t,n)}var r=e.memoizedState;if(r!==null){var i=r.dehydrated;if(Tp(t),o)if(t.flags&256)t.flags&=-257,t=X7(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(ee(558));else if(da||Ni(e,t,a,!1),o=(a&e.childLanes)!==0,da||o){if(Xr.current===null){if(n=It,n!==null&&(i=n9(n,a),i!==0&&i!==r.retryLane))throw r.retryLane=i,Ui(e,i),cn(n,e,i),V3;i2()}t=X7(e,t,a)}else e=r.treeContext,Bt=Kn(i.nextSibling),Sa=t,nt=!0,Ur=null,Wn=!1,e!==null&&L9(t,e),t=z0(t,n),t.flags|=134221824;return t}return e=$o(e.child,{mode:n.mode,children:n.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Cl(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(ee(284));(e===null||e.ref!==a)&&(t.flags|=4194816)}}function Ap(e,t,a,n,o){return Ai(t),a=I3(e,t,a,n,void 0,o),n=R3(),e!==null&&!da?(L3(e,t,o),rr(e,t,o)):(nt&&n&&y2(t),t.flags|=1,fa(e,t,a,o),t.child)}function Q7(e,t,a,n,o,r){return Ai(t),t.updateQueue=null,a=G9(t,n,a,o),V9(e),n=R3(),e!==null&&!da?(L3(e,t,r),rr(e,t,r)):(nt&&n&&y2(t),t.flags|=1,fa(e,t,a,r),t.child)}function $7(e,t,a,n,o){if(Ai(t),t.stateNode===null){var r=Pl,i=a.contextType;typeof i=="object"&&i!==null&&(r=Ea(i)),r=new a(n,r),t.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=Mp,t.stateNode=r,r._reactInternals=t,r=t.stateNode,r.props=n,r.state=t.memoizedState,r.refs={},D3(t),i=a.contextType,r.context=typeof i=="object"&&i!==null?Ea(i):Pl,r.state=t.memoizedState,i=a.getDerivedStateFromProps,typeof i=="function"&&(ju(t,a,i,n),r.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(i=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),i!==r.state&&Mp.enqueueReplaceState(r,r.state,null),cc(t,n,r,o),sc(),r.state=t.memoizedState),typeof r.componentDidMount=="function"&&(t.flags|=4194308),n=!0}else if(e===null){r=t.stateNode;var l=t.memoizedProps,s=Pi(a,l);r.props=s;var c=r.context,d=a.contextType;i=Pl,typeof d=="object"&&d!==null&&(i=Ea(d));var u=a.getDerivedStateFromProps;d=typeof u=="function"||typeof r.getSnapshotBeforeUpdate=="function",l=t.pendingProps!==l,d||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(l||c!==i)&&F7(t,r,n,i),Ar=!1;var p=t.memoizedState;r.state=p,cc(t,n,r,o),sc(),c=t.memoizedState,l||p!==c||Ar?(typeof u=="function"&&(ju(t,a,u,n),c=t.memoizedState),(s=Ar||q7(t,a,s,n,p,c,i))?(d||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount()),typeof r.componentDidMount=="function"&&(t.flags|=4194308)):(typeof r.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=c),r.props=n,r.state=c,r.context=i,n=s):(typeof r.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{r=t.stateNode,kp(e,t),i=t.memoizedProps,d=Pi(a,i),r.props=d,u=t.pendingProps,p=r.context,c=a.contextType,s=Pl,typeof c=="object"&&c!==null&&(s=Ea(c)),l=a.getDerivedStateFromProps,(c=typeof l=="function"||typeof r.getSnapshotBeforeUpdate=="function")||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(i!==u||p!==s)&&F7(t,r,n,s),Ar=!1,p=t.memoizedState,r.state=p,cc(t,n,r,o),sc();var b=t.memoizedState;i!==u||p!==b||Ar||e!==null&&e.dependencies!==null&&q0(e.dependencies)?(typeof l=="function"&&(ju(t,a,l,n),b=t.memoizedState),(d=Ar||q7(t,a,d,n,p,b,s)||e!==null&&e.dependencies!==null&&q0(e.dependencies))?(c||typeof r.UNSAFE_componentWillUpdate!="function"&&typeof r.componentWillUpdate!="function"||(typeof r.componentWillUpdate=="function"&&r.componentWillUpdate(n,b,s),typeof r.UNSAFE_componentWillUpdate=="function"&&r.UNSAFE_componentWillUpdate(n,b,s)),typeof r.componentDidUpdate=="function"&&(t.flags|=4),typeof r.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof r.componentDidUpdate!="function"||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=b),r.props=n,r.state=b,r.context=s,n=d):(typeof r.componentDidUpdate!="function"||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),n=!1)}return r=n,Cl(e,t),n=(t.flags&128)!==0,r||n?(r=t.stateNode,a=n&&typeof a.getDerivedStateFromError!="function"?null:r.render(),t.flags|=1,e!==null&&n?(t.child=Ri(t,e.child,null,o),t.child=Ri(t,null,a,o)):fa(e,t,a,o),t.memoizedState=r.state,e=t.child):e=rr(e,t,o),e}function e8(e,t,a,n){return Mi(),t.flags|=256,fa(e,t,a,n),t.child}var Ip={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Rp(e){return{baseLanes:e,cachePool:O9()}}function Lp(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=wn),e}function Mf(e,t,a){var n=t.pendingProps,o=!1,r=(t.flags&128)!==0,i;if((i=r)||(i=e!==null&&e.memoizedState===null?!1:(Ma.current&2)!==0),i&&(o=!0,t.flags&=-129),i=(t.flags&32)!==0,t.flags&=-33,e===null){if(nt){if(o?Vr(t):Gr(),(e=Bt)?(e=Dg(e,Wn),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:Yr!==null?{id:Io,overflow:Ro}:null,retryLane:536870912,hydrationErrors:null},a=I9(e),a.return=t,t.child=a,Sa=t,Bt=null)):e=null,e===null)throw Jr(t);return n4(e)?t.lanes=32:t.lanes=536870912,null}return r=n.children,n=n.fallback,o?(Gr(),o=t.mode,r=C2({mode:"hidden",children:r},o),n=Ti(n,o,a,null),r.return=t,n.return=t,r.sibling=n,t.child=r,n=t.child,n.memoizedState=Rp(a),n.childLanes=Lp(e,i,a),t.memoizedState=Ip,uc(null,n)):(Vr(t),G3(t,r))}var l=e.memoizedState;if(l!==null){var s=l.dehydrated;if(s!==null)return uw(e,t,r,i,n,s,l,a)}return o?(Gr(),o=n.fallback,r=t.mode,l=e.child,s=l.sibling,n=$o(l,{mode:"hidden",children:n.children}),n.subtreeFlags=l.subtreeFlags&1206910976,s!==null?o=$o(s,o):(o=Ti(o,r,a,null),o.flags|=2),o.return=t,n.return=t,n.sibling=o,t.child=n,uc(null,n),n=t.child,o=e.child.memoizedState,o===null?o=Rp(a):(r=o.cachePool,r!==null?(l=ca._currentValue,r=r.parent!==l?{parent:l,pool:l}:r):r=O9(),o={baseLanes:o.baseLanes|a,cachePool:r}),n.memoizedState=o,n.childLanes=Lp(e,i,a),t.memoizedState=Ip,uc(e.child,n)):(Vr(t),a=e.child,e=a.sibling,a=$o(a,{mode:"visible",children:n.children}),a.return=t,a.sibling=null,e!==null&&(i=t.deletions,i===null?(t.deletions=[e],t.flags|=16):i.push(e)),t.child=a,t.memoizedState=null,a)}function G3(e,t){return t=C2({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function C2(e,t){return e=sn(22,e,null,t),e.lanes=0,e}function l0(e,t,a){return Ri(t,e.child,null,a),e=G3(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function uw(e,t,a,n,o,r,i,l){if(a)return t.flags&256?(Vr(t),t.flags&=-257,l0(e,t,l)):t.memoizedState!==null?(Gr(),t.child=e.child,t.flags|=128,null):(Gr(),r=o.fallback,i=t.mode,o=C2({mode:"visible",children:o.children},i),r=Ti(r,i,l,null),r.flags|=2,o.return=t,r.return=t,o.sibling=r,t.child=o,Ri(t,e.child,null,l),o=t.child,o.memoizedState=Rp(l),o.childLanes=Lp(e,n,l),t.memoizedState=Ip,uc(null,o));if(Vr(t),n4(r)){if(n=r.nextSibling&&r.nextSibling.dataset,n)var s=n.dgst;return n=s,n!==""&&(o=Error(ee(419)),o.stack="",o.digest=n,wc({value:o,source:null,stack:null})),l0(e,t,l)}if(da||Ni(e,t,l,!1),n=(l&e.childLanes)!==0,da||n){if(Xr.current!==null)return l0(e,t,l);if(n=It,n!==null&&(o=n9(n,l),o!==0&&o!==i.retryLane))throw i.retryLane=o,Ui(e,o),cn(n,e,o),V3;return r3(r)||i2(),l0(e,t,l)}return r3(r)?(t.flags|=192,t.child=e.child,null):(e=i.treeContext,Bt=Kn(r.nextSibling),Sa=t,nt=!0,Ur=null,Wn=!1,e!==null&&L9(t,e),t=G3(t,o.children),t.flags|=134221824,t)}function t8(e,t,a){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),k0(e.return,t,a)}function a8(e){for(var t=null;e!==null;){var a=e.alternate;a!==null&&K0(a)===null&&(t=e),e=e.sibling}return t}function s0(e,t,a,n,o,r){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:a,tailMode:o,treeForkCount:r}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=n,i.tail=a,i.tailMode=o,i.treeForkCount=r)}function Uu(e){var t=e.child;for(e.child=null;t!==null;){var a=t.sibling;t.sibling=e.child,e.child=t,t=a}}function Pp(e,t,a){var n=t.pendingProps,o=n.revealOrder,r=n.tail;n=n.children;var i=Ma.current;if(t.flags&128)return Sc(t,i),null;var l=(i&2)!==0;if(l?(i=i&1|2,t.flags|=128):i&=1,Sc(t,i),o==="backwards"&&e!==null?(Uu(e),fa(e,t,n,a),Uu(e)):fa(e,t,n,a),n=nt?xc:0,!l&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&t8(e,a,t);else if(e.tag===19)t8(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"backwards":a=a8(t.child),a===null?(o=t.child,t.child=null):(o=a.sibling,a.sibling=null,Uu(t)),s0(t,!0,o,null,r,n);break;case"unstable_legacy-backwards":for(a=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&K0(e)===null){t.child=o;break}e=o.sibling,o.sibling=a,a=o,o=e}s0(t,!0,a,null,r,n);break;case"together":s0(t,!1,null,null,void 0,n);break;case"independent":t.memoizedState=null;break;default:a=a8(t.child),a===null?(o=t.child,t.child=null):(o=a.sibling,a.sibling=null),s0(t,!1,o,a,r,n)}return t.child}function n8(e,t,a){var n=t.pendingProps;return Pr(t,t.type,n.value),fa(e,t,n.children,a),t.child}function rr(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),$r|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(Ni(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(ee(153));if(t.child!==null){for(e=t.child,a=$o(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=$o(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function q3(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&q0(e)))}function pw(e,t,a){switch(t.tag){case 3:B0(t,t.stateNode.containerInfo),Pr(t,ca,e.memoizedState.cache),Mi();break;case 27:case 5:sp(t);break;case 4:B0(t,t.stateNode.containerInfo);break;case 10:Pr(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Tp(t),null;break;case 13:var n=t.memoizedState;if(n!==null){if(n.dehydrated!==null)return Vr(t),t.flags|=128,null;n=Ni(e,t,a,!1);var o=t.child.childLanes;return n||(a&o)!==0?Mf(e,t,a):(Vr(t),e=rr(e,t,a),e!==null?e.sibling:null)}Vr(t);break;case 19:if(t.flags&128)return Pp(e,t,a);if(o=(e.flags&128)!==0,n=(a&t.childLanes)!==0,n||(Ni(e,t,a,!1),n=(a&t.childLanes)!==0),o){if(n)return Pp(e,t,a);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Sc(t,Ma.current),n)break;return null;case 22:return t.lanes=0,Df(e,t,a,t.pendingProps);case 24:Pr(t,ca,e.memoizedState.cache)}return rr(e,t,a)}function Nf(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)da=!0;else{if(!q3(e,a)&&(t.flags&128)===0)return da=!1,pw(e,t,a);da=(e.flags&131072)!==0}else da=!1,nt&&(t.flags&1048576)!==0&&R9(t,xc,t.index);switch(t.lanes=0,t.tag){case 16:e:{var n=t.pendingProps;if(e=xi(t.elementType),t.type=e,typeof e=="function")S3(e)?(n=Pi(e,n),t.tag=1,t=$7(null,t,e,n,a)):(t.tag=0,t=Ap(null,t,e,n,a));else{if(e!=null){var o=e.$$typeof;if(o===d3){t.tag=11,t=K7(null,t,e,n,a);break e}else if(o===u3){t.tag=14,t=Y7(null,t,e,n,a);break e}else if(o===No){t.tag=10,t.type=e,t=n8(null,t,a);break e}}throw t=ip(e)||e,Error(ee(306,t,""))}}return t;case 0:return Ap(e,t,t.type,t.pendingProps,a);case 1:return n=t.type,o=Pi(n,t.pendingProps),$7(e,t,n,o,a);case 3:e:{if(B0(t,t.stateNode.containerInfo),e===null)throw Error(ee(387));n=t.pendingProps;var r=t.memoizedState;o=r.element,kp(e,t),cc(t,n,null,a);var i=t.memoizedState;if(n=i.cache,Pr(t,ca,n),n!==r.cache&&xp(t,[ca],a,!0),sc(),n=i.element,r.isDehydrated)if(r={element:n,isDehydrated:!1,cache:i.cache},t.updateQueue.baseState=r,t.memoizedState=r,t.flags&256){t=e8(e,t,n,a);break e}else if(n!==o){o=Fn(Error(ee(424)),t),wc(o),t=e8(e,t,n,a);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,Bt=Kn(e.firstChild),Sa=t,nt=!0,Ur=null,Wn=!0,a=j9(t,null,n,a),t.child=a;a;)a.flags=a.flags&-3|134221824,a=a.sibling;else{if(Mi(),n===o){t=rr(e,t,a);break e}fa(e,t,n,a)}t=t.child}return t;case 26:return Cl(e,t),e===null?(a=N8(t.type,null,t.pendingProps,null))?t.memoizedState=a:nt||(t.stateNode=vg(t.type,t.pendingProps,jr.current,t)):t.memoizedState=N8(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return sp(t),e===null&&nt&&(n=t.stateNode=Mg(t.type,t.pendingProps,jr.current),Sa=t,Wn=!0,o=Bt,ti(t.type)?(i3=o,Bt=Kn(n.firstChild)):Bt=o),fa(e,t,t.pendingProps.children,a),Cl(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&nt&&((o=n=Bt)&&(n=ok(n,t.type,t.pendingProps,Wn),n!==null?(t.stateNode=n,Sa=t,Bt=Kn(n.firstChild),Wn=!1,o=!0):o=!1),o||Jr(t)),sp(t),o=t.type,r=t.pendingProps,i=e!==null?e.memoizedProps:null,n=r.children,a3(o,r)?n=null:i!==null&&a3(o,i)&&(t.flags|=32),t.memoizedState!==null&&(o=I3(e,t,tw,null,null,a),rs._currentValue=o),Cl(e,t),fa(e,t,n,a),t.child;case 6:return e===null&&nt&&((e=a=Bt)&&(a=rk(a,t.pendingProps,Wn),a!==null?(t.stateNode=a,Sa=t,Bt=null,e=!0):e=!1),e||Jr(t)),null;case 13:return Mf(e,t,a);case 4:return B0(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=Ri(t,null,n,a):fa(e,t,n,a),t.child;case 11:return K7(e,t,t.type,t.pendingProps,a);case 7:return n=t.pendingProps,Cl(e,t),fa(e,t,n,a),t.child;case 8:return fa(e,t,t.pendingProps.children,a),t.child;case 12:return fa(e,t,t.pendingProps.children,a),t.child;case 10:return n8(e,t,a);case 9:return o=t.type._context,n=t.pendingProps.children,Ai(t),o=Ea(o),n=n(o),t.flags|=1,fa(e,t,n,a),t.child;case 14:return Y7(e,t,t.type,t.pendingProps,a);case 15:return Ef(e,t,t.type,t.pendingProps,a);case 19:return Pp(e,t,a);case 31:return dw(e,t,a);case 22:return Df(e,t,a,t.pendingProps);case 24:return Ai(t),n=Ea(ca),e===null?(o=z3(),o===null&&(o=It,r=T3(),o.pooledCache=r,r.refCount++,r!==null&&(o.pooledCacheLanes|=a),o=r),t.memoizedState={parent:n,cache:o},D3(t),Pr(t,ca,o)):((e.lanes&a)!==0&&(kp(e,t),cc(t,null,null,a),sc()),o=e.memoizedState,r=t.memoizedState,o.parent!==n?(o={parent:n,cache:n},t.memoizedState=o,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=o),Pr(t,ca,n)):(n=r.cache,Pr(t,ca,n),n!==o.cache&&xp(t,[ca],a,!0))),fa(e,t,t.pendingProps.children,a),t.child;case 30:return t.stateNode===null&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),n=t.pendingProps,n.name!=null&&n.name!=="auto"?t.flags|=e===null?18882560:18874368:nt&&y2(t),e!==null&&e.memoizedProps.name!==n.name?t.flags|=4194816:Cl(e,t),fa(e,t,n.children,a),t.child;case 29:throw t.pendingProps}throw Error(ee(156,t.tag))}function Jo(e){e.flags|=4}function _u(e,t,a,n,o){var r;if((r=(e.mode&32)!==0)&&(r=a===null?R8(t,n):R8(t,n)&&(n.src!==a.src||n.srcSet!==a.srcSet)),r){if(e.flags|=16777216,(o&335544128)===o)if(e.stateNode.complete)e.flags|=8192;else if(rg())e.flags|=8192;else throw Ei=F0,E3}else e.flags&=-16777217}function o8(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!Rg(t))if(rg())e.flags|=8192;else throw Ei=F0,E3}function c0(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?e9():536870912,e.lanes|=t,$l|=t)}function Ks(e,t){if(!nt)switch(e.tailMode){case"visible":break;case"collapsed":for(var a=e.tail,n=null;a!==null;)a.alternate!==null&&(n=a),a=a.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null;break;default:for(t=e.tail,a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null}}function Ot(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,n=0;if(t)for(var o=e.child;o!==null;)a|=o.lanes|o.childLanes,n|=o.subtreeFlags&1206910976,n|=o.flags&1206910976,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)a|=o.lanes|o.childLanes,n|=o.subtreeFlags,n|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=n,e.childLanes=a,t}function mw(e,t,a){var n=t.pendingProps;switch(C3(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ot(t),null;case 1:return Ot(t),null;case 3:return a=t.stateNode,n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),er(ca),Yl(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(kl(t)?Jo(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,Ou())),Ot(t),null;case 26:var o=t.type,r=t.memoizedState;return e===null?(Jo(t),r!==null?(Ot(t),o8(t,r)):(Ot(t),_u(t,o,null,n,a))):r?r!==e.memoizedState?(Jo(t),Ot(t),o8(t,r)):(Ot(t),t.flags&=-16777217):(e=e.memoizedProps,e!==n&&Jo(t),Ot(t),_u(t,o,e,n,a)),null;case 27:if(H0(t),a=jr.current,o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&Jo(t);else{if(!n){if(t.stateNode===null)throw Error(ee(166));return Ot(t),t.subtreeFlags&=-33554433,null}e=Lo.current,kl(t)?A7(t,e):(e=Mg(o,n,a),t.stateNode=e,Jo(t))}return Ot(t),t.subtreeFlags&=-33554433,null;case 5:if(H0(t),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&Jo(t);else{if(!n){if(t.stateNode===null)throw Error(ee(166));return Ot(t),t.subtreeFlags&=-33554433,null}if(r=Lo.current,kl(t))A7(t,r);else{var i=Ec(jr.current);switch(r){case 1:r=i.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:r=i.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":r=i.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":r=i.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":r=i.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof n.is=="string"?i.createElement("select",{is:n.is}):i.createElement("select"),n.multiple?r.multiple=!0:n.size&&(r.size=n.size);break;default:r=typeof n.is=="string"?i.createElement(o,{is:n.is}):i.createElement(o)}}r[za]=t,r[un]=n;e:for(i=t.child;i!==null;){if(i.tag===5||i.tag===6)r.appendChild(i.stateNode);else if(i.tag!==4&&i.tag!==27&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===t)break e;for(;i.sibling===null;){if(i.return===null||i.return===t)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}t.stateNode=r;e:switch(Na(r,o,n),o){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}n&&Jo(t)}}return Ot(t),t.subtreeFlags&=-33554433,_u(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==n&&Jo(t);else{if(typeof n!="string"&&t.stateNode===null)throw Error(ee(166));if(e=jr.current,kl(t)){if(e=t.stateNode,a=t.memoizedProps,n=null,o=Sa,o!==null)switch(o.tag){case 27:case 5:n=o.memoizedProps}e[za]=t,e=!!(e.nodeValue===a||n!==null&&n.suppressHydrationWarning===!0||hg(e.nodeValue,a)),e||Jr(t,!0)}else e=Ec(e).createTextNode(n),e[za]=t,t.stateNode=e}return Ot(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(n=kl(t),a!==null){if(e===null){if(!n)throw Error(ee(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(ee(557));e[za]=t}else Mi(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ot(t),e=!1}else a=Ou(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(vn(t),t):(vn(t),null);if((t.flags&128)!==0)throw Error(ee(558))}return Ot(t),null;case 13:if(n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=kl(t),n!==null&&n.dehydrated!==null){if(e===null){if(!o)throw Error(ee(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(ee(317));o[za]=t}else Mi(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ot(t),o=!1}else o=Ou(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return t.flags&256?(vn(t),t):(vn(t),null)}return vn(t),(t.flags&128)!==0?(t.lanes=a,t):(a=n!==null,e=e!==null&&e.memoizedState!==null,a&&(n=t.child,o=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(o=n.alternate.memoizedState.cachePool.pool),r=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(r=n.memoizedState.cachePool.pool),r!==o&&(n.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),c0(t,t.updateQueue),Ot(t),null);case 4:return Yl(),e===null&&e4(t.stateNode.containerInfo),t.flags|=67108864,Ot(t),null;case 10:return er(t.type),Ot(t),null;case 19:if(N3(t),n=t.memoizedState,n===null)return Ot(t),null;if(o=(t.flags&128)!==0,r=n.rendering,r===null)if(o)Ks(n,!1);else{if(ea!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(r=K0(e),r!==null){for(t.flags|=128,Ks(n,!1),e=r.updateQueue,t.updateQueue=e,c0(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)A9(a,e),a=a.sibling;return Sc(t,Ma.current&1|2),nt&&Xo(t,n.treeForkCount),t.child}e=e.sibling}n.tail!==null&&kn()>o2&&(t.flags|=128,o=!0,Ks(n,!1),t.lanes=4194304)}else{if(!o)if(e=K0(r),e!==null){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,c0(t,e),Ks(n,!0),n.tail===null&&n.tailMode!=="collapsed"&&n.tailMode!=="visible"&&!r.alternate&&!nt)return Ot(t),null}else 2*kn()-n.renderingStartTime>o2&&a!==536870912&&(t.flags|=128,o=!0,Ks(n,!1),t.lanes=4194304);n.isBackwards?(r.sibling=t.child,t.child=r):(e=n.last,e!==null?e.sibling=r:t.child=r,n.last=r)}if(n.tail!==null){e=n.tail;e:{for(a=e;a!==null;){if(a.alternate!==null){a=!1;break e}a=a.sibling}a=!0}return n.rendering=e,n.tail=e.sibling,n.renderingStartTime=kn(),e.sibling=null,r=Ma.current,r=o?r&1|2:r&1,n.tailMode==="visible"||n.tailMode==="collapsed"||!a||nt?Sc(t,r):(a=r,Ht(Aa,t),Ht(Ma,a),Va===null&&(Va=t)),nt&&Xo(t,n.treeForkCount),e}return Ot(t),null;case 22:case 23:return vn(t),M3(),n=t.memoizedState!==null,e!==null?e.memoizedState!==null!==n&&(t.flags|=8192):n&&(t.flags|=8192),n?(a&536870912)!==0&&(t.flags&128)===0&&(Ot(t),t.subtreeFlags&6&&(t.flags|=8192)):Ot(t),a=t.updateQueue,a!==null&&c0(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),n=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),n!==a&&(t.flags|=2048),e!==null&&Da(zi),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),er(ca),Ot(t),null;case 25:return null;case 30:return t.flags|=33554432,Ot(t),null}throw Error(ee(156,t.tag))}function fw(e,t){switch(C3(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return er(ca),Yl(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return H0(t),null;case 31:if(t.memoizedState!==null){if(vn(t),t.alternate===null)throw Error(ee(340));Mi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(vn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(ee(340));Mi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return N3(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return Yl(),null;case 10:return er(t.type),null;case 22:case 23:return vn(t),M3(),e!==null&&Da(zi),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return er(ca),null;case 25:return null;default:return null}}function Af(e,t){switch(C3(t),t.tag){case 3:er(ca),Yl();break;case 26:case 27:case 5:H0(t);break;case 4:Yl();break;case 31:t.memoizedState!==null&&vn(t);break;case 13:vn(t);break;case 19:N3(t);break;case 10:er(t.type);break;case 22:case 23:vn(t),M3(),e!==null&&Da(zi);break;case 24:er(ca)}}function Uc(e,t){try{var a=t.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var o=n.next;a=o;do{if((a.tag&e)===e){n=void 0;var r=a.create,i=a.inst;n=r(),i.destroy=n}a=a.next}while(a!==o)}}catch(l){Mt(t,t.return,l)}}function Qr(e,t,a){try{var n=t.updateQueue,o=n!==null?n.lastEffect:null;if(o!==null){var r=o.next;n=r;do{if((n.tag&e)===e){var i=n.inst,l=i.destroy;if(l!==void 0){i.destroy=void 0,o=t;var s=a,c=l;try{c()}catch(d){Mt(o,s,d)}}}n=n.next}while(n!==r)}}catch(d){Mt(t,t.return,d)}}function If(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{_9(t,a)}catch(n){Mt(e,e.return,n)}}}function Rf(e,t,a){a.props=Pi(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(n){Mt(e,t,n)}}function Do(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:var o=e.stateNode,r=ar(e.memoizedProps,o);(o.ref===null||o.ref.name!==r)&&(o.ref=Sg(r)),n=o.ref;break;case 7:if(e.stateNode===null){var i=new En(e);dn(e.child,!1,ak,i,void 0,void 0),e.stateNode=i}n=e.stateNode;break;default:n=e.stateNode}typeof a=="function"?e.refCleanup=a(n):a.current=n}}catch(l){Mt(e,t,l)}}function Ta(e,t){var a=e.ref,n=e.refCleanup;if(a!==null)if(typeof n=="function")try{n()}catch(o){Mt(e,t,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(o){Mt(e,t,o)}else a.current=null}function $0(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var a=0;a<t.length;a++)Eg(e.stateNode,t[a])}function r8(e){for(var t=e.return;t!==null&&(W3(t)&&Eg(e.stateNode,t.stateNode),!F3(t));)t=t.return}function pc(e){for(var t=e.return;t!==null&&(W3(t)&&nk(e.stateNode,t.stateNode),!F3(t));)t=t.return}function F3(e){return e.tag===5||e.tag===3||e.tag===27}function W3(e){return e&&e.tag===7&&e.stateNode!==null}function Op(e){var t=e.type,a=e.memoizedProps,n=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break e;case"img":a.src?n.src=a.src:a.srcSet&&(n.srcset=a.srcSet)}}catch(o){Mt(e,e.return,o)}}function Zu(e,t,a){try{var n=e.stateNode;Hw(n,e.type,a,t),n[un]=t}catch(o){Mt(e,e.return,o)}}function Lf(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&ti(e.type)||e.tag===4}function Vu(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||Lf(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&ti(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Bp(e,t,a,n){var o=e.tag;if(o===5||o===6)o=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(o,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(o),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=Ao)),$0(e,n),bt=!0;else if(o!==4&&(o===27&&($0(e,n),n=null,ti(e.type)&&(a=e.stateNode,t=null)),e=e.child,e!==null))for(Bp(e,t,a,n),e=e.sibling;e!==null;)Bp(e,t,a,n),e=e.sibling}function e2(e,t,a,n){var o=e.tag;if(o===5||o===6)o=e.stateNode,t?a.insertBefore(o,t):a.appendChild(o),$0(e,n),bt=!0;else if(o!==4&&(o===27&&($0(e,n),n=null,ti(e.type)&&(a=e.stateNode)),e=e.child,e!==null))for(e2(e,t,a,n),e=e.sibling;e!==null;)e2(e,t,a,n),e=e.sibling}function Pf(e){var t=e.stateNode,a=e.memoizedProps;try{for(var n=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);Na(t,n,a),t[za]=e,t[un]=a}catch(r){Mt(e,e.return,r)}}var t2=!1,xn=null;function i8(e){(e.tag===30||(e.subtreeFlags&33554432)!==0)&&(t2=!0)}var Mo=null;function l8(){var e=Mo;return Mo=null,e}var ln=0;function us(e,t,a,n,o){return ln=0,Of(e.child,t,a,n,o)}function Of(e,t,a,n,o){for(var r=!1;e!==null;){if(e.tag===5){var i=e.stateNode;if(n!==null){var l=n3(i);n.push(l),l.view&&(r=!0)}else r||n3(i).view&&(r=!0);t2=!0,xg(i,ln===0?t:t+"_"+ln,a),ln++}else(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&o||Of(e.child,t,a,n,o)&&(r=!0));e=e.sibling}return r}function Oo(e,t){for(;e!==null;)e.tag===5?wg(e.stateNode,e.memoizedProps):(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&t||Oo(e.child,t)),e=e.sibling}function E0(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if((e.tag!==22||e.memoizedState===null)&&(E0(e),e.tag===30&&(e.flags&18874368)!==0&&e.stateNode.paired)){var t=e.memoizedProps;if(t.name==null||t.name==="auto")throw Error(ee(544));var a=t.name;t=sr(t.default,t.share),t!=="none"&&(us(e,a,t,null,!1)||Oo(e.child,!1))}e=e.sibling}}function Hp(e,t){if(e.tag===30){var a=e.stateNode,n=e.memoizedProps,o=ar(n,a),r=sr(n.default,a.paired?n.share:n.enter);r!=="none"?us(e,o,r,null,!1)?(E0(e),a.paired||t||es(e,n.onEnter)):Oo(e.child,!1):E0(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Hp(e,t),e=e.sibling;else E0(e)}function jp(e){if(xn!==null&&xn.size!==0){var t=xn;if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var a=e.memoizedProps,n=a.name;if(n!=null&&n!=="auto"){var o=t.get(n);if(o!==void 0){var r=sr(a.default,a.share);if(r!=="none"&&(us(e,n,r,null,!1)?(r=e.stateNode,o.paired=r,r.paired=o,es(e,a.onShare)):Oo(e.child,!1)),t.delete(n),t.size===0)break}}}jp(e)}e=e.sibling}}}function Up(e){if(e.tag===30){var t=e.memoizedProps,a=ar(t,e.stateNode),n=xn!==null?xn.get(a):void 0,o=sr(t.default,n!==void 0?t.share:t.exit);o!=="none"&&(us(e,a,o,null,!1)?n!==void 0?(o=e.stateNode,n.paired=o,o.paired=n,xn.delete(a),es(e,t.onShare)):es(e,t.onExit):Oo(e.child,!1)),xn!==null&&jp(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)Up(e),e=e.sibling;else xn!==null&&jp(e)}function Bf(e){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,a=ar(t,e.stateNode);t=sr(t.default,t.update),e.flags&=-5,t!=="none"&&us(e,a,t,e.memoizedState=[],!1)}else(e.subtreeFlags&33554432)!==0&&Bf(e);e=e.sibling}}function _p(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var t=e.stateNode;t.paired!==null&&(t.paired=null,Oo(e.child,!1))}_p(e)}e=e.sibling}}function D0(e){if(e.tag===30)e.stateNode.paired=null,Oo(e.child,!1),_p(e);else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)D0(e),e=e.sibling;else _p(e)}function Hf(e){for(e=e.child;e!==null;)e.tag===30?Oo(e.child,!1):(e.subtreeFlags&33554432)!==0&&Hf(e),e=e.sibling}function K3(e,t,a,n,o,r,i){for(var l=!1;t!==null;){if(t.tag===5){var s=t.stateNode;if(r!==null&&ln<r.length){var c=r[ln],d=n3(s);(c.view||d.view)&&(l=!0);var u;if(u=(e.flags&4)===0)if(d.clip)u=!0;else{u=c.rect;var p=d.rect;u=u.y!==p.y||u.x!==p.x||u.height!==p.height||u.width!==p.width}u&&(e.flags|=4),d.abs?d=!c.abs:(c=c.rect,d=d.rect,d=c.height!==d.height||c.width!==d.width),d&&(e.flags|=32)}else e.flags|=32;(e.flags&4)!==0&&xg(s,ln===0?a:a+"_"+ln,o),l&&(e.flags&4)!==0||(Mo===null&&(Mo=[]),Mo.push(s,ln===0?n:n+"_"+ln,t.memoizedProps)),ln++}else(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&i?e.flags|=t.flags&32:K3(e,t.child,a,n,o,r,i)&&(l=!0));t=t.sibling}return l}function jf(e,t){for(e=e.child;e!==null;){if(e.tag===30){var a=e.memoizedProps,n=e.stateNode,o=ar(a,n),r=sr(a.default,a.update);if(t){n=n.clones;var i=n===null?null:n.map(Gw)}else i=e.memoizedState,e.memoizedState=null;n=e;var l=e.child;ln=0,o=K3(n,l,o,o,r,i,!1),(e.flags&4)!==0&&o&&(t||es(e,a.onUpdate))}else(e.subtreeFlags&33554432)!==0&&jf(e,t);e=e.sibling}}var xa=!1,Ct=!1,To=!1,Gu=!1,s8=typeof WeakSet=="function"?WeakSet:Set,wa=null,zo=!1,ac=!1,a2=!1,Zp=!1;function gw(e,t,a){if(e=e.containerInfo,e3=is,e=S9(e),x3(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var o=n.getSelection&&n.getSelection();if(o&&o.rangeCount!==0){n=o.anchorNode;var r=o.anchorOffset,i=o.focusNode;o=o.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,s=-1,c=-1,d=0,u=0,p=e,b=null;t:for(;;){for(var y;p!==n||r!==0&&p.nodeType!==3||(s=l+r),p!==i||o!==0&&p.nodeType!==3||(c=l+o),p.nodeType===3&&(l+=p.nodeValue.length),(y=p.firstChild)!==null;)b=p,p=y;for(;;){if(p===e)break t;if(b===n&&++d===r&&(s=l),b===i&&++u===o&&(c=l),(y=p.nextSibling)!==null)break;p=b,b=p.parentNode}p=y}n=s===-1||c===-1?null:{start:s,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(t3={focusedElem:e,selectionRange:n},is=!1,a=(a&335544064)===a,wa=t,t=a?9270:1024;wa!==null;){if(e=wa,a&&(n=e.deletions,n!==null))for(r=0;r<n.length;r++)a&&Up(n[r]);if(e.alternate===null&&(e.flags&2)!==0)a&&i8(e),d0(a);else{if(e.tag===22){if(n=e.alternate,e.memoizedState!==null){n!==null&&n.memoizedState===null&&a&&Up(n),d0(a);continue}else if(n!==null&&n.memoizedState!==null){a&&i8(e),d0(a);continue}}n=e.child,(e.subtreeFlags&t)!==0&&n!==null?(n.return=e,wa=n):(a&&Bf(e),d0(a))}}xn=null}function d0(e){for(;wa!==null;){var t=wa,a=e,n=t.alternate,o=t.flags;switch(t.tag){case 0:case 11:case 15:break;case 1:if((o&1024)!==0&&n!==null){a=void 0,o=n.memoizedProps,n=n.memoizedState;var r=t.stateNode;try{var i=Pi(t.type,o);a=r.getSnapshotBeforeUpdate(i,n),r.__reactInternalSnapshotBeforeUpdate=a}catch(l){Mt(t,t.return,l)}}break;case 3:if((o&1024)!==0){if(n=t.stateNode.containerInfo,a=n.nodeType,a===9)o3(n);else if(a===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":o3(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:a&&n!==null&&(a=ar(n.memoizedProps,n.stateNode),o=t.memoizedProps,o=sr(o.default,o.update),o!=="none"&&us(n,a,o,n.memoizedState=[],!0));break;default:if((o&1024)!==0)throw Error(ee(163))}if(n=t.sibling,n!==null){n.return=t.return,wa=n;break}wa=t.return}}function Uf(e,t,a){var n=a.flags;switch(a.tag){case 0:case 11:case 15:Eo(e,a),n&4&&Uc(5,a);break;case 1:if(Eo(e,a),n&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(i){Mt(a,a.return,i)}else{var o=Pi(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(i){Mt(a,a.return,i)}}n&64&&If(a),n&512&&Do(a,a.return);break;case 3:if(Eo(e,a),n&64&&(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{_9(e,t)}catch(i){Mt(a,a.return,i)}}break;case 27:t===null&&n&4&&Pf(a);case 26:case 5:Eo(e,a),t===null&&n&4&&Op(a),n&512&&Do(a,a.return);break;case 12:Eo(e,a);break;case 31:Eo(e,a),n&4&&Gf(e,a);break;case 13:Eo(e,a),n&4&&qf(e,a),n&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=Ew.bind(null,a),ik(e,a))));break;case 22:if(n=a.memoizedState!==null||xa,!n){var r=t!==null&&t.memoizedState!==null||Ct;t=xa,o=Ct,xa=n,(Ct=r)&&!o?(n=2,(a.subtreeFlags&8772)!==0&&(n|=1),ao(e,a,n)):Eo(e,a),xa=t,Ct=o}break;case 30:Eo(e,a),n&512&&Do(a,a.return);break;case 7:n&512&&Do(a,a.return);default:Eo(e,a)}}function Vp(e,t){for(e=e.child;e!==null;)_f(e,t),e=e.sibling}function _f(e,t){switch(e.tag){case 5:case 26:try{var a=e.stateNode;if(t){var n=a.style;typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none"}else{var o=e.stateNode,r=e.memoizedProps.style,i=r!=null&&r.hasOwnProperty("display")?r.display:null;o.style.display=i==null||typeof i=="boolean"?"":(""+i).trim()}}catch(s){Mt(e,e.return,s)}Gp(e,t);break;case 6:try{e.stateNode.nodeValue=t?"":e.memoizedProps,bt=!0}catch(s){Mt(e,e.return,s)}break;case 18:try{var l=e.stateNode;t?C8(l,!0):C8(e.stateNode,!1)}catch(s){Mt(e,e.return,s)}break;case 22:case 23:e.memoizedState===null&&Vp(e,t);break;default:Vp(e,t)}}function Gp(e,t){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){e:{var a=e,n=t;switch(a.tag){case 4:_f(a,n);break e;case 22:a.memoizedState===null&&Gp(a,n);break e;default:Gp(a,n)}}e=e.sibling}}function Zf(e){var t=e.alternate;t!==null&&(e.alternate=null,Zf(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&p2(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ft=null,on=!1;function to(e,t,a){for(a=a.child;a!==null;)Vf(e,t,a),a=a.sibling}function Vf(e,t,a){if(Sn&&typeof Sn.onCommitFiberUnmount=="function")try{Sn.onCommitFiberUnmount(Rc,a)}catch{}switch(a.tag){case 26:Ct||Ta(a,t),to(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&!Ct&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:Ct||Ta(a,t),pc(a);var n=Ft,o=on;ti(a.type)&&(Ft=a.stateNode,on=!1),to(e,t,a),Ng(a.stateNode,a.type,a.memoizedProps),Ft=n,on=o;break;case 5:Ct||Ta(a,t),pc(a);case 6:if(a.tag===6&&pc(a),n=Ft,o=on,Ft=null,to(e,t,a),Ft=n,on=o,Ft!==null)if(on)try{(Ft.nodeType===9?Ft.body:Ft.nodeName==="HTML"?Ft.ownerDocument.body:Ft).removeChild(a.stateNode),bt=!0}catch(r){Mt(a,t,r)}else try{Ft.removeChild(a.stateNode),bt=!0}catch(r){Mt(a,t,r)}break;case 18:Ft!==null&&(on?(e=Ft,S8(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),ls(e)):S8(Ft,a.stateNode));break;case 4:n=Ft,o=on,Ft=a.stateNode.containerInfo,on=!0,to(e,t,a),Ft=n,on=o;break;case 0:case 11:case 14:case 15:Qr(2,a,t),Ct||Qr(4,a,t),to(e,t,a);break;case 1:Ct||(Ta(a,t),n=a.stateNode,typeof n.componentWillUnmount=="function"&&Rf(a,t,n)),to(e,t,a);break;case 21:to(e,t,a);break;case 22:Ct=(n=Ct)||a.memoizedState!==null,to(e,t,a),Ct=n;break;case 30:Ta(a,t),to(e,t,a);break;case 7:Ct||Ta(a,t),to(e,t,a);break;default:to(e,t,a)}}function Gf(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ls(e)}catch(a){Mt(t,t.return,a)}}}function qf(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ls(e)}catch(a){Mt(t,t.return,a)}}function bw(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new s8),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new s8),t;default:throw Error(ee(435,e.tag))}}function u0(e,t){var a=bw(e);t.forEach(function(n){if(!a.has(n)){a.add(n);var o=Dw.bind(null,e,n);n.then(o,o)}})}function Xa(e,t,a){var n=t.deletions;if(n!==null)for(var o=0;o<n.length;o++){var r=n[o],i=e,l=t,s=l;e:for(;s!==null;){switch(s.tag){case 27:if(ti(s.type)){Ft=s.stateNode,on=!1;break e}break;case 5:Ft=s.stateNode,on=!1;break e;case 3:case 4:Ft=s.stateNode.containerInfo,on=!0;break e}s=s.return}if(Ft===null)throw Error(ee(160));Vf(i,l,r),Ft=null,on=!1,i=r.alternate,i!==null&&(i.return=null),r.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)Ff(t,e,a),t=t.sibling}var no=null;function Ff(e,t,a){var n=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(o&4&&(n=e.updateQueue,n=n!==null?n.events:null,n!==null))for(var r=0;r<n.length;r++){var i=n[r];i.ref.impl=i.nextImpl}Xa(t,e,a),Qa(e),o&4&&(Qr(3,e,e.return),Uc(3,e),Qr(5,e,e.return));break;case 1:Xa(t,e,a),Qa(e),o&512&&(Ct||n===null||Ta(n,n.return)),o&64&&xa&&(e=e.updateQueue,e!==null&&(t=e.callbacks,t!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?t:a.concat(t))));break;case 26:if(r=no,Xa(t,e,a),Qa(e),o&512&&(Ct||n===null||Ta(n,n.return)),o&4)if(o=n!==null?n.memoizedState:null,a=e.memoizedState,n===null)if(a===null)if(e.stateNode===null)if(xa)e.stateNode=vg(e.type,e.memoizedProps,t.containerInfo,e);else{e:{t=e.type,a=e.memoizedProps,o=r.ownerDocument||r;t:switch(t){case"title":n=o.getElementsByTagName("title")[0],(!n||n[Oc]||n[za]||n.namespaceURI==="http://www.w3.org/2000/svg"||n.hasAttribute("itemprop"))&&(n=o.createElement(t),o.head.insertBefore(n,o.querySelector("head > title"))),Na(n,t,a),n[za]=e,ka(n),t=n;break e;case"link":if(r=I8("link","href",o).get(t+(a.href||""))){for(i=0;i<r.length;i++)if(n=r[i],n.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&n.getAttribute("rel")===(a.rel==null?null:a.rel)&&n.getAttribute("title")===(a.title==null?null:a.title)&&n.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){r.splice(i,1);break t}}n=o.createElement(t),Na(n,t,a),o.head.appendChild(n);break;case"meta":if(r=I8("meta","content",o).get(t+(a.content||""))){for(i=0;i<r.length;i++)if(n=r[i],n.getAttribute("content")===(a.content==null?null:""+a.content)&&n.getAttribute("name")===(a.name==null?null:a.name)&&n.getAttribute("property")===(a.property==null?null:a.property)&&n.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&n.getAttribute("charset")===(a.charSet==null?null:a.charSet)){r.splice(i,1);break t}}n=o.createElement(t),Na(n,t,a),o.head.appendChild(n);break;default:throw Error(ee(468,t))}n[za]=e,ka(n),t=n}e.stateNode=t}else xa||l3(r,e.type,e.stateNode);else e.stateNode=A8(r,a,e.memoizedProps);else o!==a?(o===null?(t=n.stateNode,t===null||Ct||t.parentNode.removeChild(t)):o.count--,a===null?xa||l3(r,e.type,e.stateNode):A8(r,a,e.memoizedProps)):a===null&&e.stateNode!==null&&Zu(e,e.memoizedProps,n.memoizedProps);break;case 27:Xa(t,e,a),Qa(e),o&512&&(Ct||n===null||Ta(n,n.return)),n!==null&&o&4&&Zu(e,e.memoizedProps,n.memoizedProps);break;case 5:if(r=To,To=!1,Xa(t,e,a),To=r,Qa(e),o&512&&(Ct||n===null||Ta(n,n.return)),e.flags&32){t=e.stateNode;try{Xl(t,""),bt=!0}catch(d){Mt(e,e.return,d)}}o&4&&e.stateNode!=null&&(t=e.memoizedProps,Zu(e,t,n!==null?n.memoizedProps:t)),o&1024&&(Gu=!0);break;case 6:if(Xa(t,e,a),Qa(e),o&4){if(e.stateNode===null)throw Error(ee(162));t=e.memoizedProps,a=e.stateNode;try{a.nodeValue=t,bt=!0}catch(d){Mt(e,e.return,d)}}break;case 3:if(bt=!1,I0=null,r=no,no=Dc(t.containerInfo),Xa(t,e,a),no=r,Qa(e),o&4&&n!==null&&n.memoizedState.isDehydrated)try{ls(t.containerInfo)}catch(d){Mt(e,e.return,d)}Gu&&(Gu=!1,Wf(e)),bt=!1;break;case 4:o=To,To=xa,n=f7(),r=no,no=Dc(e.stateNode.containerInfo),Xa(t,e,a),Qa(e),no=r,bt&&ac&&(a2=!0),bt=n,To=o;break;case 12:Xa(t,e,a),Qa(e);break;case 31:Xa(t,e,a),Qa(e),o&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,u0(e,t)));break;case 13:Xa(t,e,a),Qa(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(T2=kn()),o&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,u0(e,t)));break;case 22:r=e.memoizedState!==null,i=n!==null&&n.memoizedState!==null;var l=xa,s=Ct,c=To;xa=l||r,To=c||r,Ct=s||i,Xa(t,e,a),Ct=s,To=c,xa=l,Qa(e),o&8192&&(t=e.stateNode,t._visibility=r?t._visibility&-2:t._visibility|1,!r||n===null||i||xa||Ct||(t=i||Ct,a=xa,n=Ct,xa=r||xa,Ct=t,Mr(e,2),xa=a,Ct=n),!r&&To||Vp(e,r)),o&4&&(t=e.updateQueue,t!==null&&(a=t.retryQueue,a!==null&&(t.retryQueue=null,u0(e,a))));break;case 19:Xa(t,e,a),Qa(e),o&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,u0(e,t)));break;case 30:o&512&&(Ct||n===null||Ta(n,n.return)),o=f7(),r=ac,i=(a&335544064)===a,l=e.memoizedProps,ac=i&&sr(l.default,l.update)!=="none",Xa(t,e,a),Qa(e),i&&n!==null&&bt&&(e.flags|=4),ac=r,bt=o;break;case 21:break;case 7:o&512&&(Ct||n===null||Ta(n,n.return)),n&&n.stateNode!==null&&(n.stateNode._fragmentFiber=e);default:Xa(t,e,a),Qa(e)}}function Qa(e){var t=e.flags;if(t&2){try{for(var a,n=e.return;n!==null;){if(Lf(n)){a=n;break}n=n.return}n=null;for(var o=e.return;o!==null;){if(W3(o)){var r=o.stateNode;n===null?n=[r]:n.push(r)}if(F3(o))break;o=o.return}var i=n;if(a==null)throw Error(ee(160));switch(a.tag){case 27:var l=a.stateNode,s=Vu(e);e2(e,s,l,i);break;case 5:var c=a.stateNode;a.flags&32&&(Xl(c,""),a.flags&=-33);var d=Vu(e);e2(e,d,c,i);break;case 3:case 4:var u=a.stateNode.containerInfo,p=Vu(e);Bp(e,p,u,i);break;default:throw Error(ee(161))}}catch(b){Mt(e,e.return,b)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function Wf(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;Wf(t),t.tag===5&&t.flags&1024&&(t=t.stateNode,is=!0,t.reset(),is=!1),e=e.sibling}}function Sl(e,t){if(t.subtreeFlags&9270)for(t=t.child;t!==null;)Kf(t,e),t=t.sibling;else jf(t,!1)}function Kf(e,t){var a=e.alternate;if(a===null)Hp(e,!1);else switch(e.tag){case 3:if(Zp=zo=!1,l8(),Sl(t,e),!zo&&!a2){if(e=Mo,e!==null)for(var n=0;n<e.length;n+=3){a=e[n];var o=e[n+1];wg(a,e[n+2]),a=a.ownerDocument.documentElement,a!==null&&a.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+o+")"})}e=t.containerInfo,e=e.nodeType===9?e.documentElement:e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===""&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),Zp=!0}Mo=null;break;case 5:Sl(t,e);break;case 4:n=zo,zo=!1,Sl(t,e),zo&&(a2=!0),zo=n;break;case 22:e.memoizedState===null&&(a.memoizedState!==null?Hp(e,!1):Sl(t,e));break;case 30:n=zo,o=l8(),zo=!1,Sl(t,e),zo&&(e.flags|=4);var r=e.memoizedProps,i=e.stateNode;t=ar(r,i),i=ar(a.memoizedProps,i);var l=sr(r.default,r.update);l==="none"?t=!1:(r=a.memoizedState,a.memoizedState=null,a=e.child,ln=0,t=K3(e,a,t,i,l,r,!0),ln!==(r===null?0:r.length)&&(e.flags|=32)),(e.flags&4)!==0&&t?(es(e,e.memoizedProps.onUpdate),Mo=o):o!==null&&(o.push.apply(o,Mo),Mo=o),zo=(e.flags&32)!==0?!0:n;break;default:Sl(t,e)}}function Eo(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)Uf(e,t.alternate,t),t=t.sibling}function Mr(e,t){for(e=e.child;e!==null;){var a=e,n=t;switch(a.tag){case 0:case 11:case 14:case 15:Qr(4,a,a.return),Mr(a,n);break;case 1:Ta(a,a.return);var o=a.stateNode;typeof o.componentWillUnmount=="function"&&Rf(a,a.return,o),Mr(a,n);break;case 27:(n&2)!==0&&Ng(a.stateNode,a.type,a.memoizedProps);case 5:Ta(a,a.return),a.tag!==5&&a.tag!==27||pc(a),Mr(a,n);break;case 6:pc(a);break;case 26:Ta(a,a.return),o=a.stateNode,a.memoizedState!==null||o===null||Ct||o.parentNode.removeChild(o),Mr(a,n);break;case 22:a.memoizedState===null&&Mr(a,n);break;case 30:Ta(a,a.return),Mr(a,n);break;case 7:Ta(a,a.return);default:Mr(a,n)}e=e.sibling}}function ao(e,t,a){for(a=(t.subtreeFlags&8772)!==0?a:a&-2,t=t.child;t!==null;){var n=t.alternate,o=e,r=t,i=r.flags,l=(a&1)!==0;switch(r.tag){case 0:case 11:case 15:ao(o,r,a),Uc(4,r);break;case 1:if(ao(o,r,a),n=r,o=n.stateNode,typeof o.componentDidMount=="function")try{o.componentDidMount()}catch(d){Mt(n,n.return,d)}if(n=r,o=n.updateQueue,o!==null){var s=n.stateNode;try{var c=o.shared.hiddenCallbacks;if(c!==null)for(o.shared.hiddenCallbacks=null,o=0;o<c.length;o++)U9(c[o],s)}catch(d){Mt(n,n.return,d)}}l&&i&64&&If(r),Do(r,r.return);break;case 27:(a&2)!==0&&Pf(r);case 5:r.tag!==5&&r.tag!==27||r8(r),ao(o,r,a),l&&n===null&&i&4&&Op(r),Do(r,r.return);break;case 6:r8(r);break;case 26:s=r.stateNode,r.memoizedState!==null||s===null||xa||l3(Dc(s.ownerDocument),r.type,s),ao(o,r,a),l&&n===null&&i&4&&Op(r),Do(r,r.return);break;case 12:ao(o,r,a);break;case 31:ao(o,r,a),l&&i&4&&Gf(o,r);break;case 13:ao(o,r,a),l&&i&4&&qf(o,r);break;case 22:r.memoizedState===null&&ao(o,r,a),Do(r,r.return);break;case 30:ao(o,r,a),Do(r,r.return);break;case 7:Do(r,r.return);default:ao(o,r,a)}t=t.sibling}}function Y3(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&Hc(a))}function J3(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Hc(e))}function _n(e,t,a,n){var o=(a&335544064)===a;if(t.subtreeFlags&(o?10262:10256))for(t=t.child;t!==null;)Yf(e,t,a,n),t=t.sibling;else o&&Hf(t)}function Yf(e,t,a,n){var o=(a&335544064)===a;o&&t.alternate===null&&t.return!==null&&t.return.alternate!==null&&D0(t);var r=t.flags;switch(t.tag){case 0:case 11:case 15:_n(e,t,a,n),r&2048&&Uc(9,t);break;case 1:_n(e,t,a,n);break;case 3:_n(e,t,a,n),o&&Zp&&(e=e.containerInfo,e=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,e.style.viewTransitionName==="root"&&(e.style.viewTransitionName=""),e=e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName==="none"&&(e.style.viewTransitionName="")),r&2048&&(r=null,t.alternate!==null&&(r=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==r&&(t.refCount++,r!=null&&Hc(r)));break;case 12:if(r&2048){_n(e,t,a,n),r=t.stateNode;try{var i=t.memoizedProps,l=i.id,s=i.onPostCommit;typeof s=="function"&&s(l,t.alternate===null?"mount":"update",r.passiveEffectDuration,-0)}catch(c){Mt(t,t.return,c)}}else _n(e,t,a,n);break;case 31:_n(e,t,a,n);break;case 13:_n(e,t,a,n);break;case 23:break;case 22:i=t.stateNode,l=t.alternate,t.memoizedState!==null?(o&&l!==null&&l.memoizedState===null&&D0(l),i._visibility&2?_n(e,t,a,n):mc(e,t)):(o&&l!==null&&l.memoizedState!==null&&D0(t),i._visibility&2?_n(e,t,a,n):(i._visibility|=2,Tl(e,t,a,n,(t.subtreeFlags&10256)!==0||!1))),r&2048&&Y3(l,t);break;case 24:_n(e,t,a,n),r&2048&&J3(t.alternate,t);break;case 30:o&&(r=t.alternate,r!==null&&(Oo(r.child,!0),Oo(t.child,!0))),_n(e,t,a,n);break;default:_n(e,t,a,n)}}function Tl(e,t,a,n,o){for(o=o&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var r=e,i=t,l=a,s=n,c=i.flags;switch(i.tag){case 0:case 11:case 15:Tl(r,i,l,s,o),Uc(8,i);break;case 23:break;case 22:var d=i.stateNode;i.memoizedState!==null?d._visibility&2?Tl(r,i,l,s,o):mc(r,i):(d._visibility|=2,Tl(r,i,l,s,o)),o&&c&2048&&Y3(i.alternate,i);break;case 24:Tl(r,i,l,s,o),o&&c&2048&&J3(i.alternate,i);break;default:Tl(r,i,l,s,o)}t=t.sibling}}function mc(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,n=t,o=n.flags;switch(n.tag){case 22:mc(a,n),o&2048&&Y3(n.alternate,n);break;case 24:mc(a,n),o&2048&&J3(n.alternate,n);break;default:mc(a,n)}t=t.sibling}}var wi=8192;function yi(e,t,a){if(e.subtreeFlags&wi)for(e=e.child;e!==null;)Jf(e,t,a),e=e.sibling}function Jf(e,t,a){switch(e.tag){case 26:yi(e,t,a),e.flags&wi&&(e.memoizedState!==null?xk(a,no,e.memoizedState,e.memoizedProps):(e=e.stateNode,(t&335544128)===t&&L8(a,e)));break;case 5:yi(e,t,a),e.flags&wi&&(e=e.stateNode,(t&335544128)===t&&L8(a,e));break;case 3:case 4:var n=no;no=Dc(e.stateNode.containerInfo),yi(e,t,a),no=n;break;case 22:e.memoizedState===null&&(n=e.alternate,n!==null&&n.memoizedState!==null?(n=wi,wi=16777216,yi(e,t,a),wi=n):yi(e,t,a));break;case 30:if((e.flags&wi)!==0&&(n=e.memoizedProps.name,n!=null&&n!=="auto")){var o=e.stateNode;o.paired=null,xn===null&&(xn=new Map),xn.set(n,o)}yi(e,t,a);break;default:yi(e,t,a)}}function Xf(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function Ys(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var n=t[a];wa=n,$f(n,e)}Xf(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)Qf(e),e=e.sibling}function Qf(e){switch(e.tag){case 0:case 11:case 15:Ys(e),e.flags&2048&&Qr(9,e,e.return);break;case 3:Ys(e);break;case 12:Ys(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,M0(e)):Ys(e);break;default:Ys(e)}}function M0(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var n=t[a];wa=n,$f(n,e)}Xf(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:Qr(8,t,t.return),M0(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,M0(t));break;default:M0(t)}e=e.sibling}}function $f(e,t){for(;wa!==null;){var a=wa;switch(a.tag){case 0:case 11:case 15:Qr(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var n=a.memoizedState.cachePool.pool;n!=null&&n.refCount++}break;case 24:Hc(a.memoizedState.cache)}if(n=a.child,n!==null)n.return=a,wa=n;else e:for(a=e;wa!==null;){n=wa;var o=n.sibling,r=n.return;if(Zf(n),n===a){wa=null;break e}if(o!==null){o.return=r,wa=o;break e}wa=r}}}var hw={getCacheForType:function(e){var t=Ea(ca),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return Ea(ca).controller.signal}},yw=typeof WeakMap=="function"?WeakMap:Map,yt=0,It=null,st=null,ct=0,Et=0,hn=null,Or=!1,ps=!1,X3=!1,ir=0,ea=0,$r=0,Di=0,n2=0,wn=0,$l=0,fc=null,rn=null,qp=!1,T2=0,eg=0,o2=1/0,r2=null,qr=null,Xt=0,ro=null,Oi=null,Po=0,Fp=0,Wp=null,tg=null,Fl=null,Wl=null,Kl=null,gc=0,N0=null;function Tn(){return(yt&2)!==0&&ct!==0?ct&-ct:Ue.T!==null?$3():o9()}function ag(){if(wn===0)if((ct&536870912)===0||nt){var e=Q1;Q1<<=1,(Q1&3932160)===0&&(Q1=262144),wn=e}else wn=536870912;return e=Aa.current,e!==null&&(e.flags|=32),wn}function es(e,t){if(t!=null){var a=e.stateNode,n=a.ref;n===null&&(n=a.ref=Sg(ar(e.memoizedProps,a))),Wl===null&&(Wl=[]),Wl.push(t.bind(null,n))}}function cn(e,t,a){(e===It&&(Et===2||Et===9)||e.cancelPendingCommit!==null)&&(ts(e,0),Br(e,ct,wn,!1)),Pc(e,a),((yt&2)===0||e!==It)&&(e===It&&((yt&2)===0&&(Di|=a),ea===4&&Br(e,ct,wn,!1)),Ho(e))}function ng(e,t,a){if((yt&6)!==0)throw Error(ee(327));var n=!a&&(t&127)===0&&(t&e.expiredLanes)===0||Lc(e,t),o=n?ww(e,t):qu(e,t,!0),r=n;do{if(o===0){ps&&!n&&Br(e,t,0,!1);break}else{if(a=e.current.alternate,r&&!vw(a)){o=qu(e,t,!1),r=!1;continue}if(o===2){if(r=t,e.errorRecoveryDisabledLanes&r)var i=0;else i=e.pendingLanes&-536870913,i=i!==0?i:i&536870912?536870912:0;if(i!==0){t=i;e:{var l=e;o=fc;var s=l.current.memoizedState.isDehydrated;if(s&&(ts(l,i).flags|=256),i=qu(l,i,!1),i!==2&&i!==6){if(X3&&!s){l.errorRecoveryDisabledLanes|=r,Di|=r,o=4;break e}r=rn,rn=o,r!==null&&(rn===null?rn=r:rn.push.apply(rn,r))}o=i}if(r=!1,o!==2)continue}}if(o===1){ts(e,0),Br(e,t,0,!0);break}e:{switch(n=e,r=o,r){case 0:case 1:throw Error(ee(345));case 4:if((t&4194048)!==t&&(t&62914560)!==t)break;case 6:Br(n,t,wn,!Or);break e;case 2:rn=null;break;case 3:case 5:break;default:throw Error(ee(329))}if((t&62914560)===t&&(o=T2+300-kn(),10<o)){if(Br(n,t,wn,!Or),u2(n,0,!0)!==0)break e;Po=t,n.timeoutHandle=t4(c8.bind(null,n,a,rn,r2,qp,t,wn,Di,$l,Or,r,"Throttled",-0,0),o);break e}c8(n,a,rn,r2,qp,t,wn,Di,$l,Or,r,null,-0,0)}}break}while(!0);Ho(e)}function c8(e,t,a,n,o,r,i,l,s,c,d,u,p,b){e.timeoutHandle=-1;var y=t.subtreeFlags,f=(r&335544064)===r;if(u=null,(f||y&8192||(y&16785408)===16785408)&&(u={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Ao},xn=null,Jf(t,r,u),f&&(y=u,f=e.containerInfo,f=(f.nodeType===9?f:f.ownerDocument).__reactViewTransition,f!=null&&(y.count++,y.waitingForViewTransition=!0,y=Mc.bind(y),f.finished.then(y,y))),y=(r&62914560)===r?T2-kn():(r&4194048)===r?eg-kn():0,y=wk(u,y),y!==null)){Po=r,e.cancelPendingCommit=y(u8.bind(null,e,t,r,a,n,o,i,l,s,c,d,u,null,p,b)),Br(e,r,i,!c);return}u8(e,t,r,a,n,o,i,l,s,c,d,u)}function vw(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var n=0;n<a.length;n++){var o=a[n],r=o.getSnapshot;o=o.value;try{if(!zn(r(),o))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Br(e,t,a,n){t=$8(e,t),t&=~n2,t&=~Di,e.suspendedLanes|=t,e.pingedLanes&=~t,n&&(e.warmLanes|=t),n=e.expirationTimes;for(var o=t;0<o;){var r=31-Cn(o),i=1<<r;n[r]=-1,o&=~i}a!==0&&t9(e,a,t)}function z2(){return(yt&6)===0?(_c(0,!1),!1):!0}function Q3(){if(st!==null){if(Et===0)var e=st.return;else e=st,Qo=_i=null,P3(e),Vl=null,kc=0,e=st;for(;e!==null;)Af(e.alternate,e),e=e.return;st=null}}function ts(e,t){var a=e.timeoutHandle;return a!==-1&&(e.timeoutHandle=-1,_w(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),Po=0,Q3(),It=e,st=a=$o(e.current,null),ct=t,Et=0,hn=null,Or=!1,ps=Lc(e,t),X3=!1,$l=wn=n2=Di=$r=ea=0,rn=fc=null,qp=!1,ir=$8(e,t),b2(),a}function og(e,t){Ye=null,Ue.H=X0,t===ds||t===v2?(t=O7(),Et=3):t===E3?(t=O7(),Et=4):Et=t===V3?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,hn=t,st===null&&(ea=1,Q0(e,Fn(t,e.current)))}function rg(){var e=Aa.current;return e===null?!0:(ct&4194048)===ct?Va===null:(ct&62914560)===ct||(ct&536870912)!==0?e===Va:!1}function ig(){var e=Ue.H;return Ue.H=X0,e===null?X0:e}function lg(){var e=Ue.A;return Ue.A=hw,e}function i2(){ea=4,Or||(ct&4194048)!==ct&&Aa.current!==null||(ps=!0),($r&134217727)===0&&(Di&134217727)===0||It===null||Br(It,ct,wn,!1)}function qu(e,t,a){var n=yt;yt|=2;var o=ig(),r=lg();(It!==e||ct!==t)&&(r2=null,ts(e,t)),t=!1;var i=ea;e:do try{if(Et!==0&&st!==null){var l=st,s=hn;switch(Et){case 8:Q3(),i=6;break e;case 3:case 2:case 9:case 6:Aa.current===null&&(t=!0);var c=Et;if(Et=0,hn=null,Hl(e,l,s,c),a&&ps){i=0;break e}break;default:c=Et,Et=0,hn=null,Hl(e,l,s,c)}}xw(),i=ea;break}catch(d){og(e,d)}while(!0);return t&&e.shellSuspendCounter++,Qo=_i=null,yt=n,Ue.H=o,Ue.A=r,st===null&&(It=null,ct=0,b2()),i}function xw(){for(;st!==null;)sg(st)}function ww(e,t){var a=yt;yt|=2;var n=ig(),o=lg();It!==e||ct!==t?(r2=null,o2=kn()+500,ts(e,t)):ps=Lc(e,t);e:do try{if(Et!==0&&st!==null){t=st;var r=hn;t:switch(Et){case 1:Et=0,hn=null,Hl(e,t,r,1);break;case 2:case 9:if(P7(r)){Et=0,hn=null,d8(t);break}t=function(){Et!==2&&Et!==9||It!==e||(Et=7),Ho(e)},r.then(t,t);break e;case 3:Et=7;break e;case 4:Et=5;break e;case 7:P7(r)?(Et=0,hn=null,d8(t)):(Et=0,hn=null,Hl(e,t,r,7));break;case 5:var i=null;switch(st.tag){case 26:i=st.memoizedState;case 5:case 27:var l=st;if(i?Rg(i):l.stateNode.complete){Et=0,hn=null;var s=l.sibling;if(s!==null)st=s;else{var c=l.return;c!==null?(st=c,E2(c)):st=null}break t}}Et=0,hn=null,Hl(e,t,r,5);break;case 6:Et=0,hn=null,Hl(e,t,r,6);break;case 8:Q3(),ea=6;break e;default:throw Error(ee(462))}}kw();break}catch(d){og(e,d)}while(!0);return Qo=_i=null,Ue.H=n,Ue.A=o,yt=a,st!==null?0:(It=null,ct=0,b2(),ea)}function kw(){for(;st!==null&&!jv();)sg(st)}function sg(e){var t=Nf(e.alternate,e,ir);e.memoizedProps=e.pendingProps,t===null?E2(e):st=t}function d8(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=Q7(a,t,t.pendingProps,t.type,void 0,ct);break;case 11:t=Q7(a,t,t.pendingProps,t.type.render,t.ref,ct);break;case 5:P3(t);var n=t;n===Sa&&(nt?(G0(n),n.tag===5&&n.stateNode!=null&&(Bt=n.stateNode)):(G0(n),nt=!0));default:Af(a,t),t=st=A9(t,ir),t=Nf(a,t,ir)}e.memoizedProps=e.pendingProps,t===null?E2(e):st=t}function Hl(e,t,a,n){Qo=_i=null,P3(t),Vl=null,kc=0;var o=t.return;try{if(cw(e,o,t,a,ct)){ea=1,Q0(e,Fn(a,e.current)),st=null;return}}catch(r){if(o!==null)throw st=o,r;ea=1,Q0(e,Fn(a,e.current)),st=null;return}t.flags&32768?(nt||n===1?e=!0:ps||(ct&536870912)!==0?e=!1:(Or=e=!0,(n===2||n===9||n===3||n===6)&&(n=Aa.current,n!==null&&n.tag===13&&(n.flags|=16384))),cg(t,e)):E2(t)}function E2(e){var t=e;do{if((t.flags&32768)!==0){cg(t,Or);return}e=t.return;var a=mw(t.alternate,t,ir);if(a!==null){st=a;return}if(t=t.sibling,t!==null){st=t;return}st=t=e}while(t!==null);ea===0&&(ea=5)}function cg(e,t){do{var a=fw(e.alternate,e);if(a!==null){a.flags&=32767,st=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){st=e;return}st=e=a}while(e!==null);ea=6,st=null}function u8(e,t,a,n,o,r,i,l,s,c,d,u){e.cancelPendingCommit=null;do D2();while(Xt!==0);if((yt&6)!==0)throw Error(ee(327));if(t!==null){if(t===e.current)throw Error(ee(177));e===It&&(st=It=null,ct=0),Oi=t,ro=e,Po=a,Wp=o,tg=n,Sw(e,t,a,i,l,s,u)}}function Sw(e,t,a,n,o,r,i){var l=t.lanes|t.childLanes;if(Fp=l,l|=w3,Yv(e,a,l,n,o,r),Wl=null,(a&335544064)===a?(Kl=Xx(e),n=10262):(Kl=null,n=10256),(t.subtreeFlags&n)!==0||(t.flags&n)!==0?(e.callbackNode=null,e.callbackPriority=0,Mw(j0,function(){return Xp(),null})):(e.callbackNode=null,e.callbackPriority=0),t2=!1,n=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||n){n=Ue.T,Ue.T=null,o=vt.p,vt.p=2,r=yt,yt|=4;try{gw(e,t,a)}finally{yt=r,vt.p=o,Ue.T=n}}Xt=1,t2?Fl=Ww(i,e.containerInfo,Kl,Kp,Yp,Tw,Jp,Xp,Cw,null,null):(Kp(),Yp(),Jp())}function Cw(e){if(Xt!==0){var t=ro.onRecoverableError;t(e,{componentStack:null})}}function Tw(){Xt===3&&(Xt=0,Kf(Oi,ro),Xt=4)}function Kp(){if(Xt===1){Xt=0;var e=ro,t=Oi,a=Po,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=Ue.T,Ue.T=null;var o=vt.p;vt.p=2;var r=yt;yt|=4;try{ac=a2=!1,Ff(t,e,a),a=t3;var i=S9(e.containerInfo),l=a.focusedElem,s=a.selectionRange;if(i!==l&&l&&l.ownerDocument&&k9(l.ownerDocument.documentElement,l)){if(s!==null&&x3(l)){var c=s.start,d=s.end;if(d===void 0&&(d=c),"selectionStart"in l)l.selectionStart=c,l.selectionEnd=Math.min(d,l.value.length);else{var u=l.ownerDocument||document,p=u&&u.defaultView||window;if(p.getSelection){var b=p.getSelection(),y=l.textContent.length,f=Math.min(s.start,y),w=s.end===void 0?f:Math.min(s.end,y);!b.extend&&f>w&&(i=w,w=f,f=i);var h=E7(l,f),m=E7(l,w);if(h&&m&&(b.rangeCount!==1||b.anchorNode!==h.node||b.anchorOffset!==h.offset||b.focusNode!==m.node||b.focusOffset!==m.offset)){var v=u.createRange();v.setStart(h.node,h.offset),b.removeAllRanges(),f>w?(b.addRange(v),b.extend(m.node,m.offset)):(v.setEnd(m.node,m.offset),b.addRange(v))}}}}for(u=[],b=l;b=b.parentNode;)b.nodeType===1&&u.push({element:b,left:b.scrollLeft,top:b.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l<u.length;l++){var T=u[l];T.element.scrollLeft=T.left,T.element.scrollTop=T.top}}is=!!e3,t3=e3=null}finally{yt=r,vt.p=o,Ue.T=n}}e.current=t,Xt=2}}function Yp(){if(Xt===2){Xt=0;var e=ro,t=Oi,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=Ue.T,Ue.T=null;var n=vt.p;vt.p=2;var o=yt;yt|=4;try{Uf(e,t.alternate,t)}finally{yt=o,vt.p=n,Ue.T=a}}Xt=3}}function Jp(){if(Xt===4||Xt===3){Xt=0;var e=Fl;Fl=null,Uv();var t=ro,a=Oi,n=Po,o=tg,r=(n&335544064)===n?10262:10256;if((a.subtreeFlags&r)!==0||(a.flags&r)!==0?Xt=5:(Xt=0,Oi=ro=null,dg(t,t.pendingLanes)),r=t.pendingLanes,r===0&&(qr=null),f3(n),a=a.stateNode,Sn&&typeof Sn.onCommitFiberRoot=="function")try{Sn.onCommitFiberRoot(Rc,a,void 0,(a.current.flags&128)===128)}catch{}if(o!==null){a=Ue.T,r=vt.p,vt.p=2,Ue.T=null;try{for(var i=t.onRecoverableError,l=0;l<o.length;l++){var s=o[l];i(s.value,{componentStack:s.stack})}}finally{Ue.T=a,vt.p=r}}if(o=Wl,i=Kl,Kl=null,o!==null&&(Wl=null,i===null&&(i=[]),e!==null))for(s=0;s<o.length;s++)a=(0,o[s])(i),a!==void 0&&e.finished.finally(a);(Po&3)!==0&&D2(),Ho(t),r=t.pendingLanes,(n&261930)!==0&&(r&42)!==0?t===N0?gc++:(gc=0,N0=t):(gc=0,N0=null),_c(0,!1)}}function dg(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Hc(t)))}function D2(){return Fl!==null&&(Fl.skipTransition(),Fl=null),Kp(),Yp(),Jp(),Xp()}function Xp(){if(Xt!==5)return!1;var e=ro,t=Fp;Fp=0;var a=f3(Po),n=Ue.T,o=vt.p;try{vt.p=32>a?32:a,Ue.T=null,a=Wp,Wp=null;var r=ro,i=Po;if(Xt=0,Oi=ro=null,Po=0,(yt&6)!==0)throw Error(ee(331));var l=yt;if(yt|=4,Qf(r.current),Yf(r,r.current,i,a),yt=l,_c(0,!1),Sn&&typeof Sn.onPostCommitFiberRoot=="function")try{Sn.onPostCommitFiberRoot(Rc,r)}catch{}return!0}finally{vt.p=o,Ue.T=n,dg(e,t)}}function p8(e,t,a){t=Fn(a,t),t=Np(e.stateNode,t,2),e=Zr(e,t,2),e!==null&&(Pc(e,2),Ho(e))}function Mt(e,t,a){if(e.tag===3)p8(e,e,a);else for(;t!==null;){if(t.tag===3){p8(t,e,a);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(qr===null||!qr.has(n))){e=Fn(a,e),a=Tf(2),n=Zr(t,a,2),n!==null&&(zf(a,n,t,e),Pc(n,2),Ho(n));break}}t=t.return}}function Fu(e,t,a){var n=e.pingCache;if(n===null){n=e.pingCache=new yw;var o=new Set;n.set(t,o)}else o=n.get(t),o===void 0&&(o=new Set,n.set(t,o));o.has(a)||(X3=!0,o.add(a),e=zw.bind(null,e,t,a),t.then(e,e))}function zw(e,t,a){var n=e.pingCache;n!==null&&n.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,It===e&&(ct&a)===a&&((ea===4||ea===3&&(ct&62914560)===ct&&300>kn()-T2)&&(yt&2)===0?ts(e,0):n2|=a,$l===ct&&($l=0)),Ho(e)}function ug(e,t){t===0&&(t=e9()),e=Ui(e,t),e!==null&&(Pc(e,t),Ho(e))}function Ew(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),ug(e,a)}function Dw(e,t){var a=0;switch(e.tag){case 31:case 13:var n=e.stateNode,o=e.memoizedState;o!==null&&(a=o.retryLane);break;case 19:n=e.stateNode;break;case 22:n=e.stateNode._retryCache;break;default:throw Error(ee(314))}n!==null&&n.delete(t),ug(e,a)}function Mw(e,t){return p3(e,t)}var as=null,zl=null,Qp=!1,l2=!1,Wu=!1,Hr=0;function Ho(e){e!==zl&&e.next===null&&(zl===null?as=zl=e:zl=zl.next=e),l2=!0,Qp||(Qp=!0,Aw())}function _c(e,t){if(!Wu&&l2){Wu=!0;do for(var a=!1,n=as;n!==null;){if(!t)if(e!==0){var o=n.pendingLanes;if(o===0)var r=0;else{var i=n.suspendedLanes,l=n.pingedLanes;r=(1<<31-Cn(42|e)+1)-1,r&=o&~(i&~l),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(a=!0,m8(n,r))}else r=ct,r=u2(n,n===It?r:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),(r&3)===0||Lc(n,r)||(a=!0,m8(n,r));n=n.next}while(a);Wu=!1}}function Nw(){pg()}function pg(){l2=Qp=!1;var e=0;Hr!==0&&Uw()&&(e=Hr);for(var t=kn(),a=null,n=as;n!==null;){var o=n.next,r=mg(n,t);r===0?(n.next=null,a===null?as=o:a.next=o,o===null&&(zl=a)):(a=n,(e!==0||(r&3)!==0)&&(l2=!0)),n=o}Xt!==0&&Xt!==5||_c(e,!1),Hr!==0&&(Hr=0)}function mg(e,t){for(var a=e.suspendedLanes,n=e.pingedLanes,o=e.expirationTimes,r=e.pendingLanes&-62914561;0<r;){var i=31-Cn(r),l=1<<i,s=o[i];s===-1?((l&a)===0||(l&n)!==0)&&(o[i]=Kv(l,t)):s<=t&&(e.expiredLanes|=l),r&=~l}if(t=It,a=ct,a=u2(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n=e.callbackNode,a===0||e===t&&(Et===2||Et===9)||e.cancelPendingCommit!==null)return n!==null&&n!==null&&Tu(n),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||Lc(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(n!==null&&Tu(n),f3(a)){case 2:case 8:a=X8;break;case 32:a=j0;break;case 268435456:a=Q8;break;default:a=j0}return n=fg.bind(null,e),a=p3(a,n),e.callbackPriority=t,e.callbackNode=a,t}return n!==null&&n!==null&&Tu(n),e.callbackPriority=2,e.callbackNode=null,2}function fg(e,t){if(Xt!==0&&Xt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(D2()&&e.callbackNode!==a)return null;var n=ct;return n=u2(e,e===It?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n===0?null:(ng(e,n,t),mg(e,kn()),e.callbackNode!=null&&e.callbackNode===a?fg.bind(null,e):null)}function m8(e,t){if(D2())return null;ng(e,t,!0)}function Aw(){Zw(function(){(yt&6)!==0?p3(J8,Nw):pg()})}function $3(){if(Hr===0){var e=Ii;e===0&&(e=X1,X1<<=1,(X1&261888)===0&&(X1=256)),Hr=e}return Hr}function f8(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:y0(e)}function Iw(e,t,a,n,o){if(t==="submit"&&a&&a.stateNode===o){var r=f8((o[un]||null).action),i=n.submitter;i&&(t=(t=i[un]||null)?f8(t.formAction):i.getAttribute("formAction"),t!==null&&(r=t,i=null));var l=new m2("action","action",null,n,o);e.push({event:l,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(Hr!==0){var s=new FormData(o,i);Dp(a,{pending:!0,data:s,method:o.method,action:r},null,s)}}else typeof r=="function"&&(l.preventDefault(),s=new FormData(o,i),Dp(a,{pending:!0,data:s,method:o.method,action:r},r,s))},currentTarget:o}]})}}for(p0=0;p0<hp.length;p0++)m0=hp[p0],g8=m0.toLowerCase(),b8=m0[0].toUpperCase()+m0.slice(1),io(g8,"on"+b8);var m0,g8,b8,p0;io(T9,"onAnimationEnd");io(z9,"onAnimationIteration");io(E9,"onAnimationStart");io("dblclick","onDoubleClick");io("focusin","onFocus");io("focusout","onBlur");io(Vx,"onTransitionRun");io(Gx,"onTransitionStart");io(qx,"onTransitionCancel");io(D9,"onTransitionEnd");Jl("onMouseEnter",["mouseout","mouseover"]);Jl("onMouseLeave",["mouseout","mouseover"]);Jl("onPointerEnter",["pointerout","pointerover"]);Jl("onPointerLeave",["pointerout","pointerover"]);Hi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Hi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Hi("onBeforeInput",["compositionend","keypress","textInput","paste"]);Hi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Hi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Hi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Tc="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Rw=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Tc));function gg(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var n=e[a],o=n.event;n=n.listeners;e:{var r=void 0;if(t)for(var i=n.length-1;0<=i;i--){var l=n[i],s=l.instance,c=l.currentTarget;if(l=l.listener,s!==r&&o.isPropagationStopped())break e;r=l,o.currentTarget=c;try{r(o)}catch(d){_0(d)}o.currentTarget=null,r=s}else for(i=0;i<n.length;i++){if(l=n[i],s=l.instance,c=l.currentTarget,l=l.listener,s!==r&&o.isPropagationStopped())break e;r=l,o.currentTarget=c;try{r(o)}catch(d){_0(d)}o.currentTarget=null,r=s}}}}function lt(e,t){var a=t[d7];a===void 0&&(a=t[d7]=new Set);var n=e+"__bubble";a.has(n)||(bg(t,e,2,!1),a.add(n))}function Ku(e,t,a){var n=0;t&&(n|=4),bg(a,e,n,t)}var f0="_reactListening"+Math.random().toString(36).slice(2);function e4(e){if(!e[f0]){e[f0]=!0,i9.forEach(function(a){a!=="selectionchange"&&(Rw.has(a)||Ku(a,!1,e),Ku(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[f0]||(t[f0]=!0,Ku("selectionchange",!1,t))}}function bg(e,t,a,n){switch(Ug(t)){case 2:var o=Tk;break;case 8:o=zk;break;default:o=l4}a=o.bind(null,t,a,e),o=void 0,!mp||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),n?o!==void 0?e.addEventListener(t,a,{capture:!0,passive:o}):e.addEventListener(t,a,!0):o!==void 0?e.addEventListener(t,a,{passive:o}):e.addEventListener(t,a,!1)}function Yu(e,t,a,n,o){var r=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var i=n.tag;if(i===3||i===4){var l=n.stateNode.containerInfo;if(l===o)break;if(i===4)for(i=n.return;i!==null;){var s=i.tag;if((s===3||s===4)&&i.stateNode.containerInfo===o)return;i=i.return}for(;l!==null;){if(i=ki(l),i===null)return;if(s=i.tag,s===5||s===6||s===26||s===27){n=r=i;continue e}l=l.parentNode}}n=n.return}f9(function(){var c=r,d=b3(a),u=[];e:{var p=M9.get(e);if(p!==void 0){var b=m2,y=e;switch(e){case"keypress":if(x0(a)===0)break e;case"keydown":case"keyup":b=vx;break;case"focusin":y="focus",b=Au;break;case"focusout":y="blur",b=Au;break;case"beforeblur":case"afterblur":b=Au;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":b=y7;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":b=lx;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":b=Cx;break;case T9:case z9:case E9:b=dx;break;case D9:b=zx;break;case"scroll":case"scrollend":b=rx;break;case"wheel":b=Dx;break;case"copy":case"cut":case"paste":b=px;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":b=x7;break;case"submit":b=kx;break;case"toggle":case"beforetoggle":b=Nx}var f=(t&4)!==0,w=!f&&(e==="scroll"||e==="scrollend"),h=f?p!==null?p+"Capture":null:p;f=[];for(var m=c,v;m!==null;){var T=m;if(v=T.stateNode,T=T.tag,T!==5&&T!==26&&T!==27||v===null||h===null||(T=hc(m,h),T!=null&&f.push(zc(m,T,v))),w)break;m=m.return}0<f.length&&(p=new b(p,y,null,a,d),u.push({event:p,listeners:f}))}}if((t&7)===0){e:{if(b=e==="mouseover"||e==="pointerover",p=e==="mouseout"||e==="pointerout",b&&a!==pp&&(y=a.relatedTarget||a.fromElement)&&(ki(y)||y[ss]))break e;(p||b)&&(y=d.window===d?d:(b=d.ownerDocument)?b.defaultView||b.parentWindow:window,p?(b=a.relatedTarget||a.toElement,p=c,b=b?ki(b):null,b!==null&&(w=Ic(b),f=b.tag,b!==w||f!==5&&f!==27&&f!==6)&&(b=null)):(p=null,b=c),p!==b&&(f=y7,T="onMouseLeave",h="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(f=x7,T="onPointerLeave",h="onPointerEnter",m="pointer"),w=p==null?y:ec(p),v=b==null?y:ec(b),y=new f(T,m+"leave",p,a,d),y.target=w,y.relatedTarget=v,T=null,ki(d)===c&&(f=new f(h,m+"enter",b,a,d),f.target=v,f.relatedTarget=w,T=f),w=T,f=p&&b?ep(p,b,Lw):null,p!==null&&h8(u,y,p,f,!1),b!==null&&w!==null&&h8(u,w,b,f,!0)))}e:{if(p=c?ec(c):window,b=p.nodeName&&p.nodeName.toLowerCase(),b==="select"||b==="input"&&p.type==="file")var x=C7;else if(S7(p))if(x9)x=Ux;else{x=Hx;var E=Bx}else b=p.nodeName,!b||b.toLowerCase()!=="input"||p.type!=="checkbox"&&p.type!=="radio"?c&&g3(c.elementType)&&(x=C7):x=jx;if(x&&(x=x(e,c))){v9(u,x,a,d);break e}E&&E(e,p,c)}switch(E=c?ec(c):window,e){case"focusin":(S7(E)||E.contentEditable==="true")&&(Il=E,gp=c,rc=null);break;case"focusout":rc=gp=Il=null;break;case"mousedown":bp=!0;break;case"contextmenu":case"mouseup":case"dragend":bp=!1,D7(u,a,d);break;case"selectionchange":if(Zx)break;case"keydown":case"keyup":D7(u,a,d)}var P;if(v3)e:{switch(e){case"compositionstart":var U="onCompositionStart";break e;case"compositionend":U="onCompositionEnd";break e;case"compositionupdate":U="onCompositionUpdate";break e}U=void 0}else Al?h9(e,a)&&(U="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(U="onCompositionStart");U&&(b9&&a.locale!=="ko"&&(Al||U!=="onCompositionStart"?U==="onCompositionEnd"&&Al&&(P=g9()):(Lr=d,h3="value"in Lr?Lr.value:Lr.textContent,Al=!0)),E=s2(c,U),0<E.length&&(U=new v7(U,e,null,a,d),u.push({event:U,listeners:E}),P?U.data=P:(P=y9(a),P!==null&&(U.data=P)))),(P=Ix?Rx(e,a):Lx(e,a))&&(U=s2(c,"onBeforeInput"),0<U.length&&(E=new v7("onBeforeInput","beforeinput",null,a,d),u.push({event:E,listeners:U}),E.data=P)),Iw(u,e,c,a,d)}gg(u,t)})}function zc(e,t,a){return{instance:e,listener:t,currentTarget:a}}function s2(e,t){for(var a=t+"Capture",n=[];e!==null;){var o=e,r=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||r===null||(o=hc(e,a),o!=null&&n.unshift(zc(e,o,r)),o=hc(e,t),o!=null&&n.push(zc(e,o,r))),e.tag===3)return n;e=e.return}return[]}function Lw(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function h8(e,t,a,n,o){for(var r=t._reactName,i=[];a!==null&&a!==n;){var l=a,s=l.alternate,c=l.stateNode;if(l=l.tag,s!==null&&s===n)break;l!==5&&l!==26&&l!==27||c===null||(s=c,o?(c=hc(a,r),c!=null&&i.unshift(zc(a,c,s))):o||(c=hc(a,r),c!=null&&i.push(zc(a,c,s)))),a=a.return}i.length!==0&&e.push({event:t,listeners:i})}var Pw=/\r\n?/g,Ow=/\u0000|\uFFFD/g;function y8(e){return(typeof e=="string"?e:""+e).replace(Pw,`
|
|
9
|
+
`).replace(Ow,"")}function hg(e,t){return t=y8(t),y8(e)===t}function Dt(e,t,a,n,o,r){switch(a){case"children":if(typeof n=="string")t==="body"||t==="textarea"&&n===""||Xl(e,n);else if(typeof n=="number"||typeof n=="bigint")t!=="body"&&Xl(e,""+n);else return;break;case"className":e0(e,"class",n);break;case"tabIndex":e0(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":e0(e,a,n);break;case"style":m9(e,n,r);return;case"data":if(t!=="object"){e0(e,"data",n);break}case"src":case"href":if(n===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(a);break}n=y0(n),e.setAttribute(a,n);break;case"action":case"formAction":if(typeof n=="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof r=="function"&&(a==="formAction"?(t!=="input"&&Dt(e,t,"name",o.name,o,null),Dt(e,t,"formEncType",o.formEncType,o,null),Dt(e,t,"formMethod",o.formMethod,o,null),Dt(e,t,"formTarget",o.formTarget,o,null)):(Dt(e,t,"encType",o.encType,o,null),Dt(e,t,"method",o.method,o,null),Dt(e,t,"target",o.target,o,null)));if(n==null||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(a);break}n=y0(n),e.setAttribute(a,n);break;case"onClick":n!=null&&(e.onclick=Ao);return;case"onScroll":n!=null&<("scroll",e);return;case"onScrollEnd":n!=null&<("scrollend",e);return;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(ee(61));if(a=n.__html,a!=null){if(o.children!=null)throw Error(ee(60));r?.__html!==a&&(e.innerHTML=a)}}break;case"multiple":e.multiple=n&&typeof n!="function"&&typeof n!="symbol";break;case"muted":e.muted=n&&typeof n!="function"&&typeof n!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(n==null||typeof n=="function"||typeof n=="boolean"||typeof n=="symbol"){e.removeAttribute("xlink:href");break}a=y0(n),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,n):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":n===!0?e.setAttribute(a,""):n!==!1&&n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,n):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":n!=null&&typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n?e.setAttribute(a,n):e.removeAttribute(a);break;case"rowSpan":case"start":n==null||typeof n=="function"||typeof n=="symbol"||isNaN(n)?e.removeAttribute(a):e.setAttribute(a,n);break;case"popover":lt("beforetoggle",e),lt("toggle",e),h0(e,"popover",n);break;case"xlinkActuate":Yo(e,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":Yo(e,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":Yo(e,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":Yo(e,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":Yo(e,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":Yo(e,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":Yo(e,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":Yo(e,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":Yo(e,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":h0(e,"is",n);break;case"innerText":case"textContent":return;default:if(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")a=nx.get(a)||a,h0(e,a,n);else return}bt=!0}function $p(e,t,a,n,o,r){switch(a){case"style":m9(e,n,r);return;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(ee(61));if(a=n.__html,a!=null){if(o.children!=null)throw Error(ee(60));r?.__html!==a&&(e.innerHTML=a)}}break;case"children":if(typeof n=="string")Xl(e,n);else if(typeof n=="number"||typeof n=="bigint")Xl(e,""+n);else return;break;case"onScroll":n!=null&<("scroll",e);return;case"onScrollEnd":n!=null&<("scrollend",e);return;case"onClick":n!=null&&(e.onclick=Ao);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":return;case"innerText":case"textContent":return;default:if(!l9.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(o=a.endsWith("Capture"),r=a.slice(2,o?a.length-7:void 0),t=e[un]||null,t=t!=null?t[a]:null,typeof t=="function"&&e.removeEventListener(r,t,o),typeof n=="function")){typeof t!="function"&&t!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(r,n,o);break e}bt=!0,a in e?e[a]=n:n===!0?e.setAttribute(a,""):h0(e,a,n)}return}bt=!0}function Na(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":lt("error",e),lt("load",e);var n=!1,o=!1,r;for(r in a)if(a.hasOwnProperty(r)){var i=a[r];if(i!=null)switch(r){case"src":n=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(ee(137,t));default:Dt(e,t,r,i,a,null)}}o&&Dt(e,t,"srcSet",a.srcSet,a,null),n&&Dt(e,t,"src",a.src,a,null);return;case"input":lt("invalid",e);var l=r=i=o=null,s=null,c=null;for(n in a)if(a.hasOwnProperty(n)){var d=a[n];if(d!=null)switch(n){case"name":o=d;break;case"type":i=d;break;case"checked":s=d;break;case"defaultChecked":c=d;break;case"value":r=d;break;case"defaultValue":l=d;break;case"children":case"dangerouslySetInnerHTML":if(d!=null)throw Error(ee(137,t));break;default:Dt(e,t,n,d,a,null)}}d9(e,r,l,s,c,i,o,!1);return;case"select":lt("invalid",e),n=i=r=null;for(o in a)if(a.hasOwnProperty(o)&&(l=a[o],l!=null))switch(o){case"value":r=l;break;case"defaultValue":i=l;break;case"multiple":n=l;default:Dt(e,t,o,l,a,null)}t=r,a=i,e.multiple=!!n,t!=null?Ul(e,!!n,t,!1):a!=null&&Ul(e,!!n,a,!0);return;case"textarea":lt("invalid",e),r=o=n=null;for(i in a)if(a.hasOwnProperty(i)&&(l=a[i],l!=null))switch(i){case"value":n=l;break;case"defaultValue":o=l;break;case"children":r=l;break;case"dangerouslySetInnerHTML":if(l!=null)throw Error(ee(91));break;default:Dt(e,t,i,l,a,null)}p9(e,n,o,r);return;case"option":for(s in a)a.hasOwnProperty(s)&&(n=a[s],n!=null)&&(s==="selected"?e.selected=n&&typeof n!="function"&&typeof n!="symbol":Dt(e,t,s,n,a,null));return;case"dialog":lt("beforetoggle",e),lt("toggle",e),lt("cancel",e),lt("close",e);break;case"iframe":case"object":lt("load",e);break;case"video":case"audio":for(n=0;n<Tc.length;n++)lt(Tc[n],e);break;case"image":lt("error",e),lt("load",e);break;case"details":lt("toggle",e);break;case"embed":case"source":case"link":lt("error",e),lt("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in a)if(a.hasOwnProperty(c)&&(n=a[c],n!=null))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(ee(137,t));default:Dt(e,t,c,n,a,null)}return;default:if(g3(t)){for(d in a)a.hasOwnProperty(d)&&(n=a[d],n!==void 0&&$p(e,t,d,n,a,void 0));return}}for(l in a)a.hasOwnProperty(l)&&(n=a[l],n!=null&&Dt(e,t,l,n,a,null))}var Bw={};function Hw(e,t,a,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,r=null,i=null,l=null,s=null,c=null,d=null;for(b in a){var u=a[b];if(a.hasOwnProperty(b)&&u!=null)switch(b){case"checked":break;case"value":break;case"defaultValue":s=u;default:n.hasOwnProperty(b)||Dt(e,t,b,null,n,u)}}for(var p in n){var b=n[p];if(u=a[p],n.hasOwnProperty(p)&&(b!=null||u!=null))switch(p){case"type":b!==u&&(bt=!0),r=b;break;case"name":b!==u&&(bt=!0),o=b;break;case"checked":b!==u&&(bt=!0),c=b;break;case"defaultChecked":b!==u&&(bt=!0),d=b;break;case"value":b!==u&&(bt=!0),i=b;break;case"defaultValue":b!==u&&(bt=!0),l=b;break;case"children":case"dangerouslySetInnerHTML":if(b!=null)throw Error(ee(137,t));break;default:b!==u&&Dt(e,t,p,b,n,u)}}up(e,i,l,s,c,d,r,o);return;case"select":b=i=l=p=null;for(r in a)if(s=a[r],a.hasOwnProperty(r)&&s!=null)switch(r){case"value":break;case"multiple":b=s;default:n.hasOwnProperty(r)||Dt(e,t,r,null,n,s)}for(o in n)if(r=n[o],s=a[o],n.hasOwnProperty(o)&&(r!=null||s!=null))switch(o){case"value":r!==s&&(bt=!0),p=r;break;case"defaultValue":r!==s&&(bt=!0),l=r;break;case"multiple":r!==s&&(bt=!0),i=r;default:r!==s&&Dt(e,t,o,r,n,s)}t=l,a=i,n=b,p!=null?Ul(e,!!a,p,!1):!!n!=!!a&&(t!=null?Ul(e,!!a,t,!0):Ul(e,!!a,a?[]:"",!1));return;case"textarea":b=p=null;for(l in a)if(o=a[l],a.hasOwnProperty(l)&&o!=null&&!n.hasOwnProperty(l))switch(l){case"value":break;case"children":break;default:Dt(e,t,l,null,n,o)}for(i in n)if(o=n[i],r=a[i],n.hasOwnProperty(i)&&(o!=null||r!=null))switch(i){case"value":o!==r&&(bt=!0),p=o;break;case"defaultValue":o!==r&&(bt=!0),b=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(ee(91));break;default:o!==r&&Dt(e,t,i,o,n,r)}u9(e,p,b);return;case"option":for(var y in a)p=a[y],a.hasOwnProperty(y)&&p!=null&&!n.hasOwnProperty(y)&&(y==="selected"?e.selected=!1:Dt(e,t,y,null,n,p));for(s in n)p=n[s],b=a[s],n.hasOwnProperty(s)&&p!==b&&(p!=null||b!=null)&&(s==="selected"?(p!==b&&(bt=!0),e.selected=p&&typeof p!="function"&&typeof p!="symbol"):Dt(e,t,s,p,n,b));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var f in a)p=a[f],a.hasOwnProperty(f)&&p!=null&&!n.hasOwnProperty(f)&&Dt(e,t,f,null,n,p);for(c in n)if(p=n[c],b=a[c],n.hasOwnProperty(c)&&p!==b&&(p!=null||b!=null))switch(c){case"children":case"dangerouslySetInnerHTML":if(p!=null)throw Error(ee(137,t));break;default:Dt(e,t,c,p,n,b)}return;default:if(g3(t)){for(var w in a)p=a[w],a.hasOwnProperty(w)&&p!==void 0&&!n.hasOwnProperty(w)&&$p(e,t,w,void 0,n,p);for(d in n)p=n[d],b=a[d],!n.hasOwnProperty(d)||p===b||p===void 0&&b===void 0||$p(e,t,d,p,n,b);return}}for(var h in a)p=a[h],a.hasOwnProperty(h)&&p!=null&&!n.hasOwnProperty(h)&&Dt(e,t,h,null,n,p);for(u in n)p=n[u],b=a[u],!n.hasOwnProperty(u)||p===b||p==null&&b==null||Dt(e,t,u,p,n,b)}function v8(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function jw(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),n=0;n<a.length;n++){var o=a[n],r=o.transferSize,i=o.initiatorType,l=o.duration;if(r&&l&&v8(i)){for(i=0,l=o.responseEnd,n+=1;n<a.length;n++){var s=a[n],c=s.startTime;if(c>l)break;var d=s.transferSize,u=s.initiatorType;d&&v8(u)&&(s=s.responseEnd,i+=d*(s<l?1:(l-c)/(s-c)))}if(--n,t+=8*(r+i)/(o.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var e3=null,t3=null;function Ec(e){return e.nodeType===9?e:e.ownerDocument}function x8(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function yg(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function vg(e,t,a,n){return a=Ec(a).createElement(e),a[za]=n,a[un]=t,Na(a,e,t),ka(a),a}function a3(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Ju=null;function Uw(){var e=window.event;return e&&e.type==="popstate"?e===Ju?!1:(Ju=e,!0):(Ju=null,!1)}var t4=typeof setTimeout=="function"?setTimeout:void 0,_w=typeof clearTimeout=="function"?clearTimeout:void 0,w8=typeof Promise=="function"?Promise:void 0,k8=typeof requestAnimationFrame=="function"?requestAnimationFrame:t4,Zw=typeof queueMicrotask=="function"?queueMicrotask:typeof w8<"u"?function(e){return w8.resolve(null).then(e).catch(Vw)}:t4;function Vw(e){setTimeout(function(){throw e})}function ti(e){return e==="head"}function S8(e,t){var a=t,n=0;do{var o=a.nextSibling;if(e.removeChild(a),o&&o.nodeType===8)if(a=o.data,a==="/$"||a==="/&"){if(n===0){e.removeChild(o),ls(t);return}n--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")n++;else if(a==="html")Qu(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,Qu(a);for(var r=a.firstChild;r;){var i=r.nextSibling,l=r.nodeName;r[Oc]||l==="SCRIPT"||l==="STYLE"||l==="LINK"&&r.rel.toLowerCase()==="stylesheet"||a.removeChild(r),r=i}}else a==="body"&&Qu(e.ownerDocument.body);a=o}while(a);ls(t)}function C8(e,t){var a=e;e=0;do{var n=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(t?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),n&&n.nodeType===8)if(a=n.data,a==="/$"){if(e===0)break;e--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=n}while(a)}function xg(e,t,a){if(t=CSS.escape(t)!==t?"r-"+btoa(t).replace(/=/g,""):t,e.style.viewTransitionName=t,a!=null&&(e.style.viewTransitionClass=a),a=getComputedStyle(e),a.display==="inline"){if(t=e.getClientRects(),t.length===1)var n=1;else for(var o=n=0;o<t.length;o++){var r=t[o];0<r.width&&0<r.height&&n++}n===1&&(e=e.style,e.display=t.length===1?"inline-block":"block",e.marginTop="-"+a.paddingTop,e.marginBottom="-"+a.paddingBottom)}}function wg(e,t){e=e.style,t=t.style;var a=t!=null?t.hasOwnProperty("viewTransitionName")?t.viewTransitionName:t.hasOwnProperty("view-transition-name")?t["view-transition-name"]:null:null;e.viewTransitionName=a==null||typeof a=="boolean"?"":(""+a).trim(),a=t!=null?t.hasOwnProperty("viewTransitionClass")?t.viewTransitionClass:t.hasOwnProperty("view-transition-class")?t["view-transition-class"]:null:null,e.viewTransitionClass=a==null||typeof a=="boolean"?"":(""+a).trim(),e.display==="inline-block"&&(t==null?e.display=e.margin="":(a=t.display,e.display=a==null||typeof a=="boolean"?"":a,a=t.margin,a!=null?e.margin=a:(a=t.hasOwnProperty("marginTop")?t.marginTop:t["margin-top"],e.marginTop=a==null||typeof a=="boolean"?"":a,t=t.hasOwnProperty("marginBottom")?t.marginBottom:t["margin-bottom"],e.marginBottom=t==null||typeof t=="boolean"?"":t)))}function kg(e,t,a){return a=a.ownerDocument.defaultView,{rect:e,abs:t.position==="absolute"||t.position==="fixed",clip:t.clipPath!=="none"||t.overflow!=="visible"||t.filter!=="none"||t.mask!=="none"||t.mask!=="none"||t.borderRadius!=="0px",view:0<=e.bottom&&0<=e.right&&e.top<=a.innerHeight&&e.left<=a.innerWidth}}function n3(e){var t=e.getBoundingClientRect(),a=getComputedStyle(e);return kg(t,a,e)}function Gw(e){var t=e.getBoundingClientRect();t=new DOMRect(t.x+2e4,t.y+2e4,t.width,t.height);var a=getComputedStyle(e);return kg(t,a,e)}function qw(e){return e.documentElement.clientHeight}function Fw(e){this.addEventListener("load",e),this.addEventListener("error",e)}function Ww(e,t,a,n,o,r,i,l,s){var c=t.nodeType===9?t:t.ownerDocument;try{var d=c.startViewTransition({update:function(){var p=c.defaultView,b=p.navigation&&p.navigation.transition,y=c.fonts.status;n();var f=[];if(y==="loaded"&&(qw(c),c.fonts.status==="loading"&&f.push(c.fonts.ready)),y=f.length,e!==null)for(var w=e.suspenseyImages,h=0,m=0;m<w.length;m++){var v=w[m];if(!v.complete){var T=v.getBoundingClientRect();if(0<T.bottom&&0<T.right&&T.top<p.innerHeight&&T.left<p.innerWidth){if(h+=Lg(v),h>R0){f.length=y;break}v=new Promise(Fw.bind(v)),f.push(v)}}}if(0<f.length)return p=Promise.race([Promise.all(f),new Promise(function(x){return setTimeout(x,500)})]).then(o,o),(b?Promise.allSettled([b.finished,p]):p).then(r,r);if(o(),b)return b.finished.then(r,r);r()},types:a});c.__reactViewTransition=d;var u=[];return d.ready.then(function(){for(var p=c.documentElement.getAnimations({subtree:!0}),b=0;b<p.length;b++){var y=p[b],f=y.effect,w=f.pseudoElement;if(w!=null&&w.startsWith("::view-transition")){u.push(y),y=f.getKeyframes();for(var h=w=void 0,m=!0,v=0;v<y.length;v++){var T=y[v],x=T.width;if(w===void 0)w=x;else if(w!==x){m=!1;break}if(x=T.height,h===void 0)h=x;else if(h!==x){m=!1;break}delete T.width,delete T.height,T.transform==="none"&&delete T.transform}m&&w!==void 0&&h!==void 0&&(f.setKeyframes(y),m=getComputedStyle(f.target,f.pseudoElement),m.width!==w||m.height!==h)&&(m=y[0],m.width=w,m.height=h,m=y[y.length-1],m.width=w,m.height=h,f.setKeyframes(y))}}i()},function(p){c.__reactViewTransition===d&&(c.__reactViewTransition=null);try{typeof p=="object"&&p!==null&&p.name==="InvalidStateError"&&(p.message==="View transition was skipped because document visibility state is hidden."||p.message==="Skipping view transition because document visibility state has become hidden."||p.message==="Skipping view transition because viewport size changed."||p.message==="Transition was aborted because of invalid state")&&(p=null),p!==null&&s(p)}finally{n(),o(),i()}}),d.finished.finally(function(){for(var p=0;p<u.length;p++)u[p].cancel();c.__reactViewTransition===d&&(c.__reactViewTransition=null),l()}),d}catch{return n(),o(),i(),null}}function Si(e,t){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+t+")"}Si.prototype.animate=function(e,t){return t=typeof t=="number"?{duration:t}:Rt({},t),t.pseudoElement=this._selector,this._scope.animate(e,t)};Si.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,a=e.getAnimations({subtree:!0}),n=[],o=0;o<a.length;o++){var r=a[o].effect;r!==null&&r.target===e&&r.pseudoElement===t&&n.push(a[o])}return n};Si.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function Sg(e){return{name:e,group:new Si("group",e),imagePair:new Si("image-pair",e),old:new Si("old",e),new:new Si("new",e)}}function En(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}En.prototype.addEventListener=function(e,t,a){var n=null,o=null;if(!(a!=null&&typeof a!="boolean"&&(n=a.signal||null,n!==null&&n.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var r=this._eventListeners;if(Cg(r,e,t,a)===-1){var i=this,l=t;a!=null&&typeof a!="boolean"&&a.once===!0&&(l=function(s){i.removeEventListener(e,t,a),typeof t=="function"?t.call(this,s):t.handleEvent(s)}),n!==null&&(o=i.removeEventListener.bind(i,e,t,a),n.addEventListener("abort",o,{once:!0}),o=n.removeEventListener.bind(n,"abort",o)),n=ns(a),r.push({type:e,listener:t,optionsOrUseCapture:a,attachedListener:l,cleanup:o}),dn(this._fragmentFiber.child,!1,Kw,e,l,n)}this._eventListeners=r}};function Kw(e,t,a,n){return ga(e).addEventListener(t,a,n),!1}En.prototype.removeEventListener=function(e,t,a){var n=this._eventListeners;if(n!==null&&(t=Cg(n,e,t,a),t!==-1)){var o=n[t];a=o.attachedListener;var r=o.cleanup;o=ns(o.optionsOrUseCapture),dn(this._fragmentFiber.child,!1,Yw,e,a,o),n.splice(t,1),r!==null&&r()}};function Yw(e,t,a,n){return ga(e).removeEventListener(t,a,n),!1}function ns(e){return e!=null&&typeof e!="boolean"&&(e.once===!0||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function T8(e){return e==null?"c=0":typeof e=="boolean"?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")}function Cg(e,t,a,n){if(e.length===0)return-1;n=T8(n);for(var o=0;o<e.length;o++){var r=e[o];if(r.type===t&&r.listener===a&&T8(r.optionsOrUseCapture)===n)return o}return-1}En.prototype.dispatchEvent=function(e){var t=Bi(this._fragmentFiber);if(t===null)return!0;t=ga(t);var a=this._eventListeners;if(a!==null&&0<a.length||!e.bubbles){var n=t.nodeType===9?t.createComment(""):document.createTextNode("");if(a)for(var o=0;o<a.length;o++){var r=a[o];n.addEventListener(r.type,r.attachedListener,ns(r.optionsOrUseCapture))}if(t.appendChild(n),e=n.dispatchEvent(e),a)for(o=0;o<a.length;o++)r=a[o],n.removeEventListener(r.type,r.attachedListener,ns(r.optionsOrUseCapture));return t.removeChild(n),e}return t.dispatchEvent(e)};En.prototype.focus=function(e){dn(this._fragmentFiber.child,!0,Tg,e,void 0,void 0)};function Tg(e,t){return e.tag===6?!1:(e=ga(e),lk(e,t))}En.prototype.focusLast=function(e){var t=[];dn(this._fragmentFiber.child,!0,a4,t,void 0,void 0);for(var a=t.length-1;0<=a&&!Tg(t[a],e);a--);};function a4(e,t){return t.push(e),!1}En.prototype.blur=function(){var e=Bi(this._fragmentFiber);e!==null&&(e=ga(e),e=Ec(e).activeElement,e!==null&&dn(this._fragmentFiber.child,!1,Jw,e,void 0,void 0))};function Jw(e,t){return e.tag===6?!1:(e=ga(e),e===t||e.contains(t)?(t.blur(),!0):!1)}En.prototype.observeUsing=function(e){this._observers===null&&(this._observers=new Set),this._observers.add(e),dn(this._fragmentFiber.child,!1,Xw,e,void 0,void 0)};function Xw(e,t){return e.tag===6||(e=ga(e),t.observe(e)),!1}En.prototype.unobserveUsing=function(e){var t=this._observers;if(t!==null&&t.has(e)){t.delete(e),dn(this._fragmentFiber.child,!1,Qw,e,void 0,void 0);for(var a=t=0;a<oo.length;a++){var n=oo[a];n.fragmentInstance===this&&n.observer===e?e.unobserve(n.instance):oo[t++]=n}oo.length=t}};function Qw(e,t){return e.tag===6||(e=ga(e),t.unobserve(e)),!1}var oo=[],Xu=!1;function $w(e,t,a){oo.push({fragmentInstance:e,observer:t,instance:a}),Xu||(Xu=!0,sk(function(){Xu=!1;var n=oo;oo=[];for(var o=0;o<n.length;o++){var r=n[o];r.observer.unobserve(r.instance)}}))}En.prototype.getClientRects=function(){var e=[];return dn(this._fragmentFiber.child,!1,ek,e,void 0,void 0),e};function ek(e,t){if(e.tag===6){e=e.stateNode;var a=e.ownerDocument.createRange();a.selectNodeContents(e),t.push.apply(t,a.getClientRects())}else e=ga(e),t.push.apply(t,e.getClientRects());return!1}En.prototype.getRootNode=function(e){var t=Bi(this._fragmentFiber);return t===null?this:ga(t).getRootNode(e)};En.prototype.compareDocumentPosition=function(e){var t=Bi(this._fragmentFiber);if(t===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var a=[];dn(this._fragmentFiber.child,!1,a4,a,void 0,void 0);var n=ga(t);if(a.length===0){if(a=n,o7(this._fragmentFiber)){e:{for(t=this._fragmentFiber.return;t!==null;){if(t.tag===4){t=t.stateNode.containerInfo;break e}if(t.tag===3||t.tag===5||t.tag===27)break;t=t.return}t=null}t!=null&&(a=t)}t=this._fragmentFiber;var o=n=a.compareDocumentPosition(e);return a===e?o=Node.DOCUMENT_POSITION_CONTAINS:n&Node.DOCUMENT_POSITION_CONTAINED_BY&&(a=F8(t)[1],a===null?o=Node.DOCUMENT_POSITION_PRECEDING:(e=ga(a).compareDocumentPosition(e),o=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),o|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=ga(a[0]),o=ga(a[a.length-1]);var r=o7(this._fragmentFiber)?t.parentElement:n;if(r==null)return Node.DOCUMENT_POSITION_DISCONNECTED;n=r.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,r=r.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_CONTAINED_BY;var i=t.compareDocumentPosition(e),l=o.compareDocumentPosition(e),s=i&Node.DOCUMENT_POSITION_CONTAINED_BY||l&Node.DOCUMENT_POSITION_CONTAINED_BY;return l=n&&r&&i&Node.DOCUMENT_POSITION_FOLLOWING&&l&Node.DOCUMENT_POSITION_PRECEDING,t=n&&t===e||r&&o===e||s||l?Node.DOCUMENT_POSITION_CONTAINED_BY:!n&&t===e||!r&&o===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:i,t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||tk(t,this._fragmentFiber,a[0],a[a.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function tk(e,t,a,n,o){var r=ki(o);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(a=!!r)e:{for(;r!==null;){if(r.tag===7&&(r===t||r.alternate===t)){a=!0;break e}r=r.return}a=!1}return a}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(r===null)return r=o.ownerDocument,o===r||o===r.documentElement||o===r.body;e:{for(r=t,t=Bi(t);r!==null;){if(!(r.tag!==5&&r.tag!==3&&r.tag!==27||r!==t&&r.alternate!==t)){r=!0;break e}r=r.return}r=!1}return r}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!r)&&!(t=r===a)&&(t=ep(a,r,r7),t===null?t=!1:(dn(t,!0,Av,r,a),r=El,El=null,t=r!==null)),t):e&Node.DOCUMENT_POSITION_FOLLOWING?((t=!!r)&&!(t=r===n)&&(t=ep(n,r,r7),t===null?t=!1:(dn(t,!0,Iv,r,n),r=El,$u=El=null,t=r!==null)),t):!1}function z8(e,t){var a=e.ownerDocument.createRange();a.selectNodeContents(e),e=a.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}En.prototype.scrollIntoView=function(e){if(typeof e=="object")throw Error(ee(566));var t=[];dn(this._fragmentFiber.child,!1,a4,t,void 0,void 0);var a=e!==!1;if(t.length===0){var n=F8(this._fragmentFiber);if(n=a?n[1]||n[0]||Bi(this._fragmentFiber):n[0]||n[1],n===null)return;if(n.tag===6){e=ga(n),z8(e,a);return}if(n=ga(n),n.nodeType!==9){if(n.nodeType===11){a="host"in n?n.host:null,a!==null&&a.scrollIntoView(e);return}n.scrollIntoView(e)}}for(n=a?t.length-1:0;n!==(a?-1:t.length);){var o=t[n];o.tag===6?(o=ga(o),z8(o,a)):ga(o).scrollIntoView(e),n+=a?-1:1}};function ak(e,t){return e=ga(e),zg(e,t),!1}function zg(e,t){e.reactFragments==null&&(e.reactFragments=new Set),e.reactFragments.add(t)}function Eg(e,t){var a=t._eventListeners;if(a!==null)for(var n=0;n<a.length;n++){var o=a[n];e.addEventListener(o.type,o.attachedListener,ns(o.optionsOrUseCapture))}e.nodeType!==3&&(a=t._observers,a!==null&&a.forEach(function(r){for(var i=0,l=0;l<oo.length;l++){var s=oo[l];(s.fragmentInstance!==t||s.observer!==r||s.instance!==e)&&(oo[i++]=s)}oo.length=i,r.observe(e)}),zg(e,t))}function nk(e,t){var a=t._eventListeners;if(a!==null)for(var n=0;n<a.length;n++){var o=a[n];e.removeEventListener(o.type,o.attachedListener,ns(o.optionsOrUseCapture))}e.nodeType!==3&&(a=t._observers,a!==null&&a.forEach(function(r){typeof r.rootMargin=="string"?$w(t,r,e):r.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(t))}function o3(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":o3(a),p2(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function ok(e,t,a,n){for(;e.nodeType===1;){var o=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!n&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(n){if(!e[Oc])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(r=e.getAttribute("rel"),r==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(r!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(r=e.getAttribute("src"),(r!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&r&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var r=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===r)return e}else return e;if(e=Kn(e.nextSibling),e===null)break}return null}function rk(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=Kn(e.nextSibling),e===null))return null;return e}function Dg(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=Kn(e.nextSibling),e===null))return null;return e}function r3(e){return e.data==="$?"||e.data==="$~"}function n4(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function ik(e,t){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||a.readyState!=="loading")t();else{var n=function(){t(),a.removeEventListener("DOMContentLoaded",n)};a.addEventListener("DOMContentLoaded",n),e._reactRetry=n}}function Kn(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var i3=null;function E8(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(t===0)return Kn(e.nextSibling);t--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||t++}e=e.nextSibling}return null}function D8(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(t===0)return e;t--}else a!=="/$"&&a!=="/&"||t++}e=e.previousSibling}return null}function lk(e,t){function a(){n=!0}if(e.ownerDocument.activeElement===e)return!0;var n=!1;try{e.ownerDocument.addEventListener("focus",a,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener("focus",a,!0)}return n}function sk(e){k8(function(){k8(function(t){return e(t)})})}function Mg(e,t,a){switch(t=Ec(a),e){case"html":if(e=t.documentElement,!e)throw Error(ee(452));return e;case"head":if(e=t.head,!e)throw Error(ee(453));return e;case"body":if(e=t.body,!e)throw Error(ee(454));return e;default:throw Error(ee(451))}}function Ng(e,t,a){for(var n in a){var o=a[n];a.hasOwnProperty(n)&&o!=null&&Dt(e,t,n,null,Bw,o)}a.dangerouslySetInnerHTML!=null&&(e.textContent=""),e.onclick===Ao&&(e.onclick=null),p2(e)}function Qu(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);p2(e)}var Yn=new Map,M8=new Set;function Dc(e){if(typeof e.getRootNode=="function"){var t=e.getRootNode();if(t.nodeType===9||t.nodeType===11)return t}return e.nodeType===9?e:e.ownerDocument}var cr=vt.d;vt.d={f:ck,r:dk,D:uk,C:pk,L:mk,m:fk,X:bk,S:gk,M:hk};function ck(){var e=cr.f(),t=z2();return e||t}function dk(e){var t=cs(e);t!==null&&t.tag===5&&t.type==="form"?ff(t):cr.r(e)}var ms=typeof document>"u"?null:document;function Ag(e,t,a){var n=ms;if(n&&typeof t=="string"&&t){var o=qn(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof a=="string"&&(o+='[crossorigin="'+a+'"]'),M8.has(o)||(M8.add(o),e={rel:e,crossOrigin:a,href:t},n.querySelector(o)===null&&(t=n.createElement("link"),Na(t,"link",e),ka(t),n.head.appendChild(t)))}}function uk(e){cr.D(e),Ag("dns-prefetch",e,null)}function pk(e,t){cr.C(e,t),Ag("preconnect",e,t)}function mk(e,t,a){cr.L(e,t,a);var n=ms;if(n&&e&&t){var o='link[rel="preload"][as="'+qn(t)+'"]';t==="image"&&a&&a.imageSrcSet?(o+='[imagesrcset="'+qn(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(o+='[imagesizes="'+qn(a.imageSizes)+'"]')):o+='[href="'+qn(e)+'"]';var r=o;switch(t){case"style":r=os(e);break;case"script":r=fs(e)}if(!(Yn.has(r)||(e=Rt({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),Yn.set(r,e),n.querySelector(o)!==null||t==="style"&&n.querySelector(Zc(r))||t==="script"&&n.querySelector(Vc(r))))){var i=n.createElement("link");Na(i,"link",e),t==="style"&&(i[U0]=!0,i.onload=i.onerror=function(){r9(i)}),ka(i),n.head.appendChild(i)}}}function fk(e,t){cr.m(e,t);var a=ms;if(a&&e){var n=t&&typeof t.as=="string"?t.as:"script",o='link[rel="modulepreload"][as="'+qn(n)+'"][href="'+qn(e)+'"]',r=o;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=fs(e)}if(!Yn.has(r)&&(e=Rt({rel:"modulepreload",href:e},t),Yn.set(r,e),a.querySelector(o)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(Vc(r)))return}n=a.createElement("link"),Na(n,"link",e),ka(n),a.head.appendChild(n)}}}function gk(e,t,a){cr.S(e,t,a);var n=ms;if(n&&e){var o=jl(n).hoistableStyles,r=os(e);t=t||"default";var i=o.get(r);if(!i){var l={loading:0,preload:null};if(i=n.querySelector(Zc(r)))l.loading=5;else{e=Rt({rel:"stylesheet",href:e,"data-precedence":t},a),(a=Yn.get(r))&&o4(e,a);var s=i=n.createElement("link");ka(s),Na(s,"link",e),s._p=new Promise(function(c,d){s.onload=c,s.onerror=d}),s.addEventListener("load",function(){l.loading|=1}),s.addEventListener("error",function(){l.loading|=2}),l.loading|=4,A0(i,t,n)}i={type:"stylesheet",instance:i,count:1,state:l},o.set(r,i)}}}function bk(e,t){cr.X(e,t);var a=ms;if(a&&e){var n=jl(a).hoistableScripts,o=fs(e),r=n.get(o);r||(r=a.querySelector(Vc(o)),r||(e=Rt({src:e,async:!0},t),(t=Yn.get(o))&&r4(e,t),r=a.createElement("script"),ka(r),Na(r,"link",e),a.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},n.set(o,r))}}function hk(e,t){cr.M(e,t);var a=ms;if(a&&e){var n=jl(a).hoistableScripts,o=fs(e),r=n.get(o);r||(r=a.querySelector(Vc(o)),r||(e=Rt({src:e,async:!0,type:"module"},t),(t=Yn.get(o))&&r4(e,t),r=a.createElement("script"),ka(r),Na(r,"link",e),a.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},n.set(o,r))}}function N8(e,t,a,n){var o=(o=jr.current)?Dc(o):null;if(!o)throw Error(ee(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(a=os(a.href),t=jl(o).hoistableStyles,n=t.get(a),n||(n={type:"style",instance:null,count:0,state:null},t.set(a,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=os(a.href);var r=jl(o).hoistableStyles,i=r.get(e);if(i||(o=o.ownerDocument||o,i={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},r.set(e,i),(r=o.querySelector(Zc(e)))?r._p||(i.instance=r,i.state.loading=5):(r=Yn.get(e),r||(r={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Yn.set(e,r)),yk(o,e,r,i.state))),t&&n===null)throw Error(ee(528,""));return i}if(t&&n!==null)throw Error(ee(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(a=fs(a),t=jl(o).hoistableScripts,n=t.get(a),n||(n={type:"script",instance:null,count:0,state:null},t.set(a,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(ee(444,e))}}function os(e){return'href="'+qn(e)+'"'}function Zc(e){return'link[rel="stylesheet"]['+e+"]"}function Ig(e){return Rt({},e,{"data-precedence":e.precedence,precedence:null})}function yk(e,t,a,n){if(t=e.querySelector('link[rel="preload"][as="style"]['+t+"]")){if(t[U0]!==!0){n.loading=1;return}}else t=e.createElement("link"),t[U0]=!0,t.onload=t.onerror=r9.bind(null,t),Na(t,"link",a),ka(t),e.head.appendChild(t);n.preload=t,t.addEventListener("load",function(){return n.loading|=1}),t.addEventListener("error",function(){return n.loading|=2})}function fs(e){return'[src="'+qn(e)+'"]'}function Vc(e){return"script[async]"+e}function A8(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var n=e.querySelector('style[data-href~="'+qn(a.href)+'"]');if(n)return t.instance=n,ka(n),n;var o=Rt({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return n=(e.ownerDocument||e).createElement("style"),ka(n),Na(n,"style",o),A0(n,a.precedence,e),t.instance=n;case"stylesheet":o=os(a.href);var r=e.querySelector(Zc(o));if(r)return t.state.loading|=4,t.instance=r,ka(r),r;n=Ig(a),(o=Yn.get(o))&&o4(n,o),r=(e.ownerDocument||e).createElement("link"),ka(r);var i=r;return i._p=new Promise(function(l,s){i.onload=l,i.onerror=s}),Na(r,"link",n),t.state.loading|=4,A0(r,a.precedence,e),t.instance=r;case"script":return r=fs(a.src),(o=e.querySelector(Vc(r)))?(t.instance=o,ka(o),o):(n=a,(o=Yn.get(r))&&(n=Rt({},a),r4(n,o)),e=e.ownerDocument||e,o=e.createElement("script"),ka(o),Na(o,"link",n),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error(ee(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(n=t.instance,t.state.loading|=4,A0(n,a.precedence,e));return t.instance}function A0(e,t,a){for(var n=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=n.length?n[n.length-1]:null,r=o,i=0;i<n.length;i++){var l=n[i];if(l.dataset.precedence===t)r=l;else if(r!==o)break}r?r.parentNode.insertBefore(e,r.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function o4(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function r4(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var I0=null;function I8(e,t,a){if(I0===null){var n=new Map,o=I0=new Map;o.set(a,n)}else o=I0,n=o.get(a),n||(n=new Map,o.set(a,n));if(n.has(e))return n;for(n.set(e,null),a=a.getElementsByTagName(e),o=0;o<a.length;o++){var r=a[o];if(!(r[Oc]||r[za]||e==="link"&&r.getAttribute("rel")==="stylesheet")&&r.namespaceURI!=="http://www.w3.org/2000/svg"){var i=r.getAttribute(t)||"";i=e+i;var l=n.get(i);l?l.push(r):n.set(i,[r])}}return n}function l3(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function vk(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!0;case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function R8(e,t){return e==="img"&&t.src!=null&&t.src!==""&&t.onLoad==null&&t.loading!=="lazy"}function Rg(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function Lg(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio=="number"?devicePixelRatio:1)*.25}function L8(e,t){typeof t.decode=="function"&&(e.imgCount++,t.complete||(e.imgBytes+=Lg(t),e.suspenseyImages.push(t)),e=kk.bind(e),t.decode().then(e,e))}function xk(e,t,a,n){if(a.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var o=os(n.href),r=t.querySelector(Zc(o));if(r){t=r._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Mc.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=r,ka(r);return}r=t.ownerDocument||t,n=Ig(n),(o=Yn.get(o))&&o4(n,o),r=r.createElement("link"),ka(r);var i=r;i._p=new Promise(function(l,s){i.onload=l,i.onerror=s}),Na(r,"link",n),a.instance=r}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=Mc.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}var R0=0;function wk(e,t){return e.stylesheets&&e.count===0&&L0(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var n=setTimeout(function(){if(e.stylesheets&&L0(e,e.stylesheets),e.unsuspend){var r=e.unsuspend;e.unsuspend=null,r()}},6e4+t);0<e.imgBytes&&R0===0&&(R0=62500*jw());var o=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&L0(e,e.stylesheets),e.unsuspend)){var r=e.unsuspend;e.unsuspend=null,r()}},(e.imgBytes>R0?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(n),clearTimeout(o)}}:null}function Pg(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)L0(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function Mc(){this.count--,Pg(this)}function kk(){this.imgCount--,Pg(this)}var c2=null;function L0(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,c2=new Map,t.forEach(Sk,e),c2=null,Mc.call(e))}function Sk(e,t){if(!(t.state.loading&4)){var a=c2.get(e);if(a)var n=a.get(null);else{a=new Map,c2.set(e,a);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r<o.length;r++){var i=o[r];(i.nodeName==="LINK"||i.getAttribute("media")!=="not all")&&(a.set(i.dataset.precedence,i),n=i)}n&&a.set(null,n)}o=t.instance,i=o.getAttribute("data-precedence"),r=a.get(i)||n,r===n&&a.set(null,o),a.set(i,o),this.count++,n=Mc.bind(this),o.addEventListener("load",n),o.addEventListener("error",n),r?r.parentNode.insertBefore(o,r.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(o,e.firstChild)),t.state.loading|=4}}var rs={$$typeof:No,Provider:null,Consumer:null,_currentValue:Ci,_currentValue2:Ci,_threadCount:0};function Ck(e,t,a,n,o,r,i,l,s){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=zu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zu(0),this.hiddenUpdates=zu(null),this.identifierPrefix=n,this.onUncaughtError=o,this.onCaughtError=r,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.transitionTypes=null,this.incompleteTransitions=new Map}function Og(e,t,a,n,o,r,i,l,s,c,d,u){return e=new Ck(e,t,a,i,s,c,d,u,l),t=1,r===!0&&(t|=24),r=sn(3,null,null,t),e.current=r,r.stateNode=e,t=T3(),t.refCount++,e.pooledCache=t,t.refCount++,r.memoizedState={element:n,isDehydrated:a,cache:t},D3(r),e}function Bg(e){return e?(e=Pl,e):Pl}function Hg(e,t,a,n,o,r){o=Bg(o),n.context===null?n.context=o:n.pendingContext=o,n=_r(t),n.payload={element:a},r=r===void 0?null:r,r!==null&&(n.callback=r),a=Zr(e,n,t),a!==null&&(cn(a,e,t),lc(a,e,t))}function P8(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function i4(e,t){P8(e,t),(e=e.alternate)&&P8(e,t)}function jg(e){if(e.tag===13||e.tag===31){var t=Ui(e,67108864);t!==null&&cn(t,e,67108864),i4(e,67108864)}}function O8(e){if(e.tag===13||e.tag===31){var t=Tn();t=m3(t);var a=Ui(e,t);a!==null&&cn(a,e,t),i4(e,t)}}var is=!0;function Tk(e,t,a,n){var o=Ue.T;Ue.T=null;var r=vt.p;try{vt.p=2,l4(e,t,a,n)}finally{vt.p=r,Ue.T=o}}function zk(e,t,a,n){var o=Ue.T;Ue.T=null;var r=vt.p;try{vt.p=8,l4(e,t,a,n)}finally{vt.p=r,Ue.T=o}}function l4(e,t,a,n){if(is){var o=s3(n);if(o===null)Yu(e,t,n,d2,a),B8(e,n);else if(Dk(o,e,t,a,n))n.stopPropagation();else if(B8(e,n),t&4&&-1<Ek.indexOf(e)){for(;o!==null;){var r=cs(o);if(r!==null)switch(r.tag){case 3:if(r=r.stateNode,r.current.memoizedState.isDehydrated){var i=vi(r.pendingLanes);if(i!==0){var l=r;for(l.pendingLanes|=2,l.entangledLanes|=2;i;){var s=1<<31-Cn(i);l.entanglements[1]|=s,i&=~s}Ho(r),(yt&6)===0&&(o2=kn()+500,_c(0,!1))}}break;case 31:case 13:l=Ui(r,2),l!==null&&cn(l,r,2),z2(),i4(r,2)}if(r=s3(n),r===null&&Yu(e,t,n,d2,a),r===o)break;o=r}o!==null&&n.stopPropagation()}else Yu(e,t,n,null,a)}}function s3(e){return e=b3(e),s4(e)}var d2=null;function s4(e){if(d2=null,e=ki(e),e!==null){var t=Ic(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=V8(t),e!==null)return e;e=null}else if(a===31){if(e=G8(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return d2=e,null}function Ug(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"fullscreenerror":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(_v()){case J8:return 2;case X8:return 8;case j0:case Zv:return 32;case Q8:return 268435456;default:return 32}default:return 32}}var c3=!1,Fr=null,Wr=null,Kr=null,Nc=new Map,Ac=new Map,Ir=[],Ek="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function B8(e,t){switch(e){case"focusin":case"focusout":Fr=null;break;case"dragenter":case"dragleave":Wr=null;break;case"mouseover":case"mouseout":Kr=null;break;case"pointerover":case"pointerout":Nc.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Ac.delete(t.pointerId)}}function Js(e,t,a,n,o,r){return e===null||e.nativeEvent!==r?(e={blockedOn:t,domEventName:a,eventSystemFlags:n,nativeEvent:r,targetContainers:[o]},t!==null&&(t=cs(t),t!==null&&jg(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function Dk(e,t,a,n,o){switch(t){case"focusin":return Fr=Js(Fr,e,t,a,n,o),!0;case"dragenter":return Wr=Js(Wr,e,t,a,n,o),!0;case"mouseover":return Kr=Js(Kr,e,t,a,n,o),!0;case"pointerover":var r=o.pointerId;return Nc.set(r,Js(Nc.get(r)||null,e,t,a,n,o)),!0;case"gotpointercapture":return r=o.pointerId,Ac.set(r,Js(Ac.get(r)||null,e,t,a,n,o)),!0}return!1}function _g(e){var t=ki(e.target);if(t!==null){var a=Ic(t);if(a!==null){if(t=a.tag,t===13){if(t=V8(a),t!==null){e.blockedOn=t,c7(e.priority,function(){O8(a)});return}}else if(t===31){if(t=G8(a),t!==null){e.blockedOn=t,c7(e.priority,function(){O8(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function P0(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=s3(e.nativeEvent);if(a===null){a=e.nativeEvent;var n=new a.constructor(a.type,a);pp=n,a.target.dispatchEvent(n),pp=null}else return t=cs(a),t!==null&&jg(t),e.blockedOn=a,!1;t.shift()}return!0}function H8(e,t,a){P0(e)&&a.delete(t)}function Mk(){c3=!1,Fr!==null&&P0(Fr)&&(Fr=null),Wr!==null&&P0(Wr)&&(Wr=null),Kr!==null&&P0(Kr)&&(Kr=null),Nc.forEach(H8),Ac.forEach(H8)}function g0(e,t){e.blockedOn===t&&(e.blockedOn=null,c3||(c3=!0,ba.unstable_scheduleCallback(ba.unstable_NormalPriority,Mk)))}var b0=null;function j8(e){b0!==e&&(b0=e,ba.unstable_scheduleCallback(ba.unstable_NormalPriority,function(){b0===e&&(b0=null);for(var t=0;t<e.length;t+=3){var a=e[t],n=e[t+1],o=e[t+2];if(typeof n!="function"){if(s4(n||a)===null)continue;break}var r=cs(a);r!==null&&(e.splice(t,3),t-=3,Dp(r,{pending:!0,data:o,method:a.method,action:n},n,o))}}))}function ls(e){function t(s){return g0(s,e)}Fr!==null&&g0(Fr,e),Wr!==null&&g0(Wr,e),Kr!==null&&g0(Kr,e),Nc.forEach(t),Ac.forEach(t);for(var a=0;a<Ir.length;a++){var n=Ir[a];n.blockedOn===e&&(n.blockedOn=null)}for(;0<Ir.length&&(a=Ir[0],a.blockedOn===null);)_g(a),a.blockedOn===null&&Ir.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(n=0;n<a.length;n+=3){var o=a[n],r=a[n+1],i=o[un]||null;if(typeof r=="function")i||j8(a);else if(i){var l=null;if(r&&r.hasAttribute("formAction")){if(o=r,i=r[un]||null)l=i.formAction;else if(s4(o)!==null)continue}else l=i.action;typeof l=="function"?a[n+1]=l:(a.splice(n,3),n-=3),j8(a)}}}function Zg(){function e(r){r.canIntercept&&r.info==="react-transition"&&r.intercept({handler:function(){return new Promise(function(i){return o=i})},focusReset:"manual",scroll:"manual"})}function t(){o!==null&&(o(),o=null),n||setTimeout(a,20)}function a(){if(!n&&!navigation.transition){var r=navigation.currentEntry;r&&r.url!=null&&navigation.navigate(r.url,{state:r.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var n=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){n=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),o!==null&&(o(),o=null)}}}function c4(e){this._internalRoot=e}M2.prototype.render=c4.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(ee(409));var a=t.current,n=Tn();Hg(a,n,e,t,null,null)};M2.prototype.unmount=c4.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Hg(e.current,2,null,e,null,null),z2(),t[ss]=null}};function M2(e){this._internalRoot=e}M2.prototype.unstable_scheduleHydration=function(e){if(e){var t=o9();e={blockedOn:null,target:e,priority:t};for(var a=0;a<Ir.length&&t!==0&&t<Ir[a].priority;a++);Ir.splice(a,0,e),a===0&&_g(e)}};var U8=_8.version;if(U8!=="19.3.0")throw Error(ee(527,U8,"19.3.0"));vt.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(ee(188)):(e=Object.keys(e).join(","),Error(ee(268,e)));return e=Nv(t),e=e!==null?q8(e):null,e=e===null?null:e.stateNode,e};var Nk={bundleType:0,version:"19.3.0",rendererPackageName:"react-dom",currentDispatcherRef:Ue,reconcilerVersion:"19.3.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(Xs=__REACT_DEVTOOLS_GLOBAL_HOOK__,!Xs.isDisabled&&Xs.supportsFiber))try{Rc=Xs.inject(Nk),Sn=Xs}catch{}var Xs;N2.createRoot=function(e,t){if(!Z8(e))throw Error(ee(299));var a=!1,n="",o=kf,r=Sf,i=Cf;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(r=t.onCaughtError),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=Og(e,1,!1,null,null,a,n,null,o,r,i,Zg),e[ss]=t.current,e4(e),new c4(t)};N2.hydrateRoot=function(e,t,a){if(!Z8(e))throw Error(ee(299));var n=!1,o="",r=kf,i=Sf,l=Cf,s=null;return a!=null&&(a.unstable_strictMode===!0&&(n=!0),a.identifierPrefix!==void 0&&(o=a.identifierPrefix),a.onUncaughtError!==void 0&&(r=a.onUncaughtError),a.onCaughtError!==void 0&&(i=a.onCaughtError),a.onRecoverableError!==void 0&&(l=a.onRecoverableError),a.formState!==void 0&&(s=a.formState)),t=Og(e,1,!0,t,a??null,n,o,s,r,i,l,Zg),t.context=Bg(null),a=t.current,n=Tn(),n=m3(n),o=_r(n),o.callback=null,Zr(a,o,n),a=n,t.current.lanes=a,Pc(t,a),Ho(t),e[ss]=t.current,e4(e),new M2(t)};N2.version="19.3.0"});var A2=tl((JC,qg)=>{"use strict";function Gg(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Gg)}catch(e){console.error(e)}}Gg(),qg.exports=Vg()});var Yg=tl(d4=>{"use strict";var Pk=Symbol.for("react.fragment");d4.Fragment=Pk;d4.jsxDEV=void 0});var Xg=tl((nT,Jg)=>{"use strict";Jg.exports=Yg()});var na=Z(Me(),1);var G6=Z(Me(),1);var F1=Z(de(),1);function jn({value:e="",size:t=18,fallback:a}){let[n,o]=(0,G6.useState)(null),r=Bs(e);return(0,F1.jsx)("span",{className:"page-icon",style:{display:"inline-flex",flexShrink:0,width:t,height:t,alignItems:"center",justifyContent:"center",fontSize:t,lineHeight:1,overflow:"hidden",verticalAlign:"middle"},"aria-hidden":"true",children:r&&n!==e?(0,F1.jsx)("img",{src:e,alt:"",draggable:!1,referrerPolicy:"no-referrer",onError:()=>o(e),style:{width:"100%",height:"100%",objectFit:"contain",borderRadius:3}}):e&&!r?e:a??(0,F1.jsx)(yo,{size:t})})}function yl(e){let t=e.nodeType===9?e:e.ownerDocument,a=t.defaultView,n=e.nodeType===9?t.body:e,o=t.createElement("style");o.textContent=`
|
|
10
|
+
.showai-icon-tooltip {
|
|
11
|
+
position: fixed; inset: auto; margin: 0; box-sizing: border-box;
|
|
12
|
+
max-width: min(280px, calc(100vw - 16px)); padding: 7px 10px;
|
|
13
|
+
border: 1px solid #ffffff20; border-radius: 8px;
|
|
14
|
+
background: #222; color: #fff; box-shadow: 0 4px 14px #0003;
|
|
15
|
+
font: 500 12px/1.5 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
|
|
16
|
+
text-align: left; white-space: normal; overflow-wrap: anywhere;
|
|
17
|
+
letter-spacing: normal; z-index: 2147483647; pointer-events: none;
|
|
18
|
+
}
|
|
19
|
+
.showai-icon-tooltip::backdrop { pointer-events: none; }
|
|
20
|
+
@media print { .showai-icon-tooltip { display: none !important; } }
|
|
21
|
+
`;let r=t.createElement("div");r.className="showai-icon-tooltip",r.id=`showai-icon-tooltip-${a.crypto.randomUUID()}`,r.setAttribute("role","tooltip"),r.setAttribute("popover","manual"),n.append(o,r);let i=null,l=null,s=0,c=0,d=!1,u=null,p=null,b=C=>C.getAttribute("data-icon-tooltip")?.trim()||(C===i?l:C.getAttribute("title"))?.trim()||C.getAttribute("aria-label")?.trim()||[...(C.getAttribute("aria-labelledby")||"").split(/\s+/)].map(I=>e.getElementById(I)?.textContent||"").join(" ").trim()||C.textContent?.trim(),y=C=>{let I=C.composedPath(),D=I.find(N=>N?.matches&&N.getRootNode()===e&&N.matches("button, summary, a, [role='button']"));if(D)return b(D)?D:null;for(let N of I)if(!(!N?.matches||N.getRootNode()!==e)){if(N===r)return r;if(N.matches("[data-icon-tooltip], svg[aria-label], [role='img'][aria-label]"))return b(N)?N:null}return null},f=()=>{if(a.clearTimeout(s),i){let C=(i.getAttribute("aria-describedby")||"").split(/\s+/).filter(I=>I&&I!==r.id);C.length?i.setAttribute("aria-describedby",C.join(" ")):i.removeAttribute("aria-describedby"),l!==null&&!i.hasAttribute("title")&&i.setAttribute("title",l)}r.hidePopover(),i=null,l=null},w=C=>{let I=t.createTreeWalker(C,a.NodeFilter.SHOW_TEXT);for(let D=I.nextNode();D;D=I.nextNode()){if(!/[\p{L}\p{N}]/u.test(D.textContent))continue;let N=D.parentElement;if(N.closest("svg, [hidden]")||a.getComputedStyle(N).visibility!=="visible")continue;let j=t.createRange();if(j.selectNodeContents(D),[...j.getClientRects()].some(F=>F.width>1&&F.height>1))return!0}return!1},h=()=>{let C=i;if(!C)return;if(!C.isConnected||!C.getClientRects().length)return f();if(w(C)){r.hidePopover();let J=(C.getAttribute("aria-describedby")||"").split(/\s+/).filter(V=>V&&V!==r.id);J.length?C.setAttribute("aria-describedby",J.join(" ")):C.removeAttribute("aria-describedby");return}r.textContent=b(C),r.showPopover();let I=C.getBoundingClientRect(),D=r.getBoundingClientRect(),N=t.documentElement.clientWidth,_=t.documentElement.clientHeight,j=I.bottom+6,F=j+D.height<=_-8?j:I.top-D.height-6;r.style.left=`${Math.max(8,Math.min(I.left+(I.width-D.width)/2,N-D.width-8))}px`,r.style.top=`${Math.max(8,Math.min(F,_-D.height-8))}px`;let q=(C.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean);C.setAttribute("aria-describedby",[...new Set([...q,r.id])].join(" "))},m=C=>{a.clearTimeout(s),C!==i&&(f(),!(!C||C===r)&&(i=C,l=C.getAttribute("title"),C.removeAttribute("title"),h()))},v=()=>{a.clearTimeout(s),s=a.setTimeout(()=>{u!==r&&m(u||p)},90)},T=C=>{C.pointerType!=="touch"&&(u=y(C),u===r?a.clearTimeout(s):m(u||p))},x=C=>{i?.contains(C.relatedTarget)||r.contains(C.relatedTarget)||(u=null,v())},E=C=>{d||(p=y(C),m(p))},P=()=>{p=null,v()},U=C=>{C.key==="Escape"&&f()},S=()=>{u=null,p=null,f()},k=()=>{S(),d=!0,a.clearTimeout(c),c=a.setTimeout(()=>{d=!1},0)},A=new a.MutationObserver(()=>{i&&(i.hasAttribute("title")&&(l=i.getAttribute("title"),i.removeAttribute("title")),!i.isConnected||!i.getClientRects().length?f():w(i)?h():r.matches(":popover-open")?r.textContent!==b(i)&&(r.textContent=b(i)):h())});A.observe(n,{childList:!0,subtree:!0,characterData:!0,attributes:!0,attributeFilter:["aria-label","title","data-icon-tooltip","hidden","class","style"]});let L=[["pointerover",T],["pointerout",x],["focusin",E],["focusout",P],["keydown",U],["pointerdown",k],["contextmenu",S],["wheel",S],["scroll",S]];for(let[C,I]of L)e.addEventListener(C,I,!0);return a.addEventListener("resize",S),a.addEventListener("blur",S),()=>{a.clearTimeout(c),f(),A.disconnect();for(let[C,I]of L)e.removeEventListener(C,I,!0);a.removeEventListener("resize",S),a.removeEventListener("blur",S),r.remove(),o.remove()}}var yv=Z(A2(),1);var cv=Z(Me(),1);var Kt=Z(Me(),1);var gs="default-src 'none'; script-src 'unsafe-inline' 'wasm-unsafe-eval'; style-src 'unsafe-inline'; img-src data: blob:; media-src data:; font-src data:; connect-src 'none'; object-src 'none'; frame-src about:; base-uri 'none'; form-action 'none'";var Fg=Z(Me(),1);function Ak(){let e=document.documentElement.dataset.theme;if(e==="light"||e==="dark")return e;let t=localStorage.getItem("showai:appearance");return t==="dark"||!t&&matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Ik(e){let t=new MutationObserver(e);return t.observe(document.documentElement,{attributes:!0,attributeFilter:["data-theme"]}),()=>t.disconnect()}function I2(){return(0,Fg.useSyncExternalStore)(Ik,Ak,()=>"light")}function R2(e,t,a){let n=(o,r)=>{document.documentElement.dataset.theme=o,document.documentElement.style.colorScheme=o;for(let[i,l]of Object.entries(r))i.startsWith("--")&&document.documentElement.style.setProperty(i,l)};n(t,a),window.addEventListener("message",o=>{o.source===parent&&o.data?.channel===e&&o.data.type==="showai:theme"&&(o.data.theme==="light"||o.data.theme==="dark")&&n(o.data.theme,o.data.tokens??{})})}function bs(){let e=getComputedStyle(document.documentElement);return Object.fromEntries([...e].filter(t=>t.startsWith("--")).map(t=>[t,e.getPropertyValue(t)]))}var Je=Z(Me(),1);var Rk=/^[a-z][a-z0-9-]{0,79}$/,Lk=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-[a-zA-Z0-9.-]+)?$/,Wg="<!--SHOWAI_COMPONENT_DATA-->";function hs(e,t){if(!e.includes(Wg))throw new Error("\u7EC4\u4EF6\u7F3A\u5C11\u8FD0\u884C\u5165\u53E3\u3002");return e.replace(Wg,()=>t)}function L2(e,t=0){if(t>40)throw new Error("Component data is nested too deeply.");if(!(e===null||typeof e=="string"||typeof e=="boolean")&&!(typeof e=="number"&&Number.isFinite(e))){if(Array.isArray(e)){e.forEach(a=>L2(a,t+1));return}if(e&&typeof e=="object"&&Object.getPrototypeOf(e)===Object.prototype){for(let[a,n]of Object.entries(e)){if(["__proto__","prototype","constructor"].includes(a))throw new Error("Component data contains a reserved property.");L2(n,t+1)}return}throw new Error("Component data must contain only JSON values.")}}function Kg(e,t=e.defaultData){return L2(t),Cr(t,"Component instance data",xo.componentPropsBytes),{...ai({componentId:e.id,version:e.version,integrity:e.integrity,props:structuredClone(t)})}}function ai(e){if(!e||typeof e!="object"||Array.isArray(e))throw new Error("Custom block data must be an object.");let t=e;if(typeof t.componentId!="string"||!Rk.test(t.componentId))throw new Error("A custom block needs a valid componentId.");if(typeof t.version!="string"||!Lk.test(t.version))throw new Error("A custom block needs an exact component version.");if(t.integrity!==void 0&&(typeof t.integrity!="string"||!/^sha256-[a-f0-9]{64}$/.test(t.integrity)))throw new Error("Invalid component integrity hash.");if(t.scope!==void 0&&!["project","global","published","builtin"].includes(String(t.scope)))throw new Error("Invalid component scope.");if(!t.props||typeof t.props!="object"||Array.isArray(t.props))throw new Error("Custom block props must be an object.");return L2(t.props),Cr(t.props,"Component instance data",xo.componentPropsBytes),{componentId:t.componentId,version:t.version,props:t.props,...t.integrity?{integrity:t.integrity}:{},...t.scope?{scope:t.scope}:{}}}var Ok=Z(Me(),1),Bk=Z(Ln(),1),Hk=Z(A2(),1),jk=Z(de(),1),Uk=Z(Xg(),1),so=Z(Me(),1);var lo=rt("customComponents",{"zh-CN":{notInstalled:"\u7EC4\u4EF6\u5C1A\u672A\u5B89\u88C5",notInstalledError:"\u7EC4\u4EF6\u5C1A\u672A\u5B89\u88C5\u3002",installRequired:"\u9700\u8981\u5B89\u88C5\u7EC4\u4EF6 {component}\u3002\u9875\u9762\u6570\u636E\u5DF2\u4FDD\u7559\u3002",installRequiredIntegrity:"\u9700\u8981\u5B89\u88C5\u7EC4\u4EF6 {component}\uFF08{integrity}\uFF09\u3002\u9875\u9762\u6570\u636E\u5DF2\u4FDD\u7559\u3002",ambiguousVersion:"\u7EC4\u4EF6 {component} \u6709\u591A\u4E2A\u4E0D\u540C\u5185\u5BB9\u7248\u672C\uFF0C\u8BF7\u6307\u5B9A\u5B8C\u6574\u6027\u6307\u7EB9\u3002",invalidJson:"JSON \u683C\u5F0F\u4E0D\u6B63\u786E\u3002",notJsonObject:"\u7EC4\u4EF6\u6570\u636E\u5FC5\u987B\u662F\u6709\u6548\u7684 JSON \u5BF9\u8C61\u3002",dataTooLarge:"\u7EC4\u4EF6\u6570\u636E\u8D85\u9650\u3002",dataChanged:"\u7EC4\u4EF6\u6570\u636E\u5DF2\u66F4\u65B0\uFF0C\u8BF7\u91CD\u65B0\u6253\u5F00\u7F16\u8F91\u540E\u518D\u4FEE\u6539\u3002",validationTimeout:"\u7EC4\u4EF6\u672A\u54CD\u5E94\u6570\u636E\u6821\u9A8C\uFF0C\u8BF7\u91CD\u65B0\u52A0\u8F7D\u7EC4\u4EF6\u540E\u518D\u8BD5\u3002",cannotDisplay:"\u7EC4\u4EF6\u65E0\u6CD5\u663E\u793A\u3002",viewportLockFailed:"\u65E0\u6CD5\u4FDD\u5B58\u9605\u8BFB\u9501\u72B6\u6001\uFF1A{error}",invalidProps:"\u6570\u636E\u4E0D\u7B26\u5408\u7EC4\u4EF6\u7684\u5C5E\u6027\u8981\u6C42\u3002",editData:"\u7F16\u8F91\u7EC4\u4EF6\u6570\u636E",data:"\u7EC4\u4EF6\u6570\u636E",propsJson:"\u7EC4\u4EF6\u5C5E\u6027 JSON",validating:"\u6821\u9A8C\u4E2D\u2026",apply:"\u5E94\u7528",inlineOnlyInConversation:"\u6B64\u8FD0\u884C\u65B9\u5F0F\u4EC5\u7528\u4E8E\u5BF9\u8BDD\u5185\u7684\u72EC\u7ACB\u9875\u9762\u3002",inlineUnavailable:"\u7EC4\u4EF6 {component} \u5C1A\u65E0\u5BF9\u8BDD\u5185\u8FD0\u884C\u7248\u672C\uFF0C\u8BF7\u4ECE\u6E90\u7801\u5BFC\u5165\u65B0\u7248\u672C\u540E\u91CD\u65B0\u5BFC\u51FA\u3002",inlineBlocked:"\u5BBF\u4E3B\u672A\u5141\u8BB8\u6B64\u7EC4\u4EF6\u8FD0\u884C\u3002","media.title":"\u672C\u673A\u6587\u4EF6","media.close":"\u5173\u95ED","media.loading":"\u6B63\u5728\u6253\u5F00\u2026","media.unsupported":"\u8FD9\u4E2A\u6587\u4EF6\u4E0D\u80FD\u5728 ShowAI \u91CC\u9884\u89C8\uFF0C\u53EF\u4EE5\u5728\u6587\u4EF6\u5939\u4E2D\u6253\u5F00\u3002","media.unavailable":"\u8FD9\u91CC\u4E0D\u80FD\u6253\u5F00\u672C\u673A\u6587\u4EF6\u3002\u8BF7\u5728 ShowAI \u684C\u9762\u7248\u6216\u672C\u673A\u6D4F\u89C8\u5668\u7248\u4E2D\u67E5\u770B\u3002","media.failed":"\u65E0\u6CD5\u6253\u5F00\u6587\u4EF6\uFF1A{error}","media.notFound":"\u627E\u4E0D\u5230\u8FD9\u4E2A\u6587\u4EF6\uFF0C\u53EF\u80FD\u5DF2\u7ECF\u79FB\u52A8\u6216\u5220\u9664\u3002","media.playFailed":"\u65E0\u6CD5\u64AD\u653E\u8FD9\u4E2A\u6587\u4EF6\uFF0C\u53EF\u80FD\u662F\u7F16\u7801\u683C\u5F0F\u4E0D\u53D7\u652F\u6301\u3002","media.copyPath":"\u590D\u5236\u4F4D\u7F6E","media.copied":"\u5DF2\u590D\u5236","media.reveal":"\u5728\u6587\u4EF6\u5939\u4E2D\u663E\u793A"},en:{notInstalled:"Component not installed",notInstalledError:"This component isn't installed.",installRequired:"Install component {component} to show this block. The page data is kept.",installRequiredIntegrity:"Install component {component} ({integrity}) to show this block. The page data is kept.",ambiguousVersion:"Component {component} has several versions with different content. Specify its integrity fingerprint.",invalidJson:"The JSON is malformed.",notJsonObject:"Component data must be a valid JSON object.",dataTooLarge:"The component data is too large.",dataChanged:"The component data has changed. Reopen the editor before making changes.",validationTimeout:"The component didn't respond to data validation. Reload the component and try again.",cannotDisplay:"This component can't be displayed.",viewportLockFailed:"Couldn't save the reading lock state: {error}",invalidProps:"The data doesn't match the component's property rules.",editData:"Edit component data",data:"Component data",propsJson:"Component properties JSON",validating:"Validating\u2026",apply:"Apply",inlineOnlyInConversation:"This mode only runs in standalone pages inside a conversation.",inlineUnavailable:"Component {component} has no in-conversation build yet. Import a new version from source and export again.",inlineBlocked:"The host didn't allow this component to run.","media.title":"Local file","media.close":"Close","media.loading":"Opening\u2026","media.unsupported":"ShowAI can't preview this file. Open it from its folder instead.","media.unavailable":"Local files can't be opened here. View this page in the ShowAI desktop app or local browser mode.","media.failed":"Couldn't open the file: {error}","media.notFound":"This file can't be found. It may have been moved or deleted.","media.playFailed":"Couldn't play this file. Its format may not be supported.","media.copyPath":"Copy location","media.copied":"Copied","media.reveal":"Show in folder"}});var iT=Object.freeze({modelBytes:8192,totalBytes:16384,labelChars:80,depth:20,perMessage:6});function P2(e,t={modelBytes:8192,totalBytes:16384,labelChars:80,depth:20}){let a=i=>!!i&&typeof i=="object"&&!Array.isArray(i)&&[Object.prototype,null].includes(Object.getPrototypeOf(i)),n=(i,l)=>l>t.depth?!1:i===null||["string","boolean"].includes(typeof i)?!0:typeof i=="number"?Number.isFinite(i):Array.isArray(i)?i.every(s=>n(s,l+1)):a(i)&&Object.entries(i).every(([s,c])=>!["__proto__","constructor","prototype"].includes(s)&&n(c,l+1)),o=i=>new TextEncoder().encode(JSON.stringify(i)).byteLength;if(!a(e))return"The snapshot must be an object.";let r=Object.keys(e).filter(i=>!["model","private","label"].includes(i));return r.length?`Unknown snapshot fields: ${r.join(", ")}.`:e.model===void 0||e.model===null?"model is required.":n(e.model,1)?e.private!==void 0&&!n(e.private,1)?"private must contain only JSON values.":e.label!==void 0&&(typeof e.label!="string"||!e.label.trim()||e.label.length>t.labelChars)?`label must be non-empty text of at most ${t.labelChars} characters.`:o(e.model)>t.modelBytes?`model exceeds ${t.modelBytes} bytes of JSON.`:o(e)>t.totalBytes?`The snapshot exceeds ${t.totalBytes} bytes of JSON.`:"":"model must contain only JSON values."}var Gc=Z(de(),1),_k="showai:conversation-context",Qg=new Map;function O2({component:e,data:t,host:a,outline:n,onError:o}){let r=(0,so.useRef)(null),i=(0,so.useRef)(null),l=(0,so.useRef)(t),[s,c]=(0,so.useState)(""),d=se(lo);l.current=t;let u=(0,so.useRef)(n);return u.current=n,(0,so.useEffect)(()=>o?.(s),[s,o]),(0,so.useEffect)(()=>{if(!r.current||!a.hasAttribute("data-showai-inline-root")||!a.contains(r.current)||window.showai){c(d("inlineOnlyInConversation"));return}if(!e.inline){c(d("inlineUnavailable",{component:`${e.id}@${e.version}`}));return}let p=r.current.shadowRoot??r.current.attachShadow({mode:"open"}),b=document.createElement("style");b.textContent=":host{display:block;font:14px/1.6 system-ui,sans-serif;color:inherit}*{box-sizing:border-box}button,input,select,textarea{font:inherit}.component-root{display:flow-root;overflow-wrap:anywhere}"+e.inline.styles.replace(/:root\b|(?<![\w-])(?:html|body)(?=\s*[{,])/g,":host");let y=document.createElement("div");y.className="component-root",p.replaceChildren(b,y);let f=yl(p),w=globalThis,h=w.__SHOWAI_COMPONENT_HOST__,m=`__showai_mount_${crypto.randomUUID().replaceAll("-","")}`;w.__SHOWAI_COMPONENT_HOST__={react:Ok,client:Hk,dom:Bk,jsx:jk,jsxDev:Uk};let v=r.current.closest("[data-block-id],[data-surface-id]"),T=v?.dataset.blockId??v?.dataset.surfaceId,x=!!T&&!!a.closest("[data-showai-conversation]"),E=U=>{let S=P2(U);if(S)throw new Error(`onContext: ${S}`);if(navigator.userActivation&&!navigator.userActivation.isActive)return!1;let k=JSON.parse(JSON.stringify(U));return Qg.set(T,k),r.current?.dispatchEvent(new CustomEvent(_k,{bubbles:!0,composed:!0,detail:{blockId:T,componentId:e.id,name:e.name,snapshot:k}})),!0};w[m]=U=>{i.current=U.mount(y,{data:l.current,outline:u.current,onError:c,...x?{onContext:E,context:Qg.get(T)}:{}})};let P=document.createElement("script");P.textContent=`(()=>{${e.inline.script}
|
|
22
|
+
globalThis[${JSON.stringify(m)}](ShowAIInlineComponent);})();`;try{a.appendChild(P),i.current||c(d("inlineBlocked"))}finally{P.remove(),delete w[m],h===void 0?delete w.__SHOWAI_COMPONENT_HOST__:w.__SHOWAI_COMPONENT_HOST__=h}return()=>{f();let U=i.current;i.current=null,queueMicrotask(()=>U?.destroy())}},[e.integrity,a]),(0,so.useEffect)(()=>i.current?.update(t,n),[t,n]),(0,Gc.jsxs)("section",{"aria-label":e.name,style:{margin:"18px 0"},children:[(0,Gc.jsx)("div",{ref:r}),s&&(0,Gc.jsx)("p",{role:"alert",className:"custom-props-error",children:s})]})}var Zk=St(lo),$g=(e,t,a)=>`${e}@${t}#${a}`;function eb(e){let t=new Map;for(let a of e){let n=$g(a.id,a.version,a.integrity),o=t.get(n);if(o&&(o.html!==a.html||JSON.stringify(o.schema)!==JSON.stringify(a.schema)||JSON.stringify(o.inline)!==JSON.stringify(a.inline)))throw new Error(`Conflicting component payloads claim the same fingerprint: ${n}.`);o||t.set(n,a)}return t}function tb(e,t){if(t.integrity)return e.get($g(t.componentId,t.version,t.integrity));let a=[...e.values()].filter(n=>n.id===t.componentId&&n.version===t.version&&(!t.scope||n.scope===t.scope));if(a.length>1)throw new Error(Zk("ambiguousVersion",{component:`${t.componentId}@${t.version}`}));return a[0]}function Vk(e){if(!(typeof e!="string"||e.length>8192))return Bn(e)}function ab(e){document.addEventListener("click",t=>{if(!t.isTrusted||t.defaultPrevented||t.button!==0)return;let a=t.composedPath().find(o=>o instanceof HTMLAnchorElement&&o.hasAttribute("href"));if(!a||a.hasAttribute("download"))return;let n=a.getAttribute("href")??"";if(/^file:/i.test(n)){t.preventDefault(),parent.postMessage({channel:e,type:"showai:open-media",url:n},"*");return}/^https?:\/\//i.test(n)&&(t.preventDefault(),parent.postMessage({channel:e,type:"showai:open-url",url:n},"*"))})}function nb(e){let t=Vk(e);if(!t||navigator.userActivation?.isActive!==!0)return!1;let a=document.createElement("a");return a.href=t,a.target="_blank",a.rel="noopener noreferrer",a.referrerPolicy="no-referrer",a.click(),!0}var dr=Z(Me(),1),lb=Z(A2(),1);var Gk="showai-media";function ob(e){return typeof e=="string"&&e.length<=4096&&/^file:/i.test(e)}function rb(e){return window.__SHOWAI_LOCAL__?`/api/media/${e}`:`${Gk}://media/${e}`}mt(`.showai-custom-block{position:relative}.custom-props-trigger{position:absolute;right:8px;top:-13px;z-index:2;width:28px;height:26px;display:grid;place-items:center;padding:0;border:1px solid var(--border, #dfe6df);border-radius:6px;color:var(--text-secondary, #657465);background:var(--surface, #fff);cursor:pointer;opacity:0;transition:opacity .12s ease}.showai-custom-block:hover>.custom-props-trigger,.showai-custom-block:focus-within>.custom-props-trigger{opacity:1}.custom-props-trigger:focus-visible{outline:2px solid var(--accent, #547c63);outline-offset:3px}.custom-props-editor{padding:14px;margin-bottom:12px;border:1px solid var(--border, #dfe6df);border-radius:9px;background:var(--surface, #fff);color:var(--text, #292d29);font:13px/1.5 system-ui,sans-serif}.custom-props-editor>label{display:block;font-weight:600;margin-bottom:8px}.custom-props-editor textarea{display:block;width:100%;resize:vertical;min-height:110px;max-height:400px;padding:10px;border:1px solid var(--border, #dfe6df);border-radius:6px;background:var(--bg, #fff);color:inherit;font:12px/1.65 ui-monospace,monospace}.custom-props-error{color:#ae3c3c;margin:9px 0 0;font-size:12px;overflow-wrap:anywhere}.custom-props-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}.custom-props-actions button{padding:5px 12px;border:1px solid var(--border, #dfe6df);border-radius:6px;font:inherit;color:inherit;background:transparent;cursor:pointer}.custom-props-actions button:last-child{color:#fff;background:var(--accent, #547c63);border-color:transparent}.custom-props-actions button:disabled{opacity:.5;cursor:default}@media(hover:none){.custom-props-trigger{opacity:1}}@media print{.custom-props-trigger,.custom-props-editor{display:none!important}}@media(prefers-reduced-motion:reduce){.custom-props-trigger{transition:none}}.showai-local-media{position:fixed;inset:0;z-index:500;display:flex;align-items:center;justify-content:center;padding:50px 65px;background:#101611f2;backdrop-filter:blur(12px);color:#f1f5ee;font:13px/1.5 Avenir Next,PingFang SC,system-ui,sans-serif}.showai-local-media figure{margin:0;min-width:0;max-width:100%;max-height:100%;display:flex;flex-direction:column;align-items:center}.showai-local-media video,.showai-local-media img{max-width:100%;max-height:calc(100dvh - 190px);object-fit:contain;display:block;background:#000;border-radius:6px}.showai-local-media audio{width:min(560px,80vw)}.showai-local-media figcaption{font-size:12px;line-height:1.8;text-align:center;padding:15px 0 0;overflow-wrap:anywhere}.showai-local-media figcaption>span{display:block;color:#a8b2a7;font-size:10px;padding-top:5px}.showai-local-media-close{position:absolute;top:20px;right:22px;width:39px;height:39px;display:flex;align-items:center;justify-content:center;border:1px solid #ffffff15;border-radius:50%;background:#ffffff0b;color:#f1f5ee;cursor:pointer}.showai-local-media-close:hover{background:#ffffff20}.showai-local-media-note{margin:0 0 12px;font-size:14px;text-align:center}.showai-local-media-path{user-select:all;font-family:ui-monospace,Menlo,monospace}.showai-local-media figcaption>.showai-local-media-actions{display:flex;justify-content:center;gap:8px;padding-top:10px}.showai-local-media-actions>button{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border:1px solid #ffffff26;border-radius:999px;background:#ffffff0f;color:#f1f5ee;font:inherit;font-size:12px;cursor:pointer}.showai-local-media-actions>button:hover{background:#ffffff20}.showai-local-media-close:focus-visible,.showai-local-media-actions>button:focus-visible{outline:2px solid #b8ceba;outline-offset:3px}@media(prefers-reduced-motion:reduce){.showai-local-media{backdrop-filter:none}}
|
|
23
|
+
`);var ta=Z(de(),1),B2=null;function sb(e){if(!ob(e)||navigator.userActivation?.isActive!==!0)return!1;B2?.();let t=document.createElement("div");document.body.append(t);let a=(0,lb.createRoot)(t),n=()=>{B2===n&&(B2=null,a.unmount(),t.remove())};return B2=n,a.render((0,ta.jsx)(qk,{link:e,onClose:n})),!0}function qk({link:e,onClose:t}){let a=St(lo),[n,o]=(0,dr.useState)({status:"loading"}),[r,i]=(0,dr.useState)(!1),[l,s]=(0,dr.useState)(""),[c,d]=(0,dr.useState)(!1),u=(0,dr.useRef)(null),p=window.showai;(0,dr.useEffect)(()=>{let h=document.activeElement;return u.current?.focus(),p?p.invoke("media:open",{path:e}).then(m=>o({status:"ready",grant:m})).catch(m=>o({status:"error",message:m?.code==="NOT_FOUND"?a("media.notFound"):a("media.failed",{error:ib(m)})})):o({status:"error",message:a("media.unavailable")}),()=>h?.focus({preventScroll:!0})},[]);let b=n.status==="ready"?n.grant:void 0,y=b?.path??Fk(e),f=async()=>{try{await navigator.clipboard.writeText(y)}catch{await p?.invoke("clipboard:write",{text:y})}i(!0)},w=b?.kind?rb(b.token):void 0;return(0,ta.jsxs)("div",{className:"showai-local-media",role:"dialog","aria-modal":"true","aria-label":b?.name??a("media.title"),onClick:h=>{h.target===h.currentTarget&&t()},onKeyDown:h=>{if(h.key==="Escape"&&(h.stopPropagation(),t()),h.key==="Tab"){let m=Array.from(h.currentTarget.querySelectorAll("button,video,audio")),v=m[0],T=m.at(-1);h.shiftKey&&document.activeElement===v&&(h.preventDefault(),T?.focus()),!h.shiftKey&&document.activeElement===T&&(h.preventDefault(),v?.focus())}},children:[(0,ta.jsx)("button",{ref:u,type:"button",className:"showai-local-media-close","aria-label":a("media.close"),onClick:t,children:(0,ta.jsx)(Ja,{size:24})}),(0,ta.jsxs)("figure",{children:[n.status==="loading"&&(0,ta.jsx)("p",{className:"showai-local-media-note",children:a("media.loading")}),n.status==="error"&&(0,ta.jsx)("p",{className:"showai-local-media-note",role:"alert",children:n.message}),b&&!b.kind&&(0,ta.jsx)("p",{className:"showai-local-media-note",children:a("media.unsupported")}),w&&c&&(0,ta.jsx)("p",{className:"showai-local-media-note",role:"alert",children:a("media.playFailed")}),w&&b?.kind==="video"&&!c&&(0,ta.jsx)("video",{src:w,controls:!0,autoPlay:!0,playsInline:!0,onError:()=>d(!0)}),w&&b?.kind==="audio"&&!c&&(0,ta.jsx)("audio",{src:w,controls:!0,autoPlay:!0,onError:()=>d(!0)}),w&&b?.kind==="image"&&!c&&(0,ta.jsx)("img",{src:w,alt:b.name,onError:()=>d(!0)}),(0,ta.jsxs)("figcaption",{children:[b?.name??y.split("/").at(-1),(0,ta.jsx)("span",{className:"showai-local-media-path",children:y}),(0,ta.jsxs)("span",{className:"showai-local-media-actions",children:[(0,ta.jsxs)("button",{type:"button",onClick:()=>{f()},children:[(0,ta.jsx)(c1,{size:13}),a(r?"media.copied":"media.copyPath")]}),b&&p&&(0,ta.jsxs)("button",{type:"button",onClick:()=>{p.invoke("media:reveal",{token:b.token}).catch(h=>s(a("media.failed",{error:ib(h)})))},children:[(0,ta.jsx)(u1,{size:13}),a("media.reveal")]})]}),l&&(0,ta.jsx)("span",{role:"alert",children:l})]})]})]})}function Fk(e){let t=e.replace(/^file:(\/\/(localhost)?)?/i,"");try{return decodeURIComponent(t)}catch{return t}}function ib(e){let t=e?.message;return typeof t=="string"?t:String(e)}function cb(e){let t=!0,a=window.requestAnimationFrame.bind(window),n=window.cancelAnimationFrame.bind(window),o=window.setInterval.bind(window),r=new Map,i=l=>{let s=r.get(l);s&&(s.native=a(c=>{s.native=null,t&&(r.delete(l),s.callback(c))}))};window.requestAnimationFrame=l=>{let s=0,c=a(d=>{let u=r.get(s);u&&(u.native=null,t&&(r.delete(s),l(d)))});return s=c,r.set(s,{callback:l,native:t?c:null}),t||n(c),s},window.cancelAnimationFrame=l=>{let s=r.get(l);s?.native!==null&&s?.native!==void 0?n(s.native):n(l),r.delete(l)},window.setInterval=((l,s,...c)=>typeof l=="function"?o(()=>{t&&l.apply(window,c)},s):o(l,s,...c)),window.addEventListener("message",l=>{if(!(l.source!==window.parent||l.data?.channel!==e||l.data?.type!=="showai:activity"||typeof l.data.active!="boolean")&&t!==l.data.active){t=l.data.active;for(let[s,c]of r)!t&&c.native!==null?(n(c.native),c.native=null):t&&c.native===null&&i(s)}})}var Ga=rt("common",{"zh-CN":{cancel:"\u53D6\u6D88",close:"\u5173\u95ED",confirm:"\u786E\u8BA4",save:"\u4FDD\u5B58",delete:"\u5220\u9664",remove:"\u79FB\u9664",rename:"\u91CD\u547D\u540D",edit:"\u7F16\u8F91",done:"\u5B8C\u6210",retry:"\u91CD\u8BD5",open:"\u6253\u5F00",copy:"\u590D\u5236",copied:"\u5DF2\u590D\u5236",create:"\u521B\u5EFA",add:"\u6DFB\u52A0",back:"\u8FD4\u56DE",next:"\u4E0B\u4E00\u6B65",continue:"\u7EE7\u7EED",search:"\u641C\u7D22",loading:"\u6B63\u5728\u52A0\u8F7D\u2026",opening:"\u6B63\u5728\u6253\u5F00\u2026",reading:"\u6B63\u5728\u8BFB\u53D6\u2026",saving:"\u6B63\u5728\u4FDD\u5B58\u2026",saved:"\u5DF2\u4FDD\u5B58",untitled:"\u65E0\u6807\u9898",untitledPage:"\u672A\u547D\u540D\u9875\u9762",more:"\u66F4\u591A",options:"\u9009\u9879",settings:"\u8BBE\u7F6E",refresh:"\u5237\u65B0",import:"\u5BFC\u5165",export:"\u5BFC\u51FA",preview:"\u9884\u89C8",details:"\u8BE6\u60C5",unknownError:"\u672A\u77E5\u9519\u8BEF",lightAppearance:"\u6D45\u8272\u5916\u89C2",darkAppearance:"\u6DF1\u8272\u5916\u89C2",pageOptions:"\u9875\u9762\u9009\u9879",downloadSource:"\u4E0B\u8F7D\u6E90\u6587\u4EF6",print:"\u6253\u5370",dismissNotice:"\u5173\u95ED\u63D0\u793A"},en:{cancel:"Cancel",close:"Close",confirm:"Confirm",save:"Save",delete:"Delete",remove:"Remove",rename:"Rename",edit:"Edit",done:"Done",retry:"Retry",open:"Open",copy:"Copy",copied:"Copied",create:"Create",add:"Add",back:"Back",next:"Next",continue:"Continue",search:"Search",loading:"Loading\u2026",opening:"Opening\u2026",reading:"Reading\u2026",saving:"Saving\u2026",saved:"Saved",untitled:"Untitled",untitledPage:"Untitled page",more:"More",options:"Options",settings:"Settings",refresh:"Refresh",import:"Import",export:"Export",preview:"Preview",details:"Details",unknownError:"Unknown error",lightAppearance:"Light appearance",darkAppearance:"Dark appearance",pageOptions:"Page options",downloadSource:"Download source file",print:"Print",dismissNotice:"Dismiss notice"}});var db=Z(Me(),1),ys=(0,db.createContext)(null);var ub=Z(Me(),1),pb=(0,ub.createContext)(null);var Wt=Z(de(),1),H2=(0,Je.createContext)(new Map),j2=(0,Je.createContext)(null),fb=()=>(0,Je.useContext)(j2);function u4({components:e,children:t,inlineHost:a=null}){let n=(0,Je.useMemo)(()=>eb(e),[e]);return(0,Wt.jsx)(H2.Provider,{value:n,children:(0,Wt.jsx)(j2.Provider,{value:a,children:t})})}function vs(){let e=(0,Je.useContext)(H2);return(0,Je.useMemo)(()=>[...e.values()],[e])}function gb({components:e,children:t}){let a=(0,Je.useContext)(H2),n=(0,Je.useContext)(j2),o=(0,Je.useMemo)(()=>[...a.values(),...e],[a,e]);return(0,Wt.jsx)(u4,{components:o,inlineHost:n,children:t})}function Zi(e){return JSON.stringify(e).replace(/</g,"\\u003c").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function mb(e){if(!e||typeof e!="object"||Array.isArray(e))return!1;let t=(a,n=0)=>n>40?!1:a===null||typeof a=="boolean"||typeof a=="string"?!0:typeof a=="number"?Number.isFinite(a):Array.isArray(a)?a.every(o=>t(o,n+1)):!!a&&typeof a=="object"&&Object.getPrototypeOf(a)===Object.prototype&&Object.entries(a).every(([o,r])=>!["__proto__","constructor","prototype"].includes(o)&&t(r,n+1));return t(e)}function bb({data:e,onChange:t,readOnly:a}){let n=ai(e),o=(0,Je.useContext)(H2),r=(0,Je.useContext)(j2),i=tb(o,n),l=se(lo),s=`${n.componentId}@${n.version}`;return i&&r?(0,Wt.jsx)(O2,{component:i,data:n.props,host:r},i.integrity):i?(0,Wt.jsx)(Wk,{component:i,data:e,onChange:t,readOnly:a},i.integrity):(0,Wt.jsx)("section",{className:"sb-block sb-unavailable","aria-label":l("notInstalled"),children:(0,Wt.jsxs)("div",{style:{padding:18},children:[(0,Wt.jsx)("strong",{children:n.componentId}),(0,Wt.jsx)("p",{children:n.integrity?l("installRequiredIntegrity",{component:s,integrity:n.integrity.slice(7,19)}):l("installRequired",{component:s})})]})})}function Wk({component:e,data:t,onChange:a,readOnly:n}){let o=ai(t),r=(0,Je.useRef)(null),i=I2(),l=se(lo),s=se(Ga),c=gl(),d=(0,Je.useRef)(i),[u]=(0,Je.useState)(()=>crypto.randomUUID());z6(r,u);let[p,b]=(0,Je.useState)(180),[y,f]=(0,Je.useState)(""),[w,h]=(0,Je.useState)(!1),[m,v]=(0,Je.useState)(""),[T,x]=(0,Je.useState)(""),[E,P]=(0,Je.useState)(!1),U=(0,Je.useRef)(""),S=(0,Je.useRef)(null),k=(0,Je.useRef)(null),A=(0,Je.useContext)(ys),L=(0,Je.useRef)({data:t,parsed:o,onChange:a,readOnly:n,assistant:A}),C=(0,Je.useRef)({props:o.props,readOnly:!!n||!a});L.current={data:t,parsed:o,onChange:a,readOnly:n,assistant:A};let I=(0,Je.useContext)(pb),D=(0,Je.useRef)(I);D.current=I;let N=H=>D.current?.(H),_=(0,Je.useRef)(C.current.props),j=(0,Je.useRef)([]),F=()=>{let H=r.current?.closest("[data-block-id],[data-surface-id]");return H?.dataset.blockId??H?.dataset.surfaceId},q=!!a&&!n,J=()=>{k.current&&window.clearTimeout(k.current.timeout),k.current=null,P(!1)},V=()=>{J(),h(!1),requestAnimationFrame(()=>S.current?.focus())},pe=()=>{U.current=JSON.stringify(L.current.parsed.props),v(JSON.stringify(L.current.parsed.props,null,2)),x(""),h(!0)},G=()=>{let H;try{H=JSON.parse(m)}catch(fe){x(fe instanceof Error?fe.message:l("invalidJson"));return}if(!mb(H)){x(l("notJsonObject"));return}try{Cr(H,"Component instance data",xo.componentPropsBytes)}catch(fe){x(fe instanceof Error?fe.message:l("dataTooLarge"));return}if(JSON.stringify(L.current.parsed.props)!==U.current){x(l("dataChanged"));return}J(),x("");let M=crypto.randomUUID(),oe=window.setTimeout(()=>{k.current=null,P(!1),x(l("validationTimeout"))},5e3);k.current={id:M,props:H,timeout:oe},P(!0),r.current?.contentWindow?.postMessage({channel:u,type:"showai:validate",requestId:M,props:H},"*")},O=(0,Je.useMemo)(()=>`<!doctype html><meta http-equiv="Content-Security-Policy" content="${gs}">`+hs(e.html,`<style>body{color:var(--text)}</style><script>document.documentElement.lang=document.documentElement.dataset.showaiLocale=${Zi(c)};(${cb.toString()})(${Zi(u)});(${R2.toString()})(${Zi(u)},${Zi(d.current)},${Zi(bs())});<\/script><script id="showai-component-data" type="application/json">${Zi({channel:u,...C.current})}<\/script>`)+`<script>${k6(u)}(${yl.toString()})(document);(${ab.toString()})(${Zi(u)});<\/script>`,[e.html,u,c]),z=()=>{let H=L.current;j.current.push(H.parsed.props),j.current.length>64&&j.current.shift(),r.current?.contentWindow?.postMessage({channel:u,type:"showai:props",props:H.parsed.props,readOnly:!!H.readOnly||!H.onChange,context:!!H.assistant&&!!F()},"*")};return(0,Je.useEffect)(()=>{let H=r.current,M=()=>H?.contentWindow?.postMessage({channel:u,type:"showai:activity",active:!0},"*");return M(),H?.addEventListener("load",M),()=>{H?.removeEventListener("load",M),H?.contentWindow?.postMessage({channel:u,type:"showai:activity",active:!1},"*")}},[u]),(0,Je.useEffect)(()=>{let H=M=>{if(M.source!==r.current?.contentWindow||!M.data||M.data.channel!==u)return;if(M.data.type==="showai:ready"){_.current=C.current.props,j.current=[],z();let ue=F(),Se=ue?L.current.assistant?.pendingComponentContext(ue):void 0;Se&&r.current?.contentWindow?.postMessage({channel:u,type:"showai:context-restore",snapshot:Se},"*")}if(M.data.type==="showai:context"){let ue=M.data.snapshot,Se=F();if(!Se||P2(ue))return;L.current.assistant?.componentContext({...ue,blockId:Se,componentId:L.current.parsed.componentId,name:e.name});return}if(M.data.type==="showai:open-url"){let ue=new CustomEvent("showai:component-link",{bubbles:!0,cancelable:!0,detail:{url:M.data.url}});r.current?.dispatchEvent(ue)!==!1&&nb(M.data.url);return}if(M.data.type==="showai:open-media"){sb(M.data.url);return}if(M.data.type==="showai:height"&&typeof M.data.height=="number"&&Number.isFinite(M.data.height)&&b(Math.min(4e3,Math.max(48,Math.ceil(M.data.height)))),M.data.type==="showai:error"&&f(String(M.data.message||l("cannotDisplay")).slice(0,500)),M.data.type==="showai:valid"&&(f(""),_.current=j.current.shift()??_.current),["showai:viewport-lock-get","showai:viewport-lock-set"].includes(M.data.type)&&typeof M.data.scope=="string"&&/^[a-z0-9-]+:\d{1,4}$/.test(M.data.scope)){let ue=M.data.scope,Se=M6(r.current,ue),Re=!0,Pe="";try{M.data.type==="showai:viewport-lock-set"&&typeof M.data.locked=="boolean"&&A6(Se,M.data.locked),Re=N6(Se)}catch(Fe){Pe=l("viewportLockFailed",{error:String(Fe)})}r.current?.contentWindow?.postMessage({channel:u,type:"showai:viewport-lock-state",scope:ue,locked:Re,error:Pe},"*")}if(M.data.type==="showai:reading-wheel"&&[M.data.deltaX,M.data.deltaY,M.data.deltaMode].every(Number.isFinite)){let ue=r.current,Se=new WheelEvent("wheel",{bubbles:!0,cancelable:!0,deltaX:M.data.deltaX,deltaY:M.data.deltaY,deltaMode:M.data.deltaMode,ctrlKey:M.data.ctrlKey===!0,metaKey:M.data.metaKey===!0,shiftKey:M.data.shiftKey===!0});if(ue.dispatchEvent(Se)&&!Se.ctrlKey&&!Se.metaKey){let Re=Se.deltaY*(Se.deltaMode===1?16:Se.deltaMode===2?ue.clientHeight:1);for(let Pe=ue.parentElement;Pe&ℜPe=Pe.parentElement){if(!/auto|scroll/.test(getComputedStyle(Pe).overflowY))continue;let Fe=Pe.scrollTop;Pe.scrollTop+=Re,Re-=Pe.scrollTop-Fe}}}let oe=L.current,fe=k.current;if(M.data.type==="showai:validation"&&fe&&fe.id===M.data.requestId&&(J(),M.data.valid!==!0?x(String(M.data.message||l("invalidProps")).slice(0,1e3)):JSON.stringify(oe.parsed.props)!==U.current?x(l("dataChanged")):!oe.readOnly&&oe.onChange&&(N(oe.parsed.props),oe.onChange({...oe.data,props:fe.props}),V())),M.data.type==="showai:change"&&!oe.readOnly&&oe.onChange&&mb(M.data.props)){try{Cr(M.data.props,"Component instance data",xo.componentPropsBytes)}catch(ue){x(ue instanceof Error?ue.message:l("dataTooLarge"));return}N(_.current),_.current=M.data.props,oe.onChange({...oe.data,props:M.data.props})}};return window.addEventListener("message",H),()=>{window.removeEventListener("message",H),k.current&&window.clearTimeout(k.current.timeout)}},[u]),(0,Je.useEffect)(z,[o.props,n,q,u,!!A]),(0,Je.useEffect)(()=>{let H=()=>r.current?.contentWindow?.postMessage({channel:u,type:"showai:theme",theme:i,tokens:bs()},"*"),M=r.current;return M?.addEventListener("load",H),H(),()=>M?.removeEventListener("load",H)},[i,u]),(0,Wt.jsxs)("section",{className:"showai-custom-block","aria-label":e.name,style:{margin:"18px 0"},children:[q&&!w&&(0,Wt.jsx)("button",{ref:S,type:"button",className:"custom-props-trigger","aria-label":l("editData"),title:l("editData"),onClick:pe,children:(0,Wt.jsx)(kr,{size:15})}),q&&w&&(0,Wt.jsxs)("div",{className:"custom-props-editor",onKeyDown:H=>{H.key==="Escape"&&(H.stopPropagation(),V())},children:[(0,Wt.jsx)("label",{htmlFor:`${u}-props`,children:l("data")}),(0,Wt.jsx)("textarea",{id:`${u}-props`,"aria-label":l("propsJson"),value:m,spellCheck:!1,rows:Math.max(5,Math.min(14,m.split(`
|
|
24
|
+
`).length)),autoFocus:!0,onChange:H=>{v(H.target.value),x("")},disabled:E}),T&&(0,Wt.jsx)("p",{role:"alert",className:"custom-props-error",children:T}),(0,Wt.jsxs)("div",{className:"custom-props-actions",children:[(0,Wt.jsx)("button",{type:"button",onClick:V,children:s("cancel")}),(0,Wt.jsx)("button",{type:"button",disabled:E,onClick:G,children:l(E?"validating":"apply")})]})]}),!w&&T&&(0,Wt.jsx)("p",{role:"alert",className:"custom-props-error",children:T}),(0,Wt.jsx)("iframe",{ref:r,title:e.name,srcDoc:O,sandbox:"allow-scripts allow-forms allow-downloads",referrerPolicy:"no-referrer",onLoad:z,allow:"camera 'none'; microphone 'none'; geolocation 'none'; clipboard-read 'none'; clipboard-write 'none'",style:{width:"100%",height:p,border:0,display:"block",background:"transparent"}}),y&&(0,Wt.jsx)("p",{role:"alert",style:{color:"#ae3c3c",fontSize:12},children:y})]})}var jo=rt("pageOutline",{"zh-CN":{entryTitle:"\u663E\u793A\u540D\u79F0",entryTarget:"\u8DF3\u8F6C\u76EE\u6807",group:"\u65B0\u5206\u7EC4",missingTarget:"\u76EE\u6807\u5DF2\u5220\u9664",up:"\u4E0A\u79FB",down:"\u4E0B\u79FB",indent:"\u964D\u4F4E\u5C42\u7EA7",outdent:"\u63D0\u5347\u5C42\u7EA7",removeEntry:"\u79FB\u9664\u6761\u76EE",addEntry:"\u6DFB\u52A0\u76EE\u5F55\u6761\u76EE",title:"\u672C\u9875\u76EE\u5F55",settings:"\u76EE\u5F55\u8BBE\u7F6E",enable:"\u542F\u7528\u672C\u9875\u76EE\u5F55",expand:"\u5C55\u5F00\u76EE\u5F55",collapse:"\u6536\u8D77\u76EE\u5F55",pin:"\u56FA\u5B9A\u76EE\u5F55",unpin:"\u53D6\u6D88\u56FA\u5B9A",close:"\u5173\u95ED",apply:"\u5E94\u7528",renderer:"\u76EE\u5F55\u7EC4\u4EF6",builtin:"\u9605\u8BFB\u7D22\u5F15\uFF08\u5185\u7F6E\uFF09",loading:"\u6B63\u5728\u52A0\u8F7D\u76EE\u5F55\u7EC4\u4EF6\u2026",unavailable:"\u76EE\u5F55\u7EC4\u4EF6\u4E0D\u53EF\u7528\uFF0C\u5DF2\u663E\u793A\u57FA\u7840\u76EE\u5F55\u3002",empty:"\u6DFB\u52A0\u6B63\u6587\u6807\u9898\u6216\u76EE\u5F55\u6761\u76EE\u540E\u5373\u53EF\u5BFC\u822A\u3002",source:"\u76EE\u5F55\u5185\u5BB9",headings:"\u6B63\u6587\u6807\u9898",manual:"\u624B\u52A8\u76EE\u5F55",depth:"\u6536\u5F55\u6807\u9898\u6DF1\u5EA6",config:"\u7ED3\u6784\u914D\u7F6E\uFF08JSON\uFF09",props:"\u7EC4\u4EF6\u53C2\u6570\uFF08JSON\uFF09",initial:"\u521D\u59CB\u72B6\u6001",auto:"\u81EA\u52A8",expanded:"\u5C55\u5F00",collapsed:"\u6536\u8D77",placement:"\u76EE\u5F55\u4F4D\u7F6E",floating:"\u6D6E\u52A8",docked:"\u56FA\u5B9A\u4FA7\u680F",width:"\u76EE\u5F55\u5BBD\u5EA6\uFF08px\uFF09",missing:"\u6709 {count} \u4E2A\u76EE\u6807\u5DF2\u5931\u6548\uFF0C\u8BF7\u4FEE\u6539\u624B\u52A8\u76EE\u5F55\u3002",remove:"\u79FB\u9664\u76EE\u5F55\u914D\u7F6E",invalidJson:"\u8BF7\u8F93\u5165\u6709\u6548\u7684 JSON\u3002",errorChanged:"\u9875\u9762\u76EE\u5F55\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u91CD\u65B0\u6253\u5F00\u8BBE\u7F6E\u3002",rendererChanged:"\u8BF7\u5148\u5E94\u7528\u5F53\u524D\u7EC4\u4EF6\u9009\u62E9\uFF0C\u518D\u4FEE\u6539\u7EC4\u4EF6\u53C2\u6570\u3002",manualHint:"\u6761\u76EE\u4F7F\u7528 id\u3001title\u3001nodeId\u3001children\uFF1B\u5206\u7EC4\u53EF\u7701\u7565 nodeId\u3002",headingsHint:"\u4EE5\u6807\u9898\u8282\u70B9 ID \u4E3A\u952E\u8BBE\u7F6E title \u6216 hidden\u3002",sourceCode:"\u76EE\u5F55\u7EC4\u4EF6\u53EF\u5728\u7EC4\u4EF6\u5E93\u7684\u201C\u9875\u9762\u76EE\u5F55\u201D\u5206\u7C7B\u4E2D\u7F16\u8F91\u3002",rendererError:"\u76EE\u5F55\u7EC4\u4EF6\uFF1A{error}",errorMissingTarget:"\u76EE\u6807\u4E0D\u5B58\u5728\u6216\u4E0D\u5C5E\u4E8E\u5F53\u524D Page\u3002"},en:{entryTitle:"Display title",entryTarget:"Navigation target",group:"New group",missingTarget:"Target removed",up:"Move up",down:"Move down",indent:"Indent",outdent:"Outdent",removeEntry:"Remove entry",addEntry:"Add outline entry",title:"On this page",settings:"Outline settings",enable:"Enable page outline",expand:"Expand outline",collapse:"Collapse outline",pin:"Pin outline",unpin:"Unpin outline",close:"Close",apply:"Apply",renderer:"Outline component",builtin:"Reading index (built in)",loading:"Loading outline component\u2026",unavailable:"Outline component unavailable. Showing the basic outline.",empty:"Add headings or outline entries to start navigating.",source:"Outline content",headings:"Page headings",manual:"Manual outline",depth:"Heading depth",config:"Structure configuration (JSON)",props:"Component parameters (JSON)",initial:"Initial state",auto:"Automatic",expanded:"Expanded",collapsed:"Collapsed",placement:"Placement",floating:"Floating",docked:"Docked sidebar",width:"Outline width (px)",missing:"{count} targets are unavailable. Update the manual outline.",remove:"Remove outline configuration",invalidJson:"Enter valid JSON.",errorChanged:"The outline has changed. Reopen settings.",rendererChanged:"Apply the component selection before editing its parameters.",manualHint:"Entries use id, title, nodeId and children. Groups may omit nodeId.",headingsHint:"Use heading node IDs as keys with title or hidden overrides.",sourceCode:"Edit outline components in the Page outlines category of the component library.",rendererError:"Outline component: {error}",errorMissingTarget:"Target is missing or outside this Page."}});var Jn=Z(Me(),1);var Fc=Z(de(),1),qc=e=>JSON.stringify(e).replace(/</g,"\\u003c").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029");function hb({component:e,contract:t,onError:a}){let n=fb();return(0,Fc.jsx)(p4,{onError:a,children:n?(0,Fc.jsx)(O2,{component:e,data:t.props,outline:t,host:n,onError:a}):(0,Fc.jsx)(Kk,{component:e,contract:t,onError:a})})}var p4=class extends Jn.Component{state={failed:!1};static getDerivedStateFromError(){return{failed:!0}}componentDidCatch(t){this.props.onError(String(t?.message??t??"Outline renderer failed.").slice(0,500))}render(){return this.state.failed?null:this.props.children}};function Kk({component:e,contract:t,onError:a}){let n=(0,Jn.useRef)(null),[o]=(0,Jn.useState)(()=>crypto.randomUUID()),r=(0,Jn.useRef)({contract:t,onError:a});r.current={contract:t,onError:a};let i=(0,Jn.useMemo)(()=>`<!doctype html><meta http-equiv="Content-Security-Policy" content="${gs}">`+hs(e.html,`<script>(${R2.toString()})(${qc(o)},${qc(t.outline.theme)},${qc(bs())});window.addEventListener('keydown',event=>{if(event.key==='Escape'){event.preventDefault();parent.postMessage({channel:${qc(o)},type:'showai:outline-action',action:'collapse'},'*');}},true);<\/script><script id="showai-component-data" type="application/json">${qc({channel:o,props:t.props,readOnly:!0,outline:t.outline})}<\/script>`),[e.html,o]),l=()=>{let s=r.current.contract;n.current?.contentWindow?.postMessage({channel:o,type:"showai:props",props:s.props,readOnly:!0},"*"),n.current?.contentWindow?.postMessage({channel:o,type:"showai:outline",outline:s.outline},"*"),n.current?.contentWindow?.postMessage({channel:o,type:"showai:theme",theme:s.outline.theme,tokens:bs()},"*")};return(0,Jn.useEffect)(()=>{let s=window.setTimeout(()=>r.current.onError("Outline component did not become ready."),8e3),c=d=>{if(d.source!==n.current?.contentWindow||d.data?.channel!==o)return;let u=d.data,p=r.current.contract;u.type==="showai:ready"&&(clearTimeout(s),l()),u.type==="showai:error"&&r.current.onError(String(u.message).slice(0,500)),u.type==="showai:outline-action"&&(u.action==="collapse"&&p.collapse(),u.action==="navigate"&&typeof u.itemId=="string"&&p.navigate(u.itemId),u.action==="branch"&&typeof u.itemId=="string"&&typeof u.expanded=="boolean"&&p.setBranchExpanded(u.itemId,u.expanded))};return window.addEventListener("message",c),()=>{clearTimeout(s),window.removeEventListener("message",c)}},[o]),(0,Jn.useEffect)(l,[t,o]),(0,Fc.jsx)("iframe",{ref:n,className:"page-outline-frame",title:e.name,sandbox:"allow-scripts",srcDoc:i,onLoad:l})}mt(`.page-outline-shell{position:relative;height:100%;min-height:0}.page-outline-shell[data-outline-docked=true]>.container-page{width:calc(100% - var(--page-outline-width) - 24px)}.page-outline-panel{position:absolute;inset:var(--page-outline-top, 16px) 12px 16px auto;z-index:35;display:flex;flex-direction:column;max-width:calc(100% - 24px);border-radius:9px;background:var(--paper, var(--bg));color:var(--text);overflow:hidden}.page-outline-panel[hidden],.page-outline-rail[hidden]{display:none}.page-outline-panel[data-placement=floating],.page-outline-panel[data-placement=drawer]{border:1px solid var(--line);box-shadow:0 8px 32px #00000020}.page-outline-panel[data-placement=docked]{border-left:1px solid var(--line);border-radius:0}.page-outline-panel>header{display:flex;align-items:center;gap:3px;flex-shrink:0;padding:9px 8px 12px}.page-outline-panel>header strong{flex:1;min-width:0;font-size:12px;font-weight:600}.page-outline-panel>header button{background:transparent;border:0;border-radius:5px;padding:6px;color:var(--muted);display:flex;cursor:pointer}.page-outline-panel>header button:hover{background:var(--hover);color:var(--text)}.page-outline-panel>header button[aria-pressed=true]{color:var(--accent);background:var(--hover)}.page-outline-content{flex:1;min-height:0;overflow:auto;padding:0 10px 14px;scrollbar-width:thin}.page-outline-content ol{list-style:none;margin:0;padding:0}.page-outline-content ol ol{margin-left:15px}.page-outline-row{display:flex;align-items:baseline;gap:3px}.page-outline-item{text-align:left;min-width:0;overflow-wrap:anywhere;flex:1;padding:7px 6px;font-size:12px!important;line-height:1.6;border:0;background:transparent;color:var(--muted);border-radius:5px;cursor:pointer}.page-outline-item:hover{background:var(--hover);color:var(--text)}.page-outline-item[aria-current=location]{color:var(--accent);background:var(--hover);font-weight:600}.page-outline-branch{padding:6px 0;flex-shrink:0;border:0;background:transparent;color:var(--muted);cursor:pointer}.page-outline-branch[aria-expanded=true] svg{transform:rotate(90deg)}.page-outline-rail{position:absolute;right:12px;top:var(--page-outline-top, 20px);z-index:35;display:flex;flex-direction:column;align-items:center;gap:9px;border:1px solid var(--line);background:var(--paper, var(--bg));color:var(--muted);padding:10px 8px;border-radius:8px;cursor:pointer}.page-outline-rail span{writing-mode:vertical-rl;font-size:11px;letter-spacing:2px}.page-outline-backdrop{position:absolute;inset:0;z-index:34;border:0;padding:0;background:#00000020}.page-outline-frame{display:block;width:100%;height:100%;min-height:150px;border:0;background:transparent}.page-outline-content:has(>.page-outline-frame){overflow:hidden;padding:0}.page-outline-empty,.page-outline-error{font-size:12px;color:var(--muted);padding:8px;line-height:1.7;overflow-wrap:anywhere}.page-outline-error span{display:block}.page-outline-settings{max-width:560px}.page-outline-settings-body{padding:4px 22px 22px;overflow:auto}.page-outline-settings-body label{display:flex;flex-direction:column;gap:7px;font-size:12px;margin:14px 0}.page-outline-settings-body label.page-outline-enable{flex-direction:row;align-items:center;font-size:14px}.page-outline-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.page-outline-settings-body select,.page-outline-settings-body input[type=number],.page-outline-settings-body textarea{width:100%;padding:8px;border:1px solid var(--line);border-radius:6px;background:var(--paper, var(--bg));color:var(--text);font:inherit}.page-outline-settings-body textarea{resize:vertical;font-family:var(--font-mono, monospace)}.page-outline-settings-body details{font-size:12px;margin-top:12px}.page-outline-hint{font-size:12px;color:var(--muted);line-height:1.7;margin:8px 0}.page-outline-settings-body footer{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.page-outline-settings-body footer button{border:1px solid var(--line);background:var(--paper, var(--bg));color:var(--text);border-radius:6px;padding:8px 12px;cursor:pointer}.page-outline-settings-body footer .page-outline-apply{background:var(--accent);color:var(--paper, var(--bg))}@media(pointer:coarse){.page-outline-panel>header button,.page-outline-branch,.page-outline-item{min-height:44px}.page-outline-branch{min-width:28px}}@media print{.page-outline-rail,.page-outline-backdrop,.page-outline-panel{display:none!important}.page-outline-shell,.page-outline-shell>.container-page{display:contents}}.portable-app>.container-workspace>.container-main>.page-outline-shell{--page-outline-top: 68px}.outline-manual-editor ol{list-style:none;margin:0;padding:0}.outline-manual-editor ol ol{margin-left:18px;border-left:1px solid var(--line);padding-left:9px}.outline-manual-row{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:8px 0}.outline-manual-row input{min-width:0;width:100%;padding:7px;background:var(--paper);border:1px solid var(--line);border-radius:5px;color:var(--text);font:inherit}.outline-manual-row select{min-width:0}.outline-manual-actions{display:flex;grid-column:1/-1;justify-content:flex-end}.outline-manual-actions button,.outline-manual-add{display:inline-flex;gap:6px;align-items:center;border:0;background:transparent;color:var(--muted);padding:6px;cursor:pointer}.outline-manual-actions button:hover,.outline-manual-add:hover{background:var(--hover)}.outline-manual-actions button:disabled{opacity:.35;cursor:default}.page-outline-print{display:none}@media print{.page-outline-print{display:block;margin:20px 0 30px;break-inside:avoid}.page-outline-print ol{list-style:decimal;margin-left:20px;padding-left:10px}}.page-outline-content[data-custom=true]{padding:0;overflow:hidden}.page-outline-content[data-custom=true]>section{height:100%;margin:0!important;overflow:auto}.outline-manual-editor{max-height:360px;overflow:auto;margin:12px 0}
|
|
25
|
+
`);var ot=Z(de(),1);function Yk({outline:e,navigate:t,setBranchExpanded:a}){let n=se(jo),o=new Set(e.expandedItemIds),r=i=>(0,ot.jsx)("ol",{children:i.map(l=>(0,ot.jsxs)("li",{children:[(0,ot.jsxs)("div",{className:"page-outline-row",children:[l.children.length>0&&(0,ot.jsx)("button",{type:"button",className:"page-outline-branch","aria-expanded":o.has(l.id),"aria-label":`${o.has(l.id)?n("collapse"):n("expand")} ${l.title}`,onClick:()=>a(l.id,!o.has(l.id)),children:(0,ot.jsx)(nn,{size:12})}),l.navigable?(0,ot.jsx)("button",{type:"button",className:"page-outline-item","aria-current":e.activeItemId===l.id?"location":void 0,onClick:()=>t(l.id),children:l.title}):(0,ot.jsx)("span",{className:"page-outline-item",children:l.title})]}),l.children.length>0&&o.has(l.id)&&r(l.children)]},l.id))});return e.items.length?(0,ot.jsx)("nav",{"aria-label":n("title"),children:r(e.items)}):(0,ot.jsx)("p",{className:"page-outline-empty",children:n("empty")})}function yb(e){let t=e.page.attrs?.outline;return t?.enabled?(0,ot.jsx)(Jk,{...e,config:t},e.page.attrs.id):null}function Jk({page:e,documentId:t,scroll:a,shell:n,view:o,onSettings:r,config:i}){let l=se(jo),s=I2(),c=gl(),d=vs(),u=(0,Kt.useMemo)(()=>cl(e,i),[e,i]),p=(0,Kt.useMemo)(()=>Nm(u.items),[u]),[,b]=(0,Kt.useState)(0),[y,f]=(0,Kt.useState)("floating"),[w,h]=(0,Kt.useState)({width:i.width,height:400}),[m,v]=(0,Kt.useState)(null),T=JSON.stringify(i.renderer??null),[x,E]=(0,Kt.useState)(null),P=x?.key===T?x.message:"",U=(0,Kt.useCallback)(V=>E({key:T,message:V}),[T]),S=(0,Kt.useRef)(null),k=(0,Kt.useRef)(null),A=i.initialState==="auto"?void 0:i.initialState==="expanded",L=o.pinned??i.placement==="docked",C=o.expanded??A??(y==="margin"||y==="docked"),I=(0,Kt.useRef)({placement:y,expanded:C});I.current={placement:y,expanded:C};let D=(0,Kt.useCallback)(()=>b(V=>V+1),[]),N=(0,Kt.useCallback)(()=>{o.expanded=!1,D(),requestAnimationFrame(()=>S.current?.focus())},[o,D]);(0,Kt.useEffect)(()=>{let V=n.current,pe=a.current;if(!V||!pe)return;let G=pe.querySelector(":scope > .container-page-column"),O=()=>{let H=V.getBoundingClientRect();if(!H.width)return;let M=G?.getBoundingClientRect(),oe=Math.min(i.width,Math.max(180,H.width-24)),fe=Am({width:H.width,gutter:M?H.right-M.right:0,panelWidth:oe,widthMode:e.attrs?.widthMode??"standard",preferred:o.pinned===!1&&i.placement==="docked"?"auto":i.placement,pinned:o.pinned,previous:I.current.placement});I.current.placement!==fe&&I.current.expanded&&o.expanded===void 0&&(o.expanded=!0);let ue=Math.max(100,H.height-(Number.parseFloat(getComputedStyle(V).getPropertyValue("--page-outline-top"))||16)-16);f(fe),h(Se=>Se.width===oe&&Se.height===ue?Se:{width:oe,height:ue})};O();let z=new ResizeObserver(O);return z.observe(V),z.observe(pe),G&&z.observe(G),()=>z.disconnect()},[i.width,i.placement,e.attrs?.widthMode,o.pinned,n,a]),(0,Kt.useEffect)(()=>{let V=n.current;if(!V)return;V.dataset.outlineDocked=String(C&&y==="docked"),V.style.setProperty("--page-outline-width",`${w.width}px`);let pe=a.current;return pe&&(pe.inert=C&&y==="drawer"),()=>{delete V.dataset.outlineDocked,V.style.removeProperty("--page-outline-width"),pe&&(pe.inert=!1)}},[C,y,w.width,n,a]);let _=(0,Kt.useCallback)(V=>{let pe=a.current;return[...pe?.querySelectorAll(`[data-block-id="${CSS.escape(V)}"],[data-surface-id="${CSS.escape(V)}"]`)??[]].find(G=>G.closest(".container-page")===pe)},[a]),j=(0,Kt.useCallback)(V=>{let pe=u.targets.get(V);if(!pe)return;let G=_(pe),O=a.current;if(!(!G||!O)){for(let z=G.parentElement;z&&z!==O;z=z.parentElement)z instanceof HTMLDetailsElement&&(z.open=!0);O.scrollTo({top:O.scrollTop+G.getBoundingClientRect().top-O.getBoundingClientRect().top-24,behavior:matchMedia("(prefers-reduced-motion: reduce)").matches?"instant":"smooth"}),v(V),y==="drawer"&&N()}},[u,_,a,y,N]);(0,Kt.useEffect)(()=>{let V=a.current;if(!V)return;let pe=0,G=()=>{cancelAnimationFrame(pe),pe=requestAnimationFrame(()=>{let H=V.getBoundingClientRect().top+72,M=null;for(let oe of p){let fe=u.targets.get(oe.id),ue=fe?_(fe):void 0;ue&&ue.getClientRects().length&&ue.getBoundingClientRect().top<=H&&(M=oe.id)}v(M)})};G(),V.addEventListener("scroll",G,{passive:!0});let O=new ResizeObserver(G);O.observe(V);let z=V.firstElementChild;return z&&O.observe(z),()=>{cancelAnimationFrame(pe),V.removeEventListener("scroll",G),O.disconnect()}},[u,p,_,a]),(0,Kt.useEffect)(()=>{if(!C)return;let V=O=>{O.key==="Escape"&&(O.stopPropagation(),N())},pe=O=>{y==="floating"&&O.target instanceof Node&&n.current?.contains(O.target)&&!k.current?.contains(O.target)&&!S.current?.contains(O.target)&&N()},G=O=>{y==="drawer"&&O.target instanceof Node&&!k.current?.contains(O.target)&&!(O.target instanceof Element&&O.target.closest(".studio-modal-shade"))&&k.current?.querySelector("button")?.focus()};return n.current?.addEventListener("keydown",V),window.addEventListener("pointerdown",pe),document.addEventListener("focusin",G),()=>{n.current?.removeEventListener("keydown",V),window.removeEventListener("pointerdown",pe),document.removeEventListener("focusin",G)}},[C,y,N,n]);let F=i.renderer?d.find(V=>V.id===i.renderer.componentId&&V.version===i.renderer.version&&V.integrity===i.renderer.integrity&&V.role==="page-outline"&&V.pageOutlineProtocol===1):void 0,q={props:i.renderer?.props??{},outline:{protocol:1,pageId:e.attrs.id,items:u.items,activeItemId:m,expandedItemIds:o.branches??p.filter(V=>V.children.length).map(V=>V.id),container:{placement:y,width:w.width,height:Math.max(80,w.height-52)},theme:s,locale:c},navigate:j,setBranchExpanded:(V,pe)=>{if(!p.some(O=>O.id===V&&O.children.length))return;let G=new Set(o.branches??p.filter(O=>O.children.length).map(O=>O.id));pe?G.add(V):G.delete(V),o.branches=[...G],D()},collapse:N},J=()=>{o.expanded=!0,D(),requestAnimationFrame(()=>k.current?.querySelector("button")?.focus())};return(0,ot.jsxs)(ot.Fragment,{children:[C&&y==="drawer"&&(0,ot.jsx)("button",{type:"button",className:"page-outline-backdrop","aria-label":l("collapse"),onClick:N}),(0,ot.jsxs)("button",{ref:S,type:"button",className:"page-outline-rail","data-surface-ui":!0,"aria-label":l(C?"collapse":"expand"),"aria-expanded":C,onClick:C?N:J,hidden:C,children:[(0,ot.jsx)(Y5,{size:16}),(0,ot.jsx)("span",{children:l("title")})]}),(0,ot.jsxs)("aside",{ref:k,className:"page-outline-panel","data-placement":y,"data-outline-page":e.attrs.id,"data-resource-id":t,hidden:!C,"data-surface-ui":!0,role:y==="drawer"?"dialog":void 0,"aria-modal":y==="drawer"?!0:void 0,"aria-label":l("title"),style:{width:w.width},children:[(0,ot.jsxs)("header",{children:[(0,ot.jsx)("strong",{children:l("title")}),r&&(0,ot.jsx)("button",{type:"button","aria-label":l("settings"),onClick:r,children:(0,ot.jsx)(kr,{size:14})}),y!=="drawer"&&(0,ot.jsx)("button",{type:"button","aria-label":l(L?"unpin":"pin"),"aria-pressed":L,onClick:()=>{o.pinned=!L,o.expanded=!0,D()},children:L?(0,ot.jsx)(am,{size:14}):(0,ot.jsx)(g1,{size:14})}),(0,ot.jsx)("button",{type:"button","aria-label":l("collapse"),onClick:N,children:(0,ot.jsx)(Ja,{size:14})})]}),(0,ot.jsxs)("div",{className:"page-outline-content","data-custom":F&&!P?!0:void 0,children:[i.renderer&&(!F||P)&&(0,ot.jsxs)("p",{className:"page-outline-error",role:"status",children:[l("unavailable"),P&&(0,ot.jsx)("span",{children:P})]}),F&&!P?(0,ot.jsx)(hb,{component:F,contract:q,onError:U},F.integrity):(0,ot.jsx)(Yk,{...q})]})]})]})}function vb({page:e}){let t=se(jo);if(!e.attrs?.outline?.enabled||e.attrs.kind!=="page")return null;let a=cl(e),n=o=>(0,ot.jsx)("ol",{children:o.map(r=>(0,ot.jsxs)("li",{children:[a.targets.has(r.id)?(0,ot.jsx)("a",{href:`#${a.targets.get(r.id)}`,children:r.title}):r.title,r.children.length>0&&n(r.children)]},r.id))});return(0,ot.jsxs)("nav",{className:"page-outline-print","aria-label":t("title"),children:[(0,ot.jsx)("h2",{children:t("title")}),n(a.items)]})}var qa=Z(de(),1);function xb({page:e,entries:t,onChange:a}){let n=se(jo),o=s=>s.text??s.content?.map(o).join("")??s.attrs?.name??s.type??"",r=[...Dm(e)].filter(([,s])=>s.type!=="text").map(([s,c])=>({id:s,label:(o(c)||c.attrs?.name||c.type).slice(0,100)})),i=(s,c)=>{let d=structuredClone(t),u=(p,b)=>{let y=p.findIndex(f=>f.id===s);if(y>=0){if(typeof c=="object")Object.assign(p[y],c);else if(c==="remove")p.splice(y,1);else if(c==="up"&&y>0)[p[y-1],p[y]]=[p[y],p[y-1]];else if(c==="down"&&y<p.length-1)[p[y+1],p[y]]=[p[y],p[y+1]];else if(c==="indent"&&y>0){let f=p.splice(y,1)[0];(p[y-1].children??=[]).push(f)}else c==="outdent"&&b&&b.siblings.splice(b.index+1,0,p.splice(y,1)[0]);return!0}return p.some((f,w)=>f.children&&u(f.children,{siblings:p,index:w}))};u(d),a(d)},l=(s,c=0)=>(0,qa.jsx)("ol",{children:s.map((d,u)=>(0,qa.jsxs)("li",{children:[(0,qa.jsxs)("div",{className:"outline-manual-row",children:[(0,qa.jsx)("input",{"aria-label":n("entryTitle"),value:d.title??"",placeholder:r.find(p=>p.id===d.nodeId)?.label??n("group"),onChange:p=>i(d.id,{title:p.target.value||void 0})}),(0,qa.jsxs)("select",{"aria-label":n("entryTarget"),value:d.nodeId??"",onChange:p=>i(d.id,{nodeId:p.target.value||void 0,...!p.target.value&&!d.title?{title:n("group")}:{}}),children:[(0,qa.jsx)("option",{value:"",children:n("group")}),d.nodeId&&!r.some(p=>p.id===d.nodeId)&&(0,qa.jsx)("option",{value:d.nodeId,children:n("missingTarget")}),r.map(p=>(0,qa.jsx)("option",{value:p.id,children:p.label},p.id))]}),(0,qa.jsx)("div",{className:"outline-manual-actions",children:[["up",vr,u===0],["down",al,u===s.length-1],["indent",nn,u===0||c>=23],["outdent",xr,c===0],["remove",Qt,!1]].map(([p,b,y])=>(0,qa.jsx)("button",{type:"button","aria-label":n(p==="remove"?"removeEntry":p),disabled:y,onClick:()=>i(d.id,p),children:(0,qa.jsx)(b,{size:13})},p))})]}),d.children?.length?l(d.children,c+1):null]},d.id))});return(0,qa.jsxs)("div",{className:"outline-manual-editor",children:[l(t),(0,qa.jsxs)("button",{type:"button",className:"outline-manual-add",onClick:()=>a([...t,{id:crypto.randomUUID(),title:n("group")}]),children:[(0,qa.jsx)(Pt,{size:14}),n("addEntry")]})]})}var tn=Z(Me(),1);var Kc=Z(Me(),1);var Wc=rt("studio",{"zh-CN":{"scope.builtin":"\u5185\u7F6E","scope.global":"\u5168\u5C40","scope.published":"\u5DF2\u53D1\u5E03","scope.project":"\u9879\u76EE",selectPages:"\u9009\u62E9\u9875\u9762",selectPage:"\u9009\u62E9\u300C{title}\u300D",selectedPages:"\u5DF2\u9009 {count} \u4E2A\u9875\u9762",selectAllPages:"\u5168\u9009\u9875\u9762",finishPageSelection:"\u5B8C\u6210\u9009\u62E9",pageSelectionActions:"\u9875\u9762\u6279\u91CF\u64CD\u4F5C",movePages:"\u79FB\u52A8\u9875\u9762",deletePages:"\u5220\u9664\u9875\u9762",deletePagesConfirm:"\u5220\u9664\u9009\u4E2D\u7684 {count} \u4E2A\u9875\u9762\uFF1F",movePagesDescription:"\u5C06\u9009\u4E2D\u7684 {count} \u4E2A\u9875\u9762\u79FB\u52A8\u5230\uFF1A",targetProject:"\u76EE\u6807\u9879\u76EE",targetFolder:"\u76EE\u6807\u6587\u4EF6\u5939",projectRoot:"\u9879\u76EE\u6839\u76EE\u5F55",pagesMoved:"\u5DF2\u79FB\u52A8 {count} \u4E2A\u9875\u9762",pagesDeleted:"\u5DF2\u5220\u9664 {count} \u4E2A\u9875\u9762",batchPageFailed:"\u5DF2\u5B8C\u6210 {completed} \u4E2A\u9875\u9762\uFF0C\u5269\u4F59 {remaining} \u4E2A\u9875\u9762\u672A\u5B8C\u6210\uFF1A{error}",folderMissing:"\u8FD9\u4E2A\u6587\u4EF6\u5939\u5DF2\u4E0D\u5B58\u5728\u3002",directoryView:"\u89C6\u56FE",libraryUndo:"\u64A4\u9500\u76EE\u5F55\u79FB\u52A8",libraryRedo:"\u91CD\u505A\u76EE\u5F55\u79FB\u52A8","view.list":"\u5217\u8868","view.small":"\u7F29\u7565\u56FE\uFF08\u5C0F\uFF09","view.medium":"\u7F29\u7565\u56FE\uFF08\u4E2D\uFF09","view.large":"\u7F29\u7565\u56FE\uFF08\u5927\uFF09",pageImported:"\u9875\u9762\u5DF2\u5BFC\u5165",pageExported:"\u9875\u9762\u5DF2\u5BFC\u51FA",siteExportedRemote:"\u7F51\u7AD9\u5DF2\u5BFC\u51FA\uFF0C\u7EC4\u4EF6\u6309\u56FA\u5B9A\u53D1\u5E03\u7248\u672C\u8054\u7F51\u52A0\u8F7D",siteExportedBundled:"\u7F51\u7AD9\u5DF2\u5BFC\u51FA\uFF0C\u53EF\u90E8\u7F72\u5230\u9759\u6001\u6258\u7BA1","create.folder":"\u6587\u4EF6\u5939","create.page":"\u9875\u9762","create.board":"\u767D\u677F","sort.name":"\u6309\u540D\u79F0\u6392\u5E8F","sort.createdAt":"\u6309\u521B\u5EFA\u65E5\u671F\u6392\u5E8F","sort.updatedAt":"\u6309\u7F16\u8F91\u65E5\u671F\u6392\u5E8F","sort.manual":"\u624B\u52A8\u987A\u5E8F",moved:"\u5DF2\u8C03\u6574\u4F4D\u7F6E",moveProjectUp:"\u9879\u76EE\u4E0A\u79FB",moveProjectDown:"\u9879\u76EE\u4E0B\u79FB",deleted:"\u5DF2\u5220\u9664",openPageFirst:"\u5148\u6253\u5F00\u4E00\u4E2A\u9875\u9762\uFF0C\u518D\u63D2\u5165\u7EC4\u4EF6","heading.recent":"\u6700\u8FD1","heading.project":"\u9879\u76EE","heading.templates":"\u6A21\u677F","heading.components":"\u7EC4\u4EF6","heading.settings":"\u8BBE\u7F6E",resolveDraftFirst:"\u8BF7\u5148\u4FDD\u5B58\u6216\u5904\u7406\u5F53\u524D\u9875\u9762\u7684\u8349\u7A3F\u3002",noComponentVersion:"\u8FD9\u4E2A\u7ED3\u679C\u6CA1\u6709\u53EF\u6253\u5F00\u7684\u7EC4\u4EF6\u7248\u672C\u3002",noTemplateVersion:"\u8FD9\u4E2A\u7ED3\u679C\u6CA1\u6709\u53EF\u6253\u5F00\u7684\u6A21\u677F\u7248\u672C\u3002",backToRecent:"\u8FD4\u56DE\u6700\u8FD1",updatingProjects:"\u6B63\u5728\u66F4\u65B0\u9879\u76EE\u5217\u8868\u2026",pageTitle:"\u9875\u9762\u6807\u9898",componentSource:"\u7EC4\u4EF6\u6765\u6E90","filter.all":"\u5168\u90E8","filter.builtin":"\u5185\u7F6E","filter.custom":"\u81EA\u5B9A\u4E49",addContent:"\u6DFB\u52A0\u5185\u5BB9",addContentHint:"\u6DFB\u52A0\u6587\u4EF6\u5939\u3001\u9875\u9762\u6216\u767D\u677F",catalogProjectLabel:"\u9879\u76EE",catalogProject:"\u76EE\u5F55\u9879\u76EE",chooseProject:"\u9009\u62E9\u9879\u76EE",catalogScopeLabel:"\u8303\u56F4",catalogScope:"\u76EE\u5F55\u8303\u56F4",showAllVersions:"\u663E\u793A\u6240\u6709\u7248\u672C",searchComponents:"\u641C\u7D22\u7EC4\u4EF6",searchTemplates:"\u641C\u7D22\u6A21\u677F",viewExternalChanges:"\u67E5\u770B\u5916\u90E8\u6587\u4EF6\u4FEE\u6539",searchRecentPages:"\u641C\u7D22\u6700\u8FD1\u9875\u9762",searchPages:"\u641C\u7D22\u9875\u9762",searchLibrary:"\u641C\u7D22\u5185\u5BB9\u5E93",searchScope:"\u641C\u7D22\u8303\u56F4","searchScope.recent":"\u6700\u8FD1\u9875\u9762","searchScope.project":"\u5F53\u524D\u9879\u76EE\u9875\u9762","searchScope.library":"\u6574\u4E2A\u5185\u5BB9\u5E93",newProject:"\u65B0\u5EFA\u9879\u76EE",revealProjectFolder:"\u6253\u5F00\u9879\u76EE\u76EE\u5F55",exportSite:"\u5BFC\u51FA\u7F51\u7AD9",folderActions:"\u5F53\u524D\u76EE\u5F55\u64CD\u4F5C",componentProjectLabel:"\u9879\u76EE\uFF1A",allProjects:"\u5168\u90E8\u9879\u76EE",revealPageFile:"\u663E\u793A\u9875\u9762\u6587\u4EF6",exportPage:"\u5BFC\u51FA\u9875\u9762",pageActions:"\u9875\u9762\u64CD\u4F5C",dismissError:"\u5173\u95ED\u9519\u8BEF\u63D0\u793A",backgroundSaveIssue:"\u5176\u4ED6\u9875\u9762\u7684\u540E\u53F0\u4FDD\u5B58\u9700\u8981\u5904\u7406\uFF0C\u8349\u7A3F\u5DF2\u4FDD\u7559\u3002",viewIssue:"\u67E5\u770B \xB7 {title}",retainedSyncConflict:"\u8DE8\u8BBE\u5907\u4FEE\u6539\u672A\u80FD\u5408\u5E76\uFF0C\u4E24\u4EFD\u5185\u5BB9\u53CA\u6765\u6E90\u8BB0\u5F55\u5747\u5DF2\u4FDD\u7559\u3002",viewOtherVariant:"\u67E5\u770B\u53E6\u4E00\u4EFD \xB7 {account} \xB7 \u8BBE\u5907 {device}",saveConflictTitle:"\u4FDD\u5B58\u5931\u8D25\uFF1A\u6587\u4EF6\u6709\u65B0\u7684\u4FEE\u6539",saveProblemTitle:"\u4FDD\u5B58\u9047\u5230\u95EE\u9898",draftKeptAsCopy:"\u8349\u7A3F\u5DF2\u4FDD\u7559\u4E3A\u526F\u672C",keepAsCopy:"\u4FDD\u7559\u4E3A\u526F\u672C",saveAgain:"\u91CD\u65B0\u4FDD\u5B58",resolveExternal:"\u5904\u7406\u5916\u90E8\u4FEE\u6539",compareAndMerge:"\u6BD4\u8F83\u5E76\u5408\u5E76",discardAndLoad:"\u653E\u5F03\u4FEE\u6539\uFF0C\u8F7D\u5165\u5F53\u524D\u6587\u4EF6",retrySave:"\u91CD\u8BD5\u4FDD\u5B58",draftsAvailable:"\u6709\u5176\u4ED6\u7F16\u8F91\u7A97\u53E3\u7559\u4E0B\u7684\u672C\u673A\u8349\u7A3F\uFF0C\u53EF\u9009\u62E9\u6062\u590D\u3002",restoreDraft:"\u6062\u590D\u8349\u7A3F \xB7 {time}",librarySwitched:"\u5185\u5BB9\u5E93\u5DF2\u5207\u6362",libraryPathCopied:"\u5185\u5BB9\u5E93\u8DEF\u5F84\u5DF2\u590D\u5236",launchConfigCopied:"\u672C\u5730\u542F\u52A8\u914D\u7F6E\u5DF2\u590D\u5236",pinned:"\u5DF2\u7F6E\u9876",itemActions:"{title}\u7684\u64CD\u4F5C",noMatchingContent:"\u6CA1\u6709\u5339\u914D\u7684\u5185\u5BB9",folderEmpty:"\u6587\u4EF6\u5939\u4E3A\u7A7A",projectEmpty:"\u9879\u76EE\u4E3A\u7A7A",emptyHint:"\u70B9\u51FB\u5DE6\u4E0A\u89D2\u7684 + \u6DFB\u52A0\u9875\u9762\u6216\u767D\u677F\uFF0C\u6216\u6253\u5F00 Agent \u8BA9\u5B83\u5199\u7B2C\u4E00\u9875",viewTemplate:"\u67E5\u770B\u6A21\u677F {name} {version} {scope}",noMatchingTemplates:"\u6CA1\u6709\u5339\u914D\u7684\u6A21\u677F",noTemplates:"\u6682\u65E0\u8FD9\u7C7B\u6A21\u677F",siteExportMode:"\u7F51\u7AD9\u5BFC\u51FA\u65B9\u5F0F",exportOffline:"\u79BB\u7EBF\u7F51\u7AD9 \xB7 \u6253\u5305\u7EC4\u4EF6",exportOnline:"\u8054\u7F51\u7F51\u7AD9 \xB7 \u5F15\u7528\u53D1\u5E03\u7EC4\u4EF6",projectListActions:"\u9879\u76EE\u5217\u8868\u64CD\u4F5C",newGroup:"\u65B0\u5EFA\u5206\u7EC4",groupActions:"{name}\u7684\u5206\u7EC4\u64CD\u4F5C",renameGroup:"\u91CD\u547D\u540D\u5206\u7EC4",removeGroup:"\u79FB\u9664\u5206\u7EC4",groupRemoved:"\u5DF2\u79FB\u9664\u5206\u7EC4\uFF0C\u9879\u76EE\u5DF2\u79FB\u56DE\u9879\u76EE\u5217\u8868",openInNewTab:"\u5728\u65B0\u6807\u7B7E\u9875\u6253\u5F00",cmdClick:"\u2318 \u70B9\u51FB",ctrlClick:"Ctrl \u70B9\u51FB",shiftClick:"\u21E7 \u70B9\u51FB",openInNewWindow:"\u5728\u65B0\u7A97\u53E3\u6253\u5F00",setIcon:"\u8BBE\u7F6E\u56FE\u6807\u2026",pin:"\u7F6E\u9876",unpin:"\u53D6\u6D88\u7F6E\u9876",moveToGroup:"\u79FB\u5230\u5206\u7EC4\u2026",removeFromGroup:"\u79FB\u51FA\u5206\u7EC4",duplicatePage:"\u590D\u5236\u9875\u9762",exportWithPublished:"\u5F15\u7528\u5DF2\u53D1\u5E03\u7EC4\u4EF6\u5BFC\u51FA",exportSnippet:"\u5BFC\u51FA\u4F1A\u8BDD\u7247\u6BB5",exportReading:"\u5BFC\u51FA\u9605\u8BFB\u7F51\u9875",exportOnlinePage:"\u5BFC\u51FA\u5728\u7EBF\u7F51\u9875 \xB7 \u8054\u7F51\u52A0\u8F7D\u9605\u8BFB\u5668",iconKeptInDraft:"\u56FE\u6807\u4FDD\u7559\u5728\u672C\u673A\u8349\u7A3F\u4E2D\uFF0C\u8BF7\u5904\u7406\u9875\u9762\u4FDD\u5B58\u9519\u8BEF\u6216\u51B2\u7A81\u3002",libraryUpgraded:"\u5185\u5BB9\u5E93\u5DF2\u5347\u7EA7\uFF0C\u539F\u59CB\u6587\u4EF6\u5DF2\u4FDD\u7559",mergeSaved:"\u5408\u5E76\u7248\u672C\u5DF2\u4FDD\u5B58",externalKeptAsDraft:"\u5916\u90E8\u6587\u4EF6\u5DF2\u4FDD\u7559\u4E3A\u8349\u7A3F\uFF0C\u53EF\u901A\u8FC7 Agent \u7EE7\u7EED\u5904\u7406",externalResolved:"\u5916\u90E8\u4FEE\u6539\u5DF2\u5904\u7406\uFF0C\u5FEB\u7167\u4ECD\u53EF\u4FDD\u7559\u67E5\u770B",groupName:"\u5206\u7EC4\u540D\u79F0",newFolder:"\u65B0\u6587\u4EF6\u5939",folderName:"\u6587\u4EF6\u5939\u540D\u79F0",name:"\u540D\u79F0",newPage:"\u65B0\u9875\u9762",newPageAria:"\u65B0\u5EFA Page",newBoardAria:"\u65B0\u5EFA Board",blankPage:"Page \u7A7A\u767D\u9875\u9762",blankBoard:"Board \u767D\u677F",moveToGroupTitle:"\u79FB\u5230\u5206\u7EC4",group:"\u5206\u7EC4",targetGroup:"\u76EE\u6807\u5206\u7EC4",ungrouped:"\u9879\u76EE\uFF08\u672A\u5206\u7EC4\uFF09",move:"\u79FB\u52A8",deleteProject:"\u5220\u9664\u9879\u76EE",deleteFolder:"\u5220\u9664\u6587\u4EF6\u5939",deletePage:"\u5220\u9664\u9875\u9762",deleteConfirm:"\u5220\u9664\u300C{title}\u300D\uFF1F",deleteChildren:"\u5176\u4E2D\u7684\u9875\u9762\u548C\u5B50\u6587\u4EF6\u5939\u4E5F\u4F1A\u4ECE\u5217\u8868\u4E2D\u79FB\u9664\u3002",projectSettings:"\u9879\u76EE\u8BBE\u7F6E",newProjectTitle:"\u65B0\u9879\u76EE",projectName:"\u9879\u76EE\u540D\u79F0",projectNamePlaceholder:"\u4F8B\u5982\uFF1A\u591A\u6A21\u6001\u6A21\u578B\u8C03\u7814",setProjectIcon:"\u8BBE\u7F6E\u9879\u76EE\u56FE\u6807",setIconButton:"\u8BBE\u7F6E\u56FE\u6807",createProject:"\u521B\u5EFA\u9879\u76EE",projectIcon:"\u9879\u76EE\u56FE\u6807",folderSettings:"\u6587\u4EF6\u5939\u8BBE\u7F6E",setFolderIcon:"\u8BBE\u7F6E\u6587\u4EF6\u5939\u56FE\u6807",folderIcon:"\u6587\u4EF6\u5939\u56FE\u6807",closeDialog:"\u5173\u95ED\u5F39\u7A97",setPageIcon:"\u8BBE\u7F6E\u9875\u9762\u56FE\u6807",addIcon:"\u6DFB\u52A0\u56FE\u6807",bodyPageTitle:"\u6B63\u6587\u9875\u9762\u6807\u9898","icon.unsupportedType":"\u8BF7\u9009\u62E9 PNG\u3001JPEG\u3001GIF\u3001WebP \u6216 AVIF \u56FE\u7247\u3002","icon.tooLarge":"\u56FE\u7247\u9700\u5C0F\u4E8E 8 MB\u3002","icon.readCancelled":"\u56FE\u7247\u8BFB\u53D6\u5DF2\u53D6\u6D88","icon.pageIcon":"\u9875\u9762\u56FE\u6807","icon.text":"\u6587\u5B57\u6216 Emoji","icon.common":"\u5E38\u7528\u56FE\u6807","icon.use":"\u4F7F\u7528 {icon}","icon.upload":"\u4E0A\u4F20\u56FE\u7247","icon.help":"\u652F\u6301 PNG\u3001JPEG\u3001GIF\u3001WebP\u3001AVIF\uFF0C\u6700\u5927 8 MB\u3002\u5927\u5C3A\u5BF8\u56FE\u7247\u4F1A\u7F29\u5C0F\u4E3A\u56FE\u6807\u3002","icon.url":"\u56FE\u7247\u94FE\u63A5","icon.urlAria":"\u56FE\u6807\u56FE\u7247\u94FE\u63A5","icon.remove":"\u79FB\u9664\u56FE\u6807","icon.processing":"\u5904\u7406\u4E2D\u2026"},en:{selectPages:"Select pages",selectPage:"Select \u201C{title}\u201D",selectedPages:"{count} pages selected",selectAllPages:"Select all pages",finishPageSelection:"Done selecting",pageSelectionActions:"Bulk page actions",movePages:"Move pages",deletePages:"Delete pages",deletePagesConfirm:"Delete the {count} selected pages?",movePagesDescription:"Move the {count} selected pages to:",targetProject:"Destination project",targetFolder:"Destination folder",projectRoot:"Project root",pagesMoved:"Moved {count} pages",pagesDeleted:"Deleted {count} pages",batchPageFailed:"Completed {completed} pages; {remaining} pages remain: {error}","scope.builtin":"Built-in","scope.global":"Global","scope.published":"Published","scope.project":"Project",directoryView:"View",libraryUndo:"Undo library move",libraryRedo:"Redo library move","view.list":"List","view.small":"Small thumbnails","view.medium":"Medium thumbnails","view.large":"Large thumbnails",folderMissing:"This folder no longer exists.",pageImported:"Page imported",pageExported:"Page exported",siteExportedRemote:"Site exported. Components load online from their pinned published versions.",siteExportedBundled:"Site exported. Ready to deploy to static hosting.","create.folder":"Folder","create.page":"Page","create.board":"Board","sort.name":"Sort by name","sort.createdAt":"Sort by date created","sort.updatedAt":"Sort by date edited","sort.manual":"Manual order",moved:"Moved",moveProjectUp:"Move project up",moveProjectDown:"Move project down",deleted:"Deleted",openPageFirst:"Open a page before inserting a component","heading.recent":"Recent","heading.project":"Project","heading.templates":"Templates","heading.components":"Components","heading.settings":"Settings",resolveDraftFirst:"Save or resolve the current page's draft first.",noComponentVersion:"This result has no component version to open.",noTemplateVersion:"This result has no template version to open.",backToRecent:"Back to Recent",updatingProjects:"Updating project list\u2026",pageTitle:"Page title",componentSource:"Component source","filter.all":"All","filter.builtin":"Built-in","filter.custom":"Custom",addContent:"Add content",addContentHint:"Add a folder, page or board",catalogProjectLabel:"Project",catalogProject:"Catalog project",chooseProject:"Choose project",catalogScopeLabel:"Scope",catalogScope:"Catalog scope",showAllVersions:"Show all versions",searchComponents:"Search components",searchTemplates:"Search templates",viewExternalChanges:"Review external file changes",searchRecentPages:"Search recent pages",searchPages:"Search pages",searchLibrary:"Search library",searchScope:"Search scope","searchScope.recent":"Recent pages","searchScope.project":"Pages in this project","searchScope.library":"Entire library",newProject:"New project",revealProjectFolder:"Open project folder",exportSite:"Export site",folderActions:"Folder actions",componentProjectLabel:"Project:",allProjects:"All projects",revealPageFile:"Show page file",exportPage:"Export page",pageActions:"Page actions",dismissError:"Dismiss error",backgroundSaveIssue:"Background saves for other pages need attention. Their drafts are kept.",viewIssue:"View \xB7 {title}",retainedSyncConflict:"Changes from different devices couldn't be merged. Both versions and their source records are kept.",viewOtherVariant:"View other copy \xB7 {account} \xB7 device {device}",saveConflictTitle:"Couldn't save: the file has new changes",saveProblemTitle:"There was a problem saving",draftKeptAsCopy:"Draft kept as a copy",keepAsCopy:"Keep as copy",saveAgain:"Save again",resolveExternal:"Resolve external changes",compareAndMerge:"Compare and merge",discardAndLoad:"Discard changes and load current file",retrySave:"Retry save",draftsAvailable:"Other editing windows left local drafts you can restore.",restoreDraft:"Restore draft \xB7 {time}",librarySwitched:"Library switched",libraryPathCopied:"Library path copied",launchConfigCopied:"Local launch configuration copied",pinned:"Pinned",itemActions:"Actions for {title}",noMatchingContent:"No matching content",folderEmpty:"This folder is empty",projectEmpty:"This project is empty",emptyHint:"Click + at the top left to add a page or board, or open the agent and let it write the first page",viewTemplate:"View template {name} {version} {scope}",noMatchingTemplates:"No matching templates",noTemplates:"No templates of this kind",siteExportMode:"Site export options",exportOffline:"Offline site \xB7 bundle components",exportOnline:"Online site \xB7 use published components",projectListActions:"Project list actions",newGroup:"New group",groupActions:"Group actions for {name}",renameGroup:"Rename group",removeGroup:"Remove group",groupRemoved:"Group removed. Its projects moved back to the project list.",openInNewTab:"Open in new tab",cmdClick:"\u2318-click",ctrlClick:"Ctrl-click",shiftClick:"\u21E7-click",openInNewWindow:"Open in new window",setIcon:"Set icon\u2026",pin:"Pin",unpin:"Unpin",moveToGroup:"Move to group\u2026",removeFromGroup:"Remove from group",duplicatePage:"Duplicate page",exportWithPublished:"Export with published components",exportSnippet:"Export chat snippet",exportReading:"Export reading page",exportOnlinePage:"Export online page \xB7 loads the reader from a CDN",iconKeptInDraft:"The icon is kept in the local draft. Resolve the page's save error or conflict.",libraryUpgraded:"Library upgraded. Original files are kept.",mergeSaved:"Merged version saved",externalKeptAsDraft:"External file kept as a draft. You can continue with the Agent.",externalResolved:"External changes resolved. The snapshot is still available to review.",groupName:"Group name",newFolder:"New folder",folderName:"Folder name",name:"Name",newPage:"New page",newPageAria:"New page",newBoardAria:"New board",blankPage:"Blank page",blankBoard:"Board",moveToGroupTitle:"Move to group",group:"Group",targetGroup:"Target group",ungrouped:"Projects (ungrouped)",move:"Move",deleteProject:"Delete project",deleteFolder:"Delete folder",deletePage:"Delete page",deleteConfirm:"Delete \u201C{title}\u201D?",deleteChildren:" Its pages and subfolders will also be removed from the list.",projectSettings:"Project settings",newProjectTitle:"New project",projectName:"Project name",projectNamePlaceholder:"e.g. Multimodal model research",setProjectIcon:"Set project icon",setIconButton:"Set icon",createProject:"Create project",projectIcon:"Project icon",folderSettings:"Folder settings",setFolderIcon:"Set folder icon",folderIcon:"Folder icon",closeDialog:"Close dialog",setPageIcon:"Set page icon",addIcon:"Add icon",bodyPageTitle:"Page title","icon.unsupportedType":"Choose a PNG, JPEG, GIF, WebP or AVIF image.","icon.tooLarge":"Images must be smaller than 8 MB.","icon.readCancelled":"Image reading was cancelled.","icon.pageIcon":"Page icon","icon.text":"Text or emoji","icon.common":"Common icons","icon.use":"Use {icon}","icon.upload":"Upload image","icon.help":"PNG, JPEG, GIF, WebP and AVIF up to 8 MB. Large images are scaled down to icon size.","icon.url":"Image URL","icon.urlAria":"Icon image URL","icon.remove":"Remove icon","icon.processing":"Processing\u2026"}});var Fa=Z(de(),1);function Yc({title:e,children:t,onClose:a,wide:n=!1,className:o="",titleAccessory:r,headerContent:i,headerActions:l,dismissible:s=!0,initialFocus:c="auto",returnFocus:d}){let u=se(Wc),p=(0,Kc.useRef)(null),b=(0,Kc.useRef)(a);return b.current=s?a:()=>{},(0,Kc.useEffect)(()=>{let y=document.activeElement;(c==="container"?p.current:p.current?.querySelector(o.includes("catalog-")?'[role="tab"][aria-selected="true"]':"input:not([disabled]),textarea:not([disabled]),select:not([disabled])")??p.current?.querySelector("button"))?.focus();let f=w=>{if(p.current===[...document.querySelectorAll('[role="dialog"]')].at(-1)){if(w.key==="Escape"){if(p.current?.contains(document.fullscreenElement)||document.querySelector('[role="menu"]'))return;b.current()}if(w.key==="Tab"){let h=[...p.current?.querySelectorAll('button:not([disabled]),input:not([disabled]),textarea:not([disabled]),select:not([disabled]),a[href],summary,[tabindex],[contenteditable="true"]')??[]].filter(T=>T.offsetParent!==null&&T.tabIndex>=0&&!T.closest("[inert]")),m=h[0],v=h.at(-1);if(document.activeElement===p.current||!p.current?.contains(document.activeElement)){w.preventDefault(),(w.shiftKey?v:m)?.focus();return}w.shiftKey&&document.activeElement===m&&(w.preventDefault(),v?.focus()),!w.shiftKey&&document.activeElement===v&&(w.preventDefault(),m?.focus())}}};return document.addEventListener("keydown",f),()=>{document.removeEventListener("keydown",f),(d?.isConnected?d:y)?.focus({preventScroll:!0})}},[]),(0,Fa.jsx)("div",{className:"studio-modal-shade",onMouseDown:y=>{s&&y.target===y.currentTarget&&a()},children:(0,Fa.jsxs)("div",{ref:p,role:"dialog","aria-modal":"true","aria-label":e,tabIndex:-1,className:`studio-modal ${n?"wide":""} ${o}`,children:[(0,Fa.jsxs)("header",{children:[r?(0,Fa.jsxs)("div",{className:"studio-modal-title",children:[(0,Fa.jsx)("h2",{children:e}),r]}):(0,Fa.jsx)("h2",{children:e}),i,l?(0,Fa.jsxs)("div",{className:"studio-modal-header-actions",children:[l," ",s&&(0,Fa.jsx)("button",{className:"studio-icon","aria-label":u("closeDialog"),onClick:a,children:(0,Fa.jsx)(Ja,{size:18})})]}):(0,Fa.jsxs)(Fa.Fragment,{children:[" ",s&&(0,Fa.jsx)("button",{className:"studio-icon","aria-label":u("closeDialog"),onClick:a,children:(0,Fa.jsx)(Ja,{size:18})})]})]}),t]})})}var Dn=Z(Me(),1);var wb=Z(Me(),1),kb=(0,wb.createContext)(null);var Sb={text:"text",callout:"text",toggle:"text",stepper:"text",divider:"text",code:"text",bookmark:"text",references:"text",image:"image",gallery:"image",table:"table",database:"table",chart:"data",metrics:"data",playground:"data","step-walkthrough":"flow","comparison-matrix":"table","status-tree":"flow","experiment-tracker":"data","scene-3d":"image","event-timeline":"data",waterfall:"data",roadmap:"flow","card-grid":"other","structure-browser":"data","command-reference":"text","step-guide":"flow","layer-diagram":"flow","sequence-diagram":"flow",flowchart:"flow",archify:"flow","diagram-design":"flow","fireworks-tech-graph":"flow",mindmap:"flow",page:"surface",board:"surface"};function Cb(e){return!("kind"in e)&&e.role==="page-outline"?"outline":"kind"in e?e.kind.startsWith("g2-")?"data":Sb[e.kind]??"other":e.category?e.category:Sb[e.id.replace(/^my-/,"")]??"other"}function Tb(e){let t=n=>JSON.stringify([n.scope,n.scope==="project"?n.projectId:null,n.id]),a=new Map;for(let n of e){if("kind"in n)continue;let o=t(n),r=a.get(o),[i,l]=n.version.split("-"),[s,c]=(r?.version??"0.0.0-legacy").split("-"),d=i.localeCompare(s,void 0,{numeric:!0})||(!l&&c?1:l&&!c?-1:(l??"").localeCompare(c??"",void 0,{numeric:!0}));(!r||d>0)&&a.set(o,n)}return e.filter(n=>"kind"in n||a.get(t(n))?.version===n.version)}var U2=[{kind:"text",name:"\u5BCC\u6587\u672C",description:"\u7EDF\u4E00\u7684\u5BCC\u6587\u672C\u7EC4\u4EF6\uFF1AApp \u8F93\u5165\u4E0E AI \u5199\u5165\u4F7F\u7528\u540C\u4E00\u5185\u5BB9\u6811\uFF0C\u652F\u6301\u6807\u9898\u3001\u5217\u8868\u3001\u8868\u683C\u3001\u516C\u5F0F\u3001\u5B57\u4F53\u3001\u5B57\u53F7\u3001\u989C\u8272\u3001\u4E0B\u5212\u7EBF\u3001\u9AD8\u4EAE\u548C\u6BB5\u843D\u5BF9\u9F50\uFF1B\u7EC4\u4EF6\u81EA\u5E26\u9009\u4E2D\u3001\u60AC\u505C\u53CA\u8868\u683C\u83DC\u5355\uFF0C\u517C\u5BB9 Markdown \u4E0E\u7EAF\u6587\u672C\u5BFC\u5165\u3002",version:"2.0.0",defaultData:{content:{type:"doc",content:[{type:"paragraph",content:[]}]},format:"richtext"}},{kind:"image",name:"\u56FE\u7247",description:"\u5355\u5F20\u56FE\u50CF\u4E0E\u56FE\u6CE8\uFF0C\u53EF\u8C03\u6574\u5C3A\u5BF8\u3001\u88C1\u5207\u548C\u5706\u89D2\u3002\u79BB\u7EBF\u9875\u9762\u4F7F\u7528\u5185\u5D4C\u56FE\u50CF\u3002",version:"2.0.0",defaultData:{src:"",alt:"",caption:""}},{kind:"table",name:"\u8868\u683C",description:"\u7EDF\u4E00\u7684\u8868\u683C\u7EC4\u4EF6\uFF0C\u652F\u6301\u5BCC\u6587\u672C\u5355\u5143\u683C\u3001\u5408\u5E76\u62C6\u5206\u3001\u884C\u5217\u7F16\u8F91\u3001\u5217\u5BBD\u548C\u5BF9\u9F50\uFF1B\u517C\u5BB9\u4E8C\u7EF4\u6570\u7EC4\u5BFC\u5165\uFF0C\u5355\u5143\u683C\u7EDF\u4E00\u4FDD\u5B58\u4E3A\u5BCC\u6587\u672C\u3002",version:"2.0.0",defaultData:{title:"",columns:["\u540D\u79F0","\u8BF4\u660E"],rows:[["",""]]}},{kind:"callout",name:"\u63D0\u793A\u6846",description:"\u5E26\u6807\u9898\u548C Markdown \u6B63\u6587\u7684\u63D0\u793A\u3001\u5F15\u7528\u6216\u8BF4\u660E\u3002",version:"2.0.0",defaultData:{title:"\u63D0\u793A",content:"\u8865\u5145\u4E00\u6761\u8BF4\u660E\u3002"}},{kind:"toggle",name:"\u6298\u53E0\u5185\u5BB9",description:"\u6309\u9700\u5C55\u5F00\u8865\u5145\u4FE1\u606F\uFF0C\u6B63\u6587\u652F\u6301\u5BCC\u6587\u672C\u548C Markdown \u5BFC\u5165\u3002",version:"2.0.0",defaultData:{summary:"\u5C55\u5F00\u5185\u5BB9",content:"\u8FD9\u91CC\u662F\u8865\u5145\u8BF4\u660E\u3002",open:!1}},{kind:"stepper",name:"\u9010\u6B65\u5207\u6362",description:"\u6309\u987A\u5E8F\u9010\u6B65\u5C55\u793A\u5185\u5BB9\uFF1A\u9876\u90E8\u662F\u5E26\u7F16\u53F7\u7684\u6B65\u9AA4\u6761\uFF0C\u4E00\u6B21\u663E\u793A\u4E00\u6B65\uFF0C\u6BCF\u4E00\u6B65\u53EF\u4EE5\u653E\u6587\u5B57\u3001\u56FE\u7247\u3001\u8868\u683C\u548C\u5176\u4ED6\u7EC4\u4EF6\u3002",version:"1.0.0",defaultData:{steps:[{title:"\u7B2C\u4E00\u6B65",content:"\u8FD9\u4E00\u6B65\u7684\u5185\u5BB9\u3002"},{title:"\u7B2C\u4E8C\u6B65",content:"\u4E0B\u4E00\u6B65\u7684\u5185\u5BB9\u3002"}]}},{kind:"divider",name:"\u5206\u9694\u7EBF",description:"\u5728\u9875\u9762\u5185\u5BB9\u4E4B\u95F4\u5EFA\u7ACB\u8F7B\u91CF\u7684\u89C6\u89C9\u5206\u9694\u3002",version:"2.0.0",defaultData:{color:"#dce1d7"}},{kind:"code",name:"\u4EE3\u7801\u5757",description:"\u4FDD\u7559\u7F29\u8FDB\u4E0E\u6362\u884C\u7684\u4EE3\u7801\u7247\u6BB5\uFF0C\u53EF\u58F0\u660E\u8BED\u8A00\u5E76\u81EA\u5B9A\u4E49\u5916\u89C2\u3002",version:"2.0.0",defaultData:{content:"",language:""}}];var Lt=[{kind:"chart",name:"\u6570\u636E\u56FE\u8868",description:"\u4EA4\u4E92\u5F0F\u6298\u7EBF\u56FE\u3001\u67F1\u72B6\u56FE\u548C\u53EF\u5C55\u5F00\u7684\u539F\u59CB\u6570\u636E\u3002",defaultData:{title:"\u6570\u636E\u56FE\u8868",type:"line",labels:[],series:[],unit:""},version:"1.0.0"},{kind:"database",name:"\u6570\u636E\u5E93",description:"\u5E26\u7B5B\u9009\u3001\u6392\u5E8F\u548C\u8868\u683C/\u770B\u677F/\u65E5\u5386\u89C6\u56FE\u7684\u6570\u636E\u5E93\u3002\u5355\u5143\u683C\u652F\u6301\u6587\u5B57\u3001\u6570\u5B57\u3001\u9009\u62E9\u3001\u590D\u9009\u6846\u3001\u94FE\u63A5\u548C\u65E5\u671F\uFF1B\u65E5\u5386\u53EF\u6309\u6708\u3001\u6309\u5468\uFF08\u542B\u65F6\u95F4\u8F74\uFF09\u6216\u4EE5\u70ED\u529B\u56FE\u67E5\u770B\u3002",defaultData:{title:"\u6570\u636E\u5E93",columns:[{id:"name",name:"\u540D\u79F0",type:"text"}],rows:[]},version:"1.1.0"},{kind:"metrics",name:"\u5173\u952E\u6307\u6807",description:"\u663E\u793A\u6709\u6765\u6E90\u7684\u6570\u503C\u3001\u5355\u4F4D\u3001\u53D8\u5316\u548C\u8BF4\u660E\u3002",defaultData:{title:"\u5173\u952E\u6307\u6807",items:[]},version:"1.0.0"},{kind:"playground",name:"\u4EA4\u4E92\u8BA1\u7B97",description:"\u7528\u6ED1\u5757\u3001\u6B65\u8FDB\u3001\u5F00\u5173\u548C\u9009\u9879\u9A71\u52A8\u58F0\u660E\u5F0F\u516C\u5F0F\uFF0C\u5C55\u793A\u7ED3\u679C\u3001\u76EE\u6807\u5DEE\u8DDD\u3001\u6784\u6210\u5360\u6BD4\u4E0E\u52A0\u6743\u6392\u540D\u3002",defaultData:{title:"\u4EA4\u4E92\u8BA1\u7B97",inputs:[],operation:"sum",resultLabel:"\u8BA1\u7B97\u7ED3\u679C",unit:""},version:"1.1.0"},{kind:"gallery",name:"\u56FE\u7247\u753B\u5ECA",description:"\u5305\u542B\u56FE\u6CE8\u7684\u56FE\u7247\u96C6\u5408\u3002\u5BFC\u51FA\u79BB\u7EBF\u9875\u9762\u65F6\u4F7F\u7528\u5185\u5D4C PNG\u3001JPEG\u3001GIF\u3001WebP \u6216 AVIF\u3002",defaultData:{title:"\u56FE\u7247\u753B\u5ECA",columns:2,images:[]},version:"1.0.0"},{kind:"bookmark",name:"\u6765\u6E90\u4E66\u7B7E",description:"\u5E26\u6807\u9898\u3001\u63CF\u8FF0\u548C\u53EF\u9009\u7F29\u7565\u56FE\u7684\u5916\u90E8\u6765\u6E90\u94FE\u63A5\u3002",defaultData:{title:"",description:"",url:"",image:""},version:"1.0.0"},{kind:"mindmap",name:"\u601D\u7EF4\u5BFC\u56FE",description:"\u4E2D\u5FC3\u4E3B\u9898\u7684\u5206\u652F\u81EA\u7136\u5E73\u8861\u5C55\u5F00\uFF0C\u6216\u9009\u62E9\u5355\u5411\u5E03\u5C40\uFF1B\u652F\u6301\u952E\u76D8\u7F16\u8F91\u3001\u6298\u53E0\u548C\u64A4\u9500\u3002",defaultData:{title:"\u601D\u7EF4\u5BFC\u56FE",height:460,nodes:[{id:"root",parentId:null,label:"\u4E2D\u5FC3\u4E3B\u9898"},{id:"branch-1",parentId:"root",label:"\u4E3B\u9898\u4E00"},{id:"branch-2",parentId:"root",label:"\u4E3B\u9898\u4E8C"},{id:"branch-3",parentId:"branch-1",label:"\u5B50\u4E3B\u9898"}],layout:"radial",direction:"right"},version:"1.0.0"},{kind:"flowchart",name:"\u4EA4\u4E92\u6D41\u7A0B\u56FE",description:"\u57FA\u4E8E React Flow \u7684\u53EF\u7F29\u653E\u6D41\u7A0B\u56FE\uFF0C\u652F\u6301\u8282\u70B9\u8BE6\u60C5\u3001\u5206\u652F\u5173\u7CFB\u3001\u591A\u6761\u6D41\u7A0B\u548C\u7F16\u8F91\u8282\u70B9\uFF1B\u53EF\u9009\u8DEF\u7EBF\u9010\u6B65\u8BB2\u89E3\u4E0E\u9636\u6BB5\u64AD\u653E\uFF0C\u6309\u6B65\u9AA4\u9AD8\u4EAE\u8282\u70B9\u548C\u8FDE\u7EBF\u3002",version:"1.1.0",defaultData:{title:"\u4EA4\u4E92\u6D41\u7A0B\u56FE",flows:[{id:"process",label:"\u6D41\u7A0B",direction:"TB",nodes:[{id:"start",label:"\u660E\u786E\u95EE\u9898",kind:"request",detail:"\u63CF\u8FF0\u60F3\u7406\u89E3\u7684\u95EE\u9898\u4E0E\u8BFB\u8005\u9700\u8981\u3002"},{id:"work",label:"\u6574\u7406\u5185\u5BB9",kind:"skill",detail:"\u7EC4\u7EC7\u6709\u4F9D\u636E\u7684\u5185\u5BB9\u3002"},{id:"result",label:"\u9605\u8BFB\u4E0E\u63A2\u7D22",kind:"result",detail:"\u4F7F\u7528\u7ED3\u679C\u5B8C\u6210\u7406\u89E3\u3002"}],edges:[{id:"a",source:"start",target:"work"},{id:"b",source:"work",target:"result"}]}]}},{kind:"video",name:"\u89C6\u9891",description:"\u4FDD\u7559\u753B\u9762\u6BD4\u4F8B\u7684\u89C6\u9891\u64AD\u653E\u5668\uFF0C\u652F\u6301\u672C\u5730\u4E0A\u4F20\u3001\u5728\u7EBF\u6587\u4EF6\u3001\u5C01\u9762\u4E0E\u8BF4\u660E\u3002",version:"1.0.0",defaultData:{title:"",src:"",caption:"",fileName:"",aspectRatio:"16:9"}},{kind:"audio",name:"\u97F3\u9891",description:"\u7D27\u51D1\u97F3\u9891\u64AD\u653E\u5668\uFF0C\u652F\u6301\u672C\u5730\u4E0A\u4F20\u3001\u5728\u7EBF\u6587\u4EF6\u4E0E\u8BF4\u660E\u3002",version:"1.0.0",defaultData:{title:"",src:"",caption:"",fileName:""}},{kind:"pdf",name:"PDF \u6587\u6863",description:"\u5185\u7F6E PDF \u9605\u8BFB\u5668\uFF0C\u652F\u6301\u7FFB\u9875\u3001\u7F29\u653E\u3001\u521D\u59CB\u9875\u7801\u3001\u672C\u9875\u6587\u5B57\u548C\u4E0B\u8F7D\u3002",version:"1.0.0",defaultData:{title:"",src:"",caption:"",fileName:"",page:1,height:560}},{kind:"references",name:"\u53C2\u8003\u6587\u732E",description:"\u6309\u7F16\u53F7\u7EC4\u7EC7\u4F5C\u8005\u3001\u5E74\u4EFD\u3001\u6807\u9898\u3001\u51FA\u5904\u3001DOI\u3001\u94FE\u63A5\u4E0E\u5907\u6CE8\uFF0C\u652F\u6301\u6B63\u6587\u951A\u70B9\u5F15\u7528\u3002",version:"1.0.0",defaultData:{title:"\u53C2\u8003\u6587\u732E",items:[]}},{kind:"step-walkthrough",name:"\u5206\u6B65\u6F14\u793A",description:"\u7528\u4E00\u4E2A\u5177\u4F53\u4F8B\u5B50\u9010\u6B65\u6F14\u793A\u673A\u5236\uFF1A\u6BCF\u4E00\u6B65\u7ED9\u51FA\u4E00\u53E5\u8981\u70B9\uFF0C\u5DE6\u680F\u662F\u5B9E\u9645\u53D1\u751F\u7684\u8F93\u5165\u4E0E\u64CD\u4F5C\uFF0C\u53F3\u680F\u662F\u5404\u7EC4\u6210\u90E8\u5206\u6B64\u523B\u7684\u5177\u4F53\u6761\u76EE\uFF08\u65B0\u589E\u3001\u5DF2\u66F4\u65B0\u3001\u5DF2\u5931\u6548\u3001\u672A\u53D8\uFF09\uFF1B\u6700\u540E\u53EF\u5C55\u793A\u8F93\u51FA\u539F\u6587\u5E76\u9690\u85CF\u67D0\u4E00\u90E8\u5206\u4F5C\u5BF9\u6BD4\u3002",version:"1.0.0",defaultData:{title:"\u5206\u6B65\u6F14\u793A",parts:[{id:"state",label:"\u72B6\u6001"}],steps:[{id:"s1",label:"\u7B2C\u4E00\u6B65",takeaway:"\u8FD9\u4E00\u6B65\u7684\u8981\u70B9\u3002",actions:[{actor:"\u64CD\u4F5C",text:"\u63CF\u8FF0\u8FD9\u4E00\u6B65\u5B9E\u9645\u505A\u4E86\u4EC0\u4E48\u3002"}]}]}},{kind:"comparison-matrix",name:"\u5BF9\u6BD4\u77E9\u9635",description:"\u6309\u7EF4\u5EA6\u9010\u884C\u5BF9\u6BD4\u591A\u4E2A\u65B9\u6848\uFF0C\u7528\u91C7\u7528\u3001\u4E0D\u91C7\u7528\u3001\u90E8\u5206\u91C7\u7528\u7B49\u6807\u8BB0\u533A\u5206\uFF0C\u53EF\u7A81\u51FA\u81EA\u5DF1\u7684\u65B9\u6848\u5E76\u53EA\u770B\u5DEE\u5F02\u3002",defaultData:{title:"\u5BF9\u6BD4\u77E9\u9635",rows:[{id:"r1",label:"\u7EF4\u5EA6"}],columns:[{id:"a",label:"\u65B9\u6848 A"},{id:"b",label:"\u65B9\u6848 B"}],cells:[]},version:"1.0.0"},{kind:"status-tree",name:"\u72B6\u6001\u6811",description:"\u628A\u6761\u76EE\u6309\u7C7B\u522B\u5C55\u5F00\u6210\u6811\uFF0C\u7528\u989C\u8272\u3001\u56FE\u6807\u548C\u7EBF\u578B\u533A\u5206\u8D70\u901A\u3001\u6CA1\u8D70\u901A\u3001\u8FDB\u884C\u4E2D\u3001\u5F85\u63A2\u7D22\u4E0E\u6401\u7F6E\uFF0C\u70B9\u51FB\u67E5\u770B\u4F9D\u636E\u3002",defaultData:{title:"\u72B6\u6001\u6811",groups:[{id:"g1",label:"\u65B9\u5411",items:[{id:"i1",label:"\u6761\u76EE",status:"todo"}]}]},version:"1.0.0"},{kind:"experiment-tracker",name:"\u5B9E\u9A8C\u8FFD\u8E2A",description:"\u5728\u4E00\u4E2A\u753B\u9762\u91CC\u8FFD\u8E2A\u4E00\u7EC4\u5B9E\u9A8C\uFF1A\u968F\u65F6\u95F4\u7684\u6563\u70B9\u4E0E\u6700\u4F18\u524D\u6CBF\u3001\u53EF\u7B5B\u9009\u7684\u8FD0\u884C\u5217\u8868\u3001\u8D44\u6E90\u4E0E\u6210\u672C\uFF0C\u4EE5\u53CA\u8BAD\u7EC3\u66F2\u7EBF\u5C0F\u56FE\u3002",defaultData:{title:"\u5B9E\u9A8C\u8FFD\u8E2A",metric:{label:"\u6307\u6807",direction:"higher"},experiments:[{id:"E01",name:"\u57FA\u7EBF",status:"kept",start:"2026-01-01T09:00",score:0}]},version:"1.0.0"},{kind:"scene-3d",name:"3D \u573A\u666F",description:"\u7528 Three.js \u6E32\u67D3\u53EF\u65CB\u8F6C\u7684\u4E09\u7EF4\u6A21\u578B\uFF1A\u57FA\u672C\u5F62\u4F53\u3001\u5206\u7EC4\u3001\u5750\u6807\u7BAD\u5934\u3001\u7EBF\u6761\u4E0E\u6807\u6CE8\uFF0C\u6ED1\u5757\u53EF\u9A71\u52A8\u7269\u4F53\u7684\u5E73\u79FB\u3001\u65CB\u8F6C\u4E0E\u7F29\u653E\uFF0C\u5E76\u53EF\u81EA\u52A8\u6F14\u793A\u3002",defaultData:{title:"3D \u573A\u666F",parameters:[{id:"turn",label:"\u8F6C\u52A8",min:-180,max:180,step:1,value:30,unit:"\xB0",demo:!0}],objects:[{type:"group",id:"shapes",bindings:[{parameter:"turn",property:"rotation.y"}],children:[{type:"box",size:[1.2,1.2,1.2],position:[0,.6,0],color:"#4f7cac",label:"\u7ACB\u65B9\u4F53"},{type:"sphere",radius:.6,position:[1.9,.6,0],color:"#d1784c",label:"\u7403\u4F53"},{type:"cone",radius:.6,height:1.3,position:[-1.9,.65,0],color:"#5a9a78",label:"\u5706\u9525"}]}]},version:"1.0.0"},{kind:"sequence-diagram",name:"\u65F6\u5E8F\u56FE",description:"\u53C2\u4E0E\u8005\u751F\u547D\u7EBF\u4E0E\u6309\u65F6\u95F4\u6392\u5217\u7684\u8C03\u7528\u3001\u8FD4\u56DE\u548C\u5907\u6CE8\uFF0C\u53EF\u9010\u6B65\u64AD\u653E\uFF1A\u672A\u5230\u8FBE\u7684\u6B65\u9AA4\u53D8\u6DE1\uFF0C\u5F53\u524D\u6B65\u9AA4\u7684\u8BF4\u660E\u663E\u793A\u5728\u56FE\u4E0B\u65B9\uFF0C\u7A84\u5C4F\u6539\u4E3A\u7EB5\u5411\u6B65\u9AA4\u5217\u8868\u3002",defaultData:{title:"\u65F6\u5E8F\u56FE",actors:[{id:"user",label:"\u7528\u6237",tone:"slate"},{id:"web",label:"\u7F51\u9875",tone:"accent"},{id:"api",label:"\u670D\u52A1\u7AEF",tone:"teal"}],steps:[{from:"user",to:"web",label:"\u63D0\u4EA4\u8868\u5355",detail:"\u7528\u6237\u586B\u5199\u5185\u5BB9\u540E\u70B9\u51FB\u63D0\u4EA4\u3002"},{from:"web",to:"api",label:"\u53D1\u9001\u8BF7\u6C42",detail:"\u7F51\u9875\u628A\u8868\u5355\u5185\u5BB9\u53D1\u9001\u7ED9\u670D\u52A1\u7AEF\u3002"},{from:"api",to:"web",label:"\u8FD4\u56DE\u7ED3\u679C",kind:"reply",detail:"\u670D\u52A1\u7AEF\u4FDD\u5B58\u6210\u529F\u540E\u8FD4\u56DE\u65B0\u8BB0\u5F55\u7684\u7F16\u53F7\u3002"}]},version:"1.0.0"},{kind:"layer-diagram",name:"\u5206\u5C42\u67B6\u6784\u56FE",description:"\u81EA\u4E0A\u800C\u4E0B\u7684\u6C34\u5E73\u5206\u5C42\uFF0C\u6BCF\u5C42\u6709\u540D\u79F0\u3001\u8BF4\u660E\u3001\u8272\u8C03\u548C\u6A21\u5757\u6807\u7B7E\uFF1B\u70B9\u9009\u6A21\u5757\u5728\u56FE\u4E0B\u663E\u793A\u5B83\u7684\u804C\u8D23\u4E0E\u4F4D\u7F6E\u3002",defaultData:{layers:[{id:"ui",name:"\u754C\u9762\u5C42",modules:[{id:"pages",name:"\u9875\u9762",detail:"\u8D1F\u8D23\u5C55\u793A\u548C\u7528\u6237\u8F93\u5165\u3002"}]},{id:"service",name:"\u670D\u52A1\u5C42",modules:[{id:"api",name:"\u63A5\u53E3",detail:"\u5904\u7406\u8BF7\u6C42\u5E76\u8C03\u7528\u6570\u636E\u5C42\u3002"}]},{id:"data",name:"\u6570\u636E\u5C42",modules:[{id:"db",name:"\u6570\u636E\u5E93",detail:"\u4FDD\u5B58\u4E1A\u52A1\u6570\u636E\u3002"}]}],initial:"api"},version:"1.0.0"},{kind:"step-guide",name:"\u64CD\u4F5C\u6B65\u9AA4",description:"\u5E26\u7F16\u53F7\u7AD6\u8F74\u7684\u64CD\u4F5C\u6B65\u9AA4\uFF1A\u6BCF\u6B65\u6709\u8BF4\u660E\u3001\u53EF\u590D\u5236\u5E76\u6309\u5E73\u53F0\u5207\u6362\u7684\u4EE3\u7801\u3001\u63D0\u793A\u4E0E\u5B8C\u6210\u7ED3\u679C\uFF1B\u53EF\u52A0\u5012\u8BA1\u65F6\u4E0E\u65F6\u95F4\u7EBF\uFF0C\u4E5F\u53EF\u9010\u6B65\u4E13\u6CE8\u9605\u8BFB\u3002",defaultData:{steps:[{title:"\u5B89\u88C5\u4F9D\u8D56",body:"\u5728\u9879\u76EE\u76EE\u5F55\u4E2D\u8FD0\u884C\uFF1A",code:"npm install",lang:"sh",result:"\u7EC8\u7AEF\u663E\u793A `added` \u4E0E\u5B89\u88C5\u7684\u5305\u6570\u91CF\u3002"},{title:"\u542F\u52A8\u670D\u52A1",code:"npm run dev",lang:"sh",note:"\u4F7F\u7528\u671F\u95F4\u4FDD\u6301\u7EC8\u7AEF\u8FD0\u884C\u3002"},{title:"\u6253\u5F00\u6D4F\u89C8\u5668",body:"\u8BBF\u95EE\u7EC8\u7AEF\u663E\u793A\u7684\u5730\u5740\uFF0C\u786E\u8BA4\u9875\u9762\u6B63\u5E38\u663E\u793A\u3002"}]},version:"1.0.0"},{kind:"command-reference",name:"\u547D\u4EE4\u53C2\u8003",description:"\u6309\u5206\u7EC4\u5217\u51FA\u547D\u4EE4\uFF0C\u53EF\u641C\u7D22\u5E76\u9AD8\u4EAE\u5339\u914D\uFF0C\u6309\u5206\u7EC4\u7B5B\u9009\uFF1B\u5C55\u5F00\u6761\u76EE\u67E5\u770B\u8BF4\u660E\u3001\u53C2\u6570\u8868\u548C\u53EF\u590D\u5236\u7684\u793A\u4F8B\u3002",defaultData:{groups:[{id:"basic",label:"\u57FA\u7840"},{id:"data",label:"\u6570\u636E"}],commands:[{group:"basic",command:"app start [--port PORT]",summary:"\u542F\u52A8\u672C\u5730\u670D\u52A1",params:[{name:"--port PORT",meaning:"\u6307\u5B9A\u7AEF\u53E3\uFF0C\u9ED8\u8BA4 3000"}],examples:[{code:"app start --port 8080"}]},{group:"basic",command:"app status",summary:"\u67E5\u770B\u670D\u52A1\u72B6\u6001"},{group:"data",command:"app export --out FILE",summary:"\u628A\u6570\u636E\u5BFC\u51FA\u4E3A JSON \u6587\u4EF6",detail:"\u5BFC\u51FA\u524D\u4F1A\u5148\u4FDD\u5B58\u672A\u5B8C\u6210\u7684\u4FEE\u6539\u3002"}]},version:"1.0.0"},{kind:"structure-browser",name:"\u7ED3\u6784\u6D4F\u89C8\u5668",description:"\u5DE6\u4FA7\u662F\u53EF\u5C55\u5F00\u7684\u6587\u4EF6\u5939\u3001\u6587\u4EF6\u6216 JSON \u5B57\u6BB5\u6811\uFF0C\u53F3\u4FA7\u663E\u793A\u6240\u9009\u9879\u7684\u8DEF\u5F84\u3001\u7C7B\u578B\u3001\u8BF4\u660E\u548C\u53EF\u590D\u5236\u7684\u793A\u4F8B\u3002",defaultData:{nodes:[{name:"name",kind:"field",type:"string",badge:"\u5FC5\u586B",summary:"\u5305\u540D\uFF1A\u5C0F\u5199\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u8FDE\u5B57\u7B26\uFF0C\u53D1\u5E03\u540E\u4E0D\u80FD\u66F4\u6539\u3002"},{name:"version",kind:"field",type:"semver",badge:"\u5FC5\u586B",summary:"\u8BED\u4E49\u5316\u7248\u672C\uFF0C\u4F8B\u5982 `1.4.0`\u3002"},{name:"scripts",kind:"object",type:"object",summary:"\u53EF\u7528 `npm run <\u540D\u79F0>` \u6267\u884C\u7684\u547D\u4EE4\u3002",detail:"\u6BCF\u4E2A\u952E\u662F\u547D\u4EE4\u540D\uFF0C\u503C\u662F\u5728\u9879\u76EE\u6839\u76EE\u5F55\u6267\u884C\u7684 shell \u547D\u4EE4\u3002",example:`{
|
|
26
|
+
"dev": "vite",
|
|
27
|
+
"build": "vite build"
|
|
28
|
+
}`,exampleLang:"json",children:[{name:"dev",kind:"field",type:"string",summary:"\u542F\u52A8\u672C\u5730\u5F00\u53D1\u670D\u52A1\u3002"},{name:"build",kind:"field",type:"string",summary:"\u751F\u6210\u53EF\u53D1\u5E03\u7684\u4EA7\u7269\u3002"}]},{name:"dependencies",kind:"object",type:"object",badge:"\u53EF\u9009",summary:"\u8FD0\u884C\u65F6\u4F9D\u8D56\uFF1A\u5305\u540D\u5230\u7248\u672C\u8303\u56F4\u3002"}],initial:"scripts",caption:"\u70B9\u51FB\u5DE6\u4FA7\u4EFB\u4E00\u9879\u67E5\u770B\u8BF4\u660E\uFF1B\u7528 \u2191 \u2193 \u79FB\u52A8\uFF0C\u2192 \u5C55\u5F00\uFF0C\u2190 \u6536\u8D77\u3002"},version:"1.0.0"},{kind:"card-grid",name:"\u5361\u7247\u5BFC\u822A",description:"\u7528\u5E26\u56FE\u6807\u3001\u6807\u9898\u3001\u8BF4\u660E\u548C\u6807\u7B7E\u7684\u5361\u7247\u7EC4\u7EC7\u5165\u53E3\u6216\u5206\u7C7B\uFF0C\u53EF\u6574\u5361\u94FE\u63A5\uFF0C\u652F\u6301\u7F51\u683C\u4E0E\u7D27\u51D1\u5217\u8868\u4E24\u79CD\u6392\u5217\u3002",defaultData:{columns:3,cards:[{icon:"\u{1F680}",title:"\u5FEB\u901F\u4E0A\u624B",body:"\u5341\u5206\u949F\u5B8C\u6210\u5B89\u88C5\uFF0C\u8DD1\u901A\u7B2C\u4E00\u4E2A\u793A\u4F8B\u3002",tone:"brand",tag:"\u63A8\u8350"},{icon:"\u{1F9ED}",title:"\u6838\u5FC3\u6982\u5FF5",body:"\u4E86\u89E3\u9879\u76EE\u3001\u9875\u9762\u548C\u7EC4\u4EF6\u4E4B\u95F4\u7684\u5173\u7CFB\u3002",tone:"teal"},{icon:"\u{1F6E0}\uFE0F",title:"\u5E38\u89C1\u95EE\u9898",body:"\u5B89\u88C5\u5931\u8D25\u3001\u7AEF\u53E3\u5360\u7528\u548C\u6743\u9650\u95EE\u9898\u7684\u5904\u7406\u529E\u6CD5\u3002",tone:"warm"}]},version:"1.0.0"},{kind:"roadmap",name:"\u8DEF\u7EBF\u56FE",description:"\u6309\u65E5\u671F\u9605\u8BFB\u4E00\u4EFD\u4EE5\u5929\u6216\u5468\u8BA1\u7684\u8BA1\u5212\uFF1A\u5DE5\u4F5C\u6D41\u6CF3\u9053\u3001\u8D1F\u8D23\u4EBA\u989C\u8272\u3001\u72B6\u6001\u3001\u4F9D\u8D56\u4E0E\u91CC\u7A0B\u7891\uFF0C\u53EF\u6309\u8D1F\u8D23\u4EBA\u7A81\u51FA\u5E76\u67E5\u770B\u6BCF\u9879\u7684\u5B8C\u6210\u6807\u51C6\u4E0E\u5B83\u89E3\u9501\u7684\u5DE5\u4F5C\u3002",defaultData:{title:"\u8DEF\u7EBF\u56FE",start:"2026-11-02",end:"2026-11-15",today:"2026-11-04",owners:[{id:"a",label:"\u8D1F\u8D23\u4EBA A",color:"#3b74b8"},{id:"b",label:"\u8D1F\u8D23\u4EBA B",color:"#2f8f6b"}],lanes:[{id:"build",label:"\u5F00\u53D1"},{id:"launch",label:"\u53D1\u5E03"}],items:[{id:"design",lane:"build",owner:"a",title:"\u65B9\u6848\u8BBE\u8BA1",start:"2026-11-02",end:"2026-11-04",status:"done"},{id:"impl",lane:"build",owner:"b",title:"\u5B9E\u73B0\u4E0E\u6D4B\u8BD5",start:"2026-11-05",end:"2026-11-11",status:"active",progress:.3,depends:["design"]},{id:"release",lane:"launch",owner:"a",title:"\u53D1\u5E03\u4E0E\u516C\u544A",start:"2026-11-12",end:"2026-11-13",status:"todo",depends:["impl"],doneWhen:"\u65B0\u7248\u672C\u4E0A\u7EBF\u5E76\u53D1\u51FA\u516C\u544A\u3002"}],milestones:[{date:"2026-11-13",label:"\u4E0A\u7EBF"}]},version:"1.0.0"},{kind:"waterfall",name:"\u7011\u5E03\u6865\u56FE",description:"\u4ECE\u671F\u521D\u503C\u7ECF\u8FC7\u9010\u9879\u589E\u52A0\u4E0E\u51CF\u5C11\u8D70\u5230\u671F\u672B\u503C\uFF0C\u70B9\u51FB\u4EFB\u4E00\u67F1\u5B50\u67E5\u770B\u5B83\u7684\u6784\u6210\u4E0E\u5360\u6BD4\uFF1B\u5404\u9879\u7D2F\u8BA1\u4E0E\u5408\u8BA1\u5BF9\u4E0D\u4E0A\u65F6\u7ED9\u51FA\u63D0\u793A\u3002",defaultData:{title:"\u7011\u5E03\u6865\u56FE",steps:[{id:"start",label:"\u671F\u521D",kind:"total",value:100},{id:"gain",label:"\u589E\u52A0",kind:"up",value:30,breakdown:{title:"\u589E\u52A0\u6765\u6E90",items:[{label:"\u6765\u6E90 A",value:20},{label:"\u6765\u6E90 B",value:10}]}},{id:"loss",label:"\u51CF\u5C11",kind:"down",value:12},{id:"end",label:"\u671F\u672B",kind:"total",value:118}]},version:"1.0.0"},{kind:"event-timeline",name:"\u4E8B\u4EF6\u65F6\u95F4\u7EBF",description:"\u5728\u65F6\u95F4\u8F74\u4E0A\u53E0\u52A0 1\u20133 \u6761\u6307\u6807\u66F2\u7EBF\u3001\u9636\u6BB5\u8272\u5E26\u548C\u4E8B\u4EF6\u6807\u8BB0\uFF0C\u62D6\u52A8\u6216\u70B9\u51FB\u4E8B\u4EF6\u65F6\u66F2\u7EBF\u6E38\u6807\u4E0E\u4E8B\u4EF6\u5217\u8868\u540C\u6B65\u3002",defaultData:{title:"\u4E8B\u4EF6\u65F6\u95F4\u7EBF",axis:{type:"number",start:1,prefix:"\u7B2C ",unit:" \u5929",label:"\u8FDB\u5EA6"},series:[{id:"s1",label:"\u6307\u6807",values:[12,14,13,21,26,24,30]}],kinds:[{id:"change",label:"\u53D8\u66F4",tone:"info"},{id:"result",label:"\u7ED3\u679C",tone:"good"}],events:[{at:1,kind:"change",title:"\u5F00\u59CB\u8C03\u6574",detail:"\u8BF4\u660E\u8FD9\u4E00\u6B65\u505A\u4E86\u4EC0\u4E48\u3002"},{at:3,kind:"change",title:"\u7B2C\u4E8C\u6B21\u8C03\u6574",detail:"\u8BF4\u660E\u4E3A\u4F55\u6307\u6807\u5728\u8FD9\u4E4B\u540E\u4E0A\u5347\u3002"},{at:6,kind:"result",title:"\u8FBE\u5230\u76EE\u6807",detail:"\u8BB0\u5F55\u7ED3\u8BBA\u4E0E\u4F9D\u636E\u3002"}]},version:"1.0.0"}];var zb=[{kind:"page",name:"Page \u9875\u9762",description:"\u6309\u987A\u5E8F\u7EC4\u7EC7\u6587\u5B57\u3001\u56FE\u7247\u548C\u7EC4\u4EF6\uFF0C\u53EF\u5D4C\u5165\u9875\u9762\u6216\u767D\u677F\uFF0C\u4E5F\u53EF\u5C55\u5F00\u7F16\u8F91\u3002",version:"1.0.0",insertion:{nodeType:"surface",surfaceKind:"page"},defaultData:{title:"Page"}},{kind:"board",name:"Board \u767D\u677F",description:"\u5728\u72EC\u7ACB\u7A7A\u95F4\u4E2D\u6446\u653E\u7EC4\u4EF6\u548C\u7ED8\u753B\uFF0C\u53EF\u5D4C\u5165\u9875\u9762\u6216\u5176\u4ED6\u767D\u677F\u3002",version:"1.0.0",insertion:{nodeType:"surface",surfaceKind:"board"},defaultData:{title:"Board"}}];var _2=[{kind:"g2-bar",name:"\u67F1\u72B6\u56FE",description:"\u6BD4\u8F83\u7C7B\u522B\u4E4B\u95F4\u7684\u6570\u503C\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u67F1\u72B6\u56FE",datasets:{main:[{genre:"Sports",sold:275},{genre:"Strategy",sold:115},{genre:"Action",sold:120},{genre:"Shooter",sold:350},{genre:"Other",sold:150}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-line",name:"\u6298\u7EBF\u56FE",description:"\u89C2\u5BDF\u8FDE\u7EED\u53D8\u5316\u4E0E\u8D8B\u52BF\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u6298\u7EBF\u56FE",datasets:{main:[{date:"2007-04-23T00:00:00.000Z",close:93.24},{date:"2007-05-01T00:00:00.000Z",close:99.47},{date:"2007-05-08T00:00:00.000Z",close:105.06},{date:"2007-05-14T00:00:00.000Z",close:107.52},{date:"2007-05-21T00:00:00.000Z",close:113.54},{date:"2007-05-29T00:00:00.000Z",close:118.77},{date:"2007-06-06T00:00:00.000Z",close:123.64},{date:"2007-06-12T00:00:00.000Z",close:117.5},{date:"2007-06-19T00:00:00.000Z",close:121.55},{date:"2007-06-26T00:00:00.000Z",close:121.89},{date:"2007-07-05T00:00:00.000Z",close:132.75},{date:"2007-07-11T00:00:00.000Z",close:134.07},{date:"2007-07-18T00:00:00.000Z",close:140},{date:"2007-07-25T00:00:00.000Z",close:146},{date:"2007-08-02T00:00:00.000Z",close:136.49},{date:"2007-08-09T00:00:00.000Z",close:126.39},{date:"2007-08-15T00:00:00.000Z",close:117.05},{date:"2007-08-22T00:00:00.000Z",close:131.07},{date:"2007-08-29T00:00:00.000Z",close:136.25},{date:"2007-09-07T00:00:00.000Z",close:131.77},{date:"2007-09-13T00:00:00.000Z",close:138.81},{date:"2007-09-20T00:00:00.000Z",close:144.15},{date:"2007-09-27T00:00:00.000Z",close:153.47},{date:"2007-10-05T00:00:00.000Z",close:161.45},{date:"2007-10-11T00:00:00.000Z",close:167.25},{date:"2007-10-18T00:00:00.000Z",close:170.42},{date:"2007-10-25T00:00:00.000Z",close:184.7},{date:"2007-11-02T00:00:00.000Z",close:187.87},{date:"2007-11-09T00:00:00.000Z",close:165.37},{date:"2007-11-15T00:00:00.000Z",close:166.39},{date:"2007-11-25T00:00:00.000Z",close:172.54},{date:"2007-12-03T00:00:00.000Z",close:178.86},{date:"2007-12-09T00:00:00.000Z",close:194.21},{date:"2007-12-16T00:00:00.000Z",close:184.4},{date:"2007-12-23T00:00:00.000Z",close:198.8},{date:"2008-01-02T00:00:00.000Z",close:194.84},{date:"2008-01-09T00:00:00.000Z",close:179.4},{date:"2008-01-15T00:00:00.000Z",close:159.64},{date:"2008-01-23T00:00:00.000Z",close:135.6},{date:"2008-01-30T00:00:00.000Z",close:135.36},{date:"2008-02-07T00:00:00.000Z",close:121.24},{date:"2008-02-13T00:00:00.000Z",close:127.46},{date:"2008-02-21T00:00:00.000Z",close:119.46},{date:"2008-02-28T00:00:00.000Z",close:125.02},{date:"2008-03-07T00:00:00.000Z",close:122.25},{date:"2008-03-13T00:00:00.000Z",close:126.61},{date:"2008-03-23T00:00:00.000Z",close:139.53},{date:"2008-03-30T00:00:00.000Z",close:143.5},{date:"2008-04-07T00:00:00.000Z",close:155.89},{date:"2008-04-13T00:00:00.000Z",close:147.78},{date:"2008-04-20T00:00:00.000Z",close:168.16},{date:"2008-04-27T00:00:00.000Z",close:172.24},{date:"2008-05-05T00:00:00.000Z",close:184.73},{date:"2008-05-11T00:00:00.000Z",close:188.16},{date:"2008-05-18T00:00:00.000Z",close:183.6},{date:"2008-05-26T00:00:00.000Z",close:186.43},{date:"2008-06-03T00:00:00.000Z",close:185.37},{date:"2008-06-09T00:00:00.000Z",close:185.64},{date:"2008-06-16T00:00:00.000Z",close:181.43},{date:"2008-06-23T00:00:00.000Z",close:173.25},{date:"2008-07-01T00:00:00.000Z",close:174.68},{date:"2008-07-09T00:00:00.000Z",close:174.25},{date:"2008-07-15T00:00:00.000Z",close:172.81},{date:"2008-07-22T00:00:00.000Z",close:166.26},{date:"2008-07-29T00:00:00.000Z",close:159.88},{date:"2008-08-06T00:00:00.000Z",close:164.19},{date:"2008-08-12T00:00:00.000Z",close:179.3},{date:"2008-08-19T00:00:00.000Z",close:175.84},{date:"2008-08-26T00:00:00.000Z",close:174.67},{date:"2008-09-04T00:00:00.000Z",close:161.22},{date:"2008-09-10T00:00:00.000Z",close:152.65},{date:"2008-09-17T00:00:00.000Z",close:134.09},{date:"2008-09-24T00:00:00.000Z",close:131.93},{date:"2008-10-02T00:00:00.000Z",close:100.1},{date:"2008-10-09T00:00:00.000Z",close:88.74},{date:"2008-10-15T00:00:00.000Z",close:101.89},{date:"2008-10-22T00:00:00.000Z",close:98.23},{date:"2008-10-29T00:00:00.000Z",close:111.04},{date:"2008-11-06T00:00:00.000Z",close:99.1},{date:"2008-11-12T00:00:00.000Z",close:96.44},{date:"2008-11-19T00:00:00.000Z",close:80.49},{date:"2008-11-26T00:00:00.000Z",close:95},{date:"2008-12-04T00:00:00.000Z",close:91.41},{date:"2008-12-10T00:00:00.000Z",close:95},{date:"2008-12-17T00:00:00.000Z",close:89.43},{date:"2008-12-24T00:00:00.000Z",close:85.04},{date:"2009-01-01T00:00:00.000Z",close:85.35},{date:"2009-01-08T00:00:00.000Z",close:92.7},{date:"2009-01-14T00:00:00.000Z",close:83.38},{date:"2009-01-22T00:00:00.000Z",close:88.36},{date:"2009-01-29T00:00:00.000Z",close:90.13},{date:"2009-02-06T00:00:00.000Z",close:99.72},{date:"2009-02-12T00:00:00.000Z",close:99.16},{date:"2009-02-22T00:00:00.000Z",close:86.95},{date:"2009-03-02T00:00:00.000Z",close:87.94},{date:"2009-03-09T00:00:00.000Z",close:83.11},{date:"2009-03-15T00:00:00.000Z",close:95.42},{date:"2009-03-22T00:00:00.000Z",close:107.66},{date:"2009-03-29T00:00:00.000Z",close:104.49},{date:"2009-04-06T00:00:00.000Z",close:118.45},{date:"2009-04-12T00:00:00.000Z",close:120.22},{date:"2009-04-19T00:00:00.000Z",close:120.5},{date:"2009-04-26T00:00:00.000Z",close:124.73},{date:"2009-05-04T00:00:00.000Z",close:132.07},{date:"2009-05-10T00:00:00.000Z",close:129.57},{date:"2009-05-17T00:00:00.000Z",close:126.65},{date:"2009-05-25T00:00:00.000Z",close:130.78},{date:"2009-06-02T00:00:00.000Z",close:139.49},{date:"2009-06-09T00:00:00.000Z",close:142.72},{date:"2009-06-15T00:00:00.000Z",close:136.35},{date:"2009-06-22T00:00:00.000Z",close:134.01},{date:"2009-06-29T00:00:00.000Z",close:142.43},{date:"2009-07-07T00:00:00.000Z",close:135.4},{date:"2009-07-13T00:00:00.000Z",close:142.27},{date:"2009-07-20T00:00:00.000Z",close:151.51},{date:"2009-07-27T00:00:00.000Z",close:160},{date:"2009-08-04T00:00:00.000Z",close:165.55},{date:"2009-08-11T00:00:00.000Z",close:165.31},{date:"2009-08-18T00:00:00.000Z",close:164.6},{date:"2009-08-25T00:00:00.000Z",close:167.41},{date:"2009-09-02T00:00:00.000Z",close:165.18},{date:"2009-09-09T00:00:00.000Z",close:172.56},{date:"2009-09-16T00:00:00.000Z",close:184.55},{date:"2009-09-23T00:00:00.000Z",close:183.82},{date:"2009-10-01T00:00:00.000Z",close:180.86},{date:"2009-10-08T00:00:00.000Z",close:189.27},{date:"2009-10-14T00:00:00.000Z",close:190.56},{date:"2009-10-21T00:00:00.000Z",close:205.2},{date:"2009-10-28T00:00:00.000Z",close:196.35},{date:"2009-11-05T00:00:00.000Z",close:194.03},{date:"2009-11-11T00:00:00.000Z",close:201.99},{date:"2009-11-18T00:00:00.000Z",close:200.51},{date:"2009-11-25T00:00:00.000Z",close:204.19},{date:"2009-12-03T00:00:00.000Z",close:196.48},{date:"2009-12-09T00:00:00.000Z",close:196.43},{date:"2009-12-16T00:00:00.000Z",close:191.86},{date:"2009-12-23T00:00:00.000Z",close:209.04},{date:"2009-12-30T00:00:00.000Z",close:210.73},{date:"2010-01-07T00:00:00.000Z",close:210.58},{date:"2010-01-13T00:00:00.000Z",close:209.43},{date:"2010-01-20T00:00:00.000Z",close:208.07},{date:"2010-01-27T00:00:00.000Z",close:199.29},{date:"2010-02-04T00:00:00.000Z",close:192.05},{date:"2010-02-10T00:00:00.000Z",close:198.67},{date:"2010-02-17T00:00:00.000Z",close:202.93},{date:"2010-02-24T00:00:00.000Z",close:202},{date:"2010-03-04T00:00:00.000Z",close:210.71},{date:"2010-03-10T00:00:00.000Z",close:225.5},{date:"2010-03-17T00:00:00.000Z",close:224.65},{date:"2010-03-24T00:00:00.000Z",close:226.65},{date:"2010-04-01T00:00:00.000Z",close:235.97},{date:"2010-04-08T00:00:00.000Z",close:239.95},{date:"2010-04-14T00:00:00.000Z",close:248.92},{date:"2010-04-21T00:00:00.000Z",close:266.47},{date:"2010-04-28T00:00:00.000Z",close:268.64},{date:"2010-05-06T00:00:00.000Z",close:246.25},{date:"2010-05-12T00:00:00.000Z",close:258.36},{date:"2010-05-19T00:00:00.000Z",close:237.76},{date:"2010-05-26T00:00:00.000Z",close:253.35},{date:"2010-06-03T00:00:00.000Z",close:263.12},{date:"2010-06-09T00:00:00.000Z",close:250.51},{date:"2010-06-16T00:00:00.000Z",close:271.87},{date:"2010-06-23T00:00:00.000Z",close:269},{date:"2010-07-01T00:00:00.000Z",close:248.48},{date:"2010-07-08T00:00:00.000Z",close:258.09},{date:"2010-07-14T00:00:00.000Z",close:251.45},{date:"2010-07-21T00:00:00.000Z",close:259.02},{date:"2010-07-28T00:00:00.000Z",close:258.11},{date:"2010-08-05T00:00:00.000Z",close:261.7},{date:"2010-08-11T00:00:00.000Z",close:251.79},{date:"2010-08-18T00:00:00.000Z",close:249.88},{date:"2010-08-25T00:00:00.000Z",close:240.28},{date:"2010-09-02T00:00:00.000Z",close:252.17},{date:"2010-09-09T00:00:00.000Z",close:263.07},{date:"2010-09-15T00:00:00.000Z",close:276.57},{date:"2010-09-22T00:00:00.000Z",close:288.92},{date:"2010-09-29T00:00:00.000Z",close:283.75},{date:"2010-10-07T00:00:00.000Z",close:289.22},{date:"2010-10-13T00:00:00.000Z",close:302.31},{date:"2010-10-20T00:00:00.000Z",close:309.52},{date:"2010-10-27T00:00:00.000Z",close:305.24},{date:"2010-11-04T00:00:00.000Z",close:318.27},{date:"2010-11-10T00:00:00.000Z",close:316.66},{date:"2010-11-17T00:00:00.000Z",close:308.43},{date:"2010-11-25T00:00:00.000Z",close:315},{date:"2010-12-03T00:00:00.000Z",close:317.44},{date:"2010-12-09T00:00:00.000Z",close:320.56},{date:"2010-12-16T00:00:00.000Z",close:320.61},{date:"2010-12-26T00:00:00.000Z",close:324.68},{date:"2011-01-03T00:00:00.000Z",close:329.57},{date:"2011-01-09T00:00:00.000Z",close:342.46},{date:"2011-01-17T00:00:00.000Z",close:340.65},{date:"2011-01-24T00:00:00.000Z",close:341.4},{date:"2011-02-01T00:00:00.000Z",close:345.03},{date:"2011-02-08T00:00:00.000Z",close:355.2},{date:"2011-02-14T00:00:00.000Z",close:359.9},{date:"2011-02-22T00:00:00.000Z",close:342.62},{date:"2011-03-02T00:00:00.000Z",close:352.12},{date:"2011-03-09T00:00:00.000Z",close:352.47},{date:"2011-03-15T00:00:00.000Z",close:330.01},{date:"2011-03-22T00:00:00.000Z",close:339.19},{date:"2011-03-29T00:00:00.000Z",close:348.63},{date:"2011-04-06T00:00:00.000Z",close:338.04},{date:"2011-04-12T00:00:00.000Z",close:336.13},{date:"2011-04-19T00:00:00.000Z",close:342.41},{date:"2011-04-27T00:00:00.000Z",close:346.75},{date:"2011-05-05T00:00:00.000Z",close:346.75},{date:"2011-05-11T00:00:00.000Z",close:346.57},{date:"2011-05-18T00:00:00.000Z",close:340.53},{date:"2011-05-25T00:00:00.000Z",close:335},{date:"2011-06-03T00:00:00.000Z",close:343.44},{date:"2011-06-09T00:00:00.000Z",close:325.9},{date:"2011-06-16T00:00:00.000Z",close:320.26},{date:"2011-06-23T00:00:00.000Z",close:326.35},{date:"2011-07-01T00:00:00.000Z",close:343.26},{date:"2011-07-10T00:00:00.000Z",close:354},{date:"2011-07-17T00:00:00.000Z",close:373.8},{date:"2011-07-24T00:00:00.000Z",close:398.5},{date:"2011-08-01T00:00:00.000Z",close:396.75},{date:"2011-08-08T00:00:00.000Z",close:353.21},{date:"2011-08-14T00:00:00.000Z",close:383.41},{date:"2011-08-21T00:00:00.000Z",close:356.44},{date:"2011-08-28T00:00:00.000Z",close:389.97},{date:"2011-09-06T00:00:00.000Z",close:379.74},{date:"2011-09-12T00:00:00.000Z",close:384.62},{date:"2011-09-19T00:00:00.000Z",close:413.45},{date:"2011-09-26T00:00:00.000Z",close:399.26},{date:"2011-10-04T00:00:00.000Z",close:372.5},{date:"2011-10-10T00:00:00.000Z",close:400.29},{date:"2011-10-17T00:00:00.000Z",close:422.24},{date:"2011-10-24T00:00:00.000Z",close:397.77},{date:"2011-11-01T00:00:00.000Z",close:396.51},{date:"2011-11-08T00:00:00.000Z",close:406.23},{date:"2011-11-14T00:00:00.000Z",close:388.83},{date:"2011-11-21T00:00:00.000Z",close:376.51},{date:"2011-11-29T00:00:00.000Z",close:382.2},{date:"2011-12-07T00:00:00.000Z",close:389.09},{date:"2011-12-13T00:00:00.000Z",close:380.19},{date:"2011-12-20T00:00:00.000Z",close:396.44},{date:"2011-12-28T00:00:00.000Z",close:405.12},{date:"2012-01-06T00:00:00.000Z",close:422.4},{date:"2012-01-12T00:00:00.000Z",close:419.81},{date:"2012-01-22T00:00:00.000Z",close:427.41},{date:"2012-01-29T00:00:00.000Z",close:453.01},{date:"2012-02-06T00:00:00.000Z",close:463.97},{date:"2012-02-12T00:00:00.000Z",close:502.6},{date:"2012-02-20T00:00:00.000Z",close:514.85},{date:"2012-02-27T00:00:00.000Z",close:535.41},{date:"2012-03-06T00:00:00.000Z",close:530.26},{date:"2012-03-12T00:00:00.000Z",close:568.1},{date:"2012-03-19T00:00:00.000Z",close:605.96},{date:"2012-03-26T00:00:00.000Z",close:614.48},{date:"2012-04-03T00:00:00.000Z",close:629.32},{date:"2012-04-10T00:00:00.000Z",close:626.2},{date:"2012-04-17T00:00:00.000Z",close:608.34},{date:"2012-04-24T00:00:00.000Z",close:610},{date:"2012-05-01T00:00:00.000Z",close:582.13}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-area",name:"\u9762\u79EF\u56FE",description:"\u901A\u8FC7\u586B\u5145\u9762\u79EF\u5F3A\u8C03\u8D8B\u52BF\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u9762\u79EF\u56FE",datasets:{main:[{date:"2007-04-23T00:00:00.000Z",close:93.24},{date:"2007-05-01T00:00:00.000Z",close:99.47},{date:"2007-05-08T00:00:00.000Z",close:105.06},{date:"2007-05-14T00:00:00.000Z",close:107.52},{date:"2007-05-21T00:00:00.000Z",close:113.54},{date:"2007-05-29T00:00:00.000Z",close:118.77},{date:"2007-06-06T00:00:00.000Z",close:123.64},{date:"2007-06-12T00:00:00.000Z",close:117.5},{date:"2007-06-19T00:00:00.000Z",close:121.55},{date:"2007-06-26T00:00:00.000Z",close:121.89},{date:"2007-07-05T00:00:00.000Z",close:132.75},{date:"2007-07-11T00:00:00.000Z",close:134.07},{date:"2007-07-18T00:00:00.000Z",close:140},{date:"2007-07-25T00:00:00.000Z",close:146},{date:"2007-08-02T00:00:00.000Z",close:136.49},{date:"2007-08-09T00:00:00.000Z",close:126.39},{date:"2007-08-15T00:00:00.000Z",close:117.05},{date:"2007-08-22T00:00:00.000Z",close:131.07},{date:"2007-08-29T00:00:00.000Z",close:136.25},{date:"2007-09-07T00:00:00.000Z",close:131.77},{date:"2007-09-13T00:00:00.000Z",close:138.81},{date:"2007-09-20T00:00:00.000Z",close:144.15},{date:"2007-09-27T00:00:00.000Z",close:153.47},{date:"2007-10-05T00:00:00.000Z",close:161.45},{date:"2007-10-11T00:00:00.000Z",close:167.25},{date:"2007-10-18T00:00:00.000Z",close:170.42},{date:"2007-10-25T00:00:00.000Z",close:184.7},{date:"2007-11-02T00:00:00.000Z",close:187.87},{date:"2007-11-09T00:00:00.000Z",close:165.37},{date:"2007-11-15T00:00:00.000Z",close:166.39},{date:"2007-11-25T00:00:00.000Z",close:172.54},{date:"2007-12-03T00:00:00.000Z",close:178.86},{date:"2007-12-09T00:00:00.000Z",close:194.21},{date:"2007-12-16T00:00:00.000Z",close:184.4},{date:"2007-12-23T00:00:00.000Z",close:198.8},{date:"2008-01-02T00:00:00.000Z",close:194.84},{date:"2008-01-09T00:00:00.000Z",close:179.4},{date:"2008-01-15T00:00:00.000Z",close:159.64},{date:"2008-01-23T00:00:00.000Z",close:135.6},{date:"2008-01-30T00:00:00.000Z",close:135.36},{date:"2008-02-07T00:00:00.000Z",close:121.24},{date:"2008-02-13T00:00:00.000Z",close:127.46},{date:"2008-02-21T00:00:00.000Z",close:119.46},{date:"2008-02-28T00:00:00.000Z",close:125.02},{date:"2008-03-07T00:00:00.000Z",close:122.25},{date:"2008-03-13T00:00:00.000Z",close:126.61},{date:"2008-03-23T00:00:00.000Z",close:139.53},{date:"2008-03-30T00:00:00.000Z",close:143.5},{date:"2008-04-07T00:00:00.000Z",close:155.89},{date:"2008-04-13T00:00:00.000Z",close:147.78},{date:"2008-04-20T00:00:00.000Z",close:168.16},{date:"2008-04-27T00:00:00.000Z",close:172.24},{date:"2008-05-05T00:00:00.000Z",close:184.73},{date:"2008-05-11T00:00:00.000Z",close:188.16},{date:"2008-05-18T00:00:00.000Z",close:183.6},{date:"2008-05-26T00:00:00.000Z",close:186.43},{date:"2008-06-03T00:00:00.000Z",close:185.37},{date:"2008-06-09T00:00:00.000Z",close:185.64},{date:"2008-06-16T00:00:00.000Z",close:181.43},{date:"2008-06-23T00:00:00.000Z",close:173.25},{date:"2008-07-01T00:00:00.000Z",close:174.68},{date:"2008-07-09T00:00:00.000Z",close:174.25},{date:"2008-07-15T00:00:00.000Z",close:172.81},{date:"2008-07-22T00:00:00.000Z",close:166.26},{date:"2008-07-29T00:00:00.000Z",close:159.88},{date:"2008-08-06T00:00:00.000Z",close:164.19},{date:"2008-08-12T00:00:00.000Z",close:179.3},{date:"2008-08-19T00:00:00.000Z",close:175.84},{date:"2008-08-26T00:00:00.000Z",close:174.67},{date:"2008-09-04T00:00:00.000Z",close:161.22},{date:"2008-09-10T00:00:00.000Z",close:152.65},{date:"2008-09-17T00:00:00.000Z",close:134.09},{date:"2008-09-24T00:00:00.000Z",close:131.93},{date:"2008-10-02T00:00:00.000Z",close:100.1},{date:"2008-10-09T00:00:00.000Z",close:88.74},{date:"2008-10-15T00:00:00.000Z",close:101.89},{date:"2008-10-22T00:00:00.000Z",close:98.23},{date:"2008-10-29T00:00:00.000Z",close:111.04},{date:"2008-11-06T00:00:00.000Z",close:99.1},{date:"2008-11-12T00:00:00.000Z",close:96.44},{date:"2008-11-19T00:00:00.000Z",close:80.49},{date:"2008-11-26T00:00:00.000Z",close:95},{date:"2008-12-04T00:00:00.000Z",close:91.41},{date:"2008-12-10T00:00:00.000Z",close:95},{date:"2008-12-17T00:00:00.000Z",close:89.43},{date:"2008-12-24T00:00:00.000Z",close:85.04},{date:"2009-01-01T00:00:00.000Z",close:85.35},{date:"2009-01-08T00:00:00.000Z",close:92.7},{date:"2009-01-14T00:00:00.000Z",close:83.38},{date:"2009-01-22T00:00:00.000Z",close:88.36},{date:"2009-01-29T00:00:00.000Z",close:90.13},{date:"2009-02-06T00:00:00.000Z",close:99.72},{date:"2009-02-12T00:00:00.000Z",close:99.16},{date:"2009-02-22T00:00:00.000Z",close:86.95},{date:"2009-03-02T00:00:00.000Z",close:87.94},{date:"2009-03-09T00:00:00.000Z",close:83.11},{date:"2009-03-15T00:00:00.000Z",close:95.42},{date:"2009-03-22T00:00:00.000Z",close:107.66},{date:"2009-03-29T00:00:00.000Z",close:104.49},{date:"2009-04-06T00:00:00.000Z",close:118.45},{date:"2009-04-12T00:00:00.000Z",close:120.22},{date:"2009-04-19T00:00:00.000Z",close:120.5},{date:"2009-04-26T00:00:00.000Z",close:124.73},{date:"2009-05-04T00:00:00.000Z",close:132.07},{date:"2009-05-10T00:00:00.000Z",close:129.57},{date:"2009-05-17T00:00:00.000Z",close:126.65},{date:"2009-05-25T00:00:00.000Z",close:130.78},{date:"2009-06-02T00:00:00.000Z",close:139.49},{date:"2009-06-09T00:00:00.000Z",close:142.72},{date:"2009-06-15T00:00:00.000Z",close:136.35},{date:"2009-06-22T00:00:00.000Z",close:134.01},{date:"2009-06-29T00:00:00.000Z",close:142.43},{date:"2009-07-07T00:00:00.000Z",close:135.4},{date:"2009-07-13T00:00:00.000Z",close:142.27},{date:"2009-07-20T00:00:00.000Z",close:151.51},{date:"2009-07-27T00:00:00.000Z",close:160},{date:"2009-08-04T00:00:00.000Z",close:165.55},{date:"2009-08-11T00:00:00.000Z",close:165.31},{date:"2009-08-18T00:00:00.000Z",close:164.6},{date:"2009-08-25T00:00:00.000Z",close:167.41},{date:"2009-09-02T00:00:00.000Z",close:165.18},{date:"2009-09-09T00:00:00.000Z",close:172.56},{date:"2009-09-16T00:00:00.000Z",close:184.55},{date:"2009-09-23T00:00:00.000Z",close:183.82},{date:"2009-10-01T00:00:00.000Z",close:180.86},{date:"2009-10-08T00:00:00.000Z",close:189.27},{date:"2009-10-14T00:00:00.000Z",close:190.56},{date:"2009-10-21T00:00:00.000Z",close:205.2},{date:"2009-10-28T00:00:00.000Z",close:196.35},{date:"2009-11-05T00:00:00.000Z",close:194.03},{date:"2009-11-11T00:00:00.000Z",close:201.99},{date:"2009-11-18T00:00:00.000Z",close:200.51},{date:"2009-11-25T00:00:00.000Z",close:204.19},{date:"2009-12-03T00:00:00.000Z",close:196.48},{date:"2009-12-09T00:00:00.000Z",close:196.43},{date:"2009-12-16T00:00:00.000Z",close:191.86},{date:"2009-12-23T00:00:00.000Z",close:209.04},{date:"2009-12-30T00:00:00.000Z",close:210.73},{date:"2010-01-07T00:00:00.000Z",close:210.58},{date:"2010-01-13T00:00:00.000Z",close:209.43},{date:"2010-01-20T00:00:00.000Z",close:208.07},{date:"2010-01-27T00:00:00.000Z",close:199.29},{date:"2010-02-04T00:00:00.000Z",close:192.05},{date:"2010-02-10T00:00:00.000Z",close:198.67},{date:"2010-02-17T00:00:00.000Z",close:202.93},{date:"2010-02-24T00:00:00.000Z",close:202},{date:"2010-03-04T00:00:00.000Z",close:210.71},{date:"2010-03-10T00:00:00.000Z",close:225.5},{date:"2010-03-17T00:00:00.000Z",close:224.65},{date:"2010-03-24T00:00:00.000Z",close:226.65},{date:"2010-04-01T00:00:00.000Z",close:235.97},{date:"2010-04-08T00:00:00.000Z",close:239.95},{date:"2010-04-14T00:00:00.000Z",close:248.92},{date:"2010-04-21T00:00:00.000Z",close:266.47},{date:"2010-04-28T00:00:00.000Z",close:268.64},{date:"2010-05-06T00:00:00.000Z",close:246.25},{date:"2010-05-12T00:00:00.000Z",close:258.36},{date:"2010-05-19T00:00:00.000Z",close:237.76},{date:"2010-05-26T00:00:00.000Z",close:253.35},{date:"2010-06-03T00:00:00.000Z",close:263.12},{date:"2010-06-09T00:00:00.000Z",close:250.51},{date:"2010-06-16T00:00:00.000Z",close:271.87},{date:"2010-06-23T00:00:00.000Z",close:269},{date:"2010-07-01T00:00:00.000Z",close:248.48},{date:"2010-07-08T00:00:00.000Z",close:258.09},{date:"2010-07-14T00:00:00.000Z",close:251.45},{date:"2010-07-21T00:00:00.000Z",close:259.02},{date:"2010-07-28T00:00:00.000Z",close:258.11},{date:"2010-08-05T00:00:00.000Z",close:261.7},{date:"2010-08-11T00:00:00.000Z",close:251.79},{date:"2010-08-18T00:00:00.000Z",close:249.88},{date:"2010-08-25T00:00:00.000Z",close:240.28},{date:"2010-09-02T00:00:00.000Z",close:252.17},{date:"2010-09-09T00:00:00.000Z",close:263.07},{date:"2010-09-15T00:00:00.000Z",close:276.57},{date:"2010-09-22T00:00:00.000Z",close:288.92},{date:"2010-09-29T00:00:00.000Z",close:283.75},{date:"2010-10-07T00:00:00.000Z",close:289.22},{date:"2010-10-13T00:00:00.000Z",close:302.31},{date:"2010-10-20T00:00:00.000Z",close:309.52},{date:"2010-10-27T00:00:00.000Z",close:305.24},{date:"2010-11-04T00:00:00.000Z",close:318.27},{date:"2010-11-10T00:00:00.000Z",close:316.66},{date:"2010-11-17T00:00:00.000Z",close:308.43},{date:"2010-11-25T00:00:00.000Z",close:315},{date:"2010-12-03T00:00:00.000Z",close:317.44},{date:"2010-12-09T00:00:00.000Z",close:320.56},{date:"2010-12-16T00:00:00.000Z",close:320.61},{date:"2010-12-26T00:00:00.000Z",close:324.68},{date:"2011-01-03T00:00:00.000Z",close:329.57},{date:"2011-01-09T00:00:00.000Z",close:342.46},{date:"2011-01-17T00:00:00.000Z",close:340.65},{date:"2011-01-24T00:00:00.000Z",close:341.4},{date:"2011-02-01T00:00:00.000Z",close:345.03},{date:"2011-02-08T00:00:00.000Z",close:355.2},{date:"2011-02-14T00:00:00.000Z",close:359.9},{date:"2011-02-22T00:00:00.000Z",close:342.62},{date:"2011-03-02T00:00:00.000Z",close:352.12},{date:"2011-03-09T00:00:00.000Z",close:352.47},{date:"2011-03-15T00:00:00.000Z",close:330.01},{date:"2011-03-22T00:00:00.000Z",close:339.19},{date:"2011-03-29T00:00:00.000Z",close:348.63},{date:"2011-04-06T00:00:00.000Z",close:338.04},{date:"2011-04-12T00:00:00.000Z",close:336.13},{date:"2011-04-19T00:00:00.000Z",close:342.41},{date:"2011-04-27T00:00:00.000Z",close:346.75},{date:"2011-05-05T00:00:00.000Z",close:346.75},{date:"2011-05-11T00:00:00.000Z",close:346.57},{date:"2011-05-18T00:00:00.000Z",close:340.53},{date:"2011-05-25T00:00:00.000Z",close:335},{date:"2011-06-03T00:00:00.000Z",close:343.44},{date:"2011-06-09T00:00:00.000Z",close:325.9},{date:"2011-06-16T00:00:00.000Z",close:320.26},{date:"2011-06-23T00:00:00.000Z",close:326.35},{date:"2011-07-01T00:00:00.000Z",close:343.26},{date:"2011-07-10T00:00:00.000Z",close:354},{date:"2011-07-17T00:00:00.000Z",close:373.8},{date:"2011-07-24T00:00:00.000Z",close:398.5},{date:"2011-08-01T00:00:00.000Z",close:396.75},{date:"2011-08-08T00:00:00.000Z",close:353.21},{date:"2011-08-14T00:00:00.000Z",close:383.41},{date:"2011-08-21T00:00:00.000Z",close:356.44},{date:"2011-08-28T00:00:00.000Z",close:389.97},{date:"2011-09-06T00:00:00.000Z",close:379.74},{date:"2011-09-12T00:00:00.000Z",close:384.62},{date:"2011-09-19T00:00:00.000Z",close:413.45},{date:"2011-09-26T00:00:00.000Z",close:399.26},{date:"2011-10-04T00:00:00.000Z",close:372.5},{date:"2011-10-10T00:00:00.000Z",close:400.29},{date:"2011-10-17T00:00:00.000Z",close:422.24},{date:"2011-10-24T00:00:00.000Z",close:397.77},{date:"2011-11-01T00:00:00.000Z",close:396.51},{date:"2011-11-08T00:00:00.000Z",close:406.23},{date:"2011-11-14T00:00:00.000Z",close:388.83},{date:"2011-11-21T00:00:00.000Z",close:376.51},{date:"2011-11-29T00:00:00.000Z",close:382.2},{date:"2011-12-07T00:00:00.000Z",close:389.09},{date:"2011-12-13T00:00:00.000Z",close:380.19},{date:"2011-12-20T00:00:00.000Z",close:396.44},{date:"2011-12-28T00:00:00.000Z",close:405.12},{date:"2012-01-06T00:00:00.000Z",close:422.4},{date:"2012-01-12T00:00:00.000Z",close:419.81},{date:"2012-01-22T00:00:00.000Z",close:427.41},{date:"2012-01-29T00:00:00.000Z",close:453.01},{date:"2012-02-06T00:00:00.000Z",close:463.97},{date:"2012-02-12T00:00:00.000Z",close:502.6},{date:"2012-02-20T00:00:00.000Z",close:514.85},{date:"2012-02-27T00:00:00.000Z",close:535.41},{date:"2012-03-06T00:00:00.000Z",close:530.26},{date:"2012-03-12T00:00:00.000Z",close:568.1},{date:"2012-03-19T00:00:00.000Z",close:605.96},{date:"2012-03-26T00:00:00.000Z",close:614.48},{date:"2012-04-03T00:00:00.000Z",close:629.32},{date:"2012-04-10T00:00:00.000Z",close:626.2},{date:"2012-04-17T00:00:00.000Z",close:608.34},{date:"2012-04-24T00:00:00.000Z",close:610},{date:"2012-05-01T00:00:00.000Z",close:582.13}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-scatter-plot",name:"\u6563\u70B9\u56FE",description:"\u89C2\u5BDF\u53D8\u91CF\u5173\u7CFB\u4E0E\u79BB\u7FA4\u70B9\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u6563\u70B9\u56FE",datasets:{main:[{height:161,weight:50},{height:167,weight:55},{height:171,weight:63},{height:174,weight:58},{height:176,weight:65},{height:178,weight:70},{height:180,weight:72},{height:182,weight:75},{height:185,weight:78},{height:188,weight:82}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-bubble-chart",name:"\u6C14\u6CE1\u56FE",description:"\u7528\u6C14\u6CE1\u5927\u5C0F\u589E\u52A0\u4E00\u4E2A\u6570\u503C\u7EF4\u5EA6\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u6C14\u6CE1\u56FE",datasets:{main:[{continent:"Americas",Country:"Argentina",LifeExpectancy:75.32,GDP:12779.37964,Population:40301927},{continent:"Americas",Country:"Brazil",LifeExpectancy:72.39,GDP:9065.800825,Population:190010647},{continent:"Americas",Country:"Canada",LifeExpectancy:80.653,GDP:36319.23501,Population:33390141},{continent:"Americas",Country:"Chile",LifeExpectancy:78.553,GDP:13171.63885,Population:16284741},{continent:"Americas",Country:"Colombia",LifeExpectancy:72.889,GDP:7006.580419,Population:44227550},{continent:"Americas",Country:"Costa Rica",LifeExpectancy:78.782,GDP:9645.06142,Population:4133884},{continent:"Americas",Country:"Cuba",LifeExpectancy:78.273,GDP:8948.102923,Population:11416987},{continent:"Americas",Country:"Dominican Republic",LifeExpectancy:72.235,GDP:6025.374752,Population:9319622},{continent:"Americas",Country:"Ecuador",LifeExpectancy:74.994,GDP:6873.262326,Population:13755680},{continent:"Americas",Country:"El Salvador",LifeExpectancy:71.878,GDP:5728.353514,Population:6939688},{continent:"Americas",Country:"Guatemala",LifeExpectancy:70.259,GDP:5186.050003,Population:12572928},{continent:"Americas",Country:"Honduras",LifeExpectancy:70.198,GDP:3548.330846,Population:7483763},{continent:"Americas",Country:"Jamaica",LifeExpectancy:72.567,GDP:7320.880262,Population:2780132},{continent:"Americas",Country:"Mexico",LifeExpectancy:76.195,GDP:11977.57496,Population:108700891},{continent:"Americas",Country:"Nicaragua",LifeExpectancy:72.899,GDP:2749.320965,Population:5675356},{continent:"Americas",Country:"Panama",LifeExpectancy:75.537,GDP:9809.185636,Population:3242173},{continent:"Americas",Country:"Paraguay",LifeExpectancy:71.752,GDP:4172.838464,Population:6667147},{continent:"Americas",Country:"Peru",LifeExpectancy:71.421,GDP:7408.905561,Population:28674757},{continent:"Americas",Country:"Puerto Rico",LifeExpectancy:78.746,GDP:19328.70901,Population:3942491},{continent:"Americas",Country:"Trinidad and Tobago",LifeExpectancy:69.819,GDP:18008.50924,Population:1056608},{continent:"Americas",Country:"United States",LifeExpectancy:78.242,GDP:42951.65309,Population:301139947},{continent:"Americas",Country:"Uruguay",LifeExpectancy:76.384,GDP:10611.46299,Population:3447496},{continent:"Americas",Country:"Venezuela",LifeExpectancy:73.747,GDP:11415.80569,Population:26084662},{continent:"Asia",Country:"China",LifeExpectancy:72.961,GDP:4959.114854,Population:1318683096},{continent:"Asia",Country:"Hong Kong, China",LifeExpectancy:82.208,GDP:39724.97867,Population:6980412},{continent:"Asia",Country:"Japan",LifeExpectancy:82.603,GDP:31656.06806,Population:127467972},{continent:"Asia",Country:"Korea, Dem. Rep.",LifeExpectancy:67.297,GDP:1593.06548,Population:23301725},{continent:"Asia",Country:"Korea, Rep.",LifeExpectancy:78.623,GDP:23348.13973,Population:49044790},{continent:"Europe",Country:"Albania",LifeExpectancy:76.423,GDP:5937.029526,Population:3600523},{continent:"Europe",Country:"Austria",LifeExpectancy:79.829,GDP:36126.4927,Population:8199783},{continent:"Europe",Country:"Belgium",LifeExpectancy:79.441,GDP:33692.60508,Population:10392226},{continent:"Europe",Country:"Bosnia and Herzegovina",LifeExpectancy:74.852,GDP:7446.298803,Population:4552198},{continent:"Europe",Country:"Bulgaria",LifeExpectancy:73.005,GDP:10680.79282,Population:7322858},{continent:"Europe",Country:"Croatia",LifeExpectancy:75.748,GDP:14619.22272,Population:4493312},{continent:"Europe",Country:"Czech Republic",LifeExpectancy:76.486,GDP:22833.30851,Population:10228744},{continent:"Europe",Country:"Denmark",LifeExpectancy:78.332,GDP:35278.41874,Population:5468120},{continent:"Europe",Country:"Finland",LifeExpectancy:79.313,GDP:33207.0844,Population:5238460},{continent:"Europe",Country:"France",LifeExpectancy:80.657,GDP:30470.0167,Population:61083916},{continent:"Europe",Country:"Germany",LifeExpectancy:79.406,GDP:32170.37442,Population:82400996},{continent:"Europe",Country:"Greece",LifeExpectancy:79.483,GDP:27538.41188,Population:10706290},{continent:"Europe",Country:"Hungary",LifeExpectancy:73.338,GDP:18008.94444,Population:9956108},{continent:"Europe",Country:"Iceland",LifeExpectancy:81.757,GDP:36180.78919,Population:301931},{continent:"Europe",Country:"Ireland",LifeExpectancy:78.885,GDP:40675.99635,Population:4109086},{continent:"Europe",Country:"Italy",LifeExpectancy:80.546,GDP:28569.7197,Population:58147733},{continent:"Europe",Country:"Montenegro",LifeExpectancy:74.543,GDP:9253.896111,Population:684736},{continent:"Europe",Country:"Netherlands",LifeExpectancy:79.762,GDP:36797.93332,Population:16570613},{continent:"Europe",Country:"Norway",LifeExpectancy:80.196,GDP:49357.19017,Population:4627926},{continent:"Europe",Country:"Poland",LifeExpectancy:75.563,GDP:15389.92468,Population:38518241},{continent:"Europe",Country:"Portugal",LifeExpectancy:78.098,GDP:20509.64777,Population:10642836},{continent:"Europe",Country:"Romania",LifeExpectancy:72.476,GDP:10808.47561,Population:22276056},{continent:"Europe",Country:"Serbia",LifeExpectancy:74.002,GDP:9786.534714,Population:10150265},{continent:"Europe",Country:"Slovak Republic",LifeExpectancy:74.663,GDP:18678.31435,Population:5447502},{continent:"Europe",Country:"Slovenia",LifeExpectancy:77.926,GDP:25768.25759,Population:2009245},{continent:"Europe",Country:"Spain",LifeExpectancy:80.941,GDP:28821.0637,Population:40448191},{continent:"Europe",Country:"Sweden",LifeExpectancy:80.884,GDP:33859.74835,Population:9031088},{continent:"Europe",Country:"Switzerland",LifeExpectancy:81.701,GDP:37506.41907,Population:7554661},{continent:"Europe",Country:"Turkey",LifeExpectancy:71.777,GDP:8458.276384,Population:71158647},{continent:"Europe",Country:"United Kingdom",LifeExpectancy:79.425,GDP:33203.26128,Population:60776238},{continent:"Oceania",Country:"Australia",LifeExpectancy:81.235,GDP:34435.36744,Population:20434176},{continent:"Oceania",Country:"New Zealand",LifeExpectancy:80.204,GDP:25185.00911,Population:4115771}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-multi-set-bar",name:"\u5206\u7EC4\u67F1\u72B6\u56FE",description:"\u5E76\u6392\u6BD4\u8F83\u4E0D\u540C\u7CFB\u5217\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u5206\u7EC4\u67F1\u72B6\u56FE",datasets:{main:[{year:"2001",genre:"Sports",sold:27500},{year:"2001",genre:"Strategy",sold:11500},{year:"2001",genre:"Action",sold:6e3},{year:"2001",genre:"Shooter",sold:3500},{year:"2001",genre:"Other",sold:1500},{year:"2002",genre:"Sports",sold:29500},{year:"2002",genre:"Strategy",sold:10500},{year:"2002",genre:"Action",sold:8e3},{year:"2002",genre:"Shooter",sold:4500},{year:"2002",genre:"Other",sold:1800},{year:"2003",genre:"Sports",sold:30500},{year:"2003",genre:"Strategy",sold:12500},{year:"2003",genre:"Action",sold:4e3},{year:"2003",genre:"Shooter",sold:6500},{year:"2003",genre:"Other",sold:2e3}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-bi-directional-bar",name:"\u53CC\u5411\u6761\u5F62\u56FE",description:"\u5411\u4E24\u4FA7\u6BD4\u8F83\u6B63\u8D1F\u6216\u4E24\u7EC4\u6570\u636E\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u53CC\u5411\u6761\u5F62\u56FE",datasets:{main:[{department:"Dept 0",group:"Group0",people:37,type:"completed"},{department:"Dept 0",group:"Group0",people:9,type:"uncompleted"},{department:"Dept 0",group:"Group1",people:27,type:"completed"},{department:"Dept 0",group:"Group1",people:10,type:"uncompleted"},{department:"Dept 1",group:"Group2",people:37,type:"completed"},{department:"Dept 1",group:"Group2",people:19,type:"uncompleted"},{department:"Dept 1",group:"Group3",people:37,type:"completed"},{department:"Dept 1",group:"Group3",people:29,type:"uncompleted"},{department:"Dept 2",group:"Group4",people:20,type:"completed"},{department:"Dept 2",group:"Group4",people:2,type:"uncompleted"},{department:"Dept 2",group:"Group5",people:40,type:"completed"},{department:"Dept 2",group:"Group5",people:10,type:"uncompleted"},{department:"Dept 3",group:"Group6",people:25,type:"completed"},{department:"Dept 3",group:"Group6",people:3,type:"uncompleted"},{department:"Dept 3",group:"Group7",people:55,type:"completed"},{department:"Dept 3",group:"Group7",people:8,type:"uncompleted"}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-radar-chart",name:"\u96F7\u8FBE\u56FE",description:"\u6BD4\u8F83\u591A\u4E2A\u7EF4\u5EA6\u7684\u8F6E\u5ED3\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u96F7\u8FBE\u56FE",datasets:{main:[{ability:"Language",score:8.8},{ability:"Logic",score:9},{ability:"Affinity",score:7.2},{ability:"Sports",score:4.5},{ability:"Learning",score:8.3}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-radial-bar",name:"\u5F84\u5411\u6761\u5F62\u56FE",description:"\u5728\u6781\u5750\u6807\u4E2D\u6392\u5217\u6761\u5F62\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u5F84\u5411\u6761\u5F62\u56FE",datasets:{main:[{question:"Taiwan Relations",percent:.21,odd:0},{question:"China's Growing Military Power",percent:.47,odd:1},{question:"China's Impact on Global Environment",percent:.49,odd:0},{question:"US Trade Deficit with China",percent:.52,odd:1},{question:"China's Human Rights Policy",percent:.53,odd:0},{question:"Cyber Attacks from China",percent:.54,odd:1},{question:"China Taking Away American Jobs",percent:.6,odd:0},{question:"China Holding US Massive Debt",percent:.67,odd:1}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-parallel",name:"\u5E73\u884C\u5750\u6807",description:"\u89C2\u5BDF\u591A\u7EF4\u6570\u503C\u7684\u7EC4\u5408\u6A21\u5F0F\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u5E73\u884C\u5750\u6807",datasets:{main:[{name:"AMC Ambassador Brougham","economy (mpg)":13,cylinders:8,"displacement (cc)":360,"power (hp)":175,"weight (lb)":3821,"0-60 mph (s)":11,year:73},{name:"AMC Ambassador SST","economy (mpg)":17,cylinders:8,"displacement (cc)":304,"power (hp)":150,"weight (lb)":3672,"0-60 mph (s)":11.5,year:72},{name:"AMC Concord DL","economy (mpg)":18.1,cylinders:6,"displacement (cc)":258,"power (hp)":120,"weight (lb)":3410,"0-60 mph (s)":15.1,year:78},{name:"AMC Concord","economy (mpg)":19.4,cylinders:6,"displacement (cc)":232,"power (hp)":90,"weight (lb)":3210,"0-60 mph (s)":17.2,year:78},{name:"AMC Gremlin","economy (mpg)":18,cylinders:6,"displacement (cc)":232,"power (hp)":100,"weight (lb)":2789,"0-60 mph (s)":15,year:73},{name:"AMC Gremlin","economy (mpg)":20,cylinders:6,"displacement (cc)":232,"power (hp)":100,"weight (lb)":2914,"0-60 mph (s)":16,year:75},{name:"AMC Hornet Sportabout (Wagon)","economy (mpg)":18,cylinders:6,"displacement (cc)":258,"power (hp)":110,"weight (lb)":2962,"0-60 mph (s)":13.5,year:71},{name:"AMC Hornet","economy (mpg)":18,cylinders:6,"displacement (cc)":232,"power (hp)":100,"weight (lb)":2945,"0-60 mph (s)":16,year:73},{name:"AMC Hornet","economy (mpg)":22.5,cylinders:6,"displacement (cc)":232,"power (hp)":90,"weight (lb)":3085,"0-60 mph (s)":17.6,year:76},{name:"AMC Matador (Wagon)","economy (mpg)":15,cylinders:8,"displacement (cc)":304,"power (hp)":150,"weight (lb)":3892,"0-60 mph (s)":12.5,year:72},{name:"AMC Matador","economy (mpg)":15,cylinders:6,"displacement (cc)":258,"power (hp)":110,"weight (lb)":3730,"0-60 mph (s)":19,year:75},{name:"AMC Matador","economy (mpg)":16,cylinders:6,"displacement (cc)":258,"power (hp)":110,"weight (lb)":3632,"0-60 mph (s)":18,year:74},{name:"AMC Pacer D/L","economy (mpg)":17.5,cylinders:6,"displacement (cc)":258,"power (hp)":95,"weight (lb)":3193,"0-60 mph (s)":17.8,year:76},{name:"AMC Rebel SST (Wagon)","economy (mpg)":null,cylinders:8,"displacement (cc)":360,"power (hp)":175,"weight (lb)":3850,"0-60 mph (s)":11,year:70},{name:"AMC Spirit DL","economy (mpg)":27.4,cylinders:4,"displacement (cc)":121,"power (hp)":80,"weight (lb)":2670,"0-60 mph (s)":15,year:79},{name:"Audi 100 LS","economy (mpg)":23,cylinders:4,"displacement (cc)":115,"power (hp)":95,"weight (lb)":2694,"0-60 mph (s)":15,year:75},{name:"Audi 4000","economy (mpg)":34.3,cylinders:4,"displacement (cc)":97,"power (hp)":78,"weight (lb)":2188,"0-60 mph (s)":15.8,year:80},{name:"Audi 5000S (Diesel)","economy (mpg)":36.4,cylinders:5,"displacement (cc)":121,"power (hp)":67,"weight (lb)":2950,"0-60 mph (s)":19.9,year:80},{name:"BMW 2002","economy (mpg)":26,cylinders:4,"displacement (cc)":121,"power (hp)":113,"weight (lb)":2234,"0-60 mph (s)":12.5,year:70},{name:"Buick Century 350","economy (mpg)":13,cylinders:8,"displacement (cc)":350,"power (hp)":175,"weight (lb)":4100,"0-60 mph (s)":13,year:73},{name:"Buick Century Luxus (Wagon)","economy (mpg)":13,cylinders:8,"displacement (cc)":350,"power (hp)":150,"weight (lb)":4699,"0-60 mph (s)":14.5,year:74},{name:"Buick Century","economy (mpg)":17,cylinders:6,"displacement (cc)":231,"power (hp)":110,"weight (lb)":3907,"0-60 mph (s)":21,year:75},{name:"Buick Electra 225 Custom","economy (mpg)":12,cylinders:8,"displacement (cc)":455,"power (hp)":225,"weight (lb)":4951,"0-60 mph (s)":11,year:73},{name:"Buick Estate Wagon (Wagon)","economy (mpg)":16.9,cylinders:8,"displacement (cc)":350,"power (hp)":155,"weight (lb)":4360,"0-60 mph (s)":14.9,year:79},{name:"Buick Opel Isuzu Deluxe","economy (mpg)":30,cylinders:4,"displacement (cc)":111,"power (hp)":80,"weight (lb)":2155,"0-60 mph (s)":14.8,year:77},{name:"Buick Skyhawk","economy (mpg)":21,cylinders:6,"displacement (cc)":231,"power (hp)":110,"weight (lb)":3039,"0-60 mph (s)":15,year:75},{name:"Buick Skylark Limited","economy (mpg)":28.4,cylinders:4,"displacement (cc)":151,"power (hp)":90,"weight (lb)":2670,"0-60 mph (s)":16,year:79},{name:"Buick Skylark","economy (mpg)":26.6,cylinders:4,"displacement (cc)":151,"power (hp)":84,"weight (lb)":2635,"0-60 mph (s)":16.4,year:81},{name:"Cadillac Seville","economy (mpg)":16.5,cylinders:8,"displacement (cc)":350,"power (hp)":180,"weight (lb)":4380,"0-60 mph (s)":12.1,year:76},{name:"Chevrolet Bel Air","economy (mpg)":15,cylinders:8,"displacement (cc)":350,"power (hp)":145,"weight (lb)":4440,"0-60 mph (s)":14,year:75},{name:"Chevrolet Caprice Classic","economy (mpg)":13,cylinders:8,"displacement (cc)":400,"power (hp)":150,"weight (lb)":4464,"0-60 mph (s)":12,year:73},{name:"Chevrolet Caprice Classic","economy (mpg)":17.5,cylinders:8,"displacement (cc)":305,"power (hp)":145,"weight (lb)":3880,"0-60 mph (s)":12.5,year:77},{name:"Chevrolet Cavalier Wagon","economy (mpg)":27,cylinders:4,"displacement (cc)":112,"power (hp)":88,"weight (lb)":2640,"0-60 mph (s)":18.6,year:82},{name:"Chevrolet Chevelle Concours (Wagon)","economy (mpg)":null,cylinders:8,"displacement (cc)":350,"power (hp)":165,"weight (lb)":4142,"0-60 mph (s)":11.5,year:70},{name:"Chevrolet Chevelle Malibu Classic","economy (mpg)":16,cylinders:6,"displacement (cc)":250,"power (hp)":100,"weight (lb)":3781,"0-60 mph (s)":17,year:74},{name:"Chevrolet Chevelle Malibu","economy (mpg)":17,cylinders:6,"displacement (cc)":250,"power (hp)":100,"weight (lb)":3329,"0-60 mph (s)":15.5,year:71},{name:"Chevrolet Chevette","economy (mpg)":29,cylinders:4,"displacement (cc)":85,"power (hp)":52,"weight (lb)":2035,"0-60 mph (s)":22.2,year:76},{name:"Chevrolet Chevette","economy (mpg)":30.5,cylinders:4,"displacement (cc)":98,"power (hp)":63,"weight (lb)":2051,"0-60 mph (s)":17,year:77},{name:"Chevrolet Citation","economy (mpg)":23.5,cylinders:6,"displacement (cc)":173,"power (hp)":110,"weight (lb)":2725,"0-60 mph (s)":12.6,year:81},{name:"Chevrolet Citation","economy (mpg)":28.8,cylinders:6,"displacement (cc)":173,"power (hp)":115,"weight (lb)":2595,"0-60 mph (s)":11.3,year:79},{name:"Chevrolet Impala","economy (mpg)":11,cylinders:8,"displacement (cc)":400,"power (hp)":150,"weight (lb)":4997,"0-60 mph (s)":14,year:73},{name:"Chevrolet Impala","economy (mpg)":14,cylinders:8,"displacement (cc)":350,"power (hp)":165,"weight (lb)":4209,"0-60 mph (s)":12,year:71},{name:"Chevrolet Malibu Classic (Wagon)","economy (mpg)":19.2,cylinders:8,"displacement (cc)":267,"power (hp)":125,"weight (lb)":3605,"0-60 mph (s)":15,year:79},{name:"Chevrolet Malibu","economy (mpg)":20.5,cylinders:6,"displacement (cc)":200,"power (hp)":95,"weight (lb)":3155,"0-60 mph (s)":18.2,year:78},{name:"Chevrolet Monte Carlo Landau","economy (mpg)":19.2,cylinders:8,"displacement (cc)":305,"power (hp)":145,"weight (lb)":3425,"0-60 mph (s)":13.2,year:78},{name:"Chevrolet Monte Carlo","economy (mpg)":15,cylinders:8,"displacement (cc)":400,"power (hp)":150,"weight (lb)":3761,"0-60 mph (s)":9.5,year:70},{name:"Chevrolet Nova Custom","economy (mpg)":16,cylinders:6,"displacement (cc)":250,"power (hp)":100,"weight (lb)":3278,"0-60 mph (s)":18,year:73},{name:"Chevrolet Nova","economy (mpg)":18,cylinders:6,"displacement (cc)":250,"power (hp)":105,"weight (lb)":3459,"0-60 mph (s)":16,year:75},{name:"Chevrolet Vega (Wagon)","economy (mpg)":22,cylinders:4,"displacement (cc)":140,"power (hp)":72,"weight (lb)":2408,"0-60 mph (s)":19,year:71},{name:"Chevrolet Vega","economy (mpg)":20,cylinders:4,"displacement (cc)":140,"power (hp)":90,"weight (lb)":2408,"0-60 mph (s)":19.5,year:72},{name:"Chevrolet Vega","economy (mpg)":25,cylinders:4,"displacement (cc)":140,"power (hp)":75,"weight (lb)":2542,"0-60 mph (s)":17,year:74},{name:"Chevy C10","economy (mpg)":13,cylinders:8,"displacement (cc)":350,"power (hp)":145,"weight (lb)":4055,"0-60 mph (s)":12,year:76},{name:"Chevy S-10","economy (mpg)":31,cylinders:4,"displacement (cc)":119,"power (hp)":82,"weight (lb)":2720,"0-60 mph (s)":19.4,year:82},{name:"Chrysler Lebaron Medallion","economy (mpg)":26,cylinders:4,"displacement (cc)":156,"power (hp)":92,"weight (lb)":2585,"0-60 mph (s)":14.5,year:82},{name:"Chrysler Lebaron Town & Country (Wagon)","economy (mpg)":18.5,cylinders:8,"displacement (cc)":360,"power (hp)":150,"weight (lb)":3940,"0-60 mph (s)":13,year:79},{name:"Chrysler Newport Royal","economy (mpg)":13,cylinders:8,"displacement (cc)":400,"power (hp)":190,"weight (lb)":4422,"0-60 mph (s)":12.5,year:72},{name:"Datsun 1200","economy (mpg)":35,cylinders:4,"displacement (cc)":72,"power (hp)":69,"weight (lb)":1613,"0-60 mph (s)":18,year:71},{name:"Datsun 200SX","economy (mpg)":32.9,cylinders:4,"displacement (cc)":119,"power (hp)":100,"weight (lb)":2615,"0-60 mph (s)":14.8,year:81},{name:"Datsun 210","economy (mpg)":37,cylinders:4,"displacement (cc)":85,"power (hp)":65,"weight (lb)":1975,"0-60 mph (s)":19.4,year:81},{name:"Datsun 280ZX","economy (mpg)":32.7,cylinders:6,"displacement (cc)":168,"power (hp)":132,"weight (lb)":2910,"0-60 mph (s)":11.4,year:80},{name:"Datsun 310","economy (mpg)":37.2,cylinders:4,"displacement (cc)":86,"power (hp)":65,"weight (lb)":2019,"0-60 mph (s)":16.4,year:80},{name:"Datsun 510 Hatchback","economy (mpg)":37,cylinders:4,"displacement (cc)":119,"power (hp)":92,"weight (lb)":2434,"0-60 mph (s)":15,year:80},{name:"Datsun 610","economy (mpg)":22,cylinders:4,"displacement (cc)":108,"power (hp)":94,"weight (lb)":2379,"0-60 mph (s)":16.5,year:73},{name:"Datsun 710","economy (mpg)":32,cylinders:4,"displacement (cc)":83,"power (hp)":61,"weight (lb)":2003,"0-60 mph (s)":19,year:74},{name:"Datsun 810","economy (mpg)":22,cylinders:6,"displacement (cc)":146,"power (hp)":97,"weight (lb)":2815,"0-60 mph (s)":14.5,year:77},{name:"Datsun B210 GX","economy (mpg)":39.4,cylinders:4,"displacement (cc)":85,"power (hp)":70,"weight (lb)":2070,"0-60 mph (s)":18.6,year:78},{name:"Datsun F-10 Hatchback","economy (mpg)":33.5,cylinders:4,"displacement (cc)":85,"power (hp)":70,"weight (lb)":1945,"0-60 mph (s)":16.8,year:77},{name:"Datsun PL510","economy (mpg)":27,cylinders:4,"displacement (cc)":97,"power (hp)":88,"weight (lb)":2130,"0-60 mph (s)":14.5,year:71},{name:"Dodge Aries Wagon (Wagon)","economy (mpg)":25.8,cylinders:4,"displacement (cc)":156,"power (hp)":92,"weight (lb)":2620,"0-60 mph (s)":14.4,year:81},{name:"Dodge Aspen SE","economy (mpg)":20,cylinders:6,"displacement (cc)":225,"power (hp)":100,"weight (lb)":3651,"0-60 mph (s)":17.7,year:76},{name:"Dodge Aspen","economy (mpg)":19.1,cylinders:6,"displacement (cc)":225,"power (hp)":90,"weight (lb)":3381,"0-60 mph (s)":18.7,year:80},{name:"Dodge Charger 2.2","economy (mpg)":36,cylinders:4,"displacement (cc)":135,"power (hp)":84,"weight (lb)":2370,"0-60 mph (s)":13,year:82},{name:"Dodge Colt Hardtop","economy (mpg)":25,cylinders:4,"displacement (cc)":97.5,"power (hp)":80,"weight (lb)":2126,"0-60 mph (s)":17,year:72},{name:"Dodge Colt M/M","economy (mpg)":33.5,cylinders:4,"displacement (cc)":98,"power (hp)":83,"weight (lb)":2075,"0-60 mph (s)":15.9,year:77},{name:"Dodge Colt","economy (mpg)":27.9,cylinders:4,"displacement (cc)":156,"power (hp)":105,"weight (lb)":2800,"0-60 mph (s)":14.4,year:80},{name:"Dodge Coronet Brougham","economy (mpg)":16,cylinders:8,"displacement (cc)":318,"power (hp)":150,"weight (lb)":4190,"0-60 mph (s)":13,year:76},{name:"Dodge Coronet Custom","economy (mpg)":15,cylinders:8,"displacement (cc)":318,"power (hp)":150,"weight (lb)":3777,"0-60 mph (s)":12.5,year:73},{name:"Dodge D200","economy (mpg)":11,cylinders:8,"displacement (cc)":318,"power (hp)":210,"weight (lb)":4382,"0-60 mph (s)":13.5,year:70},{name:"Dodge Diplomat","economy (mpg)":19.4,cylinders:8,"displacement (cc)":318,"power (hp)":140,"weight (lb)":3735,"0-60 mph (s)":13.2,year:78},{name:"Dodge Monaco (Wagon)","economy (mpg)":12,cylinders:8,"displacement (cc)":383,"power (hp)":180,"weight (lb)":4955,"0-60 mph (s)":11.5,year:71},{name:"Dodge Omni","economy (mpg)":30.9,cylinders:4,"displacement (cc)":105,"power (hp)":75,"weight (lb)":2230,"0-60 mph (s)":14.5,year:78},{name:"Dodge St. Regis","economy (mpg)":18.2,cylinders:8,"displacement (cc)":318,"power (hp)":135,"weight (lb)":3830,"0-60 mph (s)":15.2,year:79},{name:"Fiat 124 TC","economy (mpg)":26,cylinders:4,"displacement (cc)":116,"power (hp)":75,"weight (lb)":2246,"0-60 mph (s)":14,year:74},{name:"Fiat 128","economy (mpg)":24,cylinders:4,"displacement (cc)":90,"power (hp)":75,"weight (lb)":2108,"0-60 mph (s)":15.5,year:74},{name:"Fiat 131","economy (mpg)":28,cylinders:4,"displacement (cc)":107,"power (hp)":86,"weight (lb)":2464,"0-60 mph (s)":15.5,year:76},{name:"Fiat X1.9","economy (mpg)":31,cylinders:4,"displacement (cc)":79,"power (hp)":67,"weight (lb)":2e3,"0-60 mph (s)":16,year:74},{name:"Ford Country Squire (Wagon)","economy (mpg)":13,cylinders:8,"displacement (cc)":400,"power (hp)":170,"weight (lb)":4746,"0-60 mph (s)":12,year:71},{name:"Ford Country","economy (mpg)":12,cylinders:8,"displacement (cc)":400,"power (hp)":167,"weight (lb)":4906,"0-60 mph (s)":12.5,year:73},{name:"Ford Escort 4W","economy (mpg)":34.4,cylinders:4,"displacement (cc)":98,"power (hp)":65,"weight (lb)":2045,"0-60 mph (s)":16.2,year:81},{name:"Ford F250","economy (mpg)":10,cylinders:8,"displacement (cc)":360,"power (hp)":215,"weight (lb)":4615,"0-60 mph (s)":14,year:70},{name:"Ford Fairmont (Man)","economy (mpg)":25.1,cylinders:4,"displacement (cc)":140,"power (hp)":88,"weight (lb)":2720,"0-60 mph (s)":15.4,year:78},{name:"Ford Fairmont Futura","economy (mpg)":24,cylinders:4,"displacement (cc)":140,"power (hp)":92,"weight (lb)":2865,"0-60 mph (s)":16.4,year:82},{name:"Ford Fiesta","economy (mpg)":36.1,cylinders:4,"displacement (cc)":98,"power (hp)":66,"weight (lb)":1800,"0-60 mph (s)":14.4,year:78},{name:"Ford Galaxie 500","economy (mpg)":14,cylinders:8,"displacement (cc)":351,"power (hp)":153,"weight (lb)":4129,"0-60 mph (s)":13,year:72},{name:"Ford Galaxie 500","economy (mpg)":15,cylinders:8,"displacement (cc)":429,"power (hp)":198,"weight (lb)":4341,"0-60 mph (s)":10,year:70},{name:"Ford Gran Torino (Wagon)","economy (mpg)":14,cylinders:8,"displacement (cc)":302,"power (hp)":140,"weight (lb)":4638,"0-60 mph (s)":16,year:74},{name:"Ford Gran Torino","economy (mpg)":14.5,cylinders:8,"displacement (cc)":351,"power (hp)":152,"weight (lb)":4215,"0-60 mph (s)":12.8,year:76},{name:"Ford Granada Ghia","economy (mpg)":18,cylinders:6,"displacement (cc)":250,"power (hp)":78,"weight (lb)":3574,"0-60 mph (s)":21,year:76},{name:"Ford Granada L","economy (mpg)":22,cylinders:6,"displacement (cc)":232,"power (hp)":112,"weight (lb)":2835,"0-60 mph (s)":14.7,year:82},{name:"Ford LTD Landau","economy (mpg)":17.6,cylinders:8,"displacement (cc)":302,"power (hp)":129,"weight (lb)":3725,"0-60 mph (s)":13.4,year:79},{name:"Ford LTD","economy (mpg)":14,cylinders:8,"displacement (cc)":351,"power (hp)":148,"weight (lb)":4657,"0-60 mph (s)":13.5,year:75},{name:"Ford Maverick","economy (mpg)":18,cylinders:6,"displacement (cc)":250,"power (hp)":88,"weight (lb)":3021,"0-60 mph (s)":16.5,year:73},{name:"Ford Maverick","economy (mpg)":21,cylinders:6,"displacement (cc)":200,"power (hp)":85,"weight (lb)":2587,"0-60 mph (s)":16,year:70},{name:"Ford Mustang Boss 302","economy (mpg)":null,cylinders:8,"displacement (cc)":302,"power (hp)":140,"weight (lb)":3353,"0-60 mph (s)":8,year:70},{name:"Ford Mustang GL","economy (mpg)":27,cylinders:4,"displacement (cc)":140,"power (hp)":86,"weight (lb)":2790,"0-60 mph (s)":15.6,year:82},{name:"Ford Mustang II","economy (mpg)":13,cylinders:8,"displacement (cc)":302,"power (hp)":129,"weight (lb)":3169,"0-60 mph (s)":12,year:75},{name:"Ford Pinto (Wagon)","economy (mpg)":22,cylinders:4,"displacement (cc)":122,"power (hp)":86,"weight (lb)":2395,"0-60 mph (s)":16,year:72},{name:"Ford Pinto","economy (mpg)":18,cylinders:6,"displacement (cc)":171,"power (hp)":97,"weight (lb)":2984,"0-60 mph (s)":14.5,year:75},{name:"Ford Pinto","economy (mpg)":23,cylinders:4,"displacement (cc)":140,"power (hp)":83,"weight (lb)":2639,"0-60 mph (s)":17,year:75},{name:"Ford Pinto","economy (mpg)":26,cylinders:4,"displacement (cc)":122,"power (hp)":80,"weight (lb)":2451,"0-60 mph (s)":16.5,year:74},{name:"Ford Ranger","economy (mpg)":28,cylinders:4,"displacement (cc)":120,"power (hp)":79,"weight (lb)":2625,"0-60 mph (s)":18.6,year:82},{name:"Ford Torino (Wagon)","economy (mpg)":null,cylinders:8,"displacement (cc)":351,"power (hp)":153,"weight (lb)":4034,"0-60 mph (s)":11,year:70},{name:"Ford Torino","economy (mpg)":17,cylinders:8,"displacement (cc)":302,"power (hp)":140,"weight (lb)":3449,"0-60 mph (s)":10.5,year:70},{name:"Honda Accord CVCC","economy (mpg)":31.5,cylinders:4,"displacement (cc)":98,"power (hp)":68,"weight (lb)":2045,"0-60 mph (s)":18.5,year:77},{name:"Honda Accord","economy (mpg)":32.4,cylinders:4,"displacement (cc)":107,"power (hp)":72,"weight (lb)":2290,"0-60 mph (s)":17,year:80},{name:"Honda Civic (Auto)","economy (mpg)":32,cylinders:4,"displacement (cc)":91,"power (hp)":67,"weight (lb)":1965,"0-60 mph (s)":15.7,year:82},{name:"Honda Civic 1500 GL","economy (mpg)":44.6,cylinders:4,"displacement (cc)":91,"power (hp)":67,"weight (lb)":1850,"0-60 mph (s)":13.8,year:80},{name:"Honda Civic CVCC","economy (mpg)":36.1,cylinders:4,"displacement (cc)":91,"power (hp)":60,"weight (lb)":1800,"0-60 mph (s)":16.4,year:78},{name:"Honda Civic","economy (mpg)":33,cylinders:4,"displacement (cc)":91,"power (hp)":53,"weight (lb)":1795,"0-60 mph (s)":17.4,year:76},{name:"Honda Prelude","economy (mpg)":33.7,cylinders:4,"displacement (cc)":107,"power (hp)":75,"weight (lb)":2210,"0-60 mph (s)":14.4,year:81},{name:"Maxda RX-3","economy (mpg)":18,cylinders:3,"displacement (cc)":70,"power (hp)":90,"weight (lb)":2124,"0-60 mph (s)":13.5,year:73},{name:"Mazda 626","economy (mpg)":31.6,cylinders:4,"displacement (cc)":120,"power (hp)":74,"weight (lb)":2635,"0-60 mph (s)":18.3,year:81},{name:"Mazda GLC Custom L","economy (mpg)":37,cylinders:4,"displacement (cc)":91,"power (hp)":68,"weight (lb)":2025,"0-60 mph (s)":18.2,year:82},{name:"Mazda GLC Deluxe","economy (mpg)":32.8,cylinders:4,"displacement (cc)":78,"power (hp)":52,"weight (lb)":1985,"0-60 mph (s)":19.4,year:78},{name:"Mazda RX-2 Coupe","economy (mpg)":19,cylinders:3,"displacement (cc)":70,"power (hp)":97,"weight (lb)":2330,"0-60 mph (s)":13.5,year:72},{name:"Mazda RX-7 Gs","economy (mpg)":23.7,cylinders:3,"displacement (cc)":70,"power (hp)":100,"weight (lb)":2420,"0-60 mph (s)":12.5,year:80},{name:"Mercedes-Benz 280S","economy (mpg)":16.5,cylinders:6,"displacement (cc)":168,"power (hp)":120,"weight (lb)":3820,"0-60 mph (s)":16.7,year:76},{name:"Mercury Capri 2000","economy (mpg)":23,cylinders:4,"displacement (cc)":122,"power (hp)":86,"weight (lb)":2220,"0-60 mph (s)":14,year:71},{name:"Mercury Cougar Brougham","economy (mpg)":15,cylinders:8,"displacement (cc)":302,"power (hp)":130,"weight (lb)":4295,"0-60 mph (s)":14.9,year:77},{name:"Mercury Lynx L","economy (mpg)":36,cylinders:4,"displacement (cc)":98,"power (hp)":70,"weight (lb)":2125,"0-60 mph (s)":17.3,year:82},{name:"Mercury Marquis","economy (mpg)":11,cylinders:8,"displacement (cc)":429,"power (hp)":208,"weight (lb)":4633,"0-60 mph (s)":11,year:72},{name:"Mercury Monarch","economy (mpg)":15,cylinders:6,"displacement (cc)":250,"power (hp)":72,"weight (lb)":3432,"0-60 mph (s)":21,year:75},{name:"Mercury Zephyr","economy (mpg)":20.8,cylinders:6,"displacement (cc)":200,"power (hp)":85,"weight (lb)":3070,"0-60 mph (s)":16.7,year:78},{name:"Oldsmobile Cutlass Ciera (Diesel)","economy (mpg)":38,cylinders:6,"displacement (cc)":262,"power (hp)":85,"weight (lb)":3015,"0-60 mph (s)":17,year:82},{name:"Oldsmobile Cutlass Salon Brougham","economy (mpg)":19.9,cylinders:8,"displacement (cc)":260,"power (hp)":110,"weight (lb)":3365,"0-60 mph (s)":15.5,year:78},{name:"Oldsmobile Cutlass Supreme","economy (mpg)":17,cylinders:8,"displacement (cc)":260,"power (hp)":110,"weight (lb)":4060,"0-60 mph (s)":19,year:77},{name:"Oldsmobile Omega Brougham","economy (mpg)":26.8,cylinders:6,"displacement (cc)":173,"power (hp)":115,"weight (lb)":2700,"0-60 mph (s)":12.9,year:79},{name:"Oldsmobile Starfire SX","economy (mpg)":23.8,cylinders:4,"displacement (cc)":151,"power (hp)":85,"weight (lb)":2855,"0-60 mph (s)":17.6,year:78},{name:"Opel 1900","economy (mpg)":25,cylinders:4,"displacement (cc)":116,"power (hp)":81,"weight (lb)":2220,"0-60 mph (s)":16.9,year:76},{name:"Opel Manta","economy (mpg)":24,cylinders:4,"displacement (cc)":116,"power (hp)":75,"weight (lb)":2158,"0-60 mph (s)":15.5,year:73},{name:"Peugeot 304","economy (mpg)":30,cylinders:4,"displacement (cc)":79,"power (hp)":70,"weight (lb)":2074,"0-60 mph (s)":19.5,year:71},{name:"Peugeot 504","economy (mpg)":19,cylinders:4,"displacement (cc)":120,"power (hp)":88,"weight (lb)":3270,"0-60 mph (s)":21.9,year:76},{name:"Peugeot 504","economy (mpg)":25,cylinders:4,"displacement (cc)":110,"power (hp)":87,"weight (lb)":2672,"0-60 mph (s)":17.5,year:70},{name:"Peugeot 505S Turbo Diesel","economy (mpg)":28.1,cylinders:4,"displacement (cc)":141,"power (hp)":80,"weight (lb)":3230,"0-60 mph (s)":20.4,year:81},{name:"Plymouth Arrow GS","economy (mpg)":25.5,cylinders:4,"displacement (cc)":122,"power (hp)":96,"weight (lb)":2300,"0-60 mph (s)":15.5,year:77},{name:"Plymouth Champ","economy (mpg)":39,cylinders:4,"displacement (cc)":86,"power (hp)":64,"weight (lb)":1875,"0-60 mph (s)":16.4,year:81},{name:"Plymouth Custom Suburb","economy (mpg)":13,cylinders:8,"displacement (cc)":360,"power (hp)":170,"weight (lb)":4654,"0-60 mph (s)":13,year:73},{name:"Plymouth Duster","economy (mpg)":22,cylinders:6,"displacement (cc)":198,"power (hp)":95,"weight (lb)":2833,"0-60 mph (s)":15.5,year:70},{name:"Plymouth Fury Gran Sedan","economy (mpg)":14,cylinders:8,"displacement (cc)":318,"power (hp)":150,"weight (lb)":4237,"0-60 mph (s)":14.5,year:73},{name:"Plymouth Fury III","economy (mpg)":14,cylinders:8,"displacement (cc)":440,"power (hp)":215,"weight (lb)":4312,"0-60 mph (s)":8.5,year:70},{name:"Plymouth Fury","economy (mpg)":18,cylinders:6,"displacement (cc)":225,"power (hp)":95,"weight (lb)":3785,"0-60 mph (s)":19,year:75},{name:"Plymouth Horizon 4","economy (mpg)":34.7,cylinders:4,"displacement (cc)":105,"power (hp)":63,"weight (lb)":2215,"0-60 mph (s)":14.9,year:81},{name:"Plymouth Horizon TC3","economy (mpg)":34.5,cylinders:4,"displacement (cc)":105,"power (hp)":70,"weight (lb)":2150,"0-60 mph (s)":14.9,year:79},{name:"Plymouth Reliant","economy (mpg)":27.2,cylinders:4,"displacement (cc)":135,"power (hp)":84,"weight (lb)":2490,"0-60 mph (s)":15.7,year:81},{name:"Plymouth Sapporo","economy (mpg)":23.2,cylinders:4,"displacement (cc)":156,"power (hp)":105,"weight (lb)":2745,"0-60 mph (s)":16.7,year:78},{name:"Plymouth Satellite Custom (Wagon)","economy (mpg)":14,cylinders:8,"displacement (cc)":318,"power (hp)":150,"weight (lb)":4077,"0-60 mph (s)":14,year:72},{name:"Plymouth Satellite Sebring","economy (mpg)":18,cylinders:6,"displacement (cc)":225,"power (hp)":105,"weight (lb)":3613,"0-60 mph (s)":16.5,year:74},{name:"Plymouth Valiant Custom","economy (mpg)":19,cylinders:6,"displacement (cc)":225,"power (hp)":95,"weight (lb)":3264,"0-60 mph (s)":16,year:75},{name:"Plymouth Valiant","economy (mpg)":22,cylinders:6,"displacement (cc)":225,"power (hp)":100,"weight (lb)":3233,"0-60 mph (s)":15.4,year:76},{name:"Plymouth Volare Premier V8","economy (mpg)":13,cylinders:8,"displacement (cc)":318,"power (hp)":150,"weight (lb)":3940,"0-60 mph (s)":13.2,year:76},{name:"Pontiac Astro","economy (mpg)":23,cylinders:4,"displacement (cc)":140,"power (hp)":78,"weight (lb)":2592,"0-60 mph (s)":18.5,year:75},{name:"Pontiac Catalina","economy (mpg)":14,cylinders:8,"displacement (cc)":400,"power (hp)":175,"weight (lb)":4385,"0-60 mph (s)":12,year:72},{name:"Pontiac Catalina","economy (mpg)":16,cylinders:8,"displacement (cc)":400,"power (hp)":170,"weight (lb)":4668,"0-60 mph (s)":11.5,year:75},{name:"Pontiac Grand Prix Lj","economy (mpg)":16,cylinders:8,"displacement (cc)":400,"power (hp)":180,"weight (lb)":4220,"0-60 mph (s)":11.1,year:77},{name:"Pontiac J2000 Se Hatchback","economy (mpg)":31,cylinders:4,"displacement (cc)":112,"power (hp)":85,"weight (lb)":2575,"0-60 mph (s)":16.2,year:82},{name:"Pontiac Phoenix LJ","economy (mpg)":19.2,cylinders:6,"displacement (cc)":231,"power (hp)":105,"weight (lb)":3535,"0-60 mph (s)":19.2,year:78},{name:"Pontiac Phoenix","economy (mpg)":33.5,cylinders:4,"displacement (cc)":151,"power (hp)":90,"weight (lb)":2556,"0-60 mph (s)":13.2,year:79},{name:"Pontiac Sunbird Coupe","economy (mpg)":24.5,cylinders:4,"displacement (cc)":151,"power (hp)":88,"weight (lb)":2740,"0-60 mph (s)":16,year:77},{name:"Renault 12 (Wagon)","economy (mpg)":26,cylinders:4,"displacement (cc)":96,"power (hp)":69,"weight (lb)":2189,"0-60 mph (s)":18,year:72},{name:"Renault 18I","economy (mpg)":34.5,cylinders:4,"displacement (cc)":100,"power (hp)":null,"weight (lb)":2320,"0-60 mph (s)":15.8,year:81},{name:"Renault Lecar Deluxe","economy (mpg)":40.9,cylinders:4,"displacement (cc)":85,"power (hp)":null,"weight (lb)":1835,"0-60 mph (s)":17.3,year:80},{name:"Saab 99E","economy (mpg)":25,cylinders:4,"displacement (cc)":104,"power (hp)":95,"weight (lb)":2375,"0-60 mph (s)":17.5,year:70},{name:"Saab 99LE","economy (mpg)":24,cylinders:4,"displacement (cc)":121,"power (hp)":110,"weight (lb)":2660,"0-60 mph (s)":14,year:73},{name:"Subaru DL","economy (mpg)":30,cylinders:4,"displacement (cc)":97,"power (hp)":67,"weight (lb)":1985,"0-60 mph (s)":16.4,year:77},{name:"Subaru","economy (mpg)":26,cylinders:4,"displacement (cc)":108,"power (hp)":93,"weight (lb)":2391,"0-60 mph (s)":15.5,year:74},{name:"Toyota Carina","economy (mpg)":20,cylinders:4,"displacement (cc)":97,"power (hp)":88,"weight (lb)":2279,"0-60 mph (s)":19,year:73},{name:"Toyota Celica GT","economy (mpg)":32,cylinders:4,"displacement (cc)":144,"power (hp)":96,"weight (lb)":2665,"0-60 mph (s)":13.9,year:82},{name:"Toyota Corolla 1200","economy (mpg)":32,cylinders:4,"displacement (cc)":71,"power (hp)":65,"weight (lb)":1836,"0-60 mph (s)":21,year:74},{name:"Toyota Corolla Liftback","economy (mpg)":26,cylinders:4,"displacement (cc)":97,"power (hp)":75,"weight (lb)":2265,"0-60 mph (s)":18.2,year:77},{name:"Toyota Corolla","economy (mpg)":28,cylinders:4,"displacement (cc)":97,"power (hp)":75,"weight (lb)":2155,"0-60 mph (s)":16.4,year:76},{name:"Toyota Corolla","economy (mpg)":32.2,cylinders:4,"displacement (cc)":108,"power (hp)":75,"weight (lb)":2265,"0-60 mph (s)":15.2,year:80},{name:"Toyota Corolla","economy (mpg)":34,cylinders:4,"displacement (cc)":108,"power (hp)":70,"weight (lb)":2245,"0-60 mph (s)":16.9,year:82},{name:"Toyota Corona Liftback","economy (mpg)":29.8,cylinders:4,"displacement (cc)":134,"power (hp)":90,"weight (lb)":2711,"0-60 mph (s)":15.5,year:80},{name:"Toyota Corona","economy (mpg)":24,cylinders:4,"displacement (cc)":134,"power (hp)":96,"weight (lb)":2702,"0-60 mph (s)":13.5,year:75},{name:"Toyota Corona","economy (mpg)":27.5,cylinders:4,"displacement (cc)":134,"power (hp)":95,"weight (lb)":2560,"0-60 mph (s)":14.2,year:78},{name:"Toyota Cressida","economy (mpg)":25.4,cylinders:6,"displacement (cc)":168,"power (hp)":116,"weight (lb)":2900,"0-60 mph (s)":12.6,year:81},{name:"Toyota Mark II","economy (mpg)":20,cylinders:6,"displacement (cc)":156,"power (hp)":122,"weight (lb)":2807,"0-60 mph (s)":13.5,year:73},{name:"Toyota Tercel","economy (mpg)":37.7,cylinders:4,"displacement (cc)":89,"power (hp)":62,"weight (lb)":2050,"0-60 mph (s)":17.3,year:81},{name:"Triumph TR7 Coupe","economy (mpg)":35,cylinders:4,"displacement (cc)":122,"power (hp)":88,"weight (lb)":2500,"0-60 mph (s)":15.1,year:80},{name:"Volkswagen 1131 Deluxe Sedan","economy (mpg)":26,cylinders:4,"displacement (cc)":97,"power (hp)":46,"weight (lb)":1835,"0-60 mph (s)":20.5,year:70},{name:"Volkswagen Dasher (Diesel)","economy (mpg)":43.4,cylinders:4,"displacement (cc)":90,"power (hp)":48,"weight (lb)":2335,"0-60 mph (s)":23.7,year:80},{name:"Volkswagen Dasher","economy (mpg)":26,cylinders:4,"displacement (cc)":79,"power (hp)":67,"weight (lb)":1963,"0-60 mph (s)":15.5,year:74},{name:"Volkswagen Jetta","economy (mpg)":33,cylinders:4,"displacement (cc)":105,"power (hp)":74,"weight (lb)":2190,"0-60 mph (s)":14.2,year:81},{name:"Volkswagen Pickup","economy (mpg)":44,cylinders:4,"displacement (cc)":97,"power (hp)":52,"weight (lb)":2130,"0-60 mph (s)":24.6,year:82},{name:"Volkswagen Rabbit Custom Diesel","economy (mpg)":43.1,cylinders:4,"displacement (cc)":90,"power (hp)":48,"weight (lb)":1985,"0-60 mph (s)":21.5,year:78},{name:"Volkswagen Rabbit Custom","economy (mpg)":31.9,cylinders:4,"displacement (cc)":89,"power (hp)":71,"weight (lb)":1925,"0-60 mph (s)":14,year:79},{name:"Volkswagen Rabbit","economy (mpg)":29,cylinders:4,"displacement (cc)":90,"power (hp)":70,"weight (lb)":1937,"0-60 mph (s)":14,year:75},{name:"Volkswagen Rabbit","economy (mpg)":29.5,cylinders:4,"displacement (cc)":97,"power (hp)":71,"weight (lb)":1825,"0-60 mph (s)":12.2,year:76},{name:"Volkswagen Scirocco","economy (mpg)":31.5,cylinders:4,"displacement (cc)":89,"power (hp)":71,"weight (lb)":1990,"0-60 mph (s)":14.9,year:78},{name:"Volkswagen Super Beetle","economy (mpg)":26,cylinders:4,"displacement (cc)":97,"power (hp)":46,"weight (lb)":1950,"0-60 mph (s)":21,year:73},{name:"Volvo 144EA","economy (mpg)":19,cylinders:4,"displacement (cc)":121,"power (hp)":112,"weight (lb)":2868,"0-60 mph (s)":15.5,year:73},{name:"Volvo 244DL","economy (mpg)":22,cylinders:4,"displacement (cc)":121,"power (hp)":98,"weight (lb)":2945,"0-60 mph (s)":14.5,year:75},{name:"Volvo 264GL","economy (mpg)":17,cylinders:6,"displacement (cc)":163,"power (hp)":125,"weight (lb)":3140,"0-60 mph (s)":13.6,year:78},{name:"Volvo Diesel","economy (mpg)":30.7,cylinders:6,"displacement (cc)":145,"power (hp)":76,"weight (lb)":3160,"0-60 mph (s)":19.6,year:81}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-regressioncurve",name:"\u56DE\u5F52\u66F2\u7EBF",description:"\u5728\u6563\u70B9\u4E0A\u53E0\u52A0\u62DF\u5408\u8D8B\u52BF\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u56DE\u5F52\u66F2\u7EBF",datasets:{main:[[.067732,3.176513],[.42781,3.816464],[.995731,4.550095],[.738336,4.256571],[.981083,4.560815],[.526171,3.929515],[.378887,3.52617],[.033859,3.156393],[.132791,3.110301],[.138306,3.149813],[.247809,3.476346],[.64827,4.119688],[.731209,4.282233],[.236833,3.486582],[.969788,4.655492],[.607492,3.965162],[.358622,3.5149],[.147846,3.125947],[.63782,4.094115],[.230372,3.476039],[.070237,3.21061],[.067154,3.190612],[.925577,4.631504],[.717733,4.29589],[.015371,3.085028],[.33507,3.44808],[.040486,3.16744],[.212575,3.364266],[.617218,3.993482],[.541196,3.891471],[.045353,3.143259],[.126762,3.114204],[.556486,3.851484],[.901144,4.621899],[.958476,4.580768],[.274561,3.620992],[.394396,3.580501],[.87248,4.618706],[.409932,3.676867],[.908969,4.641845],[.166819,3.175939],[.665016,4.26498],[.263727,3.558448],[.231214,3.436632],[.552928,3.831052],[.047744,3.182853],[.365746,3.498906],[.495002,3.946833],[.493466,3.900583],[.792101,4.238522],[.76966,4.23308],[.251821,3.521557],[.181951,3.203344],[.808177,4.278105],[.334116,3.555705],[.33863,3.502661],[.452584,3.859776],[.69477,4.275956],[.590902,3.916191],[.307928,3.587961],[.148364,3.183004],[.70218,4.225236],[.721544,4.231083],[.666886,4.240544],[.124931,3.222372],[.618286,4.021445],[.381086,3.567479],[.385643,3.56258],[.777175,4.262059],[.116089,3.208813],[.115487,3.169825],[.66351,4.193949],[.254884,3.491678],[.993888,4.533306],[.295434,3.550108],[.952523,4.636427],[.307047,3.557078],[.277261,3.552874],[.279101,3.494159],[.175724,3.206828],[.156383,3.195266],[.733165,4.221292],[.848142,4.413372],[.771184,4.184347],[.429492,3.742878],[.162176,3.201878],[.917064,4.648964],[.315044,3.510117],[.201473,3.274434],[.297038,3.579622],[.336647,3.489244],[.666109,4.237386],[.583888,3.913749],[.085031,3.22899],[.687006,4.286286],[.949655,4.628614],[.189912,3.239536],[.844027,4.457997],[.333288,3.513384],[.427035,3.729674],[.466369,3.834274],[.550659,3.811155],[.278213,3.598316],[.918769,4.692514],[.886555,4.604859],[.569488,3.864912],[.066379,3.184236],[.335751,3.500796],[.426863,3.743365],[.395746,3.622905],[.694221,4.310796],[.27276,3.583357],[.503495,3.901852],[.067119,3.233521],[.038326,3.105266],[.599122,3.865544],[.947054,4.628625],[.671279,4.231213],[.434811,3.791149],[.509381,3.968271],[.749442,4.25391],[.058014,3.19471],[.482978,3.996503],[.466776,3.904358],[.357767,3.503976],[.949123,4.557545],[.41732,3.699876],[.920461,4.613614],[.156433,3.140401],[.656662,4.206717],[.616418,3.969524],[.853428,4.476096],[.133295,3.136528],[.693007,4.279071],[.178449,3.200603],[.199526,3.299012],[.073224,3.209873],[.286515,3.632942],[.182026,3.248361],[.621523,3.995783],[.344584,3.563262],[.398556,3.649712],[.480369,3.951845],[.15335,3.145031],[.171846,3.181577],[.867082,4.637087],[.223855,3.404964],[.528301,3.873188],[.890192,4.633648],[.106352,3.154768],[.917886,4.623637],[.014855,3.078132],[.567682,3.913596],[.068854,3.221817],[.603535,3.938071],[.53205,3.880822],[.651362,4.176436],[.901225,4.648161],[.204337,3.332312],[.696081,4.240614],[.963924,4.532224],[.98139,4.557105],[.987911,4.610072],[.990947,4.636569],[.736021,4.229813],[.253574,3.50086],[.674722,4.245514],[.939368,4.605182],[.235419,3.45434],[.110521,3.180775],[.218023,3.38082],[.869778,4.56502],[.19683,3.279973],[.958178,4.554241],[.972673,4.63352],[.745797,4.281037],[.445674,3.844426],[.470557,3.891601],[.549236,3.849728],[.335691,3.492215],[.884739,4.592374],[.918916,4.632025],[.441815,3.75675],[.116598,3.133555],[.359274,3.567919],[.814811,4.363382],[.387125,3.560165],[.982243,4.564305],[.78088,4.215055],[.652565,4.174999],[.87003,4.58664],[.604755,3.960008],[.255212,3.529963],[.730546,4.213412],[.493829,3.908685],[.257017,3.585821],[.833735,4.374394],[.070095,3.213817],[.52707,3.952681],[.116163,3.129283]]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-pie",name:"\u997C\u56FE",description:"\u5C55\u793A\u6574\u4F53\u4E2D\u7684\u7C7B\u522B\u5360\u6BD4\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u997C\u56FE",datasets:{main:[{browser:"Chrome",value:61.04},{browser:"Safari",value:15.12},{browser:"Edge",value:10.52},{browser:"Firefox",value:7.19},{browser:"Samsung Internet",value:2.98},{browser:"Opera",value:3.15}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-donut-chart",name:"\u73AF\u56FE",description:"\u4E2D\u5FC3\u7559\u767D\u7684\u6BD4\u4F8B\u8868\u8FBE\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u73AF\u56FE",datasets:{main:[{genre:"Sports",sold:27500},{genre:"Strategy",sold:11500},{genre:"Action",sold:6e3},{genre:"Shooter",sold:3500},{genre:"Other",sold:1500}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-stacked-bar",name:"\u5806\u53E0\u67F1\u72B6\u56FE",description:"\u6BD4\u8F83\u603B\u91CF\u53CA\u5404\u90E8\u5206\u6784\u6210\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u5806\u53E0\u67F1\u72B6\u56FE",datasets:{main:[{name:"London",month:"Jan.",rainfall:18.9},{name:"London",month:"Feb.",rainfall:28.8},{name:"London",month:"Mar.",rainfall:39.3},{name:"London",month:"Apr.",rainfall:81.4},{name:"London",month:"May",rainfall:47},{name:"London",month:"Jun.",rainfall:20.3},{name:"London",month:"Jul.",rainfall:24},{name:"London",month:"Aug.",rainfall:35.6},{name:"Berlin",month:"Jan.",rainfall:12.4},{name:"Berlin",month:"Feb.",rainfall:23.2},{name:"Berlin",month:"Mar.",rainfall:34.5},{name:"Berlin",month:"Apr.",rainfall:99.7},{name:"Berlin",month:"May",rainfall:52.6},{name:"Berlin",month:"Jun.",rainfall:35.5},{name:"Berlin",month:"Jul.",rainfall:37.4},{name:"Berlin",month:"Aug.",rainfall:42.4}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-stacked-area",name:"\u5806\u53E0\u9762\u79EF\u56FE",description:"\u89C2\u5BDF\u6784\u6210\u968F\u65F6\u95F4\u53D8\u5316\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u5806\u53E0\u9762\u79EF\u56FE",datasets:{main:[{country:"Asia",year:"1750",value:502},{country:"Asia",year:"1800",value:635},{country:"Asia",year:"1850",value:809},{country:"Asia",year:"1900",value:5268},{country:"Asia",year:"1950",value:4400},{country:"Asia",year:"1999",value:3634},{country:"Asia",year:"2050",value:947},{country:"Africa",year:"1750",value:106},{country:"Africa",year:"1800",value:107},{country:"Africa",year:"1850",value:111},{country:"Africa",year:"1900",value:1766},{country:"Africa",year:"1950",value:221},{country:"Africa",year:"1999",value:767},{country:"Africa",year:"2050",value:133},{country:"Europe",year:"1750",value:163},{country:"Europe",year:"1800",value:203},{country:"Europe",year:"1850",value:276},{country:"Europe",year:"1900",value:628},{country:"Europe",year:"1950",value:547},{country:"Europe",year:"1999",value:729},{country:"Europe",year:"2050",value:408},{country:"Oceania",year:"1750",value:200},{country:"Oceania",year:"1800",value:200},{country:"Oceania",year:"1850",value:200},{country:"Oceania",year:"1900",value:460},{country:"Oceania",year:"1950",value:230},{country:"Oceania",year:"1999",value:300},{country:"Oceania",year:"2050",value:300}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-rose",name:"\u73AB\u7470\u56FE",description:"\u4EE5\u6247\u533A\u534A\u5F84\u8868\u73B0\u6570\u503C\u5DEE\u5F02\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u73AB\u7470\u56FE",datasets:{main:[{country:"China",cost:96},{country:"Germany",cost:121},{country:"USA",cost:100},{country:"Japan",cost:111},{country:"Korea",cost:102},{country:"France",cost:124},{country:"Italy",cost:123},{country:"Netherlands",cost:111},{country:"Belgium",cost:123},{country:"UK",cost:109},{country:"Canada",cost:115},{country:"Russia",cost:99},{country:"Mexico",cost:91},{country:"India",cost:87},{country:"Switzerland",cost:125},{country:"Australia",cost:130},{country:"Spain",cost:109},{country:"Brazil",cost:123},{country:"Thailand",cost:91},{country:"Indonesia",cost:83},{country:"Poland",cost:101},{country:"Sweden",cost:116},{country:"Austria",cost:111},{country:"Czech",cost:107}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-mosaic",name:"\u9A6C\u8D5B\u514B\u56FE",description:"\u4EE5\u5BBD\u5EA6\u4E0E\u9762\u79EF\u8868\u73B0\u5206\u7C7B\u6784\u6210\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u9A6C\u8D5B\u514B\u56FE",datasets:{main:[{market:"Auburn, AL",segment:"Almond lovers",value:3840},{market:"Auburn, AL",segment:"Berry buyers",value:1920},{market:"Auburn, AL",segment:"Carrots-n-more",value:960},{market:"Auburn, AL",segment:"Delicious-n-new",value:400},{market:"Birmingham, AL",segment:"Almond lovers",value:1600},{market:"Birmingham, AL",segment:"Berry buyers",value:1440},{market:"Birmingham, AL",segment:"Carrots-n-more",value:960},{market:"Birmingham, AL",segment:"Delicious-n-new",value:400},{market:"Gainesville, FL",segment:"Almond lovers",value:640},{market:"Gainesville, FL",segment:"Berry buyers",value:960},{market:"Gainesville, FL",segment:"Carrots-n-more",value:640},{market:"Gainesville, FL",segment:"Delicious-n-new",value:400},{market:"Durham, NC",segment:"Almond lovers",value:320},{market:"Durham, NC",segment:"Berry buyers",value:480},{market:"Durham, NC",segment:"Carrots-n-more",value:640},{market:"Durham, NC",segment:"Delicious-n-new",value:400}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-treemap",name:"\u77E9\u5F62\u6811\u56FE",description:"\u7528\u5D4C\u5957\u77E9\u5F62\u8868\u73B0\u5C42\u7EA7\u4E0E\u5360\u6BD4\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u77E9\u5F62\u6811\u56FE",datasets:{main:[{name:"flare",size:null},{name:"flare.analytics",size:null},{name:"flare.analytics.cluster",size:null},{name:"flare.analytics.cluster.AgglomerativeCluster",size:3938},{name:"flare.analytics.cluster.CommunityStructure",size:3812},{name:"flare.analytics.cluster.HierarchicalCluster",size:6714},{name:"flare.analytics.cluster.MergeEdge",size:743},{name:"flare.analytics.graph",size:null},{name:"flare.analytics.graph.BetweennessCentrality",size:3534},{name:"flare.analytics.graph.LinkDistance",size:5731},{name:"flare.analytics.graph.MaxFlowMinCut",size:7840},{name:"flare.analytics.graph.ShortestPaths",size:5914},{name:"flare.analytics.graph.SpanningTree",size:3416},{name:"flare.analytics.optimization",size:null},{name:"flare.analytics.optimization.AspectRatioBanker",size:7074},{name:"flare.animate",size:null},{name:"flare.animate.Easing",size:17010},{name:"flare.animate.FunctionSequence",size:5842},{name:"flare.animate.interpolate",size:null},{name:"flare.animate.interpolate.ArrayInterpolator",size:1983},{name:"flare.animate.interpolate.ColorInterpolator",size:2047},{name:"flare.animate.interpolate.DateInterpolator",size:1375},{name:"flare.animate.interpolate.Interpolator",size:8746},{name:"flare.animate.interpolate.MatrixInterpolator",size:2202},{name:"flare.animate.interpolate.NumberInterpolator",size:1382},{name:"flare.animate.interpolate.ObjectInterpolator",size:1629},{name:"flare.animate.interpolate.PointInterpolator",size:1675},{name:"flare.animate.interpolate.RectangleInterpolator",size:2042},{name:"flare.animate.ISchedulable",size:1041},{name:"flare.animate.Parallel",size:5176},{name:"flare.animate.Pause",size:449},{name:"flare.animate.Scheduler",size:5593},{name:"flare.animate.Sequence",size:5534},{name:"flare.animate.Transition",size:9201},{name:"flare.animate.Transitioner",size:19975},{name:"flare.animate.TransitionEvent",size:1116},{name:"flare.animate.Tween",size:6006},{name:"flare.data",size:null},{name:"flare.data.converters",size:null},{name:"flare.data.converters.Converters",size:721},{name:"flare.data.converters.DelimitedTextConverter",size:4294},{name:"flare.data.converters.GraphMLConverter",size:9800},{name:"flare.data.converters.IDataConverter",size:1314},{name:"flare.data.converters.JSONConverter",size:2220},{name:"flare.data.DataField",size:1759},{name:"flare.data.DataSchema",size:2165},{name:"flare.data.DataSet",size:586},{name:"flare.data.DataSource",size:3331},{name:"flare.data.DataTable",size:772},{name:"flare.data.DataUtil",size:3322},{name:"flare.display",size:null},{name:"flare.display.DirtySprite",size:8833},{name:"flare.display.LineSprite",size:1732},{name:"flare.display.RectSprite",size:3623},{name:"flare.display.TextSprite",size:10066},{name:"flare.flex",size:null},{name:"flare.flex.FlareVis",size:4116},{name:"flare.physics",size:null},{name:"flare.physics.DragForce",size:1082},{name:"flare.physics.GravityForce",size:1336},{name:"flare.physics.IForce",size:319},{name:"flare.physics.NBodyForce",size:10498},{name:"flare.physics.Particle",size:2822},{name:"flare.physics.Simulation",size:9983},{name:"flare.physics.Spring",size:2213},{name:"flare.physics.SpringForce",size:1681},{name:"flare.query",size:null},{name:"flare.query.AggregateExpression",size:1616},{name:"flare.query.And",size:1027},{name:"flare.query.Arithmetic",size:3891},{name:"flare.query.Average",size:891},{name:"flare.query.BinaryExpression",size:2893},{name:"flare.query.Comparison",size:5103},{name:"flare.query.CompositeExpression",size:3677},{name:"flare.query.Count",size:781},{name:"flare.query.DateUtil",size:4141},{name:"flare.query.Distinct",size:933},{name:"flare.query.Expression",size:5130},{name:"flare.query.ExpressionIterator",size:3617},{name:"flare.query.Fn",size:3240},{name:"flare.query.If",size:2732},{name:"flare.query.IsA",size:2039},{name:"flare.query.Literal",size:1214},{name:"flare.query.Match",size:3748},{name:"flare.query.Maximum",size:843},{name:"flare.query.methods",size:null},{name:"flare.query.methods.add",size:593},{name:"flare.query.methods.and",size:330},{name:"flare.query.methods.average",size:287},{name:"flare.query.methods.count",size:277},{name:"flare.query.methods.distinct",size:292},{name:"flare.query.methods.div",size:595},{name:"flare.query.methods.eq",size:594},{name:"flare.query.methods.fn",size:460},{name:"flare.query.methods.gt",size:603},{name:"flare.query.methods.gte",size:625},{name:"flare.query.methods.iff",size:748},{name:"flare.query.methods.isa",size:461},{name:"flare.query.methods.lt",size:597},{name:"flare.query.methods.lte",size:619},{name:"flare.query.methods.max",size:283},{name:"flare.query.methods.min",size:283},{name:"flare.query.methods.mod",size:591},{name:"flare.query.methods.mul",size:603},{name:"flare.query.methods.neq",size:599},{name:"flare.query.methods.not",size:386},{name:"flare.query.methods.or",size:323},{name:"flare.query.methods.orderby",size:307},{name:"flare.query.methods.range",size:772},{name:"flare.query.methods.select",size:296},{name:"flare.query.methods.stddev",size:363},{name:"flare.query.methods.sub",size:600},{name:"flare.query.methods.sum",size:280},{name:"flare.query.methods.update",size:307},{name:"flare.query.methods.variance",size:335},{name:"flare.query.methods.where",size:299},{name:"flare.query.methods.xor",size:354},{name:"flare.query.methods._",size:264},{name:"flare.query.Minimum",size:843},{name:"flare.query.Not",size:1554},{name:"flare.query.Or",size:970},{name:"flare.query.Query",size:13896},{name:"flare.query.Range",size:1594},{name:"flare.query.StringUtil",size:4130},{name:"flare.query.Sum",size:791},{name:"flare.query.Variable",size:1124},{name:"flare.query.Variance",size:1876},{name:"flare.query.Xor",size:1101},{name:"flare.scale",size:null},{name:"flare.scale.IScaleMap",size:2105},{name:"flare.scale.LinearScale",size:1316},{name:"flare.scale.LogScale",size:3151},{name:"flare.scale.OrdinalScale",size:3770},{name:"flare.scale.QuantileScale",size:2435},{name:"flare.scale.QuantitativeScale",size:4839},{name:"flare.scale.RootScale",size:1756},{name:"flare.scale.Scale",size:4268},{name:"flare.scale.ScaleType",size:1821},{name:"flare.scale.TimeScale",size:5833},{name:"flare.util",size:null},{name:"flare.util.Arrays",size:8258},{name:"flare.util.Colors",size:10001},{name:"flare.util.Dates",size:8217},{name:"flare.util.Displays",size:12555},{name:"flare.util.Filter",size:2324},{name:"flare.util.Geometry",size:10993},{name:"flare.util.heap",size:null},{name:"flare.util.heap.FibonacciHeap",size:9354},{name:"flare.util.heap.HeapNode",size:1233},{name:"flare.util.IEvaluable",size:335},{name:"flare.util.IPredicate",size:383},{name:"flare.util.IValueProxy",size:874},{name:"flare.util.math",size:null},{name:"flare.util.math.DenseMatrix",size:3165},{name:"flare.util.math.IMatrix",size:2815},{name:"flare.util.math.SparseMatrix",size:3366},{name:"flare.util.Maths",size:17705},{name:"flare.util.Orientation",size:1486},{name:"flare.util.palette",size:null},{name:"flare.util.palette.ColorPalette",size:6367},{name:"flare.util.palette.Palette",size:1229},{name:"flare.util.palette.ShapePalette",size:2059},{name:"flare.util.palette.SizePalette",size:2291},{name:"flare.util.Property",size:5559},{name:"flare.util.Shapes",size:19118},{name:"flare.util.Sort",size:6887},{name:"flare.util.Stats",size:6557},{name:"flare.util.Strings",size:22026},{name:"flare.vis",size:null},{name:"flare.vis.axis",size:null},{name:"flare.vis.axis.Axes",size:1302},{name:"flare.vis.axis.Axis",size:24593},{name:"flare.vis.axis.AxisGridLine",size:652},{name:"flare.vis.axis.AxisLabel",size:636},{name:"flare.vis.axis.CartesianAxes",size:6703},{name:"flare.vis.controls",size:null},{name:"flare.vis.controls.AnchorControl",size:2138},{name:"flare.vis.controls.ClickControl",size:3824},{name:"flare.vis.controls.Control",size:1353},{name:"flare.vis.controls.ControlList",size:4665},{name:"flare.vis.controls.DragControl",size:2649},{name:"flare.vis.controls.ExpandControl",size:2832},{name:"flare.vis.controls.HoverControl",size:4896},{name:"flare.vis.controls.IControl",size:763},{name:"flare.vis.controls.PanZoomControl",size:5222},{name:"flare.vis.controls.SelectionControl",size:7862},{name:"flare.vis.controls.TooltipControl",size:8435},{name:"flare.vis.data",size:null},{name:"flare.vis.data.Data",size:20544},{name:"flare.vis.data.DataList",size:19788},{name:"flare.vis.data.DataSprite",size:10349},{name:"flare.vis.data.EdgeSprite",size:3301},{name:"flare.vis.data.NodeSprite",size:19382},{name:"flare.vis.data.render",size:null},{name:"flare.vis.data.render.ArrowType",size:698},{name:"flare.vis.data.render.EdgeRenderer",size:5569},{name:"flare.vis.data.render.IRenderer",size:353},{name:"flare.vis.data.render.ShapeRenderer",size:2247},{name:"flare.vis.data.ScaleBinding",size:11275},{name:"flare.vis.data.Tree",size:7147},{name:"flare.vis.data.TreeBuilder",size:9930},{name:"flare.vis.events",size:null},{name:"flare.vis.events.DataEvent",size:2313},{name:"flare.vis.events.SelectionEvent",size:1880},{name:"flare.vis.events.TooltipEvent",size:1701},{name:"flare.vis.events.VisualizationEvent",size:1117},{name:"flare.vis.legend",size:null},{name:"flare.vis.legend.Legend",size:20859},{name:"flare.vis.legend.LegendItem",size:4614},{name:"flare.vis.legend.LegendRange",size:10530},{name:"flare.vis.operator",size:null},{name:"flare.vis.operator.distortion",size:null},{name:"flare.vis.operator.distortion.BifocalDistortion",size:4461},{name:"flare.vis.operator.distortion.Distortion",size:6314},{name:"flare.vis.operator.distortion.FisheyeDistortion",size:3444},{name:"flare.vis.operator.encoder",size:null},{name:"flare.vis.operator.encoder.ColorEncoder",size:3179},{name:"flare.vis.operator.encoder.Encoder",size:4060},{name:"flare.vis.operator.encoder.PropertyEncoder",size:4138},{name:"flare.vis.operator.encoder.ShapeEncoder",size:1690},{name:"flare.vis.operator.encoder.SizeEncoder",size:1830},{name:"flare.vis.operator.filter",size:null},{name:"flare.vis.operator.filter.FisheyeTreeFilter",size:5219},{name:"flare.vis.operator.filter.GraphDistanceFilter",size:3165},{name:"flare.vis.operator.filter.VisibilityFilter",size:3509},{name:"flare.vis.operator.IOperator",size:1286},{name:"flare.vis.operator.label",size:null},{name:"flare.vis.operator.label.Labeler",size:9956},{name:"flare.vis.operator.label.RadialLabeler",size:3899},{name:"flare.vis.operator.label.StackedAreaLabeler",size:3202},{name:"flare.vis.operator.layout",size:null},{name:"flare.vis.operator.layout.AxisLayout",size:6725},{name:"flare.vis.operator.layout.BundledEdgeRouter",size:3727},{name:"flare.vis.operator.layout.CircleLayout",size:9317},{name:"flare.vis.operator.layout.CirclePackingLayout",size:12003},{name:"flare.vis.operator.layout.DendrogramLayout",size:4853},{name:"flare.vis.operator.layout.ForceDirectedLayout",size:8411},{name:"flare.vis.operator.layout.IcicleTreeLayout",size:4864},{name:"flare.vis.operator.layout.IndentedTreeLayout",size:3174},{name:"flare.vis.operator.layout.Layout",size:7881},{name:"flare.vis.operator.layout.NodeLinkTreeLayout",size:12870},{name:"flare.vis.operator.layout.PieLayout",size:2728},{name:"flare.vis.operator.layout.RadialTreeLayout",size:12348},{name:"flare.vis.operator.layout.RandomLayout",size:870},{name:"flare.vis.operator.layout.StackedAreaLayout",size:9121},{name:"flare.vis.operator.layout.TreeMapLayout",size:9191},{name:"flare.vis.operator.Operator",size:2490},{name:"flare.vis.operator.OperatorList",size:5248},{name:"flare.vis.operator.OperatorSequence",size:4190},{name:"flare.vis.operator.OperatorSwitch",size:2581},{name:"flare.vis.operator.SortOperator",size:2023},{name:"flare.vis.Visualization",size:16540}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-sunburst",name:"\u65ED\u65E5\u56FE",description:"\u6309\u540C\u5FC3\u5C42\u7EA7\u5C55\u5F00\u7EC4\u6210\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u65ED\u65E5\u56FE",datasets:{main:{label:"root",children:[{label:"\u7C7B\u522B 1",children:[{label:"\u7C7B\u522B 1.1",children:[{label:"\u7C7B\u522B 1.1.1",children:[{label:"\u7C7B\u522B 1.1.1.1",children:[{label:"\u7C7B\u522B 1.1.1.1.1",children:null,uv:1,sum:1,count:0}],uv:0,sum:1,count:0}],uv:0,sum:1,count:0}],uv:0,sum:1,count:0}],uv:0,sum:1,count:0},{label:"\u7C7B\u522B 2",children:[{label:"\u7C7B\u522B 2.1",children:[{label:"\u7C7B\u522B 2.1.1",children:[{label:"\u7C7B\u522B 2.1.1.1",children:[{label:"\u7C7B\u522B 2.1.1.1.1",value:"\u53E3\u7891-\u672C\u5730\u751F\u6D3B\u4E8B\u4E1A\u90E8-\u4E1C\u6210\u897F\u5C31\u5927\u533A-\u5927\u4E2D\u53F0-\u8FD0\u8425",children:[{label:"\u7C7B\u522B 2.1.1.1.1.1",children:null,uv:1,sum:1,count:0},{label:"\u7C7B\u522B 2.1.1.1.1.2",children:null,uv:1,sum:1,count:0}],uv:1,sum:3,count:0}],uv:1,sum:4,count:0},{label:"\u7C7B\u522B 2.1.1.2",children:null,uv:1,sum:1,count:0}],uv:0,sum:5,count:0},{label:"\u7C7B\u522B 2.1.2",children:[{label:"\u7C7B\u522B 2.1.2.1",children:null,uv:1,sum:1,count:0},{label:"\u7C7B\u522B 2.1.2.2",children:[{label:"\u7C7B\u522B 2.1.2.2.1",children:null,uv:1,sum:1,count:0}],uv:0,sum:1,count:0}],uv:0,sum:2,count:0},{label:"\u7C7B\u522B 2.1.3",children:[{label:"\u7C7B\u522B 2.1.3.1",children:null,uv:1,sum:1,count:0}],uv:0,sum:1,count:0},{label:"\u7C7B\u522B 2.1.4",children:[{label:"\u7C7B\u522B 2.1.4.1",children:null,uv:2,sum:2,count:0}],uv:0,sum:2,count:0},{label:"\u7C7B\u522B 2.1.5",children:null,uv:1,sum:1,count:0}],uv:1,sum:12,count:0},{label:"\u7C7B\u522B 2.2",children:[{label:"\u7C7B\u522B 2.2.1",children:null,uv:1,sum:1,count:0}],uv:1,sum:2,count:0},{label:"\u7C7B\u522B 2.3",children:null,uv:1,sum:1,count:0},{label:"\u7C7B\u522B 2.4",children:[{label:"\u7C7B\u522B 2.4.1",children:[{label:"\u7C7B\u522B 2.4.1.1",children:null,uv:1,sum:1,count:0}],uv:0,sum:1,count:0}],uv:0,sum:1,count:0},{label:"\u7C7B\u522B 2.5",children:[{label:"\u7C7B\u522B 2.5.1",children:null,uv:3,sum:3,count:0}],uv:0,sum:3,count:0}],uv:1,sum:20,count:0},{label:"\u7C7B\u522B 3",children:[{label:"\u7C7B\u522B 3.1",children:[{label:"\u7C7B\u522B 3.1.1",children:[{label:"\u7C7B\u522B 3.1.1.1",children:[{label:"\u7C7B\u522B 3.1.1.1.1",children:[{label:"\u7C7B\u522B 3.1.1.1.1.1",children:null,uv:1,sum:1,count:0}],uv:0,sum:1,count:0}],uv:0,sum:1,count:0},{label:"\u7C7B\u522B 3.1.1.2",children:[{label:"\u7C7B\u522B 3.1.1.2.1",children:[{label:"\u7C7B\u522B 3.1.1.2.1.1",children:null,uv:2,sum:2,count:0}],uv:0,sum:2,count:0}],uv:1,sum:3,count:0}],uv:0,sum:4,count:0},{label:"\u7C7B\u522B 3.1.2",children:[{label:"\u7C7B\u522B 3.1.2.1",children:null,uv:3,sum:3,count:0},{label:"\u7C7B\u522B 3.1.2.2",children:[{_id:"\u6570\u636E\u4EA7\u54C1&\u8FD0\u8425",label:"\u6570\u636E\u4EA7\u54C1&\u8FD0\u8425",value:"\u8682\u8681\u91D1\u670D-\u5E73\u53F0\u6570\u636E\u6280\u672F\u4E8B\u4E1A\u7FA4-\u6570\u636E\u5E73\u53F0\u90E8-\u6570\u636E\u8D44\u4EA7\u5E73\u53F0-\u6570\u636E\u4EA7\u54C1&\u8FD0\u8425",children:null,uv:1,sum:1,count:0}],uv:0,sum:1,count:0}],uv:0,sum:4,count:0}],uv:0,sum:8,count:0},{label:"\u7C7B\u522B 3.2",children:[{label:"\u7C7B\u522B 3.2.1",children:[{label:"\u7C7B\u522B 3.2.1.1",children:null,uv:1,sum:1,count:0},{label:"\u7C7B\u522B 3.2.1.2",children:[{label:"\u7C7B\u522B 3.2.1.2.1",children:null,uv:1,sum:1,count:0},{label:"\u7C7B\u522B 3.2.1.2.2",children:[{_id:"\u57CE\u5E02\u6C11\u751F\u8FD0\u8425",label:"\u57CE\u5E02\u6C11\u751F\u8FD0\u8425",value:"\u8682\u8681\u91D1\u670D-\u652F\u4ED8\u5B9D\u4E8B\u4E1A\u7FA4-\u5546\u5BB6\u670D\u52A1\u53CA\u5F00\u653E\u5E73\u53F0\u4E8B\u4E1A\u90E8-\u516C\u5171\u670D\u52A1\u90E8-\u8FD0\u8425\u90E8-\u57CE\u5E02\u6C11\u751F\u8FD0\u8425",children:null,uv:1,sum:1,count:0}],uv:0,sum:1,count:0}],uv:1,sum:3,count:0}],uv:0,sum:4,count:0}],uv:0,sum:4,count:0},{label:"\u7C7B\u522B 3.3",children:[{label:"\u7C7B\u522B 3.3.1",children:[{label:"\u7C7B\u522B 3.3.1.1",children:null,uv:1,sum:1,count:0}],uv:0,sum:1,count:0}],uv:1,sum:2,count:0},{label:"\u7C7B\u522B 3.4",children:[{label:"\u7C7B\u522B 3.4.1",children:[{label:"\u7C7B\u522B 3.4.1.1",children:null,uv:1,sum:1,count:0},{label:"3.4.1.2",children:null,uv:1,sum:1,count:0}],uv:0,sum:2,count:0},{label:"\u7C7B\u522B 3.4.2",children:null,uv:1,sum:1,count:0},{label:"\u7C7B\u522B 3.4.3",children:[{label:"\u7C7B\u522B 3.4.3.1",children:null,uv:1,sum:1,count:0}],uv:0,sum:1,count:0}],uv:0,sum:4,count:0},{label:"\u7C7B\u522B 3.5",children:[{label:"\u7C7B\u522B 3.5.1",children:[{label:"\u7C7B\u522B 3.5.1.1",children:null,uv:2,sum:2,count:0}],uv:0,sum:2,count:0},{label:"\u7C7B\u522B 3.5.2",children:[{label:"\u7C7B\u522B 3.5.2.1",children:null,uv:1,sum:1,count:0}],uv:0,sum:1,count:0}],uv:0,sum:3,count:0},{label:"\u7C7B\u522B 3.6",children:[{label:"\u7C7B\u522B 3.6.1",children:[{label:"\u7C7B\u522B 3.6.1.1",children:null,uv:1,sum:1,count:0},{label:"\u7C7B\u522B 3.6.1.2",children:null,uv:1,sum:1,count:0}],uv:0,sum:2,count:0}],uv:1,sum:3,count:0},{label:"\u7C7B\u522B 3.7",children:[{label:"\u7C7B\u522B 3.7.1",children:[{label:"\u7C7B\u522B 3.7.1.1",children:[{label:"\u7C7B\u522B 3.7.1.1.1",children:null,uv:1,sum:1,count:0}],uv:0,sum:1,count:0}],uv:0,sum:1,count:0}],uv:0,sum:1,count:0}],uv:0,sum:25,count:0}]}},theme:"indigo",height:320,legend:!1,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-funnel",name:"\u6F0F\u6597\u56FE",description:"\u5C55\u793A\u9636\u6BB5\u6570\u91CF\u7684\u53D8\u5316\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u6F0F\u6597\u56FE",datasets:{main:[{stage:"Visits",value:8043},{stage:"Inquiries",value:2136},{stage:"Quotes",value:908},{stage:"Negotiations",value:691},{stage:"Deals",value:527}]},theme:"indigo",height:320,legend:!1,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-histogram",name:"\u76F4\u65B9\u56FE",description:"\u5206\u7BB1\u89C2\u5BDF\u6570\u503C\u9891\u7387\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u76F4\u65B9\u56FE",datasets:{main:[{name:14513,carat:1.35,cut:"Ideal",color:"J",clarity:"VS2",depth:61.4,table:57,price:5862,x:7.1,y:7.13,z:4.37},{name:27015,carat:2.25,cut:"Ideal",color:"I",clarity:"SI2",depth:62.4,table:57,price:17143,x:8.39,y:8.32,z:5.21},{name:44895,carat:.5,cut:"Very-Good",color:"E",clarity:"VS2",depth:63.4,table:58,price:1629,x:5.06,y:5.04,z:3.2},{name:17434,carat:1.41,cut:"Premium",color:"D",clarity:"SI2",depth:61.1,table:56,price:6988,x:7.19,y:7.15,z:4.38},{name:47315,carat:.23,cut:"Very-Good",color:"E",clarity:"VVS2",depth:61.5,table:59,price:530,x:3.95,y:3.98,z:2.44},{name:3143,carat:.7,cut:"Ideal",color:"E",clarity:"SI1",depth:61.6,table:56,price:3330,x:5.7,y:5.72,z:3.52},{name:46417,carat:.55,cut:"Ideal",color:"D",clarity:"VS2",depth:61,table:56,price:1768,x:5.31,y:5.28,z:3.23},{name:23762,carat:1.51,cut:"Premium",color:"F",clarity:"SI1",depth:61.4,table:58,price:11817,x:7.43,y:7.35,z:4.54},{name:51424,carat:.85,cut:"Good",color:"J",clarity:"VS1",depth:63.6,table:57,price:2372,x:6.01,y:5.94,z:3.8},{name:20118,carat:1.31,cut:"Ideal",color:"H",clarity:"VS1",depth:61.5,table:55,price:8583,x:7.05,y:7.02,z:4.33},{name:20160,carat:1.21,cut:"Ideal",color:"G",clarity:"VS1",depth:62.6,table:56,price:8616,x:6.77,y:6.81,z:4.25},{name:2420,carat:.91,cut:"Fair",color:"H",clarity:"SI1",depth:64.8,table:57,price:3180,x:6.12,y:6.07,z:3.95},{name:38208,carat:.43,cut:"Ideal",color:"F",clarity:"SI1",depth:61.8,table:56,price:1016,x:4.87,y:4.84,z:3},{name:18724,carat:1.75,cut:"Premium",color:"I",clarity:"SI1",depth:60.8,table:58,price:7644,x:7.83,y:7.79,z:4.75},{name:35751,carat:.3,cut:"Premium",color:"D",clarity:"VS2",depth:62.9,table:58,price:911,x:4.26,y:4.23,z:2.67},{name:21427,carat:1.5,cut:"Ideal",color:"I",clarity:"VS1",depth:62.8,table:57,price:9533,x:7.24,y:7.28,z:4.56},{name:6488,carat:.96,cut:"Premium",color:"G",clarity:"SI2",depth:61.1,table:59,price:4059,x:6.32,y:6.28,z:3.85},{name:7732,carat:.3,cut:"Very-Good",color:"G",clarity:"VS1",depth:62.6,table:56,price:581,x:4.29,y:4.31,z:2.69},{name:33956,carat:.23,cut:"Very-Good",color:"E",clarity:"VVS2",depth:60.2,table:57,price:465,x:3.99,y:4.05,z:2.42},{name:29982,carat:.31,cut:"Ideal",color:"F",clarity:"VVS2",depth:61.2,table:56,price:716,x:4.4,y:4.43,z:2.7},{name:45512,carat:.51,cut:"Ideal",color:"E",clarity:"SI1",depth:61.5,table:57,price:1682,x:5.11,y:5.16,z:3.16},{name:40938,carat:.23,cut:"Very-Good",color:"E",clarity:"VVS1",depth:60.8,table:56,price:499,x:3.94,y:3.99,z:2.41},{name:22716,carat:1.01,cut:"Premium",color:"D",clarity:"VVS2",depth:62.4,table:58,price:10732,x:6.39,y:6.44,z:4},{name:595,carat:.76,cut:"Very-Good",color:"H",clarity:"SI1",depth:60.9,table:55,price:2838,x:5.92,y:5.94,z:3.61},{name:3874,carat:.81,cut:"Ideal",color:"F",clarity:"SI1",depth:62.3,table:55,price:3481,x:5.96,y:6,z:3.72},{name:50802,carat:.71,cut:"Premium",color:"E",clarity:"SI2",depth:61.4,table:59,price:2306,x:5.74,y:5.7,z:3.51},{name:27284,carat:2.03,cut:"Very-Good",color:"G",clarity:"SI2",depth:62.7,table:55,price:17752,x:8.07,y:8.14,z:5.08},{name:4623,carat:.91,cut:"Ideal",color:"E",clarity:"SI1",depth:60.7,table:56,price:3665,x:6.26,y:6.22,z:3.79},{name:3516,carat:.71,cut:"Ideal",color:"F",clarity:"VS1",depth:61.5,table:57,price:3404,x:5.7,y:5.74,z:3.52},{name:8663,carat:1.16,cut:"Very-Good",color:"H",clarity:"SI2",depth:63.2,table:57,price:4455,x:6.66,y:6.7,z:4.22},{name:34751,carat:.41,cut:"Premium",color:"H",clarity:"SI1",depth:62,table:59,price:876,x:4.8,y:4.78,z:2.97},{name:45458,carat:.7,cut:"Good",color:"I",clarity:"SI2",depth:63.5,table:56,price:1675,x:5.59,y:5.63,z:3.56},{name:42691,carat:.5,cut:"Ideal",color:"E",clarity:"SI1",depth:61.6,table:57,price:1337,x:5.08,y:5.11,z:3.14},{name:10216,carat:1.26,cut:"Ideal",color:"J",clarity:"SI2",depth:62.5,table:53,price:4742,x:6.9,y:6.86,z:4.3},{name:2493,carat:.9,cut:"Good",color:"I",clarity:"SI1",depth:63,table:53,price:3196,x:6.08,y:6.15,z:3.85},{name:9911,carat:1.01,cut:"Premium",color:"E",clarity:"SI2",depth:62.9,table:59,price:4688,x:6.37,y:6.31,z:3.99},{name:38697,carat:.37,cut:"Ideal",color:"E",clarity:"VS2",depth:61.9,table:53,price:1041,x:4.65,y:4.62,z:2.87},{name:36243,carat:.54,cut:"Ideal",color:"I",clarity:"SI2",depth:60.9,table:57,price:935,x:5.26,y:5.31,z:3.22},{name:33880,carat:.3,cut:"Premium",color:"E",clarity:"VS2",depth:60.7,table:59,price:844,x:4.33,y:4.3,z:2.62},{name:1993,carat:.91,cut:"Premium",color:"F",clarity:"SI2",depth:62.1,table:56,price:3096,x:6.26,y:6.21,z:3.87},{name:235,carat:.64,cut:"Ideal",color:"D",clarity:"VS1",depth:61.5,table:56,price:2787,x:5.54,y:5.55,z:3.41},{name:5256,carat:1.01,cut:"Very-Good",color:"I",clarity:"SI2",depth:61.4,table:63,price:3792,x:6.33,y:6.38,z:3.9},{name:25643,carat:2.15,cut:"Ideal",color:"I",clarity:"SI1",depth:62.5,table:57,price:14534,x:8.2,y:8.16,z:5.11},{name:32459,carat:.38,cut:"Ideal",color:"H",clarity:"VVS2",depth:61.6,table:56,price:794,x:4.67,y:4.72,z:2.89},{name:29415,carat:.42,cut:"Very-Good",color:"E",clarity:"SI2",depth:62.9,table:56,price:700,x:4.77,y:4.8,z:3.01},{name:25732,carat:1.51,cut:"Good",color:"G",clarity:"IF",depth:62.8,table:60,price:14654,x:7.18,y:7.24,z:4.53},{name:31089,carat:.33,cut:"Very-Good",color:"G",clarity:"VVS2",depth:60,table:63,price:752,x:4.45,y:4.49,z:2.68},{name:1719,carat:.32,cut:"Good",color:"G",clarity:"VS2",depth:63.3,table:54,price:561,x:4.36,y:4.39,z:2.77},{name:40481,carat:.55,cut:"Very-Good",color:"G",clarity:"SI1",depth:60.7,table:56,price:1141,x:5.32,y:5.38,z:3.25},{name:24538,carat:1.62,cut:"Ideal",color:"F",clarity:"SI1",depth:62.7,table:56,price:12828,x:7.5,y:7.44,z:4.68},{name:29106,carat:.34,cut:"Ideal",color:"H",clarity:"VS2",depth:62.5,table:54,price:689,x:4.54,y:4.49,z:2.82},{name:16819,carat:1.21,cut:"Premium",color:"H",clarity:"VS2",depth:58.8,table:59,price:6708,x:7.01,y:6.98,z:4.11},{name:21432,carat:1.51,cut:"Good",color:"E",clarity:"SI1",depth:65.5,table:56,price:9539,x:7.12,y:7.16,z:4.68},{name:2845,carat:.56,cut:"Ideal",color:"D",clarity:"VVS1",depth:61.8,table:56,price:3270,x:5.28,y:5.31,z:3.27},{name:31546,carat:.3,cut:"Ideal",color:"E",clarity:"VVS2",depth:62.1,table:57,price:766,x:4.27,y:4.3,z:2.66},{name:22374,carat:.31,cut:"Premium",color:"H",clarity:"VS2",depth:62.5,table:60,price:628,x:4.36,y:4.31,z:2.71},{name:40311,carat:.4,cut:"Premium",color:"E",clarity:"VS1",depth:62.5,table:58,price:1125,x:4.72,y:4.69,z:2.94},{name:40891,carat:.5,cut:"Fair",color:"E",clarity:"SI1",depth:65,table:58,price:1176,x:4.98,y:4.9,z:3.21},{name:784,carat:.53,cut:"Ideal",color:"F",clarity:"VVS1",depth:61.4,table:57,price:2860,x:5.23,y:5.2,z:3.2},{name:44163,carat:.5,cut:"Very-Good",color:"D",clarity:"VS2",depth:61.1,table:58,price:1565,x:5.09,y:5.18,z:3.14},{name:22887,carat:1.36,cut:"Premium",color:"F",clarity:"VS2",depth:59.3,table:60,price:10929,x:7.23,y:7.2,z:4.28},{name:21716,carat:.28,cut:"Very-Good",color:"F",clarity:"VVS2",depth:60.2,table:58,price:628,x:4.26,y:4.28,z:2.57},{name:38412,carat:.35,cut:"Ideal",color:"G",clarity:"VVS2",depth:61,table:57,price:1024,x:4.58,y:4.54,z:2.78},{name:52284,carat:.59,cut:"Very-Good",color:"E",clarity:"VVS2",depth:61.7,table:59,price:2494,x:5.37,y:5.36,z:3.31},{name:15622,carat:1.01,cut:"Very-Good",color:"F",clarity:"VS2",depth:63.1,table:56,price:6267,x:6.41,y:6.37,z:4.03},{name:32858,carat:.4,cut:"Ideal",color:"H",clarity:"VS1",depth:61.8,table:56,price:807,x:4.74,y:4.78,z:2.94},{name:49842,carat:.71,cut:"Premium",color:"H",clarity:"VS2",depth:61.3,table:58,price:2169,x:5.76,y:5.82,z:3.55},{name:39854,carat:.57,cut:"Good",color:"J",clarity:"VS2",depth:63.3,table:56,price:1100,x:5.24,y:5.28,z:3.33},{name:13418,carat:1.5,cut:"Ideal",color:"I",clarity:"I1",depth:61.8,table:57,price:5510,x:7.39,y:7.31,z:4.54},{name:28687,carat:.36,cut:"Ideal",color:"G",clarity:"VS1",depth:62.3,table:57,price:678,x:4.55,y:4.57,z:2.84},{name:23642,carat:1.51,cut:"Premium",color:"F",clarity:"SI1",depth:62.8,table:59,price:11666,x:7.31,y:7.28,z:4.58},{name:42559,carat:.42,cut:"Ideal",color:"D",clarity:"VVS2",depth:62.1,table:55,price:1326,x:4.78,y:4.81,z:2.98},{name:53456,carat:.7,cut:"Very-Good",color:"D",clarity:"SI1",depth:61.1,table:57,price:2677,x:5.74,y:5.66,z:3.48},{name:36223,carat:.36,cut:"Ideal",color:"D",clarity:"VS2",depth:60,table:56,price:933,x:4.68,y:4.66,z:2.8},{name:10157,carat:1.02,cut:"Very-Good",color:"H",clarity:"SI1",depth:61.6,table:58,price:4727,x:6.49,y:6.54,z:4.01},{name:51812,carat:.71,cut:"Ideal",color:"F",clarity:"SI1",depth:61.6,table:56,price:2416,x:5.71,y:5.75,z:3.53},{name:47244,carat:.62,cut:"Premium",color:"G",clarity:"VS2",depth:61.1,table:59,price:1841,x:5.56,y:5.5,z:3.38},{name:15775,carat:1.28,cut:"Ideal",color:"I",clarity:"VS2",depth:61.4,table:57,price:6308,x:7.04,y:6.97,z:4.3},{name:44224,carat:.5,cut:"Ideal",color:"D",clarity:"VS1",depth:63,table:57,price:1571,x:5.06,y:5,z:3.17},{name:29997,carat:.43,cut:"Premium",color:"D",clarity:"SI2",depth:62.6,table:58,price:716,x:4.79,y:4.82,z:3.01},{name:53543,carat:.78,cut:"Fair",color:"H",clarity:"VS2",depth:54.7,table:67,price:2691,x:6.25,y:6.15,z:3.4},{name:11508,carat:1.01,cut:"Ideal",color:"I",clarity:"SI1",depth:62.5,table:56,price:5020,x:6.4,y:6.36,z:3.99},{name:37817,carat:.36,cut:"Very-Good",color:"G",clarity:"IF",depth:60.4,table:62,price:1002,x:4.6,y:4.64,z:2.79},{name:21203,carat:1.57,cut:"Ideal",color:"J",clarity:"VVS2",depth:61.4,table:57,price:9346,x:7.45,y:7.5,z:4.59},{name:38367,carat:.43,cut:"Premium",color:"D",clarity:"SI1",depth:62.4,table:60,price:1022,x:4.82,y:4.79,z:3},{name:39676,carat:.42,cut:"Premium",color:"G",clarity:"VS2",depth:62.6,table:57,price:1087,x:4.8,y:4.76,z:2.99},{name:51879,carat:.71,cut:"Very-Good",color:"H",clarity:"VS2",depth:59.2,table:63,price:2428,x:5.81,y:5.85,z:3.45},{name:50007,carat:.7,cut:"Very-Good",color:"F",clarity:"SI2",depth:60.7,table:58,price:2195,x:5.73,y:5.77,z:3.49},{name:19620,carat:1.03,cut:"Ideal",color:"F",clarity:"VS1",depth:62.8,table:54,price:8237,x:6.48,y:6.39,z:4.05},{name:43432,carat:.54,cut:"Very-Good",color:"E",clarity:"SI2",depth:60.7,table:56.5,price:1415,x:5.24,y:5.28,z:3.19},{name:15335,carat:1.36,cut:"Premium",color:"J",clarity:"VS2",depth:58.4,table:59,price:6157,x:7.4,y:7.27,z:4.28},{name:4350,carat:.72,cut:"Premium",color:"D",clarity:"VS1",depth:62.7,table:56,price:3601,x:5.76,y:5.69,z:3.59},{name:40304,carat:.4,cut:"Ideal",color:"E",clarity:"VS1",depth:61.2,table:57,price:1125,x:4.77,y:4.74,z:2.91},{name:51318,carat:.31,cut:"Ideal",color:"H",clarity:"VS1",depth:61.1,table:57,price:544,x:4.35,y:4.39,z:2.67},{name:41128,carat:.52,cut:"Premium",color:"G",clarity:"SI2",depth:61.5,table:59,price:1196,x:5.19,y:5.15,z:3.18},{name:49406,carat:.5,cut:"Very-Good",color:"E",clarity:"VVS2",depth:59.1,table:61,price:2106,x:5.19,y:5.23,z:3.08},{name:28924,carat:.3,cut:"Ideal",color:"H",clarity:"VVS1",depth:61.9,table:55,price:684,x:4.32,y:4.34,z:2.68},{name:32473,carat:.33,cut:"Very-Good",color:"G",clarity:"VVS1",depth:61.2,table:57,price:795,x:4.47,y:4.5,z:2.74},{name:42924,carat:.41,cut:"Very-Good",color:"D",clarity:"VVS2",depth:61.2,table:55,price:1364,x:4.79,y:4.82,z:2.95},{name:35346,carat:.42,cut:"Very-Good",color:"H",clarity:"SI1",depth:63.1,table:57,price:898,x:4.78,y:4.76,z:3.01},{name:12471,carat:1.08,cut:"Premium",color:"H",clarity:"VS2",depth:62.1,table:58,price:5250,x:6.63,y:6.51,z:4.08},{name:19807,carat:1.5,cut:"Ideal",color:"I",clarity:"SI1",depth:62.3,table:56,price:8371,x:7.35,y:7.41,z:4.6},{name:49271,carat:.64,cut:"Ideal",color:"E",clarity:"SI1",depth:62,table:56,price:2089,x:5.57,y:5.53,z:3.44},{name:2423,carat:.95,cut:"Premium",color:"G",clarity:"SI2",depth:62.6,table:58,price:3181,x:6.22,y:6.18,z:3.88},{name:24658,carat:1.72,cut:"Premium",color:"H",clarity:"SI1",depth:61.4,table:59,price:12998,x:7.71,y:7.64,z:4.71},{name:22254,carat:1.18,cut:"Ideal",color:"G",clarity:"VVS2",depth:61.3,table:55,price:10308,x:6.86,y:6.81,z:4.19},{name:11008,carat:.97,cut:"Premium",color:"E",clarity:"SI1",depth:61,table:61,price:4915,x:6.32,y:6.28,z:3.84},{name:40260,carat:.4,cut:"Premium",color:"H",clarity:"VVS2",depth:60.6,table:60,price:1125,x:4.79,y:4.75,z:2.89},{name:16242,carat:1.01,cut:"Premium",color:"G",clarity:"VS1",depth:62.6,table:59,price:6499,x:6.38,y:6.46,z:4.02},{name:28129,carat:.29,cut:"Very-Good",color:"F",clarity:"VVS2",depth:62.7,table:58,price:664,x:4.22,y:4.26,z:2.66},{name:21334,carat:1.53,cut:"Premium",color:"G",clarity:"SI1",depth:58.4,table:59,price:9476,x:7.62,y:7.55,z:4.43},{name:31566,carat:.31,cut:"Ideal",color:"D",clarity:"VVS2",depth:62,table:56,price:766,x:4.34,y:4.37,z:2.7},{name:17354,carat:1.33,cut:"Good",color:"I",clarity:"VS1",depth:63.7,table:56,price:6963,x:6.92,y:6.96,z:4.42},{name:19647,carat:1.52,cut:"Premium",color:"J",clarity:"VS1",depth:62.4,table:59,price:8258,x:7.36,y:7.31,z:4.58},{name:18829,carat:1.27,cut:"Very-Good",color:"H",clarity:"VS2",depth:62.6,table:57,price:7715,x:6.91,y:6.95,z:4.34},{name:19774,carat:1.52,cut:"Premium",color:"F",clarity:"SI2",depth:62.3,table:59,price:8342,x:7.37,y:7.33,z:4.58},{name:31682,carat:.26,cut:"Ideal",color:"E",clarity:"VVS2",depth:62,table:56,price:769,x:4.13,y:4.1,z:2.55},{name:8951,carat:1.19,cut:"Premium",color:"I",clarity:"SI2",depth:59.5,table:59,price:4498,x:6.95,y:6.89,z:4.12},{name:32729,carat:.31,cut:"Premium",color:"F",clarity:"VS2",depth:62,table:60,price:802,x:4.34,y:4.3,z:2.68},{name:46613,carat:.51,cut:"Ideal",color:"D",clarity:"VS2",depth:62.7,table:55,price:1787,x:5.09,y:5.12,z:3.2},{name:20765,carat:1.22,cut:"Ideal",color:"G",clarity:"VS1",depth:60.7,table:57,price:9002,x:6.93,y:6.94,z:4.21},{name:12363,carat:.26,cut:"Very-Good",color:"E",clarity:"VVS2",depth:62.6,table:58,price:597,x:4.07,y:4.11,z:2.56},{name:26640,carat:2.03,cut:"Very-Good",color:"E",clarity:"SI2",depth:63.7,table:58,price:16412,x:7.91,y:7.94,z:5.05},{name:17076,carat:1.24,cut:"Premium",color:"H",clarity:"SI1",depth:60.2,table:60,price:6808,x:6.94,y:6.91,z:4.17},{name:27719,carat:.32,cut:"Premium",color:"I",clarity:"VS1",depth:59.8,table:60,price:648,x:4.46,y:4.44,z:2.66},{name:37924,carat:.23,cut:"Very-Good",color:"D",clarity:"VVS1",depth:61.7,table:59,price:485,x:3.94,y:3.97,z:2.44},{name:14827,carat:1.21,cut:"Ideal",color:"H",clarity:"SI1",depth:61.2,table:57,price:5973,x:6.86,y:6.93,z:4.22},{name:16966,carat:1.22,cut:"Premium",color:"H",clarity:"SI1",depth:61.8,table:57,price:6776,x:6.86,y:6.82,z:4.23},{name:2789,carat:.81,cut:"Ideal",color:"H",clarity:"VS1",depth:61.8,table:58,price:3257,x:5.97,y:6.04,z:3.71},{name:14068,carat:.3,cut:"Ideal",color:"G",clarity:"VS1",depth:62.6,table:57,price:605,x:4.27,y:4.29,z:2.68},{name:16780,carat:1.02,cut:"Ideal",color:"G",clarity:"VS1",depth:62.2,table:56,price:6683,x:6.46,y:6.4,z:4},{name:50928,carat:.71,cut:"Ideal",color:"I",clarity:"SI1",depth:61.6,table:55,price:2319,x:5.72,y:5.74,z:3.53},{name:52609,carat:.7,cut:"Very-Good",color:"G",clarity:"SI1",depth:62.5,table:59,price:2545,x:5.69,y:5.73,z:3.57},{name:31166,carat:.41,cut:"Premium",color:"E",clarity:"SI1",depth:60.1,table:60,price:755,x:4.79,y:4.83,z:2.89},{name:2594,carat:.64,cut:"Ideal",color:"F",clarity:"VVS2",depth:60.9,table:56,price:3217,x:5.57,y:5.59,z:3.4},{name:41268,carat:.31,cut:"Ideal",color:"I",clarity:"VS1",depth:61.9,table:54.5,price:502,x:4.33,y:4.36,z:2.69},{name:17708,carat:.3,cut:"Very-Good",color:"F",clarity:"VVS2",depth:64.2,table:56,price:613,x:4.22,y:4.26,z:2.72},{name:15112,carat:1,cut:"Ideal",color:"D",clarity:"SI1",depth:62.7,table:57,price:6073,x:6.34,y:6.38,z:3.99},{name:39215,carat:.42,cut:"Very-Good",color:"D",clarity:"VS1",depth:60.7,table:60,price:1066,x:4.81,y:4.88,z:2.94},{name:43088,carat:.51,cut:"Premium",color:"E",clarity:"SI1",depth:62.4,table:59,price:1381,x:5.07,y:5.12,z:3.18},{name:48645,carat:.27,cut:"Ideal",color:"E",clarity:"VS2",depth:60.8,table:56,price:537,x:4.25,y:4.23,z:2.58},{name:41967,carat:.23,cut:"Very-Good",color:"E",clarity:"VVS2",depth:61.1,table:58,price:505,x:3.93,y:3.99,z:2.42},{name:37024,carat:.33,cut:"Premium",color:"G",clarity:"VVS2",depth:61.9,table:58,price:965,x:4.43,y:4.39,z:2.73},{name:33773,carat:.48,cut:"Ideal",color:"I",clarity:"SI1",depth:61.9,table:53,price:841,x:5.06,y:5.08,z:3.14},{name:21635,carat:1.02,cut:"Very-Good",color:"F",clarity:"VVS2",depth:63.7,table:59,price:9728,x:6.34,y:6.38,z:4.05},{name:2696,carat:.9,cut:"Very-Good",color:"G",clarity:"SI2",depth:63.4,table:59,price:3246,x:6.08,y:6.04,z:3.84},{name:6065,carat:1.01,cut:"Very-Good",color:"G",clarity:"SI2",depth:62.1,table:61,price:3966,x:6.27,y:6.38,z:3.93},{name:49421,carat:.55,cut:"Ideal",color:"E",clarity:"VS1",depth:61.2,table:57,price:2107,x:5.3,y:5.28,z:3.24},{name:48692,carat:.58,cut:"Ideal",color:"H",clarity:"VVS1",depth:61.6,table:56,price:2006,x:5.35,y:5.39,z:3.31},{name:6230,carat:.9,cut:"Good",color:"F",clarity:"SI1",depth:58.8,table:60,price:4004,x:6.22,y:6.26,z:3.67},{name:4418,carat:1.01,cut:"Good",color:"E",clarity:"SI2",depth:63.9,table:58,price:3611,x:6.37,y:6.31,z:4.05},{name:47490,carat:.72,cut:"Ideal",color:"J",clarity:"SI1",depth:62.3,table:56,price:1864,x:5.75,y:5.78,z:3.59},{name:35086,carat:.3,cut:"Ideal",color:"F",clarity:"IF",depth:61.1,table:58,price:886,x:4.32,y:4.36,z:2.65},{name:25518,carat:2.14,cut:"Ideal",color:"I",clarity:"SI2",depth:61.9,table:56,price:14321,x:8.22,y:8.26,z:5.1},{name:38319,carat:.52,cut:"Ideal",color:"I",clarity:"SI1",depth:62,table:54,price:1019,x:5.17,y:5.19,z:3.21},{name:30835,carat:.33,cut:"Ideal",color:"H",clarity:"VS1",depth:60.2,table:57,price:743,x:4.54,y:4.5,z:2.72},{name:39296,carat:.3,cut:"Ideal",color:"H",clarity:"VS2",depth:62.5,table:57,price:491,x:4.26,y:4.29,z:2.67},{name:18648,carat:1.03,cut:"Ideal",color:"F",clarity:"VS1",depth:59,table:55,price:7613,x:6.62,y:6.67,z:3.92},{name:38577,carat:.4,cut:"Premium",color:"G",clarity:"VS2",depth:62.8,table:61,price:1035,x:4.67,y:4.63,z:2.92},{name:3507,carat:.76,cut:"Ideal",color:"E",clarity:"SI1",depth:61.2,table:56,price:3401,x:5.88,y:5.91,z:3.61},{name:46196,carat:.5,cut:"Ideal",color:"F",clarity:"VS2",depth:60.9,table:57,price:1749,x:5.14,y:5.16,z:3.14},{name:36046,carat:.34,cut:"Very-Good",color:"G",clarity:"IF",depth:61,table:56,price:924,x:4.5,y:4.54,z:2.76},{name:2473,carat:.76,cut:"Ideal",color:"E",clarity:"VS2",depth:61.5,table:56,price:3192,x:5.92,y:5.89,z:3.63},{name:30749,carat:.34,cut:"Ideal",color:"H",clarity:"VVS1",depth:62.2,table:54,price:740,x:4.48,y:4.53,z:2.8},{name:1949,carat:.72,cut:"Ideal",color:"F",clarity:"VS1",depth:62.4,table:56,price:3084,x:5.76,y:5.72,z:3.58},{name:14586,carat:1.05,cut:"Premium",color:"H",clarity:"VS1",depth:60.1,table:57,price:5886,x:6.62,y:6.59,z:3.97},{name:47900,carat:.54,cut:"Ideal",color:"G",clarity:"VVS2",depth:61.7,table:57,price:1914,x:5.23,y:5.26,z:3.23},{name:8729,carat:.27,cut:"Ideal",color:"E",clarity:"VVS1",depth:62,table:56,price:586,x:4.16,y:4.19,z:2.59},{name:35578,carat:.35,cut:"Premium",color:"F",clarity:"VS2",depth:62,table:59,price:906,x:4.55,y:4.51,z:2.81},{name:52563,carat:.7,cut:"Ideal",color:"I",clarity:"VVS1",depth:62.3,table:55,price:2536,x:5.7,y:5.64,z:3.53},{name:30140,carat:.32,cut:"Premium",color:"G",clarity:"VS2",depth:62.6,table:60,price:720,x:4.36,y:4.33,z:2.72},{name:34915,carat:.34,cut:"Ideal",color:"F",clarity:"VS2",depth:62.9,table:55,price:880,x:4.48,y:4.46,z:2.81},{name:18768,carat:1.35,cut:"Premium",color:"H",clarity:"SI1",depth:62.4,table:58,price:7673,x:7.03,y:6.95,z:4.36},{name:903,carat:.72,cut:"Very-Good",color:"H",clarity:"VS1",depth:62.2,table:54,price:2877,x:5.74,y:5.76,z:3.57},{name:27807,carat:.3,cut:"Ideal",color:"G",clarity:"VVS2",depth:61.9,table:57,price:650,x:4.3,y:4.33,z:2.66},{name:2392,carat:.32,cut:"Ideal",color:"E",clarity:"SI1",depth:61.8,table:55,price:561,x:4.42,y:4.45,z:2.74},{name:50763,carat:.75,cut:"Very-Good",color:"I",clarity:"SI1",depth:63.7,table:56,price:2300,x:5.73,y:5.77,z:3.66},{name:35952,carat:.3,cut:"Ideal",color:"F",clarity:"SI1",depth:61.9,table:56,price:475,x:4.29,y:4.33,z:2.67},{name:30531,carat:.38,cut:"Premium",color:"D",clarity:"SI1",depth:62.2,table:58,price:733,x:4.57,y:4.63,z:2.86},{name:17233,carat:1.55,cut:"Premium",color:"J",clarity:"SI2",depth:62.6,table:57,price:6890,x:7.37,y:7.32,z:4.6},{name:3899,carat:.89,cut:"Premium",color:"H",clarity:"VS1",depth:60.5,table:59,price:3489,x:6.22,y:6.17,z:3.75},{name:44124,carat:.5,cut:"Premium",color:"E",clarity:"VS2",depth:62,table:58,price:1559,x:5.07,y:5.09,z:3.15},{name:46353,carat:.57,cut:"Ideal",color:"F",clarity:"SI1",depth:61.9,table:56,price:1759,x:5.33,y:5.37,z:3.31},{name:42806,carat:.59,cut:"Ideal",color:"J",clarity:"VS2",depth:60.8,table:57,price:1352,x:5.47,y:5.42,z:3.31},{name:13593,carat:1.01,cut:"Very-Good",color:"F",clarity:"VS2",depth:61,table:59,price:5560,x:6.39,y:6.46,z:3.92},{name:34268,carat:.29,cut:"Very-Good",color:"H",clarity:"VVS2",depth:62.2,table:54,price:466,x:4.23,y:4.26,z:2.64},{name:35461,carat:.33,cut:"Premium",color:"F",clarity:"VVS2",depth:62.3,table:60,price:901,x:4.43,y:4.4,z:2.75},{name:13886,carat:1.03,cut:"Premium",color:"D",clarity:"SI1",depth:63,table:59,price:5653,x:6.44,y:6.39,z:4.04},{name:38406,carat:.35,cut:"Premium",color:"H",clarity:"VVS1",depth:61.2,table:60,price:1024,x:4.55,y:4.5,z:2.77},{name:3705,carat:1,cut:"Ideal",color:"E",clarity:"SI2",depth:62.9,table:56,price:3450,x:6.32,y:6.3,z:3.97},{name:43649,carat:.51,cut:"Good",color:"E",clarity:"SI1",depth:63.6,table:58,price:1434,x:5,y:4.97,z:3.17},{name:41002,carat:.43,cut:"Ideal",color:"G",clarity:"VVS1",depth:61.8,table:55,price:1183,x:4.87,y:4.9,z:3.02},{name:51931,carat:.72,cut:"Very-Good",color:"F",clarity:"SI1",depth:62.6,table:55,price:2440,x:5.71,y:5.76,z:3.59},{name:22375,carat:.31,cut:"Ideal",color:"H",clarity:"VS2",depth:63,table:57,price:628,x:4.34,y:4.32,z:2.73},{name:23409,carat:2,cut:"Good",color:"I",clarity:"SI2",depth:64.2,table:52,price:11400,x:7.91,y:7.88,z:5.07},{name:50658,carat:.31,cut:"Very-Good",color:"E",clarity:"SI1",depth:62,table:58,price:544,x:4.3,y:4.35,z:2.68},{name:3106,carat:.72,cut:"Ideal",color:"D",clarity:"SI1",depth:62.2,table:56,price:3322,x:5.77,y:5.74,z:3.58},{name:11307,carat:1.09,cut:"Ideal",color:"F",clarity:"SI2",depth:61.2,table:57,price:4981,x:6.64,y:6.6,z:4.05},{name:39931,carat:.35,cut:"Very-Good",color:"I",clarity:"VS2",depth:61.7,table:57,price:491,x:4.52,y:4.56,z:2.8},{name:43833,carat:.59,cut:"Very-Good",color:"I",clarity:"VS2",depth:60.3,table:59,price:1445,x:5.41,y:5.43,z:3.27},{name:50106,carat:.51,cut:"Ideal",color:"F",clarity:"VVS1",depth:60.9,table:57,price:2208,x:5.16,y:5.21,z:3.16},{name:5353,carat:.74,cut:"Ideal",color:"D",clarity:"VS1",depth:61.7,table:55,price:3813,x:5.79,y:5.85,z:3.59},{name:16756,carat:1.45,cut:"Very-Good",color:"J",clarity:"VS2",depth:62.8,table:57,price:6671,x:7.14,y:7.17,z:4.49},{name:40205,carat:.53,cut:"Good",color:"J",clarity:"VS2",depth:63.8,table:57,price:1122,x:5.12,y:5.1,z:3.26},{name:52489,carat:.73,cut:"Very-Good",color:"E",clarity:"SI1",depth:63.3,table:60,price:2523,x:5.65,y:5.7,z:3.59},{name:1757,carat:.77,cut:"Very-Good",color:"F",clarity:"SI1",depth:59.6,table:60,price:3044,x:5.95,y:5.97,z:3.55},{name:5619,carat:1,cut:"Good",color:"H",clarity:"SI2",depth:63.2,table:59,price:3874,x:6.24,y:6.29,z:3.96},{name:49142,carat:1.05,cut:"Good",color:"E",clarity:"I1",depth:64.1,table:58,price:2066,x:6.46,y:6.32,z:4.09},{name:30970,carat:.38,cut:"Premium",color:"I",clarity:"SI1",depth:60.5,table:58,price:746,x:4.72,y:4.67,z:2.84},{name:17873,carat:1.15,cut:"Premium",color:"D",clarity:"SI1",depth:61.1,table:53,price:7213,x:6.83,y:6.76,z:4.15},{name:45024,carat:.54,cut:"Ideal",color:"H",clarity:"VS1",depth:61.5,table:56,price:1637,x:5.24,y:5.23,z:3.22},{name:51049,carat:.73,cut:"Fair",color:"I",clarity:"VS1",depth:55.9,table:66,price:2330,x:6.11,y:6.01,z:3.39},{name:24439,carat:1.5,cut:"Good",color:"F",clarity:"VS2",depth:60.2,table:58,price:12693,x:7.31,y:7.35,z:4.41},{name:53423,carat:.71,cut:"Premium",color:"G",clarity:"VS2",depth:60.3,table:60,price:2671,x:5.76,y:5.81,z:3.49},{name:21820,carat:1.51,cut:"Ideal",color:"I",clarity:"VS2",depth:62.6,table:55,price:9891,x:7.29,y:7.34,z:4.58},{name:10643,carat:.93,cut:"Premium",color:"G",clarity:"VS2",depth:62.2,table:59,price:4834,x:6.21,y:6.26,z:3.88},{name:21919,carat:1.5,cut:"Ideal",color:"F",clarity:"SI2",depth:62.9,table:55,price:9996,x:7.28,y:7.26,z:4.57},{name:14459,carat:1.06,cut:"Ideal",color:"F",clarity:"SI1",depth:61.9,table:57,price:5834,x:6.57,y:6.54,z:4.06},{name:10217,carat:1.21,cut:"Premium",color:"H",clarity:"SI1",depth:60.5,table:60,price:4743,x:6.81,y:6.72,z:4.09},{name:9804,carat:.9,cut:"Good",color:"G",clarity:"VVS2",depth:62.6,table:58,price:4668,x:6.1,y:6.13,z:3.83},{name:53268,carat:.7,cut:"Premium",color:"F",clarity:"VS2",depth:62.2,table:59,price:2648,x:5.68,y:5.64,z:3.52},{name:6773,carat:.9,cut:"Good",color:"G",clarity:"VS1",depth:65.8,table:59,price:4108,x:6,y:6.04,z:3.96},{name:10387,carat:.38,cut:"Ideal",color:"I",clarity:"SI1",depth:61.8,table:54,price:593,x:4.66,y:4.7,z:2.89},{name:35272,carat:.3,cut:"Ideal",color:"G",clarity:"IF",depth:61.4,table:57,price:895,x:4.33,y:4.37,z:2.67},{name:8344,carat:1.02,cut:"Very-Good",color:"E",clarity:"SI2",depth:60.5,table:58,price:4398,x:6.54,y:6.58,z:3.97},{name:7972,carat:.9,cut:"Very-Good",color:"H",clarity:"VS1",depth:62.2,table:57,price:4324,x:6.1,y:6.15,z:3.81},{name:593,carat:.7,cut:"Ideal",color:"E",clarity:"VS1",depth:61.8,table:56,price:2837,x:5.74,y:5.69,z:3.53},{name:51831,carat:.7,cut:"Good",color:"H",clarity:"VS1",depth:59.4,table:62,price:2421,x:5.71,y:5.74,z:3.4},{name:46596,carat:.54,cut:"Ideal",color:"F",clarity:"VS2",depth:61.4,table:57,price:1786,x:5.25,y:5.2,z:3.21},{name:47761,carat:.52,cut:"Ideal",color:"H",clarity:"VVS1",depth:61.7,table:53,price:1893,x:5.19,y:5.25,z:3.22},{name:10972,carat:1.2,cut:"Premium",color:"H",clarity:"SI2",depth:59.6,table:60,price:4906,x:6.91,y:6.84,z:4.1},{name:42703,carat:.52,cut:"Premium",color:"G",clarity:"SI1",depth:62.8,table:61,price:1338,x:5.14,y:5.11,z:3.22},{name:48210,carat:.62,cut:"Very-Good",color:"D",clarity:"SI1",depth:61.3,table:58,price:1949,x:5.47,y:5.49,z:3.36},{name:33775,carat:.41,cut:"Ideal",color:"D",clarity:"SI2",depth:62.6,table:57,price:841,x:4.77,y:4.72,z:2.97},{name:7478,carat:1.07,cut:"Premium",color:"H",clarity:"SI1",depth:58.9,table:59,price:4235,x:6.76,y:6.71,z:3.97},{name:29757,carat:.3,cut:"Premium",color:"D",clarity:"SI1",depth:62.6,table:56,price:709,x:4.29,y:4.24,z:2.67},{name:31575,carat:.4,cut:"Ideal",color:"F",clarity:"VS2",depth:62.3,table:54,price:767,x:4.74,y:4.77,z:2.96},{name:44462,carat:.55,cut:"Premium",color:"I",clarity:"VVS1",depth:61.3,table:59,price:1593,x:5.27,y:5.3,z:3.24},{name:38587,carat:.39,cut:"Ideal",color:"F",clarity:"VVS2",depth:61.9,table:54.8,price:1036,x:4.68,y:4.69,z:2.9},{name:27555,carat:1.7,cut:"Premium",color:"E",clarity:"VS2",depth:58.6,table:62,price:18342,x:7.92,y:7.84,z:4.62},{name:44242,carat:.51,cut:"Premium",color:"F",clarity:"VS2",depth:62.4,table:58,price:1574,x:5.13,y:5.1,z:3.19},{name:26898,carat:2.01,cut:"Premium",color:"F",clarity:"SI2",depth:61.3,table:61,price:16881,x:8.11,y:8.01,z:4.94},{name:17613,carat:1.3,cut:"Very-Good",color:"H",clarity:"VS2",depth:62.5,table:59,price:7092,x:6.93,y:6.96,z:4.34},{name:3654,carat:1.01,cut:"Ideal",color:"F",clarity:"I1",depth:62.2,table:54,price:3439,x:6.44,y:6.42,z:4},{name:36607,carat:.32,cut:"Very-Good",color:"G",clarity:"SI1",depth:63,table:56,price:477,x:4.35,y:4.38,z:2.75},{name:24304,carat:1.51,cut:"Very-Good",color:"G",clarity:"VS2",depth:58.7,table:63,price:12551,x:7.45,y:7.4,z:4.36},{name:35901,carat:.32,cut:"Ideal",color:"G",clarity:"IF",depth:61.9,table:55,price:918,x:4.38,y:4.44,z:2.73},{name:48842,carat:.55,cut:"Ideal",color:"D",clarity:"VS2",depth:62.3,table:55,price:2030,x:5.29,y:5.24,z:3.28},{name:198,carat:.7,cut:"Premium",color:"E",clarity:"SI1",depth:61,table:58,price:2777,x:5.78,y:5.72,z:3.51},{name:9850,carat:1.01,cut:"Premium",color:"F",clarity:"SI2",depth:61.9,table:58,price:4676,x:6.39,y:6.34,z:3.94},{name:16383,carat:1.04,cut:"Very-Good",color:"G",clarity:"VS1",depth:63.2,table:56,price:6541,x:6.39,y:6.46,z:4.06},{name:15196,carat:1.02,cut:"Very-Good",color:"I",clarity:"VS2",depth:61.5,table:57,price:6104,x:6.4,y:6.44,z:3.95},{name:21578,carat:1.51,cut:"Good",color:"H",clarity:"SI1",depth:61.8,table:62,price:9681,x:7.25,y:7.29,z:4.49},{name:24653,carat:1.7,cut:"Premium",color:"H",clarity:"VS2",depth:61.9,table:60,price:12992,x:7.61,y:7.57,z:4.7},{name:41641,carat:.4,cut:"Ideal",color:"H",clarity:"IF",depth:62.7,table:57,price:1238,x:4.7,y:4.68,z:2.94},{name:51041,carat:.82,cut:"Premium",color:"E",clarity:"SI2",depth:60,table:56,price:2329,x:6.11,y:6.08,z:3.66},{name:13187,carat:1.24,cut:"Ideal",color:"J",clarity:"VS2",depth:62.8,table:56,price:5451,x:6.83,y:6.8,z:4.28},{name:36299,carat:.34,cut:"Premium",color:"E",clarity:"SI2",depth:61.7,table:58,price:477,x:4.5,y:4.54,z:2.79},{name:5298,carat:.71,cut:"Ideal",color:"D",clarity:"VS1",depth:62.1,table:57,price:3801,x:5.7,y:5.73,z:3.55},{name:42092,carat:.7,cut:"Fair",color:"E",clarity:"I1",depth:66.1,table:58,price:1273,x:5.61,y:5.51,z:3.67},{name:44441,carat:.59,cut:"Premium",color:"D",clarity:"SI2",depth:62.6,table:61,price:1590,x:5.33,y:5.27,z:3.32},{name:7552,carat:1.01,cut:"Very-Good",color:"G",clarity:"SI2",depth:62,table:58,price:4249,x:6.37,y:6.41,z:3.96},{name:44034,carat:.42,cut:"Ideal",color:"D",clarity:"VVS1",depth:61.8,table:55,price:1547,x:4.83,y:4.85,z:2.99},{name:53637,carat:.3,cut:"Ideal",color:"D",clarity:"SI1",depth:61.6,table:57,price:552,x:4.28,y:4.32,z:2.65},{name:15094,carat:1.01,cut:"Ideal",color:"G",clarity:"VS1",depth:62.4,table:56,price:6066,x:6.37,y:6.42,z:3.99},{name:8085,carat:1.01,cut:"Premium",color:"D",clarity:"SI2",depth:62.6,table:60,price:4338,x:6.4,y:6.37,z:4},{name:11949,carat:1.01,cut:"Very-Good",color:"E",clarity:"SI1",depth:58.2,table:59,price:5132,x:6.54,y:6.59,z:3.82},{name:43274,carat:.3,cut:"Very-Good",color:"I",clarity:"SI1",depth:63.3,table:59,price:506,x:4.3,y:4.23,z:2.7},{name:42144,carat:.5,cut:"Very-Good",color:"E",clarity:"SI1",depth:60.7,table:59,price:1281,x:5.09,y:5.13,z:3.1},{name:48614,carat:.51,cut:"Ideal",color:"F",clarity:"VVS2",depth:61.7,table:56,price:1998,x:5.12,y:5.15,z:3.17},{name:36379,carat:.34,cut:"Ideal",color:"F",clarity:"IF",depth:62.2,table:55,price:941,x:4.47,y:4.5,z:2.79},{name:19343,carat:1.06,cut:"Premium",color:"E",clarity:"VS1",depth:63,table:58,price:8044,x:6.49,y:6.46,z:4.08},{name:13269,carat:1,cut:"Good",color:"G",clarity:"VS2",depth:63.7,table:57,price:5484,x:6.32,y:6.28,z:4.01},{name:51509,carat:.55,cut:"Ideal",color:"G",clarity:"IF",depth:61.1,table:57,price:2383,x:5.26,y:5.31,z:3.23},{name:13997,carat:1.19,cut:"Very-Good",color:"H",clarity:"SI1",depth:63.3,table:55,price:5698,x:6.76,y:6.69,z:4.26},{name:38677,carat:.3,cut:"Ideal",color:"D",clarity:"VVS2",depth:61.4,table:55,price:1041,x:4.34,y:4.36,z:2.67},{name:22495,carat:2,cut:"Premium",color:"I",clarity:"SI2",depth:62.3,table:57,price:10528,x:8.12,y:8.05,z:5.03},{name:23070,carat:1.18,cut:"Ideal",color:"E",clarity:"VS1",depth:61.4,table:57,price:11104,x:6.77,y:6.81,z:4.17},{name:26961,carat:1.54,cut:"Ideal",color:"F",clarity:"VS2",depth:61,table:56,price:17029,x:7.44,y:7.49,z:4.55},{name:35767,carat:.4,cut:"Premium",color:"E",clarity:"VS2",depth:60.7,table:60,price:912,x:4.7,y:4.75,z:2.87},{name:43689,carat:.5,cut:"Good",color:"D",clarity:"SI1",depth:62.9,table:59,price:1436,x:4.94,y:5.01,z:3.13},{name:35824,carat:.31,cut:"Ideal",color:"F",clarity:"IF",depth:62.2,table:54,price:914,x:4.37,y:4.41,z:2.73},{name:33982,carat:.41,cut:"Good",color:"G",clarity:"VS1",depth:63.3,table:62,price:847,x:4.67,y:4.71,z:2.97},{name:30468,carat:.31,cut:"Very-Good",color:"D",clarity:"SI1",depth:63.1,table:57,price:732,x:4.32,y:4.3,z:2.72},{name:28751,carat:.31,cut:"Premium",color:"E",clarity:"VS2",depth:60.3,table:58,price:680,x:4.37,y:4.42,z:2.65},{name:16066,carat:1.01,cut:"Ideal",color:"F",clarity:"VS2",depth:62,table:56,price:6416,x:6.46,y:6.51,z:4.02},{name:6640,carat:.85,cut:"Ideal",color:"E",clarity:"SI1",depth:63,table:56,price:4089,x:6,y:6.04,z:3.79}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-boxplot",name:"\u7BB1\u7EBF\u56FE",description:"\u5C55\u793A\u5206\u4F4D\u6570\u4E0E\u79BB\u7FA4\u503C\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u7BB1\u7EBF\u56FE",datasets:{main:[{Expt:1,Run:1,Speed:850},{Expt:1,Run:2,Speed:740},{Expt:1,Run:3,Speed:900},{Expt:1,Run:4,Speed:1070},{Expt:1,Run:5,Speed:930},{Expt:1,Run:6,Speed:850},{Expt:1,Run:7,Speed:950},{Expt:1,Run:8,Speed:980},{Expt:1,Run:9,Speed:980},{Expt:1,Run:10,Speed:880},{Expt:1,Run:11,Speed:1e3},{Expt:1,Run:12,Speed:980},{Expt:1,Run:13,Speed:930},{Expt:1,Run:14,Speed:650},{Expt:1,Run:15,Speed:760},{Expt:1,Run:16,Speed:810},{Expt:1,Run:17,Speed:1e3},{Expt:1,Run:18,Speed:1e3},{Expt:1,Run:19,Speed:960},{Expt:1,Run:20,Speed:960},{Expt:2,Run:1,Speed:960},{Expt:2,Run:2,Speed:940},{Expt:2,Run:3,Speed:960},{Expt:2,Run:4,Speed:940},{Expt:2,Run:5,Speed:880},{Expt:2,Run:6,Speed:800},{Expt:2,Run:7,Speed:850},{Expt:2,Run:8,Speed:880},{Expt:2,Run:9,Speed:900},{Expt:2,Run:10,Speed:840},{Expt:2,Run:11,Speed:830},{Expt:2,Run:12,Speed:790},{Expt:2,Run:13,Speed:810},{Expt:2,Run:14,Speed:880},{Expt:2,Run:15,Speed:880},{Expt:2,Run:16,Speed:830},{Expt:2,Run:17,Speed:800},{Expt:2,Run:18,Speed:790},{Expt:2,Run:19,Speed:760},{Expt:2,Run:20,Speed:800},{Expt:3,Run:1,Speed:880},{Expt:3,Run:2,Speed:880},{Expt:3,Run:3,Speed:880},{Expt:3,Run:4,Speed:860},{Expt:3,Run:5,Speed:720},{Expt:3,Run:6,Speed:720},{Expt:3,Run:7,Speed:620},{Expt:3,Run:8,Speed:860},{Expt:3,Run:9,Speed:970},{Expt:3,Run:10,Speed:950},{Expt:3,Run:11,Speed:880},{Expt:3,Run:12,Speed:910},{Expt:3,Run:13,Speed:850},{Expt:3,Run:14,Speed:870},{Expt:3,Run:15,Speed:840},{Expt:3,Run:16,Speed:840},{Expt:3,Run:17,Speed:850},{Expt:3,Run:18,Speed:840},{Expt:3,Run:19,Speed:840},{Expt:3,Run:20,Speed:840},{Expt:4,Run:1,Speed:890},{Expt:4,Run:2,Speed:810},{Expt:4,Run:3,Speed:810},{Expt:4,Run:4,Speed:820},{Expt:4,Run:5,Speed:800},{Expt:4,Run:6,Speed:770},{Expt:4,Run:7,Speed:760},{Expt:4,Run:8,Speed:740},{Expt:4,Run:9,Speed:750},{Expt:4,Run:10,Speed:760},{Expt:4,Run:11,Speed:910},{Expt:4,Run:12,Speed:920},{Expt:4,Run:13,Speed:890},{Expt:4,Run:14,Speed:860},{Expt:4,Run:15,Speed:880},{Expt:4,Run:16,Speed:720},{Expt:4,Run:17,Speed:840},{Expt:4,Run:18,Speed:850},{Expt:4,Run:19,Speed:850},{Expt:4,Run:20,Speed:780},{Expt:5,Run:1,Speed:890},{Expt:5,Run:2,Speed:840},{Expt:5,Run:3,Speed:780},{Expt:5,Run:4,Speed:810},{Expt:5,Run:5,Speed:760},{Expt:5,Run:6,Speed:810},{Expt:5,Run:7,Speed:790},{Expt:5,Run:8,Speed:810},{Expt:5,Run:9,Speed:820},{Expt:5,Run:10,Speed:850},{Expt:5,Run:11,Speed:870},{Expt:5,Run:12,Speed:870},{Expt:5,Run:13,Speed:810},{Expt:5,Run:14,Speed:740},{Expt:5,Run:15,Speed:810},{Expt:5,Run:16,Speed:940},{Expt:5,Run:17,Speed:950},{Expt:5,Run:18,Speed:800},{Expt:5,Run:19,Speed:810},{Expt:5,Run:20,Speed:870}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-violin",name:"\u5C0F\u63D0\u7434\u56FE",description:"\u53E0\u52A0\u5BC6\u5EA6\u4E0E\u5206\u5E03\u6458\u8981\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u5C0F\u63D0\u7434\u56FE",datasets:{main:[{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.5},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.2},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.1},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.6},{species:"I. setosa",x:"PetalWidth",y:.4},{species:"I. setosa",x:"SepalWidth",y:3.9},{species:"I. setosa",x:"PetalWidth",y:.3},{species:"I. setosa",x:"SepalWidth",y:3.4},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.4},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:2.9},{species:"I. setosa",x:"PetalWidth",y:.1},{species:"I. setosa",x:"SepalWidth",y:3.1},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.7},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.4},{species:"I. setosa",x:"PetalWidth",y:.1},{species:"I. setosa",x:"SepalWidth",y:3},{species:"I. setosa",x:"PetalWidth",y:.1},{species:"I. setosa",x:"SepalWidth",y:3},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:4},{species:"I. setosa",x:"PetalWidth",y:.4},{species:"I. setosa",x:"SepalWidth",y:4.4},{species:"I. setosa",x:"PetalWidth",y:.4},{species:"I. setosa",x:"SepalWidth",y:3.9},{species:"I. setosa",x:"PetalWidth",y:.3},{species:"I. setosa",x:"SepalWidth",y:3.5},{species:"I. setosa",x:"PetalWidth",y:.3},{species:"I. setosa",x:"SepalWidth",y:3.8},{species:"I. setosa",x:"PetalWidth",y:.3},{species:"I. setosa",x:"SepalWidth",y:3.8},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.4},{species:"I. setosa",x:"PetalWidth",y:.4},{species:"I. setosa",x:"SepalWidth",y:3.7},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.6},{species:"I. setosa",x:"PetalWidth",y:.5},{species:"I. setosa",x:"SepalWidth",y:3.3},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.4},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3},{species:"I. setosa",x:"PetalWidth",y:.4},{species:"I. setosa",x:"SepalWidth",y:3.4},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.5},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.4},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.2},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.1},{species:"I. setosa",x:"PetalWidth",y:.4},{species:"I. setosa",x:"SepalWidth",y:3.4},{species:"I. setosa",x:"PetalWidth",y:.1},{species:"I. setosa",x:"SepalWidth",y:4.1},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:4.2},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.1},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.2},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.5},{species:"I. setosa",x:"PetalWidth",y:.1},{species:"I. setosa",x:"SepalWidth",y:3.6},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.4},{species:"I. setosa",x:"PetalWidth",y:.3},{species:"I. setosa",x:"SepalWidth",y:3.5},{species:"I. setosa",x:"PetalWidth",y:.3},{species:"I. setosa",x:"SepalWidth",y:2.3},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.2},{species:"I. setosa",x:"PetalWidth",y:.6},{species:"I. setosa",x:"SepalWidth",y:3.5},{species:"I. setosa",x:"PetalWidth",y:.4},{species:"I. setosa",x:"SepalWidth",y:3.8},{species:"I. setosa",x:"PetalWidth",y:.3},{species:"I. setosa",x:"SepalWidth",y:3},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.8},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.2},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.7},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.3},{species:"I. versicolor",x:"PetalWidth",y:1.4},{species:"I. versicolor",x:"SepalWidth",y:3.2},{species:"I. versicolor",x:"PetalWidth",y:1.5},{species:"I. versicolor",x:"SepalWidth",y:3.2},{species:"I. versicolor",x:"PetalWidth",y:1.5},{species:"I. versicolor",x:"SepalWidth",y:3.1},{species:"I. versicolor",x:"PetalWidth",y:1.3},{species:"I. versicolor",x:"SepalWidth",y:2.3},{species:"I. versicolor",x:"PetalWidth",y:1.5},{species:"I. versicolor",x:"SepalWidth",y:2.8},{species:"I. versicolor",x:"PetalWidth",y:1.3},{species:"I. versicolor",x:"SepalWidth",y:2.8},{species:"I. versicolor",x:"PetalWidth",y:1.6},{species:"I. versicolor",x:"SepalWidth",y:3.3},{species:"I. versicolor",x:"PetalWidth",y:1},{species:"I. versicolor",x:"SepalWidth",y:2.4},{species:"I. versicolor",x:"PetalWidth",y:1.3},{species:"I. versicolor",x:"SepalWidth",y:2.9},{species:"I. versicolor",x:"PetalWidth",y:1.4},{species:"I. versicolor",x:"SepalWidth",y:2.7},{species:"I. versicolor",x:"PetalWidth",y:1},{species:"I. versicolor",x:"SepalWidth",y:2},{species:"I. versicolor",x:"PetalWidth",y:1.5},{species:"I. versicolor",x:"SepalWidth",y:3},{species:"I. versicolor",x:"PetalWidth",y:1},{species:"I. versicolor",x:"SepalWidth",y:2.2},{species:"I. versicolor",x:"PetalWidth",y:1.4},{species:"I. versicolor",x:"SepalWidth",y:2.9},{species:"I. versicolor",x:"PetalWidth",y:1.3},{species:"I. versicolor",x:"SepalWidth",y:2.9},{species:"I. versicolor",x:"PetalWidth",y:1.4},{species:"I. versicolor",x:"SepalWidth",y:3.1},{species:"I. versicolor",x:"PetalWidth",y:1.5},{species:"I. versicolor",x:"SepalWidth",y:3},{species:"I. versicolor",x:"PetalWidth",y:1},{species:"I. versicolor",x:"SepalWidth",y:2.7},{species:"I. versicolor",x:"PetalWidth",y:1.5},{species:"I. versicolor",x:"SepalWidth",y:2.2},{species:"I. versicolor",x:"PetalWidth",y:1.1},{species:"I. versicolor",x:"SepalWidth",y:2.5},{species:"I. versicolor",x:"PetalWidth",y:1.8},{species:"I. versicolor",x:"SepalWidth",y:3.2},{species:"I. versicolor",x:"PetalWidth",y:1.3},{species:"I. versicolor",x:"SepalWidth",y:2.8},{species:"I. versicolor",x:"PetalWidth",y:1.5},{species:"I. versicolor",x:"SepalWidth",y:2.5},{species:"I. versicolor",x:"PetalWidth",y:1.2},{species:"I. versicolor",x:"SepalWidth",y:2.8},{species:"I. versicolor",x:"PetalWidth",y:1.3},{species:"I. versicolor",x:"SepalWidth",y:2.9},{species:"I. versicolor",x:"PetalWidth",y:1.4},{species:"I. versicolor",x:"SepalWidth",y:3},{species:"I. versicolor",x:"PetalWidth",y:1.4},{species:"I. versicolor",x:"SepalWidth",y:2.8},{species:"I. versicolor",x:"PetalWidth",y:1.7},{species:"I. versicolor",x:"SepalWidth",y:3},{species:"I. versicolor",x:"PetalWidth",y:1.5},{species:"I. versicolor",x:"SepalWidth",y:2.9},{species:"I. versicolor",x:"PetalWidth",y:1},{species:"I. versicolor",x:"SepalWidth",y:2.6},{species:"I. versicolor",x:"PetalWidth",y:1.1},{species:"I. versicolor",x:"SepalWidth",y:2.4},{species:"I. versicolor",x:"PetalWidth",y:1},{species:"I. versicolor",x:"SepalWidth",y:2.4},{species:"I. versicolor",x:"PetalWidth",y:1.2},{species:"I. versicolor",x:"SepalWidth",y:2.7},{species:"I. versicolor",x:"PetalWidth",y:1.6},{species:"I. versicolor",x:"SepalWidth",y:2.7},{species:"I. versicolor",x:"PetalWidth",y:1.5},{species:"I. versicolor",x:"SepalWidth",y:3},{species:"I. versicolor",x:"PetalWidth",y:1.6},{species:"I. versicolor",x:"SepalWidth",y:3.4},{species:"I. versicolor",x:"PetalWidth",y:1.5},{species:"I. versicolor",x:"SepalWidth",y:3.1},{species:"I. versicolor",x:"PetalWidth",y:1.3},{species:"I. versicolor",x:"SepalWidth",y:2.3},{species:"I. versicolor",x:"PetalWidth",y:1.3},{species:"I. versicolor",x:"SepalWidth",y:3},{species:"I. versicolor",x:"PetalWidth",y:1.3},{species:"I. versicolor",x:"SepalWidth",y:2.5},{species:"I. versicolor",x:"PetalWidth",y:1.2},{species:"I. versicolor",x:"SepalWidth",y:2.6},{species:"I. versicolor",x:"PetalWidth",y:1.4},{species:"I. versicolor",x:"SepalWidth",y:3},{species:"I. versicolor",x:"PetalWidth",y:1.2},{species:"I. versicolor",x:"SepalWidth",y:2.6},{species:"I. versicolor",x:"PetalWidth",y:1},{species:"I. versicolor",x:"SepalWidth",y:2.3},{species:"I. versicolor",x:"PetalWidth",y:1.3},{species:"I. versicolor",x:"SepalWidth",y:2.7},{species:"I. versicolor",x:"PetalWidth",y:1.2},{species:"I. versicolor",x:"SepalWidth",y:3},{species:"I. versicolor",x:"PetalWidth",y:1.3},{species:"I. versicolor",x:"SepalWidth",y:2.9},{species:"I. versicolor",x:"PetalWidth",y:1.3},{species:"I. versicolor",x:"SepalWidth",y:2.9},{species:"I. versicolor",x:"PetalWidth",y:1.1},{species:"I. versicolor",x:"SepalWidth",y:2.5},{species:"I. versicolor",x:"PetalWidth",y:1.3},{species:"I. versicolor",x:"SepalWidth",y:2.8},{species:"I. virginica",x:"PetalWidth",y:2.5},{species:"I. virginica",x:"SepalWidth",y:3.3},{species:"I. virginica",x:"PetalWidth",y:1.9},{species:"I. virginica",x:"SepalWidth",y:2.7},{species:"I. virginica",x:"PetalWidth",y:2.1},{species:"I. virginica",x:"SepalWidth",y:3},{species:"I. virginica",x:"PetalWidth",y:1.8},{species:"I. virginica",x:"SepalWidth",y:2.9},{species:"I. virginica",x:"PetalWidth",y:2.2},{species:"I. virginica",x:"SepalWidth",y:3},{species:"I. virginica",x:"PetalWidth",y:2.1},{species:"I. virginica",x:"SepalWidth",y:3},{species:"I. virginica",x:"PetalWidth",y:1.7},{species:"I. virginica",x:"SepalWidth",y:2.5},{species:"I. virginica",x:"PetalWidth",y:1.8},{species:"I. virginica",x:"SepalWidth",y:2.9},{species:"I. virginica",x:"PetalWidth",y:1.8},{species:"I. virginica",x:"SepalWidth",y:2.5},{species:"I. virginica",x:"PetalWidth",y:2.5},{species:"I. virginica",x:"SepalWidth",y:3.6},{species:"I. virginica",x:"PetalWidth",y:2},{species:"I. virginica",x:"SepalWidth",y:3.2},{species:"I. virginica",x:"PetalWidth",y:1.9},{species:"I. virginica",x:"SepalWidth",y:2.7},{species:"I. virginica",x:"PetalWidth",y:2.1},{species:"I. virginica",x:"SepalWidth",y:3},{species:"I. virginica",x:"PetalWidth",y:2},{species:"I. virginica",x:"SepalWidth",y:2.5},{species:"I. virginica",x:"PetalWidth",y:2.4},{species:"I. virginica",x:"SepalWidth",y:2.8},{species:"I. virginica",x:"PetalWidth",y:2.3},{species:"I. virginica",x:"SepalWidth",y:3.2},{species:"I. virginica",x:"PetalWidth",y:1.8},{species:"I. virginica",x:"SepalWidth",y:3},{species:"I. virginica",x:"PetalWidth",y:2.2},{species:"I. virginica",x:"SepalWidth",y:3.8},{species:"I. virginica",x:"PetalWidth",y:2.3},{species:"I. virginica",x:"SepalWidth",y:2.6},{species:"I. virginica",x:"PetalWidth",y:1.5},{species:"I. virginica",x:"SepalWidth",y:2.2},{species:"I. virginica",x:"PetalWidth",y:2.3},{species:"I. virginica",x:"SepalWidth",y:3.2},{species:"I. virginica",x:"PetalWidth",y:2},{species:"I. virginica",x:"SepalWidth",y:2.8},{species:"I. virginica",x:"PetalWidth",y:2},{species:"I. virginica",x:"SepalWidth",y:2.8},{species:"I. virginica",x:"PetalWidth",y:1.8},{species:"I. virginica",x:"SepalWidth",y:2.7},{species:"I. virginica",x:"PetalWidth",y:2.1},{species:"I. virginica",x:"SepalWidth",y:3.3},{species:"I. virginica",x:"PetalWidth",y:1.8},{species:"I. virginica",x:"SepalWidth",y:3.2},{species:"I. virginica",x:"PetalWidth",y:1.8},{species:"I. virginica",x:"SepalWidth",y:2.8},{species:"I. virginica",x:"PetalWidth",y:1.8},{species:"I. virginica",x:"SepalWidth",y:3},{species:"I. virginica",x:"PetalWidth",y:2.1},{species:"I. virginica",x:"SepalWidth",y:2.8},{species:"I. virginica",x:"PetalWidth",y:1.6},{species:"I. virginica",x:"SepalWidth",y:3},{species:"I. virginica",x:"PetalWidth",y:1.9},{species:"I. virginica",x:"SepalWidth",y:2.8},{species:"I. virginica",x:"PetalWidth",y:2},{species:"I. virginica",x:"SepalWidth",y:3.8},{species:"I. virginica",x:"PetalWidth",y:2.2},{species:"I. virginica",x:"SepalWidth",y:2.8},{species:"I. virginica",x:"PetalWidth",y:1.5},{species:"I. virginica",x:"SepalWidth",y:2.8},{species:"I. virginica",x:"PetalWidth",y:1.4},{species:"I. virginica",x:"SepalWidth",y:2.6},{species:"I. virginica",x:"PetalWidth",y:2.3},{species:"I. virginica",x:"SepalWidth",y:3},{species:"I. virginica",x:"PetalWidth",y:2.4},{species:"I. virginica",x:"SepalWidth",y:3.4},{species:"I. virginica",x:"PetalWidth",y:1.8},{species:"I. virginica",x:"SepalWidth",y:3.1},{species:"I. virginica",x:"PetalWidth",y:1.8},{species:"I. virginica",x:"SepalWidth",y:3},{species:"I. virginica",x:"PetalWidth",y:2.1},{species:"I. virginica",x:"SepalWidth",y:3.1},{species:"I. virginica",x:"PetalWidth",y:2.4},{species:"I. virginica",x:"SepalWidth",y:3.1},{species:"I. virginica",x:"PetalWidth",y:2.3},{species:"I. virginica",x:"SepalWidth",y:3.1},{species:"I. virginica",x:"PetalWidth",y:1.9},{species:"I. virginica",x:"SepalWidth",y:2.7},{species:"I. virginica",x:"PetalWidth",y:2.3},{species:"I. virginica",x:"SepalWidth",y:3.2},{species:"I. virginica",x:"PetalWidth",y:2.5},{species:"I. virginica",x:"SepalWidth",y:3.3},{species:"I. virginica",x:"PetalWidth",y:2.3},{species:"I. virginica",x:"SepalWidth",y:3},{species:"I. virginica",x:"PetalWidth",y:1.9},{species:"I. virginica",x:"SepalWidth",y:2.5},{species:"I. virginica",x:"PetalWidth",y:2},{species:"I. virginica",x:"SepalWidth",y:3},{species:"I. virginica",x:"PetalWidth",y:2.3},{species:"I. virginica",x:"SepalWidth",y:3.4},{species:"I. virginica",x:"PetalWidth",y:1.8},{species:"I. virginica",x:"SepalWidth",y:3},{species:"I. virginica",x:"SepalLength",y:5.9}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-distributioncurve",name:"\u5206\u5E03\u66F2\u7EBF",description:"\u89C2\u5BDF\u8FDE\u7EED\u6982\u7387\u6216\u5BC6\u5EA6\u5F62\u72B6\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u5206\u5E03\u66F2\u7EBF",datasets:{main:[{value:121.72824144190116},{value:134.53005046206954},{value:90.79176705424099},{value:94.32573307805073},{value:77.42922286933072},{value:91.68029199768837},{value:120.88054342410787},{value:74.36588320567199},{value:108.58881642847071},{value:110.04307686849299},{value:125.13790134666284},{value:90.461174968711},{value:97.76157231111534},{value:101.22032183542008},{value:109.6275824086669},{value:113.7525616080301},{value:100.16933159981245},{value:140.2581759435272},{value:74.16556547120851},{value:108.16004214556074},{value:108.9069560773736},{value:95.71671217179536},{value:106.62235622748314},{value:114.38712001429866},{value:100.1170840428587},{value:88.44352205555762},{value:99.36127189260709},{value:131.5477714086248},{value:84.1637415049112},{value:91.5257190884416},{value:103.39730803316579},{value:106.91616741430411},{value:92.57699450501721},{value:100.61220412689394},{value:91.21982455760255},{value:103.61545760076058},{value:62.57573041661533},{value:84.02913052767195},{value:78.29906370432252},{value:102.52922037327333},{value:72.08999079190045},{value:88.8145054512117},{value:97.86918983094425},{value:96.75026337009419},{value:90.43792738177285},{value:106.43866791279318},{value:127.882707520433},{value:84.0295894694514},{value:86.62489759752766},{value:89.25187366133059},{value:78.86374910726573},{value:106.30467146214538},{value:75.23263150845114},{value:119.29264369657577},{value:99.21826135371124},{value:130.10011032751007},{value:88.98401556638301},{value:114.99126526790997},{value:93.67149648343995},{value:104.76060354081392},{value:94.5279475813098},{value:113.73000670051968},{value:95.07701112519686},{value:89.17612970638793},{value:78.3162833648096},{value:98.64425312797474},{value:97.79956603252444},{value:115.54447783418476},{value:73.99300531285854},{value:87.4699110406466},{value:100.02351362514105},{value:110.60274875151053},{value:118.90780444164409},{value:81.87747685987212},{value:107.36296685768916},{value:112.49540126022757},{value:89.5840694006615},{value:98.00357584824835},{value:77.26702373660035},{value:106.97187781508568},{value:92.17296152584319},{value:92.90206126114744},{value:108.33351235890882},{value:69.95501004009256},{value:94.26019035288286},{value:95.40203398029897},{value:120.59509417982552},{value:92.23262439972304},{value:107.31697332128222},{value:86.64602345126883},{value:116.59360080101901},{value:106.1230761724693},{value:82.42970628472428},{value:91.84309165637671},{value:93.44607953457057},{value:93.2631958994601},{value:113.58632676926469},{value:78.11109031805339},{value:97.55330291946062},{value:96.50248195787509},{value:106.26643965795635},{value:87.55909254345445},{value:124.26941868752695},{value:113.02592428550543},{value:87.82797389767532},{value:106.30508820995195},{value:127.47940635057554},{value:92.79591586141561},{value:117.07966619811934},{value:87.87378167772904},{value:98.11270468963106},{value:101.65315783351278},{value:95.40936324149689},{value:84.08629388797391},{value:74.88566678161553},{value:77.03266730396847},{value:108.8358359665808},{value:97.20045471088476},{value:134.71462438300512},{value:94.86269204120528},{value:98.67687398609858},{value:112.37128397602297},{value:114.77704149675215},{value:121.62656828836793},{value:120.72039384834005},{value:102.07071181905195},{value:102.82959039133931},{value:87.50952714207374},{value:128.3239796746725},{value:83.91628262526561},{value:82.81814963899538},{value:97.66981210814629},{value:90.18909376618582},{value:91.99477270552096},{value:100.22539404392082},{value:94.43197502316993},{value:101.48581298140851},{value:73.72571903137825},{value:96.77347625966117},{value:105.36701274552453},{value:106.47390851914908},{value:76.00983399952028},{value:73.74032751764395},{value:87.91598498987972},{value:112.65166837568749},{value:93.91867824022127},{value:98.78598711826324},{value:121.78281030860838},{value:91.19889222784529},{value:95.28879570903385},{value:85.06755406996346},{value:101.82718580958635},{value:86.63213940682716},{value:78.00950274748823},{value:89.31800807678192},{value:84.67474606129477},{value:88.68077925010479},{value:108.95633186895033},{value:107.09592152791517},{value:97.97200603096744},{value:73.60070254212062},{value:78.35374700113361},{value:81.91584973109242},{value:104.09835434798805},{value:79.48246157034407},{value:111.55144752067068},{value:92.52071828006203},{value:54.962797338269326},{value:94.95624315624552},{value:72.38101547186547},{value:88.72339098985601},{value:113.99768620466952},{value:68.08634488690531},{value:113.00541280383409},{value:111.68068754988113},{value:107.52896729282787},{value:90.35163810751992},{value:107.85814659756251},{value:99.14201321150904},{value:95.72717984037926},{value:86.41409452594857},{value:106.02891203477455},{value:90.00712756403499},{value:78.40263966783307},{value:93.26913293545442},{value:86.66895025903774},{value:99.63046447149537},{value:94.03798522688115},{value:106.07959786217037},{value:87.96048096192402},{value:119.36482430208369},{value:93.20280614261458},{value:102.43871066721645},{value:104.08906607577474},{value:108.71887210866358},{value:111.64706142624998},{value:111.87610521537646},{value:97.71825111365838},{value:90.5306888053288},{value:93.36681591431542},{value:77.26359513010738},{value:94.44315942703788},{value:118.77747539045373},{value:90.47240089809281},{value:112.76459928020087},{value:86.37020523429673},{value:86.98022879103034},{value:104.16397522004553},{value:105.76724221200554},{value:92.69296196698643},{value:97.42992792516843},{value:105.22568375170172},{value:105.37991018528483},{value:118.67492622720033},{value:70.16804872999876},{value:104.33622455699468},{value:125.32688223260942},{value:100.91351085285383},{value:105.19097273299396},{value:92.36309183724882},{value:85.16440891086876},{value:78.02740563387817},{value:115.70067445637883},{value:100.04342181965174},{value:79.16551650747961},{value:118.88388799956928},{value:94.2037615260092},{value:98.49408089891976},{value:93.66830106902061},{value:93.37052341316755},{value:87.09373073717643},{value:95.56889551711448},{value:102.59622254275912},{value:69.01153810228928},{value:100.62454181692758},{value:79.64541281686638},{value:89.78037459764009},{value:105.50407823152322},{value:121.30190387681455},{value:116.58661950936265},{value:124.90661411401557},{value:94.35298221669889},{value:68.77343453303801},{value:109.42604273380425},{value:63.2681006383366},{value:130.84257069837003},{value:109.59372549733757},{value:109.45756624536632},{value:100.27443137641856},{value:103.54239989382071},{value:91.67097255426597}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-heatmap",name:"\u5BC6\u5EA6\u70ED\u529B\u56FE",description:"\u89C2\u5BDF\u4E8C\u7EF4\u7A7A\u95F4\u7684\u70ED\u70B9\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u5BC6\u5EA6\u70ED\u529B\u56FE",datasets:{"layer-1":[{g:541,l:85,tmp:858},{g:566,l:131,tmp:326},{g:85,l:207,tmp:184},{g:552,l:153,tmp:367},{g:409,l:440,tmp:754},{g:186,l:127,tmp:55},{g:990,l:29,tmp:549},{g:28,l:313,tmp:320},{g:257,l:327,tmp:540},{g:352,l:343,tmp:944},{g:969,l:160,tmp:934},{g:227,l:194,tmp:471},{g:910,l:98,tmp:289},{g:285,l:448,tmp:894},{g:900,l:195,tmp:132},{g:337,l:243,tmp:715},{g:238,l:11,tmp:244},{g:607,l:234,tmp:1},{g:85,l:435,tmp:548},{g:336,l:387,tmp:607},{g:320,l:342,tmp:635},{g:20,l:475,tmp:561},{g:42,l:412,tmp:115},{g:821,l:442,tmp:756},{g:810,l:180,tmp:834},{g:119,l:422,tmp:801},{g:980,l:168,tmp:44},{g:729,l:100,tmp:88},{g:40,l:384,tmp:441},{g:351,l:362,tmp:724},{g:515,l:245,tmp:567},{g:496,l:226,tmp:720},{g:43,l:51,tmp:622},{g:775,l:491,tmp:748},{g:302,l:202,tmp:489},{g:308,l:88,tmp:996},{g:793,l:96,tmp:759},{g:637,l:437,tmp:465},{g:586,l:172,tmp:202},{g:110,l:399,tmp:936},{g:54,l:442,tmp:692},{g:804,l:365,tmp:450},{g:730,l:139,tmp:520},{g:994,l:230,tmp:71},{g:394,l:210,tmp:945},{g:840,l:470,tmp:940},{g:260,l:427,tmp:986},{g:261,l:174,tmp:145},{g:377,l:363,tmp:979},{g:241,l:201,tmp:807},{g:11,l:413,tmp:102},{g:226,l:288,tmp:208},{g:224,l:386,tmp:263},{g:828,l:252,tmp:136},{g:376,l:227,tmp:914},{g:453,l:184,tmp:513},{g:327,l:188,tmp:498},{g:283,l:224,tmp:949},{g:948,l:123,tmp:57},{g:532,l:405,tmp:225},{g:810,l:170,tmp:57},{g:642,l:421,tmp:48},{g:45,l:39,tmp:642},{g:678,l:257,tmp:225},{g:807,l:372,tmp:673},{g:498,l:142,tmp:414},{g:176,l:143,tmp:577},{g:42,l:443,tmp:247},{g:497,l:463,tmp:842},{g:191,l:40,tmp:501},{g:877,l:157,tmp:70},{g:709,l:434,tmp:110},{g:406,l:322,tmp:716},{g:765,l:241,tmp:374},{g:316,l:284,tmp:147},{g:550,l:314,tmp:903},{g:711,l:408,tmp:938},{g:523,l:36,tmp:298},{g:40,l:125,tmp:91},{g:297,l:64,tmp:165},{g:785,l:93,tmp:614},{g:843,l:301,tmp:507},{g:84,l:225,tmp:358},{g:202,l:455,tmp:193},{g:199,l:62,tmp:182},{g:704,l:358,tmp:428},{g:655,l:363,tmp:213},{g:727,l:296,tmp:667},{g:920,l:39,tmp:776},{g:694,l:229,tmp:770},{g:757,l:375,tmp:441},{g:734,l:238,tmp:580},{g:688,l:37,tmp:685},{g:245,l:488,tmp:683},{g:783,l:45,tmp:573},{g:921,l:17,tmp:893},{g:555,l:31,tmp:424},{g:334,l:305,tmp:928},{g:610,l:446,tmp:123},{g:257,l:259,tmp:990},{g:351,l:130,tmp:625},{g:26,l:207,tmp:786},{g:218,l:311,tmp:981},{g:767,l:110,tmp:838},{g:988,l:241,tmp:109},{g:487,l:457,tmp:817},{g:424,l:228,tmp:517},{g:512,l:225,tmp:608},{g:598,l:148,tmp:755},{g:739,l:187,tmp:583},{g:99,l:61,tmp:891},{g:968,l:321,tmp:554},{g:998,l:414,tmp:133},{g:519,l:381,tmp:99},{g:563,l:422,tmp:5},{g:613,l:477,tmp:557},{g:441,l:161,tmp:447},{g:673,l:58,tmp:826},{g:451,l:225,tmp:116},{g:141,l:354,tmp:922},{g:521,l:145,tmp:193},{g:794,l:41,tmp:990},{g:241,l:98,tmp:81},{g:910,l:190,tmp:678},{g:310,l:133,tmp:523},{g:16,l:453,tmp:842},{g:953,l:370,tmp:261},{g:887,l:184,tmp:239},{g:63,l:360,tmp:199},{g:928,l:257,tmp:572},{g:266,l:309,tmp:350},{g:448,l:203,tmp:256},{g:238,l:31,tmp:231},{g:84,l:22,tmp:796},{g:431,l:86,tmp:21},{g:195,l:468,tmp:526},{g:816,l:326,tmp:696},{g:952,l:50,tmp:999},{g:670,l:437,tmp:440},{g:259,l:278,tmp:871},{g:15,l:50,tmp:17},{g:167,l:59,tmp:387},{g:393,l:110,tmp:162},{g:306,l:354,tmp:183},{g:214,l:249,tmp:611},{g:521,l:218,tmp:571},{g:841,l:379,tmp:510},{g:187,l:340,tmp:356},{g:340,l:184,tmp:597},{g:439,l:383,tmp:217},{g:916,l:99,tmp:703},{g:203,l:234,tmp:478},{g:876,l:20,tmp:636},{g:551,l:73,tmp:74},{g:278,l:219,tmp:387},{g:686,l:418,tmp:577},{g:921,l:317,tmp:593},{g:699,l:344,tmp:381},{g:233,l:60,tmp:462},{g:937,l:483,tmp:890},{g:246,l:270,tmp:467},{g:788,l:499,tmp:214},{g:366,l:315,tmp:909},{g:817,l:393,tmp:512},{g:761,l:50,tmp:361},{g:911,l:369,tmp:579},{g:646,l:92,tmp:5},{g:87,l:428,tmp:206},{g:454,l:483,tmp:996},{g:885,l:179,tmp:99},{g:348,l:154,tmp:997},{g:415,l:118,tmp:901},{g:532,l:346,tmp:216},{g:326,l:309,tmp:797},{g:243,l:189,tmp:725},{g:343,l:433,tmp:472},{g:947,l:137,tmp:966},{g:770,l:296,tmp:43},{g:66,l:178,tmp:392},{g:225,l:147,tmp:396},{g:757,l:66,tmp:94},{g:644,l:111,tmp:767},{g:669,l:409,tmp:43},{g:829,l:75,tmp:445},{g:761,l:496,tmp:771},{g:740,l:92,tmp:355},{g:964,l:196,tmp:332},{g:316,l:194,tmp:851},{g:694,l:458,tmp:876},{g:273,l:363,tmp:585},{g:225,l:56,tmp:520},{g:940,l:464,tmp:572},{g:100,l:60,tmp:283},{g:656,l:395,tmp:320},{g:87,l:79,tmp:488},{g:803,l:223,tmp:610},{g:468,l:133,tmp:827},{g:691,l:215,tmp:796},{g:776,l:29,tmp:859},{g:927,l:7,tmp:396},{g:330,l:463,tmp:468},{g:233,l:245,tmp:345},{g:780,l:247,tmp:946},{g:959,l:183,tmp:460},{g:494,l:318,tmp:795},{g:926,l:135,tmp:941},{g:197,l:318,tmp:763},{g:614,l:464,tmp:192},{g:399,l:261,tmp:473},{g:746,l:77,tmp:574},{g:23,l:83,tmp:615},{g:177,l:8,tmp:976},{g:95,l:265,tmp:208},{g:336,l:255,tmp:42},{g:669,l:171,tmp:124},{g:945,l:167,tmp:749},{g:979,l:0,tmp:745},{g:611,l:91,tmp:990},{g:335,l:51,tmp:487},{g:261,l:161,tmp:377},{g:726,l:344,tmp:208},{g:25,l:136,tmp:703},{g:181,l:19,tmp:311},{g:875,l:360,tmp:260},{g:885,l:335,tmp:294},{g:362,l:316,tmp:349},{g:767,l:184,tmp:985},{g:799,l:426,tmp:716},{g:305,l:85,tmp:451},{g:90,l:61,tmp:621},{g:693,l:208,tmp:123},{g:72,l:243,tmp:116},{g:65,l:199,tmp:147},{g:257,l:274,tmp:221},{g:979,l:432,tmp:344},{g:973,l:181,tmp:811},{g:645,l:357,tmp:89},{g:686,l:240,tmp:829},{g:869,l:365,tmp:455},{g:219,l:418,tmp:619},{g:26,l:427,tmp:922},{g:247,l:243,tmp:645},{g:757,l:273,tmp:81},{g:518,l:425,tmp:268},{g:841,l:426,tmp:530},{g:818,l:31,tmp:27},{g:251,l:185,tmp:462},{g:636,l:175,tmp:7},{g:380,l:442,tmp:609},{g:161,l:487,tmp:817},{g:596,l:320,tmp:718}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-color-map",name:"\u8272\u5757\u56FE",description:"\u7528\u989C\u8272\u7F16\u7801\u7F51\u683C\u4E2D\u7684\u6570\u503C\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u8272\u5757\u56FE",datasets:{main:[{month:"January",product:"Product A",sales:123},{month:"January",product:"Product B",sales:231},{month:"January",product:"Product C",sales:145},{month:"February",product:"Product A",sales:132},{month:"February",product:"Product B",sales:112},{month:"February",product:"Product C",sales:178},{month:"March",product:"Product A",sales:99},{month:"March",product:"Product B",sales:288},{month:"March",product:"Product C",sales:133},{month:"April",product:"Product A",sales:181},{month:"April",product:"Product B",sales:223},{month:"April",product:"Product C",sales:141},{month:"May",product:"Product A",sales:152},{month:"May",product:"Product B",sales:219},{month:"May",product:"Product C",sales:109},{month:"June",product:"Product A",sales:167},{month:"June",product:"Product B",sales:187},{month:"June",product:"Product C",sales:255}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-contourline",name:"\u7B49\u9AD8\u7EBF\u56FE",description:"\u7528\u7B49\u503C\u66F2\u7EBF\u8868\u8FBE\u8FDE\u7EED\u573A\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u7B49\u9AD8\u7EBF\u56FE",datasets:{main:[{x:30,y:25,level:20,lineId:"line_20"},{x:31.190083208180017,y:26.09147868243255,level:20,lineId:"line_20"},{x:31.549296260726187,y:27.383748894295273,level:20,lineId:"line_20"},{x:30.830127018922195,y:28.366025403784437,level:20,lineId:"line_20"},{x:29.35422747605366,y:28.653630669218604,level:20,lineId:"line_20"},{x:27.77424542764679,y:28.306216955136122,level:20,lineId:"line_20"},{x:26.633974596215563,y:27.830127018922195,level:20,lineId:"line_20"},{x:26.036452538961413,y:27.847629947132894,level:20,lineId:"line_20"},{x:25.645003094236753,y:28.657994321942063,level:20,lineId:"line_20"},{x:25,y:30,level:20,lineId:"line_20"},{x:23.90852131756745,y:31.190083208180017,level:20,lineId:"line_20"},{x:22.616251105704727,y:31.549296260726187,level:20,lineId:"line_20"},{x:21.633974596215563,y:30.830127018922195,level:20,lineId:"line_20"},{x:21.346369330781393,y:29.35422747605366,level:20,lineId:"line_20"},{x:21.693783044863878,y:27.77424542764679,level:20,lineId:"line_20"},{x:22.169872981077805,y:26.633974596215563,level:20,lineId:"line_20"},{x:22.152370052867106,y:26.036452538961413,level:20,lineId:"line_20"},{x:21.342005678057937,y:25.645003094236753,level:20,lineId:"line_20"},{x:20,y:25,level:20,lineId:"line_20"},{x:18.80991679181998,y:23.90852131756745,level:20,lineId:"line_20"},{x:18.450703739273813,y:22.616251105704727,level:20,lineId:"line_20"},{x:19.16987298107781,y:21.63397459621556,level:20,lineId:"line_20"},{x:20.645772523946338,y:21.346369330781396,level:20,lineId:"line_20"},{x:22.22575457235321,y:21.693783044863878,level:20,lineId:"line_20"},{x:23.366025403784437,y:22.169872981077805,level:20,lineId:"line_20"},{x:23.963547461038583,y:22.152370052867106,level:20,lineId:"line_20"},{x:24.354996905763247,y:21.342005678057937,level:20,lineId:"line_20"},{x:25,y:20,level:20,lineId:"line_20"},{x:26.091478682432548,y:18.809916791819983,level:20,lineId:"line_20"},{x:27.38374889429527,y:18.450703739273813,level:20,lineId:"line_20"},{x:28.36602540378444,y:19.16987298107781,level:20,lineId:"line_20"},{x:28.653630669218604,y:20.645772523946338,level:20,lineId:"line_20"},{x:28.306216955136122,y:22.22575457235321,level:20,lineId:"line_20"},{x:27.830127018922195,y:23.366025403784437,level:20,lineId:"line_20"},{x:27.847629947132894,y:23.963547461038587,level:20,lineId:"line_20"},{x:28.657994321942056,y:24.354996905763244,level:20,lineId:"line_20"},{x:30,y:25,level:20,lineId:"line_20"},{x:34.647189589668926,y:25.84401972398134,level:40,lineId:"line_40"},{x:35.36636504407723,y:27.777659142006712,level:40,lineId:"line_40"},{x:34.94184795390791,y:29.635959837119863,level:40,lineId:"line_40"},{x:33.425449967637654,y:30.89956358014864,level:40,lineId:"line_40"},{x:31.36396103067893,y:31.36396103067893,level:40,lineId:"line_40"},{x:29.42481227417019,y:31.3192868295642,level:40,lineId:"line_40"},{x:27.97116887421273,y:31.37169221275179,level:40,lineId:"line_40"},{x:26.88108366983866,y:32.020299829126,level:40,lineId:"line_40"},{x:25.724783645476506,y:33.28431497598249,level:40,lineId:"line_40"},{x:24.155980276018656,y:34.64718958966893,level:40,lineId:"line_40"},{x:22.222340857993284,y:35.366365044077234,level:40,lineId:"line_40"},{x:20.36404016288014,y:34.94184795390791,level:40,lineId:"line_40"},{x:19.100436419851363,y:33.42544996763766,level:40,lineId:"line_40"},{x:18.63603896932107,y:31.36396103067893,level:40,lineId:"line_40"},{x:18.6807131704358,y:29.424812274170193,level:40,lineId:"line_40"},{x:18.62830778724821,y:27.97116887421273,level:40,lineId:"line_40"},{x:17.979700170874004,y:26.881083669838663,level:40,lineId:"line_40"},{x:16.715685024017514,y:25.72478364547651,level:40,lineId:"line_40"},{x:15.352810410331072,y:24.15598027601866,level:40,lineId:"line_40"},{x:14.633634955922771,y:22.22234085799329,level:40,lineId:"line_40"},{x:15.05815204609209,y:20.36404016288014,level:40,lineId:"line_40"},{x:16.574550032362342,y:19.100436419851363,level:40,lineId:"line_40"},{x:18.63603896932107,y:18.63603896932107,level:40,lineId:"line_40"},{x:20.575187725829807,y:18.6807131704358,level:40,lineId:"line_40"},{x:22.028831125787267,y:18.62830778724821,level:40,lineId:"line_40"},{x:23.11891633016134,y:17.979700170874,level:40,lineId:"line_40"},{x:24.275216354523494,y:16.71568502401751,level:40,lineId:"line_40"},{x:25.84401972398134,y:15.352810410331072,level:40,lineId:"line_40"},{x:27.77765914200672,y:14.63363495592277,level:40,lineId:"line_40"},{x:29.635959837119863,y:15.058152046092092,level:40,lineId:"line_40"},{x:30.89956358014864,y:16.574550032362346,level:40,lineId:"line_40"},{x:31.36396103067893,y:18.63603896932107,level:40,lineId:"line_40"},{x:31.3192868295642,y:20.575187725829807,level:40,lineId:"line_40"},{x:31.37169221275179,y:22.028831125787267,level:40,lineId:"line_40"},{x:32.020299829126,y:23.11891633016134,level:40,lineId:"line_40"},{x:33.28431497598249,y:24.275216354523494,level:40,lineId:"line_40"},{x:38,y:25,level:60,lineId:"line_60"},{x:39.068545232277685,y:27.480664103767992,level:60,lineId:"line_60"},{x:39.06683722701346,y:30.119910040900624,level:60,lineId:"line_60"},{x:37.758330249197705,y:32.366025403784434,level:60,lineId:"line_60"},{x:35.48258302100548,y:33.79593154671092,level:60,lineId:"line_60"},{x:32.91654630513911,y:34.434572500087945,level:60,lineId:"line_60"},{x:30.633974596215563,y:34.7583302491977,level:60,lineId:"line_60"},{x:28.772613685566764,y:35.36517091342016,level:60,lineId:"line_60"},{x:27.034188515572197,y:36.53645634603973,level:60,lineId:"line_60"},{x:25,y:38,level:60,lineId:"line_60"},{x:22.519335896232008,y:39.068545232277685,level:60,lineId:"line_60"},{x:19.880089959099376,y:39.06683722701346,level:60,lineId:"line_60"},{x:17.633974596215566,y:37.758330249197705,level:60,lineId:"line_60"},{x:16.204068453289082,y:35.48258302100548,level:60,lineId:"line_60"},{x:15.565427499912055,y:32.91654630513911,level:60,lineId:"line_60"},{x:15.241669750802297,y:30.63397459621556,level:60,lineId:"line_60"},{x:14.634829086579838,y:28.772613685566764,level:60,lineId:"line_60"},{x:13.463543653960272,y:27.034188515572193,level:60,lineId:"line_60"},{x:12.000000000000002,y:25,level:60,lineId:"line_60"},{x:10.931454767722316,y:22.519335896232004,level:60,lineId:"line_60"},{x:10.933162772986543,y:19.88008995909938,level:60,lineId:"line_60"},{x:12.241669750802298,y:17.63397459621556,level:60,lineId:"line_60"},{x:14.517416978994513,y:16.204068453289082,level:60,lineId:"line_60"},{x:17.083453694860893,y:15.565427499912055,level:60,lineId:"line_60"},{x:19.366025403784434,y:15.241669750802297,level:60,lineId:"line_60"},{x:21.22738631443323,y:14.634829086579842,level:60,lineId:"line_60"},{x:22.965811484427803,y:13.463543653960274,level:60,lineId:"line_60"},{x:24.999999999999996,y:12.000000000000002,level:60,lineId:"line_60"},{x:27.48066410376799,y:10.931454767722318,level:60,lineId:"line_60"},{x:30.119910040900614,y:10.933162772986543,level:60,lineId:"line_60"},{x:32.36602540378444,y:12.241669750802298,level:60,lineId:"line_60"},{x:33.79593154671092,y:14.517416978994513,level:60,lineId:"line_60"},{x:34.434572500087945,y:17.083453694860893,level:60,lineId:"line_60"},{x:34.7583302491977,y:19.366025403784434,level:60,lineId:"line_60"},{x:35.365170913420165,y:21.22738631443324,level:60,lineId:"line_60"},{x:36.53645634603972,y:22.965811484427796,level:60,lineId:"line_60"},{x:38,y:24.999999999999996,level:60,lineId:"line_60"},{x:42.616747174402896,y:26.54126566596261,level:80,lineId:"line_80"},{x:43.09377165438978,y:29.848211502826878,level:80,lineId:"line_80"},{x:42.1923102502011,y:33.01690593104546,level:80,lineId:"line_80"},{x:39.97866632194959,y:35.488175070957006,level:80,lineId:"line_80"},{x:37.020815280171306,y:37.020815280171306,level:80,lineId:"line_80"},{x:34.013423764978555,y:37.872503183876134,level:80,lineId:"line_80"},{x:31.352114968138324,y:38.62215450904499,level:80,lineId:"line_80"},{x:28.951636030658825,y:39.747706439438545,level:80,lineId:"line_80"},{x:26.42202958745777,y:41.25387256071645,level:80,lineId:"line_80"},{x:23.45873433403739,y:42.616747174402896,level:80,lineId:"line_80"},{x:20.15178849717312,y:43.09377165438978,level:80,lineId:"line_80"},{x:16.983094068954543,y:42.19231025020112,level:80,lineId:"line_80"},{x:14.511824929042996,y:39.97866632194959,level:80,lineId:"line_80"},{x:12.979184719828693,y:37.020815280171306,level:80,lineId:"line_80"},{x:12.127496816123868,y:34.01342376497856,level:80,lineId:"line_80"},{x:11.37784549095501,y:31.352114968138324,level:80,lineId:"line_80"},{x:10.252293560561457,y:28.95163603065883,level:80,lineId:"line_80"},{x:8.746127439283551,y:26.42202958745778,level:80,lineId:"line_80"},{x:7.383252825597108,y:23.4587343340374,level:80,lineId:"line_80"},{x:6.906228345610224,y:20.15178849717313,level:80,lineId:"line_80"},{x:7.807689749798886,y:16.983094068954543,level:80,lineId:"line_80"},{x:10.021333678050409,y:14.511824929042996,level:80,lineId:"line_80"},{x:12.97918471982869,y:12.979184719828693,level:80,lineId:"line_80"},{x:15.986576235021435,y:12.127496816123868,level:80,lineId:"line_80"},{x:18.64788503186167,y:11.377845490955012,level:80,lineId:"line_80"},{x:21.048363969341175,y:10.252293560561453,level:80,lineId:"line_80"},{x:23.57797041254223,y:8.746127439283548,level:80,lineId:"line_80"},{x:26.5412656659626,y:7.383252825597108,level:80,lineId:"line_80"},{x:29.848211502826885,y:6.906228345610224,level:80,lineId:"line_80"},{x:33.01690593104546,y:7.807689749798893,level:80,lineId:"line_80"},{x:35.488175070957006,y:10.021333678050413,level:80,lineId:"line_80"},{x:37.020815280171306,y:12.97918471982869,level:80,lineId:"line_80"},{x:37.872503183876134,y:15.986576235021433,level:80,lineId:"line_80"},{x:38.62215450904499,y:18.64788503186167,level:80,lineId:"line_80"},{x:39.747706439438545,y:21.048363969341175,level:80,lineId:"line_80"},{x:41.25387256071645,y:23.57797041254223,level:80,lineId:"line_80"},{x:46,y:25,level:100,lineId:"line_100"},{x:46.94700725637534,y:28.869849525103437,level:100,lineId:"line_100"},{x:46.58437819330072,y:32.856071187505975,level:100,lineId:"line_100"},{x:44.68653347947321,y:36.366025403784434,level:100,lineId:"line_100"},{x:41.61093856595731,y:38.938232424203235,level:100,lineId:"line_100"},{x:38.05884718263142,y:40.56292804503977,level:100,lineId:"line_100"},{x:34.633974596215566,y:41.68653347947321,level:100,lineId:"line_100"},{x:31.508774832172115,y:42.88271187970743,level:100,lineId:"line_100"},{x:28.423373936907637,y:44.414918370137386,level:100,lineId:"line_100"},{x:25,y:46,level:100,lineId:"line_100"},{x:21.130150474896563,y:46.94700725637534,level:100,lineId:"line_100"},{x:17.14392881249403,y:46.58437819330072,level:100,lineId:"line_100"},{x:13.633974596215566,y:44.68653347947321,level:100,lineId:"line_100"},{x:11.061767575796765,y:41.61093856595731,level:100,lineId:"line_100"},{x:9.437071954960231,y:38.058847182631425,level:100,lineId:"line_100"},{x:8.313466520526788,y:34.63397459621556,level:100,lineId:"line_100"},{x:7.117288120292574,y:31.508774832172115,level:100,lineId:"line_100"},{x:5.585081629862611,y:28.423373936907637,level:100,lineId:"line_100"},{x:4,y:25.000000000000004,level:100,lineId:"line_100"},{x:3.052992743624653,y:21.13015047489656,level:100,lineId:"line_100"},{x:3.415621806699278,y:17.14392881249403,level:100,lineId:"line_100"},{x:5.3134665205267915,y:13.63397459621556,level:100,lineId:"line_100"},{x:8.389061434042688,y:11.061767575796766,level:100,lineId:"line_100"},{x:11.941152817368579,y:9.437071954960231,level:100,lineId:"line_100"},{x:15.366025403784429,y:8.313466520526788,level:100,lineId:"line_100"},{x:18.491225167827874,y:7.117288120292574,level:100,lineId:"line_100"},{x:21.576626063092363,y:5.585081629862611,level:100,lineId:"line_100"},{x:24.999999999999996,y:4,level:100,lineId:"line_100"},{x:28.869849525103426,y:3.052992743624653,level:100,lineId:"line_100"},{x:32.85607118750596,y:3.4156218066992743,level:100,lineId:"line_100"},{x:36.36602540378444,y:5.313466520526788,level:100,lineId:"line_100"},{x:38.938232424203235,y:8.389061434042688,level:100,lineId:"line_100"},{x:40.56292804503977,y:11.941152817368575,level:100,lineId:"line_100"},{x:41.68653347947321,y:15.366025403784429,level:100,lineId:"line_100"},{x:42.88271187970743,y:18.49122516782789,level:100,lineId:"line_100"},{x:44.414918370137386,y:21.576626063092345,level:100,lineId:"line_100"},{x:46,y:24.999999999999996,level:100,lineId:"line_100"}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-stem-leaf",name:"\u830E\u53F6\u56FE",description:"\u4FDD\u7559\u6570\u503C\u7EC6\u8282\u5E76\u5C55\u793A\u5206\u5E03\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u830E\u53F6\u56FE",datasets:{main:[{x:.4,y:0,text:"9",type:"stem",fill:"#333",fontSize:18,fontWeight:"bold"},{x:.47,y:0,text:"2",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.51,y:0,text:"3",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.5499999999999999,y:0,text:"5",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.4,y:1,text:"8",type:"stem",fill:"#333",fontSize:18,fontWeight:"bold"},{x:.47,y:1,text:"1",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.51,y:1,text:"2",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.5499999999999999,y:1,text:"3",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.59,y:1,text:"5",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.63,y:1,text:"7",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.6699999999999999,y:1,text:"9",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.4,y:2,text:"7",type:"stem",fill:"#333",fontSize:18,fontWeight:"bold"},{x:.47,y:2,text:"1",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.51,y:2,text:"2",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.5499999999999999,y:2,text:"3",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.59,y:2,text:"4",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.63,y:2,text:"5",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.6699999999999999,y:2,text:"6",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.71,y:2,text:"8",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.75,y:2,text:"9",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.4,y:3,text:"6",type:"stem",fill:"#333",fontSize:18,fontWeight:"bold"},{x:.47,y:3,text:"5",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.51,y:3,text:"7",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.5499999999999999,y:3,text:"9",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"}],"layer-1":[.45]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-sankey",name:"\u6851\u57FA\u56FE",description:"\u8FDE\u63A5\u5BBD\u5EA6\u8868\u8FBE\u6D41\u91CF\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u6851\u57FA\u56FE",datasets:{main:[{source:"Agricultural 'waste'",target:"Bio-conversion",value:124.729},{source:"Bio-conversion",target:"Liquid",value:.597},{source:"Bio-conversion",target:"Losses",value:26.862},{source:"Bio-conversion",target:"Solid",value:280.322},{source:"Bio-conversion",target:"Gas",value:81.144},{source:"Biofuel imports",target:"Liquid",value:35},{source:"Biomass imports",target:"Solid",value:35},{source:"Coal imports",target:"Coal",value:11.606},{source:"Coal reserves",target:"Coal",value:63.965},{source:"Coal",target:"Solid",value:75.571},{source:"District heating",target:"Industry",value:10.639},{source:"District heating",target:"Heating and cooling - commercial",value:22.505},{source:"District heating",target:"Heating and cooling - homes",value:46.184},{source:"Electricity grid",target:"Over generation / exports",value:104.453},{source:"Electricity grid",target:"Heating and cooling - homes",value:113.726},{source:"Electricity grid",target:"H2 conversion",value:27.14},{source:"Electricity grid",target:"Industry",value:342.165},{source:"Electricity grid",target:"Road transport",value:37.797},{source:"Electricity grid",target:"Agriculture",value:4.412},{source:"Electricity grid",target:"Heating and cooling - commercial",value:40.858},{source:"Electricity grid",target:"Losses",value:56.691},{source:"Electricity grid",target:"Rail transport",value:7.863},{source:"Electricity grid",target:"Lighting & appliances - commercial",value:90.008},{source:"Electricity grid",target:"Lighting & appliances - homes",value:93.494},{source:"Gas imports",target:"Ngas",value:40.719},{source:"Gas reserves",target:"Ngas",value:82.233},{source:"Gas",target:"Heating and cooling - commercial",value:.129},{source:"Gas",target:"Losses",value:1.401},{source:"Gas",target:"Thermal generation",value:151.891},{source:"Gas",target:"Agriculture",value:2.096},{source:"Gas",target:"Industry",value:48.58},{source:"Geothermal",target:"Electricity grid",value:7.013},{source:"H2 conversion",target:"H2",value:20.897},{source:"H2 conversion",target:"Losses",value:6.242},{source:"H2",target:"Road transport",value:20.897},{source:"Hydro",target:"Electricity grid",value:6.995},{source:"Liquid",target:"Industry",value:121.066},{source:"Liquid",target:"International shipping",value:128.69},{source:"Liquid",target:"Road transport",value:135.835},{source:"Liquid",target:"Domestic aviation",value:14.458},{source:"Liquid",target:"International aviation",value:206.267},{source:"Liquid",target:"Agriculture",value:3.64},{source:"Liquid",target:"National navigation",value:33.218},{source:"Liquid",target:"Rail transport",value:4.413},{source:"Marine algae",target:"Bio-conversion",value:4.375},{source:"Ngas",target:"Gas",value:122.952},{source:"Nuclear",target:"Thermal generation",value:839.978},{source:"Oil imports",target:"Oil",value:504.287},{source:"Oil reserves",target:"Oil",value:107.703},{source:"Oil",target:"Liquid",value:611.99},{source:"Other waste",target:"Solid",value:56.587},{source:"Other waste",target:"Bio-conversion",value:77.81},{source:"Pumped heat",target:"Heating and cooling - homes",value:193.026},{source:"Pumped heat",target:"Heating and cooling - commercial",value:70.672},{source:"Solar PV",target:"Electricity grid",value:59.901},{source:"Solar Thermal",target:"Heating and cooling - homes",value:19.263},{source:"Solar",target:"Solar Thermal",value:19.263},{source:"Solar",target:"Solar PV",value:59.901},{source:"Solid",target:"Agriculture",value:.882},{source:"Solid",target:"Thermal generation",value:400.12},{source:"Solid",target:"Industry",value:46.477},{source:"Thermal generation",target:"Electricity grid",value:525.531},{source:"Thermal generation",target:"Losses",value:787.129},{source:"Thermal generation",target:"District heating",value:79.329},{source:"Tidal",target:"Electricity grid",value:9.452},{source:"UK land based bioenergy",target:"Bio-conversion",value:182.01},{source:"Wave",target:"Electricity grid",value:19.013},{source:"Wind",target:"Electricity grid",value:289.366}]},theme:"indigo",height:320,legend:!1,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-chord",name:"\u5F26\u56FE",description:"\u5706\u73AF\u5185\u5C55\u793A\u5173\u7CFB\u5F3A\u5EA6\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u5F26\u56FE",datasets:{main:{links:[{source:"Beijing",target:"Shanghai",value:100},{source:"Beijing",target:"Guangzhou",value:80},{source:"Beijing",target:"Shenzhen",value:60},{source:"Shanghai",target:"Beijing",value:70},{source:"Shanghai",target:"Guangzhou",value:90},{source:"Shanghai",target:"Shenzhen",value:50},{source:"Guangzhou",target:"Beijing",value:40},{source:"Guangzhou",target:"Shanghai",value:85},{source:"Guangzhou",target:"Shenzhen",value:120},{source:"Shenzhen",target:"Beijing",value:35},{source:"Shenzhen",target:"Shanghai",value:45},{source:"Shenzhen",target:"Guangzhou",value:110}]}},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-arcdiagram",name:"\u5F27\u56FE",description:"\u5728\u7EBF\u6027\u8282\u70B9\u4E4B\u95F4\u8FDE\u63A5\u5F27\u7EBF\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u5F27\u56FE",datasets:{main:{nodes:[{id:0,label:"Myriel",modularity_class:"0",size:28.685715},{id:1,label:"Napoleon",modularity_class:"0",size:4},{id:2,label:"MlleBaptistine",modularity_class:"1",size:9.485714},{id:3,label:"MmeMagloire",modularity_class:"1",size:9.485714},{id:4,label:"CountessDeLo",modularity_class:"0",size:4},{id:5,label:"Geborand",modularity_class:"0",size:4},{id:6,label:"Champtercier",modularity_class:"0",size:4},{id:7,label:"Cravatte",modularity_class:"0",size:4},{id:8,label:"Count",modularity_class:"0",size:4},{id:9,label:"OldMan",modularity_class:"0",size:4},{id:10,label:"Labarre",modularity_class:"1",size:4},{id:11,label:"Valjean",modularity_class:"1",size:100},{id:12,label:"Marguerite",modularity_class:"1",size:6.742859},{id:13,label:"MmeDeR",modularity_class:"1",size:4},{id:14,label:"Isabeau",modularity_class:"1",size:4},{id:15,label:"Gervais",modularity_class:"1",size:4},{id:16,label:"Tholomyes",modularity_class:"2",size:25.942856},{id:17,label:"Listolier",modularity_class:"2",size:20.457146},{id:18,label:"Fameuil",modularity_class:"2",size:20.457146},{id:19,label:"Blacheville",modularity_class:"2",size:20.457146},{id:20,label:"Favourite",modularity_class:"2",size:20.457146},{id:21,label:"Dahlia",modularity_class:"2",size:20.457146},{id:22,label:"Zephine",modularity_class:"2",size:20.457146},{id:23,label:"Fantine",modularity_class:"2",size:42.4},{id:24,label:"MmeThenardier",modularity_class:"7",size:31.428574},{id:25,label:"Thenardier",modularity_class:"7",size:45.142853},{id:26,label:"Cosette",modularity_class:"6",size:31.428574},{id:27,label:"Javert",modularity_class:"7",size:47.88571},{id:28,label:"Fauchelevent",modularity_class:"4",size:12.228573},{id:29,label:"Bamatabois",modularity_class:"3",size:23.2},{id:30,label:"Perpetue",modularity_class:"2",size:6.742859},{id:31,label:"Simplice",modularity_class:"2",size:12.228573},{id:32,label:"Scaufflaire",modularity_class:"1",size:4},{id:33,label:"Woman1",modularity_class:"1",size:6.742859},{id:34,label:"Judge",modularity_class:"3",size:17.714287},{id:35,label:"Champmathieu",modularity_class:"3",size:17.714287},{id:36,label:"Brevet",modularity_class:"3",size:17.714287},{id:37,label:"Chenildieu",modularity_class:"3",size:17.714287},{id:38,label:"Cochepaille",modularity_class:"3",size:17.714287},{id:39,label:"Pontmercy",modularity_class:"6",size:9.485714},{id:40,label:"Boulatruelle",modularity_class:"7",size:4},{id:41,label:"Eponine",modularity_class:"7",size:31.428574},{id:42,label:"Anzelma",modularity_class:"7",size:9.485714},{id:43,label:"Woman2",modularity_class:"6",size:9.485714},{id:44,label:"MotherInnocent",modularity_class:"4",size:6.742859},{id:45,label:"Gribier",modularity_class:"4",size:4},{id:46,label:"Jondrette",modularity_class:"5",size:4},{id:47,label:"MmeBurgon",modularity_class:"5",size:6.742859},{id:48,label:"Gavroche",modularity_class:"8",size:61.600006},{id:49,label:"Gillenormand",modularity_class:"6",size:20.457146},{id:50,label:"Magnon",modularity_class:"6",size:6.742859},{id:51,label:"MlleGillenormand",modularity_class:"6",size:20.457146},{id:52,label:"MmePontmercy",modularity_class:"6",size:6.742859},{id:53,label:"MlleVaubois",modularity_class:"6",size:4},{id:54,label:"LtGillenormand",modularity_class:"6",size:12.228573},{id:55,label:"Marius",modularity_class:"6",size:53.37143},{id:56,label:"BaronessT",modularity_class:"6",size:6.742859},{id:57,label:"Mabeuf",modularity_class:"8",size:31.428574},{id:58,label:"Enjolras",modularity_class:"8",size:42.4},{id:59,label:"Combeferre",modularity_class:"8",size:31.428574},{id:60,label:"Prouvaire",modularity_class:"8",size:25.942856},{id:61,label:"Feuilly",modularity_class:"8",size:31.428574},{id:62,label:"Courfeyrac",modularity_class:"8",size:36.91429},{id:63,label:"Bahorel",modularity_class:"8",size:34.17143},{id:64,label:"Bossuet",modularity_class:"8",size:36.91429},{id:65,label:"Joly",modularity_class:"8",size:34.17143},{id:66,label:"Grantaire",modularity_class:"8",size:28.685715},{id:67,label:"MotherPlutarch",modularity_class:"8",size:4},{id:68,label:"Gueulemer",modularity_class:"7",size:28.685715},{id:69,label:"Babet",modularity_class:"7",size:28.685715},{id:70,label:"Claquesous",modularity_class:"7",size:28.685715},{id:71,label:"Montparnasse",modularity_class:"7",size:25.942856},{id:72,label:"Toussaint",modularity_class:"1",size:9.485714},{id:73,label:"Child1",modularity_class:"8",size:6.742859},{id:74,label:"Child2",modularity_class:"8",size:6.742859},{id:75,label:"Brujon",modularity_class:"7",size:20.457146},{id:76,label:"MmeHucheloup",modularity_class:"8",size:20.457146}],links:[{source:"1",target:"0"},{source:"2",target:"0"},{source:"3",target:"0"},{source:"3",target:"2"},{source:"4",target:"0"},{source:"5",target:"0"},{source:"6",target:"0"},{source:"7",target:"0"},{source:"8",target:"0"},{source:"9",target:"0"},{source:"11",target:"0"},{source:"11",target:"2"},{source:"11",target:"3"},{source:"11",target:"10"},{source:"12",target:"11"},{source:"13",target:"11"},{source:"14",target:"11"},{source:"15",target:"11"},{source:"17",target:"16"},{source:"18",target:"16"},{source:"18",target:"17"},{source:"19",target:"16"},{source:"19",target:"17"},{source:"19",target:"18"},{source:"20",target:"16"},{source:"20",target:"17"},{source:"20",target:"18"},{source:"20",target:"19"},{source:"21",target:"16"},{source:"21",target:"17"},{source:"21",target:"18"},{source:"21",target:"19"},{source:"21",target:"20"},{source:"22",target:"16"},{source:"22",target:"17"},{source:"22",target:"18"},{source:"22",target:"19"},{source:"22",target:"20"},{source:"22",target:"21"},{source:"23",target:"11"},{source:"23",target:"12"},{source:"23",target:"16"},{source:"23",target:"17"},{source:"23",target:"18"},{source:"23",target:"19"},{source:"23",target:"20"},{source:"23",target:"21"},{source:"23",target:"22"},{source:"24",target:"11"},{source:"24",target:"23"},{source:"25",target:"11"},{source:"25",target:"23"},{source:"25",target:"24"},{source:"26",target:"11"},{source:"26",target:"16"},{source:"26",target:"24"},{source:"26",target:"25"},{source:"27",target:"11"},{source:"27",target:"23"},{source:"27",target:"24"},{source:"27",target:"25"},{source:"27",target:"26"},{source:"28",target:"11"},{source:"28",target:"27"},{source:"29",target:"11"},{source:"29",target:"23"},{source:"29",target:"27"},{source:"30",target:"23"},{source:"31",target:"11"},{source:"31",target:"23"},{source:"31",target:"27"},{source:"31",target:"30"},{source:"32",target:"11"},{source:"33",target:"11"},{source:"33",target:"27"},{source:"34",target:"11"},{source:"34",target:"29"},{source:"35",target:"11"},{source:"35",target:"29"},{source:"35",target:"34"},{source:"36",target:"11"},{source:"36",target:"29"},{source:"36",target:"34"},{source:"36",target:"35"},{source:"37",target:"11"},{source:"37",target:"29"},{source:"37",target:"34"},{source:"37",target:"35"},{source:"37",target:"36"},{source:"38",target:"11"},{source:"38",target:"29"},{source:"38",target:"34"},{source:"38",target:"35"},{source:"38",target:"36"},{source:"38",target:"37"},{source:"39",target:"25"},{source:"40",target:"25"},{source:"41",target:"24"},{source:"41",target:"25"},{source:"42",target:"24"},{source:"42",target:"25"},{source:"42",target:"41"},{source:"43",target:"11"},{source:"43",target:"26"},{source:"43",target:"27"},{source:"44",target:"11"},{source:"44",target:"28"},{source:"45",target:"28"},{source:"47",target:"46"},{source:"48",target:"11"},{source:"48",target:"25"},{source:"48",target:"27"},{source:"48",target:"47"},{source:"49",target:"11"},{source:"49",target:"26"},{source:"50",target:"24"},{source:"50",target:"49"},{source:"51",target:"11"},{source:"51",target:"26"},{source:"51",target:"49"},{source:"52",target:"39"},{source:"52",target:"51"},{source:"53",target:"51"},{source:"54",target:"26"},{source:"54",target:"49"},{source:"54",target:"51"},{source:"55",target:"11"},{source:"55",target:"16"},{source:"55",target:"25"},{source:"55",target:"26"},{source:"55",target:"39"},{source:"55",target:"41"},{source:"55",target:"48"},{source:"55",target:"49"},{source:"55",target:"51"},{source:"55",target:"54"},{source:"56",target:"49"},{source:"56",target:"55"},{source:"57",target:"41"},{source:"57",target:"48"},{source:"57",target:"55"},{source:"58",target:"11"},{source:"58",target:"27"},{source:"58",target:"48"},{source:"58",target:"55"},{source:"58",target:"57"},{source:"59",target:"48"},{source:"59",target:"55"},{source:"59",target:"57"},{source:"59",target:"58"},{source:"60",target:"48"},{source:"60",target:"58"},{source:"60",target:"59"},{source:"61",target:"48"},{source:"61",target:"55"},{source:"61",target:"57"},{source:"61",target:"58"},{source:"61",target:"59"},{source:"61",target:"60"},{source:"62",target:"41"},{source:"62",target:"48"},{source:"62",target:"55"},{source:"62",target:"57"},{source:"62",target:"58"},{source:"62",target:"59"},{source:"62",target:"60"},{source:"62",target:"61"},{source:"63",target:"48"},{source:"63",target:"55"},{source:"63",target:"57"},{source:"63",target:"58"},{source:"63",target:"59"},{source:"63",target:"60"},{source:"63",target:"61"},{source:"63",target:"62"},{source:"64",target:"11"},{source:"64",target:"48"},{source:"64",target:"55"},{source:"64",target:"57"},{source:"64",target:"58"},{source:"64",target:"59"},{source:"64",target:"60"},{source:"64",target:"61"},{source:"64",target:"62"},{source:"64",target:"63"},{source:"65",target:"48"},{source:"65",target:"55"},{source:"65",target:"57"},{source:"65",target:"58"},{source:"65",target:"59"},{source:"65",target:"60"},{source:"65",target:"61"},{source:"65",target:"62"},{source:"65",target:"63"},{source:"65",target:"64"},{source:"66",target:"48"},{source:"66",target:"58"},{source:"66",target:"59"},{source:"66",target:"60"},{source:"66",target:"61"},{source:"66",target:"62"},{source:"66",target:"63"},{source:"66",target:"64"},{source:"66",target:"65"},{source:"67",target:"57"},{source:"68",target:"11"},{source:"68",target:"24"},{source:"68",target:"25"},{source:"68",target:"27"},{source:"68",target:"41"},{source:"68",target:"48"},{source:"69",target:"11"},{source:"69",target:"24"},{source:"69",target:"25"},{source:"69",target:"27"},{source:"69",target:"41"},{source:"69",target:"48"},{source:"69",target:"68"},{source:"70",target:"11"},{source:"70",target:"24"},{source:"70",target:"25"},{source:"70",target:"27"},{source:"70",target:"41"},{source:"70",target:"58"},{source:"70",target:"68"},{source:"70",target:"69"},{source:"71",target:"11"},{source:"71",target:"25"},{source:"71",target:"27"},{source:"71",target:"41"},{source:"71",target:"48"},{source:"71",target:"68"},{source:"71",target:"69"},{source:"71",target:"70"},{source:"72",target:"11"},{source:"72",target:"26"},{source:"72",target:"27"},{source:"73",target:"48"},{source:"74",target:"48"},{source:"74",target:"73"},{source:"75",target:"25"},{source:"75",target:"41"},{source:"75",target:"48"},{source:"75",target:"68"},{source:"75",target:"69"},{source:"75",target:"70"},{source:"75",target:"71"},{source:"76",target:"48"},{source:"76",target:"58"},{source:"76",target:"62"},{source:"76",target:"63"},{source:"76",target:"64"},{source:"76",target:"65"},{source:"76",target:"66"}]}},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-pack",name:"\u5706\u5F62\u6253\u5305\u56FE",description:"\u7528\u5305\u542B\u5173\u7CFB\u8868\u8FBE\u5C42\u7EA7\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u5706\u5F62\u6253\u5305\u56FE",datasets:{main:{name:"flare",children:[{name:"analytics",children:[{name:"cluster",children:[{name:"AgglomerativeCluster",value:3938},{name:"CommunityStructure",value:3812},{name:"HierarchicalCluster",value:6714},{name:"MergeEdge",value:743}]},{name:"graph",children:[{name:"BetweennessCentrality",value:3534},{name:"LinkDistance",value:5731},{name:"MaxFlowMinCut",value:7840},{name:"ShortestPaths",value:5914},{name:"SpanningTree",value:3416}]},{name:"optimization",children:[{name:"AspectRatioBanker",value:7074}]}]},{name:"animate",children:[{name:"Easing",value:17010},{name:"FunctionSequence",value:5842},{name:"interpolate",children:[{name:"ArrayInterpolator",value:1983},{name:"ColorInterpolator",value:2047},{name:"DateInterpolator",value:1375},{name:"Interpolator",value:8746},{name:"MatrixInterpolator",value:2202},{name:"NumberInterpolator",value:1382},{name:"ObjectInterpolator",value:1629},{name:"PointInterpolator",value:1675},{name:"RectangleInterpolator",value:2042}]},{name:"ISchedulable",value:1041},{name:"Parallel",value:5176},{name:"Pause",value:449},{name:"Scheduler",value:5593},{name:"Sequence",value:5534},{name:"Transition",value:9201},{name:"Transitioner",value:19975},{name:"TransitionEvent",value:1116},{name:"Tween",value:6006}]},{name:"data",children:[{name:"converters",children:[{name:"Converters",value:721},{name:"DelimitedTextConverter",value:4294},{name:"GraphMLConverter",value:9800},{name:"IDataConverter",value:1314},{name:"JSONConverter",value:2220}]},{name:"DataField",value:1759},{name:"DataSchema",value:2165},{name:"DataSet",value:586},{name:"DataSource",value:3331},{name:"DataTable",value:772},{name:"DataUtil",value:3322}]},{name:"display",children:[{name:"DirtySprite",value:8833},{name:"LineSprite",value:1732},{name:"RectSprite",value:3623},{name:"TextSprite",value:10066}]},{name:"flex",children:[{name:"FlareVis",value:4116}]},{name:"physics",children:[{name:"DragForce",value:1082},{name:"GravityForce",value:1336},{name:"IForce",value:319},{name:"NBodyForce",value:10498},{name:"Particle",value:2822},{name:"Simulation",value:9983},{name:"Spring",value:2213},{name:"SpringForce",value:1681}]},{name:"query",children:[{name:"AggregateExpression",value:1616},{name:"And",value:1027},{name:"Arithmetic",value:3891},{name:"Average",value:891},{name:"BinaryExpression",value:2893},{name:"Comparison",value:5103},{name:"CompositeExpression",value:3677},{name:"Count",value:781},{name:"DateUtil",value:4141},{name:"Distinct",value:933},{name:"Expression",value:5130},{name:"ExpressionIterator",value:3617},{name:"Fn",value:3240},{name:"If",value:2732},{name:"IsA",value:2039},{name:"Literal",value:1214},{name:"Match",value:3748},{name:"Maximum",value:843},{name:"methods",children:[{name:"add",value:593},{name:"and",value:330},{name:"average",value:287},{name:"count",value:277},{name:"distinct",value:292},{name:"div",value:595},{name:"eq",value:594},{name:"fn",value:460},{name:"gt",value:603},{name:"gte",value:625},{name:"iff",value:748},{name:"isa",value:461},{name:"lt",value:597},{name:"lte",value:619},{name:"max",value:283},{name:"min",value:283},{name:"mod",value:591},{name:"mul",value:603},{name:"neq",value:599},{name:"not",value:386},{name:"or",value:323},{name:"orderby",value:307},{name:"range",value:772},{name:"select",value:296},{name:"stddev",value:363},{name:"sub",value:600},{name:"sum",value:280},{name:"update",value:307},{name:"variance",value:335},{name:"where",value:299},{name:"xor",value:354},{name:"_",value:264}]},{name:"Minimum",value:843},{name:"Not",value:1554},{name:"Or",value:970},{name:"Query",value:13896},{name:"Range",value:1594},{name:"StringUtil",value:4130},{name:"Sum",value:791},{name:"Variable",value:1124},{name:"Variance",value:1876},{name:"Xor",value:1101}]},{name:"scale",children:[{name:"IScaleMap",value:2105},{name:"LinearScale",value:1316},{name:"LogScale",value:3151},{name:"OrdinalScale",value:3770},{name:"QuantileScale",value:2435},{name:"QuantitativeScale",value:4839},{name:"RootScale",value:1756},{name:"Scale",value:4268},{name:"ScaleType",value:1821},{name:"TimeScale",value:5833}]},{name:"util",children:[{name:"Arrays",value:8258},{name:"Colors",value:10001},{name:"Dates",value:8217},{name:"Displays",value:12555},{name:"Filter",value:2324},{name:"Geometry",value:10993},{name:"heap",children:[{name:"FibonacciHeap",value:9354},{name:"HeapNode",value:1233}]},{name:"IEvaluable",value:335},{name:"IPredicate",value:383},{name:"IValueProxy",value:874},{name:"math",children:[{name:"DenseMatrix",value:3165},{name:"IMatrix",value:2815},{name:"SparseMatrix",value:3366}]},{name:"Maths",value:17705},{name:"Orientation",value:1486},{name:"palette",children:[{name:"ColorPalette",value:6367},{name:"Palette",value:1229},{name:"ShapePalette",value:2059},{name:"SizePalette",value:2291}]},{name:"Property",value:5559},{name:"Shapes",value:19118},{name:"Sort",value:6887},{name:"Stats",value:6557},{name:"Strings",value:22026}]},{name:"vis",children:[{name:"axis",children:[{name:"Axes",value:1302},{name:"Axis",value:24593},{name:"AxisGridLine",value:652},{name:"AxisLabel",value:636},{name:"CartesianAxes",value:6703}]},{name:"controls",children:[{name:"AnchorControl",value:2138},{name:"ClickControl",value:3824},{name:"Control",value:1353},{name:"ControlList",value:4665},{name:"DragControl",value:2649},{name:"ExpandControl",value:2832},{name:"HoverControl",value:4896},{name:"IControl",value:763},{name:"PanZoomControl",value:5222},{name:"SelectionControl",value:7862},{name:"TooltipControl",value:8435}]},{name:"data",children:[{name:"Data",value:20544},{name:"DataList",value:19788},{name:"DataSprite",value:10349},{name:"EdgeSprite",value:3301},{name:"NodeSprite",value:19382},{name:"render",children:[{name:"ArrowType",value:698},{name:"EdgeRenderer",value:5569},{name:"IRenderer",value:353},{name:"ShapeRenderer",value:2247}]},{name:"ScaleBinding",value:11275},{name:"Tree",value:7147},{name:"TreeBuilder",value:9930}]},{name:"events",children:[{name:"DataEvent",value:2313},{name:"SelectionEvent",value:1880},{name:"TooltipEvent",value:1701},{name:"VisualizationEvent",value:1117}]},{name:"legend",children:[{name:"Legend",value:20859},{name:"LegendItem",value:4614},{name:"LegendRange",value:10530}]},{name:"operator",children:[{name:"distortion",children:[{name:"BifocalDistortion",value:4461},{name:"Distortion",value:6314},{name:"FisheyeDistortion",value:3444}]},{name:"encoder",children:[{name:"ColorEncoder",value:3179},{name:"Encoder",value:4060},{name:"PropertyEncoder",value:4138},{name:"ShapeEncoder",value:1690},{name:"SizeEncoder",value:1830}]},{name:"filter",children:[{name:"FisheyeTreeFilter",value:5219},{name:"GraphDistanceFilter",value:3165},{name:"VisibilityFilter",value:3509}]},{name:"IOperator",value:1286},{name:"label",children:[{name:"Labeler",value:9956},{name:"RadialLabeler",value:3899},{name:"StackedAreaLabeler",value:3202}]},{name:"layout",children:[{name:"AxisLayout",value:6725},{name:"BundledEdgeRouter",value:3727},{name:"CircleLayout",value:9317},{name:"CirclePackingLayout",value:12003},{name:"DendrogramLayout",value:4853},{name:"ForceDirectedLayout",value:8411},{name:"IcicleTreeLayout",value:4864},{name:"IndentedTreeLayout",value:3174},{name:"Layout",value:7881},{name:"NodeLinkTreeLayout",value:12870},{name:"PieLayout",value:2728},{name:"RadialTreeLayout",value:12348},{name:"RandomLayout",value:870},{name:"StackedAreaLayout",value:9121},{name:"TreeMapLayout",value:9191}]},{name:"Operator",value:2490},{name:"OperatorList",value:5248},{name:"OperatorSequence",value:4190},{name:"OperatorSwitch",value:2581},{name:"SortOperator",value:2023}]},{name:"Visualization",value:16540}]}]}},theme:"indigo",height:320,legend:!1,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-venn",name:"\u97E6\u6069\u56FE",description:"\u5C55\u793A\u96C6\u5408\u53CA\u4EA4\u96C6\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u97E6\u6069\u56FE",datasets:{main:[{sets:["WeChat"],size:1200,label:"WeChat"},{sets:["Weibo"],size:800,label:"Weibo"},{sets:["TikTok"],size:1e3,label:"TikTok"},{sets:["WeChat","Weibo"],size:300,label:"WeChat&Weibo"},{sets:["WeChat","TikTok"],size:400,label:"WeChat&TikTok"},{sets:["Weibo","TikTok"],size:200,label:"Weibo&TikTok"},{sets:["WeChat","Weibo","TikTok"],size:150}]},theme:"indigo",height:320,legend:!1,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-gantt",name:"\u7518\u7279\u56FE",description:"\u5C55\u793A\u4EFB\u52A1\u7684\u5F00\u59CB\u4E0E\u7ED3\u675F\u533A\u95F4\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u7518\u7279\u56FE",datasets:{main:[{name:"Event Planning",startTime:1,endTime:4},{name:"Venue Logistics Planning",startTime:3,endTime:13},{name:"Select Vendors",startTime:5,endTime:8},{name:"Venue Rental",startTime:9,endTime:13},{name:"Book Catering Service",startTime:10,endTime:14},{name:"Hire Event Decoration Team",startTime:12,endTime:17},{name:"Rehearsal",startTime:14,endTime:16},{name:"Event Celebration",startTime:17,endTime:18}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-k-chart",name:"K \u7EBF\u56FE",description:"\u5C55\u793A\u5F00\u76D8\u3001\u6536\u76D8\u4E0E\u9AD8\u4F4E\u503C\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"K \u7EBF\u56FE",datasets:{main:[{time:"2015-11-19",start:8.18,max:8.33,min:7.98,end:8.32},{time:"2015-11-18",start:8.37,max:8.6,min:8.03,end:8.09},{time:"2015-11-17",start:8.7,max:8.78,min:8.32,end:8.37},{time:"2015-11-16",start:8.48,max:8.85,min:8.43,end:8.7},{time:"2015-11-13",start:8.01,max:8.75,min:7.97,end:8.41},{time:"2015-11-12",start:7.76,max:8.18,min:7.61,end:8.15},{time:"2015-11-11",start:7.55,max:7.81,min:7.49,end:7.8},{time:"2015-11-10",start:7.5,max:7.68,min:7.44,end:7.57}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-kagi",name:"Kagi \u8F6C\u5411\u56FE",description:"\u6309\u4EF7\u683C\u53CD\u8F6C\u5F62\u6210\u7AD6\u7EBF\u4E0E\u7C97\u7EC6\u53D8\u5316\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"Kagi \u8F6C\u5411\u56FE",datasets:{main:[7.57,7.8,8.15,8.41,8.7,8.37,8.09,8.32]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-spiral",name:"\u87BA\u65CB\u56FE",description:"\u628A\u8FDE\u7EED\u5E8F\u5217\u6392\u5217\u5728\u87BA\u65CB\u5750\u6807\u4E0A\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u87BA\u65CB\u56FE",datasets:{main:[{time:"2023-01",category:"\u4EA7\u54C1A",sales:82.38780839834362},{time:"2023-02",category:"\u4EA7\u54C1A",sales:89.13493264699355},{time:"2023-03",category:"\u4EA7\u54C1A",sales:86.12491666339338},{time:"2023-04",category:"\u4EA7\u54C1A",sales:89.26981459138915},{time:"2023-05",category:"\u4EA7\u54C1A",sales:80.49341175239533},{time:"2023-06",category:"\u4EA7\u54C1A",sales:88.55783556820825},{time:"2023-07",category:"\u4EA7\u54C1A",sales:83.60985156148672},{time:"2023-08",category:"\u4EA7\u54C1A",sales:80.5310634127818},{time:"2023-09",category:"\u4EA7\u54C1A",sales:80.68784036207944},{time:"2023-10",category:"\u4EA7\u54C1A",sales:89.83937001088634},{time:"2023-11",category:"\u4EA7\u54C1A",sales:89.72805031575263},{time:"2023-12",category:"\u4EA7\u54C1A",sales:85.31250786734745},{time:"2023-01",category:"\u4EA7\u54C1B",sales:89.51857624109834},{time:"2023-02",category:"\u4EA7\u54C1B",sales:90.47839395003393},{time:"2023-03",category:"\u4EA7\u54C1B",sales:91.05035996064544},{time:"2023-04",category:"\u4EA7\u54C1B",sales:92.77417307486758},{time:"2023-05",category:"\u4EA7\u54C1B",sales:92.79812368098646},{time:"2023-06",category:"\u4EA7\u54C1B",sales:89.18077372247353},{time:"2023-07",category:"\u4EA7\u54C1B",sales:89.74107998423278},{time:"2023-08",category:"\u4EA7\u54C1B",sales:93.52143480209634},{time:"2023-09",category:"\u4EA7\u54C1B",sales:88.62463913392276},{time:"2023-10",category:"\u4EA7\u54C1B",sales:89.81507250340655},{time:"2023-11",category:"\u4EA7\u54C1B",sales:85.91941252350807},{time:"2023-12",category:"\u4EA7\u54C1B",sales:92.49137200182304},{time:"2023-01",category:"\u4EA7\u54C1C",sales:98.3420142205432},{time:"2023-02",category:"\u4EA7\u54C1C",sales:93.58112940797582},{time:"2023-03",category:"\u4EA7\u54C1C",sales:91.78849068470299},{time:"2023-04",category:"\u4EA7\u54C1C",sales:99.81763497693464},{time:"2023-05",category:"\u4EA7\u54C1C",sales:91.22066186275333},{time:"2023-06",category:"\u4EA7\u54C1C",sales:94.54777921782807},{time:"2023-07",category:"\u4EA7\u54C1C",sales:94.56323498860002},{time:"2023-08",category:"\u4EA7\u54C1C",sales:91.08007916947827},{time:"2023-09",category:"\u4EA7\u54C1C",sales:91.14025554154068},{time:"2023-10",category:"\u4EA7\u54C1C",sales:96.21596273267642},{time:"2023-11",category:"\u4EA7\u54C1C",sales:97.7282879408449},{time:"2023-12",category:"\u4EA7\u54C1C",sales:90.84541457472369},{time:"2023-01",category:"\u4EA7\u54C1D",sales:101.05567167978734},{time:"2023-02",category:"\u4EA7\u54C1D",sales:104.26347774686292},{time:"2023-03",category:"\u4EA7\u54C1D",sales:97.65727672725916},{time:"2023-04",category:"\u4EA7\u54C1D",sales:100.90512078022584},{time:"2023-05",category:"\u4EA7\u54C1D",sales:98.52738515008241},{time:"2023-06",category:"\u4EA7\u54C1D",sales:98.12762065092102},{time:"2023-07",category:"\u4EA7\u54C1D",sales:100.12465403415263},{time:"2023-08",category:"\u4EA7\u54C1D",sales:102.11687762988731},{time:"2023-09",category:"\u4EA7\u54C1D",sales:98.09756790753454},{time:"2023-10",category:"\u4EA7\u54C1D",sales:96.58196865813807},{time:"2023-11",category:"\u4EA7\u54C1D",sales:103.74136699363589},{time:"2023-12",category:"\u4EA7\u54C1D",sales:101.25576151302084}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-choropleth-map",name:"\u5206\u7EA7\u8BBE\u8272\u5730\u56FE",description:"\u6309\u533A\u57DF\u6570\u503C\u8BBE\u7F6E\u989C\u8272\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u5206\u7EA7\u8BBE\u8272\u5730\u56FE",description:"\u793A\u4F8B\u4E3A\u5DDE\u5185\u53BF\u5931\u4E1A\u7387\u7684\u672A\u52A0\u6743\u5E73\u5747\u503C\uFF1B\u8FB9\u754C\u5DF2\u7B80\u5316\u3002",datasets:{"us-10m":{type:"Topology",transform:{scale:[.003589294092944858,.0005371535195261037],translate:[-179.1473400003406,17.67439566600018]},objects:{states:{type:"GeometryCollection",geometries:[{type:"MultiPolygon",arcs:[[[2170]],[[2171]],[[2172]],[[2173]],[[2174]],[[2175]],[[2176]],[[2177]],[[2178]],[[2179]],[[2180]],[[2181]],[[2182]],[[2183]],[[2184]],[[2185]],[[2186]],[[2187]],[[2188]],[[2189]],[[2190]],[[2193]],[[2194]],[[2195]],[[2196]],[[2331]],[[2197]],[[2332]],[[2198]],[[2199]],[[2200]],[[2333]],[[2201]],[[2334]],[[2335]],[[2202]],[[2336]],[[2203]],[[2204]],[[2208]],[[2337]],[[2205]],[[2338]],[[2339]],[[2340]],[[2341]],[[2221]],[[2342]],[[2242]],[[2209]],[[2343]],[[2243]],[[2344,2345]],[[2244]],[[2245]],[[2222]],[[2217]],[[2223]],[[2224]],[[2191]],[[2246]],[[2247]],[[2248]],[[2249]],[[2225]],[[2192]],[[2275]],[[2276,2394,2277]],[[2226]],[[2227]],[[2228]],[[2254]],[[2229]],[[2260,2261,2262,2280,2278,2252,2395,2253,2279,2263]],[[2237]],[[2236,2258,2396,2259,2234,2235,2264]],[[2230]],[[2231]],[[2211]],[[2309]],[[2310]],[[2293]],[[2294]],[[2295]],[[2296]],[[2297]],[[2285]],[[2298]],[[2311]],[[2299]],[[2286]],[[2301]],[[2302]],[[2303]],[[2287]],[[2305]],[[2281]],[[2282]],[[2283]],[[2327]],[[2328]],[[2322]],[[2265,2319,2316,2317,2308,2306,2312,2304,2313,2300,2314,2292,2291,2315,2397,2232,2233,2218,2207,2398,2206,2219,2210,2220,2216,2213,2214,2215,2289,2212,2290,2288,2284,2330,2329,2325,2326,2324,2323,2320,2321,2307,2318,2266,2274,2269,2272,2238,2257,2250,2347,2346,2251,2255,2399,2256,2239,2400,2401,2240,2270,2241,2271,2268,2273,2267]]],id:2},{type:"MultiPolygon",arcs:[[[2162]],[[2166]],[[2165]],[[2167]],[[2402,2164]],[[2168]],[[2169]],[[2163]]],id:15},{type:"MultiPolygon",arcs:[[[2391]],[[2372,2353,2350,2356,2373,2355,2357,2362,2393,2380,2403,2360,2359,2374,2358,2384,2386,2383,2388,2389,2387,2390,2379,2385,2366,2404,2375,2370,2371,2352,2361,2377,2354,2369,2376,2351,2364,2365,2349,2363,2405,2348,2367,2368,2378]]],id:72},{type:"MultiPolygon",arcs:[[[-1500,-1499,-1502,-1501,-1508,1544,-1548,-1549,1557,-1581,-1582,1584,-1618,1628,1629,-1640,1662,1663,-1682,1684,-1700,1712,-1731,-1734,1735,-1755,1755,1756,-1768,1768,-1780,1803,1804,1808,1809,1810,1777,1778,1805,1806,1807,1799,1800,1801,2406,1802,1815,1816,1817,-1789,1772,-1765,1739,1740,-1733,1694,1695,-1681,1659,-1645,1625,-1619,1602,-1595,1583,-1543,-1544,1541,-1484,-1466,-1467,-1472,-1471]]],id:1},{type:"Polygon",arcs:[[-1305,-1304,-1291,-1358,-1357,-1356,-1365,-1364,-1363,-1265,-1332,-1331,-1330,-1355,-1354,-1317,-1379,-1378,-1377,-1376,-1409,-1424,1432,1433,1434,1435,-1454,1474,1475,1476,1554,-1557,1574,1575,-1617,-1616,1654,1655,1656,1657,1658,1672,1676,1677,1669,1670,1665,1666,1646,1647,1648,-1646,1630,-1590,-1589,-1588,1573,-1498,-1497,1472,1473,-1455,1444,-1427,1417,1406,-1372,-1368]],id:5},{type:"Polygon",arcs:[[-1074,-1272,1272,1273,1274,-1583,1642,1643,-1702,1736,1771,1734,1667,1668,1603,1604,-1443,-1442,-1350,-1055,-1176,-1195,-1194,-1076,-1075]],id:4},{type:"MultiPolygon",arcs:[[[1561]],[[1562]],[[1528]],[[1529]],[[-424,-423,-426,611,-616,-615,-614,-613,932,933,-976,-975,-974,-874,-977,1044,-1078,-963,1207,-1351,1441,1442,-1605,-1604,-1669,1671,1661,1631,1632,1633,1634,1635,1563,1564,1565,1566,1567,1568,1555,1530,1443,1320,1242,1162,1149,1161,1197,1143,1121,1093,1042,1062,1027,1061,1028,1029,1092,1030,852,666,667,610,-486,-499,-498,-484]]],id:6},{type:"Polygon",arcs:[[-539,-538,-650,-649,-675,-674,-670,-669,-693,-709,-708,751,-757,780,781,-852,903,904,-969,982,-1049,-1048,1100,1101,-1158,1167,1168,1169,1150,1151,1165,1166,1213,1214,1211,1212,1171,1170,-1073,-1072,-1071,1055,-916,840,-743,-742,709,710,-570,-537,-536,-535]],id:8},{type:"MultiPolygon",arcs:[[[-550,-549,-548,-508,-507,-506,602,603,-625,635,636,651,652,2407,653,643,644,645,646,-588,-587,-500]]],id:9},{type:"MultiPolygon",arcs:[[[992,993,-929,-973]]],id:11},{type:"MultiPolygon",arcs:[[[863,927,994,995,996,997,998,999,-966,925,926,-923,864,865,-816,-846,-867,-845]]],id:10},{type:"MultiPolygon",arcs:[[[2108,2109,2110,2111,2112,2113,2114,2115,2116,2117,2118]],[[2071]],[[1980]],[[1932]],[[2408,2409,1966,1967,1968,1969,2410,2411,2412,2413,1965,2414]],[[1892]],[[1906,1903,1904,1905,1866,1867,1868,1869,1870]],[[2103,2415,2416,2417,2418,2104,2419,2420,2105,2106,2119,2120,2121,2122,2123,2124,2125,2126,2127,2128,2129,2130,2131,2132,2133,2134,2135,2136,2137,2138,2139,2140,2141,2142,2143,2144,2145,2083,-2085,2085,2086,2087,2088,2089,2090,2091,2092,2093,2094,2095,2096,2097,2098,2099,2072,2069,2043,2068,2044,2045,2046,2047,2048,2049,2035,2030,2028,2029,2016,2013,1996,1997,1998,1999,2e3,2001,2002,2421,1976,1977,1978,2146,1889,1854,1890,1934,1909,1933,1910,1885,1911,1886,1887,1841,2422,1842,1840,1839,1837,1838,-1800,-1808,-1807,-1806,-1779,-1778,-1811,-1810,-1809,-1805,-1831,-1824,-1826,-1825,-1830,-1829,-1828,-1827,-1835,-1858,-1834,-1845,-1844,-1815,-1814,-1781,-1833,-1832,-1823,1845,1846,1847,1848,1871,1872,1873,1874,1875,1876,-1878,1878,1879,1880,1881,1882,1883,1884,1914,1954,1979,1987,1986,1983,1984,1953,1900,1865,1861,1862,1863,1864,1901,1902,1893,1894,1895,1896,1897,1898,2423,2424,1899,1962,1963,1964,1985,1981,2004,2425,2005,2006,1982,2003,2034,2040,2426,2041,2042,2062,2063,2064,2427,2065,2428,2066,2067,2070,2102,2107]]],id:12},{type:"MultiPolygon",arcs:[[[1818]],[[2429,1781]],[[1773]],[[-1758,1758]],[[1745]],[[1746,-1748,1748,1749,1750]],[[1759,1774,1775,1776,1782,2430,2431,2432,1783,1784,1785,1786,1787,1819,1820,1821,1822,1831,1832,1780,1813,1814,1843,1844,1833,1857,1834,1826,1827,1828,1829,1824,1825,1823,1830,-1804,1779,-1769,1767,-1757,-1756,1754,-1736,1733,1730,-1713,1699,-1685,1681,-1664,-1663,1639,-1630,-1629,1617,-1585,1581,1580,-1558,1548,1547,-1545,-1507,-1470,-1469,-1468,-1504,-1503,-1513,-1512,-1510,-1509,-1523,-1522,-1521,-1505,-1537,-1536,-1535,-1534,-1533,-1532,-1571,-1570,-1594,1608,-1622,-1621,-1620,-1628,-1627,-1638,-1637,-1665,1679,-1684,1687,-1689,-1712,-1711,-1710,1751,1752,1753,1744,1760]]],id:13},{type:"Polygon",arcs:[[-417,439,-449,-467,-466,-465,510,-529,544,-577,600,601,-622,-621,-620,671,-682,703,-705,745,746,728,729,730,731,738,739,736,737,734,735,732,733,726,727,724,725,722,723,-706,696,-696,-695,662,663,-641,617,-600,575,-569,520,521,-478,-477,462,-441,438,-410,-391,-394,-393,-407,-406,-405,-412,-411,-409,-408,-396,-395,-399,-398,-397,-404,-403,-402,-401]],id:19},{type:"Polygon",arcs:[[32,-38,63,-151,158,-167,-164,-163,188,-191,-255,-254,-253,-257,-233,336,-343,-342,421,-454,-453,515,539,529,530,508,509,487,419,420,-355,353,-353,-352,333,-301,294,-250,189,192,193,194,-173,-172,168,-161,-160,64,-52,33,34]],id:16},{type:"Polygon",arcs:[[-497,-496,-491,-490,-493,-492,-495,-494,-513,-512,531,-533,577,578,634,-638,686,-694,706,-754,773,774,-833,858,-901,916,-949,-948,-947,961,-1025,-1024,1059,-1064,1106,-1113,-1112,1140,-1146,1179,1180,1181,1182,-1211,1233,1237,1238,1234,1235,1236,-1179,-1178,-1177,-1145,1139,1113,1114,1064,1065,-1027,-1026,-1037,989,990,991,943,920,921,-902,861,862,-856,820,-815,758,759,-746,704,-704,681,-672,619,620,621,-602,-601,576,-545,528,-511,-464]],id:17},{type:"Polygon",arcs:[[-597,-596,-592,-591,-595,628,-639,659,-671,689,690,-712,714,-756,769,-784,-783,850,-857,878,-903,-938,938,939,-965,-964,1019,1020,1021,1022,-1044,1056,1057,1088,1083,1084,1085,1082,1103,1104,1105,1115,1116,1107,1108,1117,1118,1109,1110,1111,1112,-1107,1063,-1060,1023,1024,-962,946,947,948,-917,900,-859,832,-775,-774,753,-707,693,-687,637,-635,-579,-578,-627,-626,-628,-575,-574,-599,-598]],id:18},{type:"Polygon",arcs:[[-791,-799,-798,-797,-794,-793,-800,-788,-787,-786,-785,-790,-789,-795,-796,-773,-772,-809,-808,-813,-812,-811,-814,-838,853,-868,895,-913,-912,-919,-959,-958,978,-1036,1041,-1077,1091,-1124,-1123,1163,1164,-1230,1230,1231,1232,1226,1227,1220,1221,1240,1241,1198,1199,1200,1201,1222,1223,1205,1206,1224,1225,1203,1204,1202,1218,1219,1217,1215,1216,-1168,1157,-1102,-1101,1047,1048,-983,968,-905,-904,851,-782,-792]],id:20},{type:"MultiPolygon",arcs:[[[-936,-935,-943,-942,-941,-951,-950,981,-981,-980,-989,-988,-987,-986,-1035,-1034,1069,1068,-1088,-1087,-1137,-1136,1153,1154,1155,1156,1243,-1248,1268,1296,1297,1291,1292,1294,1295,1288,1289,1327,1328,1300,1351,1352,1301,1302,1335,1336,1255,1256,1257,1248,1249,1269,1369,1370,1298,1299,1365,1366,1372,1373,-1340,-1261,-1260,-1259,1245,-1235,-1239,-1238,-1234,1210,-1183,-1182,-1181,-1180,1145,-1141,-1111,-1110,-1119,-1118,-1109,-1108,-1117,-1116,-1106,-1105,-1104,-1083,-1086,-1085,-1084,-1089,-1058,-1057,1043,-1023,-1022,-1021,-1020,963,964,-940,-939,-937]]],id:21},{type:"MultiPolygon",arcs:[[[1955]],[[1944]],[[1929]],[[1918,1919,1920,1921,1922,1923,2433,1924,1950,1945,1946,1947,1948,1949,1908,1943,1936,1937,1938,2434,1939,1940,2435,1941,2436,2437,1942,1961,1956,1957,1958,1959,1960,1935,1930,1928,1931,-1916,-1908,1888,-1813,-1812,1792,1765,1766,-1764,1738,-1738,1689,1690,1691,-1679,-1648,-1647,-1667,-1666,-1671,-1670,-1678,-1677,-1673,-1659,-1658,-1657,-1693,1693,-1730,-1729,-1728,-1727,1741,1742,1743,1769,1770,-1792,-1791,-1796,-1795,-1794,-1798,-1797,-1799,-1790,-1837,-1836,1851,1852,1912,1925,1926,1913,1927]]],id:22},{type:"MultiPolygon",arcs:[[[672]],[[661]],[[588,564,579,580,581,582,583,546,504,505,506,507,547,548,549,499,500,501,-485,-456,-455,-462,-473,-472,-471,-470,-469,-468,-460,488,2438,502,2439,503,533,545,565,2440,563,589]]],id:25},{type:"MultiPolygon",arcs:[[[944]],[[1078,1079,1080,1095,1096,1094,1060,1046,1045,966,967,1003,1004,945,923,889,890,891,892,924,955,2441,956,953,954,1037,1038,969,970,1049,1067,1066,1050,971,972,928,929,930,893,879,880,881,882,883,884,885,886,887,888,-834,-807,-806,-801,-832,-831,-805,-804,-843,-842,-820,-819,-818,-803,-802,-817,-866,-865,922,-927,-926,965,-1e3,-999,-998,1081]]],id:24},{type:"MultiPolygon",arcs:[[[296]],[[297]],[[377,378,362,338,380,373,376,375,374,412,413,-369,-368,285,286,287,288,264,202,167,263,298,210,335,359,360,361,379]]],id:23},{type:"MultiPolygon",arcs:[[[-150]],[[-149]],[[-99,-98,-97,-96,-95,-94,-93,-92,-91,-90,-89,-88,-87,-86,-630,584,585,592,593,594,590,591,595,596,597,598,573,574,-113,-112,-111,-110,-109,-108,-107,-106,-105,-104,-103,-102,-101,-100]],[[-148]],[[-146,-147]],[[-145,-144]],[[-143]],[[-130,-129,-128,-127,-126,-125,-124,-123,-122,-121,-120,-119,-118,-117,-116,-115,-114,250,251,227,228,229,205,206,207,178,179,180,181,-133,-132,-131]],[[-142,-141,-140,-139,-138,-137,-136]],[[-135]]],id:26},{type:"MultiPolygon",arcs:[[[65,81,152,2149,2148,151,67,68,69,70,71,72,73,74,75,76,77,78,79,80,176,177,208,209,-237,261,-263,292,293,331,-333,339,-341,-348,-347,-346,-349,371,-383,-382,399,400,401,402,403,396,397,398,394,395,407,408,410,411,404,405,406,392,393,390,391,-371,369,343,-331,-330,295,-290,267,-256,248,-197,195,174,-174,165,-162,154,-154,82,83,-45,46,60,2147]]],id:27},{type:"Polygon",arcs:[[-747,-760,-759,814,-821,855,-863,-862,901,-922,-921,-944,-992,-991,-990,1036,1025,1026,-1066,-1065,-1115,-1114,-1140,1144,1176,1177,1178,-1237,-1236,-1246,1258,1259,1260,1339,1340,1341,1342,-1405,1407,1408,1375,1376,1377,1378,1316,1353,1354,1329,1330,1331,1264,1362,1363,1364,1355,1356,1357,1290,1303,1304,1367,1368,-1271,1265,-1231,1229,-1165,-1164,1122,1123,-1092,1076,-1042,1035,-979,957,958,918,911,912,-896,867,-854,837,813,-810,-771,768,-751,-723,-726,-725,-728,-727,-734,-733,-736,-735,-738,-737,-740,-739,-732,-731,-730,-729]],id:29},{type:"MultiPolygon",arcs:[[[-1485,-1542,1543,1542,-1584,1594,-1603,1618,-1626,1644,-1660,1680,-1696,-1695,1732,-1741,-1740,1764,-1773,1788,-1818,-1817,1849,1850,1853,1858,1859,-1852,1835,1836,1789,1798,1796,1797,1793,1794,1795,1790,1791,-1771,-1770,-1744,-1743,-1742,1726,1727,1728,1729,-1694,1692,-1656,-1655,1615,1616,-1576,-1575,1556,-1555,-1477,-1476,-1491,-1490,-1495,-1494,-1480,-1479,-1478,-1496,-1486]]],id:28},{type:"Polygon",arcs:[[40,58,54,41,42,35,30,43,62,-56,61,-67,155,-157,169,-171,185,186,187,237,238,239,257,258,259,246,247,265,266,233,230,231,232,256,252,253,254,190,-189,162,163,166,-159,150,-64,37,-33,38,31]],id:30},{type:"MultiPolygon",arcs:[[[1418,2442,1419]],[[1420]],[[-1306,1388,1422,1389,1390]],[[-1308,1391,-1393,1393]],[[1386,1394,1395,1396,1397,1401,1402,-1396,1403,1410,1411,1385,1398,1416,1437,1436,1449,1421,1450,1448,1440,1447,1505,1488,1513,1487,1527,1523,1524,1525,1526,1545,1546,1571,1572,1595,2443,1596,1597,1598,1599,1600,1601,1592,1549,1550,1551,1537,1519,1514,1515,1516,1461,1462,1486,1458,1459,1456,1457,1491,1492,1464,1480,1481,1482,1460,1504,1520,1521,1522,1508,1509,1510,-1453,-1452,-1440,-1439,-1431,-1430,-1426,-1425,-1410,-1416,-1415,-1414,-1413,-1401,-1400,-1383,-1382,-1381,-1361,-1360,-1359,-1313,-1339,-1338,-1349,-1348,-1254,-1253,-1375,-1252,-1264,-1263,-1262,-1327,-1326,-1325,-1268,-1267,-1322,-1288,-1287,-1286,-1319,-1318,-1347,-1346,-1310,1387]]],id:37},{type:"Polygon",arcs:[[44,-84,-83,153,-155,161,-166,173,-175,-196,196,197,220,221,224,225,222,223,191,204,218,219,226,-187,-186,170,-170,156,-156,66,-62,55,56,57,59,39,36,47,48,45]],id:38},{type:"Polygon",arcs:[[-451,-416,-446,-445,-444,-443,-442,-476,-475,-474,-482,-481,-480,-479,-522,-521,568,-576,599,-618,640,-664,-663,694,695,-697,705,-724,750,-769,770,809,810,811,812,807,808,771,772,795,794,788,789,784,785,786,787,799,792,793,796,797,798,790,791,-781,756,-752,707,708,692,668,669,673,674,-648,639,-515,-514,482,-438,-448,-447,-419,-418,-450]],id:31},{type:"MultiPolygon",arcs:[[[-287,-286,367,368,-414,435,457,458,459,467,468,469,470,471,472,-461,434,-386,356,357,-335,-320,290,291,-288]]],id:33},{type:"MultiPolygon",arcs:[[[905,2444,906,868,-870,870,-872,872,857,854,824,825,-765,-764,-763,749,700,701,-692,680,-658,-656,-655,-684,-683,697,744,721,754,765,779,778,827,828,829,822,823,874,875,876,877,931,907]]],id:34},{type:"Polygon",arcs:[[1275,1276,1277,-1429,1445,1446,-1518,1552,1553,1578,1579,-1639,1649,1650,1651,1652,1653,1696,1697,1698,1673,1674,1675,1685,1686,1731,1700,1701,-1644,-1643,1582,-1275,-1274,-1273,1271,-1171,-1172,-1213,-1212,-1215,-1214,-1167,-1166,-1152,-1151,-1170]],id:35},{type:"Polygon",arcs:[[-510,-609,609,-703,838,839,-910,1051,1052,1053,1054,1349,1350,-1208,962,1077,-1045,976,873,973,974,975,-934,-933,612,613,614,615,-612,-425,-385,-384,-356,-421,-420,-488]],id:32},{type:"MultiPolygon",arcs:[[[757]],[[687]],[[717,718,2445,719,747,752,748,720,688]],[[-318]],[[675,715,740,716,676,660,684,685,682,683,654,655,656,605,606,526,540,541,542,543,566,567,516,517,524,525,522,523,518,519,-316,-315,-314,-313,-312,-311,-310,-309,-308,-307,-306,-305,-304,-317,358,326,327,324,-322,323,-338,349,-364,-389,414,-457,484,-502,-501,586,587,-647,-646,677,678,679]]],id:36},{type:"MultiPolygon",arcs:[[[616,-619,664,-666,698,-700,712,713,-762,766,767,-822,826,-847,859,860,896,897,898,908,-920,960,959,983,984,1031,1032,1033,1034,985,986,987,988,979,980,981,949,950,940,941,942,934,935,936,937,902,-879,856,-851,782,783,-770,755,-715,711,-691,-690,670,-660,638,-629,-594,-593,-586,-585,629,-631,631,-633,633,-562,-561,-560,-559,-558,-557,-556,-555,-554,-553,-552,-551,-563,-573]]],id:39},{type:"Polygon",arcs:[[-1205,-1204,-1226,-1225,-1207,-1206,-1224,-1223,-1202,-1201,-1200,-1199,-1242,-1241,-1222,-1221,-1228,-1227,-1233,-1232,-1266,1270,-1369,1371,-1407,-1418,1426,-1445,1454,-1474,-1473,1496,1497,-1574,1587,1588,1589,1590,1591,1613,1614,1610,1611,1612,1609,1622,1623,1624,1606,1607,1585,1586,1576,1577,1558,1559,1560,1538,1539,1540,-1519,1463,-1456,1431,-1428,1383,1384,1283,1284,1280,1281,1282,1278,1279,-1276,-1169,-1217,-1216,-1218,-1220,-1219,-1203]],id:40},{type:"MultiPolygon",arcs:[[[216,235,-214,234,-241,-213,-212,-246,-245,-244,-243,-242,-184,-183,-201,-200,-199,-185,-204,-193,-190,249,-295,300,-334,351,352,353,354,355,383,384,424,425,422,423,483,497,498,485,486,426,-428,428,429,430,431,432,433,386,387,364,365,366,301,302,260,217]]],id:41},{type:"MultiPolygon",arcs:[[[-519,-524,-523,-526,-525,-518,-517,-568,-567,-544,-543,-542,-541,-527,-607,-606,-657,657,-681,691,-702,-701,-750,762,763,764,-826,836,843,844,866,845,815,816,801,802,817,818,819,841,842,803,804,830,831,800,805,806,833,834,835,848,849,-848,775,776,777,-761,743,-713,699,-699,665,-665,618,-617,572,-528,-520]]],id:42},{type:"MultiPolygon",arcs:[[[641]],[[642,-581]],[[-584,-583,622,604,623,650,-636,624,-604,-603,-505,-547]]],id:44},{type:"MultiPolygon",arcs:[[[1713]],[[1722]],[[1723]],[[2158,2159,1660,2155,2156,2446,2157,1682,1724,1725,1702,2447,1703,2448,1704,1721,1714,1715,1716,1717,1718,1719,1720,1705,1706,1707,1708,1709,1710,1711,1688,-1688,1683,-1680,1664,1636,1637,1626,1627,1619,1620,1621,-1609,1593,1569,1570,1531,1532,1533,1534,1535,1536,-1461,-1483,-1482,-1481,-1465,-1493,-1492,-1458,-1457,-1460,-1459,-1487,-1463,-1462,-1517,-1516,-1515,-1520,-1538,-1552,-1551,-1550,-1593,-1602,1605,1640,1641,2160,2161]]],id:45},{type:"Polygon",arcs:[[-205,-192,-224,-223,-226,-225,-222,-221,-198,-249,255,-268,289,-296,329,330,-344,-370,370,-392,409,-439,440,-463,476,477,478,479,480,481,473,474,475,441,442,443,444,445,415,450,449,417,418,446,447,-437,389,-373,350,344,-329,299,-239,-238,-188,-227,-220,-219]],id:46},{type:"Polygon",arcs:[[-1250,-1249,-1258,-1257,-1256,-1337,-1336,-1303,-1302,-1353,-1352,-1301,-1329,-1328,-1290,-1289,-1296,-1295,-1293,-1292,-1298,-1324,-1323,-1335,-1334,-1333,-1314,-1380,-1316,-1315,-1362,1380,1381,1382,1399,1400,1412,1413,1414,1415,1409,1424,1425,1429,1430,1438,1439,1451,1452,-1511,1511,1512,1502,1503,1467,1468,1469,1506,1507,1500,1501,1498,1499,1470,1471,1466,1465,1483,1484,1485,1495,1477,1478,1479,1493,1494,1489,1490,-1475,1453,-1436,-1435,-1434,-1433,1423,-1408,1404,-1343,-1406,-1341,-1374,-1373,-1367,-1366,-1300,-1299,-1371,-1370,-1270]],id:47},{type:"MultiPolygon",arcs:[[[2449,2078,2075,2076,2077,2450,2451]],[[2051,2052,2053,2054]],[[2055,2056,2036,2452,2037,2057]],[[2031]],[[2017]],[[2007,2453,2008]],[[1971]],[[1972,1975,1993,1992,2454,1988,2012,2010,2011,1989,1990,2455,1991,1994,2009,2014,2022,2456,2457,2458,2023,2021,2015,2018,2025,2020,2019,2026,2459,2027,2033,2032,2038,2039,2060,2061,2058,2059,2082,2079,2080,2081,2101,2100,2074,2073,2050,2024,1995,1970,1891,1856,1855,1860,1761,1762,-1686,-1676,-1675,-1674,-1699,-1698,-1697,-1654,-1653,-1652,-1651,-1650,1638,-1580,-1579,-1554,-1553,1517,-1447,-1446,1428,-1278,-1277,-1280,-1279,-1283,-1282,-1281,-1285,-1284,-1385,-1384,1427,-1432,1455,-1464,1518,-1541,1539,-1539,-1561,-1560,-1559,-1578,-1577,-1587,-1586,-1608,-1607,-1625,-1624,-1623,-1610,-1613,-1612,-1611,-1615,-1614,-1592,-1591,-1631,1645,-1649,1678,-1692,-1691,-1690,1737,-1739,1763,-1767,-1766,-1793,1811,1812,-1889,1907,1915,1916,1951,1974,1952,1917,1973]]],id:48},{type:"Polygon",arcs:[[-452,607,-659,-572,-571,-711,-710,741,742,-841,915,-1056,1070,1071,1072,1073,1074,1075,1193,1194,1175,-1054,-1053,-1052,909,-840,-839,702,-610,608,-509,-531,-530,-540,-516]],id:49},{type:"MultiPolygon",arcs:[[[1124,1125,1126,1189,1190,1127,1128,1129,-1080,1130]],[[1147,1120,1097,1089,1119,1152,1183,1195,1184,1137,1141,1142,1172,1173,1174,1209,2460,1228,2461,2462,1254,1246,1208,1196,1160,1188,2463,1239,1244,1250,1319,2464,1343,2465,2466,1344,1310,1293,1311,1305,1306,1307,1308,1309,1345,1346,1317,1318,1285,1286,1287,1321,1266,1267,1324,1325,1326,1261,1262,1263,1251,1374,1252,1253,1347,1348,1337,1338,1312,1358,1359,1360,1361,1314,1315,1379,1313,1332,1333,1334,1322,1323,-1297,-1269,1247,-1244,-1157,-1156,-1155,-1154,-1135,-1193,-1192,-1188,-1187,-1186,-1147,-1160,-1159,1138,-1103,1099,-1041,-1040,-1003,-1002,-1001,-953,-952,917,-911,-895,-900,-915,-914,-880,-894,-931,-930,-994,1018,-1007,1007,1008,1009,1010,-1012,1012,1013,1014,1015,1016,1017,2467,2468,977,1005,1058,1090,1098,1133,1131,1132,1148]]],id:51},{type:"Polygon",arcs:[[325,320,-291,319,334,-358,-357,385,-435,460,461,454,455,456,-415,388,363,-350,337,-324,321,322,318]],id:50},{type:"MultiPolygon",arcs:[[[-29]],[[-28]],[[-27]],[[-26]],[[-23]],[[-24]],[[-25]],[[-22,-21,29,49,53,50,52,-34,51,-65,159,160,-169,171,172,-195,-194,203,184,198,199,200,182,183,241,242,243,244,245,211,212,240,-235,213,214,215,175,164,157,84,-20,-19,-18,-17,-16,-15,-14,-13,-12,-11,-10,-9,-8,-7,-6,-5,-4,2,-2,-1]]],id:53},{type:"MultiPolygon",arcs:[[[-285]],[[-2155]],[[-2154,201,-134,-182,-181,-180,-179,-208,-207,-206,-230,228,-228,-252,-284,-283,-282,-281,-280,-279,-278,-277,-276,-275,-274,-273,-272,-271,-270,-269,511,512,493,494,491,492,489,490,495,496,463,464,465,466,448,-440,416,-400,381,382,-372,348,345,346,347,340,-340,332,-332,-294,-293,262,-262,236,-210,-209,-178,-177,-81,2150,2151,2152]]],id:55},{type:"Polygon",arcs:[[760,-778,-777,-776,847,-850,-849,-836,-835,-889,-888,-887,-886,-885,-884,-883,-882,-881,913,914,899,894,910,-918,951,952,1e3,1001,1002,1039,1040,-1100,1102,-1139,1158,1159,1146,1185,1186,1187,1191,1192,1134,1135,1136,1086,1087,1068,-1070,-1033,-1032,-985,-984,-960,-961,919,-909,-899,-898,-897,-861,-860,846,-827,821,-768,-767,761,-714,-744]],id:54},{type:"Polygon",arcs:[[-266,-248,-247,-260,-259,-258,-240,-300,328,-345,-351,372,-390,436,437,-483,513,514,-640,647,648,649,537,538,534,535,536,569,570,571,658,-608,451,452,453,-422,341,342,-337,-232,-231,-234,-267]],id:56},{type:"MultiPolygon",arcs:[[[2392]],[[2382]],[[2381]]],id:78}]}},arcs:[[[15739,57220],[76,-211]],[[15815,57009],[-6,-86]],[[15809,56923],[0,0]],[[15809,56923],[2,-40]],[[15811,56883],[0,-840]],[[15811,56043],[14,-387]],[[15825,55656],[-2,1]],[[15823,55657],[-19,-466]],[[15804,55191],[-77,-416]],[[15727,54775],[-105,3]],[[15622,54778],[67,428]],[[15689,55206],[0,16]],[[15689,55222],[9,41]],[[15698,55263],[46,83]],[[15744,55346],[3,0]],[[15747,55346],[21,-2]],[[15768,55344],[7,949],[-138,-730]],[[15637,55563],[9,159]],[[15646,55722],[52,899],[-35,-44]],[[15663,56577],[-309,205],[-193,385]],[[15711,58322],[59,-420],[15,-244]],[[15785,57658],[-46,-438]],[[15675,57235],[0,0]],[[15644,57453],[0,0]],[[15674,57553],[0,0]],[[15815,56278],[-62,564],[-45,21],[107,-585]],[[15777,55663],[0,0]],[[15782,55209],[0,0]],[[15677,54897],[0,0]],[[15711,58322],[530,-4]],[[20051,58318],[297,-2]],[[17947,58319],[184,-3]],[[17580,58319],[0,-929]],[[17304,58032],[0,284]],[[17304,58316],[276,3]],[[19756,58316],[295,2]],[[21999,58316],[184,0]],[[17579,56857],[1,533]],[[17580,58319],[367,0]],[[21634,58316],[365,0]],[[18131,58316],[523,-1]],[[19058,58315],[349,3]],[[19407,58318],[349,-2]],[[20348,58316],[294,0]],[[22823,58319],[19,-852]],[[22622,58319],[201,0]],[[22823,58319],[229,-1]],[[22183,58316],[147,2]],[[22330,58318],[292,1]],[[16241,58318],[562,0]],[[16981,58318],[213,1]],[[17304,58032],[-1,-1491]],[[17194,58319],[110,-3]],[[16803,58318],[178,0]],[[18911,58313],[147,2]],[[20923,57637],[0,681]],[[20923,58318],[308,-2]],[[21231,58316],[257,0]],[[18654,58315],[257,-2]],[[21488,58316],[146,0]],[[23052,58318],[302,-2]],[[20923,57637],[0,-456]],[[20642,58316],[281,2]],[[17579,56857],[0,-441]],[[17303,56413],[0,128]],[[23603,57761],[177,-344],[197,208]],[[20924,56449],[-1,732]],[[24337,54483],[-77,-352]],[[24260,54131],[15,-81]],[[24275,54050],[0,-1]],[[24275,54049],[-15,82]],[[24260,54131],[-8,0]],[[24252,54131],[-1,0]],[[24251,54131],[-18,-59]],[[24233,54072],[-1,0]],[[24232,54072],[-8,-20]],[[24224,54052],[0,-4]],[[24224,54048],[-1,-71]],[[24223,53977],[0,-16]],[[24223,53961],[0,1]],[[24223,53962],[-25,6]],[[23977,57625],[161,-336],[126,-164],[72,-292]],[[22846,56780],[1,35]],[[22847,56815],[-5,652]],[[15194,56234],[-33,933]],[[26653,44788],[79,561]],[[26732,45349],[91,777]],[[26823,46126],[46,438]],[[26869,46564],[57,898]],[[26926,47462],[-29,971]],[[26897,48433],[-130,578],[-110,-508]],[[26657,48503],[-65,-257]],[[26592,48246],[-58,597]],[[26534,48843],[96,470]],[[26630,49313],[68,649]],[[26698,49962],[0,646]],[[26698,50608],[-19,649]],[[26679,51257],[-202,558],[-25,222]],[[26452,52037],[-147,301]],[[26305,52338],[-54,-681],[-48,-105]],[[26203,51552],[-81,-294]],[[26122,51258],[-15,-648]],[[26107,50610],[-42,-169],[-14,12]],[[26051,50453],[-46,322],[-74,-316]],[[25931,50459],[-45,-485]],[[25886,49974],[-43,-632]],[[25843,49342],[-12,-669]],[[25831,48673],[-8,-647]],[[25823,48026],[53,-658]],[[25876,47368],[17,-653]],[[25893,46715],[-18,-648]],[[25875,46067],[-25,-328]],[[25850,45739],[-128,-899]],[[25508,51049],[91,846]],[[25599,51895],[83,221],[69,-1],[72,166]],[[25823,52281],[149,314],[17,79]],[[25989,52674],[236,82],[219,-51]],[[26444,52705],[5,0]],[[26449,52705],[28,-6]],[[26477,52699],[-31,339],[-19,564]],[[26427,53602],[-2,11]],[[26425,53613],[-2,9]],[[26423,53622],[-136,-59],[-123,575]],[[26164,54138],[-175,-122]],[[25989,54016],[-258,-395],[-91,33]],[[25640,53654],[-217,770],[-41,6]],[[25382,54430],[-114,50]],[[25268,54480],[5,96]],[[25273,54576],[-51,389]],[[25222,54965],[-2,47]],[[25220,55012],[-86,-359]],[[25134,54653],[-239,-397],[-27,-98]],[[24868,54158],[-147,-373]],[[24721,53785],[0,1]],[[25213,56702],[-143,-575],[206,676],[-63,-101]],[[25436,55477],[-184,-350]],[[25252,55127],[-1,0]],[[25251,55127],[-31,-115]],[[25220,55012],[2,-47]],[[25222,54965],[51,-389]],[[25273,54576],[58,390]],[[25331,54966],[105,511]],[[25764,53572],[0,0]],[[26475,53363],[-40,289]],[[26435,53652],[40,-289]],[[26551,52665],[78,-77]],[[26629,52588],[-29,210],[-49,-133]],[[26392,52213],[0,0]],[[26073,51936],[-17,22],[17,-22]],[[25950,50972],[0,0]],[[17697,55487],[-57,512],[-61,417]],[[24552,55460],[-215,-977]],[[24336,56833],[153,-220],[60,196]],[[22846,56780],[70,-930]],[[22927,55525],[-11,325]],[[20924,56449],[0,-1115]],[[20924,55209],[0,125]],[[15266,55588],[-72,646]],[[17697,55487],[86,-415],[100,-602]],[[17303,56413],[0,-1137]],[[17303,55276],[0,-200]],[[22927,55525],[6,-488]],[[18058,53962],[-73,-49]],[[17985,53913],[-23,192]],[[15337,54211],[-14,442],[-57,935]],[[22931,54875],[2,162]],[[17962,54105],[-79,365]],[[30403,53801],[271,1268],[194,191],[159,-2633],[-8,-489]],[[17303,54831],[0,245]],[[20924,55209],[0,-1283]],[[20924,53739],[0,187]],[[17303,54831],[0,-1090]],[[17303,53741],[0,-214]],[[22931,54875],[12,-968]],[[22947,53906],[-4,1]],[[15440,53274],[-83,542],[19,54],[-39,341]],[[24198,53968],[0,0]],[[24198,53968],[0,-459]],[[25118,52914],[-261,377]],[[24857,53291],[0,-23]],[[24857,53268],[0,23]],[[24857,53291],[-136,494]],[[16761,52732],[-124,-152]],[[16637,52580],[-121,-153]],[[17181,52729],[-34,2]],[[20924,53739],[0,-486]],[[20924,53253],[0,-622]],[[20924,52631],[0,-118]],[[18058,53962],[-46,-1769],[-19,-284]],[[17402,51370],[-31,1094]],[[18168,52166],[-175,-257]],[[22084,52624],[-177,4]],[[17371,52464],[-33,259]],[[17338,52723],[-35,803]],[[17303,53526],[0,1]],[[23005,52773],[-58,1133]],[[23005,52773],[3,-161]],[[23008,52612],[-185,0]],[[17147,52731],[-105,3]],[[17042,52734],[-5,0]],[[17037,52734],[-276,-2]],[[24684,53819],[37,-33]],[[30255,52113],[66,658],[72,735],[10,295]],[[17338,52723],[-157,6]],[[21907,52628],[-413,2]],[[25362,52586],[-158,173]],[[25204,52759],[-70,110]],[[25134,52869],[-16,45]],[[24198,53509],[0,-483]],[[24198,53026],[-153,-797]],[[30740,50284],[-1,-3]],[[16055,52220],[-113,-140]],[[15942,52080],[-90,-189]],[[15703,52455],[-119,599]],[[15584,53054],[0,6]],[[15584,53060],[-144,214]],[[15457,53056],[84,-60]],[[15374,52329],[56,784],[27,-57]],[[21494,52630],[-263,0]],[[21231,52630],[-15,1]],[[22823,52612],[-209,1]],[[22614,52613],[-8,0]],[[22328,52621],[-200,1]],[[22128,52622],[-44,2]],[[22606,52613],[-200,6]],[[22406,52619],[-78,2]],[[21216,52631],[-292,0]],[[25437,52216],[-59,108]],[[25378,52324],[0,0]],[[25378,52324],[-16,262]],[[18974,50874],[-4,-624]],[[18970,50250],[3,-359]],[[18973,49891],[-92,518]],[[19321,50875],[-347,-1]],[[15703,52455],[5,-229]],[[15541,52996],[43,58]],[[24033,52070],[12,159]],[[20924,52513],[1,-1246]],[[20925,51267],[-5,-401]],[[20920,50866],[-273,6]],[[15852,51891],[-144,335]],[[16516,52427],[-37,-43]],[[16479,52384],[-183,-140]],[[16296,52244],[-72,-179]],[[16224,52065],[-148,104]],[[16076,52169],[-21,51]],[[20306,50859],[-459,15]],[[19847,50874],[-94,-4]],[[22933,51962],[75,650]],[[17402,51370],[-27,-352]],[[25508,51049],[-7,11]],[[25501,51060],[-49,749],[-15,407]],[[18855,50330],[-41,-296]],[[18814,50034],[-178,38],[-146,-160],[-10,-203]],[[18480,49709],[-120,831],[-124,821],[-68,805]],[[22933,51962],[101,-484]],[[18881,50409],[-26,-79]],[[20647,50872],[-14,0]],[[20633,50872],[-261,-13]],[[20372,50859],[-66,0]],[[15364,50954],[10,1375]],[[24033,52070],[39,-648]],[[24069,51261],[3,161]],[[31019,52138],[91,-726],[120,-670],[-31,-498],[-109,-43],[-77,-103],[-44,-154]],[[30177,51386],[78,727]],[[19753,50870],[-104,2]],[[19649,50872],[-328,3]],[[23039,51371],[-5,107]],[[25449,46203],[-1,327]],[[25448,46530],[-6,323]],[[25442,46853],[-18,652]],[[25424,47505],[28,654]],[[25452,48159],[17,650]],[[25469,48809],[52,810]],[[25521,49619],[47,647]],[[25568,50266],[83,717],[-149,-417],[-34,-297]],[[25468,50269],[-8,-60]],[[25460,50209],[-64,54]],[[25396,50263],[0,8]],[[25396,50271],[1,0]],[[25397,50271],[-1,-8]],[[25396,50263],[1,8]],[[25397,50271],[63,537]],[[25460,50808],[41,252]],[[25708,51489],[0,0]],[[30134,48619],[0,5]],[[30134,48624],[-6,915]],[[30128,49539],[-21,1901]],[[30107,51440],[70,-54]],[[23039,51371],[0,-542]],[[29918,49765],[75,942],[-2,189]],[[29991,50896],[116,544]],[[24069,51261],[-4,-647]],[[24065,50614],[-9,-214]],[[17343,50573],[32,445]],[[23040,50510],[-1,319]],[[30776,49283],[0,0]],[[30872,49423],[46,197],[-46,-197]],[[30969,49944],[-58,33],[-102,-223],[-72,16],[3,514]],[[20921,50072],[-1,794]],[[17343,50573],[-90,-1002]],[[15331,49524],[33,1430]],[[15364,50954],[0,0]],[[28659,49030],[-5,-322],[28,-294]],[[28682,48414],[2,-1]],[[28684,48413],[3,-1]],[[28687,48412],[-121,-487]],[[28566,47925],[-30,-143]],[[28536,47782],[0,-9]],[[28536,47773],[-182,-111]],[[28354,47662],[-172,165]],[[28182,47827],[-131,11]],[[28051,47838],[-117,-646]],[[27934,47192],[-70,-846]],[[27864,46346],[0,-2]],[[27864,46344],[-175,-557]],[[28626,49219],[33,-189]],[[27913,47070],[0,0]],[[29520,50896],[178,-10]],[[29918,49765],[-21,-108]],[[29881,50886],[110,10]],[[29473,50059],[5,832]],[[29478,50891],[42,5]],[[29473,50059],[6,-31]],[[29287,50863],[191,28]],[[29698,50886],[183,0]],[[28776,49760],[316,1101]],[[29092,50861],[195,2]],[[20921,50072],[0,-727]],[[23040,50510],[0,-325]],[[23040,50185],[-1,-164]],[[24056,50400],[20,-61]],[[24192,50016],[-116,323]],[[17343,49292],[-90,279]],[[29897,49657],[-56,-357]],[[30739,50281],[-59,-807]],[[18973,49891],[0,-912]],[[29486,49501],[-7,527]],[[30477,49268],[-1,0]],[[24192,50016],[19,-161]],[[24256,49769],[-45,86]],[[18974,47736],[0,344]],[[18974,48080],[-1,899]],[[23039,49376],[0,645]],[[20921,49271],[0,74]],[[24403,49057],[-84,312]],[[24319,49369],[-62,399]],[[24257,49768],[-1,1]],[[24440,48980],[-37,77]],[[29486,49501],[-18,-849]],[[20921,48737],[0,534]],[[17343,49292],[-24,-506]],[[17319,48786],[-12,-371]],[[17307,48415],[0,0]],[[17307,48415],[0,-3129]],[[17307,45286],[-326,-6]],[[29760,48265],[35,318]],[[29795,48583],[46,717]],[[28626,49219],[150,541]],[[30680,49474],[-91,-436]],[[30589,49038],[-83,-425],[-6,346]],[[30500,48959],[-14,-60]],[[30463,49054],[14,214]],[[29472,48550],[-4,102]],[[15319,48755],[29,203]],[[15348,48958],[0,7]],[[15348,48965],[-17,559]],[[30134,48619],[0,0]],[[30134,48619],[7,-464]],[[23039,48729],[0,647]],[[23039,48729],[0,0]],[[24440,48980],[39,-255]],[[20921,48737],[0,-652]],[[30431,48860],[16,54]],[[30443,48813],[-88,-234],[-44,-434]],[[30446,48583],[-3,230]],[[30447,48914],[-1,-331]],[[30474,48571],[-3,0]],[[30471,48571],[-8,483]],[[30486,48899],[-12,-328]],[[30476,49268],[-45,-408]],[[24487,48499],[0,4]],[[24487,48503],[-8,222]],[[16981,45280],[-314,-6]],[[16667,45274],[-10,0]],[[29760,48265],[-29,-683]],[[15304,48284],[27,234]],[[15331,48518],[-12,237]],[[29502,47734],[-48,596],[18,220]],[[20921,48037],[0,48]],[[23151,48079],[-112,0]],[[23039,48079],[0,650]],[[23317,48080],[-113,-1]],[[23204,48079],[-53,0]],[[23988,48077],[-125,0]],[[23863,48077],[-43,0]],[[24155,48079],[-30,0]],[[24125,48079],[-131,-2]],[[23994,48077],[-6,0]],[[24487,48499],[11,-419]],[[24498,48080],[-110,0]],[[24388,48080],[-33,0]],[[24355,48080],[-97,0]],[[24258,48080],[-103,-1]],[[23484,48080],[-16,-1]],[[23468,48079],[-132,0]],[[23336,48079],[-19,1]],[[23820,48077],[-89,0]],[[23731,48077],[-77,2]],[[23039,48079],[-40,0]],[[23654,48079],[-55,0]],[[23599,48079],[-115,1]],[[30311,48145],[-62,-584],[-71,-163]],[[30178,47398],[-37,757]],[[29502,47734],[-5,-691]],[[22181,47144],[-185,1]],[[24501,47934],[-3,146]],[[21471,47147],[-198,1]],[[21273,47148],[-58,0]],[[17861,45279],[-551,4]],[[17310,45283],[-3,3]],[[18974,47736],[0,-551]],[[16234,45274],[-158,6]],[[16076,45280],[-235,21]],[[16657,45274],[-178,3]],[[16479,45277],[-245,-3]],[[15231,47064],[86,757]],[[15317,47824],[0,-3]],[[15317,47824],[1,12]],[[15318,47836],[0,3]],[[15318,47839],[0,2]],[[15318,47841],[-1,7]],[[15317,47848],[-1,9]],[[15316,47857],[-12,427]],[[29726,47448],[5,134]],[[30178,47398],[-16,-97]],[[20921,48037],[1,-881]],[[20922,47156],[0,-732]],[[23011,47630],[-12,449]],[[24501,47934],[8,-637]],[[23011,47630],[28,-327]],[[22566,46849],[0,-2]],[[22566,46847],[-44,82]],[[22522,46929],[-53,216]],[[22469,47145],[-211,-1]],[[22258,47144],[-77,0]],[[21215,47148],[-140,0]],[[21075,47148],[-153,8]],[[24515,47126],[-6,171]],[[21709,47144],[-238,3]],[[21996,47145],[-287,-1]],[[18974,44503],[-1,786]],[[18973,45289],[0,952]],[[18973,46241],[1,944]],[[29593,46662],[-26,3]],[[29567,46665],[-67,9]],[[29500,46674],[-3,369]],[[30162,47301],[-1,1]],[[30161,47302],[20,-393]],[[30181,46909],[-119,-241]],[[29726,47448],[-2,-809]],[[29724,46639],[-131,23]],[[23015,46978],[24,325]],[[24718,46230],[-60,2]],[[24658,46232],[-72,310]],[[24586,46542],[0,1]],[[24586,46543],[-71,583]],[[30062,46668],[-3,-12]],[[30059,46656],[0,-3]],[[30059,46653],[-179,-42]],[[29880,46611],[-8,1]],[[29872,46612],[-99,17]],[[29773,46629],[-49,10]],[[22842,46775],[-90,93]],[[22752,46868],[-42,3]],[[22710,46871],[-144,-22]],[[23015,46978],[11,-649]],[[23026,46329],[15,-131]],[[23041,46198],[-52,64]],[[22989,46262],[-48,335]],[[22941,46597],[-59,107]],[[22882,46704],[-40,71]],[[20922,45289],[0,1135]],[[15841,45301],[-262,-9]],[[29500,46674],[-25,-438]],[[15414,45277],[-109,6]],[[15305,45283],[-98,1555],[24,226]],[[18072,45274],[-211,5]],[[30181,46909],[34,-547],[-80,-272]],[[25014,46217],[-10,1]],[[25004,46218],[-122,10]],[[25178,46202],[-46,6]],[[25132,46208],[-118,9]],[[25309,46207],[-112,-2]],[[25197,46205],[-19,-3]],[[24882,46228],[-24,0]],[[24858,46228],[-140,2]],[[15579,45292],[-81,-4]],[[15498,45288],[-84,-11]],[[29558,45360],[-120,19]],[[29438,45379],[-3,0]],[[29435,45379],[40,857]],[[30117,46018],[-7,-5]],[[30113,45974],[-1,-1]],[[29992,45318],[-85,-17]],[[29907,45301],[-84,39]],[[29823,45340],[-9,2]],[[29814,45342],[0,1]],[[18429,45283],[-290,-9]],[[18139,45274],[-67,0]],[[24658,46232],[47,-237]],[[25449,46203],[-110,5]],[[25339,46208],[-30,-1]],[[20922,45289],[0,-565]],[[20922,44724],[0,-249]],[[18973,45289],[-128,-4]],[[28468,45286],[-179,0]],[[28289,45286],[-39,-6]],[[27885,45286],[-153,-6]],[[27732,45280],[-43,507]],[[23066,45686],[0,115]],[[23066,45801],[-25,397]],[[28095,45286],[-171,-6]],[[27924,45280],[-39,6]],[[28250,45280],[-127,6]],[[28123,45286],[-28,0]],[[28977,45011],[-62,275]],[[27689,45787],[-211,-543]],[[24748,45647],[-43,348]],[[18677,45280],[-16,2]],[[18661,45282],[-232,1]],[[25449,46203],[12,-634]],[[25526,44741],[-65,828]],[[30112,45973],[7,-161]],[[20290,43422],[-150,6]],[[20140,43428],[-128,2]],[[20012,43430],[-167,-2]],[[20581,43421],[-255,0]],[[20326,43421],[-36,1]],[[18845,45285],[-168,-5]],[[28915,45286],[-33,-3]],[[28882,45283],[-174,3]],[[28708,45286],[-11,0]],[[28697,45286],[-115,0]],[[24748,45647],[46,-301]],[[30119,45812],[31,-65]],[[30024,45258],[-32,60]],[[29814,45343],[-104,6]],[[29710,45349],[-139,9]],[[29571,45358],[-13,2]],[[27344,45012],[-136,-412]],[[27208,44600],[-133,-235]],[[27075,44365],[-106,-146]],[[26969,44219],[-154,7]],[[26815,44226],[-45,50]],[[26770,44276],[1,0]],[[26771,44276],[5,0]],[[26776,44276],[63,197]],[[26839,44473],[0,0]],[[26839,44473],[-1,11]],[[26838,44484],[-97,101]],[[26741,44585],[-80,204]],[[27478,45244],[-134,-232]],[[30191,45733],[68,-801]],[[30236,44813],[-62,-218]],[[30150,45747],[29,31]],[[28582,45286],[-103,0]],[[28479,45286],[-11,0]],[[23066,45686],[23,-312]],[[19845,43428],[-316,-3]],[[19529,43425],[-264,-6]],[[19265,43419],[-14,0]],[[27478,45006],[0,238]],[[25888,44840],[-83,-1]],[[25805,44839],[-83,1]],[[23127,45036],[-38,338]],[[24795,45154],[-1,192]],[[25526,44741],[0,0]],[[25526,44741],[0,-448]],[[30174,44595],[-77,-245]],[[30097,44350],[-21,331]],[[30076,44681],[-9,71]],[[30067,44752],[-25,117]],[[30042,44869],[-18,389]],[[26575,44771],[-33,-6]],[[26542,44765],[-134,-25]],[[29438,45379],[-9,-713]],[[29429,44666],[-3,-261]],[[30299,44585],[-63,228]],[[30259,44932],[123,420],[-83,-767]],[[26279,44839],[-104,0]],[[26175,44839],[-26,0]],[[26408,44740],[-11,-2]],[[26397,44738],[-113,-18]],[[26284,44720],[-5,119]],[[26149,44839],[-103,-1]],[[26046,44838],[-35,0]],[[26011,44838],[-77,2]],[[25934,44840],[-46,0]],[[23127,45036],[4,-340]],[[24795,45154],[-26,-273]],[[24769,44881],[-20,-101]],[[29907,45301],[4,-528]],[[29911,44773],[0,-157]],[[30033,44826],[-12,21]],[[29085,44214],[-88,331]],[[28997,44545],[-20,466]],[[18974,44503],[-1,-610]],[[18139,43424],[0,1850]],[[18139,43424],[-2,-1644]],[[15345,44290],[-40,993]],[[16479,45277],[0,-1510]],[[16478,40009],[-1,280]],[[16477,40289],[1,246]],[[16478,40535],[1,510]],[[16479,41045],[0,2722]],[[27478,45006],[0,-652]],[[23166,44368],[-35,328]],[[27478,44335],[0,19]],[[24538,44044],[0,2]],[[24538,44046],[80,222]],[[24618,44268],[131,512]],[[30067,44752],[-34,74]],[[30021,44847],[-10,-211]],[[29911,44536],[0,80]],[[25692,44746],[-81,-160]],[[25611,44586],[-85,155]],[[25722,44840],[-30,-94]],[[26284,44720],[0,-309]],[[26575,44771],[78,17]],[[26653,44788],[0,0]],[[26653,44788],[3,0]],[[26658,44788],[-2,0]],[[26658,44788],[3,1]],[[25526,44293],[0,-314]],[[29911,44536],[-17,-498]],[[29894,44038],[-162,175]],[[25526,43734],[0,245]],[[26285,44217],[-1,194]],[[20922,44156],[0,319]],[[23166,44368],[17,-216]],[[30040,44368],[0,0]],[[30097,44350],[-21,331]],[[29543,43856],[-153,-449]],[[29390,43407],[0,3]],[[29390,43410],[32,697]],[[29422,44107],[4,298]],[[20922,44156],[0,-729]],[[20922,43427],[-248,-6]],[[20674,43421],[-93,0]],[[30011,44636],[-117,-598]],[[29732,44213],[-34,-300]],[[29698,43913],[2,-6]],[[29702,43899],[-159,-43]],[[29230,43692],[-37,105]],[[29193,43797],[-93,288]],[[29100,44085],[-15,129]],[[29100,44085],[-82,-489]],[[19251,43419],[-278,474]],[[26285,44217],[0,-289]],[[29300,44024],[-1,-1]],[[30193,43985],[9,62],[-9,-62]],[[23199,43722],[-12,57]],[[23187,43779],[-4,373]],[[27478,44335],[0,-663]],[[27478,43656],[0,16]],[[15357,41565],[-69,1300],[33,203]],[[15321,43068],[14,782],[10,440]],[[21321,43428],[-10,0]],[[21311,43428],[-202,0]],[[26285,43895],[0,33]],[[24538,44044],[35,-485]],[[30405,43867],[0,0]],[[21109,43428],[-54,0]],[[21055,43428],[-133,-1]],[[29390,43379],[-38,-171]],[[29320,43267],[-20,757]],[[29390,43410],[0,-3]],[[29390,43407],[-1,-24]],[[29389,43383],[1,-4]],[[29025,43600],[-7,-4]],[[24573,43556],[0,3]],[[29322,43422],[-87,253]],[[29235,43675],[-5,17]],[[29299,44023],[0,-1]],[[29299,44022],[23,-600]],[[25526,43734],[0,-291]],[[29776,43471],[0,0]],[[29444,43163],[68,89],[252,435],[-14,-266],[137,101],[-239,-447],[-193,-288]],[[26285,43895],[0,-491]],[[26285,43404],[0,-125]],[[29025,43600],[-42,-235]],[[21479,43428],[-158,0]],[[25526,42935],[0,508]],[[23199,43722],[-1,-193]],[[23198,43529],[1,-6]],[[23217,43240],[-18,283]],[[29322,43422],[-25,-368]],[[27478,43656],[0,-419]],[[27479,43148],[-1,89]],[[28963,42664],[-2,31]],[[28961,42695],[22,670]],[[18137,41388],[0,392]],[[24573,43556],[-46,-697]],[[24506,42749],[21,110]],[[23217,43240],[-5,-218]],[[25526,42935],[0,-458]],[[21479,42861],[0,96]],[[21479,42957],[0,471]],[[19529,41977],[0,803]],[[19529,42780],[0,645]],[[26285,42918],[0,361]],[[27479,43148],[-1,-396]],[[27478,42752],[-41,-105]],[[26285,42918],[0,-290]],[[29352,43208],[-35,-161]],[[29316,43199],[4,68]],[[29455,42787],[-70,-74]],[[29385,42713],[-17,-43]],[[29360,42716],[6,33]],[[29365,43014],[79,149]],[[29262,42930],[-12,-89]],[[23340,42643],[-109,9]],[[23231,42652],[-19,370]],[[23468,42633],[-80,7]],[[23388,42640],[-48,3]],[[23591,42624],[-44,2]],[[23547,42626],[-79,7]],[[24359,42677],[-63,14]],[[24296,42691],[-66,-11]],[[24230,42680],[-48,-6]],[[24182,42674],[-80,-11]],[[23718,42631],[-60,-4]],[[23658,42627],[-67,-3]],[[23846,42643],[-61,-5]],[[23785,42638],[-67,-7]],[[23974,42650],[-77,-7]],[[23897,42643],[-51,0]],[[24102,42663],[-21,-3]],[[24081,42660],[-107,-10]],[[29317,43047],[-1,152]],[[19529,41977],[0,-1046]],[[19529,40931],[0,-303]],[[27478,42451],[0,301]],[[29297,43054],[-35,-124]],[[24506,42749],[-64,-483]],[[24442,42266],[-83,411]],[[29366,42749],[-31,25]],[[29306,42935],[59,79]],[[29032,42198],[-69,466]],[[23231,42652],[15,-115]],[[21479,42861],[0,-479]],[[29335,42774],[-29,161]],[[25526,42451],[0,26]],[[29250,42841],[-13,-170]],[[26285,42220],[0,408]],[[21479,42213],[0,169]],[[29225,42487],[0,0]],[[24418,41936],[2,89]],[[24420,42025],[22,241]],[[27478,42451],[1,-146]],[[27448,42299],[-11,348]],[[29032,42198],[61,-361]],[[29093,41837],[0,-1]],[[29093,41836],[-71,-183]],[[29237,42671],[-4,-268]],[[27448,42299],[-15,-391]],[[27433,41908],[-6,-53]],[[23289,42055],[-43,482]],[[26285,42220],[0,-80]],[[23289,42055],[1,-6]],[[23036,41565],[-95,1]],[[22941,41566],[-31,0]],[[25526,42451],[-1,-613]],[[25525,41838],[-1,-493]],[[27478,41492],[1,101]],[[27479,41593],[-1,267]],[[27478,41860],[1,445]],[[29271,41744],[-3,49]],[[29233,42403],[38,-659]],[[21479,42213],[0,-644]],[[21479,41569],[1,-799]],[[26282,41408],[1,164]],[[26283,41572],[2,568]],[[22532,41568],[-64,-1]],[[22468,41567],[-62,0]],[[22406,41567],[-95,0]],[[22311,41567],[-31,0]],[[22658,41567],[-31,0]],[[22627,41567],[-95,1]],[[21682,41568],[-24,-1]],[[21658,41567],[-179,2]],[[22155,41566],[-154,0]],[[22001,41566],[-4,0]],[[22784,41566],[-126,1]],[[22910,41566],[-126,0]],[[21997,41566],[-152,1]],[[21845,41567],[-5,0]],[[21840,41567],[-158,1]],[[22280,41567],[-125,-1]],[[28074,41045],[-119,2]],[[28700,41044],[-28,0]],[[28672,41044],[-1,0]],[[28331,41041],[-3,1]],[[28328,41042],[-175,3]],[[27955,41047],[-34,0]],[[27921,41047],[-129,-3]],[[23162,41564],[-63,0]],[[23099,41564],[-63,1]],[[23290,42049],[67,-486]],[[23357,41563],[-8,0]],[[23349,41563],[-125,1]],[[23224,41564],[-62,0]],[[23446,41373],[-89,190]],[[24418,41936],[19,-475]],[[28850,41260],[-54,-215]],[[28796,41045],[-96,-1]],[[28671,41044],[-92,0]],[[28579,41044],[-61,-2]],[[28518,41042],[-59,0]],[[24456,41114],[-19,347]],[[27419,41625],[8,230]],[[29179,40745],[0,-4]],[[29179,40741],[-1,-2]],[[29001,41545],[-1,5]],[[29e3,41550],[22,103]],[[27419,41625],[-25,-344]],[[29268,41793],[3,-49]],[[29271,41744],[-71,-994],[-21,-9]],[[29179,40741],[0,4]],[[28153,41045],[-68,0]],[[28085,41045],[-11,0]],[[25525,40831],[-1,514]],[[27792,41044],[-23,0]],[[27769,41044],[-80,-2]],[[27689,41042],[-43,0]],[[29e3,41550],[-44,-229]],[[23478,41229],[-32,144]],[[18137,41388],[0,-676]],[[18137,40712],[0,-1612]],[[19529,40384],[0,244]],[[28459,41042],[-60,-1]],[[28399,41041],[-68,0]],[[28956,41321],[-58,-118]],[[28898,41203],[-43,60]],[[28850,41260],[0,0]],[[27391,41042],[3,239]],[[27478,41492],[0,-448]],[[27646,41042],[-140,2]],[[27506,41044],[-28,0]],[[26282,41408],[0,-354]],[[21480,40759],[0,11]],[[15493,39270],[-65,1424],[-71,871]],[[23478,41229],[-49,-367]],[[28979,41348],[22,197]],[[24456,41114],[17,-140]],[[26282,40758],[0,296]],[[28897,41161],[82,187]],[[25525,40831],[0,-242]],[[27391,41042],[-31,-211]],[[27360,40831],[-26,-125]],[[24576,40445],[-67,370]],[[24509,40815],[-36,159]],[[28898,41203],[-26,-825]],[[28804,40253],[-1,151]],[[28803,40404],[-7,641]],[[28855,41263],[-5,-3]],[[23415,40694],[14,168]],[[28900,40423],[-35,202]],[[28866,40625],[-1,0]],[[28866,40625],[-5,206]],[[28860,40874],[1,-43]],[[28860,40874],[37,287]],[[16714,38612],[-48,225]],[[29178,40739],[-11,-297]],[[29167,40442],[-17,-94]],[[29150,40348],[-38,-96]],[[29112,40252],[0,-14]],[[26282,40758],[-1,-85]],[[28270,40305],[-11,-7]],[[28259,40298],[-30,321]],[[28229,40619],[-55,236]],[[28174,40855],[-87,32]],[[28087,40887],[-37,-224]],[[28050,40663],[-54,34]],[[27996,40697],[-113,-102]],[[27883,40595],[-57,-283]],[[27826,40312],[-60,-227]],[[27766,40085],[3,959]],[[28784,40396],[-69,317]],[[28715,40713],[-78,-279]],[[28637,40434],[0,-126]],[[28637,40308],[-47,-159]],[[28331,40116],[-61,189]],[[28117,40429],[-33,140]],[[23415,40694],[38,-213]],[[27334,40706],[-23,-152]],[[27311,40554],[-70,-216]],[[27241,40338],[-86,-130],[-13,-105]],[[28171,40194],[-54,235]],[[25505,40184],[20,405]],[[24576,40445],[59,-327]],[[26280,40268],[1,405]],[[21480,40759],[1,-810]],[[21481,39949],[0,-161]],[[28914,40342],[-11,69]],[[28901,40416],[-1,7]],[[29040,40031],[-126,311]],[[27142,40103],[-8,-66]],[[18136,38906],[1,194]],[[28084,40569],[-45,-703]],[[23555,39997],[-48,74]],[[23507,40071],[-54,410]],[[28259,40298],[-31,-352]],[[28228,39946],[-57,248]],[[19529,40384],[-2,-1614]],[[25505,40184],[-7,-190]],[[28029,39806],[10,60]],[[23553,39912],[2,85]],[[27136,39881],[-2,156]],[[24711,39640],[-59,-61]],[[24652,39579],[-17,539]],[[28804,40253],[1,-94]],[[28742,40159],[-56,139],[98,98]],[[28590,40149],[-15,-63]],[[28815,39382],[-8,585]],[[28807,39967],[-2,192]],[[28872,40378],[57,-769]],[[28458,39638],[-32,-59]],[[28426,39579],[-58,227]],[[28368,39806],[-37,310]],[[29112,40238],[-86,-665],[14,458]],[[16478,40009],[0,-98]],[[16478,39911],[0,-84]],[[26420,39741],[-52,137]],[[26368,39878],[-33,-39]],[[26335,39839],[-55,58]],[[26280,39897],[0,371]],[[26280,39897],[-16,-138]],[[26264,39759],[0,-1]],[[26494,39275],[-50,105]],[[26444,39380],[0,87]],[[26444,39467],[-24,274]],[[24760,39559],[-49,81]],[[28635,39395],[0,0]],[[28706,39561],[36,598]],[[25526,39519],[0,1]],[[25526,39520],[-32,474]],[[25494,39994],[4,0]],[[26591,39026],[-56,243]],[[26535,39269],[-41,6]],[[28029,39806],[-91,-546]],[[27938,39260],[-52,-2]],[[28607,39535],[-17,-366]],[[28590,39169],[0,-3]],[[28575,40086],[2,-3]],[[28589,40088],[18,-553]],[[23553,39416],[0,367]],[[23553,39783],[0,129]],[[27091,39475],[-53,155]],[[27136,39881],[-45,-406]],[[25526,39519],[-1,-92]],[[17623,34118],[-355,1806]],[[26287,39436],[-21,81]],[[26266,39517],[-2,241]],[[28815,39382],[4,-360]],[[28755,39100],[-16,112]],[[28739,39212],[17,109]],[[21481,39138],[0,650]],[[28543,39077],[4,-10]],[[28547,39067],[-4,-218]],[[28437,39124],[17,222]],[[28454,39346],[4,292]],[[16666,38837],[-70,323]],[[16596,39160],[-91,417]],[[16505,39577],[-27,250]],[[16917,37646],[-203,966]],[[28445,39309],[-54,-223]],[[23553,39416],[0,-202]],[[26713,38990],[-105,35]],[[26608,39025],[-17,1]],[[26591,39026],[0,0]],[[21481,39138],[0,-154]],[[27038,39630],[-32,-689]],[[27006,38941],[-20,-17]],[[26839,38901],[-60,288]],[[26779,39189],[0,1]],[[26779,39190],[-66,-197]],[[26713,38993],[0,-3]],[[24786,39069],[5,209]],[[24791,39278],[13,61]],[[24804,39339],[-44,220]],[[28454,39346],[-22,183]],[[28432,39529],[-6,50]],[[28929,39609],[44,-479],[29,-450]],[[29002,38680],[-5,0]],[[28997,38680],[-5,0]],[[28992,38680],[-71,1]],[[28921,38681],[-100,202]],[[28821,38883],[-2,139]],[[27886,39258],[-47,-530]],[[27839,38728],[-25,-122]],[[27814,38606],[-93,334]],[[28756,39321],[-17,-109]],[[28739,39212],[-76,198],[43,151]],[[28391,39086],[-16,-307]],[[28441,39500],[0,3]],[[28441,39500],[0,-4]],[[28441,39496],[0,-2]],[[28441,39494],[0,-2]],[[28441,39492],[1,-5]],[[28442,39486],[0,1]],[[28442,39486],[0,-5]],[[28442,39481],[2,-3]],[[28444,39478],[0,-2]],[[28444,39476],[2,-7]],[[28446,39469],[0,-65]],[[28446,39404],[0,2]],[[28432,39529],[9,-26]],[[26287,39436],[-64,-179]],[[26223,39257],[-49,-131]],[[26174,39126],[-37,84]],[[26137,39210],[-26,-279]],[[25466,38611],[25,286]],[[25491,38897],[34,530]],[[24764,38829],[-1,-16]],[[24763,38813],[-21,-253]],[[15840,38131],[-3,0]],[[15809,38129],[-2,4]],[[15807,38133],[-39,1]],[[15641,38391],[-148,879]],[[26986,38924],[-61,-318]],[[26925,38606],[-25,18]],[[26900,38624],[-20,157]],[[26880,38781],[-41,120]],[[23552,38728],[1,486]],[[24786,39069],[-22,-240]],[[28590,39166],[9,-599],[-52,500]],[[28547,39067],[-4,10]],[[27721,38940],[-41,-605]],[[27680,38335],[-46,-375]],[[23552,38728],[0,-165]],[[16040,38042],[-23,137]],[[26109,38815],[2,116]],[[16917,37646],[165,-803]],[[28691,38439],[-29,547],[93,114]],[[28785,38627],[-94,-188]],[[21481,38328],[0,12]],[[21481,38340],[0,644]],[[28543,38849],[0,-85]],[[28495,38564],[-94,-54],[36,614]],[[18136,38906],[1,-790]],[[18137,38116],[-1,-1012]],[[18136,37104],[0,-1125]],[[18136,35979],[0,-293]],[[19532,38124],[-5,646]],[[26109,38815],[-57,-267]],[[26052,38548],[-42,-171]],[[28375,38779],[-7,-313]],[[25466,38611],[-69,-294]],[[28795,38335],[-10,292]],[[15837,38131],[-28,-2]],[[16017,38179],[-132,-258],[-45,210]],[[25399,38268],[-2,49]],[[24779,38004],[-12,72]],[[24767,38076],[-25,484]],[[28603,38436],[-31,-192],[-77,320]],[[28543,38764],[60,-328]],[[26898,38299],[0,0]],[[26900,38624],[-2,-325]],[[19532,38124],[0,-507]],[[19532,37617],[-1,-737]],[[19531,36880],[0,-904]],[[19531,35976],[-266,-3]],[[19265,35973],[-209,11]],[[19056,35984],[-185,-3]],[[23552,37951],[0,612]],[[17268,35924],[-186,919]],[[28986,38582],[-75,-715]],[[28911,37867],[-68,-38]],[[28843,37829],[0,3]],[[28992,38680],[-6,-98]],[[25860,38177],[-37,-113]],[[25979,38171],[-13,-319]],[[25966,37852],[-14,-13]],[[25952,37839],[-92,338]],[[26950,37569],[-23,169]],[[26927,37738],[-29,561]],[[26010,38377],[-31,-206]],[[28442,38144],[-1,-3]],[[28368,38466],[83,-128]],[[23552,37951],[-1,-43]],[[15768,38134],[6,-631],[-119,557],[-14,331]],[[16038,37915],[2,127]],[[28778,37969],[17,366]],[[28843,37832],[-1,-3]],[[28842,37829],[-64,140]],[[28477,37991],[-35,153]],[[28451,38338],[125,-469]],[[27607,37750],[27,210]],[[21481,38328],[1,-976]],[[21482,37352],[0,-175]],[[27607,37750],[-66,-484]],[[25823,38064],[-8,-140]],[[25815,37924],[-46,-378]],[[25769,37546],[-44,290]],[[25399,38268],[-31,-631]],[[25598,37614],[-9,36]],[[25589,37650],[-42,80]],[[25478,37649],[-63,7]],[[25415,37656],[-29,-191]],[[25386,37465],[-17,170]],[[25369,37635],[-1,2]],[[24928,37473],[-74,134]],[[24854,37607],[-75,397]],[[25725,37836],[-46,-126]],[[25679,37710],[-81,-96]],[[25547,37730],[-69,-80]],[[25478,37650],[0,-1]],[[28441,38141],[75,-497],[31,-232]],[[28566,37480],[-89,511]],[[15835,37649],[78,298],[125,-32]],[[23550,37194],[0,36]],[[23550,37230],[1,678]],[[28887,37650],[0,-27]],[[28887,37623],[-59,-670]],[[28828,36953],[-33,-42]],[[28782,37012],[13,397]],[[28795,37409],[47,420]],[[28842,37829],[1,0]],[[28911,37867],[-24,-217]],[[28637,37553],[1,-1]],[[28638,37552],[2,-269]],[[28576,37869],[61,-316]],[[27086,36932],[-11,47]],[[27075,36979],[-102,379]],[[26973,37358],[-23,211]],[[28541,36813],[-25,262]],[[27562,37146],[-21,120]],[[24970,37042],[-42,431]],[[25386,37465],[-29,-418]],[[28516,37075],[-45,-36]],[[28471,37039],[-2,24]],[[15925,36839],[-90,810]],[[24970,37042],[0,-10]],[[25377,36917],[-20,130]],[[27384,36774],[0,3]],[[28640,37134],[-74,346]],[[28640,37283],[0,-149]],[[15782,37296],[29,0]],[[21191,35978],[-257,-8]],[[20934,35970],[-319,-1]],[[28547,37412],[38,-377]],[[27075,36979],[-95,-443]],[[26980,36536],[-1,-3]],[[26979,36533],[-67,-179]],[[26912,36354],[-4,-11]],[[21482,36702],[0,475]],[[27562,37146],[-71,-381]],[[27491,36765],[-107,9]],[[28390,36690],[-19,6]],[[15811,37296],[78,-451]],[[15840,36178],[-62,763],[4,355]],[[23550,37194],[1,-539]],[[23551,36655],[-1,-47]],[[20615,35969],[-19,0]],[[20596,35969],[-138,1]],[[21482,36702],[0,-736]],[[21482,35966],[-267,12]],[[21215,35978],[-24,0]],[[19716,35976],[-185,0]],[[19966,35978],[-250,-2]],[[28469,37063],[2,-24]],[[28471,37039],[55,-208]],[[28526,36831],[1,-3]],[[18457,35979],[-321,0]],[[24970,37032],[11,-429]],[[24981,36603],[0,-1]],[[24981,36602],[-2,-156]],[[25377,36917],[-83,-186]],[[25294,36731],[-15,37]],[[25279,36768],[0,-3]],[[25279,36765],[-21,-661]],[[28585,37035],[31,-106]],[[28614,36816],[-73,-3]],[[27384,36777],[-34,-253]],[[27350,36524],[-68,-110]],[[27282,36414],[-38,192]],[[28371,36696],[0,-145]],[[28795,36911],[-5,-59]],[[28790,36852],[-33,152],[25,8]],[[27244,36606],[-106,-186]],[[27138,36420],[-52,512]],[[18871,35981],[-314,-2]],[[18557,35979],[-100,0]],[[28616,36929],[-2,-113]],[[28493,36664],[-108,-81],[5,107]],[[15889,36845],[36,-6]],[[23019,35975],[-63,1]],[[22956,35976],[-110,0]],[[22846,35976],[-88,-1]],[[22758,35975],[-95,0]],[[22026,35982],[-151,-4]],[[22179,35976],[-129,5]],[[22050,35981],[-24,1]],[[22511,35973],[-55,2]],[[22456,35975],[-127,1]],[[17623,34118],[67,-355]],[[28568,36291],[-75,373]],[[28527,36828],[22,-165]],[[25236,36127],[22,-23]],[[20247,35966],[-264,12]],[[19983,35978],[-17,0]],[[20458,35970],[-81,-1]],[[20377,35969],[-130,-3]],[[21618,35969],[-132,-5]],[[21486,35964],[-4,2]],[[21754,35973],[-136,-4]],[[21875,35978],[-87,-3]],[[21788,35975],[-34,-2]],[[23298,35976],[-73,0]],[[23225,35976],[-50,0]],[[22663,35975],[-86,-2]],[[22577,35973],[-66,0]],[[22329,35976],[-127,0]],[[22202,35976],[-23,0]],[[23424,35976],[-94,0]],[[23330,35976],[-32,0]],[[28549,36663],[73,-426]],[[23550,36083],[0,525]],[[23550,36083],[0,-107]],[[23550,35976],[-108,0]],[[23442,35976],[-18,0]],[[25236,36127],[-100,272]],[[25069,36098],[9,-156]],[[25078,35942],[-50,55]],[[25028,35997],[-49,449]],[[25136,36399],[-2,-3]],[[25134,36396],[-65,-298]],[[28388,36521],[68,-110]],[[23175,35976],[-10,0]],[[23165,35976],[-146,-1]],[[15976,35708],[-136,470]],[[26908,36343],[-84,-413]],[[28456,36411],[93,-173]],[[25087,35872],[-9,70]],[[28629,35958],[-61,333]],[[26821,35778],[3,152]],[[25579,35309],[-85,-6]],[[25494,35303],[-15,-1]],[[28549,36238],[42,-432]],[[27841,35124],[-35,0]],[[27771,35123],[-12,0]],[[27759,35123],[-56,1]],[[28631,36186],[-2,-228]],[[25739,35324],[-84,-10]],[[25655,35314],[-14,-2]],[[25641,35312],[-62,-3]],[[25087,35872],[-6,-295]],[[25081,35577],[-15,-247]],[[25066,35330],[-42,-37]],[[27976,35124],[-18,0]],[[27958,35124],[-95,0]],[[27863,35124],[-22,0]],[[24371,35046],[-125,-2]],[[23550,35543],[0,433]],[[28245,35132],[-37,-2]],[[28208,35130],[-41,-1]],[[26821,35778],[-162,-424]],[[25479,35302],[-104,77]],[[23550,35543],[0,-184]],[[19531,34120],[0,1856]],[[19531,34120],[0,-1941]],[[19531,32179],[0,-709]],[[19531,31470],[-2,-1490]],[[21215,35978],[-1,-931]],[[21214,35047],[-10,-828]],[[21204,34219],[0,-588]],[[21485,35047],[-37,0]],[[21448,35047],[-234,0]],[[21784,35046],[-35,0]],[[21749,35046],[-150,0]],[[21599,35046],[-114,1]],[[22050,35046],[-151,0]],[[21899,35046],[-115,0]],[[28482,35144],[0,-15]],[[28482,35129],[-69,4]],[[28413,35133],[-37,-3]],[[26292,35239],[-2,0]],[[26290,35239],[-53,22]],[[23913,35043],[-75,1]],[[26528,35210],[-22,4]],[[26506,35214],[-61,4]],[[28678,35667],[9,165]],[[26445,35218],[-9,0]],[[26436,35218],[-144,21]],[[26659,35354],[-60,-119]],[[26599,35235],[-71,-25]],[[25258,35049],[-8,1]],[[25250,35050],[-83,2]],[[26148,35281],[-40,-14]],[[25959,35285],[-65,21]],[[25894,35306],[-57,21]],[[23838,35044],[-78,0]],[[23760,35044],[-59,0]],[[28775,35141],[-7,0]],[[28768,35141],[-25,0]],[[28743,35141],[-9,0]],[[28734,35141],[-6,0]],[[28728,35141],[-25,0]],[[28675,35672],[3,-5]],[[28687,35832],[88,-691]],[[27453,35154],[-63,3]],[[26998,35225],[-14,0]],[[27164,35255],[-50,5]],[[27114,35260],[-89,-37]],[[24776,35043],[-100,1]],[[28601,35141],[-14,0]],[[28587,35141],[-105,3]],[[28591,35806],[33,-21]],[[16104,33735],[-103,743],[-25,1230]],[[28376,35130],[-131,2]],[[26791,35221],[-135,7]],[[26656,35228],[-57,7]],[[28167,35129],[-77,0]],[[28090,35129],[-37,-3]],[[28053,35126],[-77,-2]],[[26237,35261],[-84,21]],[[26153,35282],[-5,-1]],[[24523,35043],[-78,-2]],[[24445,35041],[-12,2]],[[24433,35043],[-62,3]],[[26984,35225],[-88,-3]],[[26896,35222],[-62,0]],[[26834,35222],[-43,-1]],[[25837,35327],[-42,-31]],[[25795,35296],[-56,28]],[[27608,35126],[-108,15]],[[27500,35141],[-47,13]],[[25024,35293],[-25,-249]],[[24999,35044],[-18,-1]],[[24981,35043],[-16,1]],[[24965,35044],[-1,-301]],[[28629,35680],[-4,-47]],[[28669,35668],[6,4]],[[28703,35141],[-53,0]],[[28650,35141],[-49,0]],[[27703,35124],[-88,2]],[[27615,35126],[-7,0]],[[18136,35686],[-100,-1297],[-70,-515],[19,-1013],[-11,-605]],[[17974,32256],[-284,1507]],[[26108,35267],[-98,6]],[[26010,35273],[-51,12]],[[24676,35044],[-58,0]],[[24618,35044],[-95,-1]],[[24065,35043],[-23,0]],[[24042,35043],[-123,1]],[[23919,35044],[-6,-1]],[[27390,35157],[-18,5]],[[27372,35162],[-126,24]],[[27246,35186],[-90,25]],[[27156,35211],[8,44]],[[24246,35044],[-8,0]],[[24238,35044],[-106,0]],[[24132,35044],[-67,-1]],[[25167,35052],[-3,1]],[[25164,35053],[-2,-1]],[[23701,35044],[-151,2]],[[23550,35046],[0,313]],[[25375,35379],[4,-336]],[[25379,35043],[-121,6]],[[23550,35046],[16,-628]],[[25162,35052],[-143,1]],[[25019,35053],[-20,-9]],[[27806,35124],[-35,-1]],[[24848,34115],[-91,-6]],[[24757,34109],[-25,-1]],[[24732,34108],[52,382]],[[24784,34490],[-8,553]],[[27025,35223],[-27,2]],[[27156,35211],[-14,-367]],[[27142,34844],[-53,-194]],[[27089,34650],[-4,-41]],[[22051,33894],[0,325]],[[22051,34219],[-1,827]],[[28548,34675],[-72,196]],[[28752,34612],[-19,143]],[[28728,35141],[24,-529]],[[28775,35141],[26,-594]],[[28800,34546],[-30,549]],[[28770,35095],[-2,46]],[[28743,35141],[5,0]],[[28760,35141],[-12,0]],[[28760,35141],[-26,0]],[[28733,34755],[-46,-43]],[[28687,34712],[0,3]],[[28687,34715],[-13,49]],[[28674,34764],[-2,44]],[[28476,34871],[60,-301]],[[27085,34609],[-42,-301]],[[27043,34308],[-39,100]],[[28672,34808],[2,-44]],[[28674,34764],[13,-49]],[[28687,34712],[-7,-341],[-22,149]],[[24940,34460],[24,283]],[[24981,35043],[-16,1]],[[23569,34305],[-3,113]],[[24940,34460],[-21,-340]],[[24919,34120],[-71,-5]],[[26898,34189],[-82,-175]],[[28658,34520],[-57,-245]],[[28601,34275],[-64,214],[11,186]],[[27004,34408],[-54,-157]],[[26950,34251],[0,-2]],[[26950,34249],[-25,-174]],[[26925,34075],[-27,114]],[[28536,34570],[6,-596]],[[23585,33668],[-16,637]],[[28882,33504],[-75,-902]],[[28807,32613],[75,891]],[[28843,33756],[0,0]],[[28734,33500],[78,-82],[-43,26]],[[28801,34547],[-1,-1]],[[24936,33938],[-17,182]],[[26816,34014],[-18,-287]],[[26798,33727],[-82,-139]],[[23585,33668],[6,-225]],[[22051,33894],[0,-488]],[[21204,33412],[0,219]],[[26716,33588],[0,-39]],[[26716,33549],[-113,-235]],[[22051,33041],[0,365]],[[24936,33938],[-60,-512],[-14,-170]],[[24862,33256],[-37,-264]],[[24825,32992],[-3,-13]],[[24822,32979],[-25,84]],[[28635,33989],[84,-187],[-27,-253]],[[28542,33974],[93,15]],[[26603,33314],[-81,-203]],[[26522,33111],[-2,6]],[[28434,33295],[-3,-15]],[[17974,32256],[138,-1299]],[[18112,30957],[-82,-401]],[[16298,32208],[-72,882],[-122,645]],[[23602,32994],[-11,449]],[[21204,33412],[-1,-817]],[[21203,32595],[0,-426]],[[28431,33280],[136,-511]],[[28600,33319],[-166,-24]],[[28692,33549],[42,-49]],[[28769,33444],[-93,-556],[-69,315],[-7,116]],[[26520,33117],[-19,-319]],[[26501,32798],[-74,-159]],[[24816,32970],[-19,93]],[[23602,32994],[0,-32]],[[22051,33041],[0,-446]],[[27130,32590],[-29,6]],[[27101,32596],[-27,6]],[[27253,32559],[-11,1]],[[27242,32560],[-112,30]],[[26785,32306],[-28,-50]],[[27389,32256],[-18,140]],[[27371,32396],[-36,134]],[[22051,32313],[0,282]],[[26967,32610],[-62,-86]],[[25504,32261],[-107,4]],[[25610,32253],[-106,8]],[[26236,32231],[-80,-4]],[[26156,32227],[-28,-3]],[[26128,32224],[-30,-1]],[[25719,32238],[-105,15]],[[25614,32253],[-4,0]],[[23598,32131],[4,828]],[[23602,32959],[0,3]],[[24816,32970],[-27,-496],[-38,-228]],[[24751,32246],[1,-252]],[[24752,31994],[-29,-50]],[[25175,32246],[-10,0]],[[25165,32246],[-54,-2]],[[25111,32244],[-52,0]],[[26905,32524],[-52,-143]],[[26853,32381],[-37,-23]],[[26816,32358],[-31,-52]],[[25397,32265],[-59,-19]],[[25338,32246],[-45,0]],[[25293,32246],[-5,0]],[[27335,32530],[-82,29]],[[28426,32387],[121,-324]],[[28476,32416],[-54,-29]],[[24936,32246],[-22,-2]],[[24914,32244],[-163,2]],[[27074,32602],[-68,17]],[[27006,32619],[-39,-9]],[[25059,32244],[-43,-1]],[[25016,32243],[-80,3]],[[25288,32246],[-113,0]],[[23598,32131],[-2,-381]],[[23596,31750],[-2,-412]],[[25863,32238],[-130,0]],[[25733,32238],[-14,0]],[[25989,32233],[-125,5]],[[25864,32238],[-1,0]],[[26292,32232],[-10,-1]],[[26282,32231],[-46,0]],[[26757,32256],[-104,-15]],[[28567,32769],[21,-236],[-112,-117]],[[26098,32223],[-37,3]],[[26061,32226],[-72,7]],[[26507,32231],[-35,0]],[[26472,32231],[-53,2]],[[26419,32233],[8,406]],[[26419,32233],[-83,0]],[[26336,32233],[-44,-1]],[[28422,32387],[4,0]],[[27643,31895],[-109,13]],[[27534,31908],[-68,6]],[[27466,31914],[-77,342]],[[21203,31783],[0,386]],[[22051,32313],[0,-531]],[[27710,31890],[-67,5]],[[26653,32241],[-19,0]],[[26634,32241],[-108,-10]],[[26526,32231],[-19,0]],[[28596,31771],[1,-6]],[[28597,31765],[0,-3]],[[28597,31762],[-51,125],[-130,-68]],[[28416,31819],[0,-1]],[[28547,32063],[63,79],[-14,-371]],[[16447,30195],[0,0]],[[16544,30316],[0,0]],[[16625,31089],[-228,180],[-87,448],[-12,491]],[[26790,31290],[-17,21]],[[26773,31311],[-15,81]],[[26758,31392],[-66,275]],[[26692,31667],[1,5]],[[26693,31672],[-4,53]],[[26689,31725],[68,531]],[[27773,31565],[-63,325]],[[22095,31335],[-43,101]],[[22052,31436],[0,0]],[[22052,31436],[-1,346]],[[25367,32054],[-29,192]],[[25354,31476],[-3,-221]],[[25367,32054],[-13,-578]],[[26061,32226],[7,-232]],[[28416,31818],[0,1]],[[28416,31819],[-53,-450],[-48,-156]],[[26081,31553],[-13,441]],[[26083,31488],[-2,65]],[[27882,30949],[-1,3]],[[27881,30952],[-105,597]],[[27776,31549],[-3,16]],[[21203,31783],[0,-808]],[[21203,30975],[0,-20]],[[24723,31944],[-48,-358]],[[16772,30477],[-147,612]],[[24678,31369],[-3,217]],[[26083,31488],[4,-119]],[[22271,31020],[-74,109]],[[22197,31129],[0,1]],[[22197,31130],[-102,205]],[[16917,28163],[0,0]],[[16946,29088],[0,0]],[[17003,29918],[0,12]],[[17003,29930],[-3,11]],[[17e3,29941],[0,-8]],[[17e3,29933],[-26,23]],[[16974,29956],[-14,-67]],[[16960,29889],[-75,574],[-113,14]],[[26859,30781],[-9,150]],[[26850,30931],[-60,359]],[[28315,31213],[-62,-271]],[[28253,30942],[0,-3]],[[23592,30746],[2,592]],[[24678,31369],[-78,-590],[-29,-164]],[[24571,30615],[0,-1]],[[22438,30684],[-95,104]],[[22343,30788],[-72,232]],[[21203,30955],[-1,-888]],[[21202,30067],[-2,-474]],[[26101,30925],[-14,444]],[[26113,30543],[-12,382]],[[19529,28920],[0,1060]],[[25346,30990],[5,265]],[[26113,30543],[6,-217]],[[22570,30659],[-80,-112]],[[22490,30547],[-52,137]],[[23592,30746],[-2,-464]],[[23590,30282],[0,-1]],[[23590,30281],[-3,-562]],[[23587,29719],[-72,121]],[[23515,29840],[-115,435]],[[27999,30290],[-117,659]],[[26900,30419],[-41,362]],[[25346,30990],[-9,-437]],[[28253,30939],[6,1]],[[28260,30934],[-41,-278]],[[28219,30656],[-27,96]],[[28192,30752],[-167,-607]],[[28025,30145],[-4,18]],[[28021,30163],[-1,7]],[[28020,30170],[-21,120]],[[25336,30501],[1,52]],[[18007,28580],[-60,520],[29,244]],[[17976,29344],[53,1100],[1,112]],[[28020,30170],[-119,-574]],[[22730,30207],[-116,-19]],[[22614,30188],[-44,471]],[[26900,30419],[8,-106]],[[23001,30197],[-96,111]],[[23232,30157],[-24,-63]],[[23208,30094],[-148,-212]],[[23060,29882],[-59,315]],[[23400,30275],[-43,-109]],[[23357,30166],[-125,-9]],[[24499,29515],[-5,61]],[[24494,29576],[68,417],[24,446],[-15,175]],[[26122,30210],[-3,116]],[[25336,30501],[-11,-583]],[[27034,29642],[-33,180]],[[27001,29822],[-92,488]],[[26909,30310],[-1,3]],[[22905,30308],[-3,-11]],[[22902,30297],[-69,-352],[-81,291]],[[22752,30236],[-22,-29]],[[25317,29524],[8,394]],[[27062,29521],[-4,24]],[[27058,29545],[-24,97]],[[26122,30210],[14,-464]],[[26136,29746],[9,-316]],[[23710,29558],[-123,161]],[[17149,29251],[-81,408]],[[17068,29659],[-1,5]],[[17067,29664],[-10,15]],[[17057,29679],[0,-3]],[[17057,29676],[-54,242]],[[27134,28900],[-27,91]],[[27107,28991],[-45,530]],[[21199,29253],[1,340]],[[26148,29328],[-3,102]],[[27901,29596],[-50,-711],[-61,-15]],[[27790,28870],[0,0]],[[19529,28920],[0,-803]],[[19529,28117],[0,-654]],[[25317,29524],[-8,-457]],[[23710,29558],[1,-522]],[[23777,28566],[-3,0]],[[23774,28566],[-63,0]],[[23711,28566],[0,470]],[[21199,29253],[-2,-798]],[[21197,28455],[0,-813]],[[21197,27642],[0,-810]],[[21197,26832],[-73,-163]],[[21124,26669],[-110,0]],[[24499,29515],[7,-722],[6,-241]],[[24512,28552],[0,-13]],[[24512,28539],[-27,2]],[[24485,28541],[-48,0]],[[24437,28541],[-7,0]],[[25299,28515],[10,552]],[[27680,28409],[-43,-45]],[[17564,27821],[-328,418],[-87,1012]],[[26148,29328],[16,-556]],[[26164,28772],[1,-40]],[[27173,28708],[-39,192]],[[23865,28565],[-9,0]],[[23856,28565],[-79,1]],[[18336,26742],[-386,1265]],[[17950,28007],[57,573]],[[24004,28563],[-69,2]],[[23935,28565],[-70,0]],[[17950,28007],[-386,-186]],[[24430,28541],[-169,5]],[[20700,26669],[-19,0]],[[20681,26669],[-301,5]],[[20380,26674],[-106,-2]],[[24261,28546],[-183,11]],[[24078,28557],[-74,6]],[[23711,28566],[0,-257]],[[27173,28708],[21,-92]],[[25299,28515],[-2,-116]],[[26179,28289],[-14,443]],[[27506,27795],[-43,-73]],[[27232,28056],[-38,560]],[[26179,28289],[13,-230]],[[20274,26672],[-42,-405]],[[20232,26267],[-214,0]],[[27232,28056],[4,-279]],[[27266,27706],[-30,71]],[[23711,27034],[0,365]],[[23711,27399],[0,560]],[[23711,27959],[0,350]],[[24546,27741],[-28,477],[-6,321]],[[24546,27741],[-7,-25]],[[25277,27244],[9,502]],[[25286,27746],[11,653]],[[21014,26669],[-72,0]],[[20942,26669],[-12,0]],[[20930,26669],[-230,0]],[[26208,27801],[-16,258]],[[19764,26267],[-235,-841]],[[19529,25426],[0,2037]],[[27391,27734],[0,-210]],[[27390,27442],[2,-9]],[[27390,27414],[-6,-39]],[[27359,26910],[6,8]],[[27365,26918],[-4,-100]],[[27361,26818],[-42,56]],[[27319,26874],[-7,14]],[[27312,26888],[-8,203]],[[27304,27091],[-38,614]],[[27266,27705],[0,1]],[[26208,27801],[22,-182]],[[27394,26872],[0,0]],[[27381,27086],[-9,-128]],[[27372,26958],[0,-3]],[[27372,26955],[2,-9]],[[27374,26946],[0,-12]],[[27374,26934],[-5,-4]],[[27369,26930],[-4,-12]],[[27365,26918],[-6,-8]],[[27384,27375],[-3,-289]],[[27447,27145],[0,0]],[[27436,27222],[0,0]],[[27463,27722],[-6,-37]],[[27457,27685],[-66,49]],[[24549,26882],[0,12]],[[24549,26894],[-5,6]],[[24544,26900],[-20,161]],[[24524,27061],[33,302],[-18,353]],[[26238,27372],[-8,247]],[[20018,26267],[-254,0]],[[25277,27244],[-3,-152]],[[26251,27098],[-13,274]],[[18884,25600],[-548,1142]],[[26251,27098],[-37,-311]],[[19529,25426],[-392,0]],[[23711,27034],[7,-402]],[[23756,26379],[-38,253]],[[25265,26107],[-3,365]],[[25262,26472],[12,620]],[[24549,26882],[-60,-455]],[[24489,26427],[-19,-223]],[[24470,26204],[-17,-29]],[[27280,26467],[-25,-152]],[[27306,26150],[0,0]],[[27349,26782],[2,-6]],[[27351,26775],[0,1]],[[27351,26775],[4,-31]],[[27355,26744],[-23,-10]],[[27332,26734],[17,48]],[[27312,26888],[31,-85]],[[27343,26803],[-11,-69]],[[27332,26734],[-52,-267]],[[26211,26653],[3,134]],[[26211,26653],[-20,-392]],[[26191,26261],[4,-34]],[[27292,26017],[0,-3]],[[27292,26017],[0,-3]],[[27282,26175],[-36,-149]],[[27255,26315],[27,-140]],[[20664,24117],[-162,673],[-122,739]],[[20380,25529],[-148,738]],[[23756,26379],[13,-481]],[[25265,26107],[3,-489]],[[23847,25152],[-13,-16]],[[23834,25136],[-65,762]],[[26217,25770],[-22,457]],[[26217,25770],[-11,-388]],[[24453,26175],[-39,-381],[-38,-520],[18,-110]],[[24394,25164],[-13,-357]],[[19137,25426],[-253,174]],[[25274,25021],[-6,597]],[[27267,25513],[0,0]],[[27246,26026],[22,-179]],[[27268,25847],[-55,-393]],[[27213,25454],[-1,-15]],[[25899,24796],[-56,0]],[[25843,24796],[-83,2]],[[26222,24948],[-16,434]],[[27006,24004],[-57,25]],[[27254,25381],[-16,11],[14,-13]],[[27212,25439],[0,-5]],[[27220,25420],[3,3]],[[27223,25423],[-3,-308]],[[27220,25115],[4,-151]],[[27224,24964],[1,-25]],[[27225,24939],[-35,18]],[[25274,25021],[2,-216]],[[24913,24811],[-30,0]],[[24542,24805],[-33,0]],[[24509,24805],[-128,2]],[[23846,24564],[1,588]],[[24684,24807],[-6,0]],[[24678,24807],[-71,0]],[[24607,24807],[-65,-2]],[[24764,24808],[-24,0]],[[24740,24808],[-56,-1]],[[24883,24811],[-119,-3]],[[25506,24802],[46,-954]],[[25552,23848],[-113,-480],[-40,902]],[[25399,24270],[-10,63]],[[25389,24375],[5,36]],[[26222,24948],[7,-140]],[[26229,24808],[-135,-6]],[[25760,24798],[-27,4]],[[25733,24802],[-106,3]],[[25627,24805],[-121,-3]],[[26094,24802],[-3,0]],[[26091,24802],[-149,-7]],[[25942,24795],[-43,1]],[[23846,24564],[-51,-870]],[[23795,23694],[9,-293]],[[26949,24029],[-11,5]],[[26938,24034],[-35,13]],[[25394,24411],[-110,-744]],[[25284,23667],[-5,648]],[[25279,24315],[-3,490]],[[27211,24430],[0,0]],[[27190,24957],[22,-103]],[[27212,24854],[-36,-569]],[[27176,24285],[-1,-3]],[[27175,24282],[-83,206]],[[26403,24230],[-135,41]],[[26485,24204],[-55,17]],[[26430,24221],[-27,9]],[[26688,24133],[-71,26]],[[26617,24159],[-37,13]],[[26580,24172],[-73,25]],[[26507,24197],[-22,7]],[[26268,24271],[-39,537]],[[27092,24488],[-40,-867]],[[27052,23621],[-46,383]],[[26749,24108],[-48,18]],[[26692,24131],[-4,2]],[[24923,23801],[-42,386]],[[24881,24187],[32,624]],[[25623,23959],[-1,2]],[[25622,23961],[-68,-267],[-2,154]],[[25729,23702],[-75,79],[-31,178]],[[25841,23791],[-112,-89]],[[25953,23447],[-112,205]],[[25841,23687],[0,104]],[[26903,24047],[-29,12]],[[26874,24059],[-125,49]],[[27175,24282],[1,3]],[[27176,24285],[6,-15]],[[27182,24270],[23,0]],[[27205,24270],[-28,-281]],[[25284,23667],[-47,-34]],[[25237,23633],[-89,107]],[[24923,23801],[47,-522]],[[24970,23279],[-29,-45]],[[25148,23740],[-127,-99]],[[26511,23122],[-24,8]],[[21403,22720],[-156,-987],[-152,-563],[-101,404]],[[21560,22539],[-157,181]],[[26701,24126],[-9,5]],[[25021,23641],[0,-2]],[[25021,23639],[-51,-360]],[[20994,21574],[-152,479],[-102,1013],[-46,832],[-30,219]],[[27222,23603],[4,-74]],[[27226,23529],[1,-43]],[[27227,23486],[0,-3]],[[27227,23483],[-2,-67]],[[27180,23180],[-5,490],[47,-67]],[[27225,23416],[2,67]],[[27227,23483],[0,3]],[[27227,23486],[-1,43]],[[27226,23529],[-4,74]],[[27222,23603],[17,-186]],[[27177,23989],[0,0]],[[27177,23989],[16,-85]],[[27193,23904],[1,-24]],[[27194,23880],[1,2]],[[27195,23882],[6,-2]],[[27201,23880],[1,-3]],[[27202,23877],[0,0]],[[27202,23877],[0,0]],[[27202,23877],[1,8]],[[27203,23885],[1,-5]],[[27204,23880],[2,64]],[[27206,23944],[10,-81]],[[27216,23863],[-2,-148]],[[27214,23715],[-62,-414]],[[26122,22808],[-1,194]],[[26121,23015],[0,29]],[[26121,23044],[-95,230],[-73,173]],[[23800,23042],[4,359]],[[26678,22333],[-167,789]],[[26487,23130],[-104,-234]],[[21830,21535],[-128,716],[-142,288]],[[27281,22397],[0,0]],[[27243,23122],[0,-12]],[[27243,23110],[34,-710]],[[27277,22400],[4,-22]],[[27281,22378],[1,-11]],[[27282,22367],[0,-3]],[[27282,22364],[1,-31]],[[27282,22333],[-6,-21]],[[27198,22498],[-18,682]],[[27225,23416],[0,-5]],[[27225,23411],[18,-289]],[[27243,23110],[0,12]],[[27243,23122],[-18,289]],[[27225,23411],[0,5]],[[27239,23417],[4,-307]],[[23800,23042],[-37,-347]],[[24843,21940],[-54,417]],[[26217,22536],[-1,-5]],[[26169,22376],[-47,432]],[[26121,23002],[0,13]],[[24941,23234],[-65,-283]],[[24875,22939],[0,0]],[[27152,23301],[24,-654]],[[23763,22695],[4,-322]],[[23767,22373],[-143,-244]],[[23464,22353],[-25,-248]],[[24998,22831],[5,-70]],[[25003,22761],[16,-209]],[[25019,22552],[-27,-70]],[[24992,22482],[-36,-158]],[[24956,22324],[1,-1]],[[24957,22323],[6,-23]],[[24960,22312],[-1,0]],[[24876,22951],[0,-3]],[[24876,22948],[-1,-9]],[[24875,22939],[79,-12],[44,-96]],[[24288,22636],[-96,-558],[-84,85]],[[24329,21970],[0,0]],[[24320,22458],[-32,178]],[[24108,22163],[-341,210]],[[26195,22254],[0,0]],[[26216,22531],[-47,-155]],[[26383,22896],[-113,-331],[-53,-29]],[[24498,22178],[-115,125],[-63,155]],[[24824,21885],[-1,-197]],[[24823,21688],[-9,-46]],[[24814,21642],[5,-172]],[[24812,21395],[-49,-51]],[[24763,21344],[-40,151]],[[24723,21521],[0,11]],[[24724,21563],[2,9]],[[24789,22357],[35,-472]],[[24930,21618],[0,0]],[[24936,22296],[-1,-48]],[[24935,22248],[-19,-58]],[[24916,22190],[87,-374],[99,-513],[-99,-349],[-26,734],[-88,173]],[[24889,21861],[-16,57]],[[24873,21918],[-30,22]],[[24959,22312],[-23,-16]],[[23624,22129],[-5,-12]],[[23592,22122],[-94,382],[-34,-151]],[[27185,21734],[-15,654],[28,110]],[[27176,22647],[-22,-452],[4,-419]],[[24520,21484],[-10,206],[10,-206]],[[24676,21534],[-9,-59]],[[24667,21475],[-8,24]],[[24659,21499],[-20,-170]],[[24639,21329],[-35,9]],[[24604,21338],[-60,97],[-46,743]],[[24726,21572],[-50,-38]],[[27276,22312],[12,-92]],[[27288,22220],[7,-92]],[[27295,22128],[19,-249]],[[27285,22333],[31,-453]],[[27314,21879],[-19,249]],[[27295,22128],[-7,92]],[[27288,22220],[-4,107]],[[27284,22327],[0,6]],[[21864,21242],[-34,293]],[[23410,21245],[0,0]],[[23471,21642],[-43,-185]],[[23439,22105],[32,-463]],[[23619,22117],[-27,5]],[[23428,21457],[-94,-622],[-31,-76]],[[26855,21078],[3,53]],[[26858,21131],[-92,361]],[[26766,21492],[-9,198]],[[27158,21776],[8,-176]],[[27407,20820],[0,0]],[[27354,21322],[50,-627]],[[27390,20695],[-4,0]],[[27190,21440],[-1,12]],[[27189,21452],[-4,282]],[[27314,21879],[40,-557]],[[27189,21452],[1,-12]],[[27166,21600],[23,-148]],[[23056,20479],[-10,61]],[[23006,20536],[-1,-8]],[[23005,20528],[-22,36]],[[22982,20563],[-1,3]],[[23153,20311],[-38,241],[-40,-132]],[[23303,20759],[-127,-372],[-23,-76]],[[22981,20566],[1,-38]],[[21992,19589],[-82,1012],[-46,641]],[[26889,20516],[-9,134]],[[26880,20650],[4,230]],[[26884,20880],[0,-6]],[[26884,20874],[3,-11]],[[26887,20863],[1,5]],[[26888,20868],[-13,56]],[[26875,20924],[-19,157]],[[27386,20695],[98,-1780]],[[27404,20695],[13,0]],[[27419,20695],[40,-400],[-24,-392]],[[27435,19903],[-19,662],[-26,130]],[[22999,19753],[-68,-364]],[[22933,19426],[66,327]],[[22982,20528],[4,-700],[-39,228]],[[23012,20417],[-7,111]],[[23005,20528],[1,8]],[[23046,20540],[-34,-123]],[[26879,20029],[10,487]],[[22947,20056],[-2,-239]],[[22882,19600],[-63,-260]],[[26847,19544],[32,485]],[[22874,18926],[0,0]],[[22819,19340],[16,-164]],[[22849,19042],[0,2]],[[22835,19167],[14,-125]],[[22931,19572],[-49,28]],[[22945,19817],[-2,-81]],[[22940,19633],[-9,-61]],[[22203,17855],[-75,740],[-101,901],[-35,93]],[[22835,19176],[0,-9]],[[22849,19044],[0,-2]],[[22847,19026],[-97,-101]],[[26884,19257],[-25,-498]],[[26859,18759],[-12,785]],[[26912,18563],[21,330],[-49,364]],[[22840,18709],[0,0]],[[22795,18697],[1,-292]],[[22750,18925],[45,-228]],[[27484,18915],[39,-516]],[[26908,18086],[4,477]],[[22786,17879],[32,565]],[[22825,18434],[-35,-555]],[[22796,18405],[-79,-513],[-43,-10]],[[22674,17882],[-4,7]],[[27523,18399],[35,-548]],[[27544,17791],[0,-40]],[[27544,17751],[0,-6]],[[26995,17371],[0,-12]],[[26967,17261],[-31,320]],[[26936,17581],[-1,12]],[[26935,17593],[0,3]],[[26935,17596],[-9,143]],[[26926,17739],[-8,94]],[[26918,17833],[-10,253]],[[22282,16564],[-79,1291]],[[22801,16709],[-14,138]],[[22787,16847],[-6,304]],[[22781,17151],[3,18]],[[22784,17169],[17,-460]],[[22784,17169],[-1,646]],[[22783,17815],[3,64]],[[22790,17879],[-6,-710]],[[22761,17577],[-29,-264]],[[22732,17313],[31,-697]],[[22670,17889],[4,-7]],[[22674,17882],[87,-305]],[[27544,17745],[37,-149]],[[27581,17596],[0,0]],[[27581,17596],[18,-289]],[[27593,17307],[-1,0]],[[27588,17307],[0,0]],[[27588,17307],[-2,0]],[[26995,17359],[-28,-98]],[[27049,16934],[-54,437]],[[27586,17307],[16,-1210]],[[27015,16397],[0,0]],[[27109,16114],[-54,365],[-6,455]],[[22445,15979],[-108,267],[-55,318]],[[22647,15629],[-202,350]],[[22816,16443],[-3,13]],[[22813,16456],[-19,86]],[[22794,16542],[7,74]],[[22807,16616],[9,-173]],[[22768,16458],[0,-137]],[[22768,16321],[-7,-58]],[[22761,16263],[17,0]],[[22763,16616],[5,-158]],[[27249,15133],[-46,155]],[[27203,15290],[0,-2]],[[27203,15290],[0,7]],[[27203,15297],[-21,1]],[[27182,15298],[-4,48]],[[27178,15346],[-1,5]],[[27177,15351],[-4,13]],[[27173,15364],[0,-1]],[[27173,15363],[-1,-15]],[[27172,15348],[0,-9]],[[27172,15339],[-10,55]],[[27162,15394],[-34,199]],[[27128,15593],[0,29]],[[27128,15622],[-1,7]],[[27127,15629],[-5,48]],[[27122,15677],[0,-3]],[[27122,15674],[-13,440]],[[22828,15617],[-19,-207],[-102,140],[-60,79]],[[22778,16263],[50,-646]],[[27602,16097],[-12,-644]],[[27588,15313],[-60,-1055],[-25,-181]],[[27502,14077],[-16,-43]],[[27486,14028],[0,-3]],[[27486,14025],[-102,-58]],[[27590,15453],[-2,-140]],[[27521,13940],[-4,-28]],[[27517,13912],[-1,-7]],[[27516,13905],[0,-3]],[[27516,13902],[-5,-43]],[[27511,13859],[-3,-27]],[[27508,13832],[-3,64]],[[27505,13896],[10,83]],[[27515,13979],[0,2]],[[27515,13981],[0,1]],[[27515,13982],[0,17]],[[27515,13999],[6,-59]],[[27384,13967],[-82,277],[17,12]],[[27319,14256],[1,-7]],[[27320,14249],[6,-95]],[[27326,14154],[0,-18]],[[27326,14136],[0,-14]],[[27326,14122],[2,-18]],[[27328,14104],[0,-6]],[[27328,14098],[16,-58]],[[27344,14040],[-10,197]],[[27334,14237],[-12,50]],[[27322,14287],[-2,0]],[[27320,14287],[-4,15]],[[27316,14302],[-5,404]],[[27311,14706],[0,-4]],[[27311,14702],[2,-7]],[[27313,14695],[0,-16]],[[27313,14679],[18,-34]],[[27331,14645],[0,4]],[[27331,14649],[0,5]],[[27331,14654],[-18,82]],[[27313,14736],[-9,-11]],[[27304,14725],[-30,224]],[[27274,14949],[10,40]],[[27284,14989],[1,4]],[[27285,14993],[0,2]],[[27285,14995],[-20,3]],[[27265,14998],[-16,135]],[[26757,21690],[-79,643]],[[23354,58316],[139,550],[110,-1105]],[[24957,56455],[-324,-694],[-81,-301]],[[24549,56809],[324,-378],[84,24]],[[24223,53962],[7,61]],[[24230,54023],[175,117]],[[24405,54140],[162,349],[32,-468],[-20,-199]],[[24684,53819],[-105,3]],[[24619,54132],[0,0]],[[27637,28364],[-4,-462]],[[27633,27902],[-92,-111],[12,-133]],[[27527,27594],[-21,201]],[[27690,28249],[2,-64]],[[27692,28185],[-12,224]],[[27790,28870],[-7,-299]],[[27783,28571],[-93,-322]],[[6538,2301],[-58,813],[-2,1446],[122,-47],[126,-676],[-42,-874],[-146,-662]],[[5489,7808],[-81,498],[122,-55],[-41,-443]],[[6194,6504],[-45,-122],[18,148]],[[6181,5693],[36,57],[-36,-57]],[[6263,5263],[0,0]],[[6344,5400],[-88,696],[124,-23],[55,-530],[-91,-143]],[[5945,6665],[-86,608],[131,-516],[-45,-92]],[[5278,7638],[15,167],[-15,-167]],[[99849,62690],[-75,447],[75,-447]],[[778,63398],[0,0]],[[833,63475],[0,0]],[[886,63617],[0,0]],[[344,63153],[-79,572],[105,-215],[-26,-357]],[[540,63363],[0,206],[0,-206]],[[99643,63716],[0,0]],[[614,63140],[52,393],[81,99],[-102,-407],[-31,-85]],[[99953,63664],[43,190],[-43,-190]],[[857,63843],[0,0]],[[99312,63579],[70,549],[-43,-354],[-27,-195]],[[1574,63946],[-110,220],[208,-146],[-98,-74]],[[1841,64363],[65,153],[-65,-153]],[[1129,63904],[161,256],[100,524],[21,-543],[-157,-194],[-125,-43]],[[98292,64565],[21,3],[-21,-3]],[[2329,64909],[0,0]],[[2627,65344],[3,209],[-3,-209]],[[98084,65292],[-77,334],[133,126],[19,-377],[-75,-83]],[[2802,65454],[207,800],[94,564],[-125,-948],[-176,-416]],[[3604,67078],[0,0]],[[3201,66211],[50,385],[88,296],[43,279],[91,488],[134,-161],[-86,-521],[-320,-766]],[[2663,72349],[0,0]],[[2465,73417],[0,0]],[[3929,67750],[0,0]],[[3695,67690],[41,208],[-41,-208]],[[3784,67824],[42,197],[-42,-197]],[[4605,68312],[0,0]],[[4689,69168],[0,0]],[[4039,68354],[24,902],[287,332],[28,-631],[-182,-176],[-157,-427]],[[5487,69379],[0,0]],[[4849,69589],[0,0]],[[5436,69558],[0,0]],[[5271,69235],[67,345],[-67,-345]],[[5241,69942],[0,0]],[[5106,69709],[101,128],[-101,-128]],[[5293,70190],[0,0]],[[5642,72970],[0,-127]],[[5456,70676],[-115,328],[-177,-435],[-107,-262],[-101,260],[-91,-320],[-105,-623],[-129,79],[-36,-209],[-152,239],[-27,-293],[115,548],[91,375],[413,879],[79,-404],[148,76],[-22,978],[402,1095]],[[13205,69728],[0,0]],[[13355,69846],[-28,487],[-115,332],[131,633],[12,-1452]],[[6096,76208],[78,519]],[[5035,76091],[0,0]],[[5035,76603],[-74,-161]],[[5589,76635],[89,-511]],[[5678,76124],[-175,368],[-112,85],[-127,337],[-165,-226]],[[5099,76688],[-54,-52]],[[6125,76674],[-331,-247],[-75,346],[-130,-138]],[[6115,72321],[0,0]],[[6349,73509],[-124,-473],[-111,-258],[-73,-264],[-184,-179],[-1,-127],[-21,-313],[-109,-391],[-75,-146],[-152,-400],[-43,-282]],[[5642,72843],[219,1026],[142,501],[54,1023],[39,815]],[[6174,76727],[-49,-53]],[[6561,70864],[0,0]],[[6992,72274],[0,0]],[[6794,72099],[0,0]],[[6984,72435],[0,0]],[[7199,73194],[34,190],[-34,-190]],[[7462,74857],[0,0]],[[7226,74697],[0,0]],[[6968,72731],[69,699],[-95,81],[33,-64],[-117,106],[-27,608],[235,-355],[26,659],[33,299],[94,111],[121,39],[94,-42],[86,-512],[-204,-244],[-35,-272],[-158,-459],[-155,-654]],[[7297,75038],[-38,200],[38,-200]],[[7476,75855],[65,-494],[-196,-167],[-108,282],[108,111],[112,66],[19,202]],[[7381,76133],[0,0]],[[7214,76666],[-22,-1]],[[7192,76665],[-175,-684],[-52,-323],[-117,-537],[-200,-497],[-117,-218],[-120,-316],[-62,-581]],[[12366,75252],[5,175]],[[12371,75427],[0,-3]],[[12381,75492],[103,-178]],[[12498,75431],[0,0]],[[12484,76871],[267,-997],[57,-517]],[[12715,74938],[-33,-160]],[[12655,74703],[-69,962],[-69,-212],[-203,853],[0,575]],[[12311,76882],[-61,4]],[[12500,71022],[0,0]],[[13038,71188],[-70,608],[98,-87],[-28,-521]],[[12892,71782],[71,296],[-71,-296]],[[13083,71690],[12,293],[-12,-293]],[[13006,72478],[0,0]],[[12908,72271],[-2,556],[2,-556]],[[12615,72742],[-8,-441],[-33,-793],[-77,498],[-9,396],[28,684],[99,-344]],[[12660,72704],[84,521],[112,-753],[-24,-147],[-158,-160],[-14,539]],[[13033,73861],[67,-885],[295,-875]],[[13073,70867],[127,867],[-165,610],[-114,565],[-115,629],[-93,4]],[[11922,74760],[-12,-1]],[[11903,74758],[110,9]],[[11893,74787],[0,0]],[[12713,73542],[38,429],[-81,403],[26,263],[2,222]],[[12708,74912],[7,26]],[[12808,75357],[225,-1496]],[[12484,75314],[2,2]],[[12529,75370],[57,-872],[-100,567],[62,-912],[-13,-553],[-99,201],[-62,754],[-8,697]],[[12108,75160],[-28,-110]],[[12080,75050],[126,246]],[[12206,75296],[31,-310],[-188,89]],[[12015,74776],[-60,586],[182,108],[-29,-310]],[[12371,75424],[10,68]],[[12062,75988],[-32,784],[-78,-298],[-169,378],[83,-342],[46,-884],[-145,90],[-288,850]],[[11595,76760],[289,658]],[[12161,76003],[-99,-15]],[[12201,77569],[-9,22]],[[12099,78291],[172,-561],[19,-151]],[[12314,76881],[-3,1]],[[12250,76886],[-49,683]],[[12290,77579],[153,-400],[41,-308]],[[12192,77591],[-5,-716],[86,-1362],[-112,490]],[[11884,77418],[38,633],[177,240]],[[12070,73189],[-7,651],[7,-651]],[[12285,72715],[-93,388],[-43,549],[26,596],[167,-274],[60,-1268],[-9,-883]],[[12393,71662],[-108,1053]],[[11934,74683],[-12,77]],[[12013,74767],[2,9]],[[12049,75075],[220,-449],[4,-547],[-126,16],[-213,588]],[[4001,83653],[0,0]],[[4259,83451],[-234,958],[203,-704],[31,-254]],[[4192,84190],[-67,628],[157,-398],[-90,-230]],[[3903,80509],[38,343],[-153,-28],[-95,611],[-68,401],[149,393],[155,1298],[337,-141],[-74,789],[213,267],[210,447]],[[3609,78331],[-256,445],[77,525],[208,100],[140,-781],[-169,-289]],[[1910,79346],[-184,574],[184,-574]],[[4013,79338],[-125,385],[91,689],[184,-355],[-95,-543],[-55,-176]],[[4902,77138],[-111,505],[-40,940],[-64,908],[-72,-97],[-51,-610],[-325,-353],[-126,507],[-38,874],[167,449],[141,-114],[-67,257],[-95,340],[-184,-211],[-134,-24]],[[5045,76636],[-10,-33]],[[4961,76442],[-203,-214],[79,631],[65,279]],[[8332,81549],[-208,-449],[-275,-85]],[[8387,80363],[-287,581],[232,605]],[[9624,78418],[0,0]],[[8666,78680],[0,0]],[[8662,78874],[0,0]],[[8602,78821],[0,0]],[[8713,78358],[259,1026],[-139,-823],[-120,-203]],[[9058,79230],[7,463],[84,-259],[-91,-204]],[[8702,79277],[0,0]],[[8492,79649],[195,-79],[-95,-558],[-102,-363]],[[9173,79634],[0,0]],[[8697,80017],[0,0]],[[8630,79964],[0,0]],[[8494,80038],[105,161],[-105,-475]],[[8668,80254],[0,0]],[[8747,80338],[8,836],[-187,-517],[-29,-359],[-45,-148]],[[10627,82337],[0,-2812]],[[9823,78789],[-225,511],[-84,480],[-205,-102],[-51,437],[-112,111],[24,227],[-108,355],[-75,-222],[-175,-124],[-65,-124]],[[7140,77530],[0,0]],[[7918,77470],[0,0]],[[7543,79429],[0,0]],[[8494,80150],[0,-112]],[[8494,79724],[-2,-75]],[[8490,78649],[-168,-14],[-100,-30],[-87,-455],[-95,-12],[-126,-413],[-182,-329],[-70,443],[123,277],[-175,159],[125,1195],[90,792],[278,233],[284,-132]],[[7849,81015],[-203,-855],[-148,-630],[-94,-637],[-197,-449],[-24,-218],[-120,-300],[-102,-962],[231,-176],[7,-124]],[[11073,77696],[-82,343]],[[10991,78039],[52,861],[-540,-320],[22,268],[-635,15],[-67,-74]],[[10627,79525],[285,-390],[258,-349],[432,-1879],[-7,-147]],[[11479,76566],[-145,717],[-261,413]],[[10627,94617],[0,-4941]],[[10627,89676],[0,-7339]],[[7949,98194],[0,0]],[[4758,97701],[370,402],[175,-96],[2,557],[311,274],[606,970],[194,-236],[17,-374],[344,250],[250,-395],[474,-101],[-106,-527],[387,-340],[310,131],[449,-119],[364,-405],[538,-298],[697,98],[384,-761],[103,-2114]],[[3841,93742],[-270,690],[566,984],[356,1130],[153,835],[227,476],[-115,-156]],[[4108,91048],[160,-570],[21,-388]],[[4289,90090],[385,-72],[228,394],[-97,219],[-200,911],[153,-374],[356,-517],[38,410],[-231,-116],[2,807],[-409,131],[-439,1287],[-234,572]],[[4620,85381],[0,0]],[[2649,84266],[-265,848],[-321,-46],[70,419],[336,171],[203,-604],[70,-329],[-93,-459]],[[5052,87977],[-187,-281],[-238,-465],[-182,218],[-113,-158],[-396,-240],[-408,675],[-24,608],[255,-141],[-71,188],[-416,469],[-52,574],[200,411],[349,342],[50,538],[289,333]],[[4615,84889],[121,292],[385,633],[-138,1144],[131,438],[-62,581]],[[12956,69029],[0,0]],[[13317,69219],[0,0]],[[12925,69473],[-21,387],[21,-387]],[[12930,68872],[-132,1072],[123,-767],[9,-305]],[[13247,69478],[75,326],[-75,-326]],[[12761,69871],[30,109],[-30,-109]],[[12684,69935],[12,183],[-12,-183]],[[12707,70286],[0,0]],[[12629,70305],[0,0]],[[12756,70325],[0,0]],[[12710,70782],[0,0]],[[12785,70929],[0,0]],[[12656,71166],[119,461],[-119,-461]],[[12877,71377],[0,5]],[[12877,71382],[120,-652],[9,-203],[84,-353],[38,-171],[14,-713],[-147,209],[-122,497],[-22,327],[-102,319],[33,987],[-50,326],[145,-578]],[[13062,70861],[11,6]],[[13395,72101],[178,-488],[119,-436],[-28,-1331],[-192,-647],[-82,655],[-85,1424],[-107,-283],[-136,-134]],[[31178,1304],[23,73]],[[31195,919],[-2,184]],[[31290,1513],[20,-8]],[[31284,522],[-34,-5]],[[31429,566],[-31,6]],[[31271,1506],[19,7]],[[31329,564],[-16,40]],[[31375,1499],[25,12]],[[31310,1505],[50,3]],[[31400,1511],[26,-5]],[[31513,1444],[13,14]],[[31493,1404],[0,0]],[[31492,1426],[1,-22]],[[31398,572],[-25,-14]],[[31426,1506],[10,-15]],[[31193,1103],[-11,55]],[[31250,517],[-36,-12]],[[31214,505],[-19,414]],[[31549,569],[-31,-3]],[[31201,1377],[0,2]],[[31201,1379],[15,182]],[[31313,604],[-27,-82]],[[31466,535],[-8,-54]],[[31458,481],[-29,85]],[[31257,1516],[14,-10]],[[31360,1508],[15,-9]],[[31493,1404],[20,40]],[[31504,544],[-38,-9]],[[31286,522],[-2,0]],[[31373,558],[-44,6]],[[31216,1561],[41,-45]],[[31580,736],[-15,-109]],[[31464,1471],[21,-4]],[[31837,1170],[0,0]],[[31885,1161],[0,0]],[[31593,1322],[22,-42]],[[31526,1458],[45,-64]],[[31565,627],[-16,-58]],[[31571,1394],[22,-72]],[[31618,992],[-22,-62]],[[31615,1280],[10,-145]],[[31625,1135],[-7,-143]],[[31596,930],[-16,-194]],[[31654,755],[0,0]],[[31830,0],[51,45],[-51,-45]],[[31436,1491],[28,-20]],[[12393,71823],[0,-161]],[[11910,74759],[-7,-1]],[[12486,75316],[43,54]],[[7199,76664],[15,2]],[[5642,72987],[0,-17]],[[12698,74859],[10,53]],[[12682,74778],[-19,-87]],[[12663,74691],[-8,12]],[[6167,6530],[27,-26]],[[31485,1467],[7,-41]],[[31518,566],[-14,-22]],[[31182,1158],[-4,146]],[[25389,24333],[0,42]],[[29700,43907],[2,-8]],[[27362,21240],[-8,82]],[[27354,21322],[-40,557]],[[27284,22333],[-2,31]],[[27282,22364],[0,3]],[[27282,22367],[-1,11]],[[27281,22378],[4,-45]],[[27316,21880],[46,-640]],[[27503,14077],[12,-78]],[[27515,13999],[0,-17]],[[27515,13982],[0,-3]],[[27515,13979],[-13,98]],[[27486,14034],[19,-138]],[[27505,13896],[-19,132]],[[26856,21081],[-1,-3]],[[25841,23652],[0,35]],[[27283,22333],[1,-6]],[[27284,22327],[-2,6]],[[27417,20695],[2,0]],[[27558,17851],[-14,-60]],[[27599,17307],[-6,0]],[[27592,17307],[-4,0]],[[27252,25379],[2,2]],[[27212,25434],[1,20]],[[27213,25454],[8,-22]],[[27221,25432],[-1,-12]],[[24963,22300],[-3,12]],[[24819,21470],[-7,-75]],[[24723,21495],[0,26]],[[24723,21532],[1,24]],[[24724,21556],[0,7]],[[30135,46090],[-18,-72]],[[30110,46013],[3,-39]],[[30179,45778],[12,-45]],[[28577,40083],[12,5]],[[28807,32602],[0,11]],[[28259,30940],[1,-6]],[[28903,40411],[-2,5]],[[29368,42670],[-8,46]],[[27553,27658],[-26,-64]],[[27391,27524],[-1,-82]],[[27392,27433],[-2,-19]],[[22801,16709],[6,-93]],[[22801,16616],[-7,140]],[[22794,16756],[7,-47]],[[22818,18444],[7,-10]],[[22931,19389],[2,37]],[[23075,20420],[-19,59]],[[22983,20564],[-1,-1]],[[22943,19736],[0,-10]],[[22943,19726],[0,-84]],[[22943,19642],[-3,-9]],[[22849,19042],[-2,-16]],[[28549,36663],[0,0]],[[28622,36237],[15,43]],[[28637,36280],[-6,-94]],[[28371,36551],[17,-30]],[[28624,35785],[5,-105]],[[28625,35633],[31,31]],[[28656,35664],[13,4]],[[28446,39406],[0,-2]],[[28446,39404],[-1,-95]]]},unemployment2:[{id:1,state:"Alabama",rate:6.45},{id:2,state:"Alaska",rate:7.45},{id:4,state:"Arizona",rate:8.53},{id:5,state:"Arkansas",rate:4.5},{id:6,state:"California",rate:6.53},{id:8,state:"Colorado",rate:3.3},{id:9,state:"Connecticut",rate:5.36},{id:10,state:"Delaware",rate:4.43},{id:11,state:"District of Columbia",rate:6.5},{id:12,state:"Florida",rate:5.2},{id:13,state:"Georgia",rate:5.91},{id:15,state:"Hawaii",rate:3.48},{id:16,state:"Idaho",rate:3.84},{id:17,state:"Illinois",rate:5.76},{id:18,state:"Indiana",rate:4.6},{id:19,state:"Iowa",rate:4.1},{id:20,state:"Kansas",rate:4.44},{id:21,state:"Kentucky",rate:5.96},{id:22,state:"Louisiana",rate:7.62},{id:23,state:"Maine",rate:3.64},{id:24,state:"Maryland",rate:4.82},{id:25,state:"Massachusetts",rate:3.64},{id:26,state:"Michigan",rate:4.92},{id:27,state:"Minnesota",rate:4.13},{id:28,state:"Mississippi",rate:6.69},{id:29,state:"Missouri",rate:5.94},{id:30,state:"Montana",rate:4.15},{id:31,state:"Nebraska",rate:3.16},{id:32,state:"Nevada",rate:5.81},{id:33,state:"New Hampshire",rate:2.83},{id:34,state:"New Jersey",rate:5.51},{id:35,state:"New Mexico",rate:7.14},{id:36,state:"New York",rate:4.56},{id:37,state:"North Carolina",rate:5.47},{id:38,state:"North Dakota",rate:3.05},{id:39,state:"Ohio",rate:4.9},{id:40,state:"Oklahoma",rate:5.59},{id:41,state:"Oregon",rate:5.97},{id:42,state:"Pennsylvania",rate:6.42},{id:44,state:"Rhode Island",rate:5.28},{id:45,state:"South Carolina",rate:6.42},{id:46,state:"South Dakota",rate:3.26},{id:47,state:"Tennessee",rate:5.72},{id:48,state:"Texas",rate:5.58},{id:49,state:"Utah",rate:4.34},{id:50,state:"Vermont",rate:3.62},{id:51,state:"Virginia",rate:4.74},{id:53,state:"Washington",rate:6.46},{id:54,state:"West Virginia",rate:6.48},{id:55,state:"Wisconsin",rate:4.13},{id:56,state:"Wyoming",rate:4.57},{id:72,state:"Puerto Rico",rate:14.02}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-dot-map",name:"\u70B9\u5730\u56FE",description:"\u5728\u5730\u56FE\u4E0A\u6807\u8BB0\u771F\u5B9E\u4F4D\u7F6E\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u70B9\u5730\u56FE",datasets:{"us-10m":{type:"Topology",transform:{scale:[.003589294092944858,.0005371535195261037],translate:[-179.1473400003406,17.67439566600018]},objects:{states:{type:"GeometryCollection",geometries:[{type:"MultiPolygon",arcs:[[[2170]],[[2171]],[[2172]],[[2173]],[[2174]],[[2175]],[[2176]],[[2177]],[[2178]],[[2179]],[[2180]],[[2181]],[[2182]],[[2183]],[[2184]],[[2185]],[[2186]],[[2187]],[[2188]],[[2189]],[[2190]],[[2193]],[[2194]],[[2195]],[[2196]],[[2331]],[[2197]],[[2332]],[[2198]],[[2199]],[[2200]],[[2333]],[[2201]],[[2334]],[[2335]],[[2202]],[[2336]],[[2203]],[[2204]],[[2208]],[[2337]],[[2205]],[[2338]],[[2339]],[[2340]],[[2341]],[[2221]],[[2342]],[[2242]],[[2209]],[[2343]],[[2243]],[[2344,2345]],[[2244]],[[2245]],[[2222]],[[2217]],[[2223]],[[2224]],[[2191]],[[2246]],[[2247]],[[2248]],[[2249]],[[2225]],[[2192]],[[2275]],[[2276,2394,2277]],[[2226]],[[2227]],[[2228]],[[2254]],[[2229]],[[2260,2261,2262,2280,2278,2252,2395,2253,2279,2263]],[[2237]],[[2236,2258,2396,2259,2234,2235,2264]],[[2230]],[[2231]],[[2211]],[[2309]],[[2310]],[[2293]],[[2294]],[[2295]],[[2296]],[[2297]],[[2285]],[[2298]],[[2311]],[[2299]],[[2286]],[[2301]],[[2302]],[[2303]],[[2287]],[[2305]],[[2281]],[[2282]],[[2283]],[[2327]],[[2328]],[[2322]],[[2265,2319,2316,2317,2308,2306,2312,2304,2313,2300,2314,2292,2291,2315,2397,2232,2233,2218,2207,2398,2206,2219,2210,2220,2216,2213,2214,2215,2289,2212,2290,2288,2284,2330,2329,2325,2326,2324,2323,2320,2321,2307,2318,2266,2274,2269,2272,2238,2257,2250,2347,2346,2251,2255,2399,2256,2239,2400,2401,2240,2270,2241,2271,2268,2273,2267]]],id:2},{type:"MultiPolygon",arcs:[[[2162]],[[2166]],[[2165]],[[2167]],[[2402,2164]],[[2168]],[[2169]],[[2163]]],id:15},{type:"MultiPolygon",arcs:[[[2391]],[[2372,2353,2350,2356,2373,2355,2357,2362,2393,2380,2403,2360,2359,2374,2358,2384,2386,2383,2388,2389,2387,2390,2379,2385,2366,2404,2375,2370,2371,2352,2361,2377,2354,2369,2376,2351,2364,2365,2349,2363,2405,2348,2367,2368,2378]]],id:72},{type:"MultiPolygon",arcs:[[[-1500,-1499,-1502,-1501,-1508,1544,-1548,-1549,1557,-1581,-1582,1584,-1618,1628,1629,-1640,1662,1663,-1682,1684,-1700,1712,-1731,-1734,1735,-1755,1755,1756,-1768,1768,-1780,1803,1804,1808,1809,1810,1777,1778,1805,1806,1807,1799,1800,1801,2406,1802,1815,1816,1817,-1789,1772,-1765,1739,1740,-1733,1694,1695,-1681,1659,-1645,1625,-1619,1602,-1595,1583,-1543,-1544,1541,-1484,-1466,-1467,-1472,-1471]]],id:1},{type:"Polygon",arcs:[[-1305,-1304,-1291,-1358,-1357,-1356,-1365,-1364,-1363,-1265,-1332,-1331,-1330,-1355,-1354,-1317,-1379,-1378,-1377,-1376,-1409,-1424,1432,1433,1434,1435,-1454,1474,1475,1476,1554,-1557,1574,1575,-1617,-1616,1654,1655,1656,1657,1658,1672,1676,1677,1669,1670,1665,1666,1646,1647,1648,-1646,1630,-1590,-1589,-1588,1573,-1498,-1497,1472,1473,-1455,1444,-1427,1417,1406,-1372,-1368]],id:5},{type:"Polygon",arcs:[[-1074,-1272,1272,1273,1274,-1583,1642,1643,-1702,1736,1771,1734,1667,1668,1603,1604,-1443,-1442,-1350,-1055,-1176,-1195,-1194,-1076,-1075]],id:4},{type:"MultiPolygon",arcs:[[[1561]],[[1562]],[[1528]],[[1529]],[[-424,-423,-426,611,-616,-615,-614,-613,932,933,-976,-975,-974,-874,-977,1044,-1078,-963,1207,-1351,1441,1442,-1605,-1604,-1669,1671,1661,1631,1632,1633,1634,1635,1563,1564,1565,1566,1567,1568,1555,1530,1443,1320,1242,1162,1149,1161,1197,1143,1121,1093,1042,1062,1027,1061,1028,1029,1092,1030,852,666,667,610,-486,-499,-498,-484]]],id:6},{type:"Polygon",arcs:[[-539,-538,-650,-649,-675,-674,-670,-669,-693,-709,-708,751,-757,780,781,-852,903,904,-969,982,-1049,-1048,1100,1101,-1158,1167,1168,1169,1150,1151,1165,1166,1213,1214,1211,1212,1171,1170,-1073,-1072,-1071,1055,-916,840,-743,-742,709,710,-570,-537,-536,-535]],id:8},{type:"MultiPolygon",arcs:[[[-550,-549,-548,-508,-507,-506,602,603,-625,635,636,651,652,2407,653,643,644,645,646,-588,-587,-500]]],id:9},{type:"MultiPolygon",arcs:[[[992,993,-929,-973]]],id:11},{type:"MultiPolygon",arcs:[[[863,927,994,995,996,997,998,999,-966,925,926,-923,864,865,-816,-846,-867,-845]]],id:10},{type:"MultiPolygon",arcs:[[[2108,2109,2110,2111,2112,2113,2114,2115,2116,2117,2118]],[[2071]],[[1980]],[[1932]],[[2408,2409,1966,1967,1968,1969,2410,2411,2412,2413,1965,2414]],[[1892]],[[1906,1903,1904,1905,1866,1867,1868,1869,1870]],[[2103,2415,2416,2417,2418,2104,2419,2420,2105,2106,2119,2120,2121,2122,2123,2124,2125,2126,2127,2128,2129,2130,2131,2132,2133,2134,2135,2136,2137,2138,2139,2140,2141,2142,2143,2144,2145,2083,-2085,2085,2086,2087,2088,2089,2090,2091,2092,2093,2094,2095,2096,2097,2098,2099,2072,2069,2043,2068,2044,2045,2046,2047,2048,2049,2035,2030,2028,2029,2016,2013,1996,1997,1998,1999,2e3,2001,2002,2421,1976,1977,1978,2146,1889,1854,1890,1934,1909,1933,1910,1885,1911,1886,1887,1841,2422,1842,1840,1839,1837,1838,-1800,-1808,-1807,-1806,-1779,-1778,-1811,-1810,-1809,-1805,-1831,-1824,-1826,-1825,-1830,-1829,-1828,-1827,-1835,-1858,-1834,-1845,-1844,-1815,-1814,-1781,-1833,-1832,-1823,1845,1846,1847,1848,1871,1872,1873,1874,1875,1876,-1878,1878,1879,1880,1881,1882,1883,1884,1914,1954,1979,1987,1986,1983,1984,1953,1900,1865,1861,1862,1863,1864,1901,1902,1893,1894,1895,1896,1897,1898,2423,2424,1899,1962,1963,1964,1985,1981,2004,2425,2005,2006,1982,2003,2034,2040,2426,2041,2042,2062,2063,2064,2427,2065,2428,2066,2067,2070,2102,2107]]],id:12},{type:"MultiPolygon",arcs:[[[1818]],[[2429,1781]],[[1773]],[[-1758,1758]],[[1745]],[[1746,-1748,1748,1749,1750]],[[1759,1774,1775,1776,1782,2430,2431,2432,1783,1784,1785,1786,1787,1819,1820,1821,1822,1831,1832,1780,1813,1814,1843,1844,1833,1857,1834,1826,1827,1828,1829,1824,1825,1823,1830,-1804,1779,-1769,1767,-1757,-1756,1754,-1736,1733,1730,-1713,1699,-1685,1681,-1664,-1663,1639,-1630,-1629,1617,-1585,1581,1580,-1558,1548,1547,-1545,-1507,-1470,-1469,-1468,-1504,-1503,-1513,-1512,-1510,-1509,-1523,-1522,-1521,-1505,-1537,-1536,-1535,-1534,-1533,-1532,-1571,-1570,-1594,1608,-1622,-1621,-1620,-1628,-1627,-1638,-1637,-1665,1679,-1684,1687,-1689,-1712,-1711,-1710,1751,1752,1753,1744,1760]]],id:13},{type:"Polygon",arcs:[[-417,439,-449,-467,-466,-465,510,-529,544,-577,600,601,-622,-621,-620,671,-682,703,-705,745,746,728,729,730,731,738,739,736,737,734,735,732,733,726,727,724,725,722,723,-706,696,-696,-695,662,663,-641,617,-600,575,-569,520,521,-478,-477,462,-441,438,-410,-391,-394,-393,-407,-406,-405,-412,-411,-409,-408,-396,-395,-399,-398,-397,-404,-403,-402,-401]],id:19},{type:"Polygon",arcs:[[32,-38,63,-151,158,-167,-164,-163,188,-191,-255,-254,-253,-257,-233,336,-343,-342,421,-454,-453,515,539,529,530,508,509,487,419,420,-355,353,-353,-352,333,-301,294,-250,189,192,193,194,-173,-172,168,-161,-160,64,-52,33,34]],id:16},{type:"Polygon",arcs:[[-497,-496,-491,-490,-493,-492,-495,-494,-513,-512,531,-533,577,578,634,-638,686,-694,706,-754,773,774,-833,858,-901,916,-949,-948,-947,961,-1025,-1024,1059,-1064,1106,-1113,-1112,1140,-1146,1179,1180,1181,1182,-1211,1233,1237,1238,1234,1235,1236,-1179,-1178,-1177,-1145,1139,1113,1114,1064,1065,-1027,-1026,-1037,989,990,991,943,920,921,-902,861,862,-856,820,-815,758,759,-746,704,-704,681,-672,619,620,621,-602,-601,576,-545,528,-511,-464]],id:17},{type:"Polygon",arcs:[[-597,-596,-592,-591,-595,628,-639,659,-671,689,690,-712,714,-756,769,-784,-783,850,-857,878,-903,-938,938,939,-965,-964,1019,1020,1021,1022,-1044,1056,1057,1088,1083,1084,1085,1082,1103,1104,1105,1115,1116,1107,1108,1117,1118,1109,1110,1111,1112,-1107,1063,-1060,1023,1024,-962,946,947,948,-917,900,-859,832,-775,-774,753,-707,693,-687,637,-635,-579,-578,-627,-626,-628,-575,-574,-599,-598]],id:18},{type:"Polygon",arcs:[[-791,-799,-798,-797,-794,-793,-800,-788,-787,-786,-785,-790,-789,-795,-796,-773,-772,-809,-808,-813,-812,-811,-814,-838,853,-868,895,-913,-912,-919,-959,-958,978,-1036,1041,-1077,1091,-1124,-1123,1163,1164,-1230,1230,1231,1232,1226,1227,1220,1221,1240,1241,1198,1199,1200,1201,1222,1223,1205,1206,1224,1225,1203,1204,1202,1218,1219,1217,1215,1216,-1168,1157,-1102,-1101,1047,1048,-983,968,-905,-904,851,-782,-792]],id:20},{type:"MultiPolygon",arcs:[[[-936,-935,-943,-942,-941,-951,-950,981,-981,-980,-989,-988,-987,-986,-1035,-1034,1069,1068,-1088,-1087,-1137,-1136,1153,1154,1155,1156,1243,-1248,1268,1296,1297,1291,1292,1294,1295,1288,1289,1327,1328,1300,1351,1352,1301,1302,1335,1336,1255,1256,1257,1248,1249,1269,1369,1370,1298,1299,1365,1366,1372,1373,-1340,-1261,-1260,-1259,1245,-1235,-1239,-1238,-1234,1210,-1183,-1182,-1181,-1180,1145,-1141,-1111,-1110,-1119,-1118,-1109,-1108,-1117,-1116,-1106,-1105,-1104,-1083,-1086,-1085,-1084,-1089,-1058,-1057,1043,-1023,-1022,-1021,-1020,963,964,-940,-939,-937]]],id:21},{type:"MultiPolygon",arcs:[[[1955]],[[1944]],[[1929]],[[1918,1919,1920,1921,1922,1923,2433,1924,1950,1945,1946,1947,1948,1949,1908,1943,1936,1937,1938,2434,1939,1940,2435,1941,2436,2437,1942,1961,1956,1957,1958,1959,1960,1935,1930,1928,1931,-1916,-1908,1888,-1813,-1812,1792,1765,1766,-1764,1738,-1738,1689,1690,1691,-1679,-1648,-1647,-1667,-1666,-1671,-1670,-1678,-1677,-1673,-1659,-1658,-1657,-1693,1693,-1730,-1729,-1728,-1727,1741,1742,1743,1769,1770,-1792,-1791,-1796,-1795,-1794,-1798,-1797,-1799,-1790,-1837,-1836,1851,1852,1912,1925,1926,1913,1927]]],id:22},{type:"MultiPolygon",arcs:[[[672]],[[661]],[[588,564,579,580,581,582,583,546,504,505,506,507,547,548,549,499,500,501,-485,-456,-455,-462,-473,-472,-471,-470,-469,-468,-460,488,2438,502,2439,503,533,545,565,2440,563,589]]],id:25},{type:"MultiPolygon",arcs:[[[944]],[[1078,1079,1080,1095,1096,1094,1060,1046,1045,966,967,1003,1004,945,923,889,890,891,892,924,955,2441,956,953,954,1037,1038,969,970,1049,1067,1066,1050,971,972,928,929,930,893,879,880,881,882,883,884,885,886,887,888,-834,-807,-806,-801,-832,-831,-805,-804,-843,-842,-820,-819,-818,-803,-802,-817,-866,-865,922,-927,-926,965,-1e3,-999,-998,1081]]],id:24},{type:"MultiPolygon",arcs:[[[296]],[[297]],[[377,378,362,338,380,373,376,375,374,412,413,-369,-368,285,286,287,288,264,202,167,263,298,210,335,359,360,361,379]]],id:23},{type:"MultiPolygon",arcs:[[[-150]],[[-149]],[[-99,-98,-97,-96,-95,-94,-93,-92,-91,-90,-89,-88,-87,-86,-630,584,585,592,593,594,590,591,595,596,597,598,573,574,-113,-112,-111,-110,-109,-108,-107,-106,-105,-104,-103,-102,-101,-100]],[[-148]],[[-146,-147]],[[-145,-144]],[[-143]],[[-130,-129,-128,-127,-126,-125,-124,-123,-122,-121,-120,-119,-118,-117,-116,-115,-114,250,251,227,228,229,205,206,207,178,179,180,181,-133,-132,-131]],[[-142,-141,-140,-139,-138,-137,-136]],[[-135]]],id:26},{type:"MultiPolygon",arcs:[[[65,81,152,2149,2148,151,67,68,69,70,71,72,73,74,75,76,77,78,79,80,176,177,208,209,-237,261,-263,292,293,331,-333,339,-341,-348,-347,-346,-349,371,-383,-382,399,400,401,402,403,396,397,398,394,395,407,408,410,411,404,405,406,392,393,390,391,-371,369,343,-331,-330,295,-290,267,-256,248,-197,195,174,-174,165,-162,154,-154,82,83,-45,46,60,2147]]],id:27},{type:"Polygon",arcs:[[-747,-760,-759,814,-821,855,-863,-862,901,-922,-921,-944,-992,-991,-990,1036,1025,1026,-1066,-1065,-1115,-1114,-1140,1144,1176,1177,1178,-1237,-1236,-1246,1258,1259,1260,1339,1340,1341,1342,-1405,1407,1408,1375,1376,1377,1378,1316,1353,1354,1329,1330,1331,1264,1362,1363,1364,1355,1356,1357,1290,1303,1304,1367,1368,-1271,1265,-1231,1229,-1165,-1164,1122,1123,-1092,1076,-1042,1035,-979,957,958,918,911,912,-896,867,-854,837,813,-810,-771,768,-751,-723,-726,-725,-728,-727,-734,-733,-736,-735,-738,-737,-740,-739,-732,-731,-730,-729]],id:29},{type:"MultiPolygon",arcs:[[[-1485,-1542,1543,1542,-1584,1594,-1603,1618,-1626,1644,-1660,1680,-1696,-1695,1732,-1741,-1740,1764,-1773,1788,-1818,-1817,1849,1850,1853,1858,1859,-1852,1835,1836,1789,1798,1796,1797,1793,1794,1795,1790,1791,-1771,-1770,-1744,-1743,-1742,1726,1727,1728,1729,-1694,1692,-1656,-1655,1615,1616,-1576,-1575,1556,-1555,-1477,-1476,-1491,-1490,-1495,-1494,-1480,-1479,-1478,-1496,-1486]]],id:28},{type:"Polygon",arcs:[[40,58,54,41,42,35,30,43,62,-56,61,-67,155,-157,169,-171,185,186,187,237,238,239,257,258,259,246,247,265,266,233,230,231,232,256,252,253,254,190,-189,162,163,166,-159,150,-64,37,-33,38,31]],id:30},{type:"MultiPolygon",arcs:[[[1418,2442,1419]],[[1420]],[[-1306,1388,1422,1389,1390]],[[-1308,1391,-1393,1393]],[[1386,1394,1395,1396,1397,1401,1402,-1396,1403,1410,1411,1385,1398,1416,1437,1436,1449,1421,1450,1448,1440,1447,1505,1488,1513,1487,1527,1523,1524,1525,1526,1545,1546,1571,1572,1595,2443,1596,1597,1598,1599,1600,1601,1592,1549,1550,1551,1537,1519,1514,1515,1516,1461,1462,1486,1458,1459,1456,1457,1491,1492,1464,1480,1481,1482,1460,1504,1520,1521,1522,1508,1509,1510,-1453,-1452,-1440,-1439,-1431,-1430,-1426,-1425,-1410,-1416,-1415,-1414,-1413,-1401,-1400,-1383,-1382,-1381,-1361,-1360,-1359,-1313,-1339,-1338,-1349,-1348,-1254,-1253,-1375,-1252,-1264,-1263,-1262,-1327,-1326,-1325,-1268,-1267,-1322,-1288,-1287,-1286,-1319,-1318,-1347,-1346,-1310,1387]]],id:37},{type:"Polygon",arcs:[[44,-84,-83,153,-155,161,-166,173,-175,-196,196,197,220,221,224,225,222,223,191,204,218,219,226,-187,-186,170,-170,156,-156,66,-62,55,56,57,59,39,36,47,48,45]],id:38},{type:"Polygon",arcs:[[-451,-416,-446,-445,-444,-443,-442,-476,-475,-474,-482,-481,-480,-479,-522,-521,568,-576,599,-618,640,-664,-663,694,695,-697,705,-724,750,-769,770,809,810,811,812,807,808,771,772,795,794,788,789,784,785,786,787,799,792,793,796,797,798,790,791,-781,756,-752,707,708,692,668,669,673,674,-648,639,-515,-514,482,-438,-448,-447,-419,-418,-450]],id:31},{type:"MultiPolygon",arcs:[[[-287,-286,367,368,-414,435,457,458,459,467,468,469,470,471,472,-461,434,-386,356,357,-335,-320,290,291,-288]]],id:33},{type:"MultiPolygon",arcs:[[[905,2444,906,868,-870,870,-872,872,857,854,824,825,-765,-764,-763,749,700,701,-692,680,-658,-656,-655,-684,-683,697,744,721,754,765,779,778,827,828,829,822,823,874,875,876,877,931,907]]],id:34},{type:"Polygon",arcs:[[1275,1276,1277,-1429,1445,1446,-1518,1552,1553,1578,1579,-1639,1649,1650,1651,1652,1653,1696,1697,1698,1673,1674,1675,1685,1686,1731,1700,1701,-1644,-1643,1582,-1275,-1274,-1273,1271,-1171,-1172,-1213,-1212,-1215,-1214,-1167,-1166,-1152,-1151,-1170]],id:35},{type:"Polygon",arcs:[[-510,-609,609,-703,838,839,-910,1051,1052,1053,1054,1349,1350,-1208,962,1077,-1045,976,873,973,974,975,-934,-933,612,613,614,615,-612,-425,-385,-384,-356,-421,-420,-488]],id:32},{type:"MultiPolygon",arcs:[[[757]],[[687]],[[717,718,2445,719,747,752,748,720,688]],[[-318]],[[675,715,740,716,676,660,684,685,682,683,654,655,656,605,606,526,540,541,542,543,566,567,516,517,524,525,522,523,518,519,-316,-315,-314,-313,-312,-311,-310,-309,-308,-307,-306,-305,-304,-317,358,326,327,324,-322,323,-338,349,-364,-389,414,-457,484,-502,-501,586,587,-647,-646,677,678,679]]],id:36},{type:"MultiPolygon",arcs:[[[616,-619,664,-666,698,-700,712,713,-762,766,767,-822,826,-847,859,860,896,897,898,908,-920,960,959,983,984,1031,1032,1033,1034,985,986,987,988,979,980,981,949,950,940,941,942,934,935,936,937,902,-879,856,-851,782,783,-770,755,-715,711,-691,-690,670,-660,638,-629,-594,-593,-586,-585,629,-631,631,-633,633,-562,-561,-560,-559,-558,-557,-556,-555,-554,-553,-552,-551,-563,-573]]],id:39},{type:"Polygon",arcs:[[-1205,-1204,-1226,-1225,-1207,-1206,-1224,-1223,-1202,-1201,-1200,-1199,-1242,-1241,-1222,-1221,-1228,-1227,-1233,-1232,-1266,1270,-1369,1371,-1407,-1418,1426,-1445,1454,-1474,-1473,1496,1497,-1574,1587,1588,1589,1590,1591,1613,1614,1610,1611,1612,1609,1622,1623,1624,1606,1607,1585,1586,1576,1577,1558,1559,1560,1538,1539,1540,-1519,1463,-1456,1431,-1428,1383,1384,1283,1284,1280,1281,1282,1278,1279,-1276,-1169,-1217,-1216,-1218,-1220,-1219,-1203]],id:40},{type:"MultiPolygon",arcs:[[[216,235,-214,234,-241,-213,-212,-246,-245,-244,-243,-242,-184,-183,-201,-200,-199,-185,-204,-193,-190,249,-295,300,-334,351,352,353,354,355,383,384,424,425,422,423,483,497,498,485,486,426,-428,428,429,430,431,432,433,386,387,364,365,366,301,302,260,217]]],id:41},{type:"MultiPolygon",arcs:[[[-519,-524,-523,-526,-525,-518,-517,-568,-567,-544,-543,-542,-541,-527,-607,-606,-657,657,-681,691,-702,-701,-750,762,763,764,-826,836,843,844,866,845,815,816,801,802,817,818,819,841,842,803,804,830,831,800,805,806,833,834,835,848,849,-848,775,776,777,-761,743,-713,699,-699,665,-665,618,-617,572,-528,-520]]],id:42},{type:"MultiPolygon",arcs:[[[641]],[[642,-581]],[[-584,-583,622,604,623,650,-636,624,-604,-603,-505,-547]]],id:44},{type:"MultiPolygon",arcs:[[[1713]],[[1722]],[[1723]],[[2158,2159,1660,2155,2156,2446,2157,1682,1724,1725,1702,2447,1703,2448,1704,1721,1714,1715,1716,1717,1718,1719,1720,1705,1706,1707,1708,1709,1710,1711,1688,-1688,1683,-1680,1664,1636,1637,1626,1627,1619,1620,1621,-1609,1593,1569,1570,1531,1532,1533,1534,1535,1536,-1461,-1483,-1482,-1481,-1465,-1493,-1492,-1458,-1457,-1460,-1459,-1487,-1463,-1462,-1517,-1516,-1515,-1520,-1538,-1552,-1551,-1550,-1593,-1602,1605,1640,1641,2160,2161]]],id:45},{type:"Polygon",arcs:[[-205,-192,-224,-223,-226,-225,-222,-221,-198,-249,255,-268,289,-296,329,330,-344,-370,370,-392,409,-439,440,-463,476,477,478,479,480,481,473,474,475,441,442,443,444,445,415,450,449,417,418,446,447,-437,389,-373,350,344,-329,299,-239,-238,-188,-227,-220,-219]],id:46},{type:"Polygon",arcs:[[-1250,-1249,-1258,-1257,-1256,-1337,-1336,-1303,-1302,-1353,-1352,-1301,-1329,-1328,-1290,-1289,-1296,-1295,-1293,-1292,-1298,-1324,-1323,-1335,-1334,-1333,-1314,-1380,-1316,-1315,-1362,1380,1381,1382,1399,1400,1412,1413,1414,1415,1409,1424,1425,1429,1430,1438,1439,1451,1452,-1511,1511,1512,1502,1503,1467,1468,1469,1506,1507,1500,1501,1498,1499,1470,1471,1466,1465,1483,1484,1485,1495,1477,1478,1479,1493,1494,1489,1490,-1475,1453,-1436,-1435,-1434,-1433,1423,-1408,1404,-1343,-1406,-1341,-1374,-1373,-1367,-1366,-1300,-1299,-1371,-1370,-1270]],id:47},{type:"MultiPolygon",arcs:[[[2449,2078,2075,2076,2077,2450,2451]],[[2051,2052,2053,2054]],[[2055,2056,2036,2452,2037,2057]],[[2031]],[[2017]],[[2007,2453,2008]],[[1971]],[[1972,1975,1993,1992,2454,1988,2012,2010,2011,1989,1990,2455,1991,1994,2009,2014,2022,2456,2457,2458,2023,2021,2015,2018,2025,2020,2019,2026,2459,2027,2033,2032,2038,2039,2060,2061,2058,2059,2082,2079,2080,2081,2101,2100,2074,2073,2050,2024,1995,1970,1891,1856,1855,1860,1761,1762,-1686,-1676,-1675,-1674,-1699,-1698,-1697,-1654,-1653,-1652,-1651,-1650,1638,-1580,-1579,-1554,-1553,1517,-1447,-1446,1428,-1278,-1277,-1280,-1279,-1283,-1282,-1281,-1285,-1284,-1385,-1384,1427,-1432,1455,-1464,1518,-1541,1539,-1539,-1561,-1560,-1559,-1578,-1577,-1587,-1586,-1608,-1607,-1625,-1624,-1623,-1610,-1613,-1612,-1611,-1615,-1614,-1592,-1591,-1631,1645,-1649,1678,-1692,-1691,-1690,1737,-1739,1763,-1767,-1766,-1793,1811,1812,-1889,1907,1915,1916,1951,1974,1952,1917,1973]]],id:48},{type:"Polygon",arcs:[[-452,607,-659,-572,-571,-711,-710,741,742,-841,915,-1056,1070,1071,1072,1073,1074,1075,1193,1194,1175,-1054,-1053,-1052,909,-840,-839,702,-610,608,-509,-531,-530,-540,-516]],id:49},{type:"MultiPolygon",arcs:[[[1124,1125,1126,1189,1190,1127,1128,1129,-1080,1130]],[[1147,1120,1097,1089,1119,1152,1183,1195,1184,1137,1141,1142,1172,1173,1174,1209,2460,1228,2461,2462,1254,1246,1208,1196,1160,1188,2463,1239,1244,1250,1319,2464,1343,2465,2466,1344,1310,1293,1311,1305,1306,1307,1308,1309,1345,1346,1317,1318,1285,1286,1287,1321,1266,1267,1324,1325,1326,1261,1262,1263,1251,1374,1252,1253,1347,1348,1337,1338,1312,1358,1359,1360,1361,1314,1315,1379,1313,1332,1333,1334,1322,1323,-1297,-1269,1247,-1244,-1157,-1156,-1155,-1154,-1135,-1193,-1192,-1188,-1187,-1186,-1147,-1160,-1159,1138,-1103,1099,-1041,-1040,-1003,-1002,-1001,-953,-952,917,-911,-895,-900,-915,-914,-880,-894,-931,-930,-994,1018,-1007,1007,1008,1009,1010,-1012,1012,1013,1014,1015,1016,1017,2467,2468,977,1005,1058,1090,1098,1133,1131,1132,1148]]],id:51},{type:"Polygon",arcs:[[325,320,-291,319,334,-358,-357,385,-435,460,461,454,455,456,-415,388,363,-350,337,-324,321,322,318]],id:50},{type:"MultiPolygon",arcs:[[[-29]],[[-28]],[[-27]],[[-26]],[[-23]],[[-24]],[[-25]],[[-22,-21,29,49,53,50,52,-34,51,-65,159,160,-169,171,172,-195,-194,203,184,198,199,200,182,183,241,242,243,244,245,211,212,240,-235,213,214,215,175,164,157,84,-20,-19,-18,-17,-16,-15,-14,-13,-12,-11,-10,-9,-8,-7,-6,-5,-4,2,-2,-1]]],id:53},{type:"MultiPolygon",arcs:[[[-285]],[[-2155]],[[-2154,201,-134,-182,-181,-180,-179,-208,-207,-206,-230,228,-228,-252,-284,-283,-282,-281,-280,-279,-278,-277,-276,-275,-274,-273,-272,-271,-270,-269,511,512,493,494,491,492,489,490,495,496,463,464,465,466,448,-440,416,-400,381,382,-372,348,345,346,347,340,-340,332,-332,-294,-293,262,-262,236,-210,-209,-178,-177,-81,2150,2151,2152]]],id:55},{type:"Polygon",arcs:[[760,-778,-777,-776,847,-850,-849,-836,-835,-889,-888,-887,-886,-885,-884,-883,-882,-881,913,914,899,894,910,-918,951,952,1e3,1001,1002,1039,1040,-1100,1102,-1139,1158,1159,1146,1185,1186,1187,1191,1192,1134,1135,1136,1086,1087,1068,-1070,-1033,-1032,-985,-984,-960,-961,919,-909,-899,-898,-897,-861,-860,846,-827,821,-768,-767,761,-714,-744]],id:54},{type:"Polygon",arcs:[[-266,-248,-247,-260,-259,-258,-240,-300,328,-345,-351,372,-390,436,437,-483,513,514,-640,647,648,649,537,538,534,535,536,569,570,571,658,-608,451,452,453,-422,341,342,-337,-232,-231,-234,-267]],id:56},{type:"MultiPolygon",arcs:[[[2392]],[[2382]],[[2381]]],id:78}]}},arcs:[[[15739,57220],[76,-211]],[[15815,57009],[-6,-86]],[[15809,56923],[0,0]],[[15809,56923],[2,-40]],[[15811,56883],[0,-840]],[[15811,56043],[14,-387]],[[15825,55656],[-2,1]],[[15823,55657],[-19,-466]],[[15804,55191],[-77,-416]],[[15727,54775],[-105,3]],[[15622,54778],[67,428]],[[15689,55206],[0,16]],[[15689,55222],[9,41]],[[15698,55263],[46,83]],[[15744,55346],[3,0]],[[15747,55346],[21,-2]],[[15768,55344],[7,949],[-138,-730]],[[15637,55563],[9,159]],[[15646,55722],[52,899],[-35,-44]],[[15663,56577],[-309,205],[-193,385]],[[15711,58322],[59,-420],[15,-244]],[[15785,57658],[-46,-438]],[[15675,57235],[0,0]],[[15644,57453],[0,0]],[[15674,57553],[0,0]],[[15815,56278],[-62,564],[-45,21],[107,-585]],[[15777,55663],[0,0]],[[15782,55209],[0,0]],[[15677,54897],[0,0]],[[15711,58322],[530,-4]],[[20051,58318],[297,-2]],[[17947,58319],[184,-3]],[[17580,58319],[0,-929]],[[17304,58032],[0,284]],[[17304,58316],[276,3]],[[19756,58316],[295,2]],[[21999,58316],[184,0]],[[17579,56857],[1,533]],[[17580,58319],[367,0]],[[21634,58316],[365,0]],[[18131,58316],[523,-1]],[[19058,58315],[349,3]],[[19407,58318],[349,-2]],[[20348,58316],[294,0]],[[22823,58319],[19,-852]],[[22622,58319],[201,0]],[[22823,58319],[229,-1]],[[22183,58316],[147,2]],[[22330,58318],[292,1]],[[16241,58318],[562,0]],[[16981,58318],[213,1]],[[17304,58032],[-1,-1491]],[[17194,58319],[110,-3]],[[16803,58318],[178,0]],[[18911,58313],[147,2]],[[20923,57637],[0,681]],[[20923,58318],[308,-2]],[[21231,58316],[257,0]],[[18654,58315],[257,-2]],[[21488,58316],[146,0]],[[23052,58318],[302,-2]],[[20923,57637],[0,-456]],[[20642,58316],[281,2]],[[17579,56857],[0,-441]],[[17303,56413],[0,128]],[[23603,57761],[177,-344],[197,208]],[[20924,56449],[-1,732]],[[24337,54483],[-77,-352]],[[24260,54131],[15,-81]],[[24275,54050],[0,-1]],[[24275,54049],[-15,82]],[[24260,54131],[-8,0]],[[24252,54131],[-1,0]],[[24251,54131],[-18,-59]],[[24233,54072],[-1,0]],[[24232,54072],[-8,-20]],[[24224,54052],[0,-4]],[[24224,54048],[-1,-71]],[[24223,53977],[0,-16]],[[24223,53961],[0,1]],[[24223,53962],[-25,6]],[[23977,57625],[161,-336],[126,-164],[72,-292]],[[22846,56780],[1,35]],[[22847,56815],[-5,652]],[[15194,56234],[-33,933]],[[26653,44788],[79,561]],[[26732,45349],[91,777]],[[26823,46126],[46,438]],[[26869,46564],[57,898]],[[26926,47462],[-29,971]],[[26897,48433],[-130,578],[-110,-508]],[[26657,48503],[-65,-257]],[[26592,48246],[-58,597]],[[26534,48843],[96,470]],[[26630,49313],[68,649]],[[26698,49962],[0,646]],[[26698,50608],[-19,649]],[[26679,51257],[-202,558],[-25,222]],[[26452,52037],[-147,301]],[[26305,52338],[-54,-681],[-48,-105]],[[26203,51552],[-81,-294]],[[26122,51258],[-15,-648]],[[26107,50610],[-42,-169],[-14,12]],[[26051,50453],[-46,322],[-74,-316]],[[25931,50459],[-45,-485]],[[25886,49974],[-43,-632]],[[25843,49342],[-12,-669]],[[25831,48673],[-8,-647]],[[25823,48026],[53,-658]],[[25876,47368],[17,-653]],[[25893,46715],[-18,-648]],[[25875,46067],[-25,-328]],[[25850,45739],[-128,-899]],[[25508,51049],[91,846]],[[25599,51895],[83,221],[69,-1],[72,166]],[[25823,52281],[149,314],[17,79]],[[25989,52674],[236,82],[219,-51]],[[26444,52705],[5,0]],[[26449,52705],[28,-6]],[[26477,52699],[-31,339],[-19,564]],[[26427,53602],[-2,11]],[[26425,53613],[-2,9]],[[26423,53622],[-136,-59],[-123,575]],[[26164,54138],[-175,-122]],[[25989,54016],[-258,-395],[-91,33]],[[25640,53654],[-217,770],[-41,6]],[[25382,54430],[-114,50]],[[25268,54480],[5,96]],[[25273,54576],[-51,389]],[[25222,54965],[-2,47]],[[25220,55012],[-86,-359]],[[25134,54653],[-239,-397],[-27,-98]],[[24868,54158],[-147,-373]],[[24721,53785],[0,1]],[[25213,56702],[-143,-575],[206,676],[-63,-101]],[[25436,55477],[-184,-350]],[[25252,55127],[-1,0]],[[25251,55127],[-31,-115]],[[25220,55012],[2,-47]],[[25222,54965],[51,-389]],[[25273,54576],[58,390]],[[25331,54966],[105,511]],[[25764,53572],[0,0]],[[26475,53363],[-40,289]],[[26435,53652],[40,-289]],[[26551,52665],[78,-77]],[[26629,52588],[-29,210],[-49,-133]],[[26392,52213],[0,0]],[[26073,51936],[-17,22],[17,-22]],[[25950,50972],[0,0]],[[17697,55487],[-57,512],[-61,417]],[[24552,55460],[-215,-977]],[[24336,56833],[153,-220],[60,196]],[[22846,56780],[70,-930]],[[22927,55525],[-11,325]],[[20924,56449],[0,-1115]],[[20924,55209],[0,125]],[[15266,55588],[-72,646]],[[17697,55487],[86,-415],[100,-602]],[[17303,56413],[0,-1137]],[[17303,55276],[0,-200]],[[22927,55525],[6,-488]],[[18058,53962],[-73,-49]],[[17985,53913],[-23,192]],[[15337,54211],[-14,442],[-57,935]],[[22931,54875],[2,162]],[[17962,54105],[-79,365]],[[30403,53801],[271,1268],[194,191],[159,-2633],[-8,-489]],[[17303,54831],[0,245]],[[20924,55209],[0,-1283]],[[20924,53739],[0,187]],[[17303,54831],[0,-1090]],[[17303,53741],[0,-214]],[[22931,54875],[12,-968]],[[22947,53906],[-4,1]],[[15440,53274],[-83,542],[19,54],[-39,341]],[[24198,53968],[0,0]],[[24198,53968],[0,-459]],[[25118,52914],[-261,377]],[[24857,53291],[0,-23]],[[24857,53268],[0,23]],[[24857,53291],[-136,494]],[[16761,52732],[-124,-152]],[[16637,52580],[-121,-153]],[[17181,52729],[-34,2]],[[20924,53739],[0,-486]],[[20924,53253],[0,-622]],[[20924,52631],[0,-118]],[[18058,53962],[-46,-1769],[-19,-284]],[[17402,51370],[-31,1094]],[[18168,52166],[-175,-257]],[[22084,52624],[-177,4]],[[17371,52464],[-33,259]],[[17338,52723],[-35,803]],[[17303,53526],[0,1]],[[23005,52773],[-58,1133]],[[23005,52773],[3,-161]],[[23008,52612],[-185,0]],[[17147,52731],[-105,3]],[[17042,52734],[-5,0]],[[17037,52734],[-276,-2]],[[24684,53819],[37,-33]],[[30255,52113],[66,658],[72,735],[10,295]],[[17338,52723],[-157,6]],[[21907,52628],[-413,2]],[[25362,52586],[-158,173]],[[25204,52759],[-70,110]],[[25134,52869],[-16,45]],[[24198,53509],[0,-483]],[[24198,53026],[-153,-797]],[[30740,50284],[-1,-3]],[[16055,52220],[-113,-140]],[[15942,52080],[-90,-189]],[[15703,52455],[-119,599]],[[15584,53054],[0,6]],[[15584,53060],[-144,214]],[[15457,53056],[84,-60]],[[15374,52329],[56,784],[27,-57]],[[21494,52630],[-263,0]],[[21231,52630],[-15,1]],[[22823,52612],[-209,1]],[[22614,52613],[-8,0]],[[22328,52621],[-200,1]],[[22128,52622],[-44,2]],[[22606,52613],[-200,6]],[[22406,52619],[-78,2]],[[21216,52631],[-292,0]],[[25437,52216],[-59,108]],[[25378,52324],[0,0]],[[25378,52324],[-16,262]],[[18974,50874],[-4,-624]],[[18970,50250],[3,-359]],[[18973,49891],[-92,518]],[[19321,50875],[-347,-1]],[[15703,52455],[5,-229]],[[15541,52996],[43,58]],[[24033,52070],[12,159]],[[20924,52513],[1,-1246]],[[20925,51267],[-5,-401]],[[20920,50866],[-273,6]],[[15852,51891],[-144,335]],[[16516,52427],[-37,-43]],[[16479,52384],[-183,-140]],[[16296,52244],[-72,-179]],[[16224,52065],[-148,104]],[[16076,52169],[-21,51]],[[20306,50859],[-459,15]],[[19847,50874],[-94,-4]],[[22933,51962],[75,650]],[[17402,51370],[-27,-352]],[[25508,51049],[-7,11]],[[25501,51060],[-49,749],[-15,407]],[[18855,50330],[-41,-296]],[[18814,50034],[-178,38],[-146,-160],[-10,-203]],[[18480,49709],[-120,831],[-124,821],[-68,805]],[[22933,51962],[101,-484]],[[18881,50409],[-26,-79]],[[20647,50872],[-14,0]],[[20633,50872],[-261,-13]],[[20372,50859],[-66,0]],[[15364,50954],[10,1375]],[[24033,52070],[39,-648]],[[24069,51261],[3,161]],[[31019,52138],[91,-726],[120,-670],[-31,-498],[-109,-43],[-77,-103],[-44,-154]],[[30177,51386],[78,727]],[[19753,50870],[-104,2]],[[19649,50872],[-328,3]],[[23039,51371],[-5,107]],[[25449,46203],[-1,327]],[[25448,46530],[-6,323]],[[25442,46853],[-18,652]],[[25424,47505],[28,654]],[[25452,48159],[17,650]],[[25469,48809],[52,810]],[[25521,49619],[47,647]],[[25568,50266],[83,717],[-149,-417],[-34,-297]],[[25468,50269],[-8,-60]],[[25460,50209],[-64,54]],[[25396,50263],[0,8]],[[25396,50271],[1,0]],[[25397,50271],[-1,-8]],[[25396,50263],[1,8]],[[25397,50271],[63,537]],[[25460,50808],[41,252]],[[25708,51489],[0,0]],[[30134,48619],[0,5]],[[30134,48624],[-6,915]],[[30128,49539],[-21,1901]],[[30107,51440],[70,-54]],[[23039,51371],[0,-542]],[[29918,49765],[75,942],[-2,189]],[[29991,50896],[116,544]],[[24069,51261],[-4,-647]],[[24065,50614],[-9,-214]],[[17343,50573],[32,445]],[[23040,50510],[-1,319]],[[30776,49283],[0,0]],[[30872,49423],[46,197],[-46,-197]],[[30969,49944],[-58,33],[-102,-223],[-72,16],[3,514]],[[20921,50072],[-1,794]],[[17343,50573],[-90,-1002]],[[15331,49524],[33,1430]],[[15364,50954],[0,0]],[[28659,49030],[-5,-322],[28,-294]],[[28682,48414],[2,-1]],[[28684,48413],[3,-1]],[[28687,48412],[-121,-487]],[[28566,47925],[-30,-143]],[[28536,47782],[0,-9]],[[28536,47773],[-182,-111]],[[28354,47662],[-172,165]],[[28182,47827],[-131,11]],[[28051,47838],[-117,-646]],[[27934,47192],[-70,-846]],[[27864,46346],[0,-2]],[[27864,46344],[-175,-557]],[[28626,49219],[33,-189]],[[27913,47070],[0,0]],[[29520,50896],[178,-10]],[[29918,49765],[-21,-108]],[[29881,50886],[110,10]],[[29473,50059],[5,832]],[[29478,50891],[42,5]],[[29473,50059],[6,-31]],[[29287,50863],[191,28]],[[29698,50886],[183,0]],[[28776,49760],[316,1101]],[[29092,50861],[195,2]],[[20921,50072],[0,-727]],[[23040,50510],[0,-325]],[[23040,50185],[-1,-164]],[[24056,50400],[20,-61]],[[24192,50016],[-116,323]],[[17343,49292],[-90,279]],[[29897,49657],[-56,-357]],[[30739,50281],[-59,-807]],[[18973,49891],[0,-912]],[[29486,49501],[-7,527]],[[30477,49268],[-1,0]],[[24192,50016],[19,-161]],[[24256,49769],[-45,86]],[[18974,47736],[0,344]],[[18974,48080],[-1,899]],[[23039,49376],[0,645]],[[20921,49271],[0,74]],[[24403,49057],[-84,312]],[[24319,49369],[-62,399]],[[24257,49768],[-1,1]],[[24440,48980],[-37,77]],[[29486,49501],[-18,-849]],[[20921,48737],[0,534]],[[17343,49292],[-24,-506]],[[17319,48786],[-12,-371]],[[17307,48415],[0,0]],[[17307,48415],[0,-3129]],[[17307,45286],[-326,-6]],[[29760,48265],[35,318]],[[29795,48583],[46,717]],[[28626,49219],[150,541]],[[30680,49474],[-91,-436]],[[30589,49038],[-83,-425],[-6,346]],[[30500,48959],[-14,-60]],[[30463,49054],[14,214]],[[29472,48550],[-4,102]],[[15319,48755],[29,203]],[[15348,48958],[0,7]],[[15348,48965],[-17,559]],[[30134,48619],[0,0]],[[30134,48619],[7,-464]],[[23039,48729],[0,647]],[[23039,48729],[0,0]],[[24440,48980],[39,-255]],[[20921,48737],[0,-652]],[[30431,48860],[16,54]],[[30443,48813],[-88,-234],[-44,-434]],[[30446,48583],[-3,230]],[[30447,48914],[-1,-331]],[[30474,48571],[-3,0]],[[30471,48571],[-8,483]],[[30486,48899],[-12,-328]],[[30476,49268],[-45,-408]],[[24487,48499],[0,4]],[[24487,48503],[-8,222]],[[16981,45280],[-314,-6]],[[16667,45274],[-10,0]],[[29760,48265],[-29,-683]],[[15304,48284],[27,234]],[[15331,48518],[-12,237]],[[29502,47734],[-48,596],[18,220]],[[20921,48037],[0,48]],[[23151,48079],[-112,0]],[[23039,48079],[0,650]],[[23317,48080],[-113,-1]],[[23204,48079],[-53,0]],[[23988,48077],[-125,0]],[[23863,48077],[-43,0]],[[24155,48079],[-30,0]],[[24125,48079],[-131,-2]],[[23994,48077],[-6,0]],[[24487,48499],[11,-419]],[[24498,48080],[-110,0]],[[24388,48080],[-33,0]],[[24355,48080],[-97,0]],[[24258,48080],[-103,-1]],[[23484,48080],[-16,-1]],[[23468,48079],[-132,0]],[[23336,48079],[-19,1]],[[23820,48077],[-89,0]],[[23731,48077],[-77,2]],[[23039,48079],[-40,0]],[[23654,48079],[-55,0]],[[23599,48079],[-115,1]],[[30311,48145],[-62,-584],[-71,-163]],[[30178,47398],[-37,757]],[[29502,47734],[-5,-691]],[[22181,47144],[-185,1]],[[24501,47934],[-3,146]],[[21471,47147],[-198,1]],[[21273,47148],[-58,0]],[[17861,45279],[-551,4]],[[17310,45283],[-3,3]],[[18974,47736],[0,-551]],[[16234,45274],[-158,6]],[[16076,45280],[-235,21]],[[16657,45274],[-178,3]],[[16479,45277],[-245,-3]],[[15231,47064],[86,757]],[[15317,47824],[0,-3]],[[15317,47824],[1,12]],[[15318,47836],[0,3]],[[15318,47839],[0,2]],[[15318,47841],[-1,7]],[[15317,47848],[-1,9]],[[15316,47857],[-12,427]],[[29726,47448],[5,134]],[[30178,47398],[-16,-97]],[[20921,48037],[1,-881]],[[20922,47156],[0,-732]],[[23011,47630],[-12,449]],[[24501,47934],[8,-637]],[[23011,47630],[28,-327]],[[22566,46849],[0,-2]],[[22566,46847],[-44,82]],[[22522,46929],[-53,216]],[[22469,47145],[-211,-1]],[[22258,47144],[-77,0]],[[21215,47148],[-140,0]],[[21075,47148],[-153,8]],[[24515,47126],[-6,171]],[[21709,47144],[-238,3]],[[21996,47145],[-287,-1]],[[18974,44503],[-1,786]],[[18973,45289],[0,952]],[[18973,46241],[1,944]],[[29593,46662],[-26,3]],[[29567,46665],[-67,9]],[[29500,46674],[-3,369]],[[30162,47301],[-1,1]],[[30161,47302],[20,-393]],[[30181,46909],[-119,-241]],[[29726,47448],[-2,-809]],[[29724,46639],[-131,23]],[[23015,46978],[24,325]],[[24718,46230],[-60,2]],[[24658,46232],[-72,310]],[[24586,46542],[0,1]],[[24586,46543],[-71,583]],[[30062,46668],[-3,-12]],[[30059,46656],[0,-3]],[[30059,46653],[-179,-42]],[[29880,46611],[-8,1]],[[29872,46612],[-99,17]],[[29773,46629],[-49,10]],[[22842,46775],[-90,93]],[[22752,46868],[-42,3]],[[22710,46871],[-144,-22]],[[23015,46978],[11,-649]],[[23026,46329],[15,-131]],[[23041,46198],[-52,64]],[[22989,46262],[-48,335]],[[22941,46597],[-59,107]],[[22882,46704],[-40,71]],[[20922,45289],[0,1135]],[[15841,45301],[-262,-9]],[[29500,46674],[-25,-438]],[[15414,45277],[-109,6]],[[15305,45283],[-98,1555],[24,226]],[[18072,45274],[-211,5]],[[30181,46909],[34,-547],[-80,-272]],[[25014,46217],[-10,1]],[[25004,46218],[-122,10]],[[25178,46202],[-46,6]],[[25132,46208],[-118,9]],[[25309,46207],[-112,-2]],[[25197,46205],[-19,-3]],[[24882,46228],[-24,0]],[[24858,46228],[-140,2]],[[15579,45292],[-81,-4]],[[15498,45288],[-84,-11]],[[29558,45360],[-120,19]],[[29438,45379],[-3,0]],[[29435,45379],[40,857]],[[30117,46018],[-7,-5]],[[30113,45974],[-1,-1]],[[29992,45318],[-85,-17]],[[29907,45301],[-84,39]],[[29823,45340],[-9,2]],[[29814,45342],[0,1]],[[18429,45283],[-290,-9]],[[18139,45274],[-67,0]],[[24658,46232],[47,-237]],[[25449,46203],[-110,5]],[[25339,46208],[-30,-1]],[[20922,45289],[0,-565]],[[20922,44724],[0,-249]],[[18973,45289],[-128,-4]],[[28468,45286],[-179,0]],[[28289,45286],[-39,-6]],[[27885,45286],[-153,-6]],[[27732,45280],[-43,507]],[[23066,45686],[0,115]],[[23066,45801],[-25,397]],[[28095,45286],[-171,-6]],[[27924,45280],[-39,6]],[[28250,45280],[-127,6]],[[28123,45286],[-28,0]],[[28977,45011],[-62,275]],[[27689,45787],[-211,-543]],[[24748,45647],[-43,348]],[[18677,45280],[-16,2]],[[18661,45282],[-232,1]],[[25449,46203],[12,-634]],[[25526,44741],[-65,828]],[[30112,45973],[7,-161]],[[20290,43422],[-150,6]],[[20140,43428],[-128,2]],[[20012,43430],[-167,-2]],[[20581,43421],[-255,0]],[[20326,43421],[-36,1]],[[18845,45285],[-168,-5]],[[28915,45286],[-33,-3]],[[28882,45283],[-174,3]],[[28708,45286],[-11,0]],[[28697,45286],[-115,0]],[[24748,45647],[46,-301]],[[30119,45812],[31,-65]],[[30024,45258],[-32,60]],[[29814,45343],[-104,6]],[[29710,45349],[-139,9]],[[29571,45358],[-13,2]],[[27344,45012],[-136,-412]],[[27208,44600],[-133,-235]],[[27075,44365],[-106,-146]],[[26969,44219],[-154,7]],[[26815,44226],[-45,50]],[[26770,44276],[1,0]],[[26771,44276],[5,0]],[[26776,44276],[63,197]],[[26839,44473],[0,0]],[[26839,44473],[-1,11]],[[26838,44484],[-97,101]],[[26741,44585],[-80,204]],[[27478,45244],[-134,-232]],[[30191,45733],[68,-801]],[[30236,44813],[-62,-218]],[[30150,45747],[29,31]],[[28582,45286],[-103,0]],[[28479,45286],[-11,0]],[[23066,45686],[23,-312]],[[19845,43428],[-316,-3]],[[19529,43425],[-264,-6]],[[19265,43419],[-14,0]],[[27478,45006],[0,238]],[[25888,44840],[-83,-1]],[[25805,44839],[-83,1]],[[23127,45036],[-38,338]],[[24795,45154],[-1,192]],[[25526,44741],[0,0]],[[25526,44741],[0,-448]],[[30174,44595],[-77,-245]],[[30097,44350],[-21,331]],[[30076,44681],[-9,71]],[[30067,44752],[-25,117]],[[30042,44869],[-18,389]],[[26575,44771],[-33,-6]],[[26542,44765],[-134,-25]],[[29438,45379],[-9,-713]],[[29429,44666],[-3,-261]],[[30299,44585],[-63,228]],[[30259,44932],[123,420],[-83,-767]],[[26279,44839],[-104,0]],[[26175,44839],[-26,0]],[[26408,44740],[-11,-2]],[[26397,44738],[-113,-18]],[[26284,44720],[-5,119]],[[26149,44839],[-103,-1]],[[26046,44838],[-35,0]],[[26011,44838],[-77,2]],[[25934,44840],[-46,0]],[[23127,45036],[4,-340]],[[24795,45154],[-26,-273]],[[24769,44881],[-20,-101]],[[29907,45301],[4,-528]],[[29911,44773],[0,-157]],[[30033,44826],[-12,21]],[[29085,44214],[-88,331]],[[28997,44545],[-20,466]],[[18974,44503],[-1,-610]],[[18139,43424],[0,1850]],[[18139,43424],[-2,-1644]],[[15345,44290],[-40,993]],[[16479,45277],[0,-1510]],[[16478,40009],[-1,280]],[[16477,40289],[1,246]],[[16478,40535],[1,510]],[[16479,41045],[0,2722]],[[27478,45006],[0,-652]],[[23166,44368],[-35,328]],[[27478,44335],[0,19]],[[24538,44044],[0,2]],[[24538,44046],[80,222]],[[24618,44268],[131,512]],[[30067,44752],[-34,74]],[[30021,44847],[-10,-211]],[[29911,44536],[0,80]],[[25692,44746],[-81,-160]],[[25611,44586],[-85,155]],[[25722,44840],[-30,-94]],[[26284,44720],[0,-309]],[[26575,44771],[78,17]],[[26653,44788],[0,0]],[[26653,44788],[3,0]],[[26658,44788],[-2,0]],[[26658,44788],[3,1]],[[25526,44293],[0,-314]],[[29911,44536],[-17,-498]],[[29894,44038],[-162,175]],[[25526,43734],[0,245]],[[26285,44217],[-1,194]],[[20922,44156],[0,319]],[[23166,44368],[17,-216]],[[30040,44368],[0,0]],[[30097,44350],[-21,331]],[[29543,43856],[-153,-449]],[[29390,43407],[0,3]],[[29390,43410],[32,697]],[[29422,44107],[4,298]],[[20922,44156],[0,-729]],[[20922,43427],[-248,-6]],[[20674,43421],[-93,0]],[[30011,44636],[-117,-598]],[[29732,44213],[-34,-300]],[[29698,43913],[2,-6]],[[29702,43899],[-159,-43]],[[29230,43692],[-37,105]],[[29193,43797],[-93,288]],[[29100,44085],[-15,129]],[[29100,44085],[-82,-489]],[[19251,43419],[-278,474]],[[26285,44217],[0,-289]],[[29300,44024],[-1,-1]],[[30193,43985],[9,62],[-9,-62]],[[23199,43722],[-12,57]],[[23187,43779],[-4,373]],[[27478,44335],[0,-663]],[[27478,43656],[0,16]],[[15357,41565],[-69,1300],[33,203]],[[15321,43068],[14,782],[10,440]],[[21321,43428],[-10,0]],[[21311,43428],[-202,0]],[[26285,43895],[0,33]],[[24538,44044],[35,-485]],[[30405,43867],[0,0]],[[21109,43428],[-54,0]],[[21055,43428],[-133,-1]],[[29390,43379],[-38,-171]],[[29320,43267],[-20,757]],[[29390,43410],[0,-3]],[[29390,43407],[-1,-24]],[[29389,43383],[1,-4]],[[29025,43600],[-7,-4]],[[24573,43556],[0,3]],[[29322,43422],[-87,253]],[[29235,43675],[-5,17]],[[29299,44023],[0,-1]],[[29299,44022],[23,-600]],[[25526,43734],[0,-291]],[[29776,43471],[0,0]],[[29444,43163],[68,89],[252,435],[-14,-266],[137,101],[-239,-447],[-193,-288]],[[26285,43895],[0,-491]],[[26285,43404],[0,-125]],[[29025,43600],[-42,-235]],[[21479,43428],[-158,0]],[[25526,42935],[0,508]],[[23199,43722],[-1,-193]],[[23198,43529],[1,-6]],[[23217,43240],[-18,283]],[[29322,43422],[-25,-368]],[[27478,43656],[0,-419]],[[27479,43148],[-1,89]],[[28963,42664],[-2,31]],[[28961,42695],[22,670]],[[18137,41388],[0,392]],[[24573,43556],[-46,-697]],[[24506,42749],[21,110]],[[23217,43240],[-5,-218]],[[25526,42935],[0,-458]],[[21479,42861],[0,96]],[[21479,42957],[0,471]],[[19529,41977],[0,803]],[[19529,42780],[0,645]],[[26285,42918],[0,361]],[[27479,43148],[-1,-396]],[[27478,42752],[-41,-105]],[[26285,42918],[0,-290]],[[29352,43208],[-35,-161]],[[29316,43199],[4,68]],[[29455,42787],[-70,-74]],[[29385,42713],[-17,-43]],[[29360,42716],[6,33]],[[29365,43014],[79,149]],[[29262,42930],[-12,-89]],[[23340,42643],[-109,9]],[[23231,42652],[-19,370]],[[23468,42633],[-80,7]],[[23388,42640],[-48,3]],[[23591,42624],[-44,2]],[[23547,42626],[-79,7]],[[24359,42677],[-63,14]],[[24296,42691],[-66,-11]],[[24230,42680],[-48,-6]],[[24182,42674],[-80,-11]],[[23718,42631],[-60,-4]],[[23658,42627],[-67,-3]],[[23846,42643],[-61,-5]],[[23785,42638],[-67,-7]],[[23974,42650],[-77,-7]],[[23897,42643],[-51,0]],[[24102,42663],[-21,-3]],[[24081,42660],[-107,-10]],[[29317,43047],[-1,152]],[[19529,41977],[0,-1046]],[[19529,40931],[0,-303]],[[27478,42451],[0,301]],[[29297,43054],[-35,-124]],[[24506,42749],[-64,-483]],[[24442,42266],[-83,411]],[[29366,42749],[-31,25]],[[29306,42935],[59,79]],[[29032,42198],[-69,466]],[[23231,42652],[15,-115]],[[21479,42861],[0,-479]],[[29335,42774],[-29,161]],[[25526,42451],[0,26]],[[29250,42841],[-13,-170]],[[26285,42220],[0,408]],[[21479,42213],[0,169]],[[29225,42487],[0,0]],[[24418,41936],[2,89]],[[24420,42025],[22,241]],[[27478,42451],[1,-146]],[[27448,42299],[-11,348]],[[29032,42198],[61,-361]],[[29093,41837],[0,-1]],[[29093,41836],[-71,-183]],[[29237,42671],[-4,-268]],[[27448,42299],[-15,-391]],[[27433,41908],[-6,-53]],[[23289,42055],[-43,482]],[[26285,42220],[0,-80]],[[23289,42055],[1,-6]],[[23036,41565],[-95,1]],[[22941,41566],[-31,0]],[[25526,42451],[-1,-613]],[[25525,41838],[-1,-493]],[[27478,41492],[1,101]],[[27479,41593],[-1,267]],[[27478,41860],[1,445]],[[29271,41744],[-3,49]],[[29233,42403],[38,-659]],[[21479,42213],[0,-644]],[[21479,41569],[1,-799]],[[26282,41408],[1,164]],[[26283,41572],[2,568]],[[22532,41568],[-64,-1]],[[22468,41567],[-62,0]],[[22406,41567],[-95,0]],[[22311,41567],[-31,0]],[[22658,41567],[-31,0]],[[22627,41567],[-95,1]],[[21682,41568],[-24,-1]],[[21658,41567],[-179,2]],[[22155,41566],[-154,0]],[[22001,41566],[-4,0]],[[22784,41566],[-126,1]],[[22910,41566],[-126,0]],[[21997,41566],[-152,1]],[[21845,41567],[-5,0]],[[21840,41567],[-158,1]],[[22280,41567],[-125,-1]],[[28074,41045],[-119,2]],[[28700,41044],[-28,0]],[[28672,41044],[-1,0]],[[28331,41041],[-3,1]],[[28328,41042],[-175,3]],[[27955,41047],[-34,0]],[[27921,41047],[-129,-3]],[[23162,41564],[-63,0]],[[23099,41564],[-63,1]],[[23290,42049],[67,-486]],[[23357,41563],[-8,0]],[[23349,41563],[-125,1]],[[23224,41564],[-62,0]],[[23446,41373],[-89,190]],[[24418,41936],[19,-475]],[[28850,41260],[-54,-215]],[[28796,41045],[-96,-1]],[[28671,41044],[-92,0]],[[28579,41044],[-61,-2]],[[28518,41042],[-59,0]],[[24456,41114],[-19,347]],[[27419,41625],[8,230]],[[29179,40745],[0,-4]],[[29179,40741],[-1,-2]],[[29001,41545],[-1,5]],[[29e3,41550],[22,103]],[[27419,41625],[-25,-344]],[[29268,41793],[3,-49]],[[29271,41744],[-71,-994],[-21,-9]],[[29179,40741],[0,4]],[[28153,41045],[-68,0]],[[28085,41045],[-11,0]],[[25525,40831],[-1,514]],[[27792,41044],[-23,0]],[[27769,41044],[-80,-2]],[[27689,41042],[-43,0]],[[29e3,41550],[-44,-229]],[[23478,41229],[-32,144]],[[18137,41388],[0,-676]],[[18137,40712],[0,-1612]],[[19529,40384],[0,244]],[[28459,41042],[-60,-1]],[[28399,41041],[-68,0]],[[28956,41321],[-58,-118]],[[28898,41203],[-43,60]],[[28850,41260],[0,0]],[[27391,41042],[3,239]],[[27478,41492],[0,-448]],[[27646,41042],[-140,2]],[[27506,41044],[-28,0]],[[26282,41408],[0,-354]],[[21480,40759],[0,11]],[[15493,39270],[-65,1424],[-71,871]],[[23478,41229],[-49,-367]],[[28979,41348],[22,197]],[[24456,41114],[17,-140]],[[26282,40758],[0,296]],[[28897,41161],[82,187]],[[25525,40831],[0,-242]],[[27391,41042],[-31,-211]],[[27360,40831],[-26,-125]],[[24576,40445],[-67,370]],[[24509,40815],[-36,159]],[[28898,41203],[-26,-825]],[[28804,40253],[-1,151]],[[28803,40404],[-7,641]],[[28855,41263],[-5,-3]],[[23415,40694],[14,168]],[[28900,40423],[-35,202]],[[28866,40625],[-1,0]],[[28866,40625],[-5,206]],[[28860,40874],[1,-43]],[[28860,40874],[37,287]],[[16714,38612],[-48,225]],[[29178,40739],[-11,-297]],[[29167,40442],[-17,-94]],[[29150,40348],[-38,-96]],[[29112,40252],[0,-14]],[[26282,40758],[-1,-85]],[[28270,40305],[-11,-7]],[[28259,40298],[-30,321]],[[28229,40619],[-55,236]],[[28174,40855],[-87,32]],[[28087,40887],[-37,-224]],[[28050,40663],[-54,34]],[[27996,40697],[-113,-102]],[[27883,40595],[-57,-283]],[[27826,40312],[-60,-227]],[[27766,40085],[3,959]],[[28784,40396],[-69,317]],[[28715,40713],[-78,-279]],[[28637,40434],[0,-126]],[[28637,40308],[-47,-159]],[[28331,40116],[-61,189]],[[28117,40429],[-33,140]],[[23415,40694],[38,-213]],[[27334,40706],[-23,-152]],[[27311,40554],[-70,-216]],[[27241,40338],[-86,-130],[-13,-105]],[[28171,40194],[-54,235]],[[25505,40184],[20,405]],[[24576,40445],[59,-327]],[[26280,40268],[1,405]],[[21480,40759],[1,-810]],[[21481,39949],[0,-161]],[[28914,40342],[-11,69]],[[28901,40416],[-1,7]],[[29040,40031],[-126,311]],[[27142,40103],[-8,-66]],[[18136,38906],[1,194]],[[28084,40569],[-45,-703]],[[23555,39997],[-48,74]],[[23507,40071],[-54,410]],[[28259,40298],[-31,-352]],[[28228,39946],[-57,248]],[[19529,40384],[-2,-1614]],[[25505,40184],[-7,-190]],[[28029,39806],[10,60]],[[23553,39912],[2,85]],[[27136,39881],[-2,156]],[[24711,39640],[-59,-61]],[[24652,39579],[-17,539]],[[28804,40253],[1,-94]],[[28742,40159],[-56,139],[98,98]],[[28590,40149],[-15,-63]],[[28815,39382],[-8,585]],[[28807,39967],[-2,192]],[[28872,40378],[57,-769]],[[28458,39638],[-32,-59]],[[28426,39579],[-58,227]],[[28368,39806],[-37,310]],[[29112,40238],[-86,-665],[14,458]],[[16478,40009],[0,-98]],[[16478,39911],[0,-84]],[[26420,39741],[-52,137]],[[26368,39878],[-33,-39]],[[26335,39839],[-55,58]],[[26280,39897],[0,371]],[[26280,39897],[-16,-138]],[[26264,39759],[0,-1]],[[26494,39275],[-50,105]],[[26444,39380],[0,87]],[[26444,39467],[-24,274]],[[24760,39559],[-49,81]],[[28635,39395],[0,0]],[[28706,39561],[36,598]],[[25526,39519],[0,1]],[[25526,39520],[-32,474]],[[25494,39994],[4,0]],[[26591,39026],[-56,243]],[[26535,39269],[-41,6]],[[28029,39806],[-91,-546]],[[27938,39260],[-52,-2]],[[28607,39535],[-17,-366]],[[28590,39169],[0,-3]],[[28575,40086],[2,-3]],[[28589,40088],[18,-553]],[[23553,39416],[0,367]],[[23553,39783],[0,129]],[[27091,39475],[-53,155]],[[27136,39881],[-45,-406]],[[25526,39519],[-1,-92]],[[17623,34118],[-355,1806]],[[26287,39436],[-21,81]],[[26266,39517],[-2,241]],[[28815,39382],[4,-360]],[[28755,39100],[-16,112]],[[28739,39212],[17,109]],[[21481,39138],[0,650]],[[28543,39077],[4,-10]],[[28547,39067],[-4,-218]],[[28437,39124],[17,222]],[[28454,39346],[4,292]],[[16666,38837],[-70,323]],[[16596,39160],[-91,417]],[[16505,39577],[-27,250]],[[16917,37646],[-203,966]],[[28445,39309],[-54,-223]],[[23553,39416],[0,-202]],[[26713,38990],[-105,35]],[[26608,39025],[-17,1]],[[26591,39026],[0,0]],[[21481,39138],[0,-154]],[[27038,39630],[-32,-689]],[[27006,38941],[-20,-17]],[[26839,38901],[-60,288]],[[26779,39189],[0,1]],[[26779,39190],[-66,-197]],[[26713,38993],[0,-3]],[[24786,39069],[5,209]],[[24791,39278],[13,61]],[[24804,39339],[-44,220]],[[28454,39346],[-22,183]],[[28432,39529],[-6,50]],[[28929,39609],[44,-479],[29,-450]],[[29002,38680],[-5,0]],[[28997,38680],[-5,0]],[[28992,38680],[-71,1]],[[28921,38681],[-100,202]],[[28821,38883],[-2,139]],[[27886,39258],[-47,-530]],[[27839,38728],[-25,-122]],[[27814,38606],[-93,334]],[[28756,39321],[-17,-109]],[[28739,39212],[-76,198],[43,151]],[[28391,39086],[-16,-307]],[[28441,39500],[0,3]],[[28441,39500],[0,-4]],[[28441,39496],[0,-2]],[[28441,39494],[0,-2]],[[28441,39492],[1,-5]],[[28442,39486],[0,1]],[[28442,39486],[0,-5]],[[28442,39481],[2,-3]],[[28444,39478],[0,-2]],[[28444,39476],[2,-7]],[[28446,39469],[0,-65]],[[28446,39404],[0,2]],[[28432,39529],[9,-26]],[[26287,39436],[-64,-179]],[[26223,39257],[-49,-131]],[[26174,39126],[-37,84]],[[26137,39210],[-26,-279]],[[25466,38611],[25,286]],[[25491,38897],[34,530]],[[24764,38829],[-1,-16]],[[24763,38813],[-21,-253]],[[15840,38131],[-3,0]],[[15809,38129],[-2,4]],[[15807,38133],[-39,1]],[[15641,38391],[-148,879]],[[26986,38924],[-61,-318]],[[26925,38606],[-25,18]],[[26900,38624],[-20,157]],[[26880,38781],[-41,120]],[[23552,38728],[1,486]],[[24786,39069],[-22,-240]],[[28590,39166],[9,-599],[-52,500]],[[28547,39067],[-4,10]],[[27721,38940],[-41,-605]],[[27680,38335],[-46,-375]],[[23552,38728],[0,-165]],[[16040,38042],[-23,137]],[[26109,38815],[2,116]],[[16917,37646],[165,-803]],[[28691,38439],[-29,547],[93,114]],[[28785,38627],[-94,-188]],[[21481,38328],[0,12]],[[21481,38340],[0,644]],[[28543,38849],[0,-85]],[[28495,38564],[-94,-54],[36,614]],[[18136,38906],[1,-790]],[[18137,38116],[-1,-1012]],[[18136,37104],[0,-1125]],[[18136,35979],[0,-293]],[[19532,38124],[-5,646]],[[26109,38815],[-57,-267]],[[26052,38548],[-42,-171]],[[28375,38779],[-7,-313]],[[25466,38611],[-69,-294]],[[28795,38335],[-10,292]],[[15837,38131],[-28,-2]],[[16017,38179],[-132,-258],[-45,210]],[[25399,38268],[-2,49]],[[24779,38004],[-12,72]],[[24767,38076],[-25,484]],[[28603,38436],[-31,-192],[-77,320]],[[28543,38764],[60,-328]],[[26898,38299],[0,0]],[[26900,38624],[-2,-325]],[[19532,38124],[0,-507]],[[19532,37617],[-1,-737]],[[19531,36880],[0,-904]],[[19531,35976],[-266,-3]],[[19265,35973],[-209,11]],[[19056,35984],[-185,-3]],[[23552,37951],[0,612]],[[17268,35924],[-186,919]],[[28986,38582],[-75,-715]],[[28911,37867],[-68,-38]],[[28843,37829],[0,3]],[[28992,38680],[-6,-98]],[[25860,38177],[-37,-113]],[[25979,38171],[-13,-319]],[[25966,37852],[-14,-13]],[[25952,37839],[-92,338]],[[26950,37569],[-23,169]],[[26927,37738],[-29,561]],[[26010,38377],[-31,-206]],[[28442,38144],[-1,-3]],[[28368,38466],[83,-128]],[[23552,37951],[-1,-43]],[[15768,38134],[6,-631],[-119,557],[-14,331]],[[16038,37915],[2,127]],[[28778,37969],[17,366]],[[28843,37832],[-1,-3]],[[28842,37829],[-64,140]],[[28477,37991],[-35,153]],[[28451,38338],[125,-469]],[[27607,37750],[27,210]],[[21481,38328],[1,-976]],[[21482,37352],[0,-175]],[[27607,37750],[-66,-484]],[[25823,38064],[-8,-140]],[[25815,37924],[-46,-378]],[[25769,37546],[-44,290]],[[25399,38268],[-31,-631]],[[25598,37614],[-9,36]],[[25589,37650],[-42,80]],[[25478,37649],[-63,7]],[[25415,37656],[-29,-191]],[[25386,37465],[-17,170]],[[25369,37635],[-1,2]],[[24928,37473],[-74,134]],[[24854,37607],[-75,397]],[[25725,37836],[-46,-126]],[[25679,37710],[-81,-96]],[[25547,37730],[-69,-80]],[[25478,37650],[0,-1]],[[28441,38141],[75,-497],[31,-232]],[[28566,37480],[-89,511]],[[15835,37649],[78,298],[125,-32]],[[23550,37194],[0,36]],[[23550,37230],[1,678]],[[28887,37650],[0,-27]],[[28887,37623],[-59,-670]],[[28828,36953],[-33,-42]],[[28782,37012],[13,397]],[[28795,37409],[47,420]],[[28842,37829],[1,0]],[[28911,37867],[-24,-217]],[[28637,37553],[1,-1]],[[28638,37552],[2,-269]],[[28576,37869],[61,-316]],[[27086,36932],[-11,47]],[[27075,36979],[-102,379]],[[26973,37358],[-23,211]],[[28541,36813],[-25,262]],[[27562,37146],[-21,120]],[[24970,37042],[-42,431]],[[25386,37465],[-29,-418]],[[28516,37075],[-45,-36]],[[28471,37039],[-2,24]],[[15925,36839],[-90,810]],[[24970,37042],[0,-10]],[[25377,36917],[-20,130]],[[27384,36774],[0,3]],[[28640,37134],[-74,346]],[[28640,37283],[0,-149]],[[15782,37296],[29,0]],[[21191,35978],[-257,-8]],[[20934,35970],[-319,-1]],[[28547,37412],[38,-377]],[[27075,36979],[-95,-443]],[[26980,36536],[-1,-3]],[[26979,36533],[-67,-179]],[[26912,36354],[-4,-11]],[[21482,36702],[0,475]],[[27562,37146],[-71,-381]],[[27491,36765],[-107,9]],[[28390,36690],[-19,6]],[[15811,37296],[78,-451]],[[15840,36178],[-62,763],[4,355]],[[23550,37194],[1,-539]],[[23551,36655],[-1,-47]],[[20615,35969],[-19,0]],[[20596,35969],[-138,1]],[[21482,36702],[0,-736]],[[21482,35966],[-267,12]],[[21215,35978],[-24,0]],[[19716,35976],[-185,0]],[[19966,35978],[-250,-2]],[[28469,37063],[2,-24]],[[28471,37039],[55,-208]],[[28526,36831],[1,-3]],[[18457,35979],[-321,0]],[[24970,37032],[11,-429]],[[24981,36603],[0,-1]],[[24981,36602],[-2,-156]],[[25377,36917],[-83,-186]],[[25294,36731],[-15,37]],[[25279,36768],[0,-3]],[[25279,36765],[-21,-661]],[[28585,37035],[31,-106]],[[28614,36816],[-73,-3]],[[27384,36777],[-34,-253]],[[27350,36524],[-68,-110]],[[27282,36414],[-38,192]],[[28371,36696],[0,-145]],[[28795,36911],[-5,-59]],[[28790,36852],[-33,152],[25,8]],[[27244,36606],[-106,-186]],[[27138,36420],[-52,512]],[[18871,35981],[-314,-2]],[[18557,35979],[-100,0]],[[28616,36929],[-2,-113]],[[28493,36664],[-108,-81],[5,107]],[[15889,36845],[36,-6]],[[23019,35975],[-63,1]],[[22956,35976],[-110,0]],[[22846,35976],[-88,-1]],[[22758,35975],[-95,0]],[[22026,35982],[-151,-4]],[[22179,35976],[-129,5]],[[22050,35981],[-24,1]],[[22511,35973],[-55,2]],[[22456,35975],[-127,1]],[[17623,34118],[67,-355]],[[28568,36291],[-75,373]],[[28527,36828],[22,-165]],[[25236,36127],[22,-23]],[[20247,35966],[-264,12]],[[19983,35978],[-17,0]],[[20458,35970],[-81,-1]],[[20377,35969],[-130,-3]],[[21618,35969],[-132,-5]],[[21486,35964],[-4,2]],[[21754,35973],[-136,-4]],[[21875,35978],[-87,-3]],[[21788,35975],[-34,-2]],[[23298,35976],[-73,0]],[[23225,35976],[-50,0]],[[22663,35975],[-86,-2]],[[22577,35973],[-66,0]],[[22329,35976],[-127,0]],[[22202,35976],[-23,0]],[[23424,35976],[-94,0]],[[23330,35976],[-32,0]],[[28549,36663],[73,-426]],[[23550,36083],[0,525]],[[23550,36083],[0,-107]],[[23550,35976],[-108,0]],[[23442,35976],[-18,0]],[[25236,36127],[-100,272]],[[25069,36098],[9,-156]],[[25078,35942],[-50,55]],[[25028,35997],[-49,449]],[[25136,36399],[-2,-3]],[[25134,36396],[-65,-298]],[[28388,36521],[68,-110]],[[23175,35976],[-10,0]],[[23165,35976],[-146,-1]],[[15976,35708],[-136,470]],[[26908,36343],[-84,-413]],[[28456,36411],[93,-173]],[[25087,35872],[-9,70]],[[28629,35958],[-61,333]],[[26821,35778],[3,152]],[[25579,35309],[-85,-6]],[[25494,35303],[-15,-1]],[[28549,36238],[42,-432]],[[27841,35124],[-35,0]],[[27771,35123],[-12,0]],[[27759,35123],[-56,1]],[[28631,36186],[-2,-228]],[[25739,35324],[-84,-10]],[[25655,35314],[-14,-2]],[[25641,35312],[-62,-3]],[[25087,35872],[-6,-295]],[[25081,35577],[-15,-247]],[[25066,35330],[-42,-37]],[[27976,35124],[-18,0]],[[27958,35124],[-95,0]],[[27863,35124],[-22,0]],[[24371,35046],[-125,-2]],[[23550,35543],[0,433]],[[28245,35132],[-37,-2]],[[28208,35130],[-41,-1]],[[26821,35778],[-162,-424]],[[25479,35302],[-104,77]],[[23550,35543],[0,-184]],[[19531,34120],[0,1856]],[[19531,34120],[0,-1941]],[[19531,32179],[0,-709]],[[19531,31470],[-2,-1490]],[[21215,35978],[-1,-931]],[[21214,35047],[-10,-828]],[[21204,34219],[0,-588]],[[21485,35047],[-37,0]],[[21448,35047],[-234,0]],[[21784,35046],[-35,0]],[[21749,35046],[-150,0]],[[21599,35046],[-114,1]],[[22050,35046],[-151,0]],[[21899,35046],[-115,0]],[[28482,35144],[0,-15]],[[28482,35129],[-69,4]],[[28413,35133],[-37,-3]],[[26292,35239],[-2,0]],[[26290,35239],[-53,22]],[[23913,35043],[-75,1]],[[26528,35210],[-22,4]],[[26506,35214],[-61,4]],[[28678,35667],[9,165]],[[26445,35218],[-9,0]],[[26436,35218],[-144,21]],[[26659,35354],[-60,-119]],[[26599,35235],[-71,-25]],[[25258,35049],[-8,1]],[[25250,35050],[-83,2]],[[26148,35281],[-40,-14]],[[25959,35285],[-65,21]],[[25894,35306],[-57,21]],[[23838,35044],[-78,0]],[[23760,35044],[-59,0]],[[28775,35141],[-7,0]],[[28768,35141],[-25,0]],[[28743,35141],[-9,0]],[[28734,35141],[-6,0]],[[28728,35141],[-25,0]],[[28675,35672],[3,-5]],[[28687,35832],[88,-691]],[[27453,35154],[-63,3]],[[26998,35225],[-14,0]],[[27164,35255],[-50,5]],[[27114,35260],[-89,-37]],[[24776,35043],[-100,1]],[[28601,35141],[-14,0]],[[28587,35141],[-105,3]],[[28591,35806],[33,-21]],[[16104,33735],[-103,743],[-25,1230]],[[28376,35130],[-131,2]],[[26791,35221],[-135,7]],[[26656,35228],[-57,7]],[[28167,35129],[-77,0]],[[28090,35129],[-37,-3]],[[28053,35126],[-77,-2]],[[26237,35261],[-84,21]],[[26153,35282],[-5,-1]],[[24523,35043],[-78,-2]],[[24445,35041],[-12,2]],[[24433,35043],[-62,3]],[[26984,35225],[-88,-3]],[[26896,35222],[-62,0]],[[26834,35222],[-43,-1]],[[25837,35327],[-42,-31]],[[25795,35296],[-56,28]],[[27608,35126],[-108,15]],[[27500,35141],[-47,13]],[[25024,35293],[-25,-249]],[[24999,35044],[-18,-1]],[[24981,35043],[-16,1]],[[24965,35044],[-1,-301]],[[28629,35680],[-4,-47]],[[28669,35668],[6,4]],[[28703,35141],[-53,0]],[[28650,35141],[-49,0]],[[27703,35124],[-88,2]],[[27615,35126],[-7,0]],[[18136,35686],[-100,-1297],[-70,-515],[19,-1013],[-11,-605]],[[17974,32256],[-284,1507]],[[26108,35267],[-98,6]],[[26010,35273],[-51,12]],[[24676,35044],[-58,0]],[[24618,35044],[-95,-1]],[[24065,35043],[-23,0]],[[24042,35043],[-123,1]],[[23919,35044],[-6,-1]],[[27390,35157],[-18,5]],[[27372,35162],[-126,24]],[[27246,35186],[-90,25]],[[27156,35211],[8,44]],[[24246,35044],[-8,0]],[[24238,35044],[-106,0]],[[24132,35044],[-67,-1]],[[25167,35052],[-3,1]],[[25164,35053],[-2,-1]],[[23701,35044],[-151,2]],[[23550,35046],[0,313]],[[25375,35379],[4,-336]],[[25379,35043],[-121,6]],[[23550,35046],[16,-628]],[[25162,35052],[-143,1]],[[25019,35053],[-20,-9]],[[27806,35124],[-35,-1]],[[24848,34115],[-91,-6]],[[24757,34109],[-25,-1]],[[24732,34108],[52,382]],[[24784,34490],[-8,553]],[[27025,35223],[-27,2]],[[27156,35211],[-14,-367]],[[27142,34844],[-53,-194]],[[27089,34650],[-4,-41]],[[22051,33894],[0,325]],[[22051,34219],[-1,827]],[[28548,34675],[-72,196]],[[28752,34612],[-19,143]],[[28728,35141],[24,-529]],[[28775,35141],[26,-594]],[[28800,34546],[-30,549]],[[28770,35095],[-2,46]],[[28743,35141],[5,0]],[[28760,35141],[-12,0]],[[28760,35141],[-26,0]],[[28733,34755],[-46,-43]],[[28687,34712],[0,3]],[[28687,34715],[-13,49]],[[28674,34764],[-2,44]],[[28476,34871],[60,-301]],[[27085,34609],[-42,-301]],[[27043,34308],[-39,100]],[[28672,34808],[2,-44]],[[28674,34764],[13,-49]],[[28687,34712],[-7,-341],[-22,149]],[[24940,34460],[24,283]],[[24981,35043],[-16,1]],[[23569,34305],[-3,113]],[[24940,34460],[-21,-340]],[[24919,34120],[-71,-5]],[[26898,34189],[-82,-175]],[[28658,34520],[-57,-245]],[[28601,34275],[-64,214],[11,186]],[[27004,34408],[-54,-157]],[[26950,34251],[0,-2]],[[26950,34249],[-25,-174]],[[26925,34075],[-27,114]],[[28536,34570],[6,-596]],[[23585,33668],[-16,637]],[[28882,33504],[-75,-902]],[[28807,32613],[75,891]],[[28843,33756],[0,0]],[[28734,33500],[78,-82],[-43,26]],[[28801,34547],[-1,-1]],[[24936,33938],[-17,182]],[[26816,34014],[-18,-287]],[[26798,33727],[-82,-139]],[[23585,33668],[6,-225]],[[22051,33894],[0,-488]],[[21204,33412],[0,219]],[[26716,33588],[0,-39]],[[26716,33549],[-113,-235]],[[22051,33041],[0,365]],[[24936,33938],[-60,-512],[-14,-170]],[[24862,33256],[-37,-264]],[[24825,32992],[-3,-13]],[[24822,32979],[-25,84]],[[28635,33989],[84,-187],[-27,-253]],[[28542,33974],[93,15]],[[26603,33314],[-81,-203]],[[26522,33111],[-2,6]],[[28434,33295],[-3,-15]],[[17974,32256],[138,-1299]],[[18112,30957],[-82,-401]],[[16298,32208],[-72,882],[-122,645]],[[23602,32994],[-11,449]],[[21204,33412],[-1,-817]],[[21203,32595],[0,-426]],[[28431,33280],[136,-511]],[[28600,33319],[-166,-24]],[[28692,33549],[42,-49]],[[28769,33444],[-93,-556],[-69,315],[-7,116]],[[26520,33117],[-19,-319]],[[26501,32798],[-74,-159]],[[24816,32970],[-19,93]],[[23602,32994],[0,-32]],[[22051,33041],[0,-446]],[[27130,32590],[-29,6]],[[27101,32596],[-27,6]],[[27253,32559],[-11,1]],[[27242,32560],[-112,30]],[[26785,32306],[-28,-50]],[[27389,32256],[-18,140]],[[27371,32396],[-36,134]],[[22051,32313],[0,282]],[[26967,32610],[-62,-86]],[[25504,32261],[-107,4]],[[25610,32253],[-106,8]],[[26236,32231],[-80,-4]],[[26156,32227],[-28,-3]],[[26128,32224],[-30,-1]],[[25719,32238],[-105,15]],[[25614,32253],[-4,0]],[[23598,32131],[4,828]],[[23602,32959],[0,3]],[[24816,32970],[-27,-496],[-38,-228]],[[24751,32246],[1,-252]],[[24752,31994],[-29,-50]],[[25175,32246],[-10,0]],[[25165,32246],[-54,-2]],[[25111,32244],[-52,0]],[[26905,32524],[-52,-143]],[[26853,32381],[-37,-23]],[[26816,32358],[-31,-52]],[[25397,32265],[-59,-19]],[[25338,32246],[-45,0]],[[25293,32246],[-5,0]],[[27335,32530],[-82,29]],[[28426,32387],[121,-324]],[[28476,32416],[-54,-29]],[[24936,32246],[-22,-2]],[[24914,32244],[-163,2]],[[27074,32602],[-68,17]],[[27006,32619],[-39,-9]],[[25059,32244],[-43,-1]],[[25016,32243],[-80,3]],[[25288,32246],[-113,0]],[[23598,32131],[-2,-381]],[[23596,31750],[-2,-412]],[[25863,32238],[-130,0]],[[25733,32238],[-14,0]],[[25989,32233],[-125,5]],[[25864,32238],[-1,0]],[[26292,32232],[-10,-1]],[[26282,32231],[-46,0]],[[26757,32256],[-104,-15]],[[28567,32769],[21,-236],[-112,-117]],[[26098,32223],[-37,3]],[[26061,32226],[-72,7]],[[26507,32231],[-35,0]],[[26472,32231],[-53,2]],[[26419,32233],[8,406]],[[26419,32233],[-83,0]],[[26336,32233],[-44,-1]],[[28422,32387],[4,0]],[[27643,31895],[-109,13]],[[27534,31908],[-68,6]],[[27466,31914],[-77,342]],[[21203,31783],[0,386]],[[22051,32313],[0,-531]],[[27710,31890],[-67,5]],[[26653,32241],[-19,0]],[[26634,32241],[-108,-10]],[[26526,32231],[-19,0]],[[28596,31771],[1,-6]],[[28597,31765],[0,-3]],[[28597,31762],[-51,125],[-130,-68]],[[28416,31819],[0,-1]],[[28547,32063],[63,79],[-14,-371]],[[16447,30195],[0,0]],[[16544,30316],[0,0]],[[16625,31089],[-228,180],[-87,448],[-12,491]],[[26790,31290],[-17,21]],[[26773,31311],[-15,81]],[[26758,31392],[-66,275]],[[26692,31667],[1,5]],[[26693,31672],[-4,53]],[[26689,31725],[68,531]],[[27773,31565],[-63,325]],[[22095,31335],[-43,101]],[[22052,31436],[0,0]],[[22052,31436],[-1,346]],[[25367,32054],[-29,192]],[[25354,31476],[-3,-221]],[[25367,32054],[-13,-578]],[[26061,32226],[7,-232]],[[28416,31818],[0,1]],[[28416,31819],[-53,-450],[-48,-156]],[[26081,31553],[-13,441]],[[26083,31488],[-2,65]],[[27882,30949],[-1,3]],[[27881,30952],[-105,597]],[[27776,31549],[-3,16]],[[21203,31783],[0,-808]],[[21203,30975],[0,-20]],[[24723,31944],[-48,-358]],[[16772,30477],[-147,612]],[[24678,31369],[-3,217]],[[26083,31488],[4,-119]],[[22271,31020],[-74,109]],[[22197,31129],[0,1]],[[22197,31130],[-102,205]],[[16917,28163],[0,0]],[[16946,29088],[0,0]],[[17003,29918],[0,12]],[[17003,29930],[-3,11]],[[17e3,29941],[0,-8]],[[17e3,29933],[-26,23]],[[16974,29956],[-14,-67]],[[16960,29889],[-75,574],[-113,14]],[[26859,30781],[-9,150]],[[26850,30931],[-60,359]],[[28315,31213],[-62,-271]],[[28253,30942],[0,-3]],[[23592,30746],[2,592]],[[24678,31369],[-78,-590],[-29,-164]],[[24571,30615],[0,-1]],[[22438,30684],[-95,104]],[[22343,30788],[-72,232]],[[21203,30955],[-1,-888]],[[21202,30067],[-2,-474]],[[26101,30925],[-14,444]],[[26113,30543],[-12,382]],[[19529,28920],[0,1060]],[[25346,30990],[5,265]],[[26113,30543],[6,-217]],[[22570,30659],[-80,-112]],[[22490,30547],[-52,137]],[[23592,30746],[-2,-464]],[[23590,30282],[0,-1]],[[23590,30281],[-3,-562]],[[23587,29719],[-72,121]],[[23515,29840],[-115,435]],[[27999,30290],[-117,659]],[[26900,30419],[-41,362]],[[25346,30990],[-9,-437]],[[28253,30939],[6,1]],[[28260,30934],[-41,-278]],[[28219,30656],[-27,96]],[[28192,30752],[-167,-607]],[[28025,30145],[-4,18]],[[28021,30163],[-1,7]],[[28020,30170],[-21,120]],[[25336,30501],[1,52]],[[18007,28580],[-60,520],[29,244]],[[17976,29344],[53,1100],[1,112]],[[28020,30170],[-119,-574]],[[22730,30207],[-116,-19]],[[22614,30188],[-44,471]],[[26900,30419],[8,-106]],[[23001,30197],[-96,111]],[[23232,30157],[-24,-63]],[[23208,30094],[-148,-212]],[[23060,29882],[-59,315]],[[23400,30275],[-43,-109]],[[23357,30166],[-125,-9]],[[24499,29515],[-5,61]],[[24494,29576],[68,417],[24,446],[-15,175]],[[26122,30210],[-3,116]],[[25336,30501],[-11,-583]],[[27034,29642],[-33,180]],[[27001,29822],[-92,488]],[[26909,30310],[-1,3]],[[22905,30308],[-3,-11]],[[22902,30297],[-69,-352],[-81,291]],[[22752,30236],[-22,-29]],[[25317,29524],[8,394]],[[27062,29521],[-4,24]],[[27058,29545],[-24,97]],[[26122,30210],[14,-464]],[[26136,29746],[9,-316]],[[23710,29558],[-123,161]],[[17149,29251],[-81,408]],[[17068,29659],[-1,5]],[[17067,29664],[-10,15]],[[17057,29679],[0,-3]],[[17057,29676],[-54,242]],[[27134,28900],[-27,91]],[[27107,28991],[-45,530]],[[21199,29253],[1,340]],[[26148,29328],[-3,102]],[[27901,29596],[-50,-711],[-61,-15]],[[27790,28870],[0,0]],[[19529,28920],[0,-803]],[[19529,28117],[0,-654]],[[25317,29524],[-8,-457]],[[23710,29558],[1,-522]],[[23777,28566],[-3,0]],[[23774,28566],[-63,0]],[[23711,28566],[0,470]],[[21199,29253],[-2,-798]],[[21197,28455],[0,-813]],[[21197,27642],[0,-810]],[[21197,26832],[-73,-163]],[[21124,26669],[-110,0]],[[24499,29515],[7,-722],[6,-241]],[[24512,28552],[0,-13]],[[24512,28539],[-27,2]],[[24485,28541],[-48,0]],[[24437,28541],[-7,0]],[[25299,28515],[10,552]],[[27680,28409],[-43,-45]],[[17564,27821],[-328,418],[-87,1012]],[[26148,29328],[16,-556]],[[26164,28772],[1,-40]],[[27173,28708],[-39,192]],[[23865,28565],[-9,0]],[[23856,28565],[-79,1]],[[18336,26742],[-386,1265]],[[17950,28007],[57,573]],[[24004,28563],[-69,2]],[[23935,28565],[-70,0]],[[17950,28007],[-386,-186]],[[24430,28541],[-169,5]],[[20700,26669],[-19,0]],[[20681,26669],[-301,5]],[[20380,26674],[-106,-2]],[[24261,28546],[-183,11]],[[24078,28557],[-74,6]],[[23711,28566],[0,-257]],[[27173,28708],[21,-92]],[[25299,28515],[-2,-116]],[[26179,28289],[-14,443]],[[27506,27795],[-43,-73]],[[27232,28056],[-38,560]],[[26179,28289],[13,-230]],[[20274,26672],[-42,-405]],[[20232,26267],[-214,0]],[[27232,28056],[4,-279]],[[27266,27706],[-30,71]],[[23711,27034],[0,365]],[[23711,27399],[0,560]],[[23711,27959],[0,350]],[[24546,27741],[-28,477],[-6,321]],[[24546,27741],[-7,-25]],[[25277,27244],[9,502]],[[25286,27746],[11,653]],[[21014,26669],[-72,0]],[[20942,26669],[-12,0]],[[20930,26669],[-230,0]],[[26208,27801],[-16,258]],[[19764,26267],[-235,-841]],[[19529,25426],[0,2037]],[[27391,27734],[0,-210]],[[27390,27442],[2,-9]],[[27390,27414],[-6,-39]],[[27359,26910],[6,8]],[[27365,26918],[-4,-100]],[[27361,26818],[-42,56]],[[27319,26874],[-7,14]],[[27312,26888],[-8,203]],[[27304,27091],[-38,614]],[[27266,27705],[0,1]],[[26208,27801],[22,-182]],[[27394,26872],[0,0]],[[27381,27086],[-9,-128]],[[27372,26958],[0,-3]],[[27372,26955],[2,-9]],[[27374,26946],[0,-12]],[[27374,26934],[-5,-4]],[[27369,26930],[-4,-12]],[[27365,26918],[-6,-8]],[[27384,27375],[-3,-289]],[[27447,27145],[0,0]],[[27436,27222],[0,0]],[[27463,27722],[-6,-37]],[[27457,27685],[-66,49]],[[24549,26882],[0,12]],[[24549,26894],[-5,6]],[[24544,26900],[-20,161]],[[24524,27061],[33,302],[-18,353]],[[26238,27372],[-8,247]],[[20018,26267],[-254,0]],[[25277,27244],[-3,-152]],[[26251,27098],[-13,274]],[[18884,25600],[-548,1142]],[[26251,27098],[-37,-311]],[[19529,25426],[-392,0]],[[23711,27034],[7,-402]],[[23756,26379],[-38,253]],[[25265,26107],[-3,365]],[[25262,26472],[12,620]],[[24549,26882],[-60,-455]],[[24489,26427],[-19,-223]],[[24470,26204],[-17,-29]],[[27280,26467],[-25,-152]],[[27306,26150],[0,0]],[[27349,26782],[2,-6]],[[27351,26775],[0,1]],[[27351,26775],[4,-31]],[[27355,26744],[-23,-10]],[[27332,26734],[17,48]],[[27312,26888],[31,-85]],[[27343,26803],[-11,-69]],[[27332,26734],[-52,-267]],[[26211,26653],[3,134]],[[26211,26653],[-20,-392]],[[26191,26261],[4,-34]],[[27292,26017],[0,-3]],[[27292,26017],[0,-3]],[[27282,26175],[-36,-149]],[[27255,26315],[27,-140]],[[20664,24117],[-162,673],[-122,739]],[[20380,25529],[-148,738]],[[23756,26379],[13,-481]],[[25265,26107],[3,-489]],[[23847,25152],[-13,-16]],[[23834,25136],[-65,762]],[[26217,25770],[-22,457]],[[26217,25770],[-11,-388]],[[24453,26175],[-39,-381],[-38,-520],[18,-110]],[[24394,25164],[-13,-357]],[[19137,25426],[-253,174]],[[25274,25021],[-6,597]],[[27267,25513],[0,0]],[[27246,26026],[22,-179]],[[27268,25847],[-55,-393]],[[27213,25454],[-1,-15]],[[25899,24796],[-56,0]],[[25843,24796],[-83,2]],[[26222,24948],[-16,434]],[[27006,24004],[-57,25]],[[27254,25381],[-16,11],[14,-13]],[[27212,25439],[0,-5]],[[27220,25420],[3,3]],[[27223,25423],[-3,-308]],[[27220,25115],[4,-151]],[[27224,24964],[1,-25]],[[27225,24939],[-35,18]],[[25274,25021],[2,-216]],[[24913,24811],[-30,0]],[[24542,24805],[-33,0]],[[24509,24805],[-128,2]],[[23846,24564],[1,588]],[[24684,24807],[-6,0]],[[24678,24807],[-71,0]],[[24607,24807],[-65,-2]],[[24764,24808],[-24,0]],[[24740,24808],[-56,-1]],[[24883,24811],[-119,-3]],[[25506,24802],[46,-954]],[[25552,23848],[-113,-480],[-40,902]],[[25399,24270],[-10,63]],[[25389,24375],[5,36]],[[26222,24948],[7,-140]],[[26229,24808],[-135,-6]],[[25760,24798],[-27,4]],[[25733,24802],[-106,3]],[[25627,24805],[-121,-3]],[[26094,24802],[-3,0]],[[26091,24802],[-149,-7]],[[25942,24795],[-43,1]],[[23846,24564],[-51,-870]],[[23795,23694],[9,-293]],[[26949,24029],[-11,5]],[[26938,24034],[-35,13]],[[25394,24411],[-110,-744]],[[25284,23667],[-5,648]],[[25279,24315],[-3,490]],[[27211,24430],[0,0]],[[27190,24957],[22,-103]],[[27212,24854],[-36,-569]],[[27176,24285],[-1,-3]],[[27175,24282],[-83,206]],[[26403,24230],[-135,41]],[[26485,24204],[-55,17]],[[26430,24221],[-27,9]],[[26688,24133],[-71,26]],[[26617,24159],[-37,13]],[[26580,24172],[-73,25]],[[26507,24197],[-22,7]],[[26268,24271],[-39,537]],[[27092,24488],[-40,-867]],[[27052,23621],[-46,383]],[[26749,24108],[-48,18]],[[26692,24131],[-4,2]],[[24923,23801],[-42,386]],[[24881,24187],[32,624]],[[25623,23959],[-1,2]],[[25622,23961],[-68,-267],[-2,154]],[[25729,23702],[-75,79],[-31,178]],[[25841,23791],[-112,-89]],[[25953,23447],[-112,205]],[[25841,23687],[0,104]],[[26903,24047],[-29,12]],[[26874,24059],[-125,49]],[[27175,24282],[1,3]],[[27176,24285],[6,-15]],[[27182,24270],[23,0]],[[27205,24270],[-28,-281]],[[25284,23667],[-47,-34]],[[25237,23633],[-89,107]],[[24923,23801],[47,-522]],[[24970,23279],[-29,-45]],[[25148,23740],[-127,-99]],[[26511,23122],[-24,8]],[[21403,22720],[-156,-987],[-152,-563],[-101,404]],[[21560,22539],[-157,181]],[[26701,24126],[-9,5]],[[25021,23641],[0,-2]],[[25021,23639],[-51,-360]],[[20994,21574],[-152,479],[-102,1013],[-46,832],[-30,219]],[[27222,23603],[4,-74]],[[27226,23529],[1,-43]],[[27227,23486],[0,-3]],[[27227,23483],[-2,-67]],[[27180,23180],[-5,490],[47,-67]],[[27225,23416],[2,67]],[[27227,23483],[0,3]],[[27227,23486],[-1,43]],[[27226,23529],[-4,74]],[[27222,23603],[17,-186]],[[27177,23989],[0,0]],[[27177,23989],[16,-85]],[[27193,23904],[1,-24]],[[27194,23880],[1,2]],[[27195,23882],[6,-2]],[[27201,23880],[1,-3]],[[27202,23877],[0,0]],[[27202,23877],[0,0]],[[27202,23877],[1,8]],[[27203,23885],[1,-5]],[[27204,23880],[2,64]],[[27206,23944],[10,-81]],[[27216,23863],[-2,-148]],[[27214,23715],[-62,-414]],[[26122,22808],[-1,194]],[[26121,23015],[0,29]],[[26121,23044],[-95,230],[-73,173]],[[23800,23042],[4,359]],[[26678,22333],[-167,789]],[[26487,23130],[-104,-234]],[[21830,21535],[-128,716],[-142,288]],[[27281,22397],[0,0]],[[27243,23122],[0,-12]],[[27243,23110],[34,-710]],[[27277,22400],[4,-22]],[[27281,22378],[1,-11]],[[27282,22367],[0,-3]],[[27282,22364],[1,-31]],[[27282,22333],[-6,-21]],[[27198,22498],[-18,682]],[[27225,23416],[0,-5]],[[27225,23411],[18,-289]],[[27243,23110],[0,12]],[[27243,23122],[-18,289]],[[27225,23411],[0,5]],[[27239,23417],[4,-307]],[[23800,23042],[-37,-347]],[[24843,21940],[-54,417]],[[26217,22536],[-1,-5]],[[26169,22376],[-47,432]],[[26121,23002],[0,13]],[[24941,23234],[-65,-283]],[[24875,22939],[0,0]],[[27152,23301],[24,-654]],[[23763,22695],[4,-322]],[[23767,22373],[-143,-244]],[[23464,22353],[-25,-248]],[[24998,22831],[5,-70]],[[25003,22761],[16,-209]],[[25019,22552],[-27,-70]],[[24992,22482],[-36,-158]],[[24956,22324],[1,-1]],[[24957,22323],[6,-23]],[[24960,22312],[-1,0]],[[24876,22951],[0,-3]],[[24876,22948],[-1,-9]],[[24875,22939],[79,-12],[44,-96]],[[24288,22636],[-96,-558],[-84,85]],[[24329,21970],[0,0]],[[24320,22458],[-32,178]],[[24108,22163],[-341,210]],[[26195,22254],[0,0]],[[26216,22531],[-47,-155]],[[26383,22896],[-113,-331],[-53,-29]],[[24498,22178],[-115,125],[-63,155]],[[24824,21885],[-1,-197]],[[24823,21688],[-9,-46]],[[24814,21642],[5,-172]],[[24812,21395],[-49,-51]],[[24763,21344],[-40,151]],[[24723,21521],[0,11]],[[24724,21563],[2,9]],[[24789,22357],[35,-472]],[[24930,21618],[0,0]],[[24936,22296],[-1,-48]],[[24935,22248],[-19,-58]],[[24916,22190],[87,-374],[99,-513],[-99,-349],[-26,734],[-88,173]],[[24889,21861],[-16,57]],[[24873,21918],[-30,22]],[[24959,22312],[-23,-16]],[[23624,22129],[-5,-12]],[[23592,22122],[-94,382],[-34,-151]],[[27185,21734],[-15,654],[28,110]],[[27176,22647],[-22,-452],[4,-419]],[[24520,21484],[-10,206],[10,-206]],[[24676,21534],[-9,-59]],[[24667,21475],[-8,24]],[[24659,21499],[-20,-170]],[[24639,21329],[-35,9]],[[24604,21338],[-60,97],[-46,743]],[[24726,21572],[-50,-38]],[[27276,22312],[12,-92]],[[27288,22220],[7,-92]],[[27295,22128],[19,-249]],[[27285,22333],[31,-453]],[[27314,21879],[-19,249]],[[27295,22128],[-7,92]],[[27288,22220],[-4,107]],[[27284,22327],[0,6]],[[21864,21242],[-34,293]],[[23410,21245],[0,0]],[[23471,21642],[-43,-185]],[[23439,22105],[32,-463]],[[23619,22117],[-27,5]],[[23428,21457],[-94,-622],[-31,-76]],[[26855,21078],[3,53]],[[26858,21131],[-92,361]],[[26766,21492],[-9,198]],[[27158,21776],[8,-176]],[[27407,20820],[0,0]],[[27354,21322],[50,-627]],[[27390,20695],[-4,0]],[[27190,21440],[-1,12]],[[27189,21452],[-4,282]],[[27314,21879],[40,-557]],[[27189,21452],[1,-12]],[[27166,21600],[23,-148]],[[23056,20479],[-10,61]],[[23006,20536],[-1,-8]],[[23005,20528],[-22,36]],[[22982,20563],[-1,3]],[[23153,20311],[-38,241],[-40,-132]],[[23303,20759],[-127,-372],[-23,-76]],[[22981,20566],[1,-38]],[[21992,19589],[-82,1012],[-46,641]],[[26889,20516],[-9,134]],[[26880,20650],[4,230]],[[26884,20880],[0,-6]],[[26884,20874],[3,-11]],[[26887,20863],[1,5]],[[26888,20868],[-13,56]],[[26875,20924],[-19,157]],[[27386,20695],[98,-1780]],[[27404,20695],[13,0]],[[27419,20695],[40,-400],[-24,-392]],[[27435,19903],[-19,662],[-26,130]],[[22999,19753],[-68,-364]],[[22933,19426],[66,327]],[[22982,20528],[4,-700],[-39,228]],[[23012,20417],[-7,111]],[[23005,20528],[1,8]],[[23046,20540],[-34,-123]],[[26879,20029],[10,487]],[[22947,20056],[-2,-239]],[[22882,19600],[-63,-260]],[[26847,19544],[32,485]],[[22874,18926],[0,0]],[[22819,19340],[16,-164]],[[22849,19042],[0,2]],[[22835,19167],[14,-125]],[[22931,19572],[-49,28]],[[22945,19817],[-2,-81]],[[22940,19633],[-9,-61]],[[22203,17855],[-75,740],[-101,901],[-35,93]],[[22835,19176],[0,-9]],[[22849,19044],[0,-2]],[[22847,19026],[-97,-101]],[[26884,19257],[-25,-498]],[[26859,18759],[-12,785]],[[26912,18563],[21,330],[-49,364]],[[22840,18709],[0,0]],[[22795,18697],[1,-292]],[[22750,18925],[45,-228]],[[27484,18915],[39,-516]],[[26908,18086],[4,477]],[[22786,17879],[32,565]],[[22825,18434],[-35,-555]],[[22796,18405],[-79,-513],[-43,-10]],[[22674,17882],[-4,7]],[[27523,18399],[35,-548]],[[27544,17791],[0,-40]],[[27544,17751],[0,-6]],[[26995,17371],[0,-12]],[[26967,17261],[-31,320]],[[26936,17581],[-1,12]],[[26935,17593],[0,3]],[[26935,17596],[-9,143]],[[26926,17739],[-8,94]],[[26918,17833],[-10,253]],[[22282,16564],[-79,1291]],[[22801,16709],[-14,138]],[[22787,16847],[-6,304]],[[22781,17151],[3,18]],[[22784,17169],[17,-460]],[[22784,17169],[-1,646]],[[22783,17815],[3,64]],[[22790,17879],[-6,-710]],[[22761,17577],[-29,-264]],[[22732,17313],[31,-697]],[[22670,17889],[4,-7]],[[22674,17882],[87,-305]],[[27544,17745],[37,-149]],[[27581,17596],[0,0]],[[27581,17596],[18,-289]],[[27593,17307],[-1,0]],[[27588,17307],[0,0]],[[27588,17307],[-2,0]],[[26995,17359],[-28,-98]],[[27049,16934],[-54,437]],[[27586,17307],[16,-1210]],[[27015,16397],[0,0]],[[27109,16114],[-54,365],[-6,455]],[[22445,15979],[-108,267],[-55,318]],[[22647,15629],[-202,350]],[[22816,16443],[-3,13]],[[22813,16456],[-19,86]],[[22794,16542],[7,74]],[[22807,16616],[9,-173]],[[22768,16458],[0,-137]],[[22768,16321],[-7,-58]],[[22761,16263],[17,0]],[[22763,16616],[5,-158]],[[27249,15133],[-46,155]],[[27203,15290],[0,-2]],[[27203,15290],[0,7]],[[27203,15297],[-21,1]],[[27182,15298],[-4,48]],[[27178,15346],[-1,5]],[[27177,15351],[-4,13]],[[27173,15364],[0,-1]],[[27173,15363],[-1,-15]],[[27172,15348],[0,-9]],[[27172,15339],[-10,55]],[[27162,15394],[-34,199]],[[27128,15593],[0,29]],[[27128,15622],[-1,7]],[[27127,15629],[-5,48]],[[27122,15677],[0,-3]],[[27122,15674],[-13,440]],[[22828,15617],[-19,-207],[-102,140],[-60,79]],[[22778,16263],[50,-646]],[[27602,16097],[-12,-644]],[[27588,15313],[-60,-1055],[-25,-181]],[[27502,14077],[-16,-43]],[[27486,14028],[0,-3]],[[27486,14025],[-102,-58]],[[27590,15453],[-2,-140]],[[27521,13940],[-4,-28]],[[27517,13912],[-1,-7]],[[27516,13905],[0,-3]],[[27516,13902],[-5,-43]],[[27511,13859],[-3,-27]],[[27508,13832],[-3,64]],[[27505,13896],[10,83]],[[27515,13979],[0,2]],[[27515,13981],[0,1]],[[27515,13982],[0,17]],[[27515,13999],[6,-59]],[[27384,13967],[-82,277],[17,12]],[[27319,14256],[1,-7]],[[27320,14249],[6,-95]],[[27326,14154],[0,-18]],[[27326,14136],[0,-14]],[[27326,14122],[2,-18]],[[27328,14104],[0,-6]],[[27328,14098],[16,-58]],[[27344,14040],[-10,197]],[[27334,14237],[-12,50]],[[27322,14287],[-2,0]],[[27320,14287],[-4,15]],[[27316,14302],[-5,404]],[[27311,14706],[0,-4]],[[27311,14702],[2,-7]],[[27313,14695],[0,-16]],[[27313,14679],[18,-34]],[[27331,14645],[0,4]],[[27331,14649],[0,5]],[[27331,14654],[-18,82]],[[27313,14736],[-9,-11]],[[27304,14725],[-30,224]],[[27274,14949],[10,40]],[[27284,14989],[1,4]],[[27285,14993],[0,2]],[[27285,14995],[-20,3]],[[27265,14998],[-16,135]],[[26757,21690],[-79,643]],[[23354,58316],[139,550],[110,-1105]],[[24957,56455],[-324,-694],[-81,-301]],[[24549,56809],[324,-378],[84,24]],[[24223,53962],[7,61]],[[24230,54023],[175,117]],[[24405,54140],[162,349],[32,-468],[-20,-199]],[[24684,53819],[-105,3]],[[24619,54132],[0,0]],[[27637,28364],[-4,-462]],[[27633,27902],[-92,-111],[12,-133]],[[27527,27594],[-21,201]],[[27690,28249],[2,-64]],[[27692,28185],[-12,224]],[[27790,28870],[-7,-299]],[[27783,28571],[-93,-322]],[[6538,2301],[-58,813],[-2,1446],[122,-47],[126,-676],[-42,-874],[-146,-662]],[[5489,7808],[-81,498],[122,-55],[-41,-443]],[[6194,6504],[-45,-122],[18,148]],[[6181,5693],[36,57],[-36,-57]],[[6263,5263],[0,0]],[[6344,5400],[-88,696],[124,-23],[55,-530],[-91,-143]],[[5945,6665],[-86,608],[131,-516],[-45,-92]],[[5278,7638],[15,167],[-15,-167]],[[99849,62690],[-75,447],[75,-447]],[[778,63398],[0,0]],[[833,63475],[0,0]],[[886,63617],[0,0]],[[344,63153],[-79,572],[105,-215],[-26,-357]],[[540,63363],[0,206],[0,-206]],[[99643,63716],[0,0]],[[614,63140],[52,393],[81,99],[-102,-407],[-31,-85]],[[99953,63664],[43,190],[-43,-190]],[[857,63843],[0,0]],[[99312,63579],[70,549],[-43,-354],[-27,-195]],[[1574,63946],[-110,220],[208,-146],[-98,-74]],[[1841,64363],[65,153],[-65,-153]],[[1129,63904],[161,256],[100,524],[21,-543],[-157,-194],[-125,-43]],[[98292,64565],[21,3],[-21,-3]],[[2329,64909],[0,0]],[[2627,65344],[3,209],[-3,-209]],[[98084,65292],[-77,334],[133,126],[19,-377],[-75,-83]],[[2802,65454],[207,800],[94,564],[-125,-948],[-176,-416]],[[3604,67078],[0,0]],[[3201,66211],[50,385],[88,296],[43,279],[91,488],[134,-161],[-86,-521],[-320,-766]],[[2663,72349],[0,0]],[[2465,73417],[0,0]],[[3929,67750],[0,0]],[[3695,67690],[41,208],[-41,-208]],[[3784,67824],[42,197],[-42,-197]],[[4605,68312],[0,0]],[[4689,69168],[0,0]],[[4039,68354],[24,902],[287,332],[28,-631],[-182,-176],[-157,-427]],[[5487,69379],[0,0]],[[4849,69589],[0,0]],[[5436,69558],[0,0]],[[5271,69235],[67,345],[-67,-345]],[[5241,69942],[0,0]],[[5106,69709],[101,128],[-101,-128]],[[5293,70190],[0,0]],[[5642,72970],[0,-127]],[[5456,70676],[-115,328],[-177,-435],[-107,-262],[-101,260],[-91,-320],[-105,-623],[-129,79],[-36,-209],[-152,239],[-27,-293],[115,548],[91,375],[413,879],[79,-404],[148,76],[-22,978],[402,1095]],[[13205,69728],[0,0]],[[13355,69846],[-28,487],[-115,332],[131,633],[12,-1452]],[[6096,76208],[78,519]],[[5035,76091],[0,0]],[[5035,76603],[-74,-161]],[[5589,76635],[89,-511]],[[5678,76124],[-175,368],[-112,85],[-127,337],[-165,-226]],[[5099,76688],[-54,-52]],[[6125,76674],[-331,-247],[-75,346],[-130,-138]],[[6115,72321],[0,0]],[[6349,73509],[-124,-473],[-111,-258],[-73,-264],[-184,-179],[-1,-127],[-21,-313],[-109,-391],[-75,-146],[-152,-400],[-43,-282]],[[5642,72843],[219,1026],[142,501],[54,1023],[39,815]],[[6174,76727],[-49,-53]],[[6561,70864],[0,0]],[[6992,72274],[0,0]],[[6794,72099],[0,0]],[[6984,72435],[0,0]],[[7199,73194],[34,190],[-34,-190]],[[7462,74857],[0,0]],[[7226,74697],[0,0]],[[6968,72731],[69,699],[-95,81],[33,-64],[-117,106],[-27,608],[235,-355],[26,659],[33,299],[94,111],[121,39],[94,-42],[86,-512],[-204,-244],[-35,-272],[-158,-459],[-155,-654]],[[7297,75038],[-38,200],[38,-200]],[[7476,75855],[65,-494],[-196,-167],[-108,282],[108,111],[112,66],[19,202]],[[7381,76133],[0,0]],[[7214,76666],[-22,-1]],[[7192,76665],[-175,-684],[-52,-323],[-117,-537],[-200,-497],[-117,-218],[-120,-316],[-62,-581]],[[12366,75252],[5,175]],[[12371,75427],[0,-3]],[[12381,75492],[103,-178]],[[12498,75431],[0,0]],[[12484,76871],[267,-997],[57,-517]],[[12715,74938],[-33,-160]],[[12655,74703],[-69,962],[-69,-212],[-203,853],[0,575]],[[12311,76882],[-61,4]],[[12500,71022],[0,0]],[[13038,71188],[-70,608],[98,-87],[-28,-521]],[[12892,71782],[71,296],[-71,-296]],[[13083,71690],[12,293],[-12,-293]],[[13006,72478],[0,0]],[[12908,72271],[-2,556],[2,-556]],[[12615,72742],[-8,-441],[-33,-793],[-77,498],[-9,396],[28,684],[99,-344]],[[12660,72704],[84,521],[112,-753],[-24,-147],[-158,-160],[-14,539]],[[13033,73861],[67,-885],[295,-875]],[[13073,70867],[127,867],[-165,610],[-114,565],[-115,629],[-93,4]],[[11922,74760],[-12,-1]],[[11903,74758],[110,9]],[[11893,74787],[0,0]],[[12713,73542],[38,429],[-81,403],[26,263],[2,222]],[[12708,74912],[7,26]],[[12808,75357],[225,-1496]],[[12484,75314],[2,2]],[[12529,75370],[57,-872],[-100,567],[62,-912],[-13,-553],[-99,201],[-62,754],[-8,697]],[[12108,75160],[-28,-110]],[[12080,75050],[126,246]],[[12206,75296],[31,-310],[-188,89]],[[12015,74776],[-60,586],[182,108],[-29,-310]],[[12371,75424],[10,68]],[[12062,75988],[-32,784],[-78,-298],[-169,378],[83,-342],[46,-884],[-145,90],[-288,850]],[[11595,76760],[289,658]],[[12161,76003],[-99,-15]],[[12201,77569],[-9,22]],[[12099,78291],[172,-561],[19,-151]],[[12314,76881],[-3,1]],[[12250,76886],[-49,683]],[[12290,77579],[153,-400],[41,-308]],[[12192,77591],[-5,-716],[86,-1362],[-112,490]],[[11884,77418],[38,633],[177,240]],[[12070,73189],[-7,651],[7,-651]],[[12285,72715],[-93,388],[-43,549],[26,596],[167,-274],[60,-1268],[-9,-883]],[[12393,71662],[-108,1053]],[[11934,74683],[-12,77]],[[12013,74767],[2,9]],[[12049,75075],[220,-449],[4,-547],[-126,16],[-213,588]],[[4001,83653],[0,0]],[[4259,83451],[-234,958],[203,-704],[31,-254]],[[4192,84190],[-67,628],[157,-398],[-90,-230]],[[3903,80509],[38,343],[-153,-28],[-95,611],[-68,401],[149,393],[155,1298],[337,-141],[-74,789],[213,267],[210,447]],[[3609,78331],[-256,445],[77,525],[208,100],[140,-781],[-169,-289]],[[1910,79346],[-184,574],[184,-574]],[[4013,79338],[-125,385],[91,689],[184,-355],[-95,-543],[-55,-176]],[[4902,77138],[-111,505],[-40,940],[-64,908],[-72,-97],[-51,-610],[-325,-353],[-126,507],[-38,874],[167,449],[141,-114],[-67,257],[-95,340],[-184,-211],[-134,-24]],[[5045,76636],[-10,-33]],[[4961,76442],[-203,-214],[79,631],[65,279]],[[8332,81549],[-208,-449],[-275,-85]],[[8387,80363],[-287,581],[232,605]],[[9624,78418],[0,0]],[[8666,78680],[0,0]],[[8662,78874],[0,0]],[[8602,78821],[0,0]],[[8713,78358],[259,1026],[-139,-823],[-120,-203]],[[9058,79230],[7,463],[84,-259],[-91,-204]],[[8702,79277],[0,0]],[[8492,79649],[195,-79],[-95,-558],[-102,-363]],[[9173,79634],[0,0]],[[8697,80017],[0,0]],[[8630,79964],[0,0]],[[8494,80038],[105,161],[-105,-475]],[[8668,80254],[0,0]],[[8747,80338],[8,836],[-187,-517],[-29,-359],[-45,-148]],[[10627,82337],[0,-2812]],[[9823,78789],[-225,511],[-84,480],[-205,-102],[-51,437],[-112,111],[24,227],[-108,355],[-75,-222],[-175,-124],[-65,-124]],[[7140,77530],[0,0]],[[7918,77470],[0,0]],[[7543,79429],[0,0]],[[8494,80150],[0,-112]],[[8494,79724],[-2,-75]],[[8490,78649],[-168,-14],[-100,-30],[-87,-455],[-95,-12],[-126,-413],[-182,-329],[-70,443],[123,277],[-175,159],[125,1195],[90,792],[278,233],[284,-132]],[[7849,81015],[-203,-855],[-148,-630],[-94,-637],[-197,-449],[-24,-218],[-120,-300],[-102,-962],[231,-176],[7,-124]],[[11073,77696],[-82,343]],[[10991,78039],[52,861],[-540,-320],[22,268],[-635,15],[-67,-74]],[[10627,79525],[285,-390],[258,-349],[432,-1879],[-7,-147]],[[11479,76566],[-145,717],[-261,413]],[[10627,94617],[0,-4941]],[[10627,89676],[0,-7339]],[[7949,98194],[0,0]],[[4758,97701],[370,402],[175,-96],[2,557],[311,274],[606,970],[194,-236],[17,-374],[344,250],[250,-395],[474,-101],[-106,-527],[387,-340],[310,131],[449,-119],[364,-405],[538,-298],[697,98],[384,-761],[103,-2114]],[[3841,93742],[-270,690],[566,984],[356,1130],[153,835],[227,476],[-115,-156]],[[4108,91048],[160,-570],[21,-388]],[[4289,90090],[385,-72],[228,394],[-97,219],[-200,911],[153,-374],[356,-517],[38,410],[-231,-116],[2,807],[-409,131],[-439,1287],[-234,572]],[[4620,85381],[0,0]],[[2649,84266],[-265,848],[-321,-46],[70,419],[336,171],[203,-604],[70,-329],[-93,-459]],[[5052,87977],[-187,-281],[-238,-465],[-182,218],[-113,-158],[-396,-240],[-408,675],[-24,608],[255,-141],[-71,188],[-416,469],[-52,574],[200,411],[349,342],[50,538],[289,333]],[[4615,84889],[121,292],[385,633],[-138,1144],[131,438],[-62,581]],[[12956,69029],[0,0]],[[13317,69219],[0,0]],[[12925,69473],[-21,387],[21,-387]],[[12930,68872],[-132,1072],[123,-767],[9,-305]],[[13247,69478],[75,326],[-75,-326]],[[12761,69871],[30,109],[-30,-109]],[[12684,69935],[12,183],[-12,-183]],[[12707,70286],[0,0]],[[12629,70305],[0,0]],[[12756,70325],[0,0]],[[12710,70782],[0,0]],[[12785,70929],[0,0]],[[12656,71166],[119,461],[-119,-461]],[[12877,71377],[0,5]],[[12877,71382],[120,-652],[9,-203],[84,-353],[38,-171],[14,-713],[-147,209],[-122,497],[-22,327],[-102,319],[33,987],[-50,326],[145,-578]],[[13062,70861],[11,6]],[[13395,72101],[178,-488],[119,-436],[-28,-1331],[-192,-647],[-82,655],[-85,1424],[-107,-283],[-136,-134]],[[31178,1304],[23,73]],[[31195,919],[-2,184]],[[31290,1513],[20,-8]],[[31284,522],[-34,-5]],[[31429,566],[-31,6]],[[31271,1506],[19,7]],[[31329,564],[-16,40]],[[31375,1499],[25,12]],[[31310,1505],[50,3]],[[31400,1511],[26,-5]],[[31513,1444],[13,14]],[[31493,1404],[0,0]],[[31492,1426],[1,-22]],[[31398,572],[-25,-14]],[[31426,1506],[10,-15]],[[31193,1103],[-11,55]],[[31250,517],[-36,-12]],[[31214,505],[-19,414]],[[31549,569],[-31,-3]],[[31201,1377],[0,2]],[[31201,1379],[15,182]],[[31313,604],[-27,-82]],[[31466,535],[-8,-54]],[[31458,481],[-29,85]],[[31257,1516],[14,-10]],[[31360,1508],[15,-9]],[[31493,1404],[20,40]],[[31504,544],[-38,-9]],[[31286,522],[-2,0]],[[31373,558],[-44,6]],[[31216,1561],[41,-45]],[[31580,736],[-15,-109]],[[31464,1471],[21,-4]],[[31837,1170],[0,0]],[[31885,1161],[0,0]],[[31593,1322],[22,-42]],[[31526,1458],[45,-64]],[[31565,627],[-16,-58]],[[31571,1394],[22,-72]],[[31618,992],[-22,-62]],[[31615,1280],[10,-145]],[[31625,1135],[-7,-143]],[[31596,930],[-16,-194]],[[31654,755],[0,0]],[[31830,0],[51,45],[-51,-45]],[[31436,1491],[28,-20]],[[12393,71823],[0,-161]],[[11910,74759],[-7,-1]],[[12486,75316],[43,54]],[[7199,76664],[15,2]],[[5642,72987],[0,-17]],[[12698,74859],[10,53]],[[12682,74778],[-19,-87]],[[12663,74691],[-8,12]],[[6167,6530],[27,-26]],[[31485,1467],[7,-41]],[[31518,566],[-14,-22]],[[31182,1158],[-4,146]],[[25389,24333],[0,42]],[[29700,43907],[2,-8]],[[27362,21240],[-8,82]],[[27354,21322],[-40,557]],[[27284,22333],[-2,31]],[[27282,22364],[0,3]],[[27282,22367],[-1,11]],[[27281,22378],[4,-45]],[[27316,21880],[46,-640]],[[27503,14077],[12,-78]],[[27515,13999],[0,-17]],[[27515,13982],[0,-3]],[[27515,13979],[-13,98]],[[27486,14034],[19,-138]],[[27505,13896],[-19,132]],[[26856,21081],[-1,-3]],[[25841,23652],[0,35]],[[27283,22333],[1,-6]],[[27284,22327],[-2,6]],[[27417,20695],[2,0]],[[27558,17851],[-14,-60]],[[27599,17307],[-6,0]],[[27592,17307],[-4,0]],[[27252,25379],[2,2]],[[27212,25434],[1,20]],[[27213,25454],[8,-22]],[[27221,25432],[-1,-12]],[[24963,22300],[-3,12]],[[24819,21470],[-7,-75]],[[24723,21495],[0,26]],[[24723,21532],[1,24]],[[24724,21556],[0,7]],[[30135,46090],[-18,-72]],[[30110,46013],[3,-39]],[[30179,45778],[12,-45]],[[28577,40083],[12,5]],[[28807,32602],[0,11]],[[28259,30940],[1,-6]],[[28903,40411],[-2,5]],[[29368,42670],[-8,46]],[[27553,27658],[-26,-64]],[[27391,27524],[-1,-82]],[[27392,27433],[-2,-19]],[[22801,16709],[6,-93]],[[22801,16616],[-7,140]],[[22794,16756],[7,-47]],[[22818,18444],[7,-10]],[[22931,19389],[2,37]],[[23075,20420],[-19,59]],[[22983,20564],[-1,-1]],[[22943,19736],[0,-10]],[[22943,19726],[0,-84]],[[22943,19642],[-3,-9]],[[22849,19042],[-2,-16]],[[28549,36663],[0,0]],[[28622,36237],[15,43]],[[28637,36280],[-6,-94]],[[28371,36551],[17,-30]],[[28624,35785],[5,-105]],[[28625,35633],[31,31]],[[28656,35664],[13,4]],[[28446,39406],[0,-2]],[[28446,39404],[-1,-95]]]},airports:[{iata:"00M",name:"Thigpen",city:"Bay Springs",state:"MS",country:"USA",latitude:31.95376472,longitude:-89.23450472},{iata:"06U",name:"Jackpot/Hayden",city:"Jackpot",state:"NV",country:"USA",latitude:41.97602222,longitude:-114.6580911},{iata:"0B5",name:"Turners Falls",city:"Montague",state:"MA",country:"USA",latitude:42.59136361,longitude:-72.52275472},{iata:"0J0",name:"Abbeville Municipal",city:"Abbeville",state:"AL",country:"USA",latitude:31.60016778,longitude:-85.23882222},{iata:"0R3",name:"Abbeville Chris Crusta Memorial",city:"Abbeville",state:"LA",country:"USA",latitude:29.97576083,longitude:-92.08415167},{iata:"11R",name:"Brenham Municipal",city:"Brenham",state:"TX",country:"USA",latitude:30.219,longitude:-96.37427778},{iata:"17G",name:"Port Bucyrus-Crawford County",city:"Bucyrus",state:"OH",country:"USA",latitude:40.78141667,longitude:-82.97469444},{iata:"1B9",name:"Mansfield Municipal",city:"Mansfield",state:"MA",country:"USA",latitude:42.00013306,longitude:-71.19677139},{iata:"1H8",name:"Casey Municipal",city:"Casey",state:"IL",country:"USA",latitude:39.30250917,longitude:-88.00406194},{iata:"1N7",name:"Blairstown",city:"Blairstown",state:"NJ",country:"USA",latitude:40.97114556,longitude:-74.99747556},{iata:"1V9",name:"Blake",city:"Delta",state:"CO",country:"USA",latitude:38.78539722,longitude:-108.0636611},{iata:"25M",name:"Ripley",city:"Ripley",state:"MS",country:"USA",latitude:34.72226778,longitude:-89.01504944},{iata:"2B7",name:"Pittsfield Municipal",city:"Pittsfield",state:"ME",country:"USA",latitude:44.76852778,longitude:-69.37441667},{iata:"2J9",name:"Quincy Municipal",city:"Quincy",state:"FL",country:"USA",latitude:30.59786111,longitude:-84.55741667},{iata:"2S1",name:"Vashon Municipal",city:"Vashon",state:"WA",country:"USA",latitude:47.45815333,longitude:-122.4773506},{iata:"34A",name:"Laurens County",city:"Laurens",state:"SC",country:"USA",latitude:34.50705556,longitude:-81.94719444},{iata:"3B2",name:"Marshfield",city:"Marshfield",state:"MA",country:"USA",latitude:42.09824111,longitude:-70.67212083},{iata:"3J7",name:"Greene County Airpark",city:"Greensboro",state:"GA",country:"USA",latitude:33.59766667,longitude:-83.139},{iata:"3R0",name:"Beeville Municipal",city:"Beeville",state:"TX",country:"USA",latitude:28.36455528,longitude:-97.79208194},{iata:"3Z9",name:"Haines SPB",city:"Haines",state:"AK",country:"USA",latitude:59.23495111,longitude:-135.4407181},{iata:"47N",name:"Central Jersey Regional",city:"Manville",state:"NJ",country:"USA",latitude:40.52438417,longitude:-74.59839194},{iata:"4B6",name:"Ticonderoga Muni",city:"Ticonderoga",state:"NY",country:"USA",latitude:43.87700278,longitude:-73.41317639},{iata:"4J5",name:"Quitman-Brooks County",city:"Quitman",state:"GA",country:"USA",latitude:30.80575139,longitude:-83.58654889},{iata:"4R5",name:"Madeline Island",city:"La Pointe",state:"WI",country:"USA",latitude:46.78865556,longitude:-90.75866944},{iata:"50R",name:"Lockhart Municipal",city:"Lockhart",state:"TX",country:"USA",latitude:29.85033333,longitude:-97.67241667},{iata:"5A8",name:"Aleknagik",city:"Aleknagik",state:"AK",country:"USA",latitude:59.28256167,longitude:-158.6176725},{iata:"5M4",name:"Fordyce Municipal",city:"Fordyce",state:"AR",country:"USA",latitude:33.84593722,longitude:-92.36542861},{iata:"5W8",name:"Siler City Municipal",city:"Siler City",state:"NC",country:"USA",latitude:35.7029175,longitude:-79.50529972},{iata:"68A",name:"Wrangell SPB",city:"Wrangell",state:"AK",country:"USA",latitude:56.466325,longitude:-132.3800181},{iata:"6J4",name:"Saluda County",city:"Saluda",state:"SC",country:"USA",latitude:33.92680111,longitude:-81.79455306},{iata:"6V0",name:"Edgemont Municipal",city:"Edgemont",state:"SD",country:"USA",latitude:43.29525056,longitude:-103.8435325},{iata:"7A0",name:"Greensboro Municipal",city:"Greensboro",state:"AL",country:"USA",latitude:32.68147222,longitude:-87.66208333},{iata:"7M3",name:"Bearce",city:"Mount Ida",state:"AR",country:"USA",latitude:34.52926056,longitude:-93.52713472},{iata:"84D",name:"Cheyenne Eagle Butte",city:"Eagle Butte",state:"SD",country:"USA",latitude:44.984375,longitude:-101.2510417},{iata:"8F7",name:"Decatur Municipal",city:"Decatur",state:"TX",country:"USA",latitude:33.25463889,longitude:-97.58055556},{iata:"94K",name:"Cassville Municipal",city:"Cassville",state:"MO",country:"USA",latitude:36.69741667,longitude:-93.90052778},{iata:"9G0",name:"Buffalo Airfield",city:"Buffalo",state:"NY",country:"USA",latitude:42.86200306,longitude:-78.71658528},{iata:"9U3",name:"Austin",city:"Austin",state:"NV",country:"USA",latitude:39.46798056,longitude:-117.1953703},{iata:"ABI",name:"Abilene Regional",city:"Abilene",state:"TX",country:"USA",latitude:32.41132,longitude:-99.68189722},{iata:"ADT",name:"Atwood-Rawlins County City-County",city:"Atwood",state:"KS",country:"USA",latitude:39.84013889,longitude:-101.0420278},{iata:"AHQ",name:"Wahoo Municipal",city:"Wahoo",state:"NE",country:"USA",latitude:41.24133333,longitude:-96.59402778},{iata:"AKO",name:"Akron-Washington Co",city:"Akron",state:"CO",country:"USA",latitude:40.17563333,longitude:-103.2220278},{iata:"AND",name:"Anderson County",city:"Anderson",state:"SC",country:"USA",latitude:34.49494444,longitude:-82.70902778},{iata:"AQY",name:"Girdwood",city:"Girdwood",state:"AK",country:"USA",latitude:60.96609583,longitude:-149.1257892},{iata:"ATL",name:"William B Hartsfield-Atlanta Intl",city:"Atlanta",state:"GA",country:"USA",latitude:33.64044444,longitude:-84.42694444},{iata:"AWI",name:"Wainwright",city:"Wainwright",state:"AK",country:"USA",latitude:70.638,longitude:-159.99475},{iata:"BAX",name:"Huron County Memorial",city:"Bad Axe",state:"MI",country:"USA",latitude:43.78091667,longitude:-82.98566667},{iata:"BFD",name:"Bradford Reg",city:"Bradford",state:"PA",country:"USA",latitude:41.80306778,longitude:-78.64012083},{iata:"BIG",name:"Allen AAF",city:"Delta Junction",state:"AK",country:"USA",latitude:63.99454722,longitude:-145.7216417},{iata:"BMG",name:"Monroe County",city:"Bloomington",state:"IN",country:"USA",latitude:39.14602139,longitude:-86.61668278},{iata:"BRD",name:"Brainerd-Crow Wing County Regional",city:"Brainerd",state:"MN",country:"USA",latitude:46.39785806,longitude:-94.1372275},{iata:"BVI",name:"Beaver County",city:"Beaver Falls",state:"PA",country:"USA",latitude:40.77248083,longitude:-80.39142556},{iata:"C05",name:"Chenega Bay",city:"Chenega",state:"AK",country:"USA",latitude:60.07730556,longitude:-147.9918889},{iata:"C81",name:"Campbell",city:"Chicago/Round Lake Park",state:"IL",country:"USA",latitude:42.32461111,longitude:-88.07408806},{iata:"CDH",name:"Harrell",city:"Camden",state:"AR",country:"USA",latitude:33.62279917,longitude:-92.76339528},{iata:"CFV",name:"Coffeyville Municipal",city:"Coffeyville",state:"KS",country:"USA",latitude:37.0940475,longitude:-95.57189417},{iata:"CIK",name:"Chalkyitsik",city:"Chalkyitsik",state:"AK",country:"USA",latitude:66.64969083,longitude:-143.7359492},{iata:"CLL",name:"Easterwood",city:"College Station",state:"TX",country:"USA",latitude:30.58858944,longitude:-96.36382417},{iata:"COD",name:"Yellowstone Regional",city:"Cody",state:"WY",country:"USA",latitude:44.52019417,longitude:-109.0237961},{iata:"CRG",name:"Craig Municipal",city:"Jacksonville",state:"FL",country:"USA",latitude:30.33633333,longitude:-81.51444444},{iata:"CUL",name:"Carmi Municipal",city:"Carmi",state:"IL",country:"USA",latitude:38.08947917,longitude:-88.12306111},{iata:"CYS",name:"Cheyenne",city:"Cheyenne",state:"WY",country:"USA",latitude:41.1557225,longitude:-104.8118381},{iata:"D73",name:"Monroe-Walton County",city:"Monroe",state:"GA",country:"USA",latitude:33.78149889,longitude:-83.69355389},{iata:"DED",name:"Deland Municipal-Taylor",city:"Deland",state:"FL",country:"USA",latitude:29.06698056,longitude:-81.28394167},{iata:"DLO",name:"Delano Municipal",city:"Delano",state:"CA",country:"USA",latitude:35.74558056,longitude:-119.2365039},{iata:"DTA",name:"Delta Municipal",city:"Delta",state:"UT",country:"USA",latitude:39.38328861,longitude:-112.5096683},{iata:"DXE",name:"Dexter Municipal",city:"Dexter",state:"MO",country:"USA",latitude:36.77747,longitude:-89.94117333},{iata:"E42",name:"Spearman Municipal",city:"Spearman",state:"TX",country:"USA",latitude:36.221,longitude:-101.1945},{iata:"EED",name:"Needles",city:"Needles",state:"CA",country:"USA",latitude:34.76619444,longitude:-114.6232931},{iata:"EKM",name:"Elkhart Municipal",city:"Elkhart",state:"IN",country:"USA",latitude:41.71935833,longitude:-86.00168361},{iata:"EMV",name:"Emporia-Greensville Regional",city:"Emporia",state:"VA",country:"USA",latitude:36.68691667,longitude:-77.48280556},{iata:"ETB",name:"West Bend Municipal",city:"West Bend",state:"WI",country:"USA",latitude:43.42219444,longitude:-88.12792667},{iata:"EYE",name:"Eagle Creek Airpark",city:"Indianapolis",state:"IN",country:"USA",latitude:39.83070944,longitude:-86.29438056},{iata:"F31",name:"Lake Texoma State Park",city:"Kingston",state:"OK",country:"USA",latitude:33.99287639,longitude:-96.64249722},{iata:"F88",name:"Jonesboro",city:"Jonesboro",state:"LA",country:"USA",latitude:32.20199028,longitude:-92.73293028},{iata:"FDW",name:"Fairfield County",city:"Winnsboro",state:"SC",country:"USA",latitude:34.31547222,longitude:-81.10880556},{iata:"FLL",name:"Fort Lauderdale-Hollywood Int'l",city:"Ft. Lauderdale",state:"FL",country:"USA",latitude:26.07258333,longitude:-80.15275},{iata:"FRG",name:"Republic",city:"Farmingdale",state:"NY",country:"USA",latitude:40.72878111,longitude:-73.41340722},{iata:"FWC",name:"Fairfield Municipal",city:"Fairfield",state:"IL",country:"USA",latitude:38.37863306,longitude:-88.41265222},{iata:"GBD",name:"Great Bend Municipal",city:"Great Bend",state:"KS",country:"USA",latitude:38.34441861,longitude:-98.85917028},{iata:"GFK",name:"Grand Forks International",city:"Grand Forks",state:"ND",country:"USA",latitude:47.949255,longitude:-97.17611111},{iata:"GLR",name:"Otsego County",city:"Gaylord",state:"MI",country:"USA",latitude:45.01354806,longitude:-84.70318944},{iata:"GRD",name:"Greenwood County",city:"Greenwood",state:"SC",country:"USA",latitude:34.24872222,longitude:-82.15908333},{iata:"GVQ",name:"Genesee Cty",city:"Batavia",state:"NY",country:"USA",latitude:43.03172639,longitude:-78.16759972},{iata:"H71",name:"Mid-America Industrial",city:"Pryor",state:"OK",country:"USA",latitude:36.22539389,longitude:-95.33006333},{iata:"HDE",name:"Brewster",city:"Holdredge",state:"NE",country:"USA",latitude:40.45269444,longitude:-99.33733333},{iata:"HIE",name:"Mt Washington Regional",city:"Whitefield",state:"NH",country:"USA",latitude:44.36761639,longitude:-71.54447111},{iata:"HNS",name:"Haines",city:"Haines",state:"AK",country:"USA",latitude:59.24522806,longitude:-135.5221086},{iata:"HRU",name:"Herington Municipal",city:"Herington",state:"KS",country:"USA",latitude:38.68322389,longitude:-96.80800639},{iata:"HVC",name:"Hopkinsville-Christian County",city:"Hopkinsville",state:"KY",country:"USA",latitude:36.85658333,longitude:-87.45725},{iata:"HZE",name:"Mercer County Regional",city:"Hazen",state:"ND",country:"USA",latitude:47.28986111,longitude:-101.5809444},{iata:"I57",name:"Pike County",city:"Waverly",state:"OH",country:"USA",latitude:39.16693333,longitude:-82.928175},{iata:"ICL",name:"Schenck",city:"Clarinda",state:"IA",country:"USA",latitude:40.72178361,longitude:-95.02642667},{iata:"IKK",name:"Greater Kankakee",city:"Kankakee",state:"IL",country:"USA",latitude:41.07140417,longitude:-87.84626861},{iata:"IPT",name:"Williamsport-Lycoming Cty",city:"Williamsport",state:"PA",country:"USA",latitude:41.24183583,longitude:-76.92109556},{iata:"IYK",name:"Inyokern",city:"Inyokern",state:"CA",country:"USA",latitude:35.65884306,longitude:-117.8295122},{iata:"JKJ",name:"Moorhead Municipal",city:"Moorhead",state:"MN",country:"USA",latitude:46.83919194,longitude:-96.66313028},{iata:"JYL",name:"Plantation Airpark",city:"Sylvania",state:"GA",country:"USA",latitude:32.64544861,longitude:-81.59649722},{iata:"K54",name:"Teller",city:"Teller",state:"AK",country:"USA",latitude:65.24089806,longitude:-166.3360067},{iata:"KFP",name:"False Pass",city:"False Pass",state:"AK",country:"USA",latitude:54.84744583,longitude:-163.4103222},{iata:"KVL",name:"Kivalina",city:"Kivalina",state:"AK",country:"USA",latitude:67.73125333,longitude:-164.5518019},{iata:"L45",name:"Bakersfield Municipal",city:"Bakersfield",state:"CA",country:"USA",latitude:35.32483333,longitude:-118.9958333},{iata:"LBB",name:"Lubbock International",city:"Lubbock",state:"TX",country:"USA",latitude:33.66363889,longitude:-101.8227778},{iata:"LFT",name:"Lafayette Regional",city:"Lafayette",state:"LA",country:"USA",latitude:30.20527972,longitude:-91.987655},{iata:"LLJ",name:"Challis",city:"Challis",state:"ID",country:"USA",latitude:44.52297806,longitude:-114.2175642},{iata:"LQK",name:"Pickens County",city:"Pickens",state:"SC",country:"USA",latitude:34.80997222,longitude:-82.70288889},{iata:"LWC",name:"Lawrence Municipal",city:"Lawrence",state:"KS",country:"USA",latitude:39.01115222,longitude:-95.21657694},{iata:"M08",name:"William L. Whitehurst",city:"Bolivar",state:"TN",country:"USA",latitude:35.21445944,longitude:-89.04336222},{iata:"M36",name:"Frank Federer Memorial",city:"Brinkley",state:"AR",country:"USA",latitude:34.88000194,longitude:-91.1764375},{iata:"M76",name:"Picayune Municipal",city:"Picayune",state:"MS",country:"USA",latitude:30.48748472,longitude:-89.65119306},{iata:"MBL",name:"Manistee County Blacker",city:"Manistee",state:"MI",country:"USA",latitude:44.27319722,longitude:-86.2490025},{iata:"MDS",name:"Madison Municipal",city:"Madison",state:"SD",country:"USA",latitude:44.01597222,longitude:-97.08593333},{iata:"MGW",name:"Morgantown Muni-Walter L. Bill Hart Fld.",city:"Morgantown",state:"WV",country:"USA",latitude:39.6429075,longitude:-79.91631417},{iata:"MKA",name:"Miller Municipal",city:"Miller",state:"SD",country:"USA",latitude:44.52524444,longitude:-98.95811444},{iata:"MLU",name:"Monroe Regional",city:"Monroe",state:"LA",country:"USA",latitude:32.51086556,longitude:-92.03768778},{iata:"MOT",name:"Minot International",city:"Minot",state:"ND",country:"USA",latitude:48.25937778,longitude:-101.2803339},{iata:"MRJ",name:"Iowa County",city:"Mineral Point",state:"WI",country:"USA",latitude:42.88532917,longitude:-90.23198583},{iata:"MUT",name:"Muscatine Municipal",city:"Muscatine",state:"IA",country:"USA",latitude:41.36786333,longitude:-91.14821639},{iata:"MYR",name:"Myrtle Beach International",city:"Myrtle Beach",state:"SC",country:"USA",latitude:33.67975,longitude:-78.92833333},{iata:"N35",name:"Punxsutawney Muni",city:"Punxsutawney",state:"PA",country:"USA",latitude:40.96667472,longitude:-78.93000528},{iata:"N93",name:"New Golovin",city:"Golovin",state:"AK",country:"USA",latitude:64.55305556,longitude:-163.0088889},{iata:"NY0",name:"Fulton Cty",city:"Johnstown",state:"NY",country:"USA",latitude:42.99821222,longitude:-74.32955111},{iata:"O41",name:"Watts-Woodland",city:"Woodland",state:"CA",country:"USA",latitude:38.67387639,longitude:-121.8720772},{iata:"O86",name:"Trinity Center",city:"Trinity Center",state:"CA",country:"USA",latitude:40.98320111,longitude:-122.6941889},{iata:"OGB",name:"Orangeburg Municipal",city:"Orangeburg",state:"SC",country:"USA",latitude:33.46094444,longitude:-80.85891667},{iata:"OLF",name:"L M Clayton",city:"Wolf Point",state:"MT",country:"USA",latitude:48.09451778,longitude:-105.5750536},{iata:"OOA",name:"Oskaloosa Municipal",city:"Oskaloosa",state:"IA",country:"USA",latitude:41.22614944,longitude:-92.49388278},{iata:"ORV",name:"Robert(Bob) Curtis Memorial",city:"Noorvik",state:"AK",country:"USA",latitude:66.82852667,longitude:-161.0277908},{iata:"OXC",name:"Waterbury-Oxford",city:"Oxford",state:"CT",country:"USA",latitude:41.47855556,longitude:-73.13525},{iata:"PAH",name:"Barkley Regional",city:"Paducah",state:"KY",country:"USA",latitude:37.06083333,longitude:-88.77375},{iata:"PEQ",name:"Pecos Municipal",city:"Pecos City",state:"TX",country:"USA",latitude:31.3823575,longitude:-103.5107017},{iata:"PIB",name:"Hattiesburg-Laurel Regional",city:"Hattiesburg-Laurel",state:"MS",country:"USA",latitude:31.46714944,longitude:-89.33705778},{iata:"PMP",name:"Pompano Beach Airpark",city:"Pompano Beach",state:"FL",country:"USA",latitude:26.24713889,longitude:-80.11105556},{iata:"PPO",name:"La Porte Municipal",city:"La Porte",state:"IN",country:"USA",latitude:41.57276194,longitude:-86.73413139},{iata:"PSP",name:"Palm Springs International",city:"Palm Springs",state:"CA",country:"USA",latitude:33.82921556,longitude:-116.5062531},{iata:"PVJ",name:"Pauls Valley Municipal",city:"Pauls Valley",state:"OK",country:"USA",latitude:34.71105361,longitude:-97.22321694},{iata:"Q21",name:"Brownsville",city:"Brownsville",state:"CA",country:"USA",latitude:39.45544417,longitude:-121.2913511},{iata:"Q94",name:"Rio Linda",city:"Rio Linda",state:"CA",country:"USA",latitude:38.67601389,longitude:-121.4455092},{iata:"RDU",name:"Raleigh-Durham International",city:"Raleigh",state:"NC",country:"USA",latitude:35.87763889,longitude:-78.78747222},{iata:"RLD",name:"Richland",city:"Richland",state:"WA",country:"USA",latitude:46.305635,longitude:-119.3041853},{iata:"RPD",name:"Rice Lake Regional-Carl's",city:"Rice Lake",state:"WI",country:"USA",latitude:45.41809056,longitude:-91.77365194},{iata:"RVS",name:"Richard Lloyd Jones, Jr.",city:"Tulsa",state:"OK",country:"USA",latitude:36.0396275,longitude:-95.984635},{iata:"S21",name:"Sunriver",city:"Sunriver",state:"OR",country:"USA",latitude:43.87633333,longitude:-121.4530556},{iata:"S64",name:"Stanford",city:"Stanford",state:"MT",country:"USA",latitude:47.14718944,longitude:-110.2299289},{iata:"SAF",name:"Santa Fe Municipal",city:"Santa Fe",state:"NM",country:"USA",latitude:35.61677778,longitude:-106.0881389},{iata:"SCE",name:"University Park",city:"NA",state:"NA",country:"USA",latitude:40.851206,longitude:-77.846302},{iata:"SDY",name:"Sidney-Richland Municipal",city:"Sidney",state:"MT",country:"USA",latitude:47.70685778,longitude:-104.1925544},{iata:"SGJ",name:"St. Augustine",city:"St. Augustine",state:"FL",country:"USA",latitude:29.95925,longitude:-81.33975},{iata:"SJN",name:"St Johns Industrial Air Park",city:"St Johns",state:"AZ",country:"USA",latitude:34.51855556,longitude:-109.37875},{iata:"SMN",name:"Lemhi County",city:"Salmon",state:"ID",country:"USA",latitude:45.12047778,longitude:-113.8820103},{iata:"SPI",name:"Capital",city:"Springfield",state:"IL",country:"USA",latitude:39.84395194,longitude:-89.67761861},{iata:"STL",name:"Lambert-St Louis International",city:"St Louis",state:"MO",country:"USA",latitude:38.74768694,longitude:-90.35998972},{iata:"SWO",name:"Stillwater Regional",city:"Stillwater",state:"OK",country:"USA",latitude:36.16025194,longitude:-97.08577028},{iata:"T41",name:"La Porte Municipal",city:"La Porte",state:"TX",country:"USA",latitude:29.66925,longitude:-95.06419444},{iata:"TAL",name:"Ralph M Calhoun Memorial",city:"Tanana",state:"AK",country:"USA",latitude:65.17439528,longitude:-152.1093886},{iata:"THM",name:"Thompson Falls",city:"Thompson Falls",state:"MT",country:"USA",latitude:47.57493556,longitude:-115.2843164},{iata:"TOC",name:"Toccoa, R G Le Tourneau",city:"Toccoa",state:"GA",country:"USA",latitude:34.59376444,longitude:-83.2958},{iata:"TSP",name:"Tehachapi Municipal",city:"Tehachapi",state:"CA",country:"USA",latitude:35.13497222,longitude:-118.43925},{iata:"TYL",name:"Taylor",city:"Taylor",state:"AZ",country:"USA",latitude:34.45283333,longitude:-110.1148056},{iata:"U55",name:"Panguitch Municipal",city:"Panguitch",state:"UT",country:"USA",latitude:37.84523333,longitude:-112.3918731},{iata:"UIL",name:"Quillayute",city:"Forks",state:"WA",country:"USA",latitude:47.93714444,longitude:-124.5612497},{iata:"UUO",name:"Willow",city:"Willow",state:"AK",country:"USA",latitude:61.75441667,longitude:-150.0516639},{iata:"VHN",name:"Culberson County",city:"Van Horn",state:"TX",country:"USA",latitude:31.05784417,longitude:-104.7838056},{iata:"VTN",name:"Miller",city:"Valentine",state:"NE",country:"USA",latitude:42.85767194,longitude:-100.547355},{iata:"W97",name:"Middle Peninsula Regional",city:"West Point",state:"VA",country:"USA",latitude:37.52122778,longitude:-76.7646825},{iata:"WNA",name:"Napakiak",city:"Napakiak",state:"AK",country:"USA",latitude:60.69118917,longitude:-161.9695161},{iata:"X26",name:"Sebastian Municipal",city:"Sebastian",state:"FL",country:"USA",latitude:27.81280389,longitude:-80.49560833},{iata:"Y27",name:"Standing Rock",city:"Fort Yates",state:"ND",country:"USA",latitude:46.06638556,longitude:-100.6348492},{iata:"YUM",name:"Yuma MCAS-Yuma International",city:"Yuma",state:"AZ",country:"USA",latitude:32.65658333,longitude:-114.6059722},{iata:"Z95",name:"Cibecue",city:"Cibecue",state:"AZ",country:"USA",latitude:34.00333333,longitude:-110.4441667}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-bubble-map",name:"\u6C14\u6CE1\u5730\u56FE",description:"\u7528\u5706\u7684\u5927\u5C0F\u8868\u73B0\u5730\u7406\u6570\u503C\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u6C14\u6CE1\u5730\u56FE",datasets:{londonBoroughs:{type:"Topology",bbox:[-.5103750689005356,51.28676016315083,.3340155643740317,51.69187411690989],transform:{scale:[8444750807826456e-20,4051544692059764e-20],translate:[-.5103750689005356,51.28676016315083]},objects:{boroughs:{type:"GeometryCollection",geometries:[{type:"Polygon",arcs:[[0,1,2,3,4]],id:"Kingston upon Thames"},{type:"Polygon",arcs:[[5,6,7,8,9]],id:"Croydon"},{type:"Polygon",arcs:[[-9,10,11,12,13,14,15]],id:"Bromley"},{type:"Polygon",arcs:[[16,17,18,19,20,21]],id:"Hounslow"},{type:"Polygon",arcs:[[22,23,24,-21,25]],id:"Ealing"},{type:"Polygon",arcs:[[26,27,28]],id:"Havering"},{type:"Polygon",arcs:[[29,-26,-20,30]],id:"Hillingdon"},{type:"Polygon",arcs:[[31,32,33,-23,-30]],id:"Harrow"},{type:"Polygon",arcs:[[34,35,-24,-34,36,37,38]],id:"Brent"},{type:"Polygon",arcs:[[39,40,41,-37,-33,42]],id:"Barnet"},{type:"Polygon",arcs:[[43,44,-11,-8,45,46]],id:"Lambeth"},{type:"Polygon",arcs:[[47,48,-12,-45]],id:"Southwark"},{type:"Polygon",arcs:[[49,50,51,52,-13,-49]],id:"Lewisham"},{type:"MultiPolygon",arcs:[[[53,-51]],[[54,-14,-53,55]]],id:"Greenwich"},{type:"Polygon",arcs:[[56,-15,-55]],id:"Bexley"},{type:"Polygon",arcs:[[57,58,59,60,-40,61]],id:"Enfield"},{type:"Polygon",arcs:[[62,63,64,-58,65,66]],id:"Waltham Forest"},{type:"Polygon",arcs:[[67,68,-67,69,-28,70,71]],id:"Redbridge"},{type:"Polygon",arcs:[[72,-4,73,-6]],id:"Sutton"},{type:"Polygon",arcs:[[74,75,-1,76,-18]],id:"Richmond upon Thames"},{type:"Polygon",arcs:[[-74,-3,77,-46,-7]],id:"Merton"},{type:"Polygon",arcs:[[78,-47,-78,-2,-76]],id:"Wandsworth"},{type:"Polygon",arcs:[[-22,-25,-36,79,80]],id:"Hammersmith and Fulham"},{type:"Polygon",arcs:[[-80,-35,81,82]],id:"Kensington and Chelsea"},{type:"Polygon",arcs:[[-82,-39,83,84,85]],id:"Westminster"},{type:"Polygon",arcs:[[86,87,-84,-38,-42,88]],id:"Camden"},{type:"Polygon",arcs:[[89,90,91,92,93,94]],id:"Tower Hamlets"},{type:"Polygon",arcs:[[95,96,97,-87]],id:"Islington"},{type:"Polygon",arcs:[[-64,98,-93,99,-97,100]],id:"Hackney"},{type:"Polygon",arcs:[[-96,-89,-41,-61,59,-59,-65,-101]],id:"Haringey"},{type:"MultiPolygon",arcs:[[[101,102]],[[-94,-99,-63,-69,103,104]]],id:"Newham"},{type:"MultiPolygon",arcs:[[[-104,-68,105,-103,106]],[[-71,-27,107]]],id:"Barking and Dagenham"},{type:"Polygon",arcs:[[-85,-88,-98,-100,-92,90,-90,108]],id:"City of London"}]}},arcs:[[[2281,2639],[109,777],[83,133],[250,-215],[312,381]],[[3035,3715],[35,-116]],[[3070,3599],[76,-696],[59,-372]],[[3205,2531],[-63,-229]],[[3142,2302],[-319,-183],[-246,-492],[-314,-614],[-133,509],[148,540],[84,392],[-81,185]],[[4190,858],[148,226],[204,350],[-15,880],[-75,256]],[[4452,2570],[79,529]],[[4531,3099],[401,259],[182,-73]],[[5114,3285],[138,-422],[159,-187],[195,-448],[164,-247],[301,-935]],[[6071,1046],[-335,233],[-288,-147],[-234,-339],[-141,-203],[-345,-454],[-225,8],[-299,214],[-14,500]],[[5114,3285],[2,19]],[[5116,3304],[52,136]],[[5168,3440],[432,-28],[231,-245],[279,83],[235,260],[98,67],[-52,247]],[[6391,3824],[403,-430],[142,191]],[[6936,3585],[452,-467],[419,-114]],[[7807,3004],[-14,-387],[41,-509],[-169,-691],[-182,-257],[-433,-438],[3,-570],[-508,-6],[-210,227],[-169,352],[-95,321]],[[3148,4984],[-116,-382],[-323,322],[-300,-247],[-175,-268]],[[2234,4409],[-181,-266],[-427,71],[-57,-372],[21,-170],[-111,-365],[-70,39]],[[1409,3346],[-353,243],[-314,70],[-163,345],[33,181]],[[612,4185],[297,134],[199,472],[117,465]],[[1225,5256],[518,-95],[471,1],[213,-34],[135,174],[457,-164],[28,160]],[[3047,5298],[101,-314]],[[1570,6620],[358,116],[142,-76]],[[2070,6660],[346,-562],[283,120],[-82,-173],[510,27]],[[3127,6072],[7,-695],[-87,-79]],[[1225,5256],[288,450],[-438,512],[406,308],[89,94]],[[7923,5564],[243,694],[61,428],[-410,297],[-19,723]],[[7798,7706],[-118,606]],[[7680,8312],[670,54],[347,149],[476,-590],[60,-305],[517,-732],[218,-491],[-399,-262],[-403,-431],[-272,83],[14,-327],[-311,-280],[-366,-147],[-308,531]],[[1259,8057],[101,-568],[210,-869]],[[612,4185],[-417,158],[-114,439],[163,456],[-31,447],[68,813],[22,416],[-117,435],[-54,606],[-13,485],[280,-168],[369,-55],[405,-144],[86,-16]],[[1259,8057],[649,338],[357,288],[173,-55]],[[2438,8628],[442,-887]],[[2880,7741],[-181,-379],[-524,-155],[-105,-547]],[[3486,5952],[-148,60]],[[3338,6012],[-211,60]],[[2880,7741],[166,-688],[233,-13],[236,-415]],[[3515,6625],[261,-466]],[[3776,6159],[-290,-207]],[[3887,9425],[405,-655],[148,-503],[-40,-284]],[[4400,7983],[-149,-315],[-72,-268],[-164,-349]],[[4015,7051],[-230,-262],[-228,-125],[-42,-39]],[[2438,8628],[488,210],[296,331],[360,114],[154,134],[151,8]],[[4523,4894],[148,551],[83,27]],[[4754,5472],[68,-427],[38,-353],[117,-263],[-127,-391],[266,-734]],[[4531,3099],[-150,171]],[[4381,3270],[9,397],[-32,387],[79,536],[86,304]],[[4754,5472],[611,-188],[295,83],[0,-275]],[[5660,5092],[-260,-357],[97,-534],[-135,-164],[-172,-440],[-22,-157]],[[5660,5092],[89,-186]],[[5749,4906],[92,-126]],[[5841,4780],[-67,-125]],[[5774,4655],[173,-64],[204,-170],[147,-571],[93,-26]],[[5749,4906],[92,-126]],[[7467,5546],[-21,-803],[-239,-85],[-232,-400],[26,-466],[-65,-207]],[[5774,4655],[271,284],[60,430],[678,-242],[526,368],[158,51]],[[7467,5546],[473,-145],[212,-545],[469,-76],[-79,-295],[-213,-414],[-240,-214],[-228,-485],[-54,-368]],[[5898,8872],[-276,-844],[-69,-158]],[[5553,7870],[-304,82]],[[5249,7952],[0,0]],[[5249,7952],[-668,-6],[-181,37]],[[3887,9425],[220,481],[607,72],[394,-52],[608,-165],[222,-543],[-40,-346]],[[6285,6652],[-205,-103],[-240,-13]],[[5840,6536],[-357,277],[-164,370]],[[5319,7183],[125,463],[109,224]],[[5898,8872],[156,-109],[248,-320]],[[6302,8443],[-66,-296],[-34,-816],[13,-449],[70,-230]],[[6865,6352],[-12,7]],[[6853,6359],[-165,377],[-230,-110],[-173,26]],[[6302,8443],[319,-376],[454,-225],[130,270],[243,-1],[232,201]],[[7798,7706],[-258,-302],[62,-368],[-243,-477],[-490,-208]],[[6869,6351],[-4,1]],[[4190,858],[-209,289],[-460,57],[-50,194],[-235,580],[-94,324]],[[3205,2531],[256,-226],[352,130],[273,63],[366,72]],[[2234,4409],[147,-418],[-201,-414],[243,423],[-153,526],[401,394],[291,-390],[227,446],[209,-416]],[[3398,4560],[-349,-155],[133,-545],[-147,-145]],[[2281,2639],[-498,453],[-284,-47],[-46,227],[-44,74]],[[3070,3599],[541,153],[247,-275],[475,-244],[48,37]],[[3398,4560],[467,-151],[411,451],[247,34]],[[3338,6012],[109,-513],[193,-401],[226,-392]],[[3866,4706],[-116,-311],[-364,460],[-238,129]],[[3486,5952],[199,-330],[177,-315],[305,12],[100,-414]],[[4267,4905],[-401,-199]],[[3776,6159],[314,-13],[331,-417],[301,-87]],[[4722,5642],[0,-113]],[[4722,5529],[-237,-609],[-218,-15]],[[4357,6969],[184,-546],[172,-575],[83,-127]],[[4796,5721],[-74,-79]],[[4015,7051],[342,-82]],[[5104,5457],[7,24]],[[5111,5481],[0,0]],[[5111,5481],[3,313]],[[5114,5794],[144,240],[396,331],[193,-32]],[[5847,6333],[108,-423],[-4,-79]],[[5951,5831],[136,-209],[-64,-176],[-23,-455],[-286,133],[-237,353],[-373,-20]],[[4357,6969],[451,-107]],[[4808,6862],[292,-320],[-205,-465],[140,-312]],[[5035,5765],[-239,-44]],[[5840,6536],[7,-203]],[[5114,5794],[-79,-29]],[[4808,6862],[333,251],[178,70]],[[6938,5999],[-1,1]],[[6937,6e3],[1,-1]],[[6853,6359],[57,-371]],[[6910,5988],[269,-344],[-421,-421],[-637,292],[-179,243],[9,73]],[[6865,6352],[73,-353]],[[6937,6e3],[-27,-12]],[[7923,5564],[-374,179],[-374,-61],[-225,317],[-81,352]],[[5104,5457],[-382,72]]]},londonCentroids:[{name:"Kingston upon Thames",cx:-.28691465719243003,cy:51.387893353778395},{name:"Croydon",cx:-.08716546101532906,cy:51.355317416374},{name:"Bromley",cx:.051536586180461884,cy:51.37198402033694},{name:"Hounslow",cx:-.3671516396902454,cy:51.46838045919461},{name:"Ealing",cx:-.331019323573572,cy:51.52247610268018},{name:"Havering",cx:.22111695897456907,cy:51.564368109593914},{name:"Hillingdon",cx:-.4456619192134244,cy:51.54147118065276},{name:"Harrow",cx:-.34127462993183943,cy:51.59771852185307},{name:"Brent",cx:-.2678117446868589,cy:51.558554439571225},{name:"Barnet",cx:-.2100178905687616,cy:51.61601840050092},{name:"Lambeth",cx:-.11827879184555543,cy:51.45307915598091},{name:"Southwark",cx:-.07460248417459615,cy:51.47313736252929},{name:"Lewisham",cx:-.020251210147097444,cy:51.44808622366465},{name:"Greenwich",cx:.05623854022441538,cy:51.47280349330009},{name:"Bexley",cx:.14034521936844538,cy:51.45881060129503},{name:"Enfield",cx:-.08726531756552813,cy:51.650991897325454},{name:"Waltham Forest",cx:-.012645389036967391,cy:51.59402179942259},{name:"Redbridge",cx:.07586498666349965,cy:51.58566980239283},{name:"Sutton",cx:-.1775706458949663,cy:51.36208881322784},{name:"Richmond upon Thames",cx:-.312989912939369,cy:51.44217087768007},{name:"Merton",cx:-.19724686451592524,cy:51.40994982121643},{name:"Wandsworth",cx:-.18644255213923716,cy:51.45135372974042},{name:"Hammersmith and Fulham",cx:-.22312501860130696,cy:51.49760349773975},{name:"Kensington and Chelsea",cx:-.1926146417708775,cy:51.50326858912867},{name:"Westminster",cx:-.16129707300361068,cy:51.513897745031734},{name:"Camden",cx:-.15741523389534484,cy:51.54639253962996},{name:"Tower Hamlets",cx:-.03246795051939853,cy:51.515056063777294},{name:"Islington",cx:-.10744657464865907,cy:51.54550386068218},{name:"Hackney",cx:-.06564515736890775,cy:51.54976532427057},{name:"Haringey",cx:-.10747319126297968,cy:51.59037386425316},{name:"Newham",cx:.036385305135703754,cy:51.52834280272405},{name:"Barking and Dagenham",cx:.13352186486629006,cy:51.545272267046116},{name:"City of London",cx:-.09232371387227843,cy:51.51529009582889}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-gauge",name:"\u4EEA\u8868\u76D8",description:"\u7528\u5706\u5F27\u8868\u8FBE\u8FDB\u5EA6\u6216\u6307\u6807\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u4EEA\u8868\u76D8",datasets:{main:{target:120,total:400,name:"score"}},theme:"indigo",height:320,legend:!1,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-bullet",name:"\u5B50\u5F39\u56FE",description:"\u540C\u65F6\u663E\u793A\u5B9E\u9645\u3001\u76EE\u6807\u4E0E\u533A\u95F4\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u5B50\u5F39\u56FE",datasets:{"layer-0":[{title:"Sales Completion Rate",ranges:100,measures:80,target:85}],"layer-1":[{title:"Sales Completion Rate",ranges:100,measures:80,target:85}],"layer-2":[{title:"Sales Completion Rate",ranges:100,measures:80,target:85}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-wordcloud",name:"\u8BCD\u4E91",description:"\u7528\u5B57\u53F7\u8868\u8FBE\u8BCD\u8BED\u6743\u91CD\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u8BCD\u4E91",datasets:{main:[{value:11.739204307083542,text:"\u6C34\u662F",name:"\u6CF0\u5229\u65AF"},{value:9.23723855786,text:"\u4E4B\u6E90",name:"\u6CF0\u5229\u65AF"},{value:7.75434839431,text:"\u4E07\u7269",name:"\u6CF0\u5229\u65AF"},{value:11.3865516372,text:"\u7269\u8D28",name:"\u5B89\u7EB3\u514B\u897F\u66FC\u5FB7"},{value:7.75434839431,text:"\u4E07\u7269",name:"\u5B89\u7EB3\u514B\u897F\u66FC\u5FB7"},{value:5.83541244308,text:"\u521B\u9020",name:"\u5B89\u7EB3\u514B\u897F\u66FC\u5FB7"},{value:4.27215339948,text:"\u5F62\u6210",name:"\u5B89\u7EB3\u514B\u897F\u66FC\u5FB7"},{value:4.2025551294,text:"\u4E00\u5B9A",name:"\u5B89\u7EB3\u514B\u897F\u66FC\u5FB7"},{value:9.23723855786,text:"\u4E4B\u6E90",name:"\u5B89\u7EB3\u897F\u6885\u5229\u65AF"},{value:7.75434839431,text:"\u4E07\u7269",name:"\u5B89\u7EB3\u897F\u6885\u5229\u65AF"},{value:7.34959731693,text:"\u5FC5\u5B9A",name:"\u5B89\u7EB3\u897F\u6885\u5229\u65AF"},{value:6.57487014938,text:"\u6C14\u4F53",name:"\u5B89\u7EB3\u897F\u6885\u5229\u65AF"},{value:6.32509300042,text:"\u7A7A\u6C14",name:"\u5B89\u7EB3\u897F\u6885\u5229\u65AF"},{value:10.1394775363,text:"\u4EFB\u4F55\u4E8B\u7269",name:"\u5E15\u6885\u5C3C\u5FB7\u65AF"},{value:9.29550746599,text:"\u611F\u5B98",name:"\u5E15\u6885\u5C3C\u5FB7\u65AF"},{value:7.13910488317,text:"\u53EF\u9760",name:"\u5E15\u6885\u5C3C\u5FB7\u65AF"},{value:6.89126871927,text:"\u4E8B\u7269",name:"\u5E15\u6885\u5C3C\u5FB7\u65AF"},{value:6.2256471303,text:"\u6CA1\u6709",name:"\u5E15\u6885\u5C3C\u5FB7\u65AF"},{value:11.739204307083542,text:"\u4F1A\u53D8",name:"\u8D6B\u62C9\u514B\u91CC\u7279\u65AF"},{value:9.29550746599,text:"\u611F\u5B98",name:"\u8D6B\u62C9\u514B\u91CC\u7279\u65AF"},{value:8.70772080109,text:"\u8BA4\u77E5",name:"\u8D6B\u62C9\u514B\u91CC\u7279\u65AF"},{value:7.75434839431,text:"\u4E07\u7269",name:"\u8D6B\u62C9\u514B\u91CC\u7279\u65AF"},{value:7.13910488317,text:"\u53EF\u9760",name:"\u8D6B\u62C9\u514B\u91CC\u7279\u65AF"},{value:13.68728134056,text:"\u5143\u7D20",name:"\u6069\u966A\u7AA6"},{value:10.2897597393,text:"\u5206\u5408",name:"\u6069\u966A\u7AA6"},{value:10.1871055853,text:"\u805A\u6563",name:"\u6069\u966A\u7AA6"},{value:8.42421410004,text:"\u56DB\u79CD",name:"\u6069\u966A\u7AA6"},{value:8.29487558568,text:"\u4E16\u95F4",name:"\u6069\u966A\u7AA6"},{value:8.77077893705,text:"\u8089\u773C",name:"\u5B89\u7EB3\u8428\u54E5\u62C9\u65AF"},{value:8.18364995057,text:"\u5FAE\u5C0F",name:"\u5B89\u7EB3\u8428\u54E5\u62C9\u65AF"},{value:8.10461990121,text:"\u5927\u81EA\u7136",name:"\u5B89\u7EB3\u8428\u54E5\u62C9\u65AF"},{value:7.69410172525,text:"\u7C92\u5B50",name:"\u5B89\u7EB3\u8428\u54E5\u62C9\u65AF"},{value:7.65457088649,text:"\u5206\u5272",name:"\u5B89\u7EB3\u8428\u54E5\u62C9\u65AF"},{value:21.6192703972,text:"\u79EF\u6728",name:"\u5FB7\u8C1F\u514B\u5229\u91CC\u7279\u65AF"},{value:10.7226238216,text:"\u6C38\u6052\u4E0D\u53D8",name:"\u5FB7\u8C1F\u514B\u5229\u91CC\u7279\u65AF"},{value:8.18364995057,text:"\u5FAE\u5C0F",name:"\u5FB7\u8C1F\u514B\u5229\u91CC\u7279\u65AF"},{value:7.14957618304,text:"\u539F\u5B50",name:"\u5FB7\u8C1F\u514B\u5229\u91CC\u7279\u65AF"},{value:7.1038539337,text:"\u6700\u5C0F",name:"\u5FB7\u8C1F\u514B\u5229\u91CC\u7279\u65AF"},{value:11.739204307083542,text:"\u6709\u4F55",name:"\u666E\u7F57\u5854\u683C\u62C9\u65AF"},{value:11.739204307083542,text:"\u662F\u9519",name:"\u666E\u7F57\u5854\u683C\u62C9\u65AF"},{value:8.10461990121,text:"\u800C\u5B9A",name:"\u666E\u7F57\u5854\u683C\u62C9\u65AF"},{value:7.95787827685,text:"\u5C3A\u5EA6",name:"\u666E\u7F57\u5854\u683C\u62C9\u65AF"},{value:7.36109169636,text:"\u8861\u91CF",name:"\u666E\u7F57\u5854\u683C\u62C9\u65AF"},{value:11.7034530746,text:"\u660E\u8FA8\u662F\u975E",name:"\u82CF\u683C\u62C9\u5E95"},{value:9.14102377386,text:"\u5B58\u5728",name:"\u82CF\u683C\u62C9\u5E95"},{value:8.98802276624,text:"\u4E00\u65E0\u6240\u77E5",name:"\u82CF\u683C\u62C9\u5E95"},{value:6.90950076485,text:"\u7406\u6027",name:"\u82CF\u683C\u62C9\u5E95"},{value:5.82167939329,text:"\u4E00\u4EF6",name:"\u82CF\u683C\u62C9\u5E95"},{value:12.06102341102,text:"\u6A21\u5F0F",name:"\u67CF\u62C9\u56FE"},{value:11.739204307083542,text:"\u7406\u578B",name:"\u67CF\u62C9\u56FE"},{value:11.3865516372,text:"\u7269\u8D28",name:"\u67CF\u62C9\u56FE"},{value:9.54656840164,text:"\u4E1C\u897F",name:"\u67CF\u62C9\u56FE"},{value:8.73505881114,text:"\u4E16\u754C",name:"\u67CF\u62C9\u56FE"},{value:34.45634359635,text:"\u4E8B\u7269",name:"\u4E9A\u91CC\u58EB\u591A\u5FB7"},{value:27.886522397969998,text:"\u611F\u5B98",name:"\u4E9A\u91CC\u58EB\u591A\u5FB7"},{value:20.4235963958,text:"\u8D28\u6599",name:"\u4E9A\u91CC\u58EB\u591A\u5FB7"},{value:12.1089181827,text:"\u548C\u8C10\u4E00\u81F4",name:"\u4E9A\u91CC\u58EB\u591A\u5FB7"},{value:10.4994802703,text:"\u5145\u5206\u8FD0\u7528",name:"\u4E9A\u91CC\u58EB\u591A\u5FB7"},{value:11.739204307083542,text:"\u4E00\u88AD",name:"\u7B2C\u6B27\u6839\u5C3C"},{value:10.1630080337,text:"\u6728\u6876",name:"\u7B2C\u6B27\u6839\u5C3C"},{value:9.30555780184,text:"\u6728\u68CD",name:"\u7B2C\u6B27\u6839\u5C3C"},{value:9.26594866375,text:"\u6597\u7BF7",name:"\u7B2C\u6B27\u6839\u5C3C"},{value:9.22784881751,text:"\u4E00\u888B",name:"\u7B2C\u6B27\u6839\u5C3C"},{value:6.47412857958,text:"\u75DB\u82E6",name:"\u4F0A\u58C1\u9E20\u9C81"},{value:6.06866347147,text:"\u907F\u514D",name:"\u4F0A\u58C1\u9E20\u9C81"},{value:5.02315619812,text:"\u5F62\u5F0F",name:"\u4F0A\u58C1\u9E20\u9C81"},{value:4.80149232937,text:"\u65B9\u5F0F",name:"\u4F0A\u58C1\u9E20\u9C81"},{value:4.13163619599,text:"\u4E00\u79CD",name:"\u4F0A\u58C1\u9E20\u9C81"},{value:21.209681572,text:"\u4E07\u4E8B\u4E07\u7269",name:"\u666E\u7F57\u6C40"},{value:7.48068272383,text:"\u4E0A\u5E1D",name:"\u666E\u7F57\u6C40"},{value:7.37711534583,text:"\u4E00\u4F53",name:"\u666E\u7F57\u6C40"},{value:7.36834335975,text:"\u5B87\u5B99",name:"\u666E\u7F57\u6C40"},{value:5.67973648369,text:"\u4E4B\u4E2D",name:"\u666E\u7F57\u6C40"},{value:9.17328983326,text:"\u8D66\u514D",name:"\u8036\u7A23"},{value:8.04274449749,text:"\u62EF\u6551",name:"\u8036\u7A23"},{value:7.48068272383,text:"\u4E0A\u5E1D",name:"\u8036\u7A23"},{value:4.60931044136,text:"\u5F97\u5230",name:"\u8036\u7A23"},{value:2.81755097213,text:"\u4E00\u4E2A",name:"\u8036\u7A23"},{value:14.96136544766,text:"\u4E0A\u5E1D",name:"\u4FDD\u7F57"},{value:7.95787827685,text:"\u4E16\u4EBA",name:"\u4FDD\u7F57"},{value:7.22485443034,text:"\u663E\u73B0",name:"\u4FDD\u7F57"},{value:7.07413242842,text:"\u8BD5\u56FE",name:"\u4FDD\u7F57"},{value:6.04010686644,text:"\u5BFB\u627E",name:"\u4FDD\u7F57"},{value:14.96136544766,text:"\u4E0A\u5E1D",name:"\u5723\u5965\u53E4\u65AF\u4E01"},{value:11.67082488616,text:"\u521B\u9020",name:"\u5723\u5965\u53E4\u65AF\u4E01"},{value:9.80633308975,text:"\u865A\u7A7A",name:"\u5723\u5965\u53E4\u65AF\u4E01"},{value:8.73505881114,text:"\u4E16\u754C",name:"\u5723\u5965\u53E4\u65AF\u4E01"},{value:5.23799979382,text:"\u5FC3\u4E2D",name:"\u5723\u5965\u53E4\u65AF\u4E01"},{value:16.57509909118,text:"\u542F\u793A",name:"\u5723\u591A\u739B\u65AF"},{value:14.51638170122,text:"\u4FE1\u4EF0",name:"\u5723\u591A\u739B\u65AF"},{value:13.8190015297,text:"\u7406\u6027",name:"\u5723\u591A\u739B\u65AF"},{value:10.5684731418,text:"\u89C2\u611F",name:"\u5723\u591A\u739B\u65AF"},{value:9.04086524761,text:"\u5E76\u4E0D\u4E00\u5B9A",name:"\u5723\u591A\u739B\u65AF"},{value:12.57964972316,text:"\u5730\u7403",name:"\u54E5\u767D\u5C3C"},{value:12.45583951066,text:"\u592A\u9633",name:"\u54E5\u767D\u5C3C"},{value:11.39201164604,text:"\u8FD0\u884C",name:"\u54E5\u767D\u5C3C"},{value:6.22698952271,text:"\u5E76\u672A",name:"\u54E5\u767D\u5C3C"},{value:14.35128801962,text:"\u7269\u4F53",name:"\u4F3D\u5229\u7565"},{value:11.18052531558,text:"\u72B6\u6001",name:"\u4F3D\u5229\u7565"},{value:10.0505300503,text:"\u8F74\u5FC3",name:"\u4F3D\u5229\u7565"},{value:9.56994431169,text:"\u661F\u7403",name:"\u4F3D\u5229\u7565"},{value:9.29550746599,text:"\u611F\u5B98",name:"\u4F3D\u5229\u7565"},{value:21.52693202943,text:"\u7269\u4F53",name:"\u725B\u987F"},{value:8.68574189437,text:"\u9012\u589E",name:"\u725B\u987F"},{value:8.29120585679,text:"\u9012\u51CF",name:"\u725B\u987F"},{value:7.9817837977,text:"\u884C\u661F",name:"\u725B\u987F"},{value:7.36834335975,text:"\u5B87\u5B99",name:"\u725B\u987F"},{value:13.900677652,text:"\u6545\u6211\u5728",name:"\u7B1B\u5361\u5C14"},{value:11.9547675029,text:"\u771F\u5B9E\u4E16\u754C",name:"\u7B1B\u5361\u5C14"},{value:11.739204307083542,text:"\u6211\u601D",name:"\u7B1B\u5361\u5C14"},{value:10.2371160058,text:"\u4E4B\u6709",name:"\u7B1B\u5361\u5C14"},{value:7.96050639926,text:"\u7EC6\u5206",name:"\u7B1B\u5361\u5C14"},{value:22.44204817149,text:"\u4E0A\u5E1D",name:"\u65AF\u5BBE\u8BFA\u838E"},{value:12.1089181827,text:"\u4E3B\u5BB0\u4E16\u754C",name:"\u65AF\u5BBE\u8BFA\u838E"},{value:10.8096351986,text:"\u7275\u7EBF",name:"\u65AF\u5BBE\u8BFA\u838E"},{value:10.6818018271,text:"\u81EA\u7136\u6CD5\u5219",name:"\u65AF\u5BBE\u8BFA\u838E"},{value:9.7898037878,text:"\u6728\u5076",name:"\u65AF\u5BBE\u8BFA\u838E"},{value:18.59101493198,text:"\u611F\u5B98",name:"\u6D1B\u514B"},{value:15.51728049278,text:"\u5FC3\u7075",name:"\u6D1B\u514B"},{value:11.9547675029,text:"\u5BDF\u77E5",name:"\u6D1B\u514B"},{value:10.1394775363,text:"\u4EFB\u4F55\u4E8B\u7269",name:"\u6D1B\u514B"},{value:8.74738605748,text:"\u6B21\u8981",name:"\u6D1B\u514B"},{value:14.95161725614,text:"\u54F2\u5B66\u5BB6",name:"\u4F11\u8C1F"},{value:12.5143832909,text:"\u63A5\u8FDE\u8D77\u6765",name:"\u4F11\u8C1F"},{value:11.739204307083542,text:"\u7701\u601D",name:"\u4F11\u8C1F"},{value:11.64335878658,text:"\u4E00\u4EF6",name:"\u4F11\u8C1F"},{value:10.2897597393,text:"\u884C\u4E3A\u51C6\u5219",name:"\u4F11\u8C1F"},{value:13.78796485028,text:"\u611F\u53D7",name:"\u67CF\u514B\u83B1"},{value:10.3743171274,text:"\u5929\u4E3B",name:"\u67CF\u514B\u83B1"},{value:10.2117981979,text:"\u8D28\u6599",name:"\u67CF\u514B\u83B1"},{value:9.58318953844,text:"\u5468\u906D",name:"\u67CF\u514B\u83B1"},{value:9.14102377386,text:"\u5B58\u5728",name:"\u67CF\u514B\u83B1"},{value:14.96136544766,text:"\u4E0A\u5E1D",name:"\u5EB7\u5FB7"},{value:14.35850390238,text:"\u5934\u9876",name:"\u5EB7\u5FB7"},{value:12.5143832909,text:"\u56E0\u679C\u5F8B",name:"\u5EB7\u5FB7"},{value:11.739204307083542,text:"\u5B58\u4E0D\u5B58",name:"\u5EB7\u5FB7"},{value:11.0674643079,text:"\u6839\u690D",name:"\u5EB7\u5FB7"},{value:16.20923980242,text:"\u5927\u81EA\u7136",name:"\u8C22\u6797"},{value:13.10258821671,text:"\u4E16\u754C",name:"\u8C22\u6797"},{value:11.3865516372,text:"\u7269\u8D28",name:"\u8C22\u6797"},{value:11.27020388852,text:"\u4E00\u4E2A",name:"\u8C22\u6797"},{value:10.1164880181,text:"\u65E0\u4F11\u6B62",name:"\u8C22\u6797"},{value:13.10258821671,text:"\u4E16\u754C",name:"\u9ED1\u683C\u5C14"},{value:11.23942650284,text:"\u7CBE\u795E",name:"\u9ED1\u683C\u5C14"},{value:10.9049453784,text:"\u518D\u8BFB",name:"\u9ED1\u683C\u5C14"},{value:10.1394775363,text:"\u811A\u8E0F\u5B9E\u5730",name:"\u9ED1\u683C\u5C14"},{value:8.60236028543,text:"\u8FA9\u8BC1\u6CD5",name:"\u9ED1\u683C\u5C14"},{value:26.6063055869,text:"\u9636\u6BB5",name:"\u7941\u514B\u679C"},{value:13.0408437271,text:"\u771F\u5B9E",name:"\u7941\u514B\u679C"},{value:11.739204307083542,text:"\u4EBA\u6B63",name:"\u7941\u514B\u679C"},{value:10.48883682488,text:"\u662F\u5426",name:"\u7941\u514B\u679C"},{value:9.5062284973,text:"\u7F8E\u611F",name:"\u7941\u514B\u679C"},{value:17.0798274558,text:"\u7269\u8D28",name:"\u9A6C\u514B\u601D"},{value:11.739204307083542,text:"\u65B0\u7684",name:"\u9A6C\u514B\u601D"},{value:11.23942650284,text:"\u7CBE\u795E",name:"\u9A6C\u514B\u601D"},{value:10.4471578861,text:"\u6539\u53D8",name:"\u9A6C\u514B\u601D"},{value:10.21443458184,text:"\u9020\u6210",name:"\u9A6C\u514B\u601D"},{value:16.20923980242,text:"\u4E00\u8258",name:"\u8FBE\u5C14\u6587"},{value:15.07529909688,text:"\u822A\u884C",name:"\u8FBE\u5C14\u6587"},{value:11.739204307083542,text:"\u4EBA\u5219",name:"\u8FBE\u5C14\u6587"},{value:11.7034530746,text:"\u7269\u7ADE\u5929\u62E9",name:"\u8FBE\u5C14\u6587"},{value:10.5684731418,text:"\u9002\u8005\u751F\u5B58",name:"\u8FBE\u5C14\u6587"},{value:19.89886786678,text:"\u6F5C\u610F\u8BC6",name:"\u5F17\u6D1B\u4F0A\u5FB7"},{value:12.76848869812,text:"\u610F\u8BC6",name:"\u5F17\u6D1B\u4F0A\u5FB7"},{value:9.96885201925,text:"\u5408\u7406\u5316",name:"\u5F17\u6D1B\u4F0A\u5FB7"},{value:9.17328983326,text:"\u6295\u5C04",name:"\u5F17\u6D1B\u4F0A\u5FB7"},{value:8.73589167805,text:"\u4E00\u5C0F\u90E8\u5206",name:"\u5F17\u6D1B\u4F0A\u5FB7"},{value:11.8006563133,text:"\u81EA\u7531",name:"\u8428\u7279"},{value:11.739204307083542,text:"\u5728\u5DF1",name:"\u8428\u7279"},{value:11.739204307083542,text:"\u4E3A\u5DF1",name:"\u8428\u7279"},{value:11.739204307083542,text:"\u5730\u95EE",name:"\u8428\u7279"},{value:11.4157710022,text:"\u758F\u79BB",name:"\u8428\u7279"}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"}];var Z2=[{kind:"archify",name:"Archify \u4EA4\u4E92\u67B6\u6784\u56FE",version:"1.2.0",description:"\u4FDD\u7559 Archify 3.1 \u539F\u751F\u9605\u8BFB\u5668\u7684\u5341\u7C7B\u4EA4\u4E92\u56FE\uFF1A\u5DE5\u4F5C\u6D41\u3001\u7CFB\u7EDF\u67B6\u6784\u3001\u65F6\u5E8F\u3001\u6570\u636E\u6D41\u3001\u751F\u547D\u5468\u671F\u3001\u5B9E\u4F53\u5173\u7CFB\u3001\u7C7B\u4E0E\u63A5\u53E3\u3001\u6811\u5F62\u7ED3\u6784\u3001\u65F6\u95F4\u7EBF\u548C\u7011\u5E03\u8FFD\u8E2A\uFF0C\u652F\u6301\u8282\u70B9\u67E5\u627E\u3001\u8DEF\u5F84\u63A2\u7D22\u3001\u52A8\u9759\u5207\u6362\u4E0E\u5BFC\u51FA\u3002",defaultData:{template:"workflow",height:560,presentation:{title:"outside",description:"outside",notes:"hidden",legend:!0,controls:!0}}},{kind:"diagram-design",name:"Diagram Design \u56FE\u5F62",version:"1.1.0",description:"45 \u7C7B Diagram Design \u56FE\u5F62\u6A21\u677F\uFF0C\u4FDD\u7559\u539F\u7248 HTML/SVG \u5E03\u5C40\u548C\u6837\u5F0F\uFF0C\u8986\u76D6\u67B6\u6784\u3001\u6D41\u7A0B\u3001\u5173\u7CFB\u4E0E\u6570\u636E\u8868\u8FBE\uFF1B\u652F\u6301\u6587\u5B57\u4FEE\u6539\u548C\u56FE\u5F62\u6E90\u7801\u7F16\u8F91\u3002",defaultData:{template:"architecture",height:560,presentation:{title:"outside",description:"outside",notes:"hidden",legend:!0,controls:!0}}},{kind:"fireworks-tech-graph",name:"Fireworks \u6280\u672F\u56FE",version:"1.1.0",description:"Fireworks Tech Graph \u7684 12 \u79CD\u6280\u672F\u56FE\u98CE\u683C\uFF0C\u4FDD\u7559\u539F\u7248 SVG \u53CA\u8BED\u4E49\u8FDE\u7EBF\uFF0C\u652F\u6301\u6587\u5B57\u4FEE\u6539\u3001\u5B8C\u6574 SVG/HTML \u5BFC\u5165\u548C\u79BB\u7EBF\u5BFC\u51FA\u3002",defaultData:{template:"style-6",height:560,presentation:{title:"outside",description:"outside",notes:"hidden",legend:!0,controls:!0}}}];var Eb={};var Db={};function m4({includeLegacy:e=!1}={}){let t=structuredClone([...U2,...Lt,..._2,...Z2,...zb]).map(a=>({...a,documentation:{...Db,...Eb}[a.kind]}));return e?t:t.filter(a=>!a.replacedBy)}function f4(e){return m4({includeLegacy:!0}).find(t=>t.kind===e)}var V2=rt("catalog",{"zh-CN":{"category.text":"\u6587\u672C","category.image":"\u56FE\u7247","category.table":"\u8868\u683C","category.data":"\u6570\u636E","category.flow":"\u6D41\u7A0B","category.surface":"\u9875\u9762\u4E0E\u767D\u677F","category.other":"\u5176\u4ED6","category.outline":"\u9875\u9762\u76EE\u5F55","reuse.general":"\u901A\u7528","reuse.domain":"\u4E13\u9898","reuse.content-specific":"\u5185\u5BB9\u4E13\u7528","reuse.unclassified":"\u5F85\u8BC4\u4F30","scope.builtin":"\u5185\u7F6E","scope.project":"\u9879\u76EE","scope.global":"\u5168\u5C40","scope.published":"\u5DF2\u53D1\u5E03",types:"\u7C7B\u578B",componentTypes:"\u7EC4\u4EF6\u7C7B\u578B",all:"\u5168\u90E8",allComponents:"\u5168\u90E8\u7EC4\u4EF6",categoryComponents:"{category}\u7EC4\u4EF6","empty.noMatches":"\u6CA1\u6709\u5339\u914D\u7684\u7EC4\u4EF6","empty.none":"\u6682\u65E0\u7EC4\u4EF6",insertContent:"\u63D2\u5165\u5185\u5BB9",searchBlocks:"\u641C\u7D22\u5185\u5BB9\u5757",searchComponentsPlaceholder:"\u641C\u7D22\u7EC4\u4EF6\u2026",blockTypes:"\u5185\u5BB9\u5757\u7C7B\u578B",loadingComponents:"\u6B63\u5728\u52A0\u8F7D\u7EC4\u4EF6\u2026",noComponentsFound:"\u6CA1\u6709\u627E\u5230\u76F8\u5173\u7EC4\u4EF6","kind.template":"\u6A21\u677F","kind.component":"\u7EC4\u4EF6",notSpecified:"\u5C1A\u672A\u6307\u5B9A\u3002",templateDetailsMenu:"\u6A21\u677F\u8BE6\u60C5\u83DC\u5355",componentDetailsMenu:"\u7EC4\u4EF6\u8BE6\u60C5\u83DC\u5355","tab.preview":"\u9884\u89C8","tab.overview":"\u6982\u89C8","tab.usage":"\u4F7F\u7528\u8BF4\u660E","tab.guides":"\u9636\u6BB5\u6307\u5357","tab.parameters":"\u53C2\u6570",templateExamplePreview:"\u6A21\u677F\u793A\u4F8B\u9884\u89C8",templatePreviewCanvas:"\u6A21\u677F\u9884\u89C8\u753B\u9762",componentExamplePreview:"\u7EC4\u4EF6\u793A\u4F8B\u9884\u89C8",componentPreviewCanvas:"\u7EC4\u4EF6\u9884\u89C8\u753B\u9762",componentExample:"\u7EC4\u4EF6\u793A\u4F8B",scenarios:"\u9002\u7528\u573A\u666F",pageStructure:"\u9875\u9762\u7ED3\u6784",related:"\u76F8\u5173\u5185\u5BB9",adjustable:"\u53EF\u8C03\u6574",exampleData:"\u793A\u4F8B\u6570\u636E",insertIntoPage:"\u63D2\u5165\u9875\u9762",rawSchemaAndDefaults:"\u67E5\u770B\u539F\u59CB\u53C2\u6570\u89C4\u5219\u4E0E\u9ED8\u8BA4\u6570\u636E",parameterRules:"\u53C2\u6570\u89C4\u5219",defaultData:"\u9ED8\u8BA4\u6570\u636E",previewActions:"\u9884\u89C8\u64CD\u4F5C",adjustPreviewZoom:"\u8C03\u6574\u9884\u89C8\u7F29\u653E",zoom:"\u7F29\u653E",previewZoom:"\u9884\u89C8\u7F29\u653E",fitPreview:"\u9002\u5E94\u9884\u89C8\u753B\u9762",fit:"\u9002\u5E94\u753B\u9762",fullscreenPreview:"\u5168\u5C4F\u9884\u89C8",fullscreen:"\u5168\u5C4F","appearance.fontFamily":"\u5B57\u4F53","appearance.fontSize":"\u5B57\u53F7","appearance.color":"\u6587\u5B57\u989C\u8272","appearance.backgroundColor":"\u80CC\u666F\u989C\u8272","appearance.align":"\u5BF9\u9F50","appearance.padding":"\u5185\u8FB9\u8DDD","appearance.radius":"\u5706\u89D2","appearance.width":"\u5BBD\u5EA6","appearance.height":"\u9AD8\u5EA6","appearance.fit":"\u88C1\u5207\u65B9\u5F0F",listSeparator:"\u3001","type.string":"\u6587\u5B57","type.number":"\u6570\u503C","type.integer":"\u6574\u6570","type.boolean":"\u5F00\u5173","type.array":"\u5217\u8868","type.object":"\u5BF9\u8C61","type.null":"\u7A7A\u503C","type.enum":"\u9009\u9879","type.const":"\u56FA\u5B9A\u503C","default.list":"\u5217\u8868 \xB7 {count} \u9879","default.object":"\u5BF9\u8C61 \xB7 {count} \u9879","default.on":"\u5F00\u542F","default.off":"\u5173\u95ED",inputsAndParameters:"\u8F93\u5165\u4E0E\u53C2\u6570","column.parameter":"\u53C2\u6570","column.purpose":"\u7528\u9014","column.type":"\u7C7B\u578B","column.default":"\u9ED8\u8BA4\u503C",required:"\u5FC5\u586B",seeUsageAndExamples:"\u67E5\u770B\u4F7F\u7528\u8BF4\u660E\u4E0E\u793A\u4F8B",noTopLevelParameters:"\u6B64\u7EC4\u4EF6\u6CA1\u6709\u5355\u72EC\u7684\u9876\u5C42\u53C2\u6570\u3002\u67E5\u770B\u4F7F\u7528\u8BF4\u660E\u548C\u793A\u4F8B\u6570\u636E\u3002",allowedValues:"\u53EF\u9009\u503C",valueRanges:"\u6570\u636E\u8303\u56F4","doc.none":"\u6B64\u7248\u672C\u5C1A\u672A\u63D0\u4F9B\u4E13\u5C5E\u8BF4\u660E\u3002","doc.purpose":"\u9002\u7528\u5185\u5BB9","doc.structure":"\u5185\u5BB9\u7ED3\u6784","doc.recipes":"\u4F7F\u7528\u6B65\u9AA4","doc.interactions":"\u4EA4\u4E92\u4E0E\u4FDD\u5B58","doc.action":"\u64CD\u4F5C","doc.result":"\u7ED3\u679C","doc.editing":"\u53EF\u8C03\u6574\u5185\u5BB9","doc.boundaries":"\u9002\u7528\u8FB9\u754C","doc.onThisPage":"\u672C\u9875",exampleTimeout:"\u7EC4\u4EF6\u793A\u4F8B\u52A0\u8F7D\u8D85\u65F6\u3002",cannotDisplay:"\u7EC4\u4EF6\u65E0\u6CD5\u663E\u793A\u3002",thumbnailTitle:"{name}\u7F29\u7565\u9884\u89C8",previewUnavailable:"\u9884\u89C8\u6682\u4E0D\u53EF\u7528","authoring.title":"\u539F\u7248\u5236\u4F5C\u6307\u5357","authoring.intro":"\u67E5\u770B\u539F\u9879\u76EE\u7684\u5236\u4F5C\u6D41\u7A0B\u3001\u7C7B\u578B\u89C4\u8303\u3001\u8F93\u5165\u793A\u4F8B\u548C\u539F\u7248\u5DE5\u5177\u3002","authoring.loading":"\u6B63\u5728\u8BFB\u53D6\u6307\u5357\u2026","authoring.open":"\u6253\u5F00\u539F\u7248\u5236\u4F5C\u6307\u5357","authoring.guide":"\u5236\u4F5C\u6307\u5357","authoring.source":"\u539F\u6587\u4E0E\u6765\u6E90\u7248\u672C","authoring.local":"\u672C\u5730\u5236\u4F5C\u6307\u5357","authoring.tools":"\u5236\u4F5C\u5DE5\u5177\u4E0E\u8F93\u5165\u89C4\u8303","authoring.toolsHelp":"\u7EC4\u4EF6\u6E90\u7801\u5305\u5185\u4FDD\u7559\u539F\u7248\u6587\u4EF6\u3002\u6309\u6307\u5357\u9009\u62E9\u8F93\u5165\u4E0E\u7C7B\u578B\uFF0C\u8FD0\u884C\u5236\u4F5C\u5DE5\u5177\u540E\u5BFC\u5165\u751F\u6210\u7684 SVG \u6216 HTML\u3002\u9009\u62E9\u201C\u539F\u7248\u201D\u663E\u793A\u53EF\u6838\u5BF9\u5B8C\u6574\u5E03\u5C40\u3002","authoring.image":"\u56FE\u7247"},en:{"category.text":"Text","category.image":"Images","category.table":"Tables","category.data":"Data","category.flow":"Flows","category.surface":"Pages & boards","category.other":"Other","category.outline":"Page outlines","reuse.general":"General","reuse.domain":"Topic-specific","reuse.content-specific":"Content-specific","reuse.unclassified":"Unassessed","scope.builtin":"Built-in","scope.project":"Project","scope.global":"Global","scope.published":"Published",types:"Types",componentTypes:"Component types",all:"All",allComponents:"All components",categoryComponents:"{category} components","empty.noMatches":"No matching components","empty.none":"No components yet",insertContent:"Insert content",searchBlocks:"Search blocks",searchComponentsPlaceholder:"Search components\u2026",blockTypes:"Block types",loadingComponents:"Loading components\u2026",noComponentsFound:"No matching components","kind.template":"Template","kind.component":"Component",notSpecified:"Not specified.",templateDetailsMenu:"Template details",componentDetailsMenu:"Component details","tab.preview":"Preview","tab.overview":"Overview","tab.usage":"Usage","tab.guides":"Stage guides","tab.parameters":"Parameters",templateExamplePreview:"Template example preview",templatePreviewCanvas:"Template preview",componentExamplePreview:"Component example preview",componentPreviewCanvas:"Component preview",componentExample:"Component example",scenarios:"Use cases",pageStructure:"Page structure",related:"Related",adjustable:"Adjustable",exampleData:"Example data",insertIntoPage:"Insert into page",rawSchemaAndDefaults:"View raw parameter rules and default data",parameterRules:"Parameter rules",defaultData:"Default data",previewActions:"Preview actions",adjustPreviewZoom:"Adjust preview zoom",zoom:"Zoom",previewZoom:"Preview zoom",fitPreview:"Fit preview to view",fit:"Fit to view",fullscreenPreview:"Full-screen preview",fullscreen:"Full screen","appearance.fontFamily":"Font","appearance.fontSize":"Font size","appearance.color":"Text color","appearance.backgroundColor":"Background color","appearance.align":"Alignment","appearance.padding":"Padding","appearance.radius":"Corner radius","appearance.width":"Width","appearance.height":"Height","appearance.fit":"Crop mode",listSeparator:", ","type.string":"Text","type.number":"Number","type.integer":"Integer","type.boolean":"Toggle","type.array":"List","type.object":"Object","type.null":"Empty","type.enum":"Options","type.const":"Fixed value","default.list":{one:"List \xB7 {count} item",other:"List \xB7 {count} items"},"default.object":{one:"Object \xB7 {count} field",other:"Object \xB7 {count} fields"},"default.on":"On","default.off":"Off",inputsAndParameters:"Inputs and parameters","column.parameter":"Parameter","column.purpose":"Purpose","column.type":"Type","column.default":"Default",required:"Required",seeUsageAndExamples:"See usage and examples",noTopLevelParameters:"This component has no separate top-level parameters. See the usage notes and example data.",allowedValues:"Allowed values",valueRanges:"Value ranges","doc.none":"This version has no dedicated documentation yet.","doc.purpose":"What it's for","doc.structure":"Content structure","doc.recipes":"Steps","doc.interactions":"Interactions and saving","doc.action":"Action","doc.result":"Result","doc.editing":"Editable content","doc.boundaries":"Limits","doc.onThisPage":"On this page",exampleTimeout:"The component example took too long to load.",cannotDisplay:"This component can't be displayed.",thumbnailTitle:"{name} thumbnail",previewUnavailable:"Preview unavailable","authoring.title":"Original authoring guides","authoring.intro":"Read the original project's process, type specifications, input examples and tools.","authoring.loading":"Reading guides\u2026","authoring.open":"Open the original authoring guides","authoring.guide":"Authoring guide","authoring.source":"Original text and source version","authoring.local":"Local authoring guide","authoring.tools":"Tools and input specifications","authoring.toolsHelp":"The component package keeps the original files. Choose an input and type from the guide, run the tool, then import the generated SVG or HTML. Choose \u201COriginal\u201D to check the complete layout.","authoring.image":"Image"}});var oS=St(V2);function Mb(e){return oS(`category.${e}`)}var rS={};function Nb(e){return fl()==="en"&&e.kind?rS[e.kind]:void 0}function Jc(e){return Nb(e)?.name??e.name}function G2(e){let t=Nb(e);return t?t.description:e.description}var iS=St(lo),ni=(0,Dn.createContext)(()=>{});function xs(e){let t=(0,Dn.useContext)(kb),a=vs(),n=(0,Dn.useMemo)(()=>m4(),[]),[o,r]=(0,Dn.useState)(null),[i,l]=(0,Dn.useState)(""),[s,c]=(0,Dn.useState)(!1);return(0,Dn.useEffect)(()=>{if(!e||!t)return;let p=!0;return c(!0),l(""),t.list().then(b=>{p&&r(b)}).catch(b=>{p&&l(b.message??String(b))}).finally(()=>{p&&c(!1)}),()=>{p=!1}},[e,t]),{items:(0,Dn.useMemo)(()=>Tb(o??[...n,...a]),[o,n,a]),resolve:async p=>{if("kind"in p)return{kind:p.kind,data:structuredClone(p.defaultData),native:!!p.insertion||p.kind==="text"};let b=a.find(y=>y.id===p.id&&y.version===p.version&&y.integrity===p.integrity)??(t?await t.read(p):null);if(!b)throw new Error(iS("notInstalledError"));return{kind:"custom",data:Kg(b),component:b,native:!1}},error:i,loading:s,displayName:Jc,displayDescription:G2}}function Ab(e,t){let a=crypto.randomUUID(),n=crypto.randomUUID(),o=document.createElement("iframe");o.hidden=!0,o.setAttribute("sandbox","allow-scripts");let r=JSON.stringify({channel:a,props:e.defaultData,readOnly:!0}).replace(/</g,"\\u003c");o.srcdoc=`<!doctype html><meta http-equiv="Content-Security-Policy" content="${gs}">`+hs(e.html,`<script id="showai-component-data" type="application/json">${r}<\/script>`);let i=()=>{};return new Promise((s,c)=>{let d=window.setTimeout(()=>c(new Error("Component parameter validation timed out.")),5e3),u=p=>{p.source!==o.contentWindow||p.data?.channel!==a||(p.data.type==="showai:ready"&&o.contentWindow?.postMessage({channel:a,type:"showai:validate",requestId:n,props:t},"*"),p.data.type==="showai:validation"&&p.data.requestId===n&&(p.data.valid===!0?s():c(new Error(String(p.data.message||"Invalid component parameters.")))))};i=()=>{clearTimeout(d),window.removeEventListener("message",u),o.remove()},window.addEventListener("message",u),document.body.append(o)}).finally(i)}var Xe=Z(de(),1);function Ib({page:e,onClose:t,onSave:a}){let n=se(jo),o=xs(!0),r=(0,tn.useContext)(ni),i=vs(),l=(0,tn.useRef)(JSON.stringify(e.attrs?.outline)),s=(0,tn.useRef)(!0);(0,tn.useEffect)(()=>(s.current=!0,()=>{s.current=!1}),[]);let[c,d]=(0,tn.useState)(()=>structuredClone(e.attrs?.outline??Em())),[u,p]=(0,tn.useState)(()=>JSON.stringify(c.renderer?.props??{},null,2)),[b,y]=(0,tn.useState)(()=>JSON.stringify(c.source.mode==="manual"?c.source.entries:c.source.overrides??{},null,2)),[f,w]=(0,tn.useState)(""),[h,m]=(0,tn.useState)(!1),v=(0,tn.useMemo)(()=>o.items.filter(k=>!("kind"in k)&&k.role==="page-outline"&&k.pageOutlineProtocol===1),[o.items]),T=k=>`${k.id}@${k.version}#${k.integrity}`,x=c.renderer?`${c.renderer.componentId}@${c.renderer.version}#${c.renderer.integrity}`:"",E=async k=>{if(w(""),!k){d(L=>{let C={...L};return delete C.renderer,C});return}let A=v.find(L=>!("kind"in L)&&T(L)===k);if(A){m(!0);try{let L=await o.resolve(A);if(!L.component)throw new Error(n("unavailable"));r(L.component);let C=L.component;d(I=>({...I,renderer:{componentId:C.id,version:C.version,integrity:C.integrity,props:structuredClone(C.defaultData)}})),p(JSON.stringify(C.defaultData,null,2))}catch(L){w(L.message)}finally{m(!1)}}},P=k=>{if(k===c.source.mode)return;let A=cl(e,c),L=C=>C.map(I=>{let D=A.targets.get(I.id),N=c.source.mode==="headings"&&D&&c.source.overrides?.[D]?.title!==void 0;return{id:I.id,...!D||N?{title:I.title}:{},...D?{nodeId:D}:{},...I.children.length?{children:L(I.children)}:{}}});y(JSON.stringify(k==="manual"?L(A.items):{},null,2)),d(C=>({...C,source:k==="manual"?{mode:"manual",entries:L(A.items)}:{mode:"headings",maxLevel:3}}))},U=async()=>{w(""),m(!0);try{let k=structuredClone(c),A=JSON.parse(b);if(k.source.mode==="manual"?k.source.entries=A:k.source.overrides=A,k.renderer){k.renderer.props=JSON.parse(u),ai(k.renderer);let L=i.find(C=>T(C)===x);if(k.enabled){if(!L)throw new Error(n("unavailable"));await Ab(L,k.renderer.props)}}if(Mm(k,e),!s.current)return;a(k,l.current),t()}catch(k){s.current&&w(k.message)}finally{s.current&&m(!1)}},S=cl(e,e.attrs?.outline).missing.length;return(0,Xe.jsx)(Yc,{title:n("settings"),onClose:t,className:"page-outline-settings",children:(0,Xe.jsxs)("div",{className:"page-outline-settings-body",children:[(0,Xe.jsxs)("label",{className:"page-outline-enable",children:[(0,Xe.jsx)("input",{type:"checkbox",checked:c.enabled,onChange:k=>d({...c,enabled:k.target.checked})}),n("enable")]}),(0,Xe.jsxs)("label",{children:[n("renderer"),(0,Xe.jsxs)("select",{"aria-label":n("renderer"),value:x,disabled:h,onChange:k=>{E(k.target.value)},children:[(0,Xe.jsx)("option",{value:"",children:n("builtin")}),x&&!v.some(k=>!("kind"in k)&&T(k)===x)&&(0,Xe.jsxs)("option",{value:x,children:[c.renderer.componentId," \xB7 ",c.renderer.version]}),v.map(k=>"kind"in k?null:(0,Xe.jsxs)("option",{value:T(k),children:[k.name," \xB7 ",k.version]},T(k)))]})]}),(0,Xe.jsx)("p",{className:"page-outline-hint",children:n("sourceCode")}),c.renderer&&(0,Xe.jsxs)("label",{children:[n("props"),(0,Xe.jsx)("textarea",{"aria-label":n("props"),rows:5,spellCheck:!1,value:u,onChange:k=>p(k.target.value)})]}),(0,Xe.jsxs)("div",{className:"page-outline-fields",children:[(0,Xe.jsxs)("label",{children:[n("source"),(0,Xe.jsxs)("select",{"aria-label":n("source"),value:c.source.mode,onChange:k=>P(k.target.value),children:[(0,Xe.jsx)("option",{value:"headings",children:n("headings")}),(0,Xe.jsx)("option",{value:"manual",children:n("manual")})]})]}),c.source.mode==="headings"&&(0,Xe.jsxs)("label",{children:[n("depth"),(0,Xe.jsx)("select",{"aria-label":n("depth"),value:c.source.maxLevel,onChange:k=>d({...c,source:{...c.source,mode:"headings",maxLevel:Number(k.target.value)}}),children:[1,2,3,4,5,6].map(k=>(0,Xe.jsx)("option",{value:k,children:k},k))})]})]}),c.source.mode==="manual"&&(0,Xe.jsx)(xb,{page:e,entries:c.source.entries,onChange:k=>{d({...c,source:{mode:"manual",entries:k}}),y(JSON.stringify(k,null,2))}}),(0,Xe.jsxs)("details",{children:[(0,Xe.jsx)("summary",{children:n("config")}),(0,Xe.jsx)("p",{className:"page-outline-hint",children:n(c.source.mode==="headings"?"headingsHint":"manualHint")}),(0,Xe.jsx)("textarea",{"aria-label":n("config"),rows:8,spellCheck:!1,value:b,onChange:k=>y(k.target.value)})]}),S>0&&(0,Xe.jsx)("p",{role:"status",children:n("missing",{count:S})}),(0,Xe.jsxs)("div",{className:"page-outline-fields",children:[(0,Xe.jsxs)("label",{children:[n("initial"),(0,Xe.jsx)("select",{value:c.initialState,onChange:k=>d({...c,initialState:k.target.value}),children:["auto","expanded","collapsed"].map(k=>(0,Xe.jsx)("option",{value:k,children:n(k)},k))})]}),(0,Xe.jsxs)("label",{children:[n("placement"),(0,Xe.jsx)("select",{value:c.placement,onChange:k=>d({...c,placement:k.target.value}),children:["auto","floating","docked"].map(k=>(0,Xe.jsx)("option",{value:k,children:n(k)},k))})]})]}),(0,Xe.jsxs)("label",{children:[n("width"),(0,Xe.jsx)("input",{type:"number",min:180,max:480,value:c.width,onChange:k=>d({...c,width:k.target.valueAsNumber})})]}),(f||o.error)&&(0,Xe.jsx)("p",{className:"page-outline-error",role:"alert",children:f||o.error}),(0,Xe.jsxs)("footer",{children:[e.attrs?.outline&&(0,Xe.jsx)("button",{type:"button",onClick:()=>{try{a(void 0,l.current),t()}catch(k){w(k.message)}},children:n("remove")}),(0,Xe.jsx)("button",{type:"button",className:"page-outline-apply",disabled:h,onClick:U,children:n(h?"loading":"apply")})]})]})})}var q2=Z(Me(),1);var Qe=rt("surface",{"zh-CN":{"selection.textInput":"\u8DE8\u7EC4\u4EF6\u6587\u672C\u9009\u533A",board:"\u767D\u677F","board.descriptionLocked":"\u89C6\u56FE\u5DF2\u9501\u5B9A\u3002\u53EF\u4EE5\u70B9\u51FB\u5185\u5BB9\uFF0C\u6EDA\u52A8\u7528\u4E8E\u5916\u5C42\u9875\u9762\u9605\u8BFB\uFF1B\u53F3\u4E0A\u89D2\u89E3\u9501\u540E\u53EF\u7F29\u653E\u548C\u79FB\u52A8\u3002","board.descriptionEdit":"\u5355\u51FB\u9009\u62E9\u5BF9\u8C61\uFF0C\u62D6\u52A8\u79FB\u52A8\uFF0C\u518D\u6B21\u5355\u51FB\u7F16\u8F91\u6587\u5B57\uFF1B\u62D6\u52A8\u7A7A\u767D\u5904\u6846\u9009\uFF1B\u7A7A\u683C\u3001\u4E2D\u952E\u6216 H \u6293\u624B\u62D6\u52A8\u753B\u5E03\uFF1B\u53CC\u51FB\u7A7A\u767D\u5904\u5199\u6587\u5B57\u3002V \u9009\u62E9\uFF0CP \u753B\u7B14\uFF0CM \u8367\u5149\u7B14\uFF0CR \u77E9\u5F62\uFF0CE \u692D\u5706\uFF0CA \u7BAD\u5934\uFF0CF \u533A\u57DF\uFF0CT \u6587\u5B57\uFF1B\u21E71 \u603B\u89C8\uFF0C\u21E72 \u5B9A\u4F4D\u6240\u9009\uFF0C\u21E70 \u56DE\u5230 100%\uFF1BEscape \u53D6\u6D88\u5F53\u524D\u64CD\u4F5C\u3002","board.descriptionRead":"\u5728\u767D\u677F\u4E0A\u6EDA\u52A8\u6216\u62D6\u52A8\u7A7A\u767D\u5904\u6D4F\u89C8\u3002\u65B9\u5411\u952E\u6D4F\u89C8\uFF0C0 \u603B\u89C8\uFF1BEscape \u53D6\u6D88\u5F53\u524D\u64CD\u4F5C\u3002","board.lockTarget":"\u767D\u677F","board.empty":"\u8FD9\u5757\u767D\u677F\u8FD8\u6CA1\u6709\u5185\u5BB9","board.tools":"\u767D\u677F\u5DE5\u5177","board.moveToolbar":"\u79FB\u52A8\u5DE5\u5177\u680F","board.moveToolbarTitle":"\u62D6\u52A8\u5E76\u5438\u9644\u5230\u4EFB\u610F\u8FB9\u7F18\uFF1B\u65B9\u5411\u952E\u5207\u6362\u505C\u9760\u4F4D\u7F6E","board.selectedCount":"\u5DF2\u9009 {count} \u9879","board.expandSelected":"\u5C55\u5F00\u9009\u4E2D\u5BB9\u5668","board.duplicateSelected":"\u590D\u5236\u9009\u4E2D\u5BF9\u8C61","board.duplicateSelectedTitle":"\u590D\u5236\u9009\u4E2D\u5BF9\u8C61\uFF08\u2318/Ctrl D\uFF0C\u6216\u6309\u4F4F Alt \u62D6\u52A8\uFF09","board.duplicate":"\u590D\u5236","board.deleteSelected":"\u5220\u9664\u9009\u4E2D\u5BF9\u8C61","board.fit":"\u603B\u89C8","board.fitTitle":"\u603B\u89C8\u5168\u90E8\u5185\u5BB9\uFF08\u21E71\uFF09","board.locate":"\u5B9A\u4F4D\u6240\u9009","board.locateTitle":"\u5B9A\u4F4D\u6240\u9009\u5185\u5BB9\uFF08\u21E72\uFF09","board.zoomOut":"\u7F29\u5C0F\u767D\u677F","board.resetZoom":"\u91CD\u7F6E\u7F29\u653E","board.zoomIn":"\u653E\u5927\u767D\u677F","board.objectSettings":"\u9009\u4E2D\u5BF9\u8C61\u8BBE\u7F6E","board.objectSettingsTitle":"\u5BF9\u8C61\u5E03\u5C40\u8BBE\u7F6E\uFF1A\u540D\u79F0\u3001\u5C3A\u5BF8\u4E0E\u6240\u5C5E\u5BB9\u5668","board.selection":"\u6240\u9009\u5BF9\u8C61","board.emptyHint":"\u53CC\u51FB\u7A7A\u767D\u5904\u5199\u6587\u5B57\uFF0C\u6309 / \u6216\u53F3\u952E\u6DFB\u52A0\u7EC4\u4EF6\uFF0CP \u753B\u7B14\u3001R \u77E9\u5F62","board.minimap":"\u5C0F\u5730\u56FE","board.resetZoomTitle":"\u56DE\u5230 100%\uFF08\u21E70\uFF09","board.lockedBadge":"{name} \u5DF2\u9501\u5B9A","board.lockedBadgeTitle":"\u5DF2\u9501\u5B9A\uFF1A\u53F3\u952E\u6216 \u21E7\u2318L \u89E3\u9501","board.groupHandles":"\u8C03\u6574\u6240\u9009 {count} \u4E2A\u5BF9\u8C61","order.front":"\u7F6E\u4E8E\u9876\u5C42","order.forward":"\u4E0A\u79FB\u4E00\u5C42","order.backward":"\u4E0B\u79FB\u4E00\u5C42","order.back":"\u7F6E\u4E8E\u5E95\u5C42","align.menu":"\u5BF9\u9F50\u4E0E\u5206\u5E03","align.left":"\u5DE6\u5BF9\u9F50","align.center":"\u6C34\u5E73\u5C45\u4E2D","align.right":"\u53F3\u5BF9\u9F50","align.top":"\u9876\u90E8\u5BF9\u9F50","align.middle":"\u5782\u76F4\u5C45\u4E2D","align.bottom":"\u5E95\u90E8\u5BF9\u9F50","align.distributeX":"\u6C34\u5E73\u7B49\u8DDD\u5206\u5E03","align.distributeY":"\u5782\u76F4\u7B49\u8DDD\u5206\u5E03","align.tidyRight":"\u6CBF\u8FDE\u7EBF\u4ECE\u5DE6\u5230\u53F3\u6574\u7406","align.tidyDown":"\u6CBF\u8FDE\u7EBF\u4ECE\u4E0A\u5230\u4E0B\u6574\u7406","region.group":"\u653E\u5165\u533A\u57DF","region.ungroup":"\u89E3\u9664\u533A\u57DF","lock.lock":"\u9501\u5B9A","lock.unlock":"\u89E3\u9501","menu.copy":"\u62F7\u8D1D","menu.cut":"\u526A\u5207","menu.paste":"\u7C98\u8D34","menu.selectAll":"\u5168\u9009","menu.addText":"\u6DFB\u52A0\u6587\u5B57","tool.text":"\u6587\u5B57","tool.hand":"\u6293\u624B","tool.handTitle":"\u6293\u624B\uFF1A\u62D6\u52A8\u753B\u5E03\uFF08{key}\uFF1B\u6216\u6309\u4F4F\u7A7A\u683C\uFF09","tool.textTitle":"\u6587\u5B57\uFF1A\u5355\u51FB\u653E\u7F6E\uFF08{key}\uFF1B\u6216\u53CC\u51FB\u7A7A\u767D\u5904\uFF09","menu.objectActions":"\u5BF9\u8C61\u64CD\u4F5C","menu.addPage":"\u6DFB\u52A0 Page","menu.addRichText":"\u6DFB\u52A0\u5BCC\u6587\u672C","menu.addComponent":"\u6DFB\u52A0\u7EC4\u4EF6\u2026","menu.duplicate":"\u590D\u5236\u5BF9\u8C61","menu.assistant":"\u8BA9 AI \u5904\u7406\u6240\u9009\u5BF9\u8C61","menu.reference":"\u590D\u5236\u5F15\u7528\uFF08{count}\uFF09","menu.referenceBoard":"\u590D\u5236\u6574\u4E2A Board \u7684\u5F15\u7528","board.assistant":"\u8BA9 AI \u5904\u7406\u6240\u9009\u5BF9\u8C61","menu.duplicateMany":"\u590D\u5236 {count} \u4E2A\u5BF9\u8C61","menu.settings":"\u5BF9\u8C61\u8BBE\u7F6E","menu.expand":"\u5C55\u5F00\u5BB9\u5668","menu.delete":"\u5220\u9664\u5BF9\u8C61","menu.deleteMany":"\u5220\u9664 {count} \u4E2A\u5BF9\u8C61","nav.regionsAndViews":"\u533A\u57DF\u4E0E\u89C6\u56FE","nav.regionsAndContent":"\u533A\u57DF\u4E0E\u5185\u5BB9","nav.moveEarlier":"\u524D\u79FB {name} \u9605\u8BFB\u987A\u5E8F","nav.namedViews":"\u547D\u540D\u89C6\u56FE","nav.setInitial":"\u8BBE\u4E3A\u521D\u59CB\u89C6\u56FE {name}","nav.deleteView":"\u5220\u9664\u89C6\u56FE {name}","nav.viewName":"\u89C6\u56FE\u540D\u79F0","nav.viewOf":"{name}\u7684\u89C6\u56FE","nav.viewOfSelection":"\u6240\u9009\u5185\u5BB9\u7684\u89C6\u56FE","nav.viewOfVisible":"\u5F53\u524D\u53EF\u89C1\u5185\u5BB9\u7684\u89C6\u56FE","nav.saveView":"\u4FDD\u5B58\u89C6\u56FE","nav.hierarchy":"\u5185\u5BB9\u5C42\u7EA7","nav.back":"\u8FD4\u56DE\u4E0A\u5C42","tool.select":"\u9009\u62E9\u5DE5\u5177","tool.pan":"\u79FB\u52A8\u753B\u5E03","tool.eraser":"\u7B14\u8FF9\u6A61\u76AE","tool.lasso":"\u5957\u7D22\u9009\u62E9","tool.ruler":"\u76F4\u5C3A","tool.writingSettings":"\u4E66\u5199\u8BBE\u7F6E","tool.fingerDrawing":"\u5141\u8BB8\u624B\u6307\u7ED8\u5236","tool.pen":"\u753B\u7B14","tool.highlighter":"\u8367\u5149\u7B14","tool.rectangle":"\u77E9\u5F62","tool.ellipse":"\u692D\u5706","tool.arrow":"\u7BAD\u5934","tool.region":"\u533A\u57DF","tool.withShortcut":"{label}\uFF08{key}\uFF09","tool.shapeWithShortcut":"{label}\uFF08{key}\uFF09\uFF1BShift \u7EA6\u675F\u5F62\u72B6\uFF0CAlt \u4ECE\u4E2D\u5FC3\u7ED8\u5236\uFF0C\u2318/Ctrl \u5173\u95ED\u5438\u9644","tool.continuous":"\u8FDE\u7EED\u7ED8\u5236","tool.applePencil":"Apple Pencil \u624B\u5199","tool.continuousTitle":"\u8FDE\u7EED\u7ED8\u5236\uFF1A\u5B8C\u6210\u56FE\u5F62\u540E\u4FDD\u7559\u5F53\u524D\u5DE5\u5177","tool.hideShortcuts":"\u6536\u8D77\u5FEB\u6377\u952E","tool.showShortcuts":"\u5C55\u5F00\u5FEB\u6377\u952E","style.mixed":"\u6DF7\u5408","style.inkNotice":"\u624B\u5199\u7B14\u8FF9 \xB7 \u5728 iPad \u4E0A\u7F16\u8F91\u7B14\u8FF9","style.selection":"\u9009\u4E2D\u5BF9\u8C61\u6837\u5F0F","style.drawing":"\u7ED8\u5236\u8BBE\u7F6E","style.colorsDiffer":"\u9009\u4E2D\u5BF9\u8C61\u989C\u8272\u4E0D\u540C","style.border":"\u8FB9\u6846","style.color":"\u989C\u8272","style.borderColor":"\u8FB9\u6846\u989C\u8272","style.penColor":"\u753B\u7B14\u989C\u8272","style.fill":"\u5185\u90E8","style.fillColor":"\u5185\u90E8\u989C\u8272","style.transparentFill":"\u900F\u660E\u586B\u5145","style.none":"\u7A7A","style.weight":"\u7C97\u7EC6","style.borderWeight":"\u8FB9\u6846\u7C97\u7EC6","style.penWeight":"\u753B\u7B14\u7C97\u7EC6","style.presets":"\u9884\u8BBE\u989C\u8272","style.presetColor":"\u989C\u8272 {color}","style.fullPalette":"\u5B8C\u6574\u8C03\u8272\u76D8","style.eraserSize":"\u6A61\u76AE\u5927\u5C0F","style.pressure":"\u538B\u611F","style.pressureLabel":"\u6309\u538B","style.fixedWidth":"\u56FA\u5B9A\u7C97\u7EC6","style.pressureWidth":"\u6309\u538B\u529B\u5EA6\u6539\u53D8\u7C97\u7EC6","style.labelSize":"\u6587\u5B57\u5927\u5C0F","style.labelSize14":"\u5C0F","style.labelSize16":"\u4E2D","style.labelSize22":"\u5927","style.labelSize30":"\u7279\u5927","drawing.area":"\u7ED8\u753B\u533A\u57DF","drawing.arrowStart":"\u8C03\u6574\u7BAD\u5934\u8D77\u70B9","drawing.arrowEnd":"\u8C03\u6574\u7BAD\u5934\u7EC8\u70B9","drawing.label":"\u56FE\u5F62\u6587\u5B57","object.rotate":"\u65CB\u8F6C {name}","object.rotateTitle":"\u62D6\u52A8\u65CB\u8F6C\uFF1BShift \u6309 15\xB0 \u5BF9\u9F50","object.move":"\u79FB\u52A8 {name}","object.moveTitle":"\u62D6\u52A8\u79FB\u52A8\uFF1B\u65B9\u5411\u952E\u5FAE\u8C03","object.select":"\u9009\u62E9\u5185\u5BB9","object.expand":"\u5C55\u5F00 {name}","object.settings":"\u8BBE\u7F6E {name}","object.delete":"\u5220\u9664 {name}","object.resize.nw":"\u8C03\u6574 {name} \u5DE6\u4E0A\u89D2","object.resize.n":"\u8C03\u6574 {name} \u4E0A\u8FB9\u7F18","object.resize.ne":"\u8C03\u6574 {name} \u53F3\u4E0A\u89D2","object.resize.e":"\u8C03\u6574 {name} \u53F3\u8FB9\u7F18","object.resize.se":"\u8C03\u6574 {name} \u53F3\u4E0B\u89D2","object.resize.s":"\u8C03\u6574 {name} \u4E0B\u8FB9\u7F18","object.resize.sw":"\u8C03\u6574 {name} \u5DE6\u4E0B\u89D2","object.resize.w":"\u8C03\u6574 {name} \u5DE6\u8FB9\u7F18","object.resizeSize":"\u8C03\u6574 {name} \u5C3A\u5BF8","object.resizeWidth":"\u8C03\u6574 {name} \u5BBD\u5EA6","object.resizeTitle":"\u62D6\u52A8\u8C03\u5BBD\uFF1B\u5DE6\u53F3\u65B9\u5411\u952E\u5FAE\u8C03","node.region":"\u5185\u5BB9\u533A\u57DF","node.drawing":"\u7ED8\u753B","node.text":"\u6587\u672C","node.image":"\u56FE\u7247","node.heading":"\u6807\u9898","node.table":"\u8868\u683C","node.component":"\u7EC4\u4EF6","node.content":"\u5185\u5BB9","region.empty":"\u7A7A\u767D\u533A\u57DF","region.emptyHint":"\u6309 / \u63D2\u5165\u5185\u5BB9","width.standard":"\u6807\u51C6","width.wide":"\u66F4\u5BBD","width.full":"\u5168\u5BBD",pageWidth:"\u9875\u9762\u5BBD\u5EA6","history.undo":"\u64A4\u9500\u64CD\u4F5C","history.undoTitle":"\u64A4\u9500 \u2318Z / Ctrl+Z","history.redo":"\u91CD\u505A\u64CD\u4F5C","history.redoTitle":"\u91CD\u505A \u21E7\u2318Z / Ctrl+Shift+Z","container.setIcon":"\u8BBE\u7F6E\u56FE\u6807\u2026","container.frameless":"\u65E0\u8FB9\u6846 Page","container.setIconFor":"\u8BBE\u7F6E\u300C{name}\u300D\u56FE\u6807\u2026","container.wrapBoard":"\u653E\u5165 Board","container.wrapBoardFor":"\u5C06\u300C{name}\u300D\u653E\u5165 Board","container.wrapPage":"\u653E\u5165 Page","container.wrapPageFor":"\u5C06\u300C{name}\u300D\u653E\u5165 Page","container.actions":"\u5BB9\u5668\u64CD\u4F5C","container.actionsFor":"{name}\u7684\u5BB9\u5668\u64CD\u4F5C","inspector.title":"\u6A21\u5757\u8BBE\u7F6E","inspector.currentObject":"\u5F53\u524D\u5BF9\u8C61","inspector.close":"\u5173\u95ED\u6A21\u5757\u8BBE\u7F6E","inspector.name":"\u540D\u79F0","inspector.nameLabel":"\u6A21\u5757\u540D\u79F0","inspector.arrange":"\u6392\u5217","inspector.regionLayout":"\u533A\u57DF\u5E03\u5C40","layout.flow":"\u987A\u5E8F","layout.grid":"\u7F51\u683C","layout.free":"\u81EA\u7531","inspector.columns":"\u5217\u6570","inspector.gridColumns":"\u7F51\u683C\u5217\u6570","inspector.width":"\u5BBD\u5EA6","inspector.moduleWidth":"\u6A21\u5757\u5BBD\u5EA6","inspector.heightMode":"\u9AD8\u5EA6\u65B9\u5F0F","inspector.moduleHeightMode":"\u6A21\u5757\u9AD8\u5EA6\u65B9\u5F0F","heightMode.fixed":"\u56FA\u5B9A\u7A97\u53E3","heightMode.auto":"\u968F\u5185\u5BB9\u589E\u957F","inspector.height":"\u9AD8\u5EA6","inspector.moduleHeight":"\u6A21\u5757\u9AD8\u5EA6","inspector.parent":"\u6240\u5C5E\u5BB9\u5668","inspector.rootOption":"\u6839 {name}","inspector.moveEarlier":"\u5411\u524D\u6392\u5217","inspector.moveLater":"\u5411\u540E\u6392\u5217","inspector.delete":"\u5220\u9664\u6A21\u5757","error.pageRemoved":"\u8BE5 Page \u5DF2\u88AB\u79FB\u9664\u3002","error.insertionGone":"\u63D2\u5165\u4F4D\u7F6E\u5DF2\u4E0D\u5B58\u5728\u3002","error.componentNeedsContainer":"\u7EC4\u4EF6\u9700\u8981\u653E\u5728\u9875\u9762\u6216\u767D\u677F\u4E2D\u3002","error.regionMissing":"\u76EE\u6807\u533A\u57DF\u4E0D\u5B58\u5728\u3002","error.cannotMove":"\u65E0\u6CD5\u79FB\u52A8\u5230\u8FD9\u4E2A\u533A\u57DF\u3002","error.regionIntoSelf":"\u533A\u57DF\u4E0D\u80FD\u79FB\u5165\u81EA\u8EAB\u6216\u5B50\u533A\u57DF\u3002","error.embedNeedsSource":"\u590D\u5236\u5D4C\u5165\u5185\u5BB9\u9700\u8981\u6765\u6E90\u6587\u6863\u7684\u5E03\u5C40\u4E0E\u89C6\u56FE\u3002"},en:{"selection.textInput":"Text selected across components",board:"Board","board.descriptionLocked":"The view is locked. You can click content, and scrolling moves the surrounding page. Unlock it in the top-right corner to zoom and pan.","board.descriptionEdit":"Click an object to select it, drag to move it, and click again to edit its text. Drag on empty space to select several. Hold Space, use the middle button or the H hand tool to pan. Double-click empty space to write. V select, P pen, M highlighter, R rectangle, E ellipse, A arrow, F region, T text. \u21E71 shows everything, \u21E72 goes to the selection, \u21E70 returns to 100%. Escape cancels the current action.","board.descriptionRead":"Scroll or drag empty space to browse the board. Use the arrow keys to move and 0 to show everything. Escape cancels the current action.","board.lockTarget":"board","board.empty":"This board is empty","board.tools":"Board tools","board.moveToolbar":"Move toolbar","board.moveToolbarTitle":"Drag to dock on any edge; use arrow keys to change the dock","board.selectedCount":"{count} selected","board.expandSelected":"Expand selected container","board.duplicateSelected":"Duplicate selected objects","board.duplicateSelectedTitle":"Duplicate selected objects (\u2318/Ctrl D, or Alt-drag)","board.duplicate":"Duplicate","board.deleteSelected":"Delete selected objects","board.fit":"Show all","board.fitTitle":"Show all content (\u21E71)","board.locate":"Go to selection","board.locateTitle":"Go to selected content (\u21E72)","board.zoomOut":"Zoom out","board.resetZoom":"Reset zoom","board.zoomIn":"Zoom in","board.objectSettings":"Selected object settings","board.objectSettingsTitle":"Object layout settings: name, size and container","board.selection":"Selection","board.emptyHint":"Double-click to write. Press / or right-click to add components. P draws, R makes a rectangle","board.minimap":"Minimap","board.resetZoomTitle":"Back to 100% (\u21E70)","board.lockedBadge":"{name} is locked","board.lockedBadgeTitle":"Locked: right-click or press \u21E7\u2318L to unlock","board.groupHandles":{one:"Resize {count} selected object",other:"Resize {count} selected objects"},"order.front":"Bring to front","order.forward":"Bring forward","order.backward":"Send backward","order.back":"Send to back","align.menu":"Align and distribute","align.left":"Align left","align.center":"Align horizontal centers","align.right":"Align right","align.top":"Align top","align.middle":"Align vertical centers","align.bottom":"Align bottom","align.distributeX":"Distribute horizontally","align.distributeY":"Distribute vertically","align.tidyRight":"Arrange along arrows, left to right","align.tidyDown":"Arrange along arrows, top to bottom","region.group":"Group into region","region.ungroup":"Ungroup region","lock.lock":"Lock","lock.unlock":"Unlock","menu.copy":"Copy","menu.cut":"Cut","menu.paste":"Paste","menu.selectAll":"Select all","menu.addText":"Add text","tool.text":"Text","tool.hand":"Hand","tool.handTitle":"Hand: drag the canvas ({key}, or hold Space)","tool.textTitle":"Text: click to place ({key}, or double-click empty space)","menu.objectActions":"Object actions","menu.addPage":"Add page","menu.addRichText":"Add rich text","menu.addComponent":"Add component\u2026","menu.duplicate":"Duplicate object","menu.assistant":"Ask AI about the selection","menu.reference":"Copy reference ({count})","menu.referenceBoard":"Copy a reference to this Board","board.assistant":"Ask AI about the selection","menu.duplicateMany":{one:"Duplicate {count} object",other:"Duplicate {count} objects"},"menu.settings":"Object settings","menu.expand":"Expand container","menu.delete":"Delete object","menu.deleteMany":{one:"Delete {count} object",other:"Delete {count} objects"},"nav.regionsAndViews":"Regions and views","nav.regionsAndContent":"Regions and content","nav.moveEarlier":"Move {name} earlier in reading order","nav.namedViews":"Named views","nav.setInitial":"Set {name} as the initial view","nav.deleteView":"Delete view {name}","nav.viewName":"View name","nav.viewOf":"View of {name}","nav.viewOfSelection":"View of the selection","nav.viewOfVisible":"View of the visible content","nav.saveView":"Save view","nav.hierarchy":"Content hierarchy","nav.back":"Back to parent","tool.select":"Select","tool.pan":"Pan canvas","tool.eraser":"Stroke eraser","tool.lasso":"Lasso selection","tool.ruler":"Ruler","tool.writingSettings":"Drawing settings","tool.fingerDrawing":"Draw with finger","tool.pen":"Pen","tool.highlighter":"Highlighter","tool.rectangle":"Rectangle","tool.ellipse":"Ellipse","tool.arrow":"Arrow","tool.region":"Region","tool.withShortcut":"{label} ({key})","tool.shapeWithShortcut":"{label} ({key}). Shift constrains the shape, Alt draws from the center, \u2318/Ctrl turns snapping off","tool.continuous":"Keep tool selected","tool.applePencil":"Apple Pencil handwriting","tool.continuousTitle":"Keep tool selected: stay on the current tool after finishing a shape","tool.hideShortcuts":"Hide shortcuts","tool.showShortcuts":"Show shortcuts","style.mixed":"Mixed","style.inkNotice":"Handwritten ink \xB7 Edit ink on iPad","style.selection":"Selected object style","style.drawing":"Drawing settings","style.colorsDiffer":"Selected objects have different colors","style.border":"Border","style.color":"Color","style.borderColor":"Border color","style.penColor":"Pen color","style.fill":"Fill","style.fillColor":"Fill color","style.transparentFill":"Transparent fill","style.none":"None","style.weight":"Weight","style.borderWeight":"Border weight","style.penWeight":"Pen weight","style.presets":"Preset colors","style.presetColor":"Color {color}","style.fullPalette":"Full color palette","style.eraserSize":"Eraser size","style.pressure":"Pressure","style.pressureLabel":"Pressure","style.fixedWidth":"Fixed width","style.pressureWidth":"Pressure-sensitive width","style.labelSize":"Text size","style.labelSize14":"Small","style.labelSize16":"Medium","style.labelSize22":"Large","style.labelSize30":"Extra large","drawing.area":"Drawing area","drawing.arrowStart":"Adjust arrow start","drawing.arrowEnd":"Adjust arrow end","drawing.label":"Shape text","object.rotate":"Rotate {name}","object.rotateTitle":"Drag to rotate. Hold Shift to snap to 15\xB0","object.move":"Move {name}","object.moveTitle":"Drag to move. Use the arrow keys to nudge","object.select":"Select content","object.expand":"Expand {name}","object.settings":"{name} settings","object.delete":"Delete {name}","object.resize.nw":"Resize {name} from the top-left corner","object.resize.n":"Resize {name} from the top edge","object.resize.ne":"Resize {name} from the top-right corner","object.resize.e":"Resize {name} from the right edge","object.resize.se":"Resize {name} from the bottom-right corner","object.resize.s":"Resize {name} from the bottom edge","object.resize.sw":"Resize {name} from the bottom-left corner","object.resize.w":"Resize {name} from the left edge","object.resizeSize":"Resize {name}","object.resizeWidth":"Adjust {name} width","object.resizeTitle":"Drag to adjust the width. Use the left and right arrow keys to nudge","node.region":"Content region","node.drawing":"Drawing","node.text":"Text","node.image":"Image","node.heading":"Heading","node.table":"Table","node.component":"Component","node.content":"Content","region.empty":"Empty region","region.emptyHint":"Press / to insert content","width.standard":"Standard","width.wide":"Wide","width.full":"Full width",pageWidth:"Page width","history.undo":"Undo","history.undoTitle":"Undo \u2318Z / Ctrl+Z","history.redo":"Redo","history.redoTitle":"Redo \u21E7\u2318Z / Ctrl+Shift+Z","container.setIcon":"Set icon\u2026","container.frameless":"Borderless Page","container.setIconFor":"Set icon for \u201C{name}\u201D\u2026","container.wrapBoard":"Put in a board","container.wrapBoardFor":"Put \u201C{name}\u201D in a board","container.wrapPage":"Put in a page","container.wrapPageFor":"Put \u201C{name}\u201D in a page","container.actions":"Container actions","container.actionsFor":"Container actions for {name}","inspector.title":"Module settings","inspector.currentObject":"Current object","inspector.close":"Close module settings","inspector.name":"Name","inspector.nameLabel":"Module name","inspector.arrange":"Arrangement","inspector.regionLayout":"Region layout","layout.flow":"Flow","layout.grid":"Grid","layout.free":"Free","inspector.columns":"Columns","inspector.gridColumns":"Grid columns","inspector.width":"Width","inspector.moduleWidth":"Module width","inspector.heightMode":"Height mode","inspector.moduleHeightMode":"Module height mode","heightMode.fixed":"Fixed window","heightMode.auto":"Grow with content","inspector.height":"Height","inspector.moduleHeight":"Module height","inspector.parent":"Container","inspector.rootOption":"Root: {name}","inspector.moveEarlier":"Move earlier","inspector.moveLater":"Move later","inspector.delete":"Delete module","error.pageRemoved":"This page has been removed.","error.insertionGone":"The insertion point no longer exists.","error.componentNeedsContainer":"Components must be placed in a page or board.","error.regionMissing":"The target region doesn't exist.","error.cannotMove":"Can't move to this region.","error.regionIntoSelf":"A region can't be moved into itself or one of its subregions.","error.embedNeedsSource":"Copying embedded content requires the source document's layout and views."}});var Lb=Z(de(),1);function Rb(e){let t=se(Qe),a=(0,q2.useRef)(null);return(0,q2.useEffect)(()=>T6(a.current,t("selection.textInput")),[t]),(0,Lb.jsx)("div",{...e,ref:a})}var F2=class{measurements=new Map;listeners=new Map;content;index=new Map;revision=0;gestures=0;scheduled=0;changed=new Set;getSnapshot=()=>this.revision;subscribe(t,a){for(let n of t){let o=this.listeners.get(n)??new Set;o.add(a),this.listeners.set(n,o)}return()=>{for(let n of t){let o=this.listeners.get(n);o?.delete(a),o?.size||this.listeners.delete(n)}}}measure(t,a,n){if(!(a>0&&n>0))return;let o=this.measurements.get(t);o&&Math.abs(o.width-a)<.25&&Math.abs(o.height-n)<.25||(this.measurements.set(t,{width:a,height:n}),this.changed.add(t),this.publish())}forget(t){this.measurements.delete(t)&&(this.changed.add(t),this.publish())}beginGesture(){this.gestures++}endGesture(){this.gestures=Math.max(0,this.gestures-1),this.publish()}publish(){this.gestures||!this.changed.size||(typeof requestAnimationFrame=="function"?this.scheduled||(this.scheduled=requestAnimationFrame(()=>{this.scheduled=0,this.flush()})):this.flush())}flush(){if(this.gestures||!this.changed.size)return;let t=new Set;for(let a of this.changed)for(let n of this.listeners.get(a)??[])t.add(n);this.changed.clear(),this.revision++;for(let a of t)a()}entries(t){return this.content!==t.content&&(this.content=t.content,this.index=Gt(t.content)),this.index}frame(t,a){let n=this.measurements.get(t);return!n||Math.abs(n.width-a.width)>.5?a:{...a,contentSize:n}}resolveArrow(t,a,n){let o={},r=this.entries(n),i=r.get(t.attrs.id)?.parent;i?.attrs?.id&&n.layout?.[i.attrs.id]&&(o[i.attrs.id]=n.layout[i.attrs.id]);for(let l of Object.values(t.attrs?.bindings??{})){let s=n.layout?.[l.targetId];s&&(o[l.targetId]=this.frame(l.targetId,s))}return T1(t,a,C1(t,a,r,o))}materialize(t){let a=t.layout,n=Gt(t.content);for(let[r,i]of this.measurements){let l=a?.[r],s=n.get(r)?.node;!l||!s||s.type==="drawing"||s.type==="surface"&&l.heightMode!=="auto"||Math.abs(i.width-l.width)>.5||l.contentSize?.width===i.width&&l.contentSize?.height===i.height||(a===t.layout&&(a={...a}),a[r]={...l,contentSize:i})}let o=Zs({...t,...a?{layout:a}:{}});return o.content===t.content&&o.layout===t.layout?t:o}};function W2(){if(typeof window>"u")return;let e=window.document.getElementById("showai-read-options")?.textContent;return e?JSON.parse(e).boardCapture:void 0}var Pb=Z(Me(),1),K2=(0,Pb.createContext)(null);function Vi(e,t){let a=Gt(e.content);for(let r of Object.keys(t))if(!a.get(r)?.parent||!e.layout?.[r])throw new Error(`Object has no editable frame: ${r}`);let n=new Map;for(let r of Object.keys(t)){let i=lS(a.get(r).node,e.layout[r],t[r]);i&&n.set(r,i)}for(let r of Object.keys(t)){let i=n.get(r)??a.get(r).node;if(i.type!=="drawing"||i.attrs?.tool!=="arrow"||!i.attrs.bindings)continue;let l=zm(i.attrs.bindings,new Set(Object.keys(t))),s={...i.attrs};Object.keys(l).length?s.bindings=l:delete s.bindings,n.set(r,{...i,attrs:s})}let o=r=>{if(n.has(r.attrs?.id))return n.get(r.attrs.id);if(!r.content)return r;let i=r.content.map(o);return i.some((l,s)=>l!==r.content[s])?{...r,content:i}:r};return Ba({...e,content:n.size?o(e.content):e.content,layout:{...e.layout,...t},surfaceViews:{...e.surfaceViews}},{clone:!1})}function lS(e,t,a){if(e.type!=="drawing"||e.attrs?.tool==="arrow"||e.attrs?.ink||!Array.isArray(e.attrs?.extent))return null;let n=a.width,o=a.height??t.height;if(!o||Math.abs(n-t.width)<1e-6&&Math.abs(o-(t.height??o))<1e-6)return null;let[r,i]=e.attrs.extent,l=[Math.max(1,n),Math.max(1,o)],s=l[0]/r,c=l[1]/i;return Math.abs(s-1)<1e-9&&Math.abs(c-1)<1e-9?null:{...e,attrs:{...e.attrs,extent:l,points:e.attrs.points.map(d=>({x:d.x*s,y:d.y*c}))}}}function g4(e,t){let a=new Set(t);return t.filter(n=>{let o=e.get(n)?.parent;for(;o;){if(a.has(o.attrs?.id))return!1;o=e.get(o.attrs?.id)?.parent??null}return!!e.get(n)})}function b4(e,t){let a=Gt(e.content),n=g4(a,t).map(i=>structuredClone(a.get(i).node)),o={},r={};for(let i of n)Pn(i,l=>{let s=l.attrs?.id;s&&(e.layout?.[s]&&(o[s]=structuredClone(e.layout[s])),e.surfaceViews?.[s]&&(r[s]=structuredClone(e.surfaceViews[s])))});return{format:"showai-board-clip",version:1,nodes:n,layout:o,surfaceViews:r}}function Ob(e){let t=e;return!!t&&t.format==="showai-board-clip"&&t.version===1&&Array.isArray(t.nodes)&&t.nodes.every(a=>typeof a?.attrs?.id=="string")&&!!t.layout&&typeof t.layout=="object"}function h4(e,t,a,n={x:24,y:24}){if(!a.nodes.length)return{document:e,ids:[]};let o=structuredClone(e),r=Gt(o.content).get(t)?.node;if(!r||!["surface","region"].includes(r.type??""))throw new Error("Paste destination must be a container.");let i=new Map,l=a.nodes.map(c=>structuredClone(c)),s=new Set(l.map(c=>c.attrs.id));for(let c of l)Pn(c,d=>{if(d.attrs?.id){let u=crypto.randomUUID();i.set(d.attrs.id,u),d.attrs={...d.attrs,id:u}}});for(let c of l)Pn(c,d=>{if(!d.attrs?.bindings)return;let u={};for(let p of["start","end"]){let b=d.attrs.bindings[p],y=b&&i.get(b.targetId);y&&(u[p]={...b,targetId:y})}Object.keys(u).length?d.attrs.bindings=u:delete d.attrs.bindings});o.layout??={},o.surfaceViews??={};for(let[c,d]of i){let u=a.layout[c];u&&(o.layout[d]={...structuredClone(u),...s.has(c)?{x:u.x+n.x,y:u.y+n.y}:{}});let p=a.surfaceViews?.[c];if(p){let b=new Map(p.saved.map(y=>[y.id,crypto.randomUUID()]));o.surfaceViews[d]={initial:b.get(p.initial)??null,saved:p.saved.map(y=>({...y,id:b.get(y.id),targets:y.targets.map(f=>i.get(f)).filter(Boolean)})),readingOrder:p.readingOrder.map(y=>i.get(y)).filter(Boolean)}}}return r.content=[...r.content??[],...l],{document:Ba(o),ids:l.map(c=>c.attrs.id)}}function Bb(e,t,a={x:24,y:24}){let n=Gt(e.content),o=g4(n,t);if(!o.length)return{document:e,ids:[]};let r=n.get(o[0])?.parent;if(!r||o.some(i=>n.get(i)?.parent!==r))throw new Error("Copy selection must share a parent.");return h4(e,r.attrs.id,b4(e,o),a)}function Hb(e,t,a){let n=Gt(e.content),o=n.get(t[0])?.parent;if(!o?.content||t.some(d=>n.get(d)?.parent!==o))return e;let r=new Set(t),i=[...o.content],l;if(a==="front"||a==="back"){let d=i.filter(p=>r.has(p.attrs?.id)),u=i.filter(p=>!r.has(p.attrs?.id));l=a==="front"?[...u,...d]:[...d,...u]}else{l=i;let d=a==="forward",u=l.map((p,b)=>r.has(p.attrs?.id)?b:-1).filter(p=>p>=0);d||u.reverse();for(let p of u){let b=d?p+1:p-1;b<0||b>=l.length||r.has(l[b].attrs?.id)||([l[p],l[b]]=[l[b],l[p]])}}if(l.every((d,u)=>d===o.content[u]))return e;let s=o.attrs.id,c=d=>{if(d.attrs?.id===s)return{...d,content:l};if(!d.content)return d;let u=d.content.map(c);return u.some((p,b)=>p!==d.content[b])?{...d,content:u}:d};return Ba({...e,content:c(e.content),layout:{...e.layout},surfaceViews:{...e.surfaceViews}},{clone:!1})}function jb(e,t){let a=Object.entries(e),n={};if(a.length<2)return n;let o=Math.min(...a.map(([,s])=>s.x)),r=Math.max(...a.map(([,s])=>s.x+s.width)),i=Math.min(...a.map(([,s])=>s.y)),l=Math.max(...a.map(([,s])=>s.y+s.height));if(t==="distribute-x"||t==="distribute-y"){let s=t==="distribute-x";if(a.length<3)return n;let c=[...a].sort(([,b],[,y])=>s?b.x-y.x:b.y-y.y),d=c.reduce((b,[,y])=>b+(s?y.width:y.height),0),u=((s?r-o:l-i)-d)/(c.length-1),p=s?o:i;for(let[b,y]of c)n[b]=s?{x:p-y.x,y:0}:{x:0,y:p-y.y},p+=(s?y.width:y.height)+u;return n}for(let[s,c]of a)n[s]={x:t==="left"?o-c.x:t==="right"?r-c.x-c.width:t==="center"?(o+r)/2-c.x-c.width/2:0,y:t==="top"?i-c.y:t==="bottom"?l-c.y-c.height:t==="middle"?(i+l)/2-c.y-c.height/2:0};return n}function y4(e,t,a,n){let o=structuredClone(e),r=Gt(o.content),i=r.get(t),l=o.layout?.[t];if(!i?.parent||i.node.type!=="region"||!l)return e;let s=a.filter(d=>d!==t&&r.get(d)?.parent===i.parent&&!!o.layout?.[d]);if(!s.length)return e;let c=new Set(s);i.parent.content=i.parent.content.filter(d=>!c.has(d.attrs?.id)),i.node.content=[...i.node.content??[],...s.map(d=>r.get(d).node)];for(let d of s){let u=o.layout[d];o.layout[d]={...u,x:u.x-l.x-n.x,y:u.y-l.y-n.y}}return Ba(o)}function Ub(e,t,a,n,o="\u533A\u57DF"){let r=Gt(e.content),i=g4(r,t),l=r.get(i[0])?.parent;if(!i.length||!l||i.some(b=>r.get(b)?.parent!==l))return null;let s=structuredClone(e),c=crypto.randomUUID(),d=Gt(s.content).get(l.attrs.id).node,u=Math.max(...i.map(b=>d.content.findIndex(y=>y.attrs?.id===b)));return d.content.splice(u+1,0,{type:"region",attrs:{id:c,name:o},content:[]}),s.layout[c]={x:a.x-n.x,y:a.y-n.y,width:Math.max(120,a.width+n.x*2),height:Math.max(40,a.height+n.y*2),mode:"free",gap:24},{document:y4(Ba(s),c,i,n),id:c}}function _b(e,t,a){let n=structuredClone(e),o=Gt(n.content),r=o.get(t),i=n.layout?.[t];if(!r?.parent||r.node.type!=="region"||i?.mode!=="free")return null;let l=ll(r.node),s=(r.node.content??[]).map(u=>{if(!l)return u;let p=n.layout[u.attrs.id];if(!p)throw new Error("Archive child has no frame");let b=ym(u,p,l,i);return n.layout[u.attrs.id]=b.frame,b.node}),c=r.parent.content.indexOf(r.node);r.parent.content.splice(c,1,...s);let d=[];for(let u of s){let p=u.attrs?.id,b=p&&n.layout?.[p];b&&(d.push(p),n.layout[p]={...b,x:l?b.x:b.x+i.x+a.x,y:l?b.y:b.y+i.y+a.y})}return{document:Ba(n),ids:d}}function Zb(e,t,a){let n={...e.layout},o=!1;for(let r of t){let i=n[r];if(!i||!!i.locked===a)continue;let l={...i};a?l.locked=!0:delete l.locked,n[r]=l,o=!0}return o?Ba({...e,layout:n,surfaceViews:{...e.surfaceViews}},{clone:!1}):e}function Vb(e,t){let a=new Set(t),n=o=>{if(!o.content)return o;let r=o.content.filter(i=>!a.has(i.attrs?.id)).map(n);return r.length!==o.content.length||r.some((i,l)=>i!==o.content[l])?{...o,content:r}:o};return Ba({...e,content:n(e.content),layout:{...e.layout},surfaceViews:{...e.surfaceViews}},{clone:!1})}function Gb(e,t,a){if(!t)return!1;let n=(l,s)=>l===s||uu(l)===uu(s),o=Gt(e.content),r=Gt(t.content),i=new Set;for(let l of a){if(!t.layout?.[l])return!1;let s=o.get(l);if(!s||!(s.node.type==="surface"&&e.layout?.[l]?.heightMode!=="auto")&&!n(s.node,r.get(l)?.node))return!1;for(;s;){let d=s.node.attrs?.id,u=d?r.get(d):void 0;if(!u||s.node.type!==u.node.type||!n(s.node.attrs,u.node.attrs)||s.parent?.attrs?.id!==u.parent?.attrs?.id)return!1;d&&(e.layout?.[d]||t.layout?.[d])&&i.add(d),s=s.parent?.attrs?.id?o.get(s.parent.attrs.id):void 0}}return[...i].every(l=>n(e.layout?.[l],t.layout?.[l]))}function ws(e,t,a,n){let o=e.get(n)?.parent;if(!o||!a)return null;if(o.type==="surface")return o.attrs?.id===a&&o.attrs?.kind==="board"?a:null;if(o.type!=="region"||t?.[o.attrs.id]?.mode!=="free")return null;let r=o;for(;r&&r.type!=="surface";)r=e.get(r.attrs?.id)?.parent??null;return r?.attrs?.id===a?o.attrs.id:null}var sd=Z(Ln(),1);var pn=Z(Me(),1),qb=Z(Ln(),1);mt("");var ha=Z(de(),1);function Fb({left:e,top:t,onInsert:a,onClose:n}){let o=se(V2),r=xs(!0),i=(0,pn.useContext)(ni),[l,s]=(0,pn.useState)(""),[c,d]=(0,pn.useState)(0),[u,p]=(0,pn.useState)(!1),[b,y]=(0,pn.useState)(""),f=(0,pn.useRef)(null),w=(0,pn.useRef)(!0),h=(0,pn.useRef)(document.activeElement);(0,pn.useEffect)(()=>(w.current=!0,()=>{w.current=!1,h.current?.focus()}),[]),(0,pn.useEffect)(()=>{f.current?.querySelector('[aria-selected="true"]')?.scrollIntoView({block:"nearest"})},[c]);let m=r.items.filter(T=>"kind"in T||T.role!=="page-outline").filter(T=>`${T.name} ${T.description} ${Jc(T)} ${G2(T)} ${"kind"in T?T.kind:T.id}`.toLowerCase().includes(l.toLowerCase())),v=async T=>{let x=m[T];if(!(!x||u)){p(!0),y("");try{let E=await r.resolve(x);if(!w.current)return;E.component&&i(E.component),a(E.kind,E.data),n()}catch(E){w.current&&(p(!1),y(E.message))}}};return(0,qb.createPortal)((0,ha.jsxs)(ha.Fragment,{children:[(0,ha.jsx)("div",{className:"slash-dismiss",onClick:n}),(0,ha.jsxs)("div",{ref:f,className:"slash-menu is-minimal",role:"dialog","aria-label":o("insertContent"),style:{left:Math.max(12,Math.min(e,window.innerWidth-320)),top:Math.max(12,Math.min(t,window.innerHeight-410))},onKeyDown:T=>{T.nativeEvent.isComposing||(T.stopPropagation(),T.key==="Escape"&&(T.preventDefault(),n()),T.key==="Enter"&&(T.preventDefault(),v(c)),(T.key==="ArrowDown"||T.key==="ArrowUp")&&(T.preventDefault(),d(x=>m.length?(x+(T.key==="ArrowDown"?1:-1)+m.length)%m.length:0)))},children:[(0,ha.jsxs)("div",{className:"slash-search",children:[(0,ha.jsx)(j1,{label:o("searchBlocks"),placeholder:o("searchComponentsPlaceholder"),defaultExpanded:!0,value:l,onChange:T=>{s(T),d(0)}}),(0,ha.jsx)("kbd",{children:"esc"})]}),(b||r.error)&&(0,ha.jsx)("p",{role:"alert",className:"slash-empty",children:b||r.error}),(0,ha.jsxs)("div",{className:"slash-items",role:"listbox","aria-label":o("blockTypes"),"aria-busy":u||r.loading,children:[!m.length&&(0,ha.jsx)("p",{className:"slash-empty",children:r.loading?o("loadingComponents"):o("noComponentsFound")}),m.map((T,x)=>(0,ha.jsxs)("button",{role:"option",className:`slash-item${c===x?" is-selected":""}`,"aria-selected":c===x,disabled:u,onMouseEnter:()=>d(x),onMouseDown:E=>E.preventDefault(),onClick:()=>{v(x)},children:[(0,ha.jsx)("span",{className:"slash-item-icon",children:(0,ha.jsx)(Os,{size:20})}),(0,ha.jsxs)("span",{children:[(0,ha.jsx)("strong",{children:Jc(T)}),(0,ha.jsx)("small",{children:Mb(Cb(T))})]})]},"kind"in T?T.kind:`${T.id}@${T.version}#${T.integrity}`))]})]})]}),document.body)}var XE=St(Qe);function sS(e,t){let a=f4(e);if(!a?.insertion)throw new Error(`Component ${e} is not a native container.`);if(Object.keys(t).some(o=>!["title","content","layout","surfaceViews"].includes(o)))throw new Error("Unsupported container component property.");let n=eu(a.insertion.surfaceKind,t.title===void 0?void 0:t.title);return t.content!==void 0&&(n.content=structuredClone(t.content)),v6({id:crypto.randomUUID(),title:"",content:n,...t.layout!==void 0?{layout:t.layout}:{},...t.surfaceViews!==void 0?{surfaceViews:t.surfaceViews}:{}})}function Y2(e,t,a,n,o){if(!n||typeof n!="object"||Array.isArray(n))throw new Error("Component data must be an object.");let r=M1(e),i=t?at(r,t)?.node:r.content;if(!i||!["surface","region","step"].includes(i.type??""))throw new Error("Component destination must be a container.");let l=i.type==="step",s=f4(a);if(!s&&a!=="custom")throw new Error(`Unknown component: ${a}.`);if(l&&s?.insertion)throw new Error(`A step holds content blocks; insert ${a} into a Page or Board instead.`);let c,d;if(a==="text")c=tu(n),d={x:0,y:0,width:640};else if(qm[a])c=n.document?tu({content:n.document,format:"richtext"}):N1(a,n,crypto.randomUUID()),d={x:0,y:0,width:640};else if(s?.insertion){let y=Lm(sS(a,n));c=y.content,Object.assign(r.layout,y.layout),Object.assign(r.surfaceViews,y.surfaceViews);let f=i.type==="surface"?Ha(i)==="board":r.layout[i.attrs.id]?.mode==="free";d={x:0,y:0,width:760,height:460,heightMode:Ha(c)==="page"&&!f?"auto":"fixed"}}else c={type:"widget",attrs:{id:crypto.randomUUID(),kind:a,data:structuredClone(n)}},d={x:0,y:0,width:640};if((i.type==="surface"&&Ha(i)==="board"||i.type==="region"&&r.layout[i.attrs.id]?.mode==="free")&&!s?.insertion){let y=c;c=eu("page",typeof n.title=="string"&&n.title.trim()?n.title:s?.name??"Page"),c.content=[y],r.layout[y.attrs.id]={x:0,y:0,width:d.width},d={x:0,y:0,width:d.width+48,height:360,heightMode:"auto"}}let p=i.content??[];(i.type==="surface"&&Ha(i)==="board"||i.type==="region"&&r.layout[i.attrs.id]?.mode==="free")&&(d.x=Math.min(1e6,Math.max(0,...p.map(y=>{let f=r.layout[y.attrs.id];return f?f.x+f.width+48:0}))));let b=p.length;if(o===null)b=0;else if(o!==void 0){let y=p.findIndex(f=>f.attrs?.id===o);if(y<0)throw new Error(`Insertion anchor ${o} does not belong to this parent.`);b=y+1}return i.content=[...p.slice(0,b),c,...p.slice(b)],l||(r.layout[c.attrs.id]=d),{document:Ba(r),nodeId:c.attrs.id}}function v4(e,t){let a=vo(e)||1,n=(t.x-(e.x+e.width/2))/(e.width||1),o=(t.y-(e.y+a/2))/a;return Math.abs(n)>=Math.abs(o)?{x:n>=0?1:0,y:.5}:{x:.5,y:o>=0?1:0}}var Wb={right:"LR",down:"TB",left:"RL",up:"BT"};function dS(e,t,{direction:a="right",origin:n={x:0,y:0},spacing:o={}}={}){if(!Wb[a])throw new Error("Diagram direction must be right, down, left or up.");let r=new P6.Graph({multigraph:!0});r.setGraph({rankdir:Wb[a],nodesep:o.node??48,ranksep:o.rank??96,edgesep:24,marginx:0,marginy:0}),r.setDefaultEdgeLabel(()=>({}));for(let c of e)r.setNode(c.id,{width:c.width,height:c.height});t.forEach((c,d)=>{if(!r.hasNode(c.from)||!r.hasNode(c.to))return;let u=c.label?Um(c.label,c.labelSize??16,200):{width:0,height:0};r.setEdge(c.from,c.to,{width:u.width+12,height:u.height+8,labelpos:"c"},c.id??`edge-${d}`)}),O6(r);let i=e.map(c=>{let d=r.node(c.id);return{id:c.id,x:d.x-c.width/2,y:d.y-c.height/2}}),l=Math.min(...i.map(c=>c.x)),s=Math.min(...i.map(c=>c.y));return Object.fromEntries(i.map(c=>[c.id,{x:Math.round(n.x+c.x-l),y:Math.round(n.y+c.y-s)}]))}function Kb(e,t,a="right"){let n=Gt(e.content),o=e.layout??{},r=t.map(f=>n.get(f)).filter(f=>f&&o[f.node.attrs.id]&&v1(f.node).bindTarget&&!o[f.node.attrs.id].locked);if(r.length<2)return null;let i=r[0].parent;if(r.some(f=>f.parent!==i))return null;let l=new Set(r.map(f=>f.node.attrs.id)),s=(i.content??[]).filter(f=>f.type==="drawing"&&f.attrs?.tool==="arrow"&&l.has(f.attrs.bindings?.start?.targetId)&&l.has(f.attrs.bindings?.end?.targetId)).map(f=>({id:f.attrs.id,from:f.attrs.bindings.start.targetId,to:f.attrs.bindings.end.targetId,label:f.attrs.label,labelSize:f.attrs.labelSize}));if(!s.length)return null;let c=r.map(f=>o[f.node.attrs.id]),d={x:Math.min(...c.map(f=>f.x)),y:Math.min(...c.map(f=>f.y))},u=dS(r.map(f=>({id:f.node.attrs.id,width:o[f.node.attrs.id].width,height:vo(o[f.node.attrs.id])})),s,{direction:a,origin:d}),p=Object.fromEntries(r.map(f=>{let w=f.node.attrs.id;return[w,{...o[w],...u[w]}]})),b=f=>({x:f.x+f.width/2,y:f.y+vo(f)/2}),y=Object.fromEntries(s.map(f=>[f.id,{start:v4(p[f.from],b(p[f.to])),end:v4(p[f.to],b(p[f.from]))}]));return{frames:p,anchors:y}}var Le=Z(Me(),1);var Ss=Z(Me(),1),Yb=()=>0;function Jb(e,t,a){let n=e.attrs?.bindings?.start?.targetId,o=e.attrs?.bindings?.end?.targetId,r=(0,Ss.useCallback)(s=>a?.subscribe([n,o].filter(Boolean),s)??(()=>{}),[a,n,o]),i=(0,Ss.useSyncExternalStore)(r,a?.getSnapshot??Yb,Yb),l=t.layout?.[e.attrs?.id];return(0,Ss.useMemo)(()=>a&&l&&e.type==="drawing"&&e.attrs?.tool==="arrow"&&(n||o)?a.resolveArrow(e,l,t):{node:e,frame:l},[e,l,t,a,i,n,o])}function J2(e,t,a,n={}){let{origin:o,release:r,scale:i,snap:l}=a,s=e==="pen"||e==="highlighter",c=a.moved||Math.hypot(r.x-o.x,r.y-o.y)*i>=3,d;if(!c)d=s?[o,{x:o.x+.01,y:o.y+.01}]:e==="arrow"?[o,{x:o.x+100,y:o.y}]:[{x:o.x-100,y:o.y-100},{x:o.x+100,y:o.y+100}];else if(s){d=[...a.points];let b=d.at(-1);(!b||b.x!==r.x||b.y!==r.y)&&d.push(r),d.length===1&&d.push({x:r.x+.01,y:r.y+.01})}else d=k1(e==="region"?"rectangle":e,o,r,n),l&&["rectangle","ellipse","region"].includes(e)&&!n.ctrlKey&&!n.metaKey&&(d=S1(d,l,i,n.shiftKey).points);d.length>2e4&&(d=[...d.slice(0,19999),d.at(-1)]);let u=y1(d),p={x:u.x,y:u.y,width:Math.max(1,u.width),height:Math.max(1,u.height)};return e==="region"?{node:{type:"region",attrs:{id:crypto.randomUUID(),name:"\u533A\u57DF"},content:[]},frame:{...p,width:Math.max(120,p.width),height:Math.max(40,p.height),mode:"free",gap:24}}:{node:{type:"drawing",attrs:{id:crypto.randomUUID(),name:{pen:"\u7B14\u753B",highlighter:"\u8367\u5149\u7B14",rectangle:"\u77E9\u5F62",ellipse:"\u692D\u5706",arrow:"\u7BAD\u5934"}[e],tool:e,...t,extent:[p.width,p.height],points:(s?[d[0],d.at(-1)]:d).map(b=>({x:b.x-p.x,y:b.y-p.y,...s&&b.pressure!==void 0?{pressure:b.pressure}:{}})),...s?{ink:gm(d.map(b=>({...b,x:b.x-p.x,y:b.y-p.y})),t.strokeWidth,[p.width,p.height],e==="highlighter"?"marker":"pen",t.pressure)}:{}}},frame:p}}function Xb(e,t){let a=e.map((n,o)=>{let r=e[Math.max(0,o-1)],i=e[Math.min(e.length-1,o+1)],l=i.x-r.x,s=i.y-r.y,c=Math.hypot(l,s)||1,d=t*(.2+.8*Math.max(0,Math.min(1,n.pressure??1)))/2;return[{x:n.x-s/c*d,y:n.y+l/c*d},{x:n.x+s/c*d,y:n.y-l/c*d}]});return _s([...a.map(n=>n[0]),...a.map(n=>n[1]).reverse()])+" Z"}var Qb=Z(Me(),1);var co=Z(de(),1);function $b({ink:e,fragments:t=[],color:a,width:n,pressure:o}){let r=(0,Qb.useId)(),i=[e,...t].map(s=>({ink:s,geometry:bm(s,n,o)})),l=i.some(({geometry:s})=>!!s.mask);return(0,co.jsxs)(co.Fragment,{children:[l&&(0,co.jsx)("defs",{children:i.map(({ink:s,geometry:c},d)=>c.mask&&(0,co.jsx)("clipPath",{id:`${r}-${d}`,clipPathUnits:"userSpaceOnUse",children:(0,co.jsx)("path",{d:c.mask,transform:`matrix(${s.transform.join(" ")})`})},d))}),[!1,!0].map(s=>(0,co.jsx)("g",{className:s?"board-ink-dark":"board-ink-light",opacity:e.opacity,children:l?i.map(({geometry:c},d)=>(0,co.jsx)("path",{"data-portable-ink":e.format==="showai-ink-v2"?"2":"1",d:c.path,fill:Wd(a,s),stroke:"none",clipPath:c.mask?`url(#${r}-${d})`:void 0},d)):(0,co.jsx)("path",{"data-portable-ink":e.format==="showai-ink-v2"?"2":"1",d:i.map(({geometry:c})=>c.path).join(" "),fill:Wd(a,s),stroke:"none"})},String(s)))]})}function Cs(e){return e?.type==="drawing"&&["rectangle","ellipse","arrow"].includes(e.attrs?.tool)}function uS(e,t){return e==="touch"&&t.native&&t.device==="pad"&&!t.fingerDrawing}function ur(e){let t=document.documentElement.dataset;return uS(e,{native:t.native==="ios",device:t.nativeDevice,fingerDrawing:t.fingerDrawing==="true"})}var th=Z(Ln(),1);var an=Z(Me(),1);var jt=Z(de(),1);function eh({id:e,name:t,frame:a,positioned:n,region:o=!1,archiveGroup:r=!1,container:i=!1,drawing:l=!1,drawingNode:s,component:c=!1,fixedHeight:d=!1,rotatable:u=!1,resizable:p=!0,children:b}){let y=se(Qe),f=(0,an.useContext)(Ua),w=n?f.board:void 0,h=(0,an.useRef)(null),m=(0,an.useRef)(null),[v,T]=(0,an.useState)(!1),[x,E]=(0,an.useState)(!1),P=(0,an.useRef)({frame:a,move:f.move});P.current={frame:a,move:f.move};let U=(0,an.useRef)(null);(0,an.useEffect)(()=>{let O=new IntersectionObserver(z=>{z.some(H=>H.isIntersecting)&&(T(!0),O.disconnect())},{root:h.current.closest(".surface-scroll"),rootMargin:"600px"});return O.observe(h.current),()=>O.disconnect()},[]),(0,an.useEffect)(()=>{let O=h.current,z=f.geometry;if(!O||!z||!v||!n||l||d)return;let H=()=>z.measure(e,O.offsetWidth,O.offsetHeight),M=new ResizeObserver(H);return M.observe(O),H(),()=>{M.disconnect(),z.forget(e)}},[f.geometry,e,v,n,l,d]);let S=O=>{let z=h.current;z.style.left=`${O.x}px`,z.style.top=`${O.y}px`,z.style.width=i&&!n?`min(100%, ${O.width}px)`:`${O.width}px`,d&&O.height&&(z.style.height=`${O.height}px`),n&&(z.style.transform=O.rotation?`rotate(${O.rotation}deg)`:"")},k=()=>{let O=U.current;O&&(O.delegated&&w?.cancel(),U.current=null,E(!1),P.current.frame&&S(P.current.frame),m.current?.hasPointerCapture(O.id)&&m.current.releasePointerCapture(O.id))};(0,an.useEffect)(()=>{if(x)return window.addEventListener("blur",k),()=>window.removeEventListener("blur",k)},[x]),(0,an.useEffect)(()=>{f.move||k()},[f.move]);let A=(O,z=!1,H=z?"resize":"move")=>{if(O.defaultPrevented||O.pointerType==="pen"&&Cs(s)||O.button!==0||!n&&!z||!a||!f.move)return;if(O.preventDefault(),O.stopPropagation(),O.shiftKey&&!z&&H==="move"){f.select(e,!0);return}let M=!!w?.start(e,H,O);M||f.select(e),O.currentTarget.focus({preventScroll:!0}),O.currentTarget.setPointerCapture(O.pointerId),m.current=O.currentTarget,U.current={id:O.pointerId,x:O.clientX,y:O.clientY,start:a,next:a,resize:z,kind:H,delegated:M,scale:h.current.getBoundingClientRect().width/Sr({...a,contentSize:void 0,height:h.current.offsetHeight}).width||f.scale},E(!0)},L=O=>{let z=U.current;if(!z||z.id!==O.pointerId)return;if(z.delegated){w?.update(O);return}if(z.kind==="rotate"){if(Math.hypot(O.clientX-z.x,O.clientY-z.y)<3&&z.next===z.start)return;let oe=h.current.getBoundingClientRect(),fe=oe.left+oe.width/2,ue=oe.top+oe.height/2,Se=(z.start.rotation??0)+(Math.atan2(O.clientY-ue,O.clientX-fe)-Math.atan2(z.y-ue,z.x-fe))*180/Math.PI;O.shiftKey&&(Se=Math.round(Se/15)*15),z.next={...z.start,rotation:(Se+540)%360-180},S(z.next);return}let H=(O.clientX-z.x)/z.scale,M=(O.clientY-z.y)/z.scale;z.next=z.resize?{...z.start,width:Math.max(l||r?1:120,Math.min(1e4,z.start.width+H)),...d?{height:Math.max(i?180:1,Math.min(1e6,(z.start.height??420)+M))}:{}}:{...z.start,x:Math.max(-1e6,Math.min(1e6,z.start.x+H)),y:Math.max(-1e6,Math.min(1e6,z.start.y+M))},S(z.next)},I={onPointerMove:L,onPointerUp:O=>{let z=U.current;if(!z||z.id!==O.pointerId)return;if(z.delegated){w?.update(O),w?.finish(),U.current=null,E(!1),O.currentTarget.hasPointerCapture(O.pointerId)&&O.currentTarget.releasePointerCapture(O.pointerId);return}L(O);let H=P.current.frame,M=H&&H.x===z.start.x&&H.y===z.start.y&&H.width===z.start.width&&H.height===z.start.height&&H.rotation===z.start.rotation;U.current=null,E(!1),O.currentTarget.hasPointerCapture(O.pointerId)&&O.currentTarget.releasePointerCapture(O.pointerId),M&&(z.next.x!==z.start.x||z.next.y!==z.start.y||z.next.width!==z.start.width||z.next.height!==z.start.height||z.next.rotation!==z.start.rotation)?P.current.move?.(e,z.next):H&&S(H)},onPointerCancel:k,onLostPointerCapture:k},D=n&&a?{position:"absolute",left:a.x,top:a.y,width:a.width,minHeight:a.height,transform:a.rotation?`rotate(${a.rotation}deg)`:void 0}:{position:"relative",minWidth:0};i&&!n&&a&&(D.width=`min(100%, ${a.width}px)`),a&&(D["--frame-width"]=`${a.width}px`,D["--frame-x"]=`${a.x}px`,D["--frame-y"]=`${a.y}px`),a?.height&&(D["--frame-height"]=`${a.height}px`),d&&(D.height=a?.height??460,D.minHeight=void 0);let N=l||v||f.revealAll||f.revealed.has(e)||(w?.ids.has(e)??f.selected===e),_=!f.nativeScene&&s&&Sm(s),j=_&&s?{left:`${_.x/s.attrs.extent[0]*100}%`,top:`${_.y/s.attrs.extent[1]*100}%`,width:`${_.width/s.attrs.extent[0]*100}%`,height:`${_.height/s.attrs.extent[1]*100}%`}:void 0,F=v||x||(w?.ids.has(e)??f.selected===e),q=!w||w.ids.size<=1,J=!!a?.locked,V=s?.attrs?.tool,pe=V==="arrow"?[]:l?["nw","ne","se","sw"]:d?["nw","n","ne","e","se","s","sw","w"]:["e","w"],G=O=>{if(!_||!s)return;let z=_.x+_.width*(O.includes("w")?0:O.includes("e")?1:.5),H=_.y+_.height*(O.includes("n")?0:O.includes("s")?1:.5);return{left:`${z/s.attrs.extent[0]*100}%`,top:`${H/s.attrs.extent[1]*100}%`}};return(0,jt.jsxs)("section",{ref:h,style:D,className:`surface-object${o?" is-region":""}${r?" is-ink-archive-group":""}${i?" is-container":""}${l?" is-drawing":""}${x?" is-moving":""}${J?" is-locked":""}${w?.ids.has(e)??f.selected===e?" is-selected":""}`,"data-surface-id":e,"data-board-drawing":l&&n&&!!w||void 0,"data-board-shape":Cs(s)||void 0,"data-surface-mounted":N,"data-board-fixed-height":d,"data-surface-name":t,"data-surface-content":!0,"aria-label":t,tabIndex:-1,onPointerDown:O=>{if(!(O.defaultPrevented||O.button!==0||O.target.closest("[data-surface-ui]"))){if(C6(O.target,O.clientX,O.clientY)){f.select(null);return}O.pointerType==="pen"&&Cs(s)||O.target.closest("[data-surface-id]")===O.currentTarget&&(l&&n&&!f.readOnly?A(O):f.select(e,O.shiftKey))}},...l?I:{},onKeyDownCapture:O=>{O.key==="Escape"&&U.current&&(O.preventDefault(),O.stopPropagation(),k())},children:[(l||i&&n&&!!w)&&!f.readOnly&&(w?.ids.has(e)??f.selected===e)&&(0,jt.jsx)("div",{className:`board-object-outline${i?" board-selection-drag-area":""}`,style:l?j:{inset:0},"aria-hidden":"true"}),J&&n&&w?.ids.has(e)&&(0,jt.jsx)("span",{className:"board-lock-badge","data-surface-ui":!0,"aria-label":y("board.lockedBadge",{name:t}),title:y("board.lockedBadgeTitle"),children:(0,jt.jsx)(Ps,{size:11,"aria-hidden":"true"})}),u&&V!=="arrow"&&n&&q&&!J&&!f.readOnly&&(w?.ids.has(e)??f.selected===e)&&(0,jt.jsx)("button",{type:"button",className:"surface-object-rotate","data-surface-ui":!0,"data-surface-handle":!0,"aria-label":y("object.rotate",{name:t}),title:y("object.rotateTitle"),style:_&&s?{left:`calc(${(_.x+_.width/2)/s.attrs.extent[0]*100}% - 12px * var(--board-inv, 1))`,top:`calc(${_.y/s.attrs.extent[1]*100}% - 44px * var(--board-inv, 1))`}:void 0,onPointerDown:O=>A(O,!1,"rotate"),...I,children:"\u21BB"}),(!f.readOnly&&F&&!w&&!r||f.readOnly&&i&&N)&&(0,jt.jsxs)("div",{className:"surface-object-header","data-surface-ui":!0,children:[f.readOnly?(0,jt.jsx)("span",{className:"surface-object-grip",children:t}):(0,jt.jsxs)("button",{type:"button",className:"surface-object-grip","data-surface-handle":n&&!!f.move||void 0,"aria-label":y("object.move",{name:t}),title:y(n?"object.moveTitle":"object.select"),onPointerDown:O=>n?A(O):f.select(e),...I,onKeyDown:O=>{if(!n||!a||!f.move)return;let H={ArrowLeft:[-1,0],ArrowRight:[1,0],ArrowUp:[0,-1],ArrowDown:[0,1]}[O.key];if(!H)return;O.preventDefault(),O.stopPropagation();let M=O.shiftKey?50:10;f.move(e,{...a,x:Math.max(-1e6,Math.min(1e6,a.x+H[0]*M)),y:Math.max(-1e6,Math.min(1e6,a.y+H[1]*M))})},children:[(0,jt.jsx)(G5,{size:14}),(0,jt.jsx)("span",{children:t})]}),i&&(0,jt.jsx)("button",{type:"button","aria-label":y("object.expand",{name:t}),onClick:()=>f.expand?.(e),children:(0,jt.jsx)(ol,{size:14})}),!f.readOnly&&(0,jt.jsxs)(jt.Fragment,{children:[(0,jt.jsx)("button",{type:"button","aria-label":y("object.settings",{name:t}),onClick:()=>f.inspect?.(e),children:(0,jt.jsx)(kr,{size:14})}),(0,jt.jsx)("button",{type:"button","aria-label":y("object.delete",{name:t}),onClick:()=>f.remove?.(e),children:(0,jt.jsx)(Qt,{size:14})})]})]}),(0,jt.jsx)("div",{className:"surface-object-content",children:(0,jt.jsx)(B6.Provider,{value:w&&c?{target:f.componentActionsHost??null,selected:w.ids.size===1&&w.ids.has(e)}:null,children:N?b:(0,jt.jsx)("div",{className:"surface-object-placeholder",style:{minHeight:a?.height??(o?240:160)}})})}),p&&F&&q&&!J&&!f.readOnly&&n&&w&&pe.map(O=>(0,jt.jsx)("button",{type:"button",className:`board-resize-handle handle-${O}`,"data-surface-ui":!0,"data-surface-handle":!0,"data-resize-direction":O,style:G(O),"aria-label":y(`object.resize.${O}`,{name:t}),onKeyDown:z=>{let H={ArrowLeft:[-1,0],ArrowRight:[1,0],ArrowUp:[0,-1],ArrowDown:[0,1]}[z.key];if(!H||!a||!f.move)return;z.preventDefault(),z.stopPropagation();let M=z.shiftKey?10:1,oe={...a,contentSize:void 0,height:h.current?.offsetHeight??vo(a)},fe=x1(s?sl(s,oe):oe,{x:H[0]*M,y:H[1]*M},O,{width:l||r?1:120,height:i?180:1});d||(fe.height=a.height,fe.y=a.y),f.move(e,s?js(s,a,fe):fe)},onPointerDown:z=>A(z,!0,`resize-${O}`),...I},O)),p&&F&&!f.readOnly&&(n||d)&&!w&&(0,jt.jsx)("button",{type:"button",className:"surface-object-resize",disabled:!f.move,"data-surface-handle":!0,"aria-label":y(d?"object.resizeSize":"object.resizeWidth",{name:t}),title:y("object.resizeTitle"),onPointerDown:O=>A(O,!0),...I,onKeyDown:O=>{!a||!f.move||!["ArrowLeft","ArrowRight"].includes(O.key)||(O.preventDefault(),O.stopPropagation(),f.move(e,{...a,width:Math.max(120,Math.min(1e4,a.width+(O.key==="ArrowLeft"?-20:20)))}))},children:"\u2194"})]})}var Tt=Z(Me(),1);var qe=Z(de(),1);function ah(e){return(0,Tt.useContext)(Ua).nativeScene?(0,qe.jsx)(mS,{...e}):(0,qe.jsx)(fS,{...e})}function mS({node:e,frame:t}){let a=(0,Tt.useContext)(Ua),n=e.attrs,o=n.extent,r=n.points;return(0,qe.jsxs)(qe.Fragment,{children:[(0,qe.jsx)("svg",{className:"board-drawing","data-native-measurement":"true","data-native-ink":Hs(e)?"":void 0,"data-native-ink-id":Hs(e)?n.id:void 0,viewBox:`0 0 ${o[0]} ${o[1]}`,preserveAspectRatio:"none",role:"img","aria-label":n.name||n.tool}),wo(e)&&n.label&&(0,qe.jsx)(oh,{node:e,first:r[0],last:r.at(-1),frameHeight:t?.height??o[1],editing:!1,onDone:(i,l)=>a.setLabel?.(n.id,i,l)})]})}function fS({node:e,frame:t}){let a=se(Qe),n=(0,Tt.useContext)(Ua),o=(0,Tt.useId)(),[r,i]=(0,Tt.useState)(!1),[l,s]=(0,Tt.useState)(null),c=(0,Tt.useRef)(null),d=(0,Tt.useRef)({node:e,frame:t,connect:n.connect});d.current={node:e,frame:t,connect:n.connect};let u=(S,k)=>{let A=c.current,L=A.layer.getBoundingClientRect();return{x:A.original.x+(S-A.x-L.left+A.origin.x)/A.scale/A.frame.width*A.source.attrs.extent[0],y:A.original.y+(k-A.y-L.top+A.origin.y)/A.scale/(A.frame.height??1)*A.source.attrs.extent[1]}},p=()=>{c.current&&n.highlightTarget?.(null),c.current=null,i(!1),s(null)};(0,Tt.useEffect)(()=>{if(r)return window.addEventListener("blur",p),()=>window.removeEventListener("blur",p)},[r]);let{tool:b,points:y,color:f,fillColor:w="none",strokeWidth:h,extent:m}=e.attrs,v=l?.key==="start"?l.point:y[0],T=l?.key==="end"?l.point:y.at(-1),x=b==="arrow"?Us(v,T,h):_s(y),E=Kd(e.attrs.ink)?(0,qe.jsx)($b,{ink:e.attrs.ink,fragments:e.attrs.inkFragments,color:f,width:h,pressure:e.attrs.pressure}):e.attrs.ink?(0,qe.jsxs)(qe.Fragment,{children:[(0,qe.jsx)("image",{className:e.attrs.ink.darkPreview?"board-ink-light":void 0,href:e.attrs.ink.preview,width:m[0],height:m[1],preserveAspectRatio:"none"}),e.attrs.ink.darkPreview&&(0,qe.jsx)("image",{className:"board-ink-dark",href:e.attrs.ink.darkPreview,width:m[0],height:m[1],preserveAspectRatio:"none"})]}):e.attrs.pressure!==!1&&(b==="pen"||b==="highlighter")&&y.some(S=>S.pressure!==void 0)?(0,qe.jsx)("path",{d:Xb(y,h),fill:f,stroke:"none"}):b==="rectangle"?(0,qe.jsx)("rect",{x:Math.min(v.x,T.x),y:Math.min(v.y,T.y),width:Math.abs(T.x-v.x),height:Math.abs(T.y-v.y)}):b==="ellipse"?(0,qe.jsx)("ellipse",{cx:(v.x+T.x)/2,cy:(v.y+T.y)/2,rx:Math.abs(T.x-v.x)/2,ry:Math.abs(T.y-v.y)/2}):(0,qe.jsx)("path",{d:x}),P=!n.readOnly&&(n.board?.ids.has(e.attrs.id)??n.selected===e.attrs.id),U=[1.5*m[0]/((t?.width??m[0])*n.scale),1.5*m[1]/((t?.height??m[1])*n.scale)].join(" ");return(0,qe.jsxs)(qe.Fragment,{children:[(0,qe.jsx)("svg",{className:"board-drawing","data-native-ink":Hs(e)?"":void 0,"data-native-ink-id":Hs(e)?e.attrs.id:void 0,viewBox:`0 0 ${m[0]} ${m[1]}`,preserveAspectRatio:"none",role:"img","aria-label":e.attrs.name||b,children:(0,qe.jsx)("g",{fill:b==="rectangle"||b==="ellipse"?w:"none",stroke:f,opacity:Kd(e.attrs.ink)?1:b==="highlighter"?.35:1,strokeWidth:h,strokeLinecap:"round",strokeLinejoin:"round",children:E})}),P&&(0,qe.jsxs)("svg",{className:"board-drawing-selection",viewBox:`0 0 ${m[0]} ${m[1]}`,preserveAspectRatio:"none","aria-hidden":"true",children:[(0,qe.jsx)("defs",{children:(0,qe.jsxs)("filter",{id:o,filterUnits:"userSpaceOnUse",x:"-50%",y:"-50%",width:"200%",height:"200%",children:[(0,qe.jsx)("feMorphology",{in:"SourceAlpha",operator:"dilate",radius:U,result:"expanded"}),(0,qe.jsx)("feComposite",{in:"expanded",in2:"SourceAlpha",operator:"out",result:"edge"}),(0,qe.jsx)("feFlood",{floodColor:"#467de3",result:"color"}),(0,qe.jsx)("feComposite",{in:"color",in2:"edge",operator:"in"})]})}),(0,qe.jsx)("g",{filter:`url(#${o})`,fill:b==="rectangle"||b==="ellipse"?w:"none",stroke:f,strokeWidth:h,strokeLinecap:"round",strokeLinejoin:"round",children:E})]}),wo(e)&&(e.attrs.label||!n.readOnly&&!!n.setLabel&&n.labelEditing===e.attrs.id)&&(0,qe.jsx)(oh,{node:e,first:v,last:T,frameHeight:t?t.height??m[1]:m[1],editing:!n.readOnly&&!!n.setLabel&&n.labelEditing===e.attrs.id,onDone:(S,k)=>{n.editLabel?.(null),(S!==(e.attrs.label??"")||k)&&n.setLabel?.(e.attrs.id,S,k)}}),b==="arrow"&&t&&!n.readOnly&&n.connect&&(n.board?.ids.has(e.attrs.id)??n.selected===e.attrs.id)&&["start","end"].map(S=>{let k=S==="start"?v:T;return(0,qe.jsx)("button",{type:"button",className:"board-arrow-endpoint","data-surface-ui":!0,"data-surface-handle":!0,"aria-label":a(S==="start"?"drawing.arrowStart":"drawing.arrowEnd"),style:{left:`${k.x/m[0]*100}%`,top:`${k.y/m[1]*100}%`},onPointerDown:A=>{if(A.button!==0)return;A.preventDefault(),A.stopPropagation(),A.currentTarget.focus({preventScroll:!0}),A.currentTarget.setPointerCapture(A.pointerId);let L=A.currentTarget.closest("[data-surface-id]").getBoundingClientRect(),C=A.currentTarget.closest("[data-surface-id]").parentElement,I=C.getBoundingClientRect();i(!0),c.current={key:S,x:A.clientX,y:A.clientY,scale:L.width/t.width,layer:C,origin:{x:I.left,y:I.top},original:k,next:k,source:e,frame:t}},onPointerMove:A=>{let L=c.current;L&&(A.stopPropagation(),L.next=u(A.clientX,A.clientY),s({key:S,point:L.next}),n.highlightTarget?.(A.clientX,A.clientY,e.attrs.id))},onPointerUp:A=>{let L=c.current;if(!L)return;A.stopPropagation(),L.next=u(A.clientX,A.clientY);let C=JSON.stringify(d.current.node)===JSON.stringify(L.source)&&JSON.stringify(d.current.frame)===JSON.stringify(L.frame);p(),n.highlightTarget?.(null),A.currentTarget.hasPointerCapture(A.pointerId)&&A.currentTarget.releasePointerCapture(A.pointerId),C&&(L.next.x!==L.original.x||L.next.y!==L.original.y)&&d.current.connect?.(e.attrs.id,S,{x:t.x+L.next.x/m[0]*t.width,y:t.y+L.next.y/m[1]*(t.height??m[1])})},onPointerCancel:p,onLostPointerCapture:p,onKeyDown:A=>{if(A.key==="Escape"){A.preventDefault(),A.stopPropagation(),p();return}let L={ArrowLeft:[-1,0],ArrowRight:[1,0],ArrowUp:[0,-1],ArrowDown:[0,1]}[A.key];if(!L)return;A.preventDefault(),A.stopPropagation(),p();let C=A.shiftKey?10:1;n.connect?.(e.attrs.id,S,{x:t.x+k.x/m[0]*t.width+L[0]*C,y:t.y+k.y/m[1]*(t.height??m[1])+L[1]*C})}},S)})]})}function nh({tool:e,color:t,fillColor:a="none",strokeWidth:n=2.5,pressure:o=!0,camera:r,panHeld:i,ruler:l=!1,makeSnapIndex:s,point:c,onDraw:d,onExit:u,onTarget:p}){let b=se(Qe),[,y]=(0,Tt.useState)(0),f=(0,Tt.useRef)(0),w=()=>{f.current||(f.current=requestAnimationFrame(()=>{f.current=0,y(N=>N+1)}))};(0,Tt.useEffect)(()=>()=>cancelAnimationFrame(f.current),[]);let[h,m]=(0,Tt.useState)([]),v=(0,Tt.useRef)(null),T=(0,Tt.useRef)(null),x=e==="pen"||e==="highlighter",E=()=>{let N=v.current?.id;v.current=null,w(),m([]),N!==void 0&&T.current?.hasPointerCapture(N)&&T.current.releasePointerCapture(N)},P=(0,Tt.useRef)({tool:e,color:t,fillColor:a,strokeWidth:n,pressure:o,point:c,onDraw:d});P.current={tool:e,color:t,fillColor:a,strokeWidth:n,pressure:o,point:c,onDraw:d};let U=()=>r.current.scale*(T.current.getBoundingClientRect().width/T.current.clientWidth||1),S=(N,_)=>{let j=v.current;if(!j)return;let{tool:F,color:q,fillColor:J,strokeWidth:V,pressure:pe,onDraw:G}=P.current,O=J2(F,{color:q,fillColor:J,strokeWidth:V,pressure:pe},{...j,release:N??j.cursor,scale:U()},_??j.modifiers);v.current=null,(0,th.flushSync)(()=>{G(O.node,O.frame),cancelAnimationFrame(f.current),f.current=0,y(z=>z+1),m([])}),T.current?.hasPointerCapture(j.id)&&T.current.releasePointerCapture(j.id)},k=(0,Tt.useRef)(S);k.current=S,(0,Tt.useEffect)(()=>{let N=()=>{v.current?.moved?k.current():E()},_=T.current?.closest(".page-surface");_?.addEventListener("showai-board-pinch",E);let j=()=>{v.current&&w()};return _?.addEventListener("showai:viewport-change",j),window.addEventListener("blur",N),()=>{window.removeEventListener("blur",N),_?.removeEventListener("showai-board-pinch",E),_?.removeEventListener("showai:viewport-change",j)}},[]);let A=N=>({shiftKey:N.shiftKey,altKey:N.altKey,ctrlKey:N.ctrlKey,metaKey:N.metaKey}),L=N=>{let _=k1(e==="region"?"rectangle":e,N.origin,N.cursor,N.modifiers);if((e==="rectangle"||e==="ellipse"||e==="region")&&!N.modifiers.ctrlKey&&!N.modifiers.metaKey){let j=S1(_,N.snap,U(),N.modifiers.shiftKey);_=j.points,m(j.guides)}else m([]);N.points=_},C=N=>{e==="arrow"&&p?.(N.clientX,N.clientY);let _=v.current;if(_?.id!==N.pointerId)return;let j=x?(N.nativeEvent.getCoalescedEvents?.()??[]).filter(q=>q.pointerId===N.pointerId):[];j.length||j.push(N.nativeEvent);let F=U();for(let q of j){let J=c(q.clientX,q.clientY),V=_.points.at(-1);if(x&&(J.pressure=q.pointerType==="pen"&&q.pressure>0?q.pressure:1),_.cursor=J,_.moved||=Math.hypot(J.x-_.origin.x,J.y-_.origin.y)*F>=3,x&&l){_.points=[_.origin,J];continue}x&&(Math.hypot(J.x-V.x,J.y-V.y)*F<.7||_.points.length>=2e4)||x&&_.points.push(J)}_.modifiers=A(N),x||L(_),w()},I=v.current?.points??[],D=I.length>1?{type:"drawing",attrs:{tool:e==="region"?"rectangle":e,points:I,color:t,fillColor:a,strokeWidth:n,pressure:o,extent:[1,1]}}:null;return(0,qe.jsx)("svg",{ref:T,className:"board-drawing-input","data-drawing-active":I.length>0,"data-board-drawing-input":!0,"aria-label":b("drawing.area"),tabIndex:0,onPointerDown:N=>{if(N.defaultPrevented||ur(N.pointerType)||N.button!==0||i.current||v.current)return;N.preventDefault(),N.stopPropagation(),N.currentTarget.focus({preventScroll:!0}),N.currentTarget.setPointerCapture(N.pointerId);let _=c(N.clientX,N.clientY);x&&(_.pressure=N.pointerType==="pen"&&N.pressure>0?N.pressure:1),v.current={id:N.pointerId,points:[_],origin:_,cursor:_,snap:x?{boxes:[],x:[],y:[]}:s(),moved:!1,modifiers:A(N)},w()},onPointerMove:C,onPointerLeave:()=>e==="arrow"&&p?.(NaN,NaN),onPointerUp:N=>{let _=v.current;if(!_||_.id!==N.pointerId)return;N.preventDefault(),N.stopPropagation();let j=c(N.clientX,N.clientY);x&&(j.pressure=_.cursor.pressure??_.points.at(-1)?.pressure??1),S(j,A(N)),e==="arrow"&&p?.(NaN,NaN)},onPointerCancel:N=>{v.current?.id===N.pointerId&&(v.current.moved?S():E())},onLostPointerCapture:N=>{v.current?.id!==N.pointerId||N.currentTarget.hasPointerCapture(N.pointerId)||(v.current.moved?S():E())},onKeyDown:N=>{N.key==="Escape"||(N.metaKey||N.ctrlKey)&&N.key.toLowerCase()==="z"&&v.current?(N.preventDefault(),N.stopPropagation(),v.current?E():u()):v.current&&["Shift","Alt","Control","Meta"].includes(N.key)&&(v.current.modifiers=A(N),!x&&v.current.points.length>1&&(L(v.current),w()))},onKeyUp:N=>{v.current&&!x&&["Shift","Alt","Control","Meta"].includes(N.key)&&(v.current.modifiers=A(N),L(v.current),w())},children:(0,qe.jsxs)("g",{transform:`translate(${r.current.x} ${r.current.y}) scale(${r.current.scale})`,children:[(0,qe.jsx)("g",{stroke:"#e06b52",strokeWidth:1,pointerEvents:"none",children:h.map((N,_)=>(0,qe.jsx)("line",{vectorEffect:"non-scaling-stroke",x1:N.axis==="x"?N.value:N.from,x2:N.axis==="x"?N.value:N.to,y1:N.axis==="y"?N.value:N.from,y2:N.axis==="y"?N.value:N.to},_))}),D&&(0,qe.jsx)("g",{style:{pointerEvents:"none"},children:(0,qe.jsx)(gS,{node:D})})]})})}function oh({node:e,first:t,last:a,frameHeight:n,editing:o,onDone:r}){let i=se(Qe),{tool:l,color:s,strokeWidth:c,extent:d,label:u="",labelSize:p=16}=e.attrs,[b,y]=(0,Tt.useState)(u),f=(0,Tt.useRef)(null),w=(0,Tt.useRef)(!1);(0,Tt.useEffect)(()=>{if(!o)return;w.current=!1,y(u);let v=f.current;v&&(v.focus({preventScroll:!0}),v.select())},[o]),(0,Tt.useLayoutEffect)(()=>{let v=f.current;v&&(v.style.height="auto",v.style.height=`${v.scrollHeight}px`)},[b,o]);let h=(v=!1)=>{if(w.current)return;w.current=!0;let T=f.current,x=v?T?.closest("[data-surface-id]"):null,E;if(T&&l!=="arrow"){let P=Hm(l,c),U=l==="ellipse"?(T.scrollHeight+P)/Math.SQRT1_2:T.scrollHeight+P*2;U>n+.5&&(E=Math.ceil(U))}r(b.trim()?b:"",E),x?.focus({preventScroll:!0})},m={color:s==="none"?void 0:s,fontSize:p,lineHeight:1.3};if(l==="arrow")Object.assign(m,{left:`${(t.x+a.x)/2/d[0]*100}%`,top:`${(t.y+a.y)/2/d[1]*100}%`});else{let v=jm(l,d[0],d[1],c);Object.assign(m,{left:`${v.x/d[0]*100}%`,top:`${v.y/d[1]*100}%`,width:`${v.width/d[0]*100}%`,height:`${v.height/d[1]*100}%`})}return(0,qe.jsx)("div",{className:"board-drawing-label","data-tool":l,"data-editing":o||void 0,style:m,children:o?(0,qe.jsx)("textarea",{ref:f,rows:1,value:b,"aria-label":i("drawing.label"),"data-surface-ui":!0,spellCheck:!1,onChange:v=>y(v.currentTarget.value),onPointerDown:v=>v.stopPropagation(),onBlur:()=>h(),onKeyDown:v=>{(v.key==="Escape"||v.key==="Enter"&&(v.metaKey||v.ctrlKey))&&(v.preventDefault(),v.stopPropagation(),h(!0))}}):(0,qe.jsx)("span",{children:u})})}function gS({node:e}){let{points:t,tool:a,color:n,fillColor:o="none",strokeWidth:r=2.5}=e.attrs,i=t[0],l=t.at(-1),s=(0,Tt.useRef)(null),c;if(a==="pen"||a==="highlighter"){(!s.current||s.current.points!==t||s.current.next>t.length-1)&&(s.current={points:t,next:1,path:`M ${i.x} ${i.y}`});let d=s.current;for(;d.next<t.length-1;){let u=t[d.next],p=t[d.next+1];d.path+=` Q ${u.x} ${u.y} ${(u.x+p.x)/2} ${(u.y+p.y)/2}`,d.next++}c=`${d.path} L ${l.x} ${l.y}`}else c=a==="arrow"?Us(i,l,r):_s(t);return(0,qe.jsx)("g",{stroke:n,strokeWidth:r,fill:a==="rectangle"||a==="ellipse"?o:"none",opacity:a==="highlighter"?.35:1,strokeLinecap:"round",strokeLinejoin:"round",children:a==="rectangle"?(0,qe.jsx)("rect",{x:Math.min(i.x,l.x),y:Math.min(i.y,l.y),width:Math.abs(l.x-i.x),height:Math.abs(l.y-i.y)}):a==="ellipse"?(0,qe.jsx)("ellipse",{cx:(i.x+l.x)/2,cy:(i.y+l.y)/2,rx:Math.abs(l.x-i.x)/2,ry:Math.abs(l.y-i.y)/2}):(0,qe.jsx)("path",{d:c})})}var Xn=Z(Me(),1);var Ut=Z(de(),1),bS=St(Qe);function Mn(e){let t=bS;return String(e.attrs?.name||e.attrs?.data?.title||{region:t("node.region"),surface:e.attrs?.kind==="board"?"Board":"Page",drawing:t("node.drawing"),richText:t("node.text"),image:t("node.image"),paragraph:t("node.text"),heading:t("node.heading"),table:t("node.table"),widget:e.attrs?.kind||t("node.component")}[e.type??""]||t("node.content"))}function hS({children:e,minHeight:t=160}){let a=(0,Xn.useRef)(null),[n,o]=(0,Xn.useState)(t);return(0,Xn.useEffect)(()=>{let r=a.current,i=()=>o(Math.max(t,...[...r.children].filter(s=>s instanceof HTMLElement&&s.hasAttribute("data-surface-id")).map(s=>s.offsetTop+s.offsetHeight+24))),l=new ResizeObserver(i);for(let s of r.children)s instanceof HTMLElement&&s.hasAttribute("data-surface-id")&&l.observe(s);return i(),()=>l.disconnect()},[e,t]),(0,Ut.jsx)("div",{className:"surface-layout-free",ref:a,style:{minHeight:n,"--free-height":`${n}px`},children:e})}var Ts=(0,Xn.memo)(function({node:t,document:a,positioned:n,renderContent:o,spatial:r=!0,renderSurface:i}){let l=(0,Xn.useContext)(Ua),{node:s,frame:c}=Jb(t,a,l.nativeScene?void 0:l.geometry),d=s.attrs.id,u=s.attrs?.nativeInk??s.attrs?.data?.nativeInk,p=!!u,b=s.type==="drawing"?s:p?{type:"drawing",attrs:{id:d,name:s.attrs.name,tool:"pen",color:"#252629",strokeWidth:2.5,extent:u.extent,points:[{x:0,y:0},{x:u.extent[0],y:u.extent[1]}],ink:u}}:void 0,y;if(s.type==="surface")y=i?.(s);else if(b)y=(0,Ut.jsx)(ah,{node:b,frame:c});else if(s.type==="region"){let f=c?.mode??"flow",w=s.content??[];if(ll(s)){let h=hm(ll(s),c);y=(0,Ut.jsx)("div",{className:"surface-layout-free ink-archive-local-space",style:{width:h.width,height:h.height,transform:`scale(${h.scaleX},${h.scaleY})`,transformOrigin:"0 0"},children:w.map(m=>(0,Ut.jsx)(Ts,{node:m,document:a,positioned:!0,spatial:r,renderContent:o,renderSurface:i},m.attrs.id))})}else if(f==="flow"){let h=[];for(let m of w)if(["region","richText","surface","drawing"].includes(m.type??""))h.push(m);else{let v=h.at(-1);Array.isArray(v)?v.push(m):h.push([m])}(!h.length||!l.readOnly&&!Array.isArray(h.at(-1)))&&h.push([]),y=(0,Ut.jsx)("div",{className:"surface-layout-flow",children:h.map((m,v)=>Array.isArray(m)?(0,Ut.jsx)("div",{children:o({content:{type:"doc",content:m},parentId:d,ids:m.map(T=>T.attrs?.id),kind:"children"})},`flow-${v}`):(0,Ut.jsx)(Ts,{node:m,document:a,positioned:!1,spatial:r,renderContent:o,renderSurface:i},m.attrs.id))})}else{let h=w.length?null:(0,Ut.jsx)(yS,{id:d}),m=w.map(v=>(0,Ut.jsx)(Ts,{node:v,document:a,positioned:r&&f==="free",spatial:r,renderContent:o,renderSurface:i},v.attrs.id));y=f==="grid"?(0,Ut.jsxs)("div",{className:"surface-layout-grid",style:{gridTemplateColumns:`repeat(${c?.columns??2}, minmax(0, 1fr))`,gap:c?.gap??24},children:[m,h]}):r?(0,Ut.jsxs)(hS,{minHeight:c?.height??200,children:[m,h]}):(0,Ut.jsx)("div",{className:"surface-layout-flow",children:m})}}else s.type==="richText"?y=o({content:{type:"doc",content:s.content??[]},componentData:s.attrs?.data,parentId:d,ids:(s.content??[]).map(f=>f.attrs?.id),kind:"children"}):y=o({content:{type:"doc",content:[s]},parentId:d,ids:[d],kind:"single"});return!n&&(s.type==="richText"||s.type==="region"&&(c?.mode??"flow")==="flow")?(0,Ut.jsx)("div",{className:"page-document-flow","data-surface-id":d,children:y}):(0,Ut.jsx)(eh,{id:d,rotatable:v1(s).rotate,resizable:!(s.type==="drawing"&&s.attrs?.tool==="arrow"),name:Mn(s),positioned:n,region:s.type==="region",archiveGroup:!!ll(s),container:s.type==="surface",drawing:s.type==="drawing"||p,component:s.type==="widget",drawingNode:b,fixedHeight:s.type==="surface"&&(Ha(s)==="board"||c?.heightMode!=="auto")||s.type==="drawing"||p||s.type==="region"&&c?.mode==="free"&&!!c.height,frame:c,children:y})},(e,t)=>{if(e.node!==t.node||e.positioned!==t.positioned||e.spatial!==t.spatial||e.renderSurface!==t.renderSurface||e.renderContent!==t.renderContent)return!1;let a=n=>e.document.layout?.[n.attrs?.id]===t.document.layout?.[n.attrs?.id]&&(n.type!=="region"||(n.content??[]).every(a));return a(t.node)});function yS({id:e}){let t=se(Qe);return(0,Xn.useContext)(Ua).readOnly?null:(0,Ut.jsx)("div",{tabIndex:0,className:"surface-empty-region","data-component-container":e,"aria-label":t("region.empty"),children:t("region.emptyHint")})}function X2({document:e,renderContent:t,spatial:a=!0,container:n=e.content,renderSurface:o}){let r=(0,Xn.useContext)(Ua);if($d(e)&&n.type==="surface"&&Ha(n)==="page"){if(!r.readOnly)return(0,Ut.jsx)("div",{className:"surface-layout-flow page-continuous-content",children:t({content:{type:"doc",content:n.content??[]},parentId:n.attrs.id,ids:(n.content??[]).map(s=>s.attrs.id),kind:"children",renderModule:s=>(0,Ut.jsx)(Ts,{node:s,document:e,positioned:!1,spatial:a,renderContent:t,renderSurface:o})})});let l=[];for(let s of n.content??[])if(["region","richText","surface","drawing"].includes(s.type??""))l.push(s);else{let c=l.at(-1);Array.isArray(c)?c.push(s):l.push([s])}return(!l.length||!r.readOnly&&!Array.isArray(l.at(-1)))&&l.push([]),(0,Ut.jsx)("div",{className:"surface-layout-flow",children:l.map((s,c)=>Array.isArray(s)?(0,Ut.jsx)("div",{children:t({content:{type:"doc",content:s},parentId:n.attrs.id,ids:s.map(d=>d.attrs.id),kind:"children"})},`flow-${c}`):(0,Ut.jsx)(Ts,{node:s,document:e,positioned:!1,spatial:a,renderContent:t,renderSurface:o},s.attrs.id))})}let i=$d(e)?D1(e,n):Rm(e);return(0,Ut.jsx)(Ut.Fragment,{children:i.map(l=>(0,Ut.jsx)(Ts,{node:l,document:e,positioned:a,spatial:a,renderContent:t,renderSurface:o},l.attrs.id))})}var Wa=Z(Me(),1),lh=Z(Ln(),1);mt(`.studio-tree-row{--row-menu-size: 28px;--row-menu-inset: 4px;position:relative}.studio-context-menu-shortcut{margin-left:auto;padding-left:16px;color:var(--muted);font-size:11px;white-space:nowrap}.studio-tree-row[data-library-draggable=true] .studio-tree-main{cursor:grab}.studio-tree-row[data-library-draggable=true]{touch-action:none}.library-drag-active,.library-drag-active *{user-select:none!important}.studio-tree-row>.studio-tree-main{padding-right:calc(var(--row-menu-size) + 2 * var(--row-menu-inset));transition:padding-right .18s cubic-bezier(.2,.7,.2,1)}.studio-tree-row[data-pinned=true]>.studio-tree-main{padding-right:var(--row-menu-inset)}.studio-tree-pin-slot{display:grid;place-items:center;flex-shrink:0;width:var(--row-menu-size);height:18px}.studio-tree-row>.studio-row-menu{position:absolute;top:50%;right:var(--row-menu-inset);width:var(--row-menu-size);margin:0;transform:translateY(-50%);z-index:1;transition:opacity .12s ease,background .1s ease}.studio-tree-row:is(:hover,:focus-within,:has(>.studio-row-menu[aria-expanded=true]))>.studio-row-menu{opacity:1;pointer-events:auto;transition-delay:40ms,0ms}.studio-tree-row[data-pinned=true]:is(:hover,:focus-within,:has(>.studio-row-menu[aria-expanded=true]))>.studio-tree-main{padding-right:calc(var(--row-menu-size) + 2 * var(--row-menu-inset))}@media(hover:none){.studio-tree-row[data-pinned=true]>.studio-tree-main{padding-right:calc(var(--row-menu-size) + 2 * var(--row-menu-inset))}.studio-tree-row>.studio-row-menu{opacity:1;pointer-events:auto}}@media(prefers-reduced-motion:reduce){.studio-tree-row>.studio-tree-main,.studio-tree-row>.studio-row-menu{transition:none}}.studio-context-menu-control{padding:8px;min-width:0}.studio-context-menu-control-label{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:13px;line-height:20px}.studio-context-menu-control-label>svg{color:var(--muted);flex-shrink:0}.library-drag-placeholder{opacity:.24;pointer-events:none;user-select:none}.library-drag-placeholder .studio-row-menu{visibility:hidden}.library-drag-ghost,.studio-page-list.library-drag-ghost{position:fixed;inset:0 auto auto 0;z-index:10000;display:block;margin:0;padding:0;border:0;pointer-events:none;opacity:.78;background:var(--paper, var(--bg));border-radius:7px;box-shadow:0 7px 20px #00000012;will-change:transform}.library-drag-ghost>:is(.studio-tree-row,.studio-page-list-row){width:100%;height:100%;box-sizing:border-box}.library-drag-ghost .studio-row-menu{visibility:hidden}.library-drag-active .studio-page-list-row{touch-action:none}.library-drag-active [data-library-id]{will-change:transform}
|
|
29
|
+
`);var oi=Z(Me(),1);var Q2=rt("sidebar",{"zh-CN":{unlockSidebar:"\u89E3\u9501\u9879\u76EE\u680F\uFF0C\u6253\u5F00\u6587\u6863\u540E\u81EA\u52A8\u6536\u8D77",lockSidebar:"\u9501\u5B9A\u9879\u76EE\u680F",collapseSidebar:"\u6536\u8D77\u9879\u76EE\u680F",expandSidebar:"\u5C55\u5F00\u9879\u76EE\u680F",projectNavigation:"\u9879\u76EE\u5BFC\u822A",closeNavigation:"\u5173\u95ED\u9879\u76EE\u5BFC\u822A",resizeSidebar:"\u8C03\u6574\u9879\u76EE\u680F\u5BBD\u5EA6",widthPixels:"{width} \u50CF\u7D20",showNavigation:"\u5C55\u5F00\u9879\u76EE\u5BFC\u822A",dragHint:"\u62D6\u52A8\u8C03\u6574\u987A\u5E8F\uFF0C\u62D6\u5230\u9879\u76EE\u6216\u6587\u4EF6\u5939\u4E2D\u79FB\u52A8\u9875\u9762",newFolder:"\u65B0\u6587\u4EF6\u5939",untitledProject:"\u672A\u547D\u540D\u9879\u76EE",collapseItem:"\u6536\u8D77{title}",expandItem:"\u5C55\u5F00{title}",pinned:"\u5DF2\u7F6E\u9876",itemActions:"{title}\u7684\u64CD\u4F5C",newProjectIn:"\u5728{name}\u4E2D\u65B0\u5EFA\u9879\u76EE",createProject:"\u65B0\u5EFA\u9879\u76EE",groupActions:"{name}\u7684\u5206\u7EC4\u64CD\u4F5C",projectListActions:"\u9879\u76EE\u5217\u8868\u64CD\u4F5C",noProjects:"\u6682\u65E0\u9879\u76EE",addContent:"\u6DFB\u52A0\u5185\u5BB9",addContentHint:"\u6DFB\u52A0\u6587\u4EF6\u5939\u3001\u9875\u9762\u6216\u767D\u677F",newProject:"\u65B0\u9879\u76EE","section.pinned":"\u7F6E\u9876","section.projects":"\u9879\u76EE","docs.title":"ShowAI \u6587\u6863","docs.welcome":"\u5F00\u59CB\u4F7F\u7528",daysAgo:"{count} \u5929\u524D",hoursAgo:"{count} \u5C0F\u65F6\u524D",minutesAgo:"{count} \u5206\u949F\u524D",justNow:"\u521A\u521A",noMatchingPages:"\u6CA1\u6709\u627E\u5230\u9875\u9762",noRecentPages:"\u6682\u65E0\u6700\u8FD1\u7F16\u8F91\u7684\u9875\u9762",recentPages:"\u6700\u8FD1\u7F16\u8F91\u7684\u9875\u9762","nav.main":"\u4E3B\u8981\u5BFC\u822A","nav.recent":"\u6700\u8FD1","nav.templates":"\u6A21\u677F","nav.components":"\u7EC4\u4EF6","nav.settings":"\u8BBE\u7F6E",tabHistory:"\u6807\u7B7E\u9875\u6D4F\u89C8\u5386\u53F2",back:"\u540E\u9000",forward:"\u524D\u8FDB",workspaceTabs:"\u5DE5\u4F5C\u533A\u6807\u7B7E\u9875",tabDragHint:"\u62D6\u52A8\u8C03\u6574\u987A\u5E8F\uFF0C\u6216\u6309 Alt+Shift+\u5DE6\u53F3\u65B9\u5411\u952E\u79FB\u52A8\u6807\u7B7E\u9875",closeTabNamed:"\u5173\u95ED\u6807\u7B7E\u9875 {title}",closeTab:"\u5173\u95ED\u6807\u7B7E\u9875",newTab:"\u65B0\u5EFA\u6807\u7B7E\u9875",newTabShortcut:"\u65B0\u5EFA\u6807\u7B7E\u9875 \xB7 \u2318T / Ctrl+T"},en:{unlockSidebar:"Unlock sidebar (hide it when a document opens)",lockSidebar:"Lock sidebar",collapseSidebar:"Collapse sidebar",expandSidebar:"Expand sidebar",projectNavigation:"Project navigation",closeNavigation:"Close project navigation",resizeSidebar:"Resize sidebar",widthPixels:"{width} pixels",showNavigation:"Show project navigation",dragHint:"Drag to reorder, or drop on a project or folder to move pages",newFolder:"New folder",untitledProject:"Untitled project",collapseItem:"Collapse {title}",expandItem:"Expand {title}",pinned:"Pinned",itemActions:"Actions for {title}",newProjectIn:"New project in {name}",createProject:"New project",groupActions:"Group actions for {name}",projectListActions:"Project list actions",noProjects:"No projects",addContent:"Add content",addContentHint:"Add a folder, page or board",newProject:"New project","section.pinned":"Pinned","section.projects":"Projects","docs.title":"ShowAI Documentation","docs.welcome":"Get started",daysAgo:{one:"{count} day ago",other:"{count} days ago"},hoursAgo:{one:"{count} hour ago",other:"{count} hours ago"},minutesAgo:{one:"{count} minute ago",other:"{count} minutes ago"},justNow:"Just now",noMatchingPages:"No pages found",noRecentPages:"No recently edited pages",recentPages:"Recently edited pages","nav.main":"Main navigation","nav.recent":"Recent","nav.templates":"Templates","nav.components":"Components","nav.settings":"Settings",tabHistory:"Tab history",back:"Back",forward:"Forward",workspaceTabs:"Workspace tabs",tabDragHint:"Drag to reorder, or press Alt+Shift+Left/Right to move this tab",closeTabNamed:"Close tab {title}",closeTab:"Close tab",newTab:"New tab",newTabShortcut:"New tab \xB7 \u2318T / Ctrl+T"}});var uM=St(Q2),vS=(0,oi.createContext)(null),rh=()=>(0,oi.useContext)(vS);var _t=Z(de(),1);function xS({target:e,active:t=!1,expanded:a=!1,onToggle:n,onOpen:o,onMenu:r}){let i=se(Q2),l=se(Ga),s=(0,Wa.useRef)(null),c=rh(),d=e.title.trim()||(e.kind==="page"?l("untitledPage"):e.kind==="folder"?i("newFolder"):i("untitledProject")),u=e.kind==="page"?yo:a?u1:V5,p=b=>{b.key!=="ContextMenu"&&!(b.shiftKey&&b.key==="F10")||(b.preventDefault(),b.stopPropagation(),s.current&&r(e,s.current))};return(0,_t.jsxs)("div",{...c?.row(e,a,n),className:`studio-tree-row${t?" active":""}`,"data-kind":e.kind,"data-library-id":e.id,"data-pinned":e.pinned||void 0,onKeyDown:p,onContextMenu:b=>{b.preventDefault(),b.stopPropagation(),s.current&&r(e,s.current,{x:b.clientX,y:b.clientY})},children:[n?(0,_t.jsx)("button",{type:"button",className:"studio-tree-chevron","aria-label":i(a?"collapseItem":"expandItem",{title:d}),"aria-expanded":a,onClick:b=>{b.stopPropagation(),n()},children:a?(0,_t.jsx)(nl,{size:13}):(0,_t.jsx)(nn,{size:13})}):(0,_t.jsx)("span",{className:"studio-tree-chevron","aria-hidden":"true"}),(0,_t.jsxs)("button",{type:"button",className:"studio-tree-main","aria-current":t?"page":void 0,title:d,onClick:b=>o(e,b),onAuxClick:b=>{b.button===1&&(b.preventDefault(),o(e,b))},children:[e.kind==="page"||e.icon?(0,_t.jsx)(jn,{value:e.icon,size:15}):(0,_t.jsx)(u,{size:15,"aria-hidden":"true"}),(0,_t.jsx)("span",{className:"studio-tree-title",children:d}),e.pinned&&(0,_t.jsx)("span",{className:"studio-tree-pin-slot",children:(0,_t.jsx)(g1,{size:11,className:"studio-tree-pin","aria-label":i("pinned"),role:"img"})})]}),(0,_t.jsx)("button",{ref:s,type:"button",className:"studio-row-menu","aria-label":i("itemActions",{title:d}),"aria-haspopup":"menu","aria-expanded":!1,onClick:b=>{b.preventDefault(),b.stopPropagation(),r(e,b.currentTarget)},children:(0,_t.jsx)(d1,{size:15,"aria-hidden":"true"})})]})}var wS=(e,t)=>e===t||e.kind===t.kind&&e.id===t.id&&e.projectId===t.projectId&&e.title===t.title&&e.icon===t.icon&&e.pinned===t.pinned&&e.parentId===t.parentId,xM=(0,Wa.memo)(xS,(e,t)=>wS(e.target,t.target)&&e.active===t.active&&e.expanded===t.expanded&&e.onToggle===t.onToggle&&e.onOpen===t.onOpen&&e.onMenu===t.onMenu);function kS({item:e}){return(0,_t.jsxs)("div",{className:"studio-context-menu-control",role:"none",children:[(0,_t.jsxs)("div",{className:"studio-context-menu-control-label",children:[e.icon,(0,_t.jsx)("span",{children:e.label})]}),e.control]})}function ih(e){return[...e.querySelectorAll('button[role="menuitem"],button[role="menuitemradio"],input[type="range"]')].filter(t=>!t.disabled)}function sh({anchor:e,portalRoot:t,point:a,label:n,items:o,onClose:r}){let i=(0,Wa.useId)(),l=(0,Wa.useRef)(null),s=(0,Wa.useRef)(r);s.current=r;let c=(0,Wa.useRef)(!0),d=(0,Wa.useRef)(!1),u=(0,Wa.useRef)({value:"",time:0}),[p,b]=(0,Wa.useState)(null);(0,Wa.useLayoutEffect)(()=>{let w=l.current,h=e.ownerDocument,m=h.defaultView;if(!w||!m||!e.isConnected){s.current();return}c.current=!0,d.current=!1;let v=e.getAttribute("aria-expanded"),T=e.getAttribute("aria-controls");e.setAttribute("aria-expanded","true"),e.setAttribute("aria-controls",i);let x=()=>{if(!e.isConnected){s.current();return}let k=e.getBoundingClientRect(),A=m.innerWidth,L=m.innerHeight;if(k.bottom<0||k.top>L||k.right<0||k.left>A){s.current();return}let C=8,I=a?0:5,D=a?{left:a.x,right:a.x,top:a.y,bottom:a.y}:k,N=Math.max(0,A-C*2),_=Math.min(w.getBoundingClientRect().width,N),j=Math.max(0,L-D.bottom-I-C),F=Math.max(0,D.top-I-C),q=w.scrollHeight,J=q>j&&F>j,V=Math.max(0,Math.min(L-C*2,J?F:j)),pe=Math.min(q,V),G=D.left;G+_>A-C&&(G=D.right-_),G=Math.max(C,Math.min(G,A-C-_));let O=Math.max(C,Math.min(J?D.top-I-pe:D.bottom+I,L-C-pe)),z={left:G,top:O,maxWidth:N,maxHeight:V};b(H=>H&&Object.keys(z).every(M=>H[M]===z[M])?H:z)},E=k=>{let A=k.target;!A||w.contains(A)||e.contains(A)||(c.current=!1,s.current())},P=k=>{let A=k.target;A&&!w.contains(A)&&!e.contains(A)&&(c.current=!1,s.current())},U=k=>{k.target instanceof Node&&w.contains(k.target)||(a?s.current():x())};x(),h.addEventListener("pointerdown",E,!0),h.addEventListener("focusin",P),m.addEventListener("resize",x),m.addEventListener("scroll",U,!0);let S=new ResizeObserver(x);return S.observe(e),S.observe(w),()=>{S.disconnect(),h.removeEventListener("pointerdown",E,!0),h.removeEventListener("focusin",P),m.removeEventListener("resize",x),m.removeEventListener("scroll",U,!0),v===null?e.removeAttribute("aria-expanded"):e.setAttribute("aria-expanded",v),T===null?e.removeAttribute("aria-controls"):e.setAttribute("aria-controls",T),c.current&&e.isConnected&&e.focus({preventScroll:!0})}},[e,a,i]),(0,Wa.useLayoutEffect)(()=>{let w=l.current;!p||!w||d.current||(d.current=!0,(ih(w)[0]??w).focus({preventScroll:!0}))},[p,e,a]);let y=w=>{let h=l.current;if(!h)return;let m=ih(h),v=e.ownerDocument,T=m.findIndex(x=>x===v.activeElement);if(["ArrowDown","ArrowUp","Home","End"].includes(w.key)){if(w.preventDefault(),w.stopPropagation(),!m.length)return;let x=w.key==="Home"?0:w.key==="End"?m.length-1:T<0?w.key==="ArrowDown"?0:m.length-1:(T+(w.key==="ArrowDown"?1:-1)+m.length)%m.length;m[x].focus();return}if(w.key==="Escape"){w.preventDefault(),w.stopPropagation(),s.current();return}if(w.key==="Tab"){w.preventDefault(),w.stopPropagation();let x=[...v.querySelectorAll('button:not(:disabled),a[href],input:not(:disabled),select:not(:disabled),textarea:not(:disabled),[tabindex],iframe,[contenteditable="true"]')].filter(U=>!h.contains(U)&&U.tabIndex>=0&&U.getClientRects().length>0&&!U.closest('[inert],[aria-hidden="true"]')),E=x.indexOf(e),P=E<0?x[w.shiftKey?x.length-1:0]:x[E+(w.shiftKey?-1:1)];c.current=!1,s.current(),queueMicrotask(()=>{P?.isConnected?P.focus({preventScroll:!0}):e.isConnected&&e.focus({preventScroll:!0})});return}if(w.key.length===1&&w.key!==" "&&!w.ctrlKey&&!w.metaKey&&!w.altKey&&!w.nativeEvent.isComposing){let x=Date.now(),E=w.key.toLocaleLowerCase();u.current={value:x-u.current.time>700?E:u.current.value+E,time:x};let U=[...m.slice(T+1),...m.slice(0,T+1)].find(S=>S.textContent?.trim().toLocaleLowerCase().startsWith(u.current.value));U&&(w.preventDefault(),U.focus())}},f={position:"fixed",left:p?.left??0,top:p?.top??0,maxWidth:p?.maxWidth??"calc(100vw - 16px)",maxHeight:p?.maxHeight??"calc(100vh - 16px)",overflowY:"auto",visibility:p?"visible":"hidden"};return(0,lh.createPortal)((0,_t.jsx)("div",{id:i,ref:l,role:"menu","aria-label":n,tabIndex:-1,className:"studio-context-menu",style:f,onKeyDown:y,onContextMenu:w=>w.preventDefault(),children:o.map((w,h)=>(0,_t.jsxs)("div",{role:"none",children:[w.separatorBefore&&h>0&&(0,_t.jsx)("div",{role:"separator",className:"studio-context-menu-separator"}),w.control?(0,_t.jsx)(kS,{item:w}):(0,_t.jsxs)("button",{type:"button",role:w.checked===void 0?"menuitem":"menuitemradio","aria-checked":w.checked,tabIndex:-1,className:`studio-context-menu-item${w.danger?" danger":""}`,disabled:w.disabled,onClick:()=>{s.current(),w.onSelect?.()},children:[w.icon&&(0,_t.jsx)("span",{className:"studio-context-menu-icon","aria-hidden":"true",children:w.icon}),(0,_t.jsx)("span",{children:w.label}),w.shortcut&&(0,_t.jsx)("span",{className:"studio-context-menu-shortcut","aria-hidden":"true",children:w.shortcut})]})]},`${h}-${w.label}`))}),t??e.ownerDocument.body)}function ch(e,t,a){let n=Gt(e.content),o=t.filter(r=>n.get(r)?.node.type==="surface"&&n.get(r)?.node.attrs?.kind==="page"&&a[r]);return Object.keys(a).filter(r=>{let i=n.get(r);if(!i||a[r].locked||t.includes(r))return!1;let l=i.node;return l.type==="drawing"||(l.attrs?.nativeInk??l.attrs?.data?.nativeInk)?o.some(s=>n.get(s)?.parent===i.parent&&w1(l,a[r],Sr(a[s]),!1)):!1})}var dh=Z(Ln(),1);var Nn=Z(Me(),1);var SS=St(Qe);function uh({document:e,geometry:t,containerId:a,world:n,camera:o,onTransform:r,onSelect:i,selected:l}){let[s,c]=(0,Nn.useState)(new Set),d=(0,Nn.useRef)({document:e,onTransform:r,onSelect:i,selected:l});d.current={document:e,onTransform:r,onSelect:i,selected:l};let u=(0,Nn.useMemo)(()=>e?Gt(e.content):new Map,[e?.content]),p=l?ws(u,e?.layout,a,l):a,b=S=>!!p&&ws(u,e?.layout,a,S)===p,y=new Set([...l&&s.has(l)?s:new Set(l?[l]:[])].filter(b)),f=(0,Nn.useRef)(y);f.current=y;let w=(0,Nn.useRef)(null),h=()=>{let S=w.current,k=S?.parentElement;if(!S||!k)return;let A=k.getBoundingClientRect(),L=n.current.closest(".page-surface"),C=k.offsetWidth?A.width/k.offsetWidth:o.current.scale*(L.getBoundingClientRect().width/L.clientWidth||1),I=[...f.current].flatMap(_=>{let j=n.current?.querySelector(`[data-surface-id="${CSS.escape(_)}"]`);return j?[(j.querySelector(":scope > .board-object-outline")??j).getBoundingClientRect()]:[]});if(!I.length)return;let D=Math.min(...I.map(_=>_.left)),N=Math.min(...I.map(_=>_.top));Object.assign(S.style,{left:`${(D-A.left)/C}px`,top:`${(N-A.top)/C}px`,width:`${(Math.max(...I.map(_=>_.right))-D)/C}px`,height:`${(Math.max(...I.map(_=>_.bottom))-N)/C}px`})},m=[...y].join(":");(0,Nn.useLayoutEffect)(()=>{if(y.size<2||!r)return;let S=n.current?.querySelector(`[data-surface-id="${CSS.escape([...y][0])}"]`);if(!S?.parentElement)return;let k=e?window.document.createElement("div"):null;if(!k)return;k.className="board-group-outline";let A=[...y].every(I=>{let D=u.get(I)?.node;return D?.type==="drawing"||!!(D?.attrs?.nativeInk??D?.attrs?.data?.nativeInk)});k.dataset.drawingSelection=String(A);let L=[...y].some(I=>n.current?.querySelector(`[data-surface-id="${CSS.escape(I)}"]`)?.dataset.boardFixedHeight==="true"),C=[...y].some(I=>e?.layout?.[I]?.locked);for(let I of C?[]:A?["nw","ne","se","sw"]:L?["nw","n","ne","e","se","s","sw","w"]:["e","w"]){let D=window.document.createElement("button");D.type="button",D.className=`board-resize-handle handle-${I}`,D.dataset.surfaceUi="true",D.dataset.surfaceHandle="true",D.dataset.resizeDirection=I,D.dataset.groupTarget=[...y][0],D.tabIndex=-1,D.setAttribute("aria-label",SS("board.groupHandles",{count:y.size})),k.append(D)}return S.parentElement.append(k),w.current=k,h(),()=>{k.remove(),w.current=null}},[m,e?.layout,r]);let v=(0,Nn.useRef)(null),T=(S,k=!1)=>{let A=k?new Set(f.current):new Set;S&&(k&&A.has(S)?A.delete(S):A.add(S)),f.current=A,c(A),i(A.has(S)?S:[...A].at(-1)??null)},x=(S,k)=>({...S,contentSize:void 0,height:k.dataset.surfaceMounted==="false"&&vo(S)||k.offsetHeight}),E=(S,k)=>{S.style.left=`${k.x}px`,S.style.top=`${k.y}px`,S.style.width=`${k.width}px`,S.dataset.boardFixedHeight==="true"&&(S.style.height=`${k.height}px`),S.style.transform=k.rotation?`rotate(${k.rotation}deg)`:""},P=()=>{let S=v.current;if(!S)return;cancelAnimationFrame(S.raf),S.guides.remove();let k=d.current.document&&(t?.materialize(d.current.document)??d.current.document);for(let A of new Set([...Object.keys(S.frames),...S.affectedArrows])){let L=S.elements.get(A),C=k?.layout?.[A];if(C&&E(L,C),S.arrows.get(A)?.node.attrs?.tool==="arrow"){let I=L.querySelector(".board-drawing path"),D=L.dataset.boardOriginalPath;I&&D!==void 0&&I.setAttribute("d",D),D!==void 0&&L.querySelector(".board-drawing-selection > g > path")?.setAttribute("d",D),delete L.dataset.boardOriginalPath}}v.current=null,t?.endGesture(),h()};(0,Nn.useEffect)(()=>()=>P(),[]);let U=()=>{let S=v.current,k=S?.input;if(!S||!k||!S.moved&&Math.hypot(k.clientX-S.start.x,k.clientY-S.start.y)<3)return;if(S.moved=!0,!S.layer.isConnected){P();return}let A=S.layer.getBoundingClientRect(),L={x:0,y:0,scale:S.scale},C=Yd(S.start,S.origin,L),I=Yd({x:k.clientX,y:k.clientY},{x:A.left,y:A.top},L),D=I.x-C.x,N=I.y-C.y,_=S.kind.startsWith("resize"),j=S.kind==="resize"?"se":S.kind.slice(7),F=Object.keys(S.frames),q=F.length===1,J=q?S.arrows.get(F[0]).node:void 0,V=q?{width:J?.type==="drawing"?1:120,height:J?.type==="surface"?180:1}:_?wm(S.bounds,F.map(ue=>({frame:S.measured[ue],minWidth:S.arrows.get(ue).node.type==="drawing"?1:120,minHeight:S.arrows.get(ue).node.type==="surface"?180:1,resizeHeight:S.elements.get(ue)?.dataset.boardFixedHeight==="true"}))):{width:1,height:1},pe=q?S.measured[F[0]]:S.bounds,G=_&&(k.shiftKey||!q&&F.some(ue=>!!S.frames[ue].rotation)),O=_&&k.altKey,z=!_&&S.kind==="move"&&k.shiftKey?Math.abs(D)>=Math.abs(N)?"x":"y":null,H=_?x1(pe,O?{x:D*2,y:N*2}:{x:D,y:N},j,V,G):{...S.bounds,x:S.bounds.x+(z==="y"?0:D),y:S.bounds.y+(z==="x"?0:N)};O&&(H={...H,x:pe.x+(pe.width-H.width)/2,y:pe.y+((pe.height??0)-(H.height??0))/2});let M=k.metaKey||k.ctrlKey||O||S.kind==="rotate"?{frame:H,guides:[]}:_?xm(H,S.snap,S.scale,j,V,G):vm(H,S.snap,S.scale);if(H=M.frame,S.kind==="move"){let ue=Xd(Object.values(S.frames),{x:H.x-S.bounds.x,y:H.y-S.bounds.y}),Se=S.bounds.x+ue.x,Re=S.bounds.y+ue.y;M.guides=M.guides.filter(Pe=>Pe.axis==="x"?Math.abs(Se-H.x)<.001:Math.abs(Re-H.y)<.001),H={...H,x:z==="y"?S.bounds.x:Se,y:z==="x"?S.bounds.y:Re}}S.guides.replaceChildren();for(let ue of M.guides){let Se=window.document.createElementNS("http://www.w3.org/2000/svg","line"),Re=ue.axis==="x";Se.setAttribute("x1",String(Re?ue.value:ue.from)),Se.setAttribute("x2",String(Re?ue.value:ue.to)),Se.setAttribute("y1",String(Re?ue.from:ue.value)),Se.setAttribute("y2",String(Re?ue.to:ue.value)),Se.setAttribute("vector-effect","non-scaling-stroke"),ue.kind==="gap"&&Se.setAttribute("stroke-dasharray","4 3"),S.guides.append(Se)}let oe=S.arrows;for(let[ue,Se]of Object.entries(S.frames)){let Re;if(S.kind==="rotate"){let Pe=S.measured[ue],Fe=A.left+(Pe.x+Pe.width/2)*S.scale,Nt=A.top+(Pe.y+(Pe.height??0)/2)*S.scale,ze=Math.atan2(k.clientY-Nt,k.clientX-Fe)-Math.atan2(S.start.y-Nt,S.start.x-Fe),Ke=(Se.rotation??0)+ze*180/Math.PI;k.shiftKey&&(Ke=Math.round(Ke/15)*15),Re=js(oe.get(ue).node,Se,{...S.measured[ue],rotation:(Ke+540)%360-180})}else if(_){let Pe=oe.get(ue).node,Fe=Pe.type==="drawing",Nt=H.width/S.bounds.width,ze=(H.height??1)/(S.bounds.height||1);Re={...Se,x:H.x+(S.measured[ue].x-S.bounds.x)*Nt,y:H.y+(S.measured[ue].y-S.bounds.y)*ze,width:Math.max(Fe?1:120,Math.min(1e4,S.measured[ue].width*Nt)),...S.elements.get(ue)?.dataset.boardFixedHeight==="true"?{height:Math.max(Pe.type==="surface"?180:1,Math.min(1e6,(S.measured[ue].height??1)*ze))}:{}},q&&(Re={...H},S.elements.get(ue)?.dataset.boardFixedHeight!=="true"&&(Re.height=Se.height,Re.y=Se.y)),Fe&&(Re=js(Pe,Se,Re))}else Re={...Se,x:Se.x+H.x-S.bounds.x,y:Se.y+H.y-S.bounds.y};S.next[ue]=Re,E(S.elements.get(ue),Re)}if(h(),!S.affectedArrows.length)return;let fe={...S.source.layout,...S.next};for(let ue of S.affectedArrows){let Se=oe.get(ue),Re=S.elements.get(ue),Pe=Re.querySelector(".board-drawing"),Fe=Pe?.querySelector("path");if(!Pe||!Fe)continue;Re.dataset.boardOriginalPath===void 0&&(Re.dataset.boardOriginalPath=Fe.getAttribute("d")??"");let[Nt,ze]=C1(Se.node,fe[ue],oe,fe).map(W=>({x:(W.x-fe[ue].x)*Se.node.attrs.extent[0]/fe[ue].width,y:(W.y-fe[ue].y)*Se.node.attrs.extent[1]/(fe[ue].height??1)})),Ke=Us(Nt,ze,Se.node.attrs.strokeWidth);Fe.setAttribute("d",Ke),Re.querySelector(".board-drawing-selection > g > path")?.setAttribute("d",Ke)}};return{ids:y,lassoHit(S){let k=n.current,A=d.current.document;if(!k||!A)return[];let L=[];for(let C of k.querySelectorAll(".surface-object[data-surface-id]")){if(C.closest(".page-surface")!==k.closest(".page-surface"))continue;let I=C.dataset.surfaceId,D=u.get(I),N=A.layout?.[I];if(!D||!N||!ws(u,A.layout,a,I))continue;let _=C.parentElement,j=_.getBoundingClientRect(),F=k.closest(".page-surface"),q=F.getBoundingClientRect().width/F.clientWidth||1,J=j.width/_.offsetWidth||o.current.scale*q,V=S.map(pe=>({x:(pe.x-j.left)/J,y:(pe.y-j.top)/J}));km(D.node,x(N,C),V,1/J)&&L.push(I)}return L},selectionHit(S,k){if(!f.current.size)return null;let A=[...f.current].flatMap(N=>{let _=n.current?.querySelector(`[data-surface-id="${CSS.escape(N)}"]`);return _?[(_.querySelector(":scope > .board-object-outline")??_).getBoundingClientRect()]:[]});if(!A.length)return null;let L=Math.min(...A.map(N=>N.left)),C=Math.max(...A.map(N=>N.right)),I=Math.min(...A.map(N=>N.top)),D=Math.max(...A.map(N=>N.bottom));return S>=L-8&&S<=C+8&&k>=I-8&&k<=D+8?[...f.current][0]:null},edgeHit(S,k){let A=this.hitTest(S,k,!1);if(!A)return null;if(A.node.type==="drawing")return A;let L=A.element.getBoundingClientRect();return Math.min(Math.abs(S-L.left),Math.abs(S-L.right),Math.abs(k-L.top),Math.abs(k-L.bottom))<=10?A:null},drawingSnapIndex(){let S=d.current.document,k=[];for(let A of n.current?.children??[]){if(!(A instanceof HTMLElement))continue;let L=A.dataset.surfaceId,C=L&&S?.layout?.[L],I=L&&u.get(L)?.node;L&&C&&I&&I.attrs?.tool!=="arrow"&&k.push({id:L,frame:sl(I,x(C,A))})}return Jd(k)},createHitTest(S=8,k="paint"){let A=n.current,L=d.current.document;if(!A||!L)return()=>null;let C=new Map,I=[],D=A.closest(".page-surface").getBoundingClientRect();for(let N of A.querySelectorAll(".surface-object[data-surface-id]")){if(N.dataset.erasing==="true"||N.closest(".page-surface")!==A.closest(".page-surface"))continue;let _=N.dataset.surfaceId,j=u.get(_),F=L.layout?.[_];if(!j||!F||!ws(u,L.layout,a,_))continue;let q=N.parentElement;if(!C.has(q)){let V=q.getBoundingClientRect();C.set(q,{left:V.left,top:V.top,scale:V.width/q.offsetWidth||o.current.scale})}let J=C.get(q);I.push({id:_,node:j.node,element:N,frame:x(F,N),box:J,labelRect:j.node.type==="drawing"&&j.node.attrs?.tool==="arrow"?N.querySelector(".board-drawing-label")?.getBoundingClientRect():void 0,tolerance:Math.max(S/J.scale,j.node.type==="drawing"?j.node.attrs.strokeWidth/2*Math.max(F.width/j.node.attrs.extent[0],vo(F)/j.node.attrs.extent[1]):0),scale:J.scale,viewport:{x:(D.left-J.left)/J.scale,y:(D.top-J.top)/J.scale,width:D.width/J.scale,height:D.height/J.scale}})}return(N,_,j=!0)=>{let F=I.filter(V=>V.element.isConnected&&V.element.dataset.erasing!=="true").map(V=>({...V,point:{x:(N-V.box.left)/V.box.scale,y:(_-V.box.top)/V.box.scale}})),q=k==="selection"?Tm(F):Cm(F,j),J;for(let V of F){if(V.node.type!=="drawing"||V.node.attrs?.tool!=="arrow")continue;let pe=V.labelRect;pe&&N>=pe.left&&N<=pe.right&&_>=pe.top&&_<=pe.bottom&&(J=V)}return!J||q&&q.element!==J.element&&J.element.compareDocumentPosition(q.element)&Node.DOCUMENT_POSITION_FOLLOWING?q:J}},selectionTarget(S,k){return this.createHitTest(8,"selection")(S,k)},hitTest(S,k,A=!0,L=8){return this.createHitTest(L)(S,k,A)},select:T,selectIds(S){let k=new Set(S);c(k),f.current=k,i([...k].at(-1)??null)},selectAll(){let S=d.current.document,k=S&&Gt(S.content).get(p??a)?.node,A=new Set((k?.content??[]).map(L=>L.attrs?.id).filter(L=>!!S?.layout?.[L]&&!S.layout[L].locked));c(A),f.current=A,i([...A].at(-1)??null)},nudge(S,k){let A=d.current.document;if(!A||!d.current.onTransform)return;let L=Object.fromEntries([...f.current].filter(I=>A.layout?.[I]&&!A.layout[I].locked).map(I=>[I,A.layout[I]])),C=Xd(Object.values(L),{x:S,y:k});!Object.keys(L).length||!C.x&&!C.y||d.current.onTransform(Object.fromEntries(Object.entries(L).map(([I,D])=>[I,{...D,x:D.x+C.x,y:D.y+C.y}])),`nudge:${Object.keys(L).sort().join(",")}`)},measured(S){let k=d.current.document,A={};for(let L of S){let C=n.current?.querySelector(`[data-surface-id="${CSS.escape(L)}"]`),I=k?.layout?.[L],D=u.get(L)?.node;C&&I&&D&&(A[L]=Sr(sl(D,x(I,C))))}return A},start(S,k,A){let L=d.current.document,C=n.current;if(!L||!C||!d.current.onTransform)return!1;let I=t?.materialize(L)??L;P();let D=Gt(I.content);if(!D.get(S)?.parent||!ws(D,I.layout,a,S))return!1;let _=C.querySelector(`[data-surface-id="${CSS.escape(S)}"]`),j=_?.parentElement;if(!j||_.closest(".page-surface")!==C.closest(".page-surface")||I.layout?.[S]?.locked)return!1;let F=k==="rotate"?new Set([S]):f.current.has(S)?f.current:new Set([S]);(!F.has(d.current.selected)||F.size!==f.current.size)&&(c(F),f.current=F,i(S));let q=new Map;for(let z of j.children)z instanceof HTMLElement&&z.dataset.surfaceId&&q.set(z.dataset.surfaceId,z);let J={},V={};for(let[z,H]of q){let M=I.layout?.[z];M&&(V[z]=sl(D.get(z).node,x(M,H)),F.has(z)&&!M.locked&&(J[z]=M))}if(k==="move")for(let z of ch(I,Object.keys(J),V))J[z]=I.layout[z];if(!J[S])return!1;let pe=y1(Object.keys(J).flatMap(z=>{let H=Sr(V[z]);return[{x:H.x,y:H.y},{x:H.x+H.width,y:H.y+H.height}]})),G=window.document.createElementNS("http://www.w3.org/2000/svg","svg");G.classList.add("board-snap-guides"),G.setAttribute("aria-hidden","true"),j.append(G),t?.beginGesture();let O=j.getBoundingClientRect();return v.current={source:I,origin:{x:O.left,y:O.top},layer:j,original:L,id:S,kind:k,start:{x:A.clientX,y:A.clientY},scale:q.get(S).getBoundingClientRect().width/Sr(x(J[S],q.get(S))).width||o.current.scale,frames:J,measured:V,next:{...J},elements:q,bounds:pe,guides:G,arrows:D,affectedArrows:[...D].filter(([z,H])=>H.node.type==="drawing"&&H.node.attrs?.tool==="arrow"&&q.has(z)&&Object.values(H.node.attrs.bindings??{}).some(M=>J[M.targetId])).map(([z])=>z),raf:0,input:null,moved:!1,snap:Jd(Object.entries(V).filter(([z])=>!J[z]&&D.get(z)?.node.attrs?.tool!=="arrow").map(([z,H])=>({id:z,frame:H})))},!0},update(S){let k=v.current;k&&(k.input=S,k.raf||(k.raf=requestAnimationFrame(()=>{k.raf=0,U()})))},finish(){let S=v.current;if(!S)return;U();let k=d.current.document,A=Gb(S.original,k,Object.keys(S.frames)),L=Object.keys(S.frames).some(I=>JSON.stringify(S.next[I])!==JSON.stringify(S.frames[I])),C=S.next;(0,dh.flushSync)(()=>{P(),A&&L&&d.current.onTransform?.(C)})},cancel:P,marquee(S,k,A,L=!1){let C=k?new Set(A??f.current):new Set;for(let I of n.current?.children??[]){if(!(I instanceof HTMLElement))continue;let D=I.dataset.surfaceId,N=D&&d.current.document?.layout?.[D];D&&N&&!N.locked&&w1(u.get(D).node,x(N,I),S,L)&&C.add(D)}C.size===f.current.size&&[...C].every(I=>f.current.has(I))||(c(C),f.current=C,i([...C].at(-1)??null))}}}var Uo=Z(Me(),1);function $2(e){let t=new Map,a=r=>{let i=t.get(r);return i||(i={style:getComputedStyle(r),rect:r.getBoundingClientRect()},t.set(r,i)),i},n=r=>/^(auto|scroll|hidden|clip)$/.test(r),o=[];for(let r of e){let{style:i}=a(r);if(i.pointerEvents==="none"||i.visibility!=="visible")continue;let l=r.closest(":popover-open,:modal");for(let s of r.getClientRects()){let c=Math.max(0,s.left),d=Math.max(0,s.top),u=Math.min(innerWidth,s.right),p=Math.min(innerHeight,s.bottom);for(let b=r===l?null:r.parentElement;b;b=b.parentElement){let y=a(b);if(n(y.style.overflowX)&&(c=Math.max(c,y.rect.left),u=Math.min(u,y.rect.right)),n(y.style.overflowY)&&(d=Math.max(d,y.rect.top),p=Math.min(p,y.rect.bottom)),u<=c||p<=d||b===l)break}u>c&&p>d&&o.push({x:c,y:d,width:u-c,height:p-d})}}return o}function uo(e,t){let a=typeof window>"u"?void 0:window.__showaiNativePerf;if(typeof a!="function")return t();let n=performance.now();try{return t()}finally{try{a(e,performance.now()-n)}catch{}}}var po=Z(Me(),1);function Xc(e,t,a){let n=new DOMMatrix;for(let r=e;r;r=r.parentElement){let i=getComputedStyle(r).transform;if(i==="none")continue;let l=new DOMMatrix(i);n=new DOMMatrix([l.a,l.b,l.c,l.d,0,0]).multiply(n)}let o=e.getBoundingClientRect();return n.e=o.left-Math.min(0,n.a*t,n.c*a,n.a*t+n.c*a),n.f=o.top-Math.min(0,n.b*t,n.d*a,n.b*t+n.d*a),n}var ed=e=>[e.a,e.b,e.c,e.d,e.e,e.f].map(t=>Math.round(t*1e6)/1e6);function ph(e,t,a){return uo("board.measureNativeBoard",()=>CS(e,t,a))}function CS(e,t,a){let n=Xc(t,t.offsetWidth,t.offsetHeight).inverse(),o=[],r=new Map,i=l=>{l.attrs?.id&&r.set(l.attrs.id,l),l.content?.forEach(i)};a&&i(a.content);for(let l of t.querySelectorAll(".surface-object[data-surface-id]")){if(l.closest(".page-surface")!==e)continue;let s=getComputedStyle(l),c=E=>{let P=parseFloat(s[E]);return s.boxSizing!=="border-box"&&(P+=E==="width"?parseFloat(s.paddingLeft)+parseFloat(s.paddingRight)+parseFloat(s.borderLeftWidth)+parseFloat(s.borderRightWidth):parseFloat(s.paddingTop)+parseFloat(s.paddingBottom)+parseFloat(s.borderTopWidth)+parseFloat(s.borderBottomWidth)),P},d=c("width"),u=c("height");if(!(d>0&&u>0))throw new Error("Native object has no committed layout: "+l.dataset.surfaceId);let b=[...l.querySelectorAll("svg[data-native-ink],svg.board-drawing")].find(E=>E.closest("[data-surface-id]")===l)?.viewBox.baseVal,y=l.dataset.surfaceId,f=r.get(y),w=f?.attrs?.inkArchiveGroup?.extent??f?.attrs?.extent??f?.attrs?.nativeInk?.extent??f?.attrs?.data?.nativeInk?.extent,h=Array.isArray(w)&&w.length===2?w:b&&b.width>0&&b.height>0?[b.width,b.height]:[d,u],m=a?.layout?.[y],v=m?.height&&l.parentElement===t,T=v?new DOMMatrix(fm({...m,height:m.height},h)):n.multiply(Xc(l,d,u)).scale(d/h[0],u/h[1]);b&&!v&&T.translateSelf(-b.x,-b.y);let x=[];for(let E=l.parentElement;E&&E!==t;E=E.parentElement){let P=getComputedStyle(E);if(![P.overflowX,P.overflowY].some(S=>S==="hidden"||S==="clip"||S==="auto"||S==="scroll"))continue;let U=E.closest("[data-surface-id]");x.push({ownerId:U?.dataset.surfaceId,matrix:ed(n.multiply(Xc(E,E.offsetWidth,E.offsetHeight))),rect:[E.clientLeft,E.clientTop,E.clientWidth,E.clientHeight]})}o.push({id:l.dataset.surfaceId,size:h,cssSize:[d,u],matrix:ed(T),clips:x})}return o}function mh(e){let t=(0,po.useRef)(e);t.current=e;let[a,n]=(0,po.useState)(null),o=(0,po.useRef)(null),r=(0,po.useRef)(0),i=(0,po.useRef)("pen");(e.tool==="pen"||e.tool==="highlighter")&&(i.current=e.tool);let l=e.enabled&&typeof window<"u"&&window.showai?.inlineInk?.nativeScene===!0;return(0,po.useEffect)(()=>{o.current?.()}),(0,po.useEffect)(()=>{let s=window.showai?.inlineInk;if(!(!l||!s||!e.document))return s.onCommand(c=>{let d=t.current;if(!(c.pageId!==d.document?.id||c.boardId!==d.boardId)){if(c.error)throw new Error(c.error);if(c.clearSelection&&d.onClearSelection(),c.selection&&d.onSelection?.(c.selection),c.layouts&&d.onLayout?.(c.layouts),c.activate&&d.onActivate?.(c.activate),c.camera){r.current=c.cameraVersion??r.current;let u=window.showaiApplyingNativeCamera;window.showaiApplyingNativeCamera=!0;try{d.onCamera(c.camera,!0)}finally{window.showaiApplyingNativeCamera=u}}if(c.primitive){let u=c.primitive;if(!["rectangle","ellipse","arrow","region"].includes(u.tool))throw new Error("Unsupported native primitive");let p=J2(u.tool,{color:d.color,fillColor:d.fillColor??"none",strokeWidth:d.width},{origin:u.start,release:u.end,points:[u.start,u.end],moved:Math.hypot(u.end.x-u.start.x,u.end.y-u.start.y)*d.camera.current.scale>=3,scale:d.camera.current.scale});p.node.attrs.id=u.id,d.onDrawing?.(p.node,p.frame)}c.tool&&d.onTool(c.tool==="toggleEraser"?d.tool==="eraser"?i.current:"eraser":c.tool==="previous"?i.current:c.tool)}})},[l,e.document?.id,e.boardId]),(0,po.useEffect)(()=>{let s=window.showai?.inlineInk,c=t.current,d=c.root.current,u=c.world.current;if(!l||!s||!d||!u||!c.document)return;let p=crypto.randomUUID(),b=!0,y=!1,f=!1,w=0,h="",m,v,T="",x,E,P=()=>{f=!0,b&&!y&&!w&&(w=requestAnimationFrame(()=>{w=0,U()}))},U=async()=>{f=!1;let C=t.current,I=C.document;if(!b||!I||uo("board.visibility",()=>!d.getClientRects().length||document.visibilityState==="hidden"))return;let D=uo("board.surfaceSize",()=>d.clientWidth+":"+d.clientHeight);(v!==I||T!==D)&&(x=ph(d,u,I),v=I,T=D);let N=uo("board.inkUIRegions",()=>$2(document.querySelectorAll("[data-surface-ui],.surface-toolbar,.studio-context-menu,.studio-modal-shade,.container-inspector,.studio-sidebar-shell:not([data-sidebar-mode=hidden]) .studio-sidebar,.studio-mobile-sidebar-edge,.studio-mobile-sidebar-scrim,.studio-mobile-navigation-tools"))),_=uo("board.surfaceStyle",()=>getComputedStyle(d)),j=uo("board.packet",()=>({token:p,pageId:I.id,boardId:C.boardId,nativeScene:!0,tool:C.tool??"select",color:C.color,fillColor:C.fillColor??"none",width:C.width,pressure:C.pressure,ruler:C.ruler,dark:document.documentElement.dataset.theme==="dark",widthPx:d.clientWidth,heightPx:d.clientHeight,viewport:uo("board.viewportMatrix",()=>ed(Xc(d,d.offsetWidth,d.offsetHeight))),camera:{...C.camera.current},cameraVersion:r.current,selection:C.selection?.()??[],holes:N,grid:d.classList.contains("has-board-grid"),background:uo("board.backgroundColor",()=>_.backgroundColor)})),F=uo("board.packetKey",()=>JSON.stringify(j));if(!(F===h&&I===m&&x===E)){y=!0;try{d.dataset.nativeInkToken=p;let q=await s.frame({...j,...x!==E?{objects:x}:{},document:I});if(!b||q===!1)return;h=F,m=I,E=x,d.dataset.nativeBoardActive="true",n(J=>J?.token===p?J:{pageId:I.id,boardId:C.boardId,token:p})}catch(q){throw d.dispatchEvent(new CustomEvent("showai:ink-error",{bubbles:!0,detail:String(q)})),q}finally{y=!1,f&&P()}}};o.current=P;let S=new MutationObserver(C=>{C.some(I=>I.target!==u&&u.contains(I.target))&&(v=void 0),C.some(I=>I.target!==u&&I.attributeName!=="data-native-board-active")&&P()});S.observe(document.documentElement,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["style","class","hidden","open","data-sidebar-mode","data-mobile-sidebar","data-theme","data-native-orientation","data-dragging"]});let k=new ResizeObserver(()=>{T="",P()});k.observe(d);let A=()=>{window.showaiApplyingNativeCamera||(r.current++,P())},L=()=>{m=void 0,v=void 0,h="",P()};return d.addEventListener("showai:viewport-change",A),d.addEventListener("showai:ink-refresh",L),window.addEventListener("resize",P),document.addEventListener("scroll",P,!0),document.addEventListener("visibilitychange",P),P(),()=>{b=!1,n(C=>C?.token===p?null:C),o.current===P&&(o.current=null),cancelAnimationFrame(w),S.disconnect(),k.disconnect(),d.removeEventListener("showai:viewport-change",A),d.removeEventListener("showai:ink-refresh",L),window.removeEventListener("resize",P),document.removeEventListener("scroll",P,!0),document.removeEventListener("visibilitychange",P),s.hide(c.document.id,c.boardId,p).finally(()=>{d.dataset.nativeInkToken===p&&(delete d.dataset.nativeBoardActive,delete d.dataset.nativeInkToken)})}},[l,e.document?.id,e.boardId,e.root,e.world]),l&&!!a&&a.pageId===e.document?.id&&a.boardId===e.boardId}function td(e,t,a){let n=new DOMMatrix;for(let r=e;r;r=r.parentElement){let i=getComputedStyle(r).transform;if(i==="none")continue;let l=new DOMMatrix(i);n=new DOMMatrix([l.a,l.b,l.c,l.d,0,0]).multiply(n)}let o=e.getBoundingClientRect();return n.e=o.left-Math.min(0,n.a*t,n.c*a,n.a*t+n.c*a),n.f=o.top-Math.min(0,n.b*t,n.d*a,n.b*t+n.d*a),n}function TS(e){let t=getComputedStyle(e),a=e.viewBox.baseVal,n=parseFloat(t.width),o=parseFloat(t.height);if(n>0&&o>0&&a.width>0&&a.height>0)return td(e,n,o).scale(n/a.width,o/a.height).translate(-a.x,-a.y)}var x4=e=>[e.a,e.b,e.c,e.d,e.e,e.f].map(t=>Math.round(t*1e6)/1e6);function fh({root:e,world:t,camera:a,document:n,boardId:o,tool:r,color:i,width:l,pressure:s,ruler:c,enabled:d,onCamera:u,onTool:p,onShapeGesture:b,onClearSelection:y,selection:f,onSelection:w,onLayout:h,onDrawing:m,onActivate:v,fillColor:T}){let x=mh({root:e,world:t,camera:a,document:n,boardId:o,tool:r,color:i,width:l,pressure:s,ruler:c,enabled:d,onCamera:u,onTool:p,onClearSelection:y,selection:f,onSelection:w,onLayout:h,onDrawing:m,onActivate:v,fillColor:T}),E=d&&(typeof window>"u"||window.showai?.inlineInk?.nativeScene!==!0),P=(0,Uo.useRef)({source:n,color:i,width:l,pressure:s,ruler:c,onCamera:u,onTool:p,onShapeGesture:b,onClearSelection:y,tool:r}),U=(0,Uo.useRef)(0),S=(0,Uo.useRef)("pen"),k=(0,Uo.useRef)(null),A=(0,Uo.useRef)(!1),L=r==="pen"||r==="highlighter"||r==="eraser";return(r==="pen"||r==="highlighter")&&(S.current=r),P.current={source:n,color:i,width:l,pressure:s,ruler:c,onCamera:u,onTool:p,onShapeGesture:b,onClearSelection:y,tool:r},(0,Uo.useEffect)(()=>{let C=window.showai?.inlineInk;if(!(!C||!E||!n))return C.onCommand(I=>{I.pageId!==n.id||I.boardId!==o||(I.clearSelection&&P.current.onClearSelection(),I.shapeGesture&&P.current.onShapeGesture(I.shapeGesture),I.camera&&(A.current=!!I.navigating,U.current=I.cameraVersion??U.current,P.current.onCamera(I.camera,!I.navigating),I.navigating||k.current?.()),I.tool&&P.current.onTool(I.tool==="toggleEraser"?P.current.tool==="eraser"?S.current:"eraser":I.tool==="previous"?S.current:I.tool))})},[E,n?.id,o]),(0,Uo.useEffect)(()=>{k.current?.()},[n,i,l,s,c,r]),(0,Uo.useEffect)(()=>{let C=window.showai?.inlineInk;if(!C||!E||!n||!L||!e.current||!t.current)return;let I=crypto.randomUUID(),D=e.current,N=t.current,_=!0,j=!1,F=!1,q="",J,V=0,pe,G="",O={},z,H=!1,M=0,oe=()=>{H=!0,!(!_||F||V||j)&&(V=requestAnimationFrame(()=>{V=0,ue()}))};k.current=oe;let fe=()=>{q="",J=void 0,z=void 0,oe()};D.addEventListener("showai:ink-refresh",fe);let ue=async()=>{if(!_||F||(H=!1,j||!D.getClientRects().length||document.visibilityState==="hidden"))return;let ze=P.current.source;if(!ze)return;let Ke=td(D,D.offsetWidth,D.offsetHeight),W=td(N,N.offsetWidth,N.offsetHeight),ye=D.clientWidth+":"+D.clientHeight;if(pe!==ze||G!==ye){let it=W.inverse(),Ge={},le=at(ze,o)?.node,De=new Map([...N.querySelectorAll("[data-native-ink]")].map(be=>[be.closest("[data-surface-id]")?.dataset.surfaceId,be]));for(let be of H6(le??{content:[]})){let me=De.get(be.attrs.id),Be=me&&TS(me);if(!Be)return;let et=ze.layout?.[be.attrs.id],ae=me.closest(".surface-object");if(et?.height&&ae?.parentElement===N){let te=be.attrs.extent??be.attrs.nativeInk?.extent??be.attrs.data?.nativeInk?.extent,Y=(et.rotation??0)*Math.PI/180,Ce=Math.cos(Y),tt=Math.sin(Y),ut=et.width,Zt=et.height;Ge[be.attrs.id]=[Ce*ut/te[0],tt*ut/te[0],-tt*Zt/te[1],Ce*Zt/te[1],et.x+ut/2-Ce*ut/2+tt*Zt/2,et.y+Zt/2-tt*ut/2-Ce*Zt/2]}else Ge[be.attrs.id]=x4(it.multiply(Be))}O=Ge,pe=ze,G=ye}let he=$2(document.querySelectorAll("[data-surface-ui],.surface-toolbar,.studio-context-menu,.studio-modal-shade,.container-inspector,.studio-sidebar-shell:not([data-sidebar-mode=hidden]) .studio-sidebar,.studio-mobile-sidebar-edge,.studio-mobile-sidebar-scrim,.studio-mobile-navigation-tools")),Ne={token:I,pageId:ze.id,boardId:o,tool:P.current.tool,color:P.current.color,width:P.current.width,pressure:P.current.pressure,ruler:P.current.ruler,dark:document.documentElement.dataset.theme==="dark",widthPx:D.clientWidth,heightPx:D.clientHeight,viewport:x4(Ke),camera:{...a.current},cameraVersion:U.current,holes:he,shapes:[...N.querySelectorAll('[data-board-shape="true"]')].filter(it=>it.closest(".page-surface")===D&&it.getClientRects().length).map(it=>{let Ge=it.getBoundingClientRect();return{id:it.dataset.surfaceId,x:Ge.x-8,y:Ge.y-8,width:Ge.width+16,height:Ge.height+16}})},We=JSON.stringify(Ne);if(We===q&&ze===J){M&&oe();return}j=!0;try{if(D.dataset.nativeInkToken!==I&&(D.dataset.nativeInkToken=I),await C.frame({...Ne,...z!==O?{poses:O}:{},document:ze})===!1)return;q=We,J=ze,z=O,_&&(D.dataset.nativeInkToken!==I&&(D.dataset.nativeInkToken=I),D.dataset.nativeInkActive!=="true"&&(D.dataset.nativeInkActive="true"))}catch(it){throw F=!0,it}finally{j=!1,(H||M)&&oe()}},Se=new MutationObserver(ze=>{ze.some(Ke=>!(A.current&&(Ke.target===N||Ke.target===D||Ke.target instanceof Element&&Ke.target.classList.contains("surface-grid"))&&Ke.attributeName==="style"))&&oe()});Se.observe(document.documentElement,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["style","class","hidden","open","data-sidebar-mode","data-mobile-sidebar","data-theme","data-native-orientation","data-dragging"]});let Re=new ResizeObserver(oe);Re.observe(D);let Pe=()=>{if(!A.current){if(U.current++,C.viewport&&D.dataset.nativeInkActive==="true"){let ze=td(D,D.clientWidth,D.clientHeight);C.viewport({token:I,pageId:n.id,boardId:o,widthPx:D.clientWidth,heightPx:D.clientHeight,viewport:x4(ze),camera:{...a.current},cameraVersion:U.current}).catch(Ke=>{F=!0,console.error("Native ink viewport:",Ke),D.dispatchEvent(new CustomEvent("showai:ink-error",{bubbles:!0,detail:String(Ke)}))})}oe()}},Fe=ze=>{ze.target instanceof Element&&!N.contains(ze.target)&&(M++,oe())},Nt=ze=>{ze.target instanceof Element&&!N.contains(ze.target)&&(M=Math.max(0,M-1),oe())};return D.addEventListener("showai:viewport-change",Pe),document.addEventListener("visibilitychange",oe),document.addEventListener("transitionrun",Fe,!0),document.addEventListener("transitionend",Nt,!0),document.addEventListener("transitioncancel",Nt,!0),document.addEventListener("scroll",oe,!0),window.addEventListener("resize",oe),oe(),()=>{_=!1,D.removeEventListener("showai:ink-refresh",fe),k.current===oe&&(k.current=null),cancelAnimationFrame(V),Se.disconnect(),Re.disconnect(),D.removeEventListener("showai:viewport-change",Pe),document.removeEventListener("visibilitychange",oe),document.removeEventListener("transitionrun",Fe,!0),document.removeEventListener("transitionend",Nt,!0),document.removeEventListener("transitioncancel",Nt,!0),document.removeEventListener("scroll",oe,!0),window.removeEventListener("resize",oe),C.hide(n.id,o,I).finally(()=>{D.dataset.nativeInkToken===I&&(delete D.dataset.nativeInkActive,delete D.dataset.nativeInkToken)})}},[E,n?.id,o,L,e,t,a]),x}var _o=Z(Me(),1),gh=Z(Ln(),1);var Qc=Z(de(),1);function bh({tool:e,size:t,board:a,onDelete:n,onExit:o}){let r=se(Qe),[i,l]=(0,_o.useState)([]),s=(0,_o.useRef)(null),c=(0,_o.useRef)(null),d=(0,_o.useRef)(0),u=x=>{c.current=x,!d.current&&(d.current=requestAnimationFrame(()=>{d.current=0;let E=s.current,P=c.current;if(!E)return;let U=P?"":"none";if(E.style.display!==U&&(E.style.display=U),P){let S=b(P);E.setAttribute("cx",String(S.x)),E.setAttribute("cy",String(S.y))}}))},p=(0,_o.useRef)(null),b=x=>{let E=p.current?.getScreenCTM();return E?new DOMPoint(x.x,x.y).matrixTransform(E.inverse()):x},y=(0,_o.useRef)(null),f=x=>x.type==="drawing"||!!(x.attrs?.nativeInk??x.attrs?.data?.nativeInk),w=x=>{for(let E of x.hidden)delete E.dataset.erasing},h=()=>{let x=y.current;y.current=null,x&&w(x),l([]),x&&p.current?.hasPointerCapture(x.id)&&p.current.releasePointerCapture(x.id)};(0,_o.useEffect)(()=>{let x=p.current?.closest(".page-surface");return x?.addEventListener("showai-board-pinch",h),x?.addEventListener("showai:viewport-change",h),window.addEventListener("blur",h),()=>{cancelAnimationFrame(d.current),x?.removeEventListener("showai-board-pinch",h),x?.removeEventListener("showai:viewport-change",h),window.removeEventListener("blur",h);let E=y.current;E&&w(E)}},[]);let m=x=>{let E=y.current,P=E?.hitTest(x.x,x.y,!1);E&&P&&f(P.node)&&!P.element.classList.contains("is-locked")&&(E.erased.add(P.id),E.hidden.add(P.element),P.element.dataset.erasing="true")},v=x=>{let E=y.current;if(E){if(e==="eraser"){let P=Math.ceil(Math.hypot(x.x-E.last.x,x.y-E.last.y)/4);for(let U=0;U<=P;U++)m({x:E.last.x+(x.x-E.last.x)*U/(P||1),y:E.last.y+(x.y-E.last.y)*U/(P||1)})}else Math.hypot(x.x-E.last.x,x.y-E.last.y)>=2&&(E.points.push(x),l([...E.points]));E.last=x}},T=()=>{let x=y.current;if(x){if(y.current=null,l([]),e==="eraser"){x.erased.size&&(0,gh.flushSync)(()=>{a.selectIds([...a.ids].filter(E=>!x.erased.has(E))),n([...x.erased])}),w(x);return}x.points.length>=2&&a.selectIds(a.lassoHit(x.points))}};return(0,Qc.jsxs)("svg",{ref:p,className:"board-drawing-input","data-board-drawing-input":!0,"data-drawing-active":!!y.current,"aria-label":r(e==="eraser"?"tool.eraser":"tool.lasso"),tabIndex:0,onPointerDown:x=>{if(x.defaultPrevented||x.button!==0||ur(x.pointerType)||y.current)return;let E=a.hitTest(x.clientX,x.clientY);if(e==="lasso"&&(a.selectionHit(x.clientX,x.clientY)||E&&a.ids.has(E.id)))return;x.preventDefault(),x.stopPropagation(),x.currentTarget.focus({preventScroll:!0}),x.currentTarget.setPointerCapture(x.pointerId);let P={x:x.clientX,y:x.clientY};y.current={id:x.pointerId,hitTest:a.createHitTest(t/2),points:[P],erased:new Set,hidden:new Set,pointerType:x.pointerType,last:P},e==="eraser"?m(P):l([P])},onPointerMove:x=>{e==="eraser"&&u({x:x.clientX,y:x.clientY}),y.current?.id===x.pointerId&&(x.preventDefault(),v({x:x.clientX,y:x.clientY}))},onPointerUp:x=>{y.current?.id===x.pointerId&&(x.preventDefault(),v({x:x.clientX,y:x.clientY}),T())},onPointerCancel:h,onLostPointerCapture:h,onPointerLeave:()=>{y.current||u(null)},onKeyDown:x=>{x.key==="Escape"&&(x.preventDefault(),x.stopPropagation(),h(),o())},children:[e==="eraser"&&(0,Qc.jsx)("circle",{ref:s,className:"board-eraser-cursor",style:{display:"none"},r:t/2}),i.length>1&&(0,Qc.jsx)("path",{d:i.map((x,E)=>`${E?"L":"M"}${b(x).x},${b(x).y}`).join(" ")+" Z",fill:"#7194ff18",stroke:"#7194ff",strokeDasharray:"4 3"})]})}var w4=[{tool:null,label:"tool.select",key:"1",aliases:["v"]},{tool:"pen",label:"tool.pen",key:"2",aliases:["p"]},{tool:"highlighter",label:"tool.highlighter",key:"3",aliases:["h"]},{tool:"rectangle",label:"tool.rectangle",key:"4",aliases:["r"]},{tool:"ellipse",label:"tool.ellipse",key:"5",aliases:["e","o"]},{tool:"arrow",label:"tool.arrow",key:"6",aliases:["a"]},{tool:"pan",label:"tool.pan",key:"8",aliases:["m"]},{tool:"eraser",label:"tool.eraser",key:"9",aliases:["x"]},{tool:"lasso",label:"tool.lasso",key:"L",aliases:["l"]},{tool:"text",label:"tool.text",key:"T",aliases:["t"]}];function hh(e){let t=e.toLowerCase();return w4.find(a=>a.key===e||a.aliases.includes(t))}var Th=Z(Me(),1);var ra=Z(Me(),1),z4=Z(Ln(),1);var k4=["bottom","top","left","right"],Zo=(e,t,a)=>Math.max(t,Math.min(a,e));function S4(e){let[t,a,n,o]=(e??"").split(":"),r=Number(a);return k4.includes(t)&&a&&Number.isFinite(r)?{edge:t,position:Zo(r,0,1),...n&&o&&[Number(n),Number(o)].every(Number.isFinite)?{floating:{x:Zo(Number(n),0,1),y:Zo(Number(o),0,1)}}:{}}:{edge:"bottom",position:.5}}function zS(e,t){let a={top:e.y,bottom:t.height-e.y,left:e.x,right:t.width-e.x},n=k4.reduce((r,i)=>a[i]<a[r]?i:r);return{edge:n,position:Zo(n==="top"||n==="bottom"?e.x/Math.max(1,t.width):e.y/Math.max(1,t.height),0,1)}}function Es(e,t,a,n=0){if(t={...t,height:Math.max(1,t.height-n)},e.floating)return C4({x:e.floating.x*t.width,y:e.floating.y*t.height},t,a);let o=e.edge==="top"||e.edge==="bottom",r=Math.min(t.width/2,a.width/2+12),i=Math.min(t.height/2,a.height/2+12);return{x:o?Zo(t.width*e.position,r,t.width-r):e.edge==="left"?r:t.width-r,y:o?e.edge==="top"?i:t.height-i:Zo(t.height*e.position,i,t.height-i)}}function C4(e,t,a){let n=Math.min(t.width/2,a.width/2+12),o=Math.min(t.height/2,a.height/2+12);return{x:Zo(e.x,n,t.width-n),y:Zo(e.y,o,t.height-o)}}function yh(e,t,a=null,n=44){let o={top:e.y,bottom:t.height-e.y,left:e.x,right:t.width-e.x},r=zS(e,t),i=a&&o[a]<=n*1.4?a:r.edge;return o[i]<=n*(i===a?1.4:1)?{...r,edge:i,position:Zo(i==="top"||i==="bottom"?e.x/Math.max(1,t.width):e.y/Math.max(1,t.height),0,1)}:null}function T4(e,t,a,n){let o={x:e.x-t.width/2,y:e.y-t.height/2,...t};return n&&(a==="top"||a==="bottom"?(a==="bottom"&&(o.y-=t.height),o.height+=t.height):(a==="right"&&(o.x-=t.width),o.width+=t.width)),o}function zs(e,t,a){return{left:e.x,right:t.width-e.x-e.width,top:e.y,bottom:t.height-e.y-e.height}[a]}function vh(e,t,a=96){let n=k4.reduce((o,r)=>zs(e,t,r)<zs(e,t,o)?r:o);return zs(e,t,n)>a?null:{edge:n,position:Zo(n==="top"||n==="bottom"?(e.x+e.width/2)/Math.max(1,t.width):(e.y+e.height/2)/Math.max(1,t.height),0,1)}}mt(`.surface-toolbar.board-dockable-toolbar{bottom:auto;transform:translate(-50%,-50%);display:block;padding:0;border:0;background:none;box-shadow:none;max-height:none;overflow:visible}.board-toolbar-primary,.board-toolbar-properties,.board-toolbar-actions{display:flex;align-items:center;gap:2px;padding:5px;border:1px solid var(--line, var(--border));border-radius:12px;background:var(--paper, var(--bg));box-shadow:0 4px 20px #0000000a}.board-toolbar-primary{width:max-content;max-width:calc(var(--board-toolbar-width, 100dvw) - 24px);flex-wrap:nowrap}.board-view-controls{display:flex;align-items:center;flex-wrap:wrap;gap:2px;border-bottom:1px solid var(--line, var(--border));padding-bottom:8px;margin-bottom:8px}.board-toolbar-primary>.surface-extra-actions>.surface-toolbar-divider{display:none}.board-dockable-toolbar:is([data-dock=left],[data-dock=right],[data-dock=top]) .board-tool-shortcuts{display:none}.board-dockable-toolbar[data-dock=bottom] .board-tool-shortcuts{bottom:calc(100% + 5px)}.board-toolbar-properties .board-style-section>button{min-height:24px;height:24px;padding:2px 4px}.board-toolbar-primary>.surface-extra-actions{min-width:0}.board-toolbar-primary .board-tool-stack{--board-tool-width: clamp( 24px, calc( (var(--board-toolbar-width, 100dvw) - 90px) / var(--board-tool-count, 11) - 2px ), 34px )}.board-toolbar-properties{position:absolute;top:calc(100% + 8px);left:0;width:100%;max-height:calc(var(--board-properties-reserve) - 8px);box-sizing:border-box;justify-content:center}.board-toolbar-properties:empty{display:none}.board-toolbar-actions{position:absolute;left:0;bottom:calc(100% + 8px);width:max-content;max-width:calc(var(--board-toolbar-width, 100dvw) - 24px);flex-wrap:wrap}.board-toolbar-actions:not(:has(button,summary,[role=status],>.board-component-actions:not(:empty))){display:none}.board-dockable-toolbar[data-dragging]{opacity:.85;user-select:none}.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-toolbar-primary{flex-direction:column;width:54px;max-width:54px;box-sizing:border-box;max-height:calc(var(--board-toolbar-height, 100dvh) - var(--board-properties-reserve) - 24px);padding-inline:4px}.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-tool-stack{flex:0 1 auto;min-height:72px;width:auto;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;--board-tool-width: 34px}.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-tool-buttons{grid-template-columns:var(--board-tool-width)}.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-tool-buttons button{width:var(--board-tool-width)}.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-toolbar-properties{width:54px;justify-content:start;flex-direction:column}.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-toolbar-actions{top:0;bottom:auto;width:54px;box-sizing:border-box;flex-direction:column;flex-wrap:nowrap;max-height:calc(var(--board-toolbar-height, 100dvh) - 24px);overflow-y:auto}.board-dockable-toolbar[data-dock=left] .board-toolbar-actions{left:calc(100% + 8px)}.board-dockable-toolbar[data-dock=right] .board-toolbar-actions{left:auto;right:calc(100% + 8px)}.board-dockable-toolbar[data-dock=top] .board-toolbar-actions{bottom:auto;top:calc(100% + 8px)}.board-dockable-toolbar[data-dock=top]:has(.board-toolbar-actions button,.board-toolbar-actions summary,.board-toolbar-actions [role=status],.board-toolbar-actions>.board-component-actions:not(:empty)) .board-toolbar-properties{top:calc(100% + 56px)}.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) :is(.board-style-controls,.board-writing-options){flex-shrink:0;flex-direction:column;gap:4px;margin:0;padding:0}.surface-toolbar.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-stroke-slider{width:36px;height:84px}.surface-toolbar.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) :is(.board-stroke-track,.board-stroke-slider input[type=range],.board-stroke-value-rail){position:absolute;width:80px;height:24px;inset:50% auto auto 50%;transform:translate(-50%,-50%) rotate(-90deg)}.surface-toolbar.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-stroke-slider input{cursor:ns-resize}.surface-toolbar.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-stroke-value-rail output{transform:translate(-50%) rotate(90deg)}.surface-toolbar.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .surface-toolbar-divider{height:1px;width:24px}.surface-toolbar.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-tool-shortcuts{display:none}.surface-toolbar.board-dockable-toolbar[data-dock=top] :is(.surface-navigation,.surface-add-menu,.board-writing-options details[open]>div,.board-component-settings){bottom:auto;top:calc(100% + 12px)}.surface-toolbar.board-dockable-toolbar[data-dock=left] :is(.surface-navigation,.surface-add-menu,.board-writing-options details[open]>div,.board-component-settings){bottom:auto;top:0;right:auto;left:calc(100% + 12px)}.surface-toolbar.board-dockable-toolbar[data-dock=right] :is(.surface-navigation,.surface-add-menu,.board-writing-options details[open]>div,.board-component-settings){bottom:auto;top:0;left:auto;right:calc(100% + 12px)}.surface-toolbar.board-dockable-toolbar[data-dock=top] .board-align-options{bottom:auto;top:calc(100% + 12px)}.surface-toolbar.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-align-options{bottom:auto;top:0;transform:none}.surface-toolbar.board-dockable-toolbar[data-dock=left] .board-align-options{left:calc(100% + 12px)}.surface-toolbar.board-dockable-toolbar[data-dock=right] .board-align-options{left:auto;right:calc(100% + 12px)}.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-style-section{flex-direction:column;gap:4px;font-size:11px}.surface-toolbar.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-toolbar-properties .board-stroke-slider{height:56px}.surface-toolbar.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-toolbar-properties :is(.board-stroke-track,.board-stroke-slider input[type=range],.board-stroke-value-rail){width:52px}.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-style-section+.board-style-section{border-inline-start:0;border-top:1px solid var(--line, var(--border));padding-inline-start:0;padding-top:6px;width:36px}.board-dockable-toolbar:is([data-dock=left],[data-dock=right]):has(.board-pressure-toggle){--toolbar-reserve: 320px}.board-dockable-toolbar[data-dock=top] .board-color-menu{bottom:auto;top:calc(100% + 12px)}.board-dockable-toolbar[data-dock=left] .board-color-menu{bottom:auto;top:0;right:auto;left:calc(100% + 12px)}.board-dockable-toolbar[data-dock=right] .board-color-menu{bottom:auto;top:0;left:auto;right:calc(100% + 12px)}.board-toolbar-inline-properties{display:flex;align-items:center;border-inline-start:1px solid var(--line, var(--border));margin-left:4px;min-width:0}.board-toolbar-inline-properties .board-style-controls{gap:6px}.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-toolbar-inline-properties{flex-direction:column;border-inline-start:0;border-top:1px solid var(--line, var(--border));margin:4px 0 0}.board-toolbar-primary{overflow:visible}@media(max-width:800px){.board-toolbar-inline-properties .board-style-section{font-size:10px;gap:3px}.board-toolbar-inline-properties .board-stroke-slider{width:64px}}.board-dockable-toolbar[data-mobile] .board-tool-shortcuts{display:none}.board-toolbar-primary{touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;cursor:grab}.board-dockable-toolbar[data-dragging] .board-toolbar-primary{cursor:grabbing}.board-dockable-toolbar[data-mobile] .board-toolbar-primary .board-tool-stack{--board-tool-width: clamp( 36px, calc( (var(--board-toolbar-width) - 44px) / var(--board-tool-count, 8) - 2px ), 44px )}.board-dockable-toolbar[data-mobile] .board-toolbar-secondary{position:absolute;bottom:100%;left:0;display:flex;align-items:center;gap:4px;width:100%;height:100%;box-sizing:border-box;padding:5px;border:1px solid var(--line, var(--border));border-radius:12px 12px 0 0;border-width:1px 1px 0;background:var(--paper, var(--bg));box-shadow:none;overflow:auto;overscroll-behavior:contain;scrollbar-width:none}.board-dockable-toolbar[data-mobile] .board-toolbar-secondary:not(:has(button,summary,input,select,[role=status])){display:none}.board-dockable-toolbar[data-mobile] :is(.board-toolbar-settings,.board-toolbar-secondary .board-toolbar-actions){display:flex;align-items:center;flex:0 0 auto;flex-wrap:nowrap;position:static;width:auto;max-width:none;max-height:none;padding:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible;gap:4px}.board-dockable-toolbar[data-mobile] .board-toolbar-secondary .board-toolbar-actions:not(:has(button,summary,[role=status],>.board-component-actions:not(:empty))){display:none}.board-dockable-toolbar[data-mobile] .board-toolbar-secondary button{flex-shrink:0}.board-dockable-toolbar[data-mobile][data-dock=top] .board-toolbar-secondary{top:100%;bottom:auto}.board-dockable-toolbar[data-mobile]:is([data-dock=left],[data-dock=right]) .board-toolbar-secondary{top:0;bottom:auto;flex-direction:column}.board-dockable-toolbar[data-mobile][data-dock=left] .board-toolbar-secondary{left:100%}.board-dockable-toolbar[data-mobile][data-dock=right] .board-toolbar-secondary{left:auto;right:100%}.board-dockable-toolbar[data-mobile]:is([data-dock=left],[data-dock=right]) :is(.board-toolbar-settings,.board-toolbar-secondary .board-toolbar-actions){flex-direction:column}.board-toolbar-primary :is(.board-tool-stack,.board-tool-buttons,button,summary){touch-action:none}.board-dockable-toolbar[data-mobile] .board-toolbar-primary{box-shadow:none}.board-dockable-toolbar[data-mobile]:has(>.board-toolbar-secondary :is(button,summary,input,select,[role=status])) .board-toolbar-primary{border-radius:0 0 12px 12px}.board-dockable-toolbar[data-mobile][data-dock=top]:has(>.board-toolbar-secondary :is(button,summary,input,select,[role=status])) .board-toolbar-primary{border-radius:12px 12px 0 0}.board-dockable-toolbar[data-mobile][data-dock=top] .board-toolbar-secondary{border-width:0 1px 1px;border-radius:0 0 12px 12px}.board-dockable-toolbar[data-mobile][data-dock=left]:has(>.board-toolbar-secondary :is(button,summary,input,select,[role=status])) .board-toolbar-primary{border-radius:12px 0 0 12px}.board-dockable-toolbar[data-mobile][data-dock=left] .board-toolbar-secondary{border-width:1px 1px 1px 0;border-radius:0 12px 12px 0}.board-dockable-toolbar[data-mobile][data-dock=right]:has(>.board-toolbar-secondary :is(button,summary,input,select,[role=status])) .board-toolbar-primary{border-radius:0 12px 12px 0}.board-dockable-toolbar[data-mobile][data-dock=right] .board-toolbar-secondary{border-width:1px 0 1px 1px;border-radius:12px 0 0 12px}.board-dockable-toolbar[data-mobile] .board-toolbar-secondary{justify-content:space-evenly}.board-dockable-toolbar[data-mobile] .board-toolbar-secondary :is(.board-toolbar-settings,.board-style-controls,.board-toolbar-actions){display:contents}.board-dockable-toolbar[data-mobile] .board-toolbar-secondary :is(.board-toolbar-settings,.board-toolbar-actions):empty{display:none}.board-dockable-toolbar[data-mobile] .board-ruler-controls{border-inline-start:1px solid var(--line, var(--border));padding-inline-start:8px}.board-dockable-toolbar[data-mobile]:is([data-dock=left],[data-dock=right]) .board-ruler-controls{border-inline-start:0;border-top:1px solid var(--line, var(--border));padding-inline-start:0;padding-top:6px;width:36px}
|
|
30
|
+
`);function xh(e){let t=null,a=()=>{if(!t)return;let{details:s,popup:c,style:d}=t;t=null,c.matches(":popover-open")&&c.hidePopover(),c.removeAttribute("popover"),d===null?c.removeAttribute("style"):c.setAttribute("style",d),s.open=!1},n=()=>{if(!t)return;let{details:s,popup:c}=t;if(!s.isConnected){a();return}let d=s.querySelector("summary").getBoundingClientRect(),u=c.getBoundingClientRect(),p=e.dataset.dock,b=d.left,y=d.top-u.height-10;p==="top"&&(y=d.bottom+10),p==="left"&&(b=d.right+10,y=d.top),p==="right"&&(b=d.left-u.width-10,y=d.top),c.style.left=`${Math.max(8,Math.min(b,innerWidth-u.width-8))}px`,c.style.top=`${Math.max(8,Math.min(y,innerHeight-u.height-8))}px`},o=s=>{let c=s.target;if(!(c instanceof HTMLDetailsElement)||!c.closest(".board-toolbar-secondary"))return;if(!c.open){t?.details===c&&a();return}if(t?.details===c)return;let d=c.querySelector(":scope > div");d&&(a(),t={details:c,popup:d,style:d.getAttribute("style")},d.setAttribute("popover","manual"),Object.assign(d.style,{position:"fixed",inset:"auto",margin:"0",transform:"none",maxWidth:"calc(100vw - 16px)",maxHeight:"calc(100dvh - 16px)",overflow:"auto"}),d.showPopover(),n())},r=s=>{t&&!t.details.contains(s.target)&&a()},i=s=>{if(s.key!=="Escape"||!t)return;let c=t.details.querySelector("summary");a(),c?.focus(),s.stopPropagation(),s.preventDefault()};e.addEventListener("toggle",o,!0),document.addEventListener("pointerdown",r,!0),document.addEventListener("keydown",i,!0),document.addEventListener("scroll",n,!0),window.addEventListener("resize",n);let l=new MutationObserver(()=>{e.hasAttribute("data-dragging")?a():n()});return l.observe(e,{attributes:!0,attributeFilter:["data-dock","data-dragging"]}),()=>{a(),l.disconnect(),e.removeEventListener("toggle",o,!0),document.removeEventListener("pointerdown",r,!0),document.removeEventListener("keydown",i,!0),document.removeEventListener("scroll",n,!0),window.removeEventListener("resize",n)}}var Vo=Z(de(),1),wh=(0,ra.createContext)("bottom"),kh=()=>(0,ra.useContext)(wh),$c=e=>e==="top"||e==="bottom";function Sh({children:e,actions:t,properties:a,root:n,enabled:o}){let r=se(Qe),i=typeof document<"u"&&document.documentElement.dataset.native==="ios",l=`showai:board-toolbar:${i?"mobile":"desktop"}`,[s,c]=(0,ra.useState)(()=>{try{let j=S4(localStorage.getItem(l));return i&&j.floating?{edge:j.edge,position:j.position}:j}catch{return S4(null)}}),[d,u]=(0,ra.useState)(s.edge),[p,b]=(0,ra.useState)(!1),[y,f]=(0,ra.useState)({bounds:{width:0,height:0},size:{width:0,height:0}}),w=(0,ra.useRef)(null),h=(0,ra.useRef)(null),m=(0,ra.useRef)(y);m.current=y;let v=(0,ra.useRef)(null),T=(0,ra.useRef)(null),x=(0,ra.useRef)(0),E=(0,ra.useRef)(!1),P=(0,ra.useRef)(()=>{}),U=()=>{x.current||(x.current=requestAnimationFrame(()=>{x.current=0,P.current()}))};(0,ra.useEffect)(()=>{let j=n.current,F=h.current,q=()=>{let V={bounds:{width:j.clientWidth,height:j.clientHeight},size:{width:F.offsetWidth,height:F.offsetHeight}};m.current=V,f(pe=>pe.bounds.width===V.bounds.width&&pe.bounds.height===V.bounds.height&&pe.size.width===V.size.width&&pe.size.height===V.size.height?pe:V),v.current?.active&&U()},J=new ResizeObserver(q);return J.observe(j),J.observe(F),q(),()=>{J.disconnect(),cancelAnimationFrame(x.current),x.current=0}},[n]),(0,ra.useEffect)(()=>i&&w.current?xh(w.current):void 0,[i]);let S=j=>{(0,z4.flushSync)(()=>{c(j),u(j.edge)});let F=h.current,q={bounds:m.current.bounds,size:F?{width:F.offsetWidth,height:F.offsetHeight}:m.current.size};m.current=q,f(q);let J=Es(j,q.bounds,q.size);w.current&&(w.current.style.left=`${J.x}px`,w.current.style.top=`${J.y}px`)},k=j=>{c(j),u(j.edge);try{localStorage.setItem(l,`${j.edge}:${j.position}${j.floating?`:${j.floating.x}:${j.floating.y}`:""}`)}catch{}},A=j=>{let F=n.current.getBoundingClientRect(),q=m.current.bounds;return{x:(j.clientX-F.left)*q.width/F.width,y:(j.clientY-F.top)*q.height/F.height}},L=()=>!!w.current?.querySelector(":scope > .board-toolbar-secondary")?.getClientRects().length,C=()=>{let j=v.current,{bounds:F,size:q}=m.current,J=$c(j.edge)?{x:j.pointer.x+(.5-j.along)*q.width,y:j.pointer.y+(.5-j.across)*q.height}:{x:j.pointer.x+(.5-j.across)*q.width,y:j.pointer.y+(.5-j.along)*q.height};return C4(J,F,q)},I=()=>{let j=v.current,{bounds:F,size:q}=m.current,J=C(),V={edge:j.edge,position:$c(j.edge)?J.x/Math.max(1,F.width):J.y/Math.max(1,F.height)};return j.snapped||(V.floating={x:J.x/Math.max(1,F.width),y:J.y/Math.max(1,F.height)}),{target:V,point:j.snapped?Es(V,F,q):J}};P.current=()=>{if(!v.current?.active||!w.current)return;let j=I().point;T.current=j,w.current.style.left=`${j.x}px`,w.current.style.top=`${j.y}px`};let D=j=>{let F=v.current;if(F?.id!==j.pointerId||!F.active&&Math.hypot(j.clientX-F.start.x,j.clientY-F.start.y)<6)return;j.preventDefault(),j.stopPropagation(),F.active||(j.currentTarget.setPointerCapture(j.pointerId),F.active=!0,T.current=Es(s,m.current.bounds,m.current.size),b(!0)),F.pointer=A(j);let q=m.current.bounds,J=q.width/n.current.getBoundingClientRect().width,V;if(i){let G=96*J,O=T4(C(),m.current.size,F.edge,L()),z=F.snapOrigin,H=F.snapped,M=!z||!H?1/0:H==="left"?F.pointer.x-z.pointer.x:H==="right"?z.pointer.x-F.pointer.x:H==="top"?F.pointer.y-z.pointer.y:z.pointer.y-F.pointer.y;z&&H&&z.gap+M<=G*1.4?V={edge:H,position:.5}:(V=vh(O,q,G),F.snapOrigin=V?{pointer:{...F.pointer},gap:zs(O,q,V.edge)}:null)}else V=yh(F.pointer,q,F.snapped,44*J);F.snapped=V?.edge??null;let pe=V?.edge??($c(F.edge)?F.pointer.y<q.height/2?"top":"bottom":F.pointer.x<q.width/2?"left":"right");if(pe!==F.edge){F.edge=pe,(0,z4.flushSync)(()=>u(pe));let G=h.current,O={bounds:m.current.bounds,size:{width:G.offsetWidth,height:G.offsetHeight}};m.current=O,f(O)}U()},N=(j,F=!1)=>{let q=v.current;q?.id===j.pointerId&&(F||D(j),q.active&&(!F&&(!i||q.snapped)?(q.pointer=A(j),k(I().target)):S(q.origin),b(!1)),E.current=q.active,v.current=null,T.current=null,cancelAnimationFrame(x.current),x.current=0,j.currentTarget.hasPointerCapture(j.pointerId)&&j.currentTarget.releasePointerCapture(j.pointerId))},_=p&&T.current?T.current:Es(s,y.bounds,y.size);return(0,Vo.jsx)(wh.Provider,{value:d,children:(0,Vo.jsxs)("div",{ref:w,className:"surface-toolbar board-dockable-toolbar","data-dock":d,"data-mobile":i||void 0,"data-floating":!!s.floating||void 0,"data-dragging":p||void 0,"data-surface-ui":!0,role:"group","aria-label":r("board.tools"),tabIndex:o?0:void 0,style:{left:_.x,top:_.y,bottom:"auto","--board-properties-reserve":"0px","--board-toolbar-height":`${y.bounds.height}px`,"--board-toolbar-width":`${y.bounds.width}px`},onContextMenu:j=>{h.current?.contains(j.target)&&j.preventDefault()},onPointerDownCapture:j=>{if(E.current=!1,!o||j.button!==0||!j.isPrimary||j.target.closest('input,select,textarea,[role="slider"],[contenteditable="true"],.board-color-menu,.surface-navigation,.board-align-options,.board-component-settings')||i&&!h.current?.contains(j.target))return;let F=h.current.getBoundingClientRect(),q=$c(d)?(j.clientX-F.left)/F.width:(j.clientY-F.top)/F.height,J=$c(d)?(j.clientY-F.top)/F.height:(j.clientX-F.left)/F.width;v.current={id:j.pointerId,start:{x:j.clientX,y:j.clientY},pointer:A(j),along:q,across:J,edge:d,snapped:s.floating?null:d,snapOrigin:s.floating?null:{pointer:A(j),gap:zs(T4(Es(s,m.current.bounds,m.current.size),m.current.size,d,L()),m.current.bounds,d)},active:!1,origin:s}},onPointerMove:D,onPointerUp:j=>N(j),onPointerCancel:j=>N(j,!0),onLostPointerCapture:j=>{j.target===j.currentTarget&&N(j,!0)},onClickCapture:j=>{E.current&&j.detail!==0&&(j.preventDefault(),j.stopPropagation())},onKeyDown:j=>{if(!o||j.target!==j.currentTarget&&!j.altKey)return;if(j.key==="Escape"&&v.current){let q=v.current;v.current=null,T.current=null,cancelAnimationFrame(x.current),x.current=0,b(!1),S(q.origin),j.currentTarget.hasPointerCapture(q.id)&&j.currentTarget.releasePointerCapture(q.id);return}let F={ArrowUp:"top",ArrowDown:"bottom",ArrowLeft:"left",ArrowRight:"right"}[j.key];F&&(j.preventDefault(),j.stopPropagation(),k({edge:F,position:.5}))},children:[(0,Vo.jsxs)("div",{ref:h,className:"board-toolbar-primary",children:[e,!i&&a&&(0,Vo.jsx)("div",{className:"board-toolbar-inline-properties","data-surface-ui":!0,children:a})]}),i?(0,Vo.jsxs)("div",{className:"board-toolbar-secondary","data-surface-ui":!0,children:[(0,Vo.jsx)("div",{className:"board-toolbar-settings",children:a}),(0,Vo.jsx)("div",{className:"board-toolbar-actions","data-surface-ui":!0,children:t})]}):t&&(0,Vo.jsx)("div",{className:"board-toolbar-actions","data-surface-ui":!0,children:t})]})})}var Ch=Z(Me(),1);var Go=Z(de(),1),ES=["#252629","#697586","#ffffff","#ef4444","#f97316","#facc15","#22c55e","#14b8a6","#06b6d4","#3b82f6","#8b5cf6","#ec4899"];function E4({value:e,label:t,onChange:a,allowNone:n=!1}){let o=se(Qe),r=(0,Ch.useRef)(null);return(0,Go.jsxs)("details",{ref:r,className:"board-color-picker",children:[(0,Go.jsx)("summary",{"aria-label":t,title:t,"data-empty":e==="none"||void 0,style:{backgroundColor:e==="none"?"#ffffff":e}}),(0,Go.jsxs)("div",{className:"board-color-menu","data-surface-ui":!0,children:[(0,Go.jsxs)("div",{className:"board-color-presets",role:"group","aria-label":o("style.presets"),children:[n&&(0,Go.jsx)("button",{type:"button",className:"board-color-empty","aria-label":o("style.none"),title:o("style.none"),"aria-pressed":e==="none",onClick:()=>{a("none"),r.current&&(r.current.open=!1)}}),ES.map(i=>(0,Go.jsx)("button",{type:"button","aria-label":o("style.presetColor",{color:i}),"aria-pressed":e.toLowerCase()===i,style:{backgroundColor:i},onClick:()=>{a(i),r.current&&(r.current.open=!1)}},i))]}),(0,Go.jsxs)("label",{className:"board-full-palette",children:[o("style.fullPalette"),(0,Go.jsx)("input",{type:"color","aria-label":t,value:e==="none"?"#ffffff":e,onInput:i=>a(i.currentTarget.value)})]})]})]})}var xt=Z(de(),1);function DS({width:e,label:t,onChange:a,min:n=.5,max:o=12}){let r=se(Qe),i=kh(),l=i==="left"||i==="right",[s,c]=(0,Th.useState)(!1),d=Math.min(o,Math.max(n,e??2.5)),u=(d-n)/(o-n)*100;return(0,xt.jsxs)("span",{className:"board-stroke-slider","data-active":s||void 0,children:[(0,xt.jsx)("svg",{viewBox:"0 0 120 24",preserveAspectRatio:"none","aria-hidden":"true",className:"board-stroke-track",children:(0,xt.jsx)("path",{d:"M 8 11.5 L 112 7 Q 117 7 117 12 Q 117 17 112 17 L 8 12.5 Q 7 12 8 11.5 Z"})}),(0,xt.jsx)("span",{className:"board-stroke-value-rail","aria-hidden":"true",children:(0,xt.jsx)("output",{style:{left:`${u}%`},children:d})}),(0,xt.jsx)("input",{type:"range","aria-orientation":l?"vertical":"horizontal","aria-label":t,"aria-valuetext":e===void 0?r("style.mixed"):void 0,min:n,max:o,step:.5,value:d,onPointerDown:p=>{p.currentTarget.setPointerCapture(p.pointerId),c(!0)},onPointerUp:()=>c(!1),onPointerCancel:()=>c(!1),onLostPointerCapture:()=>c(!1),onFocus:()=>c(!0),onBlur:()=>c(!1),onKeyDown:()=>c(!0),onKeyUp:()=>c(!1),onChange:p=>a({strokeWidth:p.currentTarget.valueAsNumber})})]})}function zh({nodes:e,onChange:t}){let a=se(Qe),n=e.filter(i=>wo(i)&&!!i.attrs?.label);if(!n.length)return null;let o=new Set(n.map(i=>i.attrs?.labelSize??16)),r=o.size===1?[...o][0]:void 0;return(0,xt.jsxs)("label",{className:"board-label-size",title:a("style.labelSize"),children:[(0,xt.jsx)(b1,{size:14,"aria-hidden":"true"}),(0,xt.jsxs)("select",{"aria-label":a("style.labelSize"),value:r??"",onChange:i=>t(Number(i.currentTarget.value)),children:[r===void 0&&(0,xt.jsx)("option",{value:"",disabled:!0,children:a("style.mixed")}),Bm.map(i=>(0,xt.jsx)("option",{value:i,children:a(`style.labelSize${i}`)},i))]})]})}function Eh({tool:e,style:t,nodes:a,onChange:n}){let o=se(Qe),r=a.filter(il);if(!r.length&&a.some(y=>y.attrs?.ink))return(0,xt.jsx)("span",{className:"board-style-controls",children:o("style.inkNotice")});if(!r.length&&(!e||["region","pan","lasso"].includes(e)))return null;let i=y=>{if(!r.length)return t[y];let f=y==="fillColor"?r.filter(h=>["rectangle","ellipse"].includes(h.attrs.tool)):r,w=new Set(f.map(h=>h.attrs?.[y]??(y==="fillColor"?"none":t[y])));return w.size===1?[...w][0]:void 0},l=r.length?r.some(y=>["rectangle","ellipse"].includes(y.attrs.tool)):e==="rectangle"||e==="ellipse",s=i("color"),c=i("fillColor"),d=i("strokeWidth"),u=!r.length&&e==="eraser",p=i("pressure")!==!1,b=r.length?r.every(y=>y.attrs.tool==="highlighter"):e==="highlighter";return(0,xt.jsxs)("div",{className:"board-style-controls","data-filled":l||void 0,role:"group","aria-label":r.length?o("style.selection"):o("style.drawing"),children:[!u&&(0,xt.jsxs)("div",{className:"board-style-section",title:s===void 0?o("style.colorsDiffer"):void 0,children:[o(l?"style.border":"style.color"),(0,xt.jsx)(E4,{label:o(l?"style.borderColor":"style.penColor"),value:s??"#252629",allowNone:l&&r.every(y=>["rectangle","ellipse"].includes(y.attrs.tool)),onChange:y=>n({color:y})}),s===void 0&&(0,xt.jsx)("small",{children:o("style.mixed")})]}),!u&&l&&(0,xt.jsxs)("div",{className:"board-style-section",children:[o("style.fill"),(0,xt.jsx)(E4,{label:o("style.fillColor"),value:c??"none",allowNone:!0,onChange:y=>n({fillColor:y})}),c===void 0&&(0,xt.jsx)("small",{children:o("style.mixed")})]}),(0,xt.jsx)("div",{className:"board-style-section board-width-controls",children:(0,xt.jsxs)("label",{children:[o(u?"style.eraserSize":"style.weight"),(0,xt.jsx)(DS,{width:u?t.strokeWidth:d,min:u?4:.5,max:u?64:b?20:12,label:o(u?"style.eraserSize":l?"style.borderWeight":"style.penWeight"),onChange:n}),d===void 0&&(0,xt.jsx)("small",{children:o("style.mixed")})]})}),typeof document<"u"&&document.documentElement.dataset.native==="ios"&&(r.length?r.every(y=>["pen","highlighter"].includes(y.attrs.tool)):e==="pen"||e==="highlighter")&&(0,xt.jsxs)("div",{className:"board-style-section board-pressure-controls",children:[(0,xt.jsx)("span",{children:o("style.pressureLabel")}),(0,xt.jsx)("button",{type:"button",className:"board-pressure-toggle","aria-label":o("style.pressure"),title:o(p?"style.pressureWidth":"style.fixedWidth"),"aria-pressed":p,onClick:()=>n({pressure:!p}),children:(0,xt.jsx)("svg",{viewBox:"0 0 24 20","aria-hidden":"true",children:p?(0,xt.jsx)("path",{d:"M3 14 C7 2 13 7 17 9 C19 10 20 8 21 6 C20 13 16 16 12 11 C8 7 6 7 3 14 Z",fill:"currentColor"}):(0,xt.jsx)("path",{d:"M3 14 C8 2 16 18 21 6",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})})})]})]})}var Ds=Z(Me(),1);var ad=Z(de(),1),Dh=180,Mh=120;function Nh({root:e,world:t,camera:a,layoutKey:n,onNavigate:o}){let r=se(Qe),[i,l]=(0,Ds.useState)(null),s=(0,Ds.useRef)(0),c=()=>{cancelAnimationFrame(s.current),s.current=requestAnimationFrame(()=>{let m=t.current,v=e.current,T=a.current;if(!m||!v||!T)return;let x=[...m.children].flatMap(E=>E instanceof HTMLElement&&E.dataset.surfaceId?[{x:E.offsetLeft,y:E.offsetTop,width:E.offsetWidth,height:E.offsetHeight}]:[]);l({boxes:x,view:{x:-T.x/T.scale,y:-T.y/T.scale,width:v.clientWidth/T.scale,height:v.clientHeight/T.scale}})})};if((0,Ds.useEffect)(()=>{c();let m=e.current;return m?.addEventListener("showai:viewport-change",c),()=>{cancelAnimationFrame(s.current),m?.removeEventListener("showai:viewport-change",c)}},[n]),!i)return null;let d=[...i.boxes,i.view],u=Math.min(...d.map(m=>m.x)),p=Math.min(...d.map(m=>m.y)),b=Math.max(...d.map(m=>m.x+m.width)),y=Math.max(...d.map(m=>m.y+m.height)),f=Math.min(Dh/Math.max(1,b-u),Mh/Math.max(1,y-p)),w=m=>{let v=m.currentTarget.getBoundingClientRect(),T=u+(m.clientX-v.left)/f,x=p+(m.clientY-v.top)/f,E=a.current;o({...E,x:-(T-i.view.width/2)*E.scale,y:-(x-i.view.height/2)*E.scale})},h=(m,v,T)=>(0,ad.jsx)("rect",{className:v,x:(m.x-u)*f,y:(m.y-p)*f,width:Math.max(1,m.width*f),height:Math.max(1,m.height*f)},T);return(0,ad.jsxs)("svg",{className:"board-minimap","data-surface-ui":!0,width:Dh,height:Mh,role:"img","aria-label":r("board.minimap"),onPointerDown:m=>{m.currentTarget.setPointerCapture(m.pointerId),w(m)},onPointerMove:m=>m.buttons&&w(m),children:[i.boxes.map((m,v)=>h(m,"board-minimap-object",v)),h(i.view,"board-minimap-view")]})}function Ah(e,t,a,n,o=!1){let r=a===1?16:a===2?n:1;return{x:(o&&!e?t:e)*r,y:(o&&!e?0:t)*r}}function D4(e,t,a,n=4){let o=Math.max(.1,Math.min(n,a));return{x:t.x-(t.x-e.x)*o/e.scale,y:t.y-(t.y-e.y)*o/e.scale,scale:o}}var B4=Z(Ln(),1);var $e=Z(Me(),1);var Ia=Z(Me(),1);var Ih=-Math.log(.998)*1e3,nd=class{samples=[];add(t,a,n){let o=this.samples.at(-1);if(!(o&&(n<=o.time||t===o.x&&a===o.y)))for(this.samples.push({x:t,y:a,time:n});this.samples.length>2&&n-this.samples[0].time>100;)this.samples.shift()}release(t){let a=this.samples[0],n=this.samples.at(-1);if(!a||!n||t-n.time>80||n.time-a.time<8)return{x:0,y:0};let o=(n.time-a.time)/1e3,r=(n.x-a.x)/o,i=(n.y-a.y)/o,l=Math.min(1,3e3/Math.hypot(r,i));return{x:r*l,y:i*l}}};function Lh(e,t){let a=Math.exp(-Ih*Math.max(0,Math.min(.064,t))),n=(1-a)/Ih;return{x:e.x*n,y:e.y*n,velocity:{x:e.x*a,y:e.y*a}}}function M4(e){let t=Math.abs(e);return Math.sign(e)*(.72*t-50.4*(1-Math.exp(-t/120)))}function Rh(e){let t=Math.abs(e),a=t/.72;for(let n=0;n<8;n++)a=Math.max(0,a-(M4(a)-t)/(.72-.42*Math.exp(-a/120)));return Math.sign(e)*a}var od=(e,t,a)=>Math.max(t,Math.min(a,e));function Ph(e,t,a){if(!a)return{camera:{...e,x:e.x+t.x,y:e.y+t.y},released:!0};let n=od(e.y,a.minY,a.maxY),o=a.x+Rh(e.x-a.x)+t.x,r=n+Rh(e.y-n)+t.y,i=od(r,a.minY,a.maxY),l=o-a.x,s=r-i;return{camera:{...e,x:a.x+M4(l),y:i+M4(s)},released:Math.abs(l)>240||Math.abs(s)>240}}function MS(e,t,a){let n=e.width*t.scale,o=e.height*t.scale;if(n>a.width+1||n<Math.min(140,a.width*.5))return null;let r=Math.min(24,Math.max(0,(a.width-n)/2)),i=r-a.offsetX-e.x*t.scale,l=a.width-r-a.offsetX-(e.x+e.width)*t.scale,s=(i+l)/2,c=Math.abs(t.x-s)<=48?s:od(t.x,i,l);if(Math.abs(c-t.x)>56)return null;let d=48,u=a.height-76,p=d-e.y*t.scale,b=u-(e.y+e.height)*t.scale,y=Math.min(p,b),f=Math.max(p,b),w=od(t.y,y,f);if(o<=u-d){let h=(p+b)/2;Math.abs(t.y-h)<=36&&(w=h)}return Math.abs(w-t.y)>40?null:{camera:{...t,x:c,y:w},anchor:{id:e.id,label:e.label,x:c,minY:y,maxY:f}}}function Oh(e,t,a){return e.map(n=>{let o=MS(n,t,a);if(!o)return null;let r=a.offsetX+t.x+(n.x+n.width/2)*t.scale,i=t.y+(n.y+n.height/2)*t.scale,l=Math.abs(r-a.width/2)+Math.min(a.height,Math.abs(i-(a.height-76)/2))*.18;return{...o,score:l}}).filter(n=>n!==null).sort((n,o)=>n.score-o.score)[0]??null}function Bh(e,t,a,n){let o=Math.min(.032,Math.max(.001,n)),r=t+((a-e)*240-t*26)*o;return{position:e+r*o,velocity:r}}var Hh=St(Qe);function NS(){let e=1,t=new Set;return{get:()=>e,set(a){if(a!==e){e=a;for(let n of t)n()}},subscribe(a){return t.add(a),()=>{t.delete(a)}}}}function Uh(e){return(0,Ia.useSyncExternalStore)(e.subscribe,e.get,e.get)}var id=e=>e instanceof Element&&(!!e.closest('input, textarea, select, [role="textbox"], [data-editor-keyboard-scope]')||e.closest("[contenteditable]")?.getAttribute("contenteditable")==="true"),jh=e=>e instanceof Element&&(id(e)||!!e.closest('button, a, input, textarea, select, summary, [role="slider"], iframe, [data-surface-gesture="own"], .react-flow'));function AS(e,t,a,n,o){if(!(e instanceof Element))return!1;let r=e.closest('[data-viewport-locked="true"]'),i=e.closest("[data-surface-gesture]")?.getAttribute("data-surface-gesture")?.split(/\s+/)??[];if(i.includes("own")||(o?i.includes("zoom"):i.includes(Math.abs(a)>Math.abs(n)?"x":"y"))||e.closest('[data-surface-ui], [data-surface-gesture="own"], input[type="range"], select')||!r&&e.closest(".react-flow"))return!0;if(o)return!1;for(let l=e;l&&l!==t;l=l.parentElement){let s=getComputedStyle(l);if(Math.abs(a)>Math.abs(n)&&/auto|scroll/.test(s.overflowX)&&(a>0?l.scrollLeft+l.clientWidth<l.scrollWidth-1:l.scrollLeft>0)||Math.abs(n)>=Math.abs(a)&&/auto|scroll/.test(s.overflowY)&&(n>0?l.scrollTop+l.clientHeight<l.scrollHeight-1:l.scrollTop>0))return!0}return!1}function IS(e){let t=24*e;for(;t<12;)t*=4;for(;t>96;)t/=4;return t}function _h(e,t,a=!0,n={}){let o=(0,Ia.useContext)(K2),r=t;t&&o&&(t=`${t}:${o}`);let i=(0,Ia.useRef)(a);i.current=a;let l=(0,Ia.useRef)(n);l.current=n;let s=(0,Ia.useRef)(null),c=(0,Ia.useRef)(null),d=(0,Ia.useRef)(null),u=(0,Ia.useRef)({x:0,y:0,scale:1}),p=(0,Ia.useRef)(null),b=p.current??=NS(),y=(0,Ia.useRef)({fit:(f,w)=>{},focus:(f,w)=>{},point:(f,w)=>({x:0,y:0}),restored:!1,restoredTargets:[],restoredAnchor:null,restore:()=>{},zoom:f=>{},panBy:(f,w)=>{},moveTo:(f,w=!1)=>{},navigateTo:(f,w=!1)=>{},refresh:()=>{},cancel:()=>{},objectGesture:f=>{}});return(0,Ia.useEffect)(()=>{let f=s.current,w=c.current,h=d.current,m=w.querySelector(":scope > .surface-grid"),v=R=>i.current&&(!(R instanceof Element)||!R.closest("[data-input-surface]")||R.closest("[data-input-surface]")===f),T=R=>{for(let $=R instanceof Element?R:null;$&&$!==f;$=$.parentElement)if($.classList.contains("page-surface")&&$.dataset.inputSurface)return!0;return!1},x=()=>f.getBoundingClientRect().width/f.clientWidth||1,E=(R,$)=>{let xe=f.getBoundingClientRect(),we=x();return{x:(R-xe.left)/we,y:($-xe.top)/we}},P=matchMedia("(prefers-reduced-motion: reduce)"),U=0,S=0,k=0,A=null,L=!1,C=null,I=-1/0,D=!1,N=!1,_=!1,j=()=>f.dataset.boardTool==="pan"||!!l.current.panMode?.current,F=()=>N||j(),q=null,J=new Map,V=null,pe=()=>({width:w.clientWidth,height:f.clientHeight,offsetX:0}),G=()=>{let R=h.getBoundingClientRect(),$=u.current.scale*x();return[...h.querySelectorAll("[data-surface-id]")].filter(xe=>xe.closest(".surface-world")===h&&xe.closest("[data-container-root]")===h.closest("[data-container-root]")).map(xe=>{let we=xe.getBoundingClientRect();return{id:xe.dataset.surfaceId,label:xe.dataset.surfaceName||Hh("node.region"),x:(we.left-R.left)/$,y:(we.top-R.top)/$,width:we.width/$,height:we.height/$}})},O=R=>l.current.reading?Oh(G(),R,pe()):null,z=null,H=()=>{if(!t)return;let R=G().filter(we=>{let He=u.current;return we.x*He.scale+He.x<f.clientWidth&&(we.x+we.width)*He.scale+He.x>0&&we.y*He.scale+He.y<f.clientHeight&&(we.y+we.height)*He.scale+He.y>0}).slice(0,100),$=A?.id,xe=$&&G().find(we=>we.id===$);try{localStorage.setItem(t,JSON.stringify({...u.current,visibleIds:R.map(we=>we.id),anchor:xe?{id:xe.id,x:xe.x,y:xe.y}:null}))}catch{}};if(t)try{let R=JSON.parse(localStorage.getItem(t)||(r?localStorage.getItem(r):null)||"null");R&&[R.x,R.y,R.scale].every(Number.isFinite)&&R.scale>=.1&&R.scale<=4&&Array.isArray(R.visibleIds)&&R.visibleIds.length<=100&&R.visibleIds.every($=>typeof $=="string")&&(u.current={x:R.x,y:R.y,scale:R.scale},y.current.restored=!0,y.current.restoredTargets=R.visibleIds,R.anchor&&typeof R.anchor.id=="string"&&[R.anchor.x,R.anchor.y].every(Number.isFinite)&&(z=R.anchor))}catch{}let M=R=>{let $=G().find(ho=>ho.id===R);if($)return $;let xe=h.querySelector(`[data-block-id="${CSS.escape(R)}"]`);if(!xe)return;let we=xe.getBoundingClientRect(),He=h.getBoundingClientRect(),ua=u.current.scale*x();return{id:R,label:Hh("node.content"),x:(we.left-He.left)/ua,y:(we.top-He.top)/ua,width:we.width/ua,height:we.height/ua}},oe=R=>{A=R,f.dataset.anchor=R?.id??""},fe=()=>{let R=u.current,$=`translate3d(${R.x}px, ${R.y}px, 0) scale(${R.scale})`,xe=h.style.transform;h.style.transform=$;let we=h.style.transform!==xe;f.style.getPropertyValue("--board-zoom")!==String(R.scale)&&f.style.setProperty("--board-zoom",String(R.scale));let He=IS(R.scale);m&&(m.style.getPropertyValue("--board-grid-size")!==`${He}px`&&m.style.setProperty("--board-grid-size",`${He}px`),m.style.transform=`translate3d(${R.x%He}px, ${R.y%He}px, 0)`),b.set(R.scale),we&&f.dispatchEvent(new Event("showai:viewport-change",{bubbles:!0}))},ue=()=>{cancelAnimationFrame(U),U=requestAnimationFrame(fe)},Se=()=>{cancelAnimationFrame(S),S=0,delete f.dataset.settling},Re=(R,$)=>{if(Se(),cancelAnimationFrame(U),P.matches){u.current=R,fe(),$?.(),H();return}f.dataset.settling="true";let xe=performance.now(),we={x:0,y:0,scale:0},He=ua=>{let ho=(ua-xe)/1e3;xe=ua;let Pa={...u.current},Jt=!0;for(let la of["x","y","scale"]){let pi=Bh(Pa[la],we[la],R[la],ho);Pa[la]=pi.position,we[la]=pi.velocity;let pa=la==="scale"?2e-4:.15;(Math.abs(Pa[la]-R[la])>pa||Math.abs(we[la])>pa*8)&&(Jt=!1)}u.current=Jt?R:Pa,fe(),Jt?(Se(),$?.(),H()):S=requestAnimationFrame(He)};S=requestAnimationFrame(He)},Pe=()=>{if(document.documentElement.dataset.native==="ios"){oe(null),ue();return}C&&(C.released=!0);let R=O(u.current);oe(R?{...R.anchor,x:u.current.x}:null),ue()},Fe=()=>{clearTimeout(k);let R=C;if(C=null,document.documentElement.dataset.native==="ios"){oe(null),fe(),H();return}if(R?.anchor&&!R.released&&G().some(xe=>xe.id===R.anchor.id)){oe(R.anchor),Re({...u.current,x:R.anchor.x,y:Math.max(R.anchor.minY,Math.min(R.anchor.maxY,u.current.y))});return}let $=R?.stepped?null:O(u.current);oe($?.anchor??null),$?Re($.camera):H()},Nt=()=>{clearTimeout(k),k=window.setTimeout(Fe,220)},ze=()=>{clearTimeout(k),Se(),C=null},Ke=R=>{if(P.matches||Math.hypot(R.x,R.y)<40)return!1;ze(),oe(null),cancelAnimationFrame(U),fe(),f.dataset.settling="true";let $=performance.now(),xe=we=>{let He=Lh(R,(we-$)/1e3);$=we,R=He.velocity,u.current={...u.current,x:u.current.x+He.x,y:u.current.y+He.y},fe(),Math.hypot(R.x,R.y)<20?(Se(),H()):S=requestAnimationFrame(xe)};return S=requestAnimationFrame(xe),!0},W=()=>(ze(),{origin:{...u.current},anchor:A,delta:{x:0,y:0},released:!1}),ye=R=>{let $=Ph(R.origin,R.delta,R.anchor);R.released||=$.released,u.current=$.camera,R.released&&R.anchor&&(R.anchor=null,R.origin={...$.camera,x:$.camera.x-R.delta.x,y:$.camera.y-R.delta.y},oe(null)),ue()},he=(R,$=!1)=>{ze(),oe(null),$?(u.current=R,fe(),Pe()):Re(R,Pe)},Ne=(R,$=!1)=>{ze(),oe(null),u.current=R,fe(),$&&H()},We=()=>({top:56,bottom:f.clientHeight-84}),it=(R,$=!1)=>{let xe=G(),we=R?.length?R.map(M).filter(pa=>!!pa):xe;if(!we.length){he({x:64,y:64,scale:1},$);return}let He=Math.min(...we.map(pa=>pa.x)),ua=Math.min(...we.map(pa=>pa.y)),ho=Math.max(...we.map(pa=>pa.x+pa.width)),Pa=Math.max(...we.map(pa=>pa.y+pa.height)),Jt=We(),la=Math.max(.1,Math.min(1,(f.clientWidth-96)/Math.max(1,ho-He),(Jt.bottom-Jt.top)/Math.max(1,Pa-ua))),pi=(Pa-ua)*la;he({x:f.clientWidth/2-(He+ho)/2*la,y:pi<=Jt.bottom-Jt.top?(Jt.top+Jt.bottom)/2-(ua+Pa)/2*la:Jt.top-ua*la,scale:la},$)},Ge=(R,$=!1)=>{let xe=M(R);if(!xe)return;let we=Math.max(.1,Math.min(1,(f.clientWidth-96)/xe.width));he({x:f.clientWidth/2-(xe.x+xe.width/2)*we,y:64-xe.y*we,scale:we},$)},le=(R,$={x:pe().width/2-pe().offsetX,y:f.clientHeight/2})=>{ze(),oe(null),u.current=D4(u.current,$,R),ue(),k=window.setTimeout(H,220)},De=(R,$)=>{ze(),oe(null),u.current={...u.current,x:u.current.x+R,y:u.current.y+$},fe(),k=window.setTimeout(H,220)};y.current={fit:it,focus:Ge,zoom:le,panBy:De,moveTo:he,navigateTo:Ne,refresh:Pe,cancel:y.current.cancel,objectGesture:y.current.objectGesture,restored:y.current.restored,restoredTargets:y.current.restoredTargets,restoredAnchor:z?.id??null,restore:()=>{let R=z&&G().find($=>$.id===z.id);R&&z&&(u.current={...u.current,x:u.current.x+(z.x-R.x)*u.current.scale,y:u.current.y+(z.y-R.y)*u.current.scale}),fe(),Pe()},point:(R,$)=>{let xe=E(R,$);return{x:(xe.x-u.current.x)/u.current.scale,y:(xe.y-u.current.y)/u.current.scale}}};let be=R=>{if(!i.current||T(R.target)||R.defaultPrevented||q||V)return;let $=Ah(R.deltaX,R.deltaY,R.deltaMode,f.clientHeight,R.shiftKey),xe=R.ctrlKey||R.metaKey,we=performance.now();if(we-I>220&&(D=!L&&AS(R.target,f,$.x,$.y,xe)),I=we,!D){if(R.preventDefault(),xe){let He=f.getBoundingClientRect();le(u.current.scale*Math.exp(-Math.max(-35,Math.min(35,$.y))*.009),{x:(R.clientX-He.left)/x()-pe().offsetX,y:(R.clientY-He.top)/x()});return}if(L){De(-$.x/x(),-$.y/x());return}C||(C=W()),(R.deltaMode!==0||Math.abs(R.deltaY)>=50&&Number.isInteger(R.deltaY))&&(C.released=C.stepped=!0,!C.delta.x&&!C.delta.y&&(C.anchor=null)),C.delta.x-=$.x/x(),C.delta.y-=$.y/x(),ye(C),Nt()}},me=R=>{let $=f.getBoundingClientRect();return{x:(R.clientX-$.left)/x()-pe().offsetX,y:(R.clientY-$.top)/x()}},Be=()=>{let[R,$]=[...J.values()];return{distance:Math.max(1,Math.hypot(R.x-$.x,R.y-$.y)),center:{x:(R.x+$.x)/2,y:(R.y+$.y)/2}}},et=R=>{if(v(R.target)&&S&&(ze(),fe(),H()),!(!v(R.target)||R.pointerType!=="touch"||R.target.closest('[data-surface-ui],iframe,[data-surface-gesture="own"],.react-flow'))&&(J.set(R.pointerId,me(R)),J.size===2)){R.preventDefault(),R.stopPropagation(),ze(),q=null,f.dispatchEvent(new Event("showai-board-pinch")),V={...Be(),camera:{...u.current},anchor:A},oe(null);for(let $ of J.keys())f.setPointerCapture($)}},ae=R=>{let $=F(),xe=j();if(!v(R.target)||R.defaultPrevented||!ur(R.pointerType)&&R.target.closest('[data-drawing-active="true"]')||R.target.closest("[data-board-drawing-input]")&&!ur(R.pointerType)&&R.button!==1&&!$)return;(S||C)&&ze();let we=R.target;if(xe&&we.closest("[data-surface-ui]")&&!h.contains(we))return;if(we.closest("[data-surface-handle]")&&!$&&R.button!==1){R.button===0&&(y.current.cancel(),L=!0);return}if(we.closest('[data-surface-gesture="own"], .react-flow')||!$&&R.button!==1&&we.closest("[data-surface-ui], [data-surface-handle]"))return;let He=R.pointerType==="touch";if(He&&(J.set(R.pointerId,me(R)),J.size===2)){R.preventDefault(),ze(),q=null,V={...Be(),camera:{...u.current},anchor:A},oe(null);for(let Pa of J.keys())f.setPointerCapture(Pa);return}let ua=He&&!we.closest('button, a, input, textarea, select, summary, [role="slider"], iframe');q||R.button>1||jh(we)&&!ua&&!(R.button===1||xe||$&&!id(we))||we.closest("[data-surface-content]")&&!ua&&!$&&R.button!==1||(He||(R.preventDefault(),f.focus({preventScroll:!0}),f.setPointerCapture(R.pointerId)),q={id:R.pointerId,x:R.clientX,y:R.clientY,touch:He,started:!He,gesture:W(),velocity:new nd},q.velocity.add(0,0,R.timeStamp),He||f.classList.add("is-panning"))},te=R=>{if(L)return;if(J.has(R.pointerId)&&J.set(R.pointerId,me(R)),V&&J.size>=2){let we=Be(),He=D4(V.camera,V.center,V.camera.scale*we.distance/V.distance);u.current={...He,x:He.x+we.center.x-V.center.x,y:He.y+we.center.y-V.center.y},ue();return}if(!q||q.id!==R.pointerId)return;let $=(R.clientX-q.x)/x(),xe=(R.clientY-q.y)/x();if(!q.started){if(Math.hypot($,xe)<8||!window.getSelection()?.isCollapsed)return;q.started=!0,f.setPointerCapture(R.pointerId),f.classList.add("is-panning")}q.gesture.delta={x:$,y:xe},q.velocity.add($,xe,R.timeStamp),ye(q.gesture)},Y=(R,$=!1)=>{if(L=!1,R?J.delete(R.pointerId):J.clear(),V){let xe=V;V=null,$&&document.documentElement.dataset.native!=="ios"?(oe(xe.anchor),Re(xe.camera)):(oe(null),fe(),H())}if(q&&(!R||q.id===R.pointerId)){let xe=q;q=null,f.hasPointerCapture(xe.id)&&f.releasePointerCapture(xe.id),xe.started&&($&&document.documentElement.dataset.native!=="ios"?(oe(xe.gesture.anchor),Re(xe.gesture.origin)):xe.touch&&!$&&Ke(xe.velocity.release(R?.timeStamp??performance.now()))||(C=xe.gesture,Fe()))}f.classList.remove("is-panning")},Ce=R=>{q?.touch&&q.id===R.pointerId&&te(R),Y(R)},tt=R=>{V&&(R.preventDefault(),R.stopPropagation(),te(R))},ut=R=>{V?(R.preventDefault(),R.stopPropagation(),Y(R,R.type==="pointercancel")):q||J.delete(R.pointerId)};y.current.cancel=()=>{ze(),q&&f.hasPointerCapture(q.id)&&f.releasePointerCapture(q.id),q=null,V=null,J.clear(),L=!1,D=!1,N=!1,f.classList.remove("is-panning","is-hand")},y.current.objectGesture=R=>{L=R,R||Pe()};let Zt=R=>Y(R,!0),kt=R=>{R.target===f&&(L=!1,q?.id===R.pointerId&&Y(R,!0))},si=R=>{R.preventDefault(),N=!0,f.classList.add("is-hand")},ci=R=>{if(!v(R.target)||(S&&Se(),id(R.target)&&C&&(ze(),Pe()),R.defaultPrevented||R.isComposing||id(R.target))||(R.code==="Space"&&!jh(R.target)&&si(R),R.key==="Escape"&&(q||V)&&Y(void 0,!0),R.target!==f))return;let $=R.shiftKey?320:120,xe={ArrowLeft:[$,0],ArrowRight:[-$,0],ArrowUp:[0,$],ArrowDown:[0,-$],PageUp:[0,f.clientHeight*.8],PageDown:[0,-f.clientHeight*.8]};if(xe[R.key]){R.preventDefault();let[we,He]=xe[R.key];he({...u.current,x:u.current.x+we,y:u.current.y+He})}["+","=","-"].includes(R.key)&&!R.metaKey&&!R.ctrlKey&&!R.altKey&&(R.preventDefault(),le(u.current.scale*(R.key==="-"?1/1.2:1.2))),(R.key==="0"&&!R.shiftKey&&!R.metaKey||R.key==="Home")&&(R.preventDefault(),it())},Is=R=>{R.code!=="Space"||N||!_||!i.current||R.defaultPrevented||R.repeat||f.contains(R.target)||R.target!==document.body&&R.target!==document.documentElement||si(R)},di=()=>_=!0,gr=()=>_=!1,Qi=R=>{R.code==="Space"&&(N=!1,f.classList.remove("is-hand"))},go=()=>{N=!1,f.classList.remove("is-hand"),Y(void 0,!0),C&&Fe(),S&&(ze(),fe(),H())},$i=()=>{document.visibilityState==="hidden"&&(y.current.cancel(),H())},el=()=>{if(matchMedia("print").matches||!w.scrollTop&&!w.scrollLeft)return;let R=w.scrollLeft,$=w.scrollTop;if(w.scrollTop=0,w.scrollLeft=0,!!i.current){if(S){ue();return}ze(),u.current={...u.current,x:u.current.x-R,y:u.current.y-$},Pe()}},ui=f.getBoundingClientRect(),Vt=new ResizeObserver(R=>{if(l.current.anchorScreen&&R.some($=>$.target===f)){let $=f.getBoundingClientRect(),xe=x(),we=(ui.left-$.left)/xe,He=(ui.top-$.top)/xe;ui=$,(we||He)&&(u.current={...u.current,x:u.current.x+we,y:u.current.y+He},fe())}!C&&!q&&!V&&!S&&!L&&Pe()});Vt.observe(f);let bo=new Set,Rs=()=>{let R=new Set([...h.querySelectorAll("[data-surface-id]")].filter($=>$.closest(".surface-world")===h&&$.closest("[data-container-root]")===h.closest("[data-container-root]")));for(let $ of bo)R.has($)||(Vt.unobserve($),bo.delete($));for(let $ of R)bo.has($)||(Vt.observe($),bo.add($));L||Pe()};return y.current.refresh=Rs,f.addEventListener("wheel",be,{passive:!1}),f.addEventListener("pointerdown",et,!0),f.addEventListener("pointermove",tt,!0),f.addEventListener("pointerup",ut,!0),f.addEventListener("pointercancel",ut,!0),f.addEventListener("pointerdown",ae),f.addEventListener("pointermove",te),f.addEventListener("pointerup",Ce),f.addEventListener("pointercancel",Zt),f.addEventListener("lostpointercapture",kt),f.addEventListener("keydown",ci),f.addEventListener("pointerenter",di),f.addEventListener("pointerleave",gr),w.addEventListener("scroll",el),window.addEventListener("keydown",Is),window.addEventListener("keyup",Qi),window.addEventListener("blur",go),document.addEventListener("visibilitychange",$i),Rs(),()=>{H(),Vt.disconnect(),cancelAnimationFrame(U),cancelAnimationFrame(S),clearTimeout(k),f.removeEventListener("wheel",be),f.removeEventListener("pointerdown",et,!0),f.removeEventListener("pointermove",tt,!0),f.removeEventListener("pointerup",ut,!0),f.removeEventListener("pointercancel",ut,!0),f.removeEventListener("pointerdown",ae),f.removeEventListener("pointermove",te),f.removeEventListener("pointerup",Ce),f.removeEventListener("pointercancel",Zt),f.removeEventListener("lostpointercapture",kt),f.removeEventListener("keydown",ci),f.removeEventListener("pointerenter",di),f.removeEventListener("pointerleave",gr),w.removeEventListener("scroll",el),window.removeEventListener("keydown",Is),window.removeEventListener("keyup",Qi),window.removeEventListener("blur",go),document.removeEventListener("visibilitychange",$i)}},[]),(0,Ia.useEffect)(()=>{y.current.refresh()},[e]),(0,Ia.useEffect)(()=>{a||y.current.cancel()},[a]),{rootRef:s,scrollRef:c,worldRef:d,scale:b,camera:u,controls:y}}mt(`.surface-editor-shell{position:relative;height:100%;min-height:0;flex:1}.surface-extra-actions{display:contents}.page-surface{position:relative;height:100%;min-height:0;flex:1;overflow:clip;isolation:isolate;background:var(--paper, var(--bg));outline-offset:-3px;touch-action:none;--board-inv: calc(var(--board-inv-outer, 1) / var(--board-zoom, 1))}.surface-scroll{position:absolute;inset:0;overflow:hidden;overscroll-behavior:contain;touch-action:none;overflow-anchor:none}.surface-world{position:absolute;left:0;top:0;width:0;height:0;transform-origin:0 0;will-change:transform;--board-inv-outer: var(--board-inv)}.agent-reference-picker{position:absolute;inset:0;z-index:80;cursor:crosshair;touch-action:none}.agent-reference-hint{position:absolute;top:54px;left:50%;transform:translate(-50%);padding:8px 12px;border-radius:9px;background:var(--paper, #fff);border:1px solid var(--line, #ddd);box-shadow:0 3px 18px #0001;font-size:12px;pointer-events:none}.agent-reference-marquee{position:absolute;border:1.5px dashed #4585ed;background:#4585ed12;pointer-events:none}.agent-reference-preview{position:absolute;left:0;top:0;overflow:visible;pointer-events:none;z-index:30}.agent-reference-preview rect,.agent-reference-preview circle,.agent-reference-preview path{fill:#4585ed0b;stroke:#4585ed;stroke-width:1.5px;stroke-dasharray:5 4}.surface-object.is-container:has(>.surface-object-content>.container-page[data-frameless=true]){border-color:transparent;background:transparent;box-shadow:none}.container-page[data-frameless=true]{background:transparent;border:0;box-shadow:none}.surface-metadata{position:absolute;left:22px;top:14px;z-index:15;max-width:min(50%,480px);color:var(--muted);background:var(--paper, var(--bg))}.surface-page-title,.surface-metadata .portable-title{display:block;width:100%;font:inherit;font-size:14px;font-weight:550;border:0;background:transparent;resize:none;padding:4px;margin:0;height:auto;line-height:1.5}.surface-object{border:1px solid transparent;border-radius:10px;background:transparent}.surface-object:has(>.surface-object-content>.sb-media),.surface-object:has(>.surface-object-content>.sb-pdf){border:0}.surface-object:has(>.surface-object-content>.sb-media)>.surface-object-content,.surface-object:has(>.surface-object-content>.sb-pdf)>.surface-object-content{padding:0}.surface-object-content>.sb-media,.surface-object-content>.sb-pdf{margin:0}.surface-object:has(>.surface-object-content>.sb-media)>.surface-object-header,.surface-object:has(>.surface-object-content>.sb-pdf)>.surface-object-header{position:absolute;left:0;bottom:100%;opacity:0;pointer-events:none}.surface-object:has(>.surface-object-content>.sb-media).is-selected>.surface-object-header,.surface-object:has(>.surface-object-content>.sb-pdf).is-selected>.surface-object-header,.surface-object:has(>.surface-object-content>.sb-media)>.surface-object-header:focus-within,.surface-object:has(>.surface-object-content>.sb-pdf)>.surface-object-header:focus-within{opacity:1;pointer-events:auto}.surface-object:has(>.surface-object-content>.sb-media)>.surface-object-header .surface-object-grip>span,.surface-object:has(>.surface-object-content>.sb-pdf)>.surface-object-header .surface-object-grip>span{display:none}.surface-object:focus-within,.surface-object.is-moving{z-index:2}.surface-object.is-moving{user-select:none}.surface-object[data-erasing=true]{opacity:.35!important}.board-eraser-cursor{fill:#64748b18;stroke:#64748b;stroke-width:1;pointer-events:none}.surface-object-content{padding:18px 28px 26px;min-width:0}.surface-object.is-region>.surface-object-content{padding:26px 44px 44px}.surface-object-header{display:flex;gap:4px;align-items:center;min-height:32px;padding:4px 7px;color:var(--muted);font-size:11px}.surface-object-header button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;padding:4px;border-radius:4px;font-size:11px}.surface-object-header .surface-object-grip{flex:1;justify-content:flex-start;text-align:left;min-width:0}.surface-object-grip span{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.surface-object-grip[data-surface-handle]{cursor:grab;touch-action:none}.surface-object-resize{position:absolute;right:0;bottom:0;padding:4px 7px;border:0;color:var(--muted);cursor:ew-resize;touch-action:none;border-radius:5px}.surface-object-content .document-content{min-height:80px}.surface-layout-flow>*+*{margin-top:16px}.surface-layout-grid{display:grid;align-items:start}.surface-layout-free{position:relative}.surface-layout-free>.surface-object{max-width:none}.surface-toolbar{position:absolute;z-index:80;bottom:20px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:2px;padding:5px;max-width:calc(100% - 24px);border:1px solid var(--line, var(--border));border-radius:12px;background:var(--paper, var(--bg));box-shadow:0 4px 20px #0000000a;flex-wrap:wrap;justify-content:center;width:max-content}.surface-toolbar button,.surface-toolbar summary{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:32px;min-width:32px;padding:6px 9px;border:0;border-radius:7px;font-size:12px;white-space:nowrap;color:var(--text);cursor:pointer}.surface-toolbar button:disabled{opacity:.35;cursor:default}.surface-toolbar summary::-webkit-details-marker{display:none}.surface-toolbar summary:hover{background:var(--hover)}.surface-toolbar .surface-zoom{min-width:48px;padding:6px 2px;font-variant-numeric:tabular-nums}.surface-toolbar-divider{width:1px;height:18px;background:var(--line, var(--border));margin:0 3px;flex-shrink:0}.surface-popover-anchor{position:relative}.surface-navigation,.surface-add-menu{position:absolute;bottom:44px;left:0;width:280px;max-height:min(480px,70dvh);overflow:auto;background:var(--paper, var(--bg));border:1px solid var(--line, var(--border));border-radius:12px;box-shadow:0 8px 36px #00000012;padding:10px}.surface-add-menu{width:160px;left:auto;right:0;display:grid}.surface-navigation strong{display:block;font-size:12px;color:var(--muted);margin:7px 8px}.surface-navigation p{font-size:12px;margin:8px}.surface-navigation-row{display:flex;align-items:center}.surface-navigation-row>button:first-child{flex:1;justify-content:flex-start;overflow:hidden;text-overflow:ellipsis}.surface-navigation form{margin-top:12px;padding-top:10px;border-top:1px solid var(--line, var(--border))}.surface-navigation input,.surface-inspector input,.surface-inspector select{width:100%;border:1px solid var(--line, var(--border));padding:7px 8px;font-size:13px;background:var(--paper, var(--bg));border-radius:6px}.surface-empty{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);color:var(--muted);font-size:14px;text-align:center}.surface-empty button{display:inline-flex;gap:8px;align-items:center;border:1px solid var(--line, var(--border));border-radius:8px;padding:9px 14px;color:var(--text)}.surface-inspector{position:absolute;right:16px;top:56px;width:250px;max-height:calc(100% - 150px);overflow:auto;z-index:25;background:var(--paper, var(--bg));border:1px solid var(--line, var(--border));border-radius:12px;padding:14px;box-shadow:0 8px 32px #0000000a;font-size:13px}.surface-inspector header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.surface-inspector label{display:grid;gap:6px;margin:12px 0;color:var(--muted)}.surface-inspector-actions{display:flex;gap:6px}.surface-inspector button{padding:6px;border-radius:5px}.surface-error{position:absolute;z-index:35;bottom:80px;left:24px;background:var(--paper);border:1px solid var(--line);padding:10px 14px;border-radius:8px;font-size:13px}.page-surface.is-hand,.page-surface.is-hand .surface-scroll{cursor:grab}.page-surface.is-panning,.page-surface.is-panning *{cursor:grabbing!important;user-select:none!important}.page-surface.is-panning iframe,.surface-object.is-moving iframe{pointer-events:none}.surface-template{height:580px;max-height:70dvh}.studio-scroll.has-page-surface{position:relative;overflow:hidden;min-height:0}.studio-scroll.has-page-surface>.surface-editor-shell{position:absolute;inset:0}.canvas-app:has(.surface-editor-shell){height:100dvh;display:flex;flex-direction:column}.portable-app:has(>.page-surface){height:100dvh}@media(max-width:640px){.surface-toolbar{bottom:12px}.surface-toolbar button,.surface-toolbar summary{padding:6px}.surface-inspector{width:220px;right:10px}.surface-metadata{left:10px}.surface-navigation{width:255px}}@media print{.portable-app:has(>.page-surface),.page-surface,.surface-editor-shell{height:auto;overflow:visible}.surface-scroll,.surface-world,.surface-metadata{position:static;width:auto;height:auto;transform:none!important}.surface-world{will-change:auto}.surface-toolbar,.surface-object-header,.surface-object-resize,.surface-inspector,.surface-empty{display:none}.surface-object{position:static!important;width:auto!important;min-height:0!important;left:auto!important;top:auto!important;margin:12px 0;border:0!important;break-inside:auto}.surface-layout-grid{display:block}.surface-layout-free{min-height:0!important}.surface-object-content,.surface-object.is-region>.surface-object-content{padding:0}}.surface-reading>.surface-object{width:100%}.surface-reading-heading .portable-title{font-size:18px;color:var(--muted);margin-bottom:28px}.surface-reading .surface-object-content{padding-left:0;padding-right:0}@media(max-width:640px){.surface-reading .surface-layout-grid{grid-template-columns:1fr!important}}.surface-empty-region{min-height:88px;width:100%;padding:18px;color:var(--muted);border-radius:8px;font-size:13px}.surface-image{display:block;width:100%;height:auto;border-radius:4px}.surface-editor-shell{display:flex;min-width:0}.page-surface{min-width:0}.surface-inspector{position:relative;flex:0 0 250px;right:auto;top:auto;margin:56px 16px 80px 0;align-self:flex-start}@media(max-width:640px){.surface-inspector{position:absolute;top:auto;bottom:70px;right:10px;margin:0;width:min(280px,calc(100% - 20px));max-height:55%}}.board-snap-guides{position:absolute;inset:0;width:1px;height:1px;overflow:visible;pointer-events:none;z-index:30;stroke:#e06b52;stroke-width:1}.board-marquee{position:absolute;pointer-events:none;border:calc(1px * var(--board-inv, 1)) solid #467de3;background:#467de31a;z-index:30}.surface-object-rotate{position:absolute;left:calc(50% - 12px * var(--board-inv, 1));top:calc(-44px * var(--board-inv, 1));width:calc(24px * var(--board-inv, 1));height:calc(24px * var(--board-inv, 1));padding:0;font-size:calc(13px * var(--board-inv, 1));line-height:1;border:calc(1px * var(--board-inv, 1)) solid var(--border, #ccc);border-radius:50%;background:var(--panel, white);color:var(--text, #252629);cursor:grab;z-index:12;touch-action:none}.board-selection-count{padding:0 6px;font-size:12px;white-space:nowrap}.board-group-outline{position:absolute;pointer-events:none;z-index:13;outline:calc(1.5px * var(--board-inv, 1)) solid #467de3}.board-style-controls{display:flex;align-items:center;gap:10px;padding:2px 4px}.board-component-actions{display:flex;align-items:center;gap:4px}.board-component-actions:empty{display:none}.board-component-actions[hidden]{display:none}.board-component-actions .sb-actions{position:static;display:flex;opacity:1;pointer-events:auto}.board-component-actions .sb-g2-toolbar{margin:0;padding:0 6px}.board-component-settings{position:absolute;bottom:calc(100% + 10px);right:0;width:min(420px,calc(100vw - 32px));max-height:min(560px,65dvh);overflow:auto;padding:12px;border:1px solid var(--line, var(--border));border-radius:12px;background:var(--paper, var(--bg));box-shadow:0 8px 32px #00000012;font-size:13px}.board-component-settings[hidden]{display:none}.board-component-settings :is(.sb-editor-panel,.sb-g2-editor){margin:0}.board-component-settings button{white-space:normal}.board-style-controls label{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:11px;white-space:nowrap}.board-style-controls input[type=color]{width:24px;height:24px;padding:3px;border:1px solid var(--line, var(--border));border-radius:50%;background:transparent;cursor:pointer;overflow:hidden}.board-style-controls input[type=color]::-webkit-color-swatch-wrapper{padding:0}.board-style-controls input[type=color]::-webkit-color-swatch{border:0;border-radius:50%}.board-style-controls input[type=color]::-moz-color-swatch{border:0;border-radius:50%}.board-stroke-slider{position:relative;display:block;width:80px;height:24px}.board-stroke-track{width:100%;height:100%;fill:var(--text);opacity:.18;pointer-events:none}.board-stroke-slider input[type=range]{position:absolute;inset:0;appearance:none;width:100%;height:24px;margin:0;padding:0;border:0;background:transparent;cursor:ew-resize}.board-stroke-slider input[type=range]::-webkit-slider-runnable-track{height:24px;background:transparent}.board-stroke-slider input[type=range]::-moz-range-track{height:24px;background:transparent}.board-stroke-slider input[type=range]::-webkit-slider-thumb{appearance:none;width:16px;height:16px;margin-top:4px;border:2px solid var(--paper, var(--bg));border-radius:50%;background:var(--text);box-shadow:0 0 0 1px var(--line, var(--border))}.board-stroke-slider input[type=range]::-moz-range-thumb{box-sizing:border-box;width:16px;height:16px;border:2px solid var(--paper, var(--bg));border-radius:50%;background:var(--text);box-shadow:0 0 0 1px var(--line, var(--border))}.board-stroke-value-rail{position:absolute;inset:0 8px;pointer-events:none}.board-stroke-value-rail output{position:absolute;bottom:calc(100% + 7px);transform:translate(-50%);padding:3px 6px;border:1px solid var(--line, var(--border));border-radius:5px;background:var(--paper, var(--bg));color:var(--text);font-size:11px;font-variant-numeric:tabular-nums;box-shadow:0 2px 8px #0000000a;visibility:hidden}.board-stroke-slider[data-active] output{visibility:visible}.board-style-controls button{min-width:24px;min-height:26px;padding:3px}.container-workspace .container-inspector.board-bottom-inspector{position:absolute;z-index:25;right:12px;bottom:90px;top:auto;margin:0;width:min(280px,calc(100% - 24px));max-height:calc(100% - 160px);overflow:auto}.page-surface .surface-object.is-region{border-color:var(--line, var(--border))}.page-surface .surface-object.is-hovered:not(.is-drawing){outline:calc(1px * var(--board-inv, 1)) solid #467de380;outline-offset:calc(2px * var(--board-inv, 1))}.surface-world>.surface-object.is-selected:not(.is-drawing),.surface-world .surface-layout-free>.surface-object.is-selected:not(.is-drawing){outline:calc(1.5px * var(--board-inv, 1)) solid #467de3;outline-offset:calc(2px * var(--board-inv, 1))}.surface-world .surface-object.is-bind-target:not(.is-drawing){outline:calc(2px * var(--board-inv, 1)) solid #467de3;outline-offset:calc(3px * var(--board-inv, 1))}.surface-world .surface-object.is-bind-target.is-drawing .board-drawing{filter:drop-shadow(0 0 2px #467de3)}.board-lock-badge{position:absolute;top:calc(-10px * var(--board-inv, 1));right:calc(-10px * var(--board-inv, 1));display:grid;place-items:center;width:calc(20px * var(--board-inv, 1));height:calc(20px * var(--board-inv, 1));border-radius:50%;background:#467de3;color:#fff;z-index:16;pointer-events:none}.board-lock-badge svg{width:calc(11px * var(--board-inv, 1));height:calc(11px * var(--board-inv, 1))}.page-surface.has-drawing-hit .board-drawing-input{cursor:move}@media(max-width:640px){.surface-toolbar{bottom:10px}.board-style-controls{flex-wrap:wrap;justify-content:center}}body:has([data-showai-development]) .surface-toolbar{bottom:36px}@media print{.board-group-outline,.board-bottom-inspector{display:none!important}}@media print{.surface-object-rotate,.board-snap-guides,.board-marquee{display:none!important}}.board-arrow-endpoint{position:absolute;transform:translate(-50%,-50%);width:calc(13px * var(--board-inv, 1));height:calc(13px * var(--board-inv, 1));padding:0;border:calc(2px * var(--board-inv, 1)) solid #467de3;border-radius:50%;background:#fff;cursor:crosshair;touch-action:none;z-index:14}@media print{.board-arrow-endpoint{display:none!important}}.board-resize-handle{position:absolute;width:calc(28px * var(--board-inv, 1));height:calc(28px * var(--board-inv, 1));padding:0;border:0;background:transparent;z-index:15;pointer-events:auto;touch-action:none;transform:translate(-50%,-50%)}.board-resize-handle:after{content:"";position:absolute;width:calc(10px * var(--board-inv, 1));height:calc(10px * var(--board-inv, 1));left:50%;top:50%;transform:translate(-50%,-50%);border:calc(1px * var(--board-inv, 1)) solid #467de3;border-radius:calc(2px * var(--board-inv, 1));background:#fff;pointer-events:none}@media(pointer:coarse){.board-resize-handle{width:calc(40px * var(--board-inv, 1));height:calc(40px * var(--board-inv, 1))}}.board-resize-handle.handle-nw{left:0;top:0;cursor:nwse-resize}.board-resize-handle.handle-n{left:50%;top:0;cursor:ns-resize}.board-resize-handle.handle-ne{left:100%;top:0;cursor:nesw-resize}.board-resize-handle.handle-e{left:100%;top:50%;cursor:ew-resize}.board-resize-handle.handle-se{left:100%;top:100%;cursor:nwse-resize}.board-resize-handle.handle-s{left:50%;top:100%;cursor:ns-resize}.board-resize-handle.handle-sw{left:0;top:100%;cursor:nesw-resize}.board-resize-handle.handle-w{left:0;top:50%;cursor:ew-resize}@media print{.board-resize-handle{display:none!important}}.surface-object:not(.is-selected)>.board-resize-handle{display:none}.surface-object.is-hovered:not(.is-selected):not(.is-locked)>.board-resize-handle.handle-se,.surface-object[data-board-fixed-height=false].is-hovered:not(.is-selected):not(.is-locked)>.board-resize-handle.handle-e{display:block;opacity:.5}.page-surface.has-object-menu>.surface-scroll>.surface-world>.surface-object>:is(.surface-object-header,.board-resize-handle,.surface-object-rotate){visibility:hidden;pointer-events:none}.surface-world .surface-object.is-region:has(>.surface-object-content>.surface-layout-free),.surface-world .surface-object.is-region>.surface-object-content:has(>.surface-layout-free),.surface-world .surface-object.is-region .surface-layout-free{pointer-events:none}.surface-world .surface-object.is-region .surface-layout-free>*,.surface-world .surface-object.is-region>[data-surface-ui]{pointer-events:auto}.surface-grid{display:none}.page-surface[data-native-board-active=true]>.surface-scroll>:is(.surface-world,.surface-grid){visibility:hidden}.page-surface.has-board-grid>.surface-scroll>.surface-grid{display:block;position:absolute;inset:calc(0px - var(--board-grid-size, 24px));pointer-events:none;contain:strict;will-change:transform;background-image:radial-gradient(circle,color-mix(in srgb,var(--text, #252629) 18%,transparent) 1px,transparent 1.4px);background-size:var(--board-grid-size, 24px) var(--board-grid-size, 24px)}.page-surface.is-hand .surface-world *,.page-surface.is-hand-tool,.page-surface.is-hand-tool .surface-world *{cursor:grab!important}.page-surface.is-hand-tool.is-panning,.page-surface.is-hand-tool.is-panning *{cursor:grabbing!important}.page-surface.is-text-tool>.surface-scroll,.page-surface.is-text-tool .surface-world>.surface-object{cursor:text}.surface-empty.is-hint{pointer-events:none;font-size:13px;opacity:.75}.board-align-menu>summary::-webkit-details-marker{display:none}.board-align-options{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);display:grid;grid-template-columns:repeat(4,30px);gap:2px;padding:4px;border:1px solid var(--line, var(--border));border-radius:10px;background:var(--paper, var(--bg));box-shadow:0 8px 32px #00000012}.board-align-options button{display:inline-flex;align-items:center;justify-content:center;height:30px;border:0;border-radius:6px;color:var(--text)}.board-align-options button:hover{background:var(--hover)}.board-align-options button:disabled{opacity:.35}.board-minimap{position:absolute;z-index:19;right:16px;bottom:20px;border:1px solid var(--line, var(--border));border-radius:10px;background:var(--paper, var(--bg));box-shadow:0 4px 20px #0000000f;cursor:pointer;touch-action:none}.board-minimap-object{fill:color-mix(in srgb,var(--text, #252629) 22%,transparent)}.board-minimap-view{fill:#467de314;stroke:#467de3;stroke-width:1}body:has([data-showai-development]) .board-minimap{bottom:36px}@media(max-width:640px){.board-minimap{display:none}}@media print{.board-minimap,.board-lock-badge{display:none!important}.page-surface.has-board-grid>.surface-scroll>.surface-grid{display:none}}html[data-native=ios] .board-resize-handle{width:calc(40px * var(--board-inv, 1));height:calc(40px * var(--board-inv, 1))}.page-surface .surface-object.is-region.is-ink-archive-group,.surface-object.is-region.is-ink-archive-group{border:0;border-radius:0;background:transparent;box-shadow:none;min-width:1px;min-height:1px;overflow:visible;margin:0}.surface-object.is-region.is-ink-archive-group>.surface-object-content{position:relative;width:100%;height:100%;padding:0!important;min-width:1px;min-height:1px;overflow:visible}.ink-archive-local-space{position:absolute;left:0;top:0}
|
|
31
|
+
`);var Ms=Z(Me(),1),Fh=Z(Ln(),1);var A4="showai:agent-reference-request",Zh="showai:agent-reference-picked",I4="showai:agent-reference-display";var Vh=rt("assistant",{"zh-CN":{"reference.pick":"\u6807\u8BB0\u53C2\u8003\u4F4D\u7F6E","reference.pickHint":"\u70B9\u51FB\u4E00\u4E2A\u4F4D\u7F6E\uFF0C\u6216\u62D6\u52A8\u9009\u62E9\u53C2\u8003\u533A\u57DF \xB7 Esc \u53D6\u6D88","reference.point":"\u53C2\u8003\u4F4D\u7F6E","reference.region":"\u53C2\u8003\u533A\u57DF","reference.remove":"\u79FB\u9664\u4F4D\u7F6E\u53C2\u8003","reference.noCanvas":"\u8BF7\u5148\u6253\u5F00\u767D\u677F\uFF0C\u518D\u6807\u8BB0\u53C2\u8003\u4F4D\u7F6E\u3002","pageReference.copied":"\u5DF2\u4FDD\u5B58 \xB7 \u5F15\u7528\u7248\u672C {version} \xB7 \u5DF2\u590D\u5236\uFF0C\u53EF\u7C98\u8D34\u5230 Claude Code \u6216 Codex","pageReference.pageChanged":"\u9875\u9762\u5DF2\u5207\u6362\uFF0C\u8BF7\u91CD\u65B0\u5F15\u7528\u3002","pageReference.untitled":"\u672A\u547D\u540D\u9875\u9762","pageReference.headingSelection":"ShowAI \u5F15\u7528 \xB7 \u9009\u533A\uFF08{count} \u4E2A\u5757\uFF09\xB7\u300A{title}\u300B\xB7 \u7248\u672C {version}","pageReference.headingBoard":"ShowAI \u5F15\u7528 \xB7 Board \u4E2D {count} \u4E2A\u5BF9\u8C61 \xB7\u300A{title}\u300B\xB7 \u7248\u672C {version}","pageReference.headingBoardAll":"ShowAI \u5F15\u7528 \xB7 \u6574\u4E2A Board \xB7\u300A{title}\u300B\xB7 \u7248\u672C {version}","pageReference.headingPage":"ShowAI \u5F15\u7528 \xB7 \u6574\u9875 \xB7\u300A{title}\u300B\xB7 \u7248\u672C {version}","pageReference.copyPage":"\u590D\u5236\u9875\u9762\u5F15\u7528","componentState.remove":"\u79FB\u9664\u7EC4\u4EF6\u72B6\u6001\uFF0C\u4E0D\u968F\u6D88\u606F\u53D1\u9001","componentState.removeNamed":"\u79FB\u9664\u7EC4\u4EF6\u72B6\u6001\uFF1A{name}","componentState.sent":"\u968F\u6D88\u606F\u53D1\u9001\u7684\u7EC4\u4EF6\u5F53\u524D\u72B6\u6001\uFF08\u672A\u4FDD\u5B58\u5230\u9875\u9762\uFF09","panel.title":"AI \u5BF9\u8BDD","panel.toggle":"AI \u5BF9\u8BDD","panel.button":"Agent","panel.close":"\u5173\u95ED AI \u5BF9\u8BDD","panel.resize":"\u8C03\u6574 AI \u5BF9\u8BDD\u5BBD\u5EA6","panel.conversations":"\u5BF9\u8BDD\u8BB0\u5F55","panel.new":"\u65B0\u5BF9\u8BDD","panel.delete":"\u5220\u9664\u5BF9\u8BDD","panel.deleteConfirm":"\u5220\u9664\u300C{title}\u300D\u7684\u5168\u90E8\u8BB0\u5F55\uFF1F\u9875\u9762\u5185\u5BB9\u4E0D\u53D7\u5F71\u54CD\u3002","panel.deleteYes":"\u5220\u9664","panel.cancel":"\u53D6\u6D88","panel.empty":"\u4E5F\u53EF\u4EE5\u9009\u4E2D\u9875\u9762\u4E2D\u7684\u6587\u5B57\uFF0C\u9009\u62E9\u300C\u8BA9 AI \u5904\u7406\u300D\u3002","panel.noProject":"\u6253\u5F00\u9879\u76EE\u4E2D\u7684\u9875\u9762\u540E\u5373\u53EF\u4F7F\u7528 AI\u3002","panel.agentLocal":"\u6267\u884C\uFF1A{name}","panel.agentApi":"\u6267\u884C\uFF1A{source} \xB7 {model}","panel.settings":"Agent \u8BBE\u7F6E","panel.placeholder":"\u5411 AI \u63D0\u51FA\u8981\u6C42\uFF0CEnter \u53D1\u9001","panel.send":"\u53D1\u9001","panel.stop":"\u505C\u6B62","panel.steps":"\u6267\u884C\u6B65\u9AA4 \xB7 {count}","panel.running":"\u6B63\u5728\u6267\u884C\u2026","panel.connecting":"\u6B63\u5728\u8FDE\u63A5 Agent\u2026","panel.changed":"\u4FEE\u6539\u4E86 {count} \u5904","panel.changedPage":"\u9875\u9762\u5DF2\u4FEE\u6539","panel.locate":"\u5B9A\u4F4D\u4FEE\u6539","panel.undo":"\u64A4\u9500\u672C\u8F6E","panel.undone":"\u5DF2\u64A4\u9500","panel.reject":"\u62D2\u7EDD","panel.saveFirst":"\u9875\u9762\u6709\u672A\u4FDD\u5B58\u6216\u51B2\u7A81\u7684\u4FEE\u6539\uFF0C\u8BF7\u5148\u5904\u7406\u540E\u518D\u53D1\u9001\u3002","panel.startedNew":"\u65B0\u5BF9\u8BDD","panel.sendTo":"\u53D1\u9001\u5230\u300C{title}\u300D","panel.sendToNew":"\u5C06\u5F00\u59CB\u65B0\u5BF9\u8BDD","panel.useNew":"\u6539\u4E3A\u65B0\u5BF9\u8BDD","panel.useCurrent":"\u7EE7\u7EED\u5F53\u524D\u5BF9\u8BDD","target.page":"\u6574\u4E2A\u9875\u9762","target.pageNamed":"\u9875\u9762\u300C{title}\u300D","target.text":"\u9009\u4E2D\u6587\u5B57","target.blocks":"{count} \u4E2A\u5185\u5BB9\u5757","target.board":"{count} \u4E2A\u767D\u677F\u5BF9\u8C61","target.remove":"\u6539\u4E3A\u6574\u4E2A\u9875\u9762","composer.label":"\u8BA9 AI \u5904\u7406","composer.close":"\u5173\u95ED","quick.label":"\u5FEB\u6377\u64CD\u4F5C","quick.polish":"\u6DA6\u8272","quick.polishPrompt":"\u6DA6\u8272\u6539\u5199\u6240\u9009\u5185\u5BB9\uFF0C\u4FDD\u6301\u539F\u610F\u548C\u7ED3\u6784\u3002","quick.shorten":"\u7CBE\u7B80","quick.shortenPrompt":"\u7CBE\u7B80\u6240\u9009\u5185\u5BB9\uFF0C\u4FDD\u7559\u5173\u952E\u4FE1\u606F\u3002","quick.expand":"\u6269\u5199","quick.expandPrompt":"\u6269\u5199\u6240\u9009\u5185\u5BB9\uFF0C\u8865\u5145\u7EC6\u8282\u548C\u4F8B\u5B50\uFF0C\u4FDD\u6301\u539F\u6709\u8BED\u6C14\u3002","quick.translate":"\u7FFB\u8BD1","quick.translatePrompt":"\u7FFB\u8BD1\u6240\u9009\u5185\u5BB9\u5E76\u66FF\u6362\u539F\u6587\uFF1A\u4E2D\u6587\u8BD1\u4E3A\u82F1\u6587\uFF0C\u5176\u4ED6\u8BED\u8A00\u8BD1\u4E3A\u4E2D\u6587\u3002","quick.visualize":"\u53EF\u89C6\u5316","quick.visualizePrompt":"\u628A\u6240\u9009\u5185\u5BB9\u6539\u6210\u5408\u9002\u7684\u53EF\u89C6\u5316\u7EC4\u4EF6\uFF08\u56FE\u8868\u3001\u6D41\u7A0B\u56FE\u6216\u8868\u683C\uFF09\uFF0C\u4FDD\u7559\u5168\u90E8\u4FE1\u606F\u3002","quick.explain":"\u89E3\u91CA","quick.explainPrompt":"\u89E3\u91CA\u6240\u9009\u5185\u5BB9\u7684\u542B\u4E49\u548C\u8981\u70B9\u3002\u53EA\u5728\u5BF9\u8BDD\u4E2D\u56DE\u7B54\uFF0C\u4E0D\u8981\u4FEE\u6539\u9875\u9762\u3002"},en:{"reference.pick":"Mark a reference location","reference.pickHint":"Click a point or drag a reference area \xB7 Esc to cancel","reference.point":"Reference point","reference.region":"Reference area","reference.remove":"Remove location reference","reference.noCanvas":"Open a Board before marking a reference location.","pageReference.copied":"Saved \xB7 referencing version {version} \xB7 copied to paste into Claude Code or Codex","pageReference.pageChanged":"The page changed. Reference it again.","pageReference.untitled":"Untitled page","pageReference.headingSelection":{one:"ShowAI reference \xB7 selection ({count} block) \xB7 \u201C{title}\u201D \xB7 version {version}",other:"ShowAI reference \xB7 selection ({count} blocks) \xB7 \u201C{title}\u201D \xB7 version {version}"},"pageReference.headingBoard":{one:"ShowAI reference \xB7 {count} Board object \xB7 \u201C{title}\u201D \xB7 version {version}",other:"ShowAI reference \xB7 {count} Board objects \xB7 \u201C{title}\u201D \xB7 version {version}"},"pageReference.headingBoardAll":"ShowAI reference \xB7 whole Board \xB7 \u201C{title}\u201D \xB7 version {version}","pageReference.headingPage":"ShowAI reference \xB7 whole page \xB7 \u201C{title}\u201D \xB7 version {version}","pageReference.copyPage":"Copy page reference","componentState.remove":"Remove this component state from the message","componentState.removeNamed":"Remove component state: {name}","componentState.sent":"Current component state sent with the message (not saved to the page)","panel.title":"AI chat","panel.toggle":"AI chat","panel.button":"Agent","panel.close":"Close AI chat","panel.resize":"Resize AI chat","panel.conversations":"Conversations","panel.new":"New conversation","panel.delete":"Delete conversation","panel.deleteConfirm":"Delete all records of \u201C{title}\u201D? Page content isn't affected.","panel.deleteYes":"Delete","panel.cancel":"Cancel","panel.empty":"You can also select text on the page and choose \u201CAsk AI\u201D.","panel.noProject":"Open a page in a project to use AI.","panel.agentLocal":"Runs with {name}","panel.agentApi":"Runs with {source} \xB7 {model}","panel.settings":"Agent settings","panel.placeholder":"Ask AI. Press Enter to send","panel.send":"Send","panel.stop":"Stop","panel.steps":"Steps \xB7 {count}","panel.running":"Working\u2026","panel.connecting":"Connecting to Agent\u2026","panel.changed":{one:"Changed {count} item",other:"Changed {count} items"},"panel.changedPage":"Page changed","panel.locate":"Show changes","panel.undo":"Undo this turn","panel.undone":"Undone","panel.reject":"Deny","panel.saveFirst":"The page has unsaved or conflicting changes. Resolve them before sending.","panel.startedNew":"New conversation","panel.sendTo":"Sends to \u201C{title}\u201D","panel.sendToNew":"Starts a new conversation","panel.useNew":"Use a new conversation","panel.useCurrent":"Continue the current conversation","target.page":"Whole page","target.pageNamed":"Page \u201C{title}\u201D","target.text":"Selected text","target.blocks":{one:"{count} block",other:"{count} blocks"},"target.board":{one:"{count} whiteboard object",other:"{count} whiteboard objects"},"target.remove":"Use the whole page","composer.label":"Ask AI","composer.close":"Close","quick.label":"Quick actions","quick.polish":"Polish","quick.polishPrompt":"Polish the selected content, keeping its meaning and structure.","quick.shorten":"Shorten","quick.shortenPrompt":"Shorten the selected content while keeping the key information.","quick.expand":"Expand","quick.expandPrompt":"Expand the selected content with details and examples in the same tone.","quick.translate":"Translate","quick.translatePrompt":"Translate the selected content in place: Chinese into English, other languages into Chinese.","quick.visualize":"Visualize","quick.visualizePrompt":"Turn the selected content into a suitable visual component (chart, flow diagram or table), keeping all information.","quick.explain":"Explain","quick.explainPrompt":"Explain what the selected content means and its key points. Answer in the conversation only; don't change the page."}});var R4=new Map,RS=new Set,Gh=()=>RS.forEach(e=>e());function qh(e){let t=Symbol(),a=R4.get(e)??new Set;return a.add(t),R4.set(e,a),Gh(),()=>{a.delete(t),a.size||R4.delete(e),Gh()}}var An=Z(de(),1);function Wh({pageId:e,surfaceId:t,enabled:a,root:n,world:o,point:r}){let i=se(Vh),[l,s]=(0,Ms.useState)(null),[c,d]=(0,Ms.useState)(null),[u,p]=(0,Ms.useState)(null);(0,Ms.useEffect)(()=>{if(!a){s(null),p(null);return}let y=m=>{let v=m.detail;m.defaultPrevented||v?.pageId!==e||(m.preventDefault(),d(null),s(v.id))},f=m=>{let v=m.detail;v?.pageId===e&&d(v.reference?.surfaceId===t?v.reference:null)},w=m=>{m.key==="Escape"&&(s(null),p(null))};window.addEventListener(A4,y),window.addEventListener(I4,f),window.addEventListener("keydown",w);let h=qh(e);return()=>{window.removeEventListener(A4,y),window.removeEventListener(I4,f),window.removeEventListener("keydown",w),h()}},[a,e,t]);let b=(y,f)=>{let w=n.current.getBoundingClientRect();return{x:y-w.left,y:f-w.top}};return(0,An.jsxs)(An.Fragment,{children:[c&&o.current&&(0,Fh.createPortal)((0,An.jsx)("svg",{className:"agent-reference-preview",width:"1",height:"1","aria-hidden":"true",children:c.kind==="region"?(0,An.jsx)("rect",{x:c.x,y:c.y,width:c.width,height:c.height,vectorEffect:"non-scaling-stroke"}):(0,An.jsxs)("g",{transform:`translate(${c.x},${c.y})`,children:[(0,An.jsx)("circle",{r:"12",vectorEffect:"non-scaling-stroke"}),(0,An.jsx)("path",{d:"M-18 0H18M0-18V18",vectorEffect:"non-scaling-stroke"})]})}),o.current),a&&l&&(0,An.jsxs)("div",{className:"agent-reference-picker","data-surface-ui":!0,role:"region","aria-label":i("reference.pick"),onPointerDown:y=>{if(y.button!==0)return;y.preventDefault(),y.stopPropagation(),y.currentTarget.setPointerCapture(y.pointerId);let f={x:y.clientX,y:y.clientY};p({start:f,end:f})},onPointerMove:y=>{u&&p({...u,end:{x:y.clientX,y:y.clientY}})},onPointerCancel:()=>{p(null),s(null)},onPointerUp:y=>{if(!u)return;y.preventDefault(),y.stopPropagation();let f=r(u.start.x,u.start.y),w=r(y.clientX,y.clientY),m=Math.hypot(y.clientX-u.start.x,y.clientY-u.start.y)>8?{surfaceId:t,kind:"region",x:Math.min(f.x,w.x),y:Math.min(f.y,w.y),width:Math.abs(w.x-f.x),height:Math.abs(w.y-f.y)}:{surfaceId:t,kind:"point",...f};d(m),window.dispatchEvent(new CustomEvent(Zh,{detail:{id:l,pageId:e,reference:m}})),p(null),s(null)},children:[(0,An.jsx)("span",{className:"agent-reference-hint",children:i("reference.pickHint")}),u&&(0,An.jsx)("span",{className:"agent-reference-marquee",style:{left:Math.min(b(u.start.x,u.start.y).x,b(u.end.x,u.end.y).x),top:Math.min(b(u.start.x,u.start.y).y,b(u.end.x,u.end.y).y),width:Math.abs(u.end.x-u.start.x),height:Math.abs(u.end.y-u.start.y)}})]})]})}var X=Z(de(),1),Kh='input,textarea,select,button,a,summary,[role="slider"],iframe,[data-surface-gesture="own"],.react-flow',LS={x:45,y:27},Yh={x:28,y:30},ld=null,L4="application/x-showai-board+json";function P4(e,t,a){let n=t===void 0?null:document.elementFromPoint(t,a)?.closest('[contenteditable="true"]'),o=n&&e.contains(n)?n:e.querySelector('[contenteditable="true"]');if(!o)return!1;o.focus({preventScroll:!0});let r=null;if(t!==void 0){let l=document;if(l.caretRangeFromPoint)r=l.caretRangeFromPoint(t,a);else{let s=l.caretPositionFromPoint?.(t,a);s&&(r=document.createRange(),r.setStart(s.offsetNode,s.offset))}}(!r||!o.contains(r.startContainer))&&(r=document.createRange(),r.selectNodeContents(o),r.collapse(!1));let i=window.getSelection();return i?.removeAllRanges(),i?.addRange(r),!0}function H4({children:e,boardDocument:t,geometry:a,containerId:n,onTransform:o,onDuplicate:r,onDeleteSelection:i,onCopyObjects:l,onPasteObjects:s,onReorder:c,onUngroup:d,onLock:u,ref:p,pageId:b,nodes:y,layoutKey:f,paths:w,views:h,header:m,selected:v,onSelect:T,onMove:x,onConnect:E,onRemove:P,onInspect:U,onViews:S,extraActions:k,enabled:A=!0,embedded:L=!0,printing:C=!1,onExpand:I,drawTool:D,drawColor:N="#252629",drawFillColor:_="none",drawStrokeWidth:j=2.5,drawPressure:F=!0,onStyleChange:q,onLabel:J,onTidy:V,onAddComponent:pe,onOpenComponents:G,onDraw:O,onDrawExit:z,onToolChange:H}){let M=se(Qe),oe=(0,$e.useContext)(ys),fe=typeof document<"u"&&document.documentElement.dataset.native==="ios",[ue,Se]=(0,$e.useState)(null),[Re,Pe]=(0,$e.useState)(null),Fe=(0,$e.useRef)(W2()).current,[Nt,ze]=(0,$e.useState)(null),Ke=v===void 0?ue:v,W=T??Se,ye=I6("board",`showai.viewport-lock.v1:board:${b.replace(/:(expanded|embedded)$/,"")}`),he=L&&ye.locked,Ne=D&&!["pan","eraser","lasso","text"].includes(D)?D:null,We=D==="pan"?"hand":D==="text"?"text":null,it=(0,$e.useRef)(!1);it.current=We==="hand";let{rootRef:Ge,scrollRef:le,worldRef:De,camera:be,controls:me,scale:Be}=_h(f,x?`showai.viewport.v3:${b}`:void 0,A&&!he,{reading:!x,anchorScreen:!L,panMode:it}),[et,ae]=(0,$e.useState)(!1),te=fh({root:Ge,world:De,camera:be,document:t,boardId:n??"",tool:D,color:N,width:j,pressure:F,ruler:et,enabled:A&&!he&&!!O&&!C,onCamera:(g,B)=>me.current.navigateTo(g,B),onClearSelection:()=>Y.select(null),selection:()=>[...Y.ids],onSelection:g=>Y.selectIds(g),onLayout:g=>o?.(g,"native-board"),onDrawing:(g,B)=>O?.(g,B),onActivate:g=>I?.(g),fillColor:_,onShapeGesture:g=>{let B={clientX:g.x,clientY:g.y,altKey:!1,shiftKey:!1};g.phase==="began"?(Y.select(g.id),Y.start(g.id,"move",B)&&me.current.objectGesture(!0)):g.phase==="cancelled"?(Y.cancel(),me.current.objectGesture(!1)):(Y.update(B),g.phase==="ended"&&(Y.finish(),me.current.objectGesture(!1)))},onTool:g=>{if(g==="settings")Ge.current?.querySelector(".board-color-picker > summary")?.click();else if(g==="select")H?.(null);else switch(g){case"pen":case"highlighter":case"eraser":case"rectangle":case"ellipse":case"arrow":case"region":case"pan":case"lasso":case"text":H?.(g)}}}),Y=uh({geometry:a,document:t,containerId:n,world:De,camera:be,onTransform:he?void 0:o,onSelect:W,selected:Ke}),Ce=!!o&&!he,tt=()=>requestAnimationFrame(()=>Ge.current?.focus({preventScroll:!0})),ut=g=>{let B=r?.(g);B?.length&&(Y.selectIds(B),tt())},Zt=g=>t?.layout?.[g],kt=[...Y.ids],si=kt.length>0&&kt.every(g=>Zt(g)?.locked),ci=kt.length===1&&t&&at(t,kt[0])?.node.type==="region"&&Zt(kt[0])?.mode==="free"?kt[0]:null,Is=g=>{let B=g?De.current?.querySelector(`[data-surface-id="${CSS.escape(g)}"]`):null,ne=B?.querySelector(":scope > .surface-object-content .surface-layout-free");if(!B||!ne||!B.offsetWidth)return LS;let ke=B.getBoundingClientRect(),Ee=ne.getBoundingClientRect(),Ze=ke.width/B.offsetWidth||1;return{x:(Ee.left-ke.left)/Ze,y:(Ee.top-ke.top)/Ze}},di=(g,B=!1)=>{let ne=l?.(g);return ne?(ld=ne,B&&(i?.(g),Y.select(null)),ne):null},gr=(0,$e.useRef)(null),Qi=(g,B=gr.current&&me.current.point(gr.current.x,gr.current.y))=>{let ne=s?.(g,B);ne?.length&&(Y.selectIds(ne),tt())},go=(g,B)=>g.length&&c?.(g,B),$i=g=>{let B=kt.filter(Ee=>!Zt(Ee)?.locked),ne=jb(Y.measured(B),g),ke={};for(let[Ee,Ze]of Object.entries(ne)){let Oe=Zt(Ee);Oe&&(Math.abs(Ze.x)>1e-6||Math.abs(Ze.y)>1e-6)&&(ke[Ee]={...Oe,x:Oe.x+Ze.x,y:Oe.y+Ze.y})}Object.keys(ke).length&&o?.(ke)},el=g=>{let B=d?.(g,Is(g));B?.length&&(Y.selectIds(B),tt())},ui=g=>g.length&&u?.(g,!g.every(B=>Zt(B)?.locked)),[Vt,bo]=(0,$e.useState)(null),Rs=(g,B)=>{if(!o||he||g.closest("[contenteditable]")?.getAttribute("contenteditable")==="true"||g.closest('input,textarea,select,iframe,video,audio,[data-editor-keyboard-scope],[data-surface-gesture="own"],.react-flow'))return!1;let ne=g.closest(".surface-object");if(!ne||ne.closest(".page-surface")!==Ge.current)return!1;let ke=ne.dataset.surfaceId,Ee=Y.ids.has(ke)?[...Y.ids]:[ke];return Y.ids.has(ke)||Y.select(ke),bo({anchor:ne,point:B,id:ke,ids:Ee,container:ne.classList.contains("is-container")}),!0},R=(0,$e.useRef)(!1),$=(0,$e.useRef)(null),xe=(0,$e.useRef)(null),we=(0,$e.useRef)({id:"",since:0,until:0}),He=(0,$e.useRef)(0),ua=(0,$e.useRef)(null),ho=(g,B,ne)=>{let ke=null;if(g!==null&&Number.isFinite(g)&&Number.isFinite(B)){let Ee=Y.hitTest(g,B);Ee&&Ee.id!==ne&&!(Ee.node.type==="drawing"&&Ee.node.attrs?.tool==="arrow")&&(ke=Ee.element)}ke!==ua.current&&(ua.current?.classList.remove("is-bind-target"),ke?.classList.add("is-bind-target"),ua.current=ke)},Pa=()=>{cancelAnimationFrame(He.current),xe.current?.classList.remove("is-hovered"),xe.current=null,Ge.current?.classList.remove("has-drawing-hit")},Jt=(0,$e.useRef)({frame:0,x:0,y:0}),la=()=>{cancelAnimationFrame(Jt.current.frame),Jt.current={frame:0,x:0,y:0}},pi=(g,B)=>{let ne=Ge.current;if(!ne)return;let ke=ne.getBoundingClientRect(),Ee=40,Ze=16,Oe=(Ae,gn,ya)=>ya<Ae+Ee?Math.min(Ee,Ae+Ee-ya)/Ee*Ze:ya>gn-Ee?-(Math.min(Ee,ya-(gn-Ee))/Ee)*Ze:0;if(Jt.current.x=Oe(ke.left,ke.right,g),Jt.current.y=Oe(ke.top,ke.bottom,B),(Jt.current.x||Jt.current.y)&&!Jt.current.frame){let Ae=()=>{let{x:gn,y:ya}=Jt.current;if(!gn&&!ya){Jt.current.frame=0;return}me.current.panBy(gn,ya),Jt.current.frame=requestAnimationFrame(Ae)};Jt.current.frame=requestAnimationFrame(Ae)}},pa=()=>{let g=$.current?.pointer;$.current=null,la(),Y.cancel(),me.current.objectGesture(!1),g!==void 0&&Ge.current?.hasPointerCapture(g)&&Ge.current.releasePointerCapture(g)},fn=(0,$e.useRef)(null),br=(g=!1)=>{let B=fn.current;B?.element.remove(),fn.current=null,la(),g&&B&&Y.selectIds(B.base),B&&Ge.current?.hasPointerCapture(B.id)&&Ge.current.releasePointerCapture(B.id)},c5=()=>{let g=fn.current;if(!g)return;let B=me.current.point(g.last.x,g.last.y);g.next={x:Math.min(g.start.x,B.x),y:Math.min(g.start.y,B.y),width:Math.abs(B.x-g.start.x),height:Math.abs(B.y-g.start.y)},Y.marquee(g.next,g.last.shift,g.base,g.last.wrap),Object.assign(g.element.style,{left:`${g.next.x}px`,top:`${g.next.y}px`,width:`${g.next.width}px`,height:`${g.next.height}px`})};(0,$e.useEffect)(()=>{let g=Ge.current,B=ne=>{ne.target===g&&($.current?.moved&&Y.update($.current.input),fn.current&&c5())};return g.addEventListener("showai:viewport-change",B),()=>g.removeEventListener("showai:viewport-change",B)}),(0,$e.useEffect)(()=>{let g=()=>{R.current=!1,br(!0),pa(),Pa()};window.addEventListener("blur",g);let B=Ge.current;return B?.addEventListener("showai-board-pinch",g),()=>{window.removeEventListener("blur",g),B?.removeEventListener("showai-board-pinch",g),g()}},[]);let[d5,u5]=(0,$e.useState)(!1),[p5,m5]=(0,$e.useState)(new Set),[o1,f5]=(0,$e.useState)(""),[g5,xv]=(0,$e.useState)(()=>{try{return localStorage.getItem("showai.board-minimap")==="true"}catch{return!1}}),wv=()=>xv(g=>{try{localStorage.setItem("showai.board-minimap",String(!g))}catch{}return!g}),b5=(0,$e.useRef)(!1),hr=(0,$e.useRef)({first:0,second:0});(0,$e.useEffect)(()=>{let g=()=>(0,B4.flushSync)(()=>u5(!0));return window.addEventListener("beforeprint",g),()=>{window.removeEventListener("beforeprint",g),cancelAnimationFrame(hr.current.first),cancelAnimationFrame(hr.current.second)}},[]),(0,$e.useLayoutEffect)(()=>{let g=Ge.current,B=De.current;if(!C)return;let ne=()=>{let Ee=[...B.children].filter(pt=>pt instanceof HTMLElement);if(!Ee.length)return;let Ze=Ee.map(pt=>({x:parseFloat(pt.style.left)||0,y:parseFloat(pt.style.top)||0,width:pt.offsetWidth,height:pt.offsetHeight})),Oe=Math.min(...Ze.map(pt=>pt.x))-12,Ae=Math.min(...Ze.map(pt=>pt.y))-12,gn=Math.max(...Ze.map(pt=>pt.x+pt.width))-Oe+12,ya=Math.max(...Ze.map(pt=>pt.y+pt.height))-Ae+12,Rn=Math.min(1,Math.max(1,g.clientWidth)/Math.max(1,gn),1e3/Math.max(1,ya)),yr=g.querySelector(":scope > .surface-metadata")?.offsetHeight??0;g.style.setProperty("--board-print-height",`${ya*Rn+yr}px`),g.style.setProperty("--board-print-transform",`translateY(${yr}px) scale(${Rn}) translate(${-Oe}px,${-Ae}px)`)};ne();let ke=new ResizeObserver(ne);ke.observe(g);for(let Ee of B.children)ke.observe(Ee);return()=>{ke.disconnect(),g.style.removeProperty("--board-print-height"),g.style.removeProperty("--board-print-transform")}},[C,y.length]);let In=(0,$e.useRef)(null),Fo=(g,B=!1,ne=!1)=>{g?.length?m5(ke=>new Set([...ke,...g.flatMap(Ee=>[...w[Ee]??[],Ee])])):u5(!0),cancelAnimationFrame(hr.current.first),cancelAnimationFrame(hr.current.second),hr.current.first=requestAnimationFrame(()=>hr.current.second=requestAnimationFrame(()=>{B&&g?.[0]?me.current.focus(g[0],ne):me.current.fit(g,ne)}))};(0,$e.useEffect)(()=>{if(b5.current)return;if(b5.current=!0,Fe){me.current.moveTo(Fe.cameras?.[n]??{x:0,y:0,scale:1},!0);return}if(me.current.restored&&(!me.current.restoredAnchor||Object.hasOwn(w,me.current.restoredAnchor))){let B=me.current.restoredTargets,ne=B.filter(ke=>Object.hasOwn(w,ke));if(!B.length||ne.length){m5(new Set(ne.flatMap(ke=>[...w[ke]??[],ke]))),hr.current.first=requestAnimationFrame(()=>{hr.current.second=requestAnimationFrame(()=>me.current.restore())});return}}let g=h.saved.find(B=>B.id===h.initial);g?Fo(g.targets,!1,!0):y[0]&&Fo([y[0].id],!0,!0)},[]);let zd=(0,$e.useRef)(null);(0,$e.useEffect)(()=>()=>zd.current?.cancel(),[]);let h5=g=>{zd.current?.cancel();let B=De.current;if(!B)return;let ne=!1,ke=()=>{ne=!0,Ze.disconnect(),clearTimeout(Oe)},Ee=()=>{if(ne)return;let Ae=B.querySelector(`[data-surface-id="${CSS.escape(g)}"]`);Ae&&P4(Ae)&&ke()},Ze=new MutationObserver(Ee),Oe=setTimeout(ke,5e3);Ze.observe(B,{childList:!0,subtree:!0}),zd.current={cancel:ke},requestAnimationFrame(Ee)};(0,$e.useImperativeHandle)(p,()=>({scale:()=>be.current.scale*(Ge.current.getBoundingClientRect().width/Ge.current.clientWidth||1),insertPosition:()=>{let g=Ge.current,B=be.current;return{x:(g.clientWidth/2-B.x)/B.scale,y:(g.clientHeight/3-B.y)/B.scale,width:360}},reveal:g=>Fo([g],!0),point:(g,B)=>me.current.point(g,B),edit:h5}));let Ed=g=>{let B=pe?.("text",{x:g.x-Yh.x,y:g.y-Yh.y});B&&(Y.selectIds([B]),h5(B))},y5=new Map(y.map(g=>[g.id,g.name])),Dd=Ke?[Ke]:In.current?.open?[...De.current?.querySelectorAll("[data-surface-id]")??[]].filter(g=>{let B=g.getBoundingClientRect(),ne=Ge.current.getBoundingClientRect();return B.right>ne.left&&B.left<ne.right&&B.bottom>ne.top&&B.top<ne.bottom}).map(g=>g.dataset.surfaceId):[],kv=()=>{if(!o1.trim()||!S||!Dd.length)return;let g={id:crypto.randomUUID(),name:o1.trim(),targets:Dd};S({...h,saved:[...h.saved,g]}),f5("")},mi=t?kt.flatMap(g=>{let B=at(t,g)?.node;return B?[B]:[]}):[],Sv=mi.length===1&&mi[0].type==="surface",v5=()=>kt.length&&(kt.length===1?Fo(kt,!0):Fo(kt)),Cv=!!V&&!!t&&kt.length>1&&(()=>{let g=new Set(kt);return((n&&at(t,n)?.node||t.content).content??[]).some(ne=>ne.type==="drawing"&&ne.attrs?.tool==="arrow"&&g.has(ne.attrs.bindings?.start?.targetId)&&g.has(ne.attrs.bindings?.end?.targetId))})(),x5=[["left",M("align.left"),(0,X.jsx)(Id,{size:14}),"\u2325A"],["center",M("align.center"),(0,X.jsx)(T5,{size:14}),"\u2325H"],["right",M("align.right"),(0,X.jsx)(E5,{size:14}),"\u2325D"],["top",M("align.top"),(0,X.jsx)(M5,{size:14}),"\u2325W"],["middle",M("align.middle"),(0,X.jsx)(C5,{size:14}),"\u2325V"],["bottom",M("align.bottom"),(0,X.jsx)(z5,{size:14}),"\u2325S"],["distribute-x",M("align.distributeX"),(0,X.jsx)(D5,{size:14}),"\u2325\u21E7H"],["distribute-y",M("align.distributeY"),(0,X.jsx)(N5,{size:14}),"\u2325\u21E7V"]],Md=(g,B)=>({kind:"board",blockIds:g.slice(0,100),surfaceId:n??t?.content.attrs?.id,anchor:B}),w5=(g,B)=>oe?.open(Md(g,B)),Tv=(g,B,ne)=>{let ke=g.length>1,Ee=g.every(ya=>Zt(ya)?.locked),Ze=g.length===1&&t&&at(t,B)?.node.type==="region"&&Zt(B)?.mode==="free",Oe=Vt?.point??{x:0,y:0},Ae={left:Oe.x,top:Oe.y,bottom:Oe.y};return[...oe?[{label:M("menu.assistant"),icon:(0,X.jsx)(Gd,{size:14}),onSelect:()=>w5(g,Ae)},{label:M("menu.reference",{count:g.length}),icon:(0,X.jsx)(gi,{size:14}),onSelect:()=>oe.reference(Md(g,Ae))}]:[],{label:ke?M("menu.duplicateMany",{count:g.length}):M("menu.duplicate"),separatorBefore:!!oe,icon:(0,X.jsx)(c1,{size:14}),shortcut:"\u2318D",onSelect:()=>ut(g)},{label:M("menu.copy"),icon:(0,X.jsx)(Od,{size:14}),shortcut:"\u2318C",disabled:!l,onSelect:()=>di(g)},{label:M("menu.cut"),icon:(0,X.jsx)(im,{size:14}),shortcut:"\u2318X",disabled:!l,onSelect:()=>di(g,!0)},{label:M("order.front"),icon:(0,X.jsx)(Pd,{size:14}),shortcut:"\u21E7]",separatorBefore:!0,onSelect:()=>go(g,"front")},{label:M("order.forward"),icon:(0,X.jsx)(P5,{size:14}),shortcut:"]",onSelect:()=>go(g,"forward")},{label:M("order.backward"),icon:(0,X.jsx)(nl,{size:14}),shortcut:"[",onSelect:()=>go(g,"backward")},{label:M("order.back"),icon:(0,X.jsx)(Vd,{size:14}),shortcut:"\u21E7[",onSelect:()=>go(g,"back")},...ke?x5.map(([ya,Rn,yr,pt],r1)=>({label:Rn,icon:yr,shortcut:pt,separatorBefore:r1===0,disabled:ya.startsWith("distribute")&&g.length<3,onSelect:()=>$i(ya)})):[],...Ze?[{label:M("region.ungroup"),icon:(0,X.jsx)(Fd,{size:14}),shortcut:"\u21E7\u2318G",separatorBefore:!0,onSelect:()=>el(B)}]:[],{label:M(Ee?"lock.unlock":"lock.lock"),icon:Ee?(0,X.jsx)(Ud,{size:14}):(0,X.jsx)(Ps,{size:14}),shortcut:"\u21E7\u2318L",onSelect:()=>ui(g)},{label:M("menu.settings"),icon:(0,X.jsx)(kr,{size:14}),onSelect:()=>{Y.selectIds([B]),U?.(B)}},...ne?[{label:M("menu.expand"),icon:(0,X.jsx)(ol,{size:14}),onSelect:()=>I?.(B)}]:[],{label:ke?M("menu.deleteMany",{count:g.length}):M("menu.delete"),icon:(0,X.jsx)(Qt,{size:14}),danger:!0,separatorBefore:!0,onSelect:()=>{i?.(g),Y.select(null)}}]},k5=g=>{if(!Ce||!J||!t)return!1;let B=at(t,g);return!!B&&wo(B.node)&&(B.parent?.attrs?.id??t.content.attrs?.id)===(n??t.content.attrs?.id)&&!Zt(g)?.locked},zv=(g,B)=>{if(D||g.closest(".page-surface")!==Ge.current||g.closest("[data-surface-ui]"))return!1;let ne=Y.hitTest(B.clientX,B.clientY);return!ne||!k5(ne.id)?!1:(B.preventDefault(),Y.select(ne.id),Pe(ne.id),!0)},Ev=(0,$e.useMemo)(()=>({componentActionsHost:Nt,nativeScene:te,get scale(){return be.current.scale},geometry:a,selected:Ke,select:o?Y.select:W,board:o&&!he?Y:void 0,inspect:U,expand:I,remove:P,move:he?void 0:x,connect:he?void 0:E,highlightTarget:ho,labelEditing:Re,editLabel:Pe,setLabel:he?void 0:J,readOnly:!x,revealAll:d5||C||!!Fe,revealed:p5}),[Nt,te,a,Ke,[...Y.ids].join(":"),o,he,U,I,P,x,E,Re,J,d5,C,p5,t]);return(0,X.jsx)(Ua.Provider,{value:Ev,children:(0,X.jsxs)("div",{ref:g=>{Ge.current=g,ye.ref.current=g},className:`page-surface${Vt?" has-object-menu":""}${x&&!L&&!C&&!Fe?" has-board-grid":""}${We==="hand"?" is-hand-tool":""}${We==="text"?" is-text-tool":""}`,"data-input-surface":A&&!he?b:void 0,"data-viewport-lock-scope":L?"board":void 0,"data-viewport-locked":he,"data-board-id":b,"data-board-tool":D??"select",onContextMenu:g=>{if(U?.(null),$.current||fn.current||g.target.closest('[data-drawing-active="true"]')){g.preventDefault(),g.stopPropagation();return}let B=g.target,ne=Y.selectionTarget(g.clientX,g.clientY);In.current&&(In.current.open=!1),Rs(ne&&!B.closest(Kh)?ne.element:B,{x:g.clientX,y:g.clientY})?(g.preventDefault(),g.stopPropagation()):pe&&o&&!he&&B.closest(".page-surface")===g.currentTarget&&!B.closest('[data-surface-ui],input,textarea,select,[contenteditable=true],[data-surface-gesture="own"],.react-flow')&&(g.preventDefault(),g.stopPropagation(),bo({anchor:g.currentTarget,point:{x:g.clientX,y:g.clientY},id:"",ids:[],container:!1,insertion:me.current.point(g.clientX,g.clientY)}))},onDoubleClick:g=>{let B=g.target;zv(B,g)||!Ce||!pe||D||We==="hand"||B.closest(".page-surface")!==g.currentTarget||B.closest("[data-surface-content],[data-surface-ui]")||Y.hitTest(g.clientX,g.clientY)||(g.preventDefault(),Ed(me.current.point(g.clientX,g.clientY)))},onPointerDownCapture:g=>{let B=g.target;if(B.closest(".page-surface")!==g.currentTarget||B.closest("[data-surface-ui]")&&!B.closest(".board-resize-handle,.surface-object-rotate,.board-arrow-endpoint")||g.pointerType==="touch"&&!g.isPrimary)return;let ne=!D||g.pointerType==="touch"?Y.selectionTarget(g.clientX,g.clientY):Y.hitTest(g.clientX,g.clientY),ke=Y.selectionHit(g.clientX,g.clientY),Ee=g.pointerType==="touch"&&!!ke;!ne&&!ke&&g.button===0&&!g.shiftKey&&!R.current&&!B.closest("[data-surface-ui], [data-surface-content]")&&Y.select(null);let Ze=Cs(ne?.node)||!D&&ne?.node.type==="drawing"?ne.id:B.closest('[data-board-shape="true"]')?.dataset.surfaceId,Oe=!!Ze&&g.pointerType==="touch";if(Ze&&g.pointerType==="touch"&&g.button===0&&o&&!he&&!Y.ids.has(Ze)&&!B.closest("[data-surface-ui]")){g.preventDefault(),me.current.cancel(),br(),Y.select(Ze),bo(null);return}if(Ze&&g.pointerType==="pen"&&D&&!B.closest("[data-resize-direction],.surface-object-rotate")){!Ne&&D!=="eraser"&&D!=="lasso"&&(g.preventDefault(),g.stopPropagation());return}if(["pan","eraser"].includes(D??"")&&!Oe&&!B.closest("[data-surface-ui]")||ur(g.pointerType)&&!Oe&&!Ee&&!B.closest("[data-surface-ui],button,input,textarea,select,iframe,[contenteditable=true]")||B.closest(".page-surface")!==g.currentTarget)return;if(!B.closest(".surface-popover-anchor")&&In.current&&(In.current.open=!1),B.closest("[data-surface-ui]")||bo(null),We==="text"&&!Oe&&Ce&&g.button===0&&!R.current&&!B.closest("[data-surface-ui]")){g.preventDefault(),g.stopPropagation(),Ed(me.current.point(g.clientX,g.clientY));return}let Ae=B.closest(".board-resize-handle,.surface-object-rotate")??(D&&B.closest("[data-board-drawing-input]")?[...De.current?.querySelectorAll(".surface-object.is-selected > .board-resize-handle, .surface-object.is-selected > .surface-object-rotate, .board-group-outline > .board-resize-handle")??[]].find(eo=>{let bn=eo.getBoundingClientRect();return g.clientX>=bn.left-4&&g.clientX<=bn.right+4&&g.clientY>=bn.top-4&&g.clientY<=bn.bottom+4}):void 0),gn=D&&D!=="arrow"?Y.edgeHit(g.clientX,g.clientY):null,ya=!!gn&&D!=="pen"&&D!=="highlighter"&&we.current.id===gn.id&&performance.now()>=we.current.since+180&&(xe.current===gn.element||performance.now()<=we.current.until);if((B.closest("[data-surface-handle]")||g.pointerType!=="touch"&&B.closest("[data-board-drawing-input]"))&&(br(),me.current.cancel()),!o||he||D&&!Oe&&!Ee&&!ya&&!Ae&&!(D==="lasso"&&ke)||g.button!==0||g.pointerType==="touch"&&!Ae&&!Oe&&!Ee||R.current&&!Oe||it.current&&!Oe||!Ae&&B.closest("[data-surface-handle]")||!Ae&&B.closest("[data-surface-ui]")||!Ae&&B.closest(Kh))return;let Rn=g.ctrlKey||g.metaKey,yr=null,pt=null;if(Ae)pt=Ae.dataset.groupTarget??Ae.closest("[data-surface-id]")?.dataset.surfaceId;else if(Oe)pt=Ze;else if(!Rn&&!g.shiftKey&&ke)pt=ke;else if(ya)pt=gn?.id;else if(ne?.node.type==="drawing")pt=ne.id;else if(ne){let eo=ne.element,bn=B.closest('[contenteditable="true"]'),Nd=!!bn&&eo.contains(bn)&&eo.contains(document.activeElement),Ls=Y.ids.size===1&&Y.ids.has(ne.id),fi=ne.node.type!=="region"&&!!eo.querySelector('[contenteditable="true"]');if(Nd||Ls&&!fi&&ne.node.type!=="region"&&B!==eo&&eo.contains(B)&&!Rn)return;Rn||(pt=ne.id,Ls&&fi&&!g.shiftKey&&(yr=eo))}if(pt&&(!Rn||Ae)){g.preventDefault(),!Oe&&!Ee&&g.stopPropagation(),me.current.cancel(),br(),Pa();let eo=Ae?.dataset.resizeDirection?`resize-${Ae.dataset.resizeDirection}`:Ae?"rotate":"move",bn=Y.ids.has(pt);if(g.altKey&&eo==="move"&&r){let Ls=bn?[...Y.ids]:[pt],fi;(0,B4.flushSync)(()=>{fi=r(Ls,{x:0,y:0}),fi?.length&&Y.selectIds(fi)});let Ad=fi;Ad?.length&&(pt=Ad[Ls.indexOf(pt)]??Ad[0],bn=!0,yr=null)}let Nd=!Ae&&!g.shiftKey&&Y.ids.size>1&&bn;if(g.shiftKey&&!bn&&Y.select(pt,!0),!Y.start(pt,eo,g)){g.shiftKey||Y.select(pt),g.currentTarget.focus({preventScroll:!0});return}me.current.objectGesture(!0),$.current={pointer:g.pointerId,id:pt,x:g.clientX,y:g.clientY,moved:!1,wasSelected:bn,additive:g.shiftKey,preserveSelection:!!Ae||!!ke&&!g.shiftKey,touch:g.pointerType==="touch",enterEdit:yr,groupClick:Nd,input:g},(Ae??g.currentTarget).focus({preventScroll:!0}),g.currentTarget.setPointerCapture(g.pointerId);return}if(ne&&(!Rn||ne.node.type!=="drawing")||B.closest("[data-surface-content]"))return;g.preventDefault(),g.stopPropagation(),g.currentTarget.focus({preventScroll:!0}),g.currentTarget.setPointerCapture(g.pointerId);let r1=me.current.point(g.clientX,g.clientY),i1=document.createElement("div");i1.className="board-marquee",i1.setAttribute("data-surface-ui",""),De.current.append(i1),fn.current={id:g.pointerId,start:r1,next:{...r1,width:0,height:0},element:i1,base:[...Y.ids],hitId:ne?.id,additive:g.shiftKey,last:{x:g.clientX,y:g.clientY,shift:g.shiftKey,wrap:Rn}},!g.shiftKey&&!Rn&&Y.select(null)},onPointerMoveCapture:g=>{gr.current={x:g.clientX,y:g.clientY};let B=$.current;if(B?.pointer===g.pointerId){g.preventDefault(),B.touch||g.stopPropagation(),B.moved||=Math.hypot(g.clientX-B.x,g.clientY-B.y)>=3,B.input={clientX:g.clientX,clientY:g.clientY,altKey:g.altKey,shiftKey:g.shiftKey,ctrlKey:g.ctrlKey,metaKey:g.metaKey},Y.update(B.input),B.moved&&pi(g.clientX,g.clientY);return}if(!fn.current&&!he&&!g.buttons&&g.target.closest(".page-surface")===g.currentTarget){let ke=g.clientX,Ee=g.clientY;cancelAnimationFrame(He.current),He.current=requestAnimationFrame(()=>{let Ze=D?D==="arrow"?null:Y.edgeHit(ke,Ee):Y.hitTest(ke,Ee,!1),Oe=performance.now();Ze&&(we.current.id!==Ze.id||xe.current!==Ze.element&&Oe>we.current.until?we.current={id:Ze.id,since:Oe,until:Oe+900}:we.current.until=Oe+900);let Ae=Ze?.element??null;Ae!==xe.current&&(xe.current?.classList.remove("is-hovered"),xe.current=Ae,Ae?.classList.add("is-hovered")),Ge.current?.classList.toggle("has-drawing-hit",!!Ae&&!!D&&D!=="pen"&&D!=="highlighter"&&Oe>=we.current.since+180)})}let ne=fn.current;!ne||ne.id!==g.pointerId||(g.preventDefault(),g.stopPropagation(),ne.last={x:g.clientX,y:g.clientY,shift:g.shiftKey,wrap:g.ctrlKey||g.metaKey},c5(),pi(g.clientX,g.clientY))},onDragStartCapture:g=>{($.current||fn.current)&&g.preventDefault()},onPointerUpCapture:g=>{let B=$.current;if(B?.pointer===g.pointerId){if(g.preventDefault(),B.touch||g.stopPropagation(),$.current=null,la(),B.moved||=Math.hypot(g.clientX-B.x,g.clientY-B.y)>=3,Y.update(g),Y.finish(),me.current.objectGesture(!1),!B.moved)if(B.enterEdit)P4(B.enterEdit,g.clientX,g.clientY);else if(B.groupClick){let ke=Y.selectionTarget(g.clientX,g.clientY);Y.select(ke&&Y.ids.has(ke.id)?ke.id:null)}else B.wasSelected&&!B.preserveSelection&&Y.select(B.id,B.additive);g.currentTarget.hasPointerCapture(g.pointerId)&&g.currentTarget.releasePointerCapture(g.pointerId);return}let ne=fn.current;!ne||ne.id!==g.pointerId||(g.preventDefault(),g.stopPropagation(),ne.hitId&&ne.next.width<3&&(ne.next.height??0)<3?(Y.selectIds(ne.base),Y.select(ne.hitId,g.shiftKey||g.ctrlKey||g.metaKey)):Y.marquee(ne.next,g.shiftKey,ne.base,g.ctrlKey||g.metaKey),br(),g.currentTarget.hasPointerCapture(g.pointerId)&&g.currentTarget.releasePointerCapture(g.pointerId))},onPointerCancelCapture:g=>{g.pointerId!==$.current?.pointer&&g.pointerId!==fn.current?.id||(br(!0),pa(),Pa())},onLostPointerCapture:g=>{if(g.target!==g.currentTarget)return;br(!0);let B=$.current;B&&!B.touch&&B.moved?($.current=null,la(),Y.update(B.input),Y.finish(),me.current.objectGesture(!1)):B&&pa()},onPointerLeave:()=>{Pa(),gr.current=null},onCopy:g=>{if(!Ce||!Y.ids.size||O4(g.target))return;let B=di([...Y.ids]);B&&(g.preventDefault(),g.clipboardData.setData(L4,JSON.stringify(B)),g.clipboardData.setData("text/plain",JSON.stringify(B)))},onCut:g=>{if(!Ce||!Y.ids.size||O4(g.target))return;let B=di([...Y.ids],!0);B&&(g.preventDefault(),g.clipboardData.setData(L4,JSON.stringify(B)),g.clipboardData.setData("text/plain",JSON.stringify(B)))},onPaste:g=>{if(!Ce||!s||O4(g.target))return;let B=g.clipboardData.getData(L4)||g.clipboardData.getData("text/plain"),ne=null;try{ne=JSON.parse(B)}catch{}g.preventDefault(),Ob(ne)?Qi({clip:ne}):B.trim()&&Qi({text:B})},onKeyDownCapture:g=>{let B=g.target;if(B.closest('input,textarea,select,iframe,video,audio,[contenteditable=true],[data-editor-keyboard-scope],[data-surface-gesture="own"],.react-flow,.surface-toolbar')||B.closest(".page-surface")!==g.currentTarget)return;let ne=B.closest(".surface-object-content");if(ne&&ne.closest(".page-surface")===g.currentTarget&&B.closest(".surface-object")===ne.parentElement&&!ne.parentElement?.classList.contains("is-drawing"))return;if(g.key==="ContextMenu"||g.shiftKey&&g.key==="F10"){let Ae=B.getBoundingClientRect();if(Rs(B,{x:Ae.left+Math.min(24,Ae.width/2),y:Ae.top+Math.min(24,Ae.height/2)})){g.preventDefault(),g.stopPropagation();return}}if(g.code==="Space"&&(R.current=!0),g.key==="Escape"){let Ae=!!fn.current||!!$.current;if(br(!0),pa(),Ae){g.preventDefault(),g.stopPropagation();return}if((D||We)&&!B.closest('[data-drawing-active="true"]')){g.preventDefault(),g.stopPropagation(),z?.();return}}let ke=g.metaKey||g.ctrlKey;if(g.shiftKey&&!ke&&!g.altKey&&!he){let Ae={Digit0:0,Digit1:1,Digit2:2}[g.code];if(Ae!==void 0){g.preventDefault(),g.stopPropagation(),Ae===0?me.current.zoom(1):Ae===1?Fo():v5();return}}if(!Ce||B.closest('[data-drawing-active="true"]'))return;if(!ke&&!g.altKey&&!g.shiftKey&&!$.current&&!fn.current){let Ae=hh(g.key);if(Ae&&(!fe||!["region","lasso","pan"].includes(Ae.tool??""))){g.preventDefault(),g.stopPropagation(),Pa(),Y.select(null),H?.(Ae.tool);return}}let Ee=[...Y.ids],Ze=Ae=>{g.preventDefault(),g.stopPropagation(),Ae()};if(ke&&g.key.toLowerCase()==="a")return Ze(()=>Y.selectAll());if(ke&&g.key.toLowerCase()==="d"&&Ee.length)return Ze(()=>ut(Ee));if(ke&&g.shiftKey&&g.code==="KeyG"&&ci)return Ze(()=>el(ci));if(ke&&g.shiftKey&&g.code==="KeyL"&&Ee.length)return Ze(()=>ui(Ee));if((g.code==="BracketRight"||g.code==="BracketLeft")&&Ee.length)return Ze(()=>go(Ee,g.code==="BracketRight"?g.shiftKey||g.altKey?"front":"forward":g.shiftKey||g.altKey?"back":"backward"));if(g.altKey&&!ke&&Ee.length>1){let Ae={KeyA:"left",KeyD:"right",KeyW:"top",KeyS:"bottom",KeyH:g.shiftKey?"distribute-x":"center",KeyV:g.shiftKey?"distribute-y":"middle"}[g.code];if(Ae)return Ze(()=>$i(Ae))}if(g.key==="Enter"&&!ke&&Ee.length===1&&k5(Ee[0]))return Ze(()=>Pe(Ee[0]));if(g.key==="Enter"&&!ke&&Ee.length===1){let Ae=De.current?.querySelector(`[data-surface-id="${CSS.escape(Ee[0])}"]`);if(Ae?.querySelector('[contenteditable="true"]'))return Ze(()=>P4(Ae))}let Oe={ArrowLeft:[-1,0],ArrowRight:[1,0],ArrowUp:[0,-1],ArrowDown:[0,1]}[g.key];if(Oe&&Ee.length&&!B.closest("[data-resize-direction],.surface-object-rotate,.board-arrow-endpoint,input,select"))return Ze(()=>Y.nudge(Oe[0]*(g.shiftKey?10:1),Oe[1]*(g.shiftKey?10:1)));if((g.key==="Delete"||g.key==="Backspace")&&Ee.length)return Ze(()=>{i?.(Ee),Y.select(null)})},onKeyUpCapture:g=>{g.code==="Space"&&(R.current=!1)},onPointerDown:g=>{g.defaultPrevented||g.button!==0||R.current||g.target.closest("[data-surface-content], [data-surface-ui]")||Y.select(null)},role:"region","aria-label":M("board"),tabIndex:0,onKeyDown:g=>{let B=g.target;if(B.closest("[data-input-surface]")!==g.currentTarget||g.key!=="Escape"||g.defaultPrevented||B.closest("input,textarea"))return;let ne=B.closest("[contenteditable]");if(ne?.getAttribute("contenteditable")==="true"){let ke=ne.closest(".surface-object");if(!ke||ke.closest(".page-surface")!==g.currentTarget)return;g.preventDefault(),window.getSelection()?.removeAllRanges(),g.currentTarget.focus({preventScroll:!0}),Ce&&Y.selectIds([ke.dataset.surfaceId]);return}Y.select(null),In.current&&(In.current.open=!1)},"aria-description":M(he?"board.descriptionLocked":o?"board.descriptionEdit":"board.descriptionRead"),children:[Vt&&(0,X.jsx)(sh,{anchor:Vt.anchor,point:Vt.point,label:M("menu.objectActions"),onClose:()=>bo(null),items:Vt.insertion?[{label:M("menu.addPage"),icon:(0,X.jsx)(Os,{size:14}),onSelect:()=>pe?.("page",Vt.insertion)},{label:M("menu.addText"),icon:(0,X.jsx)(yo,{size:14}),shortcut:"T",onSelect:()=>Ed(Vt.insertion)},{label:M("menu.addComponent"),icon:(0,X.jsx)(Pt,{size:14}),onSelect:()=>G?.(Vt.point,Vt.insertion)},{label:M("menu.paste"),icon:(0,X.jsx)(Od,{size:14}),shortcut:"\u2318V",separatorBefore:!0,disabled:!ld||!s,onSelect:()=>ld&&Qi({clip:ld},Vt.insertion)},{label:M("menu.selectAll"),icon:(0,X.jsx)(lm,{size:14}),shortcut:"\u2318A",disabled:!y.length,onSelect:()=>Y.selectAll()},...oe?[{label:Y.ids.size?M("menu.reference",{count:Y.ids.size}):M("menu.referenceBoard"),icon:(0,X.jsx)(gi,{size:14}),separatorBefore:!0,onSelect:()=>oe.reference(Md([...Y.ids],{left:Vt.point.x,top:Vt.point.y,bottom:Vt.point.y}))}]:[]]:Tv(Vt.ids,Vt.id,Vt.container)}),L&&(0,X.jsx)(R6,{...ye,label:M("board.lockTarget")}),(0,X.jsx)("div",{className:"surface-metadata","data-surface-ui":!0,children:m}),(0,X.jsxs)("div",{ref:le,className:"surface-scroll",children:[(0,X.jsx)("div",{className:"surface-grid","aria-hidden":"true"}),(0,X.jsx)("div",{ref:De,className:"surface-world",children:e})]}),(0,X.jsx)(Wh,{pageId:t?.id??b,surfaceId:n??b,enabled:A&&!C&&!he,root:Ge,world:De,point:(g,B)=>me.current.point(g,B)}),Ne&&!(window.showai?.inlineInk&&(Ne==="pen"||Ne==="highlighter"))&&A&&!he&&O&&(0,X.jsx)(nh,{tool:Ne,ruler:et,panHeld:R,makeSnapIndex:Y.drawingSnapIndex,color:N,fillColor:_,strokeWidth:j,pressure:F,camera:be,point:(g,B)=>me.current.point(g,B),onTarget:(g,B)=>ho(g,B),onDraw:(g,B)=>{let ne;if(g.type==="region"&&n&&t){let Ee=(at(t,n)?.node?.content??[]).map(Oe=>Oe.attrs?.id).filter(Oe=>Oe&&!Zt(Oe)?.locked),Ze=Object.entries(Y.measured(Ee)).filter(([,Oe])=>Oe.x>=B.x&&Oe.y>=B.y&&Oe.x+Oe.width<=B.x+B.width&&Oe.y+Oe.height<=B.y+(B.height??0)).map(([Oe])=>Oe);Ze.length&&(ne={ids:Ze,offset:Is()})}O(g,B,ne),requestAnimationFrame(()=>{Ge.current?.querySelector("[data-board-drawing-input]")||Ge.current?.focus({preventScroll:!0})})},onExit:()=>z?.()},Ne),(D==="eraser"||D==="lasso")&&A&&!he&&i&&(0,X.jsx)(bh,{tool:D,size:j,board:Y,onDelete:i,onExit:()=>z?.()},D),!y.length&&!D&&!x&&(0,X.jsx)("div",{className:"surface-empty","data-surface-ui":!0,children:(0,X.jsx)("p",{children:M("board.empty")})}),!y.length&&!D&&!We&&Ce&&!L&&(0,X.jsx)("div",{className:"surface-empty is-hint","aria-hidden":"true",children:(0,X.jsx)("p",{children:M("board.emptyHint")})}),g5&&!L&&!C&&t&&n&&(0,X.jsx)(Nh,{root:Ge,world:De,camera:be,layoutKey:f,onNavigate:g=>me.current.moveTo(g,!0)}),(0,X.jsxs)(Sh,{root:Ge,enabled:A&&!he&&!C,actions:(0,X.jsxs)(X.Fragment,{children:[o&&!Vt&&Y.ids.size>1&&(0,X.jsx)("span",{className:"board-selection-count",role:"status",children:M("board.selectedCount",{count:Y.ids.size})}),o&&!Vt&&Y.ids.size>0&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)(zh,{nodes:mi,onChange:g=>q?.(kt,{labelSize:g})}),oe&&(0,X.jsx)("button",{type:"button","aria-label":M("board.assistant"),title:M("board.assistant"),onClick:g=>{let B=g.currentTarget.getBoundingClientRect();w5(kt,{left:B.left+B.width/2,top:B.top,bottom:B.bottom})},children:(0,X.jsx)(Gd,{size:15})}),Sv&&(0,X.jsx)("button",{type:"button","aria-label":M("board.expandSelected"),onClick:()=>Ke&&I?.(Ke),children:(0,X.jsx)(ol,{size:15})}),(0,X.jsx)("button",{type:"button",onClick:()=>ut(kt),"aria-label":M("board.duplicateSelected"),title:M("board.duplicateSelectedTitle"),children:M("board.duplicate")}),(0,X.jsx)("button",{type:"button",onClick:()=>go(kt,"front"),"aria-label":M("order.front"),title:M("tool.withShortcut",{label:M("order.front"),key:"\u21E7]"}),children:(0,X.jsx)(Pd,{size:15})}),(0,X.jsx)("button",{type:"button",onClick:()=>go(kt,"back"),"aria-label":M("order.back"),title:M("tool.withShortcut",{label:M("order.back"),key:"\u21E7["}),children:(0,X.jsx)(Vd,{size:15})}),Y.ids.size>1&&(0,X.jsxs)("details",{className:"surface-popover-anchor board-align-menu",children:[(0,X.jsx)("summary",{"aria-label":M("align.menu"),title:M("align.menu"),children:(0,X.jsx)(Id,{size:15})}),(0,X.jsxs)("div",{className:"board-align-options",role:"group",children:[x5.map(([g,B,ne,ke])=>(0,X.jsx)("button",{type:"button","aria-label":B,title:M("tool.withShortcut",{label:B,key:ke}),disabled:g.startsWith("distribute")&&Y.ids.size<3,onClick:()=>$i(g),children:ne},g)),Cv&&[["right",M("align.tidyRight"),(0,X.jsx)(pm,{size:14})],["down",M("align.tidyDown"),(0,X.jsx)(em,{size:14})]].map(([g,B,ne])=>(0,X.jsx)("button",{type:"button","aria-label":B,title:B,onClick:()=>V?.(kt,g),children:ne},g))]})]}),ci?(0,X.jsx)("button",{type:"button","aria-label":M("region.ungroup"),title:M("tool.withShortcut",{label:M("region.ungroup"),key:"\u21E7\u2318G"}),onClick:()=>el(ci),children:(0,X.jsx)(Fd,{size:15})}):null,(0,X.jsx)("button",{type:"button","aria-label":M(si?"lock.unlock":"lock.lock"),"aria-pressed":si,title:M("tool.withShortcut",{label:M(si?"lock.unlock":"lock.lock"),key:"\u21E7\u2318L"}),onClick:()=>ui(kt),children:si?(0,X.jsx)(Ps,{size:15}):(0,X.jsx)(Ud,{size:15})}),(0,X.jsx)("button",{type:"button",onClick:()=>{i?.(kt),Y.select(null)},"aria-label":M("board.deleteSelected"),title:M("tool.withShortcut",{label:M("board.deleteSelected"),key:"Delete"}),children:(0,X.jsx)(Qt,{size:15})})]}),(0,X.jsx)("div",{ref:ze,className:"board-component-actions","data-surface-ui":!0})]}),properties:fe&&Y.ids.size>1?null:(0,X.jsxs)(X.Fragment,{children:[o&&!he&&!Vt?(0,X.jsx)(Eh,{tool:mi.length?null:D,style:{color:N,fillColor:_,strokeWidth:j,pressure:F},nodes:mi,onChange:g=>q?.(mi.filter(il).map(B=>B.attrs.id),g)}):null,fe&&!mi.length&&O&&!he&&(D==="pen"||D==="highlighter")&&(0,X.jsx)("div",{className:"board-writing-options board-ruler-controls","data-surface-ui":!0,children:(0,X.jsx)("button",{type:"button","aria-label":M("tool.ruler"),title:M("tool.ruler"),"aria-pressed":et,onClick:()=>ae(g=>!g),children:(0,X.jsx)(Zd,{size:15})})})]}),children:[!fe&&(0,X.jsxs)("details",{ref:In,className:"surface-popover-anchor",onKeyDownCapture:g=>{g.key==="Escape"&&(g.preventDefault(),g.stopPropagation(),In.current.open=!1,In.current.querySelector("summary")?.focus())},children:[(0,X.jsx)("summary",{"aria-label":M("nav.regionsAndViews"),title:M("nav.regionsAndViews"),children:(0,X.jsx)(J5,{size:16})}),(0,X.jsxs)("div",{className:"surface-navigation",children:[(0,X.jsxs)("div",{className:"board-view-controls",children:[(0,X.jsx)("button",{type:"button","aria-label":M("board.fit"),disabled:he,title:M("board.fitTitle"),onClick:()=>Fo(),children:(0,X.jsx)(ol,{size:15})}),(0,X.jsx)("button",{type:"button","aria-label":M("board.locate"),title:M("board.locateTitle"),disabled:he||!kt.length,onClick:v5,children:(0,X.jsx)(Z5,{size:15})}),(0,X.jsx)("span",{className:"surface-toolbar-divider"}),(0,X.jsx)(PS,{scale:Be,controls:me,locked:he}),!L&&!C&&(0,X.jsx)("button",{type:"button","aria-label":M("board.minimap"),"aria-pressed":g5,title:M("board.minimap"),onClick:wv,children:(0,X.jsx)(X5,{size:15})})]}),(0,X.jsx)("strong",{children:M("nav.regionsAndContent")}),y.map(g=>(0,X.jsxs)("div",{className:"surface-navigation-row",children:[(0,X.jsxs)("button",{type:"button",disabled:he,onClick:()=>{W(g.id),Fo([g.id],!0),In.current.open=!1},children:[(0,X.jsx)(Os,{size:14,"aria-hidden":"true"}),g.name]}),S&&(0,X.jsx)(X.Fragment,{children:(0,X.jsx)("button",{type:"button","aria-label":M("nav.moveEarlier",{name:g.name}),disabled:h.readingOrder.indexOf(g.id)<1,onClick:()=>{let B=[...h.readingOrder],ne=B.indexOf(g.id);[B[ne-1],B[ne]]=[B[ne],B[ne-1]],S({...h,readingOrder:B})},children:(0,X.jsx)(vr,{size:13,"aria-hidden":"true"})})})]},g.id)),(0,X.jsx)("strong",{children:M("nav.namedViews")}),h.saved.map(g=>(0,X.jsxs)("div",{className:"surface-navigation-row",children:[(0,X.jsxs)("button",{type:"button",disabled:he,onClick:()=>{Fo(g.targets),In.current.open=!1},children:[(0,X.jsx)(Rd,{size:14,"aria-hidden":"true"}),g.name]}),S&&(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)("button",{type:"button","aria-label":M("nav.setInitial",{name:g.name}),"aria-pressed":h.initial===g.id,onClick:()=>S({...h,initial:h.initial===g.id?null:g.id}),children:(0,X.jsx)(cm,{size:13})}),(0,X.jsx)("button",{type:"button","aria-label":M("nav.deleteView",{name:g.name}),onClick:()=>S({...h,initial:h.initial===g.id?null:h.initial,saved:h.saved.filter(B=>B.id!==g.id)}),children:(0,X.jsx)(Qt,{size:13})})]})]},g.id)),S&&(0,X.jsxs)("form",{onSubmit:g=>{g.preventDefault(),kv()},children:[(0,X.jsx)("input",{"aria-label":M("nav.viewName"),placeholder:Ke?y5.get(Ke)?M("nav.viewOf",{name:y5.get(Ke)}):M("nav.viewOfSelection"):M("nav.viewOfVisible"),maxLength:200,value:o1,onChange:g=>f5(g.target.value)}),(0,X.jsxs)("button",{type:"submit",disabled:!o1.trim()||!Dd.length,children:[(0,X.jsx)(Rd,{size:14}),M("nav.saveView")]})]})]})]}),(0,X.jsx)("fieldset",{className:"surface-extra-actions",disabled:he,children:k}),!fe&&O&&!he&&(0,X.jsx)("div",{className:"board-writing-options","data-surface-ui":!0,children:(0,X.jsx)("button",{type:"button","aria-label":M("tool.ruler"),title:M("tool.ruler"),"aria-pressed":et,onClick:()=>ae(g=>!g),children:(0,X.jsx)(Zd,{size:15})})})]})]})})}function PS({scale:e,controls:t,locked:a}){let n=Uh(e),o=se(Qe);return(0,X.jsxs)(X.Fragment,{children:[(0,X.jsx)("button",{type:"button","aria-label":o("board.zoomOut"),title:o("tool.withShortcut",{label:o("board.zoomOut"),key:"-"}),disabled:a||n<=.1,onClick:()=>t.current.zoom(n/1.2),children:(0,X.jsx)(rl,{size:15})}),(0,X.jsxs)("button",{type:"button",className:"surface-zoom","aria-label":o("board.resetZoom"),title:o("board.resetZoomTitle"),disabled:a,onClick:()=>t.current.zoom(1),children:[Math.round(n*100),"%"]}),(0,X.jsx)("button",{type:"button","aria-label":o("board.zoomIn"),title:o("tool.withShortcut",{label:o("board.zoomIn"),key:"+"}),disabled:a||n>=4,onClick:()=>t.current.zoom(n*1.2),children:(0,X.jsx)(Pt,{size:15})})]})}function O4(e){return e instanceof Element&&!!e.closest("input,textarea,select,[contenteditable=true],[data-editor-keyboard-scope]")}function Jh(e,t){if(e===t&&pu(e))return!0;if(e.type!==t.type||e.attrs?.id!==t.attrs?.id||e.type==="surface"&&e.attrs?.kind!==t.attrs?.kind)return!1;if(e.content===t.content&&pu(e.content))return!0;let a=(e.content??[]).filter(o=>o.type!=="text"),n=(t.content??[]).filter(o=>o.type!=="text");return a.length===n.length&&a.every((o,r)=>Jh(o,n[r]))}function OS(e,t,a){return a.normalize===!1&&Jh(e.content,t.content)?t:Ba(t,{clone:!1})}var j4=St(Qe);function Xh(e,t,a,n={}){let o=!1,r=l=>{if(l.attrs?.id===t){let c=n.attributesOnly?{...l,attrs:{...l.attrs}}:structuredClone(l);return a(c),o=!0,Tr(c)}if(!l.content)return l;let s=l.content.map(r);return s.some((c,d)=>c!==l.content[d])?{...l,content:s}:l},i=r(e.content);return o?OS(e,{...e,content:i},n):e}function Qh(e,t,a,n=null){let o=Im(e),r=n?at(o,n)?.node:o.content;if(!r||!["surface","region"].includes(r.type??""))throw new Error(j4("error.regionMissing"));return r.content=[...r.content??[],t],o.layout[t.attrs.id]=a,Ba(o)}function U4(e,t){let a=structuredClone(e),n=at(a,t);return n?.parent?(n.parent.content=n.parent.content.filter(o=>o.attrs?.id!==t),Ba(a)):e}function _4(e,t,a,n,o){let r=structuredClone(e),i=at(r,t),l=a?at(r,a)?.node:r.content;if(!i?.parent||!l||!["surface","region"].includes(l.type??""))throw new Error(j4("error.cannotMove"));let s=new Set;if(Pn(i.node,d=>{d.attrs?.id&&s.add(d.attrs.id)}),a&&s.has(a))throw new Error(j4("error.regionIntoSelf"));i.parent.content=i.parent.content.filter(d=>d.attrs?.id!==t);let c=l.content??[];return c.splice(o??c.length,0,i.node),l.content=c,n&&(r.layout[t]=n),Ba(r)}mt(`.container-workspace{display:flex;flex-direction:column;height:100%;min-height:0;position:relative;background:var(--paper, var(--bg));color:var(--text, var(--ink))}.container-workspace-bar{display:flex;align-items:center;gap:4px;min-height:38px;padding:4px 18px;border-bottom:1px solid var(--line, var(--border));flex-shrink:0;z-index:30;background:var(--paper, var(--bg))}.container-workspace-bar nav{display:flex;align-items:center;flex:1;min-width:0;overflow:auto;gap:2px;font-size:12px;color:var(--muted)}.container-workspace-bar nav>span{display:flex;align-items:center;flex-shrink:0}.container-workspace button,.container-workspace summary{font:inherit}.container-workspace-bar button,.container-menu summary,.container-menu button,.container-activation button{border:0;background:transparent;color:inherit;padding:6px 8px;display:inline-flex;align-items:center;gap:6px;cursor:pointer;border-radius:5px;font-size:12px}.container-workspace-bar nav button span{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.container-workspace button:disabled{opacity:.4;cursor:default}.container-workspace button:focus-visible,.container-workspace summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.container-workspace-bar button:hover,.container-menu summary:hover,.container-menu button:hover,.container-activation button:hover{background:var(--hover, #00000006)}.container-main{flex:1;min-height:0;position:relative}.container-page{height:100%;overflow:auto;overscroll-behavior:contain;overflow-anchor:none;scrollbar-gutter:stable;background:var(--paper, var(--bg))}.container-page-column{max-width:1000px;margin:0 auto;padding:28px 40px 96px;min-width:0}.container-page[data-width-mode=wide]>.container-page-column{max-width:1500px}.container-page[data-width-mode=full]>.container-page-column{max-width:none}.container-page-heading{margin:12px 0 24px}.page-document-flow{border:0;padding:0}.page-document-module{margin:20px 0;font-size:14px}.page-document-module .document-content{min-height:80px}.container-page-heading h1,.container-page-heading .surface-page-title{font-size:32px;font-weight:650;line-height:1.25;color:var(--text, var(--ink));width:100%;max-width:100%}.container-page .surface-layout-flow>.surface-object{margin:22px 0}.container-page .surface-layout-flow>.surface-object.is-region{margin:18px 0}.container-page .surface-layout-flow>.surface-object.is-region>.surface-object-content{padding:14px 20px}.container-menu{position:relative}.container-menu summary{list-style:none;user-select:none}.container-menu summary::-webkit-details-marker{display:none}.container-menu>div{position:absolute;top:calc(100% + 4px);right:0;z-index:60;min-width:170px;padding:6px;border:1px solid var(--line, var(--border));border-radius:8px;background:var(--paper, var(--bg));box-shadow:0 8px 24px #00000010}.container-menu>div>button{display:flex;width:100%;white-space:nowrap}.surface-toolbar .container-menu>div{top:auto;bottom:calc(100% + 12px)}.container-board{height:100%;min-height:0;position:relative;background:var(--paper, var(--bg));isolation:isolate}.container-board-scene{height:100%;min-height:0}.container-board-scene.is-passive{pointer-events:none}.container-board-enter{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:100%;border:0;background:transparent;color:transparent;cursor:pointer;touch-action:pan-y}.container-board-enter:hover,.container-board-enter:focus-visible{background:#ffffff24;color:var(--muted)}.container-activation{position:absolute;top:6px;right:8px;z-index:40;display:flex;align-items:center;border-radius:6px;background:var(--paper, var(--bg))}.container-activation button[aria-pressed=true]{color:var(--accent)}.surface-object.is-container>.surface-object-content{padding:0;height:calc(100% - 32px);min-height:0;overflow:hidden;border-radius:0 0 8px 8px}.surface-object.is-container{border-color:var(--line, var(--border))}.surface-object.is-container:not([style*="height:"])>.surface-object-content{height:auto}.surface-object.is-container>.surface-object-content>.page-outline-shell>.container-page{min-height:120px}.surface-object.is-container .container-page-column{padding:20px 24px 56px}.surface-object.is-container>.surface-object-content>.page-outline-shell>.container-page[data-frameless=true]{min-height:0}.surface-object.is-container .container-page[data-frameless=true]>.container-page-column{padding:4px 8px}.surface-object.is-drawing>.surface-object-content{padding:0;width:100%;height:100%;overflow:visible}.surface-object.is-drawing{border:0;border-radius:0}.surface-object.is-drawing>.surface-object-header{position:absolute;bottom:100%;left:0;min-width:150px;background:var(--paper, var(--bg));display:none;z-index:5}.surface-object.is-drawing.is-hovered>.surface-object-header,.surface-object.is-drawing.is-selected>.surface-object-header{display:flex}.board-drawing{display:block;width:100%;height:100%;overflow:visible}.surface-object.is-drawing>.surface-object-content{position:relative}.board-drawing-label{position:absolute;display:flex;align-items:center;justify-content:center;color:var(--text, var(--ink));font-family:inherit;font-weight:500;text-align:center;white-space:pre-wrap;overflow-wrap:anywhere;pointer-events:none;user-select:none}.board-drawing-label>span{max-width:100%}.board-drawing-label[data-tool=arrow]{width:max-content;max-width:240px;padding:1px 6px;border-radius:4px;background:var(--paper, var(--bg));transform:translate(-50%,-50%)}.board-drawing-label[data-editing]{pointer-events:auto}.board-drawing-label[data-tool=arrow][data-editing]{min-width:96px}.board-drawing-label textarea{display:block;width:100%;min-height:1lh;margin:0;padding:0;border:0;outline:none;resize:none;overflow:hidden;background:transparent;color:inherit;font:inherit;line-height:inherit;text-align:inherit;caret-color:#467de3}.board-drawing-input{position:absolute;inset:0;width:100%;height:100%;z-index:16;touch-action:none;cursor:crosshair;outline:none}.board-pen-color{width:24px;height:24px;border:0;background:transparent;padding:2px;cursor:pointer}.container-board .surface-toolbar{max-width:calc(100% - 20px);gap:2px;overflow:visible;z-index:25}.container-board .surface-toolbar button[aria-pressed=true]{background:var(--hover, #00000009);color:var(--accent)}.container-board .surface-toolbar button{flex-shrink:0}.container-board .surface-empty{pointer-events:none}.container-inspector{position:absolute;right:12px;top:46px;bottom:auto;max-height:calc(100% - 70px);z-index:50;box-shadow:0 8px 32px #00000010}@media(max-width:650px){.container-page-column{padding:20px 18px 80px}.container-workspace-bar{padding:4px 8px}.container-workspace-bar nav button span{max-width:110px}.container-board .surface-toolbar{gap:0;padding:4px}.container-board .surface-toolbar button{padding:5px;min-width:24px}.container-board .surface-toolbar .surface-toolbar-divider{margin:0 2px}}@media print{.container-workspace,.container-main,.container-page,.container-page-column{height:auto!important;overflow:visible!important;display:block!important;max-width:none!important}.container-workspace-bar,.container-activation,.container-board-enter,.board-drawing-input,.container-inspector,.surface-object-header{display:none!important}.container-page-column{padding:0!important}.surface-object.is-container{height:auto!important;break-inside:auto}.surface-object.is-container>.surface-object-content{height:auto!important;overflow:visible!important}.container-board,.container-board-scene,.container-board .page-surface,.container-board .surface-scroll{height:auto!important;position:static!important;overflow:visible!important}.container-board .surface-object.is-drawing{position:relative!important;min-height:60px}}.surface-editor-shell>.container-workspace{flex:1;min-width:0;width:100%}.portable-app:has(>.container-workspace){height:100dvh}.portable-app>.container-workspace{height:100%}.container-inspector{margin:0;width:250px;right:12px;top:46px;position:absolute}@media print{.portable-app:has(>.container-workspace){height:auto!important}}.container-page .surface-layout-flow>div:not(:last-child) .document-content{min-height:0}.container-board .surface-toolbar{width:max-content;flex-wrap:wrap;justify-content:center}.container-file-error{position:absolute;bottom:50px;left:12px;right:12px;padding:8px 12px;background:var(--paper, var(--bg));border:1px solid var(--line, var(--border));font-size:12px;border-radius:6px;z-index:60}@media print{.container-board .page-surface{position:relative!important;height:var(--board-print-height, 420px)!important;min-height:0!important;break-inside:avoid}.container-board .surface-scroll{position:absolute!important;inset:0!important;height:100%!important;overflow:hidden!important}.container-board .surface-world{position:absolute!important;inset:0 auto auto 0!important;width:0!important;height:0!important;transform:var(--board-print-transform, none)!important;transform-origin:0 0!important}.container-board .surface-world>.surface-object{position:absolute!important;margin:0!important}.container-board .surface-world>.surface-object.is-container,.container-board .surface-world>.surface-object.is-drawing{height:var(--frame-height, 460px)!important;min-height:0!important}.container-board .surface-object.is-container>.surface-object-header{display:flex!important}.container-board .surface-object.is-container>.surface-object-header button{display:none!important}.container-board .surface-object.is-container>.surface-object-content{height:calc(100% - 32px)!important;overflow:hidden!important}.container-board .surface-object.is-container>.surface-object-content>.page-outline-shell>.container-page{height:100%!important;overflow:hidden!important}}.container-workspace{isolation:isolate}@media print{.container-board .surface-world>.surface-object,.container-board .surface-layout-free>.surface-object{position:absolute!important;left:var(--frame-x, 0px)!important;top:var(--frame-y, 0px)!important;width:var(--frame-width, 360px)!important}.container-board .surface-layout-free{position:relative!important;min-height:var(--free-height, 200px)!important}}.surface-object[data-board-drawing=true],.surface-object[data-board-drawing=true]>.surface-object-content{pointer-events:none}.surface-object[data-board-drawing=true] [data-surface-ui]{pointer-events:auto}.surface-object.is-drawing:focus-within{z-index:auto}.surface-object.is-drawing:not(.is-selected)>.board-resize-handle{display:none}.board-object-outline{position:absolute;pointer-events:none;outline:calc(1.5px * var(--board-inv, 1)) solid #467de3}.surface-object[data-erasing=true] .board-drawing-selection,.surface-object[data-erasing=true]>:is(.board-resize-handle,.surface-object-rotate,.board-lock-badge){display:none}.board-drawing-selection{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.surface-object.is-drawing>.board-resize-handle:after,.board-group-outline[data-drawing-selection=true]>.board-resize-handle:after{border-radius:50%}.surface-object.is-drawing.is-hovered:not(.is-selected) .board-drawing{filter:none}@media print{.board-object-outline,.board-drawing-selection{display:none}}.page-surface.has-drawing-hit{cursor:move}.container-board.is-root>.container-board-scene>.page-surface:focus-visible{outline:none}.board-selection-drag-area{outline:none;pointer-events:auto;z-index:2;touch-action:none;cursor:move}
|
|
32
|
+
`);var pr=Z(Me(),1);function Z4(e){return e&&typeof e=="object"&&"message"in e?String(e.message):String(e)}mt(`.page-icon-form{display:flex;flex-direction:column;gap:16px;padding:20px 24px}.page-icon-preview{display:grid;place-items:center;min-height:80px}.page-icon-form label{display:flex;flex-direction:column;gap:7px;font-size:13px}.page-icon-form input:not([type=file]){width:100%;padding:9px 11px;border:1px solid var(--line, #ddd);border-radius:7px;background:var(--bg, white);color:var(--text, #252525)}.page-icon-emoji{display:grid;grid-template-columns:repeat(8,1fr);gap:5px}.page-icon-emoji button{font-size:23px;min-height:37px;border:1px solid transparent;border-radius:6px}.page-icon-emoji button:hover,.page-icon-emoji button[aria-pressed=true]{background:var(--hover, #f1f1f1);border-color:var(--line, #ddd)}.page-icon-help{font-size:12px;color:var(--muted, #777);margin:-8px 0 0}.page-icon-form footer{display:flex;flex-wrap:wrap;gap:8px;padding-top:12px}.page-icon-form footer>span{flex:1}.page-icon-form button:focus-visible{outline:2px solid var(--accent, #5b66d8);outline-offset:2px}@media(max-width:420px){.page-icon-form{padding:16px}.page-icon-emoji{grid-template-columns:repeat(6,1fr)}}
|
|
33
|
+
`);var ia=Z(de(),1),V4=St(Wc),HS=["\u{1F4C4}","\u{1F4DA}","\u{1F4DD}","\u{1F4CA}","\u{1F9EA}","\u{1F3A8}","\u{1F4A1}","\u{1F52C}","\u{1F331}","\u{1F680}","\u2B50","\u{1F4CC}","\u{1F3AF}","\u{1F5C2}\uFE0F","\u{1F3E0}","\u{1F4BB}","\u{1F30D}","\u{1F9E0}","\u2728","\u2764\uFE0F","\u{1F3AC}","\u{1F6E0}\uFE0F","\u{1F4F7}","\u{1F3B5}"];async function jS(e){if(!/^image\/(png|jpeg|gif|webp|avif)$/.test(e.type))throw new Error(V4("icon.unsupportedType"));if(e.size>8*1024*1024)throw new Error(V4("icon.tooLarge"));let t=await new Promise((r,i)=>{let l=new FileReader;l.onload=()=>r(String(l.result)),l.onerror=()=>i(l.error),l.onabort=()=>i(new Error(V4("icon.readCancelled"))),l.readAsDataURL(e)}),a=new Image;if(a.src=t,await a.decode(),Math.max(a.naturalWidth,a.naturalHeight)<=256&&t.length<=1e6)return t;let n=Math.min(1,256/Math.max(a.naturalWidth,a.naturalHeight)),o=document.createElement("canvas");return o.width=Math.max(1,Math.round(a.naturalWidth*n)),o.height=Math.max(1,Math.round(a.naturalHeight*n)),o.getContext("2d").drawImage(a,0,0,o.width,o.height),o.toDataURL("image/png")}function G4({value:e,onSave:t,onClose:a,title:n,fallback:o}){let r=se(Wc),i=se(Ga),[l,s]=(0,pr.useState)(e),[c,d]=(0,pr.useState)(Bs(e)?"":e),[u,p]=(0,pr.useState)(/^https?:/i.test(e)?e:""),[b,y]=(0,pr.useState)(""),[f,w]=(0,pr.useState)(!1),h=(0,pr.useRef)(null),m=(0,pr.useRef)(0),v=Bs(l)||l.length<=64?l:"",T=async E=>{w(!0),y("");try{await t(mm(E.trim())),a()}catch(P){y(Z4(P))}finally{w(!1)}},x=async E=>{let P=++m.current;w(!0),y("");try{let U=await jS(E);P===m.current&&s(U)}catch(U){P===m.current&&y(Z4(U))}finally{P===m.current&&w(!1)}};return(0,ia.jsx)(Yc,{title:n??r("icon.pageIcon"),onClose:a,children:(0,ia.jsxs)("form",{className:"page-icon-form",onSubmit:E=>{E.preventDefault(),T(l)},children:[(0,ia.jsx)("div",{className:"page-icon-preview",children:(0,ia.jsx)(jn,{value:v,size:56,fallback:o})}),(0,ia.jsxs)("label",{children:[r("icon.text"),(0,ia.jsx)("input",{"aria-label":r("icon.text"),value:c,maxLength:64,disabled:f,onChange:E=>{d(E.target.value),s(E.target.value),y("")}})]}),(0,ia.jsx)("div",{className:"page-icon-emoji","aria-label":r("icon.common"),children:HS.map(E=>(0,ia.jsx)("button",{type:"button","aria-label":r("icon.use",{icon:E}),"aria-pressed":l===E,disabled:f,onClick:()=>{s(E),d(E),y("")},children:E},E))}),(0,ia.jsx)("input",{ref:h,type:"file",accept:"image/png,image/jpeg,image/gif,image/webp,image/avif",hidden:!0,onChange:E=>{let P=E.target.files?.[0];E.target.value="",P&&x(P)}}),(0,ia.jsx)("button",{className:"studio-button",type:"button",disabled:f,onClick:()=>h.current?.click(),children:r("icon.upload")}),(0,ia.jsx)("p",{className:"page-icon-help",children:r("icon.help")}),(0,ia.jsxs)("label",{children:[r("icon.url"),(0,ia.jsx)("input",{inputMode:"url","aria-label":r("icon.urlAria"),placeholder:"https://\u2026",value:u,disabled:f,onChange:E=>{p(E.target.value),s(E.target.value.trim()),y("")}})]}),b&&(0,ia.jsx)("p",{className:"studio-error",role:"alert",children:b}),(0,ia.jsxs)("footer",{children:[(0,ia.jsx)("button",{type:"button",className:"studio-button",disabled:f||!e,onClick:()=>{T("")},children:r("icon.remove")}),(0,ia.jsx)("span",{}),(0,ia.jsx)("button",{className:"studio-button",type:"button",disabled:f,onClick:a,children:i("cancel")}),(0,ia.jsx)("button",{className:"studio-button primary",disabled:f,type:"submit",children:f?r("icon.processing"):i("save")})]})]})})}mt(`.page-width-switch{position:relative;width:100%;padding:3px;border-radius:8px;background:var(--hover);isolation:isolate}.page-width-switch-thumb{position:absolute;left:3px;top:3px;bottom:3px;width:calc((100% - 6px) / 3);border-radius:6px;background:var(--paper, var(--bg));box-shadow:0 1px 4px #00000014;transition:transform .14s ease}.page-width-switch-labels{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));text-align:center;font-size:12px;line-height:28px;color:var(--muted)}.page-width-switch-labels [data-active=true]{color:var(--text);font-weight:600}.page-width-switch>input[type=range]{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:grab;touch-action:none}.page-width-switch>input[type=range]:active{cursor:grabbing}.page-width-switch:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}@media(prefers-reduced-motion:reduce){.page-width-switch-thumb{transition:none}}
|
|
34
|
+
`);var Gi=Z(de(),1),$h=["standard","wide","full"],ey=["width.standard","width.wide","width.full"];function ty({value:e,onChange:t}){let a=se(Qe),n=$h.indexOf(e);return(0,Gi.jsxs)("div",{className:"page-width-switch",children:[(0,Gi.jsx)("span",{className:"page-width-switch-thumb",style:{transform:`translateX(${n*100}%)`},"aria-hidden":"true"}),(0,Gi.jsx)("div",{className:"page-width-switch-labels","aria-hidden":"true",children:ey.map((o,r)=>(0,Gi.jsx)("span",{"data-active":r===n,children:a(o)},o))}),(0,Gi.jsx)("input",{type:"range",min:0,max:2,step:1,value:n,"aria-label":a("pageWidth"),"aria-valuetext":a(ey[n]),onChange:o=>t($h[Number(o.target.value)]),onKeyDown:o=>{["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(o.key)&&o.stopPropagation()}})]})}var ay=Z(Me(),1);mt(`.board-tool-stack{position:relative;--board-tool-width: 34px}.board-tool-buttons,.board-tool-keys{box-sizing:border-box;width:100%;grid-template-columns:repeat(var(--board-tool-count),minmax(0,1fr));display:grid;grid-template-columns:repeat(var(--board-tool-count),var(--board-tool-width));gap:2px}.surface-toolbar .board-tool-buttons button{width:var(--board-tool-width);min-width:0;padding-inline:0}.board-tool-shortcuts{position:absolute;bottom:calc(100% + 10px);left:0;width:100%;display:flex;flex-direction:column;align-items:center}.board-tool-keys{padding-block:5px;border:1px solid var(--line, var(--border));border-radius:8px;background:var(--paper, var(--bg));box-shadow:0 3px 12px #00000008}.board-tool-keys kbd{text-align:center;font-family:inherit;font-size:11px;line-height:18px;color:var(--muted)}.surface-toolbar .board-tool-disclosure{min-width:24px;min-height:14px;height:14px;padding:0;border:1px solid var(--line, var(--border));border-radius:5px;background:var(--paper, var(--bg));margin-bottom:2px}@media(max-width:650px){.board-tool-stack{--board-tool-width: 24px}}@media(pointer:coarse){.board-tool-shortcuts{display:none}.board-tool-stack{--board-tool-width: 36px}}.board-writing-options{position:relative;display:flex;gap:3px;align-items:center}.board-writing-options details>summary{display:flex;padding:8px;cursor:pointer;border-radius:6px}.board-writing-options details[open]>div{position:absolute;bottom:calc(100% + 12px);right:0;padding:12px;min-width:190px;background:var(--paper, var(--bg));border:1px solid var(--line, var(--border));border-radius:8px;box-shadow:0 4px 20px #0002}.board-writing-options label{display:flex;align-items:center;gap:8px;white-space:nowrap}.page-surface[data-board-tool=pan]{cursor:grab}.page-surface[data-board-tool=eraser] .board-drawing-input{cursor:crosshair}.board-style-section{display:flex;align-items:center;gap:6px;white-space:nowrap}.board-style-section+.board-style-section{border-inline-start:1px solid var(--line, var(--border));padding-inline-start:8px}.board-label-size{display:inline-flex;align-items:center;gap:2px;padding-inline:4px;color:var(--muted, inherit)}.board-label-size select{height:26px;padding:0 2px;border:0;border-radius:6px;background:transparent;color:var(--text, inherit);font:inherit;font-size:12px;cursor:pointer}.board-label-size select:hover,.board-label-size select:focus-visible{background:var(--hover, color-mix(in srgb, currentColor 8%, transparent))}.board-width-controls,.board-width-controls>label,.board-pressure-controls{display:flex;flex-direction:row;align-items:center;gap:6px}.board-color-picker{position:relative}.board-color-picker>summary{width:25px;height:25px;border-radius:50%;box-shadow:inset 0 0 0 2px var(--paper, var(--bg)),0 0 0 1px var(--line, var(--border));cursor:pointer;list-style:none}.board-color-picker>summary::-webkit-details-marker{display:none}.board-color-menu{position:absolute;z-index:5;bottom:calc(100% + 12px);right:0;width:max-content;max-width:calc(100vw - 24px);padding:10px;border-radius:12px;background:var(--paper, var(--bg));border:1px solid var(--line, var(--border));box-shadow:0 5px 20px #0002}.board-color-presets{display:grid;grid-template-columns:repeat(4,28px);gap:8px}.surface-toolbar .board-color-presets button{width:28px;height:28px;min-width:28px;min-height:28px;padding:0;border-radius:50%;border:1px solid #8885}.surface-toolbar .board-color-presets button[aria-pressed=true]{outline:2px solid var(--accent, #467de3);outline-offset:2px}.board-color-menu .board-full-palette{display:flex;justify-content:space-between;border-top:1px solid var(--line, var(--border));margin-top:10px;padding-top:10px;font-size:12px}.surface-toolbar .board-pressure-toggle{min-width:28px;width:28px;height:28px;min-height:28px;border:1px solid var(--line, var(--border));border-radius:6px;padding:4px}.board-pressure-toggle svg{width:18px;height:18px}.board-pressure-toggle[aria-pressed=true]{background:var(--hover);color:var(--accent, #467de3)}.surface-toolbar .board-color-picker>summary{box-sizing:border-box;width:22px;height:22px;min-width:22px;min-height:22px;padding:0;border-radius:50%}.surface-toolbar :is(.board-color-empty,.board-color-picker>summary[data-empty]){background-color:#fff;background-image:linear-gradient(135deg,transparent 46%,#df4545 47%,#df4545 53%,transparent 54%)}.board-toolbar-inline-properties .board-style-controls{height:32px;box-sizing:border-box;padding-block:0}.board-toolbar-inline-properties .board-style-section{font-size:11px;line-height:16px}.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-width-controls>label{flex-direction:column}.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-toolbar-inline-properties .board-style-controls{height:auto}@media(pointer:coarse){.board-color-presets{grid-template-columns:repeat(4,36px)}.surface-toolbar .board-color-presets button{width:36px;height:36px;min-width:36px;min-height:36px}}
|
|
35
|
+
`);var mo=Z(de(),1),US=[$5,tm,F5,sm,O5,l1,q5,j5,W5,b1];function ny({tool:e,onChange:t}){let a=se(Qe),[n,o]=(0,ay.useState)(!0),r=typeof document<"u"&&document.documentElement.dataset.native==="ios",i=w4.map((l,s)=>({...l,Icon:US[s]})).filter(l=>!r||!["lasso","pan"].includes(l.tool??""));return(0,mo.jsxs)("div",{className:"board-tool-stack",style:{"--board-tool-count":i.length},children:[(0,mo.jsxs)("div",{className:"board-tool-shortcuts",children:[(0,mo.jsx)("button",{type:"button",className:"board-tool-disclosure","aria-label":a(n?"tool.hideShortcuts":"tool.showShortcuts"),"aria-expanded":n,onClick:()=>o(l=>!l),children:(0,mo.jsx)(nl,{size:12,style:n?void 0:{transform:"rotate(180deg)"}})}),n&&(0,mo.jsx)("div",{className:"board-tool-keys","aria-hidden":"true",children:i.map(({key:l})=>(0,mo.jsx)("kbd",{children:l},l))})]}),(0,mo.jsx)("div",{className:"board-tool-buttons",children:i.map(({tool:l,label:s,key:c,Icon:d})=>(0,mo.jsx)("button",{type:"button","aria-label":a(s),"aria-keyshortcuts":c,title:a("tool.withShortcut",{label:a(s),key:c}),"aria-pressed":e===l,onClick:()=>t(l),children:(0,mo.jsx)(d,{size:15})},c))})]})}var ge=Z(de(),1);function qo(e,t,a){return Tr(Xh(e,t,a,{normalize:!1,attributesOnly:!0}))}var oy=320,ry=(0,Le.createContext)(null);function iy({document:e,geometry:t,onChange:a,renderContent:n,header:o,revealId:r,revealInPlace:i,onRevealHandled:l,undo:s,redo:c,canUndo:d=!1,canRedo:u=!1,reading:p=!1,nativeInkBackground:b=!1,hideTitle:y=!1,pageWidthModes:f=!1,onActiveSurfaceChange:w,onControlsChange:h,retainedState:m,inspectorHost:v,onOpenEmbeddedSurface:T}){let x=se(Qe),E=se(jo),[P,U]=(0,Le.useState)(null),S=(0,Le.useMemo)(()=>Tr(Zs({...e})),[e]),k=(0,Le.useMemo)(()=>new F2,[S.id]),A=t??k,L=(0,Le.useRef)(S);L.current=S;let[C,I]=(0,Le.useState)(m?.selected??null),[D,N]=(0,Le.useState)(null),[_,j]=(0,Le.useState)(m?.expanded??null),[F,q]=(0,Le.useState)(m?.active??S.content.attrs.id),[J,V]=(0,Le.useState)(null),[pe,G]=(0,Le.useState)(null),[O,z]=(0,Le.useState)(null),[H,M]=(0,Le.useState)([]),oe=(0,Le.useCallback)(()=>z(null),[]),[fe,ue]=(0,Le.useState)(!1);(0,Le.useEffect)(()=>{let ae=matchMedia("print"),te=()=>(0,sd.flushSync)(()=>ue(!0)),Y=()=>ue(!1),Ce=()=>ue(ae.matches);return window.addEventListener("beforeprint",te),window.addEventListener("afterprint",Y),ae.addEventListener("change",Ce),()=>{window.removeEventListener("beforeprint",te),window.removeEventListener("afterprint",Y),ae.removeEventListener("change",Ce)}},[]);let Se=(0,Le.useRef)(m?.scrolls??new Map),Re=(0,Le.useRef)(m?.outlines??new Map),Pe=(0,Le.useRef)({selected:C,expanded:_,active:F});Pe.current={selected:C,expanded:_,active:F},(0,Le.useLayoutEffect)(()=>()=>{m&&Object.assign(m,Pe.current,{scrolls:Se.current,outlines:Re.current})},[m]),(0,Le.useEffect)(()=>{w?.(F)},[F,S.id]);let Fe=(0,Le.useMemo)(()=>E1(S),[S.content]),Nt=_?at(S,_)?.node:void 0,ze=Nt?.type==="surface"?Nt:S.content,Ke=[...Fe[ze.attrs.id]??[],ze.attrs.id].map(ae=>at(S,ae)?.node).filter(ae=>ae?.type==="surface"),W=S.content.attrs.id,ye=(0,Le.useCallback)(ae=>{if(ae!==W&&T){T(ae);return}j(ae===W?null:ae),q(ae),I(null),N(null)},[W,T]),he=ze.attrs.id,Ne=(0,Le.useCallback)(()=>G(he),[he]),We=(0,Le.useCallback)(ae=>{let te=qo(L.current,he,Y=>{Y.attrs={...Y.attrs,widthMode:ae}});L.current=te,a?.(te)},[he,a]),it=(0,Le.useCallback)(ae=>{let te=Om(L.current,he,ae);L.current=te,a?.(te),ye(at(te,he)?.parent?.attrs?.id??te.content.attrs.id)},[he,a,ye]),Ge=ze===S.content?S.title||Mn(ze):Mn(ze),le=Ha(ze);(0,Le.useEffect)(()=>{le==="board"&&D&&D!==C&&N(null)},[le,C,D]);let De=(0,Le.useMemo)(()=>a&&s&&c?{documentId:S.id,surfaceId:he,name:Ge,kind:le,nested:he!==W,canUndo:d,canRedo:u,undo:s,redo:c,setIcon:Ne,wrap:it,pageWidthMode:ze.attrs?.widthMode??"standard",setPageWidthMode:We,outlineSettings:()=>U(he)}:null,[S.id,he,Ge,le,W,d,u,s,c,Ne,it,ze.attrs?.widthMode,We,a]);(0,Le.useLayoutEffect)(()=>{h?.(De)},[h,De]),(0,Le.useLayoutEffect)(()=>()=>{h?.(null)},[h]),(0,Le.useEffect)(()=>{_&&!Nt&&ye(S.content.attrs.id)},[_,!!Nt]),(0,Le.useEffect)(()=>{if(!r)return;V(r),I(r);let te=[...Fe[r]??[]].reverse().find(Y=>at(S,Y)?.node.type==="surface");te&&(q(te),j(te===S.content.attrs.id?null:te)),l?.()},[r]),(0,Le.useEffect)(()=>{i&&(I(i),V(i))},[i]);let be={geometry:A,document:S,current:L,commit:(ae,te)=>{let Y=Tr(A.materialize(ae));L.current=Y,a?.(Y,te)},readOnly:!a,printing:fe,pageWidthModes:f,selected:C,select:I,inspect:N,expand:ye,active:F,activate:q,render:n,scrolls:Se.current,outlines:Re.current,outlineSettings:U,revealRequest:J,requestReveal:V,openComponents:(ae,te,Y)=>z({parentId:ae,left:te.x,top:te.y,position:Y})},me=D?at(S,D):void 0,Be=D?S.layout[D]:void 0,et=ae=>be.commit(Vi(be.geometry.materialize(L.current),{[D]:ae}));return(0,ge.jsx)(gb,{components:H,children:(0,ge.jsx)(ni.Provider,{value:ae=>M(te=>[...te,ae]),children:(0,ge.jsxs)(ry.Provider,{value:be,children:[P&&!be.readOnly&&at(S,P)?.node.attrs?.kind==="page"&&(0,ge.jsx)(Ib,{page:at(S,P).node,onClose:()=>U(null),onSave:(ae,te)=>{let Y=at(L.current,P)?.node;if(!Y||Y.attrs?.kind!=="page"||JSON.stringify(Y.attrs.outline)!==te)throw new Error(E("errorChanged"));be.commit(qo(L.current,P,Ce=>{Ce.attrs={...Ce.attrs},ae?Ce.attrs.outline=ae:delete Ce.attrs.outline}))}}),pe&&!be.readOnly&&(0,ge.jsx)(G4,{value:pe===S.content.attrs.id?S.icon:at(S,pe)?.node.attrs?.icon??"",onClose:()=>G(null),onSave:async ae=>{let te=L.current;if(pe===te.content.attrs.id)be.commit({...te,icon:ae});else{if(!at(te,pe))throw new Error(x("error.pageRemoved"));be.commit(qo(te,pe,Y=>{Y.attrs={...Y.attrs,icon:ae}}))}}}),O&&(0,ge.jsx)(Fb,{left:O.left,top:O.top,onClose:oe,onInsert:(ae,te)=>{let Y=Y2(L.current,O.parentId,ae,te);O.position&&Object.assign(Y.document.layout[Y.nodeId],O.position),be.commit(Y.document),I(Y.nodeId),O.position||V(Y.nodeId),oe()}}),(0,ge.jsxs)(Rb,{className:"container-workspace","data-resource-id":S.id,onKeyDown:ae=>{if(!(ae.defaultPrevented||ae.nativeEvent.isComposing)){if(!be.readOnly&&(ae.metaKey||ae.ctrlKey)&&!ae.altKey&&!ae.target.closest("input,textarea,select")&&["z","y"].includes(ae.key.toLowerCase())){let te=ae.shiftKey||ae.key.toLowerCase()==="y";if(te?u&&c:d&&s){ae.preventDefault(),ae.stopPropagation(),te?c?.():s?.();return}}if(ae.key==="/"&&!ae.metaKey&&!ae.ctrlKey&&!ae.altKey&&!be.readOnly&&!ae.target.closest('input,textarea,select,[role="dialog"]')&&ae.target.closest("[contenteditable]")?.getAttribute("contenteditable")!=="true"){let te=ae.target.closest("[data-component-container],[data-container-root]"),Y=te?.dataset.componentContainer??te?.dataset.containerRoot??F,Ce=te?.getBoundingClientRect()??ae.currentTarget.getBoundingClientRect();ae.preventDefault(),ae.stopPropagation();let tt=at(L.current,Y);for(;tt&&tt.node.type!=="surface";)tt=tt.parent?.attrs?.id?at(L.current,tt.parent.attrs.id):void 0;q(tt?.node.attrs?.id??F),z({parentId:Y,left:Ce.left+40,top:Ce.top+80});return}if(ae.key==="Escape"&&!ae.target.closest("input,textarea,select")){if(D){N(null);return}if(F!==ze.attrs.id){q(ze.attrs.id);return}Ke.length>1&&ye(Ke.at(-2).attrs.id)}}},children:[Ke.length>1&&(0,ge.jsxs)("div",{className:"container-workspace-bar","data-surface-ui":!0,children:[(0,ge.jsx)("nav",{"aria-label":x("nav.hierarchy"),children:Ke.map((ae,te)=>(0,ge.jsxs)("span",{children:[te>0&&(0,ge.jsx)(nn,{size:13}),(0,ge.jsxs)("button",{type:"button","aria-current":ae===ze?"page":void 0,onClick:()=>ye(ae.attrs.id),children:[Ha(ae)==="page"?(0,ge.jsx)(jn,{value:ae===S.content?S.icon:ae.attrs?.icon,size:14}):(0,ge.jsx)(f1,{size:14}),(0,ge.jsx)("span",{children:te===0?!y&&S.title||Ha(ae)==="page"&&"Page"||"Board":Mn(ae)})]})]},ae.attrs.id))}),Ke.length>1&&(0,ge.jsxs)("button",{type:"button",onClick:()=>ye(Ke.at(-2).attrs.id),children:[(0,ge.jsx)(I5,{size:14}),x("nav.back")]})]}),(0,ge.jsx)("div",{className:"container-main",children:(0,ge.jsx)(ly,{node:ze,root:!0,header:ze===S.content?o:(0,ge.jsxs)("h1",{children:[(0,ge.jsx)(jn,{value:ze.attrs?.icon,size:32})," ",Mn(ze)]}),reading:p,nativeInkBackground:b},ze.attrs.id)}),me&&(0,ge.jsx)(_S,{host:v,children:(0,ge.jsxs)("aside",{className:`surface-inspector container-inspector${le==="board"?" board-bottom-inspector":""}`,"data-surface-ui":!0,"aria-label":x("inspector.title"),children:[(0,ge.jsxs)("header",{children:[(0,ge.jsx)("strong",{children:x(v?"inspector.currentObject":"inspector.title")}),(0,ge.jsx)("button",{type:"button","aria-label":x("inspector.close"),onClick:()=>N(null),children:(0,ge.jsx)(Ja,{size:16})})]}),(0,ge.jsxs)("label",{children:[x("inspector.name"),(0,ge.jsx)("input",{"aria-label":x("inspector.nameLabel"),value:me.node.attrs?.name??Mn(me.node),maxLength:200,onChange:ae=>be.commit(qo(L.current,D,te=>{te.attrs={...te.attrs,name:ae.target.value}}))})]}),me.node.type==="surface"&&(0,ge.jsxs)("button",{type:"button",onClick:()=>G(me.node.attrs.id),children:[(0,ge.jsx)(jn,{value:me.node.attrs?.icon,size:18})," ",x("container.setIcon")]}),f&&me.node.type==="surface"&&Ha(me.node)==="page"&&(0,ge.jsxs)("label",{children:[x("pageWidth"),(0,ge.jsx)(ty,{value:me.node.attrs?.widthMode??"standard",onChange:ae=>be.commit(qo(L.current,D,te=>{te.attrs={...te.attrs,widthMode:ae}}))})]}),me.node.type==="surface"&&Ha(me.node)==="page"&&(0,ge.jsxs)("label",{children:[(0,ge.jsx)("input",{type:"checkbox",checked:!!me.node.attrs?.frameless,onChange:ae=>be.commit(qo(L.current,D,te=>{te.attrs={...te.attrs,frameless:ae.target.checked}}))}),x("container.frameless")]}),me.node.type==="region"&&(0,ge.jsxs)("label",{children:[x("inspector.arrange"),(0,ge.jsxs)("select",{"aria-label":x("inspector.regionLayout"),value:Be?.mode??"flow",onChange:ae=>et({...Be,mode:ae.target.value}),children:[(0,ge.jsx)("option",{value:"flow",children:x("layout.flow")}),(0,ge.jsx)("option",{value:"grid",children:x("layout.grid")}),(0,ge.jsx)("option",{value:"free",children:x("layout.free")})]})]}),Be?.mode==="grid"&&(0,ge.jsxs)("label",{children:[x("inspector.columns"),(0,ge.jsx)("input",{"aria-label":x("inspector.gridColumns"),type:"number",min:1,max:12,value:Be.columns??2,onChange:ae=>{let te=Number(ae.target.value);Number.isInteger(te)&&te>=1&&te<=12&&et({...Be,columns:te})}})]}),Be&&!(me.node.type==="drawing"&&me.node.attrs?.tool==="arrow")&&(0,ge.jsxs)(ge.Fragment,{children:[(0,ge.jsxs)("label",{children:[x("inspector.width"),(0,ge.jsx)("input",{"aria-label":x("inspector.moduleWidth"),type:"number",min:me.node.type==="drawing"?1:120,max:1e4,value:Math.round(Be.width),onChange:ae=>{let te=Number(ae.target.value);te>=(me.node.type==="drawing"?1:120)&&te<=1e4&&et({...Be,width:te})}})]}),me.node.type==="surface"&&(0,ge.jsxs)(ge.Fragment,{children:[(0,ge.jsxs)("label",{children:[x("inspector.heightMode"),(0,ge.jsxs)("select",{"aria-label":x("inspector.moduleHeightMode"),value:Be.heightMode??"fixed",onChange:ae=>et({...Be,heightMode:ae.target.value}),children:[(0,ge.jsx)("option",{value:"fixed",children:x("heightMode.fixed")}),Ha(me.node)==="page"&&(0,ge.jsx)("option",{value:"auto",children:x("heightMode.auto")})]})]}),Be.heightMode!=="auto"&&(0,ge.jsxs)("label",{children:[x("inspector.height"),(0,ge.jsx)("input",{"aria-label":x("inspector.moduleHeight"),type:"number",min:180,max:5e3,value:Be.height??460,onChange:ae=>{let te=Number(ae.target.value);te>=180&&te<=5e3&&et({...Be,height:te})}})]})]})]}),(0,ge.jsxs)("label",{children:[x("inspector.parent"),(0,ge.jsx)("select",{"aria-label":x("inspector.parent"),value:me.parent?.attrs?.id??"",onChange:ae=>{let te=ae.target.value;be.commit(_4(be.geometry.materialize(L.current),D,te,{...Be??{width:640},x:0,y:0})),N(null),ye(te),V(D)},children:ZS(S,D).map(ae=>(0,ge.jsx)("option",{value:ae.attrs.id,children:ae===S.content?x("inspector.rootOption",{name:Mn(ae)}):Mn(ae)},ae.attrs.id))})]}),(0,ge.jsx)("div",{className:"surface-inspector-actions",children:[-1,1].map(ae=>(0,ge.jsx)("button",{type:"button",onClick:()=>{let te=at(L.current,D),Y=te.parent,Ce=Y.content.indexOf(te.node),tt=_4(L.current,D,Y.attrs?.id,void 0,Math.max(0,Math.min(Y.content.length-1,Ce+ae))),ut=at(tt,Y.attrs.id).node,Zt=tt.surfaceViews[Y.attrs.id];Zt&&(Zt.readingOrder=ut.content.map(kt=>kt.attrs.id)),be.commit(tt)},children:ae<0?x("inspector.moveEarlier"):x("inspector.moveLater")},ae))}),(0,ge.jsx)("button",{type:"button",onClick:()=>{be.commit(U4(be.geometry.materialize(L.current),D)),N(null),I(null)},children:x("inspector.delete")})]})})]})]})})})}function _S({host:e,children:t}){return e?(0,sd.createPortal)(t,e):t}function ZS(e,t){let a=new Set,n=at(e,t)?.node;n&&Pn(n,r=>{r.attrs?.id&&a.add(r.attrs.id)});let o=[];return Pn(e.content,r=>{["surface","region"].includes(r.type??"")&&!a.has(r.attrs.id)&&o.push(r)}),n?.type==="drawing"?o.filter(r=>{let i=r;for(;i&&i.type!=="surface";)i=at(e,i.attrs.id)?.parent??void 0;return i?.attrs?.kind==="board"}):o}function ly({node:e,root:t=!1,header:a,reading:n=!1,nativeInkBackground:o=!1}){let r=(0,Le.useContext)(ry),i=e.attrs.id,l=Ha(e),s=r.readOnly,c=(0,Le.useRef)(null),d=(0,Le.useRef)(null),u=(0,Le.useRef)(null),[p,b]=(0,Le.useState)(null),[y,f]=(0,Le.useState)({pen:{color:"#252629",fillColor:"none",strokeWidth:2.5},highlighter:{color:"#facc15",fillColor:"none",strokeWidth:16},shape:{color:"#252629",fillColor:"none",strokeWidth:2.5},arrow:{color:"#252629",fillColor:"none",strokeWidth:2.5},eraser:{color:"#252629",fillColor:"none",strokeWidth:24}}),w=p==="pen"||p==="highlighter"||p==="eraser"||p==="arrow"?p:p==="text"?"pen":"shape",h=y[w],m=k=>{let A=window.showai?.inlineInk?.flush();return r.activate(i),r.select(null),r.inspect(null),b(k),A},v=t||r.active===i,T=(0,Le.useContext)(K2),x=`showai.page-scroll.v3:${r.document.id}:${i}:${t?"expanded":"embedded"}${T?`:${T}`:""}`;r.outlines.has(x)||r.outlines.set(x,{});let E=r.outlines.get(x);(0,Le.useLayoutEffect)(()=>{let k=d.current;if(!k)return;let A=W2()?.pageScrolls?.[i];if(A){k.scrollLeft=A.x,k.scrollTop=A.y;return}let L=r.scrolls.get(x)??VS(x);return Number.isFinite(L)&&(k.scrollTop=L),()=>{r.scrolls.set(x,k.scrollTop),GS(x,k.scrollTop)}},[x]),(0,Le.useLayoutEffect)(()=>{!r.printing&&d.current&&r.scrolls.has(x)&&(d.current.scrollTop=r.scrolls.get(x))},[r.printing,x]),(0,Le.useEffect)(()=>{let k=r.revealRequest;!k||[...E1(r.current.current)[k]??[]].reverse().find(C=>at(r.current.current,C)?.node.type==="surface")!==i||(l==="board"&&!n?c.current?.reveal(k):requestAnimationFrame(()=>d.current?.querySelector(`[data-surface-id="${CSS.escape(k)}"],[data-block-id="${CSS.escape(k)}"]`)?.scrollIntoView({block:"nearest"})),r.requestReveal(null))},[r.revealRequest]);let P={geometry:r.geometry,scale:1,selected:r.selected,select:r.select,inspect:r.inspect,expand:r.expand,readOnly:s,revealAll:l==="page"||n,revealed:new Set,move:s?void 0:(k,A)=>r.commit(Vi(r.geometry.materialize(r.current.current),{[k]:A})),remove:s?void 0:k=>{r.commit(U4(r.geometry.materialize(r.current.current),k)),r.select(null)}},U=a??(!t&&!e.attrs?.frameless?(0,ge.jsxs)("h2",{children:[(0,ge.jsx)(jn,{value:e.attrs?.icon,size:24})," ",Mn(e)]}):void 0),S=(0,Le.useCallback)(k=>(0,ge.jsx)(ly,{node:k}),[]);return t&&o&&s&&l==="board"?(0,ge.jsx)(Ua.Provider,{value:{...P,revealAll:!0},children:(0,ge.jsx)("div",{className:"native-ink-background",children:(0,ge.jsx)("div",{className:"native-ink-world","data-native-ink-world":!0,children:(0,ge.jsx)(X2,{document:r.document,container:e,spatial:!0,renderContent:r.render,renderSurface:S})})})}):l==="page"||n?(0,ge.jsx)(Ua.Provider,{value:P,children:(0,ge.jsxs)("div",{className:"page-outline-shell",ref:u,children:[(0,ge.jsx)("div",{ref:d,className:`container-page${t?" is-root":""}${n?" is-reading-projection":""}`,"data-container-root":i,"data-frameless":e.attrs?.frameless||void 0,"data-width-mode":(r.pageWidthModes||e.attrs?.outline?.enabled)&&l==="page"?e.attrs?.widthMode??"standard":void 0,"data-input-surface":i,"aria-label":`Page ${Mn(e)}`,onScroll:k=>{!r.printing&&!matchMedia("print").matches&&r.scrolls.set(x,k.currentTarget.scrollTop)},onPointerDownCapture:k=>{k.target.closest("[data-container-root]")===k.currentTarget&&r.activate(i)},children:(0,ge.jsxs)("div",{className:"container-page-column",children:[U&&(0,ge.jsx)("div",{className:"container-page-heading",children:U}),l==="page"&&(0,ge.jsx)(vb,{page:e}),(0,ge.jsx)(X2,{document:r.document,container:e,spatial:!n,renderContent:r.render,renderSurface:S})]})}),l==="page"&&!r.printing&&(0,ge.jsx)(yb,{page:e,documentId:r.document.id,scroll:d,shell:u,view:E,onSettings:s?void 0:()=>r.outlineSettings(i)})]})}):(0,ge.jsx)("div",{className:`container-board${t?" is-root":""}${v?" is-active":""}`,"data-container-root":i,"aria-label":`Board ${Mn(e)}`,onPointerDownCapture:k=>{k.target.closest("[data-container-root]")===k.currentTarget&&r.activate(i)},children:(0,ge.jsx)("div",{className:"container-board-scene",children:(0,ge.jsx)(H4,{embedded:!t,geometry:r.geometry,boardDocument:r.document,containerId:i,onTransform:s?void 0:(k,A)=>r.commit(Vi(r.geometry.materialize(r.current.current),k),A),onDuplicate:s?void 0:(k,A)=>{let L=Bb(r.geometry.materialize(r.current.current),k,A);return r.commit(L.document),r.select(L.ids[0]??null),L.ids},onCopyObjects:k=>b4(r.geometry.materialize(r.current.current),k),onPasteObjects:s?void 0:(k,A)=>{let L=r.geometry.materialize(r.current.current);if("text"in k){let N=Y2(L,i,"text",{format:"richtext",content:{type:"doc",content:k.text.split(/\r?\n/).slice(0,500).map(_=>({type:"paragraph",..._?{content:[{type:"text",text:_}]}:{}}))}});return Object.assign(N.document.layout[N.nodeId],{width:oy,...A}),r.commit(N.document),r.select(N.nodeId),[N.nodeId]}let C=k.clip.nodes.map(N=>k.clip.layout[N.attrs.id]).filter(Boolean),I=A&&C.length?{x:A.x-(Math.min(...C.map(N=>N.x))+Math.max(...C.map(N=>N.x+N.width)))/2,y:A.y-Math.min(...C.map(N=>N.y))}:{x:24,y:24},D=h4(L,i,k.clip,I);return r.commit(D.document),r.select(D.ids[0]??null),D.ids},onReorder:s?void 0:(k,A)=>r.commit(Hb(r.geometry.materialize(r.current.current),k,A)),onGroup:s?void 0:(k,A,L)=>{let C=Ub(r.geometry.materialize(r.current.current),k,A,L);return C?(r.commit(C.document),r.select(C.id),C.id):null},onUngroup:s?void 0:(k,A)=>{let L=_b(r.geometry.materialize(r.current.current),k,A);return L?(r.commit(L.document),r.select(L.ids[0]??null),L.ids):[]},onLock:s?void 0:(k,A)=>r.commit(Zb(r.geometry.materialize(r.current.current),k,A)),onDeleteSelection:s?void 0:k=>r.commit(Vb(r.geometry.materialize(r.current.current),k)),ref:c,pageId:`${r.document.id}:${i}:${t?"expanded":"embedded"}`,enabled:!0,printing:r.printing,nodes:D1(r.document,e).map(k=>({id:k.attrs.id,name:Mn(k)})),layoutKey:r.document.layout,paths:E1({...r.document,content:e}),views:Pm(r.document,e),header:t?U:void 0,selected:r.selected,onSelect:r.select,onInspect:r.inspect,onExpand:r.expand,onMove:P.move,onConnect:s?void 0:(k,A,L)=>{let C=r.geometry.materialize(r.current.current),I=at(C,k);if(!I||!C.layout[k])return;let D=Qd(I.node,C.layout[k]);D[A==="start"?0:1]=L;let N={...I.node.attrs?.bindings},_=z1(C,I.parent.attrs.id,L,8/(c.current?.scale()??1));_?N[A]=_:delete N[A];let j=T1(I.node,C.layout[k],D,N);r.commit(qo({...C,layout:{...C.layout,[k]:j.frame}},k,F=>{F.attrs=j.node.attrs}))},onRemove:P.remove,onViews:s?void 0:k=>r.commit({...r.current.current,surfaceViews:{...r.current.current.surfaceViews,[i]:k}}),drawTool:p,drawColor:h.color,drawFillColor:h.fillColor,drawStrokeWidth:h.strokeWidth,drawPressure:h.pressure!==!1,onStyleChange:(k,A)=>{let L=k.filter(I=>il(at(r.current.current,I)?.node));if(!L.length){f(I=>({...I,[w]:{...I[w],...A}}));return}let C=r.current.current;for(let I of L)C=qo(C,I,D=>{let N={...A};["rectangle","ellipse"].includes(D.attrs.tool)||delete N.fillColor,wo(D)||delete N.labelSize,D.attrs={...D.attrs,...N}});if(A.labelSize!==void 0){let I={};for(let D of L){let N=at(C,D)?.node,_=C.layout?.[D];if(!N?.attrs?.label||!_||N.attrs.tool==="arrow"||!wo(N))continue;let j=_m(N.attrs.tool,N.attrs.label,A.labelSize,_.width,N.attrs.strokeWidth);j>(_.height??0)&&(I[D]={..._,height:j})}Object.keys(I).length&&(C=Vi(C,I))}r.commit(C,`style:${[...L].sort().join(",")}`)},onLabel:s?void 0:(k,A,L)=>{let C=r.geometry.materialize(r.current.current),I=C.layout?.[k];L&&I&&L>(I.height??0)&&(C=Vi(C,{[k]:{...I,height:L}})),C=qo(C,k,D=>{A?D.attrs={...D.attrs,label:A}:delete D.attrs.label}),r.commit(C)},onTidy:s?void 0:(k,A)=>{let L=r.geometry.materialize(r.current.current),C=Kb(L,k,A);if(!C)return;let I=Vi(L,C.frames);for(let[D,N]of Object.entries(C.anchors))I=qo(I,D,_=>{let j=_.attrs.bindings;_.attrs.bindings={start:{...j.start,anchor:N.start},end:{...j.end,anchor:N.end}}});r.commit(Zs({...I}))},onAddComponent:s?void 0:(k,A)=>{let L=Y2(r.current.current,i,k,k==="text"?{format:"richtext",content:{type:"doc",content:[{type:"paragraph"}]}}:{});return Object.assign(L.document.layout[L.nodeId],k==="text"?{width:oy}:{},A),r.commit(L.document),r.select(L.nodeId),b(null),L.nodeId},onOpenComponents:s?void 0:(k,A)=>r.openComponents(i,k,A),onDrawExit:()=>b(null),onToolChange:m,onDraw:s?void 0:(k,A,L)=>{if(k.attrs?.tool==="arrow"){let I=Qd(k,A),D=z1(r.geometry.materialize(r.current.current),i,I[0],8/(c.current?.scale()??1)),N=z1(r.geometry.materialize(r.current.current),i,I[1],8/(c.current?.scale()??1));(D||N)&&(k.attrs.bindings={...D?{start:D}:{},...N?{end:N}:{}})}let C=Qh(r.current.current,k,A,i);L&&(C=y4(C,k.attrs.id,L.ids,L.offset)),r.commit(C),r.select(null)},extraActions:(0,ge.jsx)(ge.Fragment,{children:!s&&(0,ge.jsxs)(ge.Fragment,{children:[(0,ge.jsx)("span",{className:"surface-toolbar-divider"}),(0,ge.jsx)(ny,{tool:p,onChange:m})]})}),children:(0,ge.jsx)(X2,{document:r.document,container:e,renderContent:r.render,renderSurface:S})})})})}function VS(e){try{return Number(localStorage.getItem(e)||0)}catch{return 0}}function GS(e,t){try{localStorage.setItem(e,String(t))}catch{}}var kd=Z(Me(),1);var Ya=Z(Me(),1);var ri=Z(Me(),1);var Ns=Z(Me(),1);var uy=Z(de(),1),sy,qS;function FS(){return qS??=import("./chunks/code-highlighting-F3WJZEML.js").then(e=>sy=e)}function cy(e){return e.map((t,a)=>{if(t.type==="text")return t.value;if(t.type!=="element")return null;let n=t.properties.className;return(0,uy.jsx)("span",{className:Array.isArray(n)?n.join(" "):void 0,children:cy(t.children)},a)})}function dy({code:e,language:t}){let[a,n]=(0,Ns.useState)(sy);return(0,Ns.useEffect)(()=>{a||FS().then(n)},[a]),(0,Ns.useMemo)(()=>a?cy(a.highlightCode(e,t).children):e,[a,e,t])}var q4=Z(Me(),1);var Ie=Z(de(),1),WS=St(_1);function py(e){let t=e.attrs??{};return{...pl(t.componentStyle),...t.textAlign?{textAlign:t.textAlign}:{},...t.backgroundColor?{backgroundColor:t.backgroundColor}:{}}}function KS(e){let t=e.text??"";for(let[a,n]of(e.marks??[]).entries()){let o={key:`${n.type}-${a}`};switch(n.type){case"bold":t=(0,Ie.jsx)("strong",{...o,children:t});break;case"italic":t=(0,Ie.jsx)("em",{...o,children:t});break;case"underline":t=(0,Ie.jsx)("u",{...o,children:t});break;case"strike":t=(0,Ie.jsx)("s",{...o,children:t});break;case"code":t=(0,Ie.jsx)("code",{...o,children:t});break;case"highlight":t=(0,Ie.jsx)("mark",{...o,"data-color":n.attrs?.color??n.attrs?.backgroundColor,"data-highlight-mode":n.attrs?.mode??"lower",style:{"--showai-highlight-color":n.attrs?.color??n.attrs?.backgroundColor},children:t});break;case"annotation":t=(0,Ie.jsx)("span",{...o,...G1(String(n.attrs?.note??"")),children:t});break;case"textStyle":t=(0,Ie.jsx)("span",{...o,style:{color:n.attrs?.color,fontSize:n.attrs?.fontSize,fontFamily:n.attrs?.fontFamily},children:t});break;case"link":t=(0,Ie.jsx)("a",{...o,href:Bn(n.attrs?.href)||(String(n.attrs?.href??"").startsWith("#")?n.attrs?.href:void 0),title:n.attrs?.title,target:String(n.attrs?.href??"").startsWith("#")?void 0:"_blank",rel:"noopener noreferrer",children:t});break;default:throw new Error(`Unsupported text format: ${n.type}`)}}return t}function YS(e){let t=(e.content?.[0]?.content??[]).flatMap(a=>{let n=Number(a.attrs?.colspan??1),o=a.attrs?.colwidth??[];return Array.from({length:n},(r,i)=>o[i]||void 0)});return t.some(Boolean)?(0,Ie.jsx)("colgroup",{children:t.map((a,n)=>(0,Ie.jsx)("col",{style:a?{width:a}:void 0},n))}):null}function qi({node:e,renderWidget:t}){let a=e.attrs??{},n=e.content?.map((r,i)=>(0,Ie.jsx)(qi,{node:r,renderWidget:t},r.attrs?.id??i)),o={id:a.id,"data-block-id":a.id,style:py(e)};switch(e.type){case"richText":return(0,Ie.jsx)("div",{...o,className:"rich-text-component","data-component-kind":"text",style:pl(a.data),children:n});case"region":case"doc":return(0,Ie.jsx)(Ie.Fragment,{children:n});case"text":return KS(e);case"mathInline":case"mathBlock":return V1(),(0,q4.createElement)(e.type==="mathBlock"?"div":"span",{...o,className:e.type==="mathBlock"||a.display?"sb-math-display":"sb-math-inline",dangerouslySetInnerHTML:{__html:Vm(a.latex??"",e.type==="mathBlock"||!!a.display)}});case"hardBreak":return(0,Ie.jsx)("br",{...o});case"paragraph":return(0,Ie.jsx)("p",{...o,children:n?.length?n:(0,Ie.jsx)("br",{})});case"heading":return(0,q4.createElement)(`h${a.level??1}`,o,n);case"blockquote":return(0,Ie.jsx)("blockquote",{...o,children:n});case"bulletList":return(0,Ie.jsx)("ul",{...o,children:n});case"orderedList":return(0,Ie.jsx)("ol",{...o,start:a.start??1,type:a.type,children:n});case"listItem":return(0,Ie.jsx)("li",{...o,children:n});case"taskList":return(0,Ie.jsx)("ul",{...o,className:"portable-task-list",children:n});case"taskItem":return(0,Ie.jsxs)("li",{...o,className:"portable-task","data-checked":!!a.checked,children:[(0,Ie.jsx)("input",{type:"checkbox",checked:!!a.checked,disabled:!0,"aria-label":"Task completion"}),(0,Ie.jsx)("div",{children:n})]});case"codeBlock":return(0,Ie.jsx)("pre",{...o,className:"code-block",children:(0,Ie.jsx)("code",{className:a.language?`language-${a.language}`:void 0,children:(0,Ie.jsx)(dy,{code:(e.content??[]).map(r=>r.text??"").join(""),language:a.language})})});case"horizontalRule":return(0,Ie.jsx)("hr",{...o,style:{...o.style,borderTopColor:a.componentStyle?.color}});case"image":return(0,Ie.jsx)("div",{id:a.id,"data-block-id":a.id,children:(0,Ie.jsx)(U6,{attrs:a})});case"table":return(0,Ie.jsx)("div",{className:"portable-table-scroll",children:(0,Ie.jsxs)("table",{...o,children:[a.title&&(0,Ie.jsx)("caption",{children:a.title}),YS(e),(0,Ie.jsx)("tbody",{children:n})]})});case"tableRow":return(0,Ie.jsx)("tr",{...o,children:n});case"tableCell":return(0,Ie.jsx)("td",{...o,colSpan:a.colspan??1,rowSpan:a.rowspan??1,children:n});case"tableHeader":return(0,Ie.jsx)("th",{...o,colSpan:a.colspan??1,rowSpan:a.rowspan??1,children:n});case"callout":return(0,Ie.jsxs)("aside",{...o,className:`portable-callout tone-${a.tone??"sage"}`,children:[(0,Ie.jsx)("span",{className:"portable-callout-icon","aria-hidden":"true",children:a.icon??"\u{1F4A1}"}),(0,Ie.jsxs)("div",{children:[a.title&&(0,Ie.jsx)("strong",{children:a.title}),n]})]});case"toggle":return(0,Ie.jsxs)("details",{...o,className:"portable-toggle",open:!!a.open,children:[(0,Ie.jsx)("summary",{children:a.title||a.summary||WS("toggle.expand")}),(0,Ie.jsx)("div",{className:"portable-toggle-body",children:n})]});case"stepper":return(0,Ie.jsx)(V6,{id:a.id,style:py(e),titles:(e.content??[]).map((r,i)=>Z6(r.attrs?.title,i)),steps:(e.content??[]).map((r,i)=>(0,Ie.jsx)(qi,{node:{...r,type:"region"},renderWidget:t},r.attrs?.id??i))});case"step":return(0,Ie.jsx)("section",{...o,children:n});case"widget":return["image","code","table","callout","toggle","divider"].includes(a.kind)?(0,Ie.jsx)(qi,{node:Fm(e),renderWidget:t}):(0,Ie.jsx)("div",{...o,className:"portable-widget","data-widget-kind":a.kind,children:t?.(a.kind,a.data??{})});default:throw new Error(`Unsupported page block: ${e.type}`)}}function my({content:e,data:t,renderWidget:a}){return(0,Ie.jsx)("div",{className:"portable-content sb-rich-text",style:pl(t),children:(0,Ie.jsx)(qi,{node:e,renderWidget:a})})}var Fi=Z(de(),1),JS=(0,ri.lazy)(()=>import("./chunks/RichTextEditor-6ICZMOD6.js"));function t1({data:e,onChange:t,readOnly:a,host:n}){let o=se(_1);V1(),Gm(e);let r=(0,ri.useMemo)(()=>ul(e),[e.content,e.format]),{renderWidget:i}=(0,ri.useContext)(Z1),l=!a&&!!(t||n?.onContentChange),s=pl(e);return(0,Fi.jsx)("section",{className:"sb-primitive sb-text rich-text-component","data-component-kind":"text","aria-label":o("region"),style:s,children:l?(0,Fi.jsx)(ri.Suspense,{fallback:(0,Fi.jsx)("div",{role:"status",children:o("opening")}),children:(0,Fi.jsx)(JS,{...n,trailingNode:!n?.continuousPage,content:r,readOnly:!1,onChange:(c,d)=>{n?.onContentChange?n.onContentChange(c,d):t?.({...e,content:c,format:"richtext"})}})}):(0,Fi.jsx)("div",{className:"sb-rich-text portable-content",children:(0,Fi.jsx)(qi,{node:r,renderWidget:(c,d)=>i({kind:c,data:d,readOnly:!0})})})})}var mr=Z(de(),1);function Wi({kind:e,data:t,onChange:a,readOnly:n}){A1(e,t);let o=t.document?void 0:N1(e,t);return(0,mr.jsx)(t1,{data:{content:t.document??{type:"doc",content:o?[o]:[]},format:"richtext"},readOnly:n,onChange:a?r=>{a({document:r.content})}:void 0})}var fy=e=>(0,mr.jsx)(Wi,{...e,kind:"image"}),gy=e=>(0,mr.jsx)(Wi,{...e,kind:"table"}),by=e=>(0,mr.jsx)(Wi,{...e,kind:"code"}),hy=e=>(0,mr.jsx)(Wi,{...e,kind:"callout"}),yy=e=>(0,mr.jsx)(Wi,{...e,kind:"toggle"}),vy=e=>(0,mr.jsx)(Wi,{...e,kind:"stepper"}),xy=e=>(0,mr.jsx)(Wi,{...e,kind:"divider"});var aa=Z(Me(),1);var dd=Z(Me(),1);var cd=rt("references",{"zh-CN":{invalid:"\u53C2\u8003\u6587\u732E\u683C\u5F0F\u4E0D\u6B63\u786E\u3002",references:"\u53C2\u8003\u6587\u732E",title:"\u6807\u9898",entry:"\u6587\u732E {index}",entryTitle:"\u6587\u732E\u6807\u9898",authors:"\u4F5C\u8005",authorsPlaceholder:"\u591A\u4E2A\u4F5C\u8005\u7528\u9017\u53F7\u5206\u9694",year:"\u5E74\u4EFD",venue:"\u671F\u520A\u6216\u4F1A\u8BAE",url:"\u7F51\u5740",note:"\u5907\u6CE8",deleteEntry:"\u5220\u9664\u6587\u732E {index}",addEntry:"\u6DFB\u52A0\u6587\u732E",emptyTitle:"\u6DFB\u52A0\u53C2\u8003\u6587\u732E",emptyDescription:"\u6574\u7406\u4F5C\u8005\u3001\u5E74\u4EFD\u3001\u51FA\u5904\u4E0E DOI","bookmark.invalidUrl":"\u8BF7\u8F93\u5165\u5B8C\u6574\u7684 http \u6216 https \u7F51\u5740\u3002","bookmark.invalidImage":"\u5C01\u9762\u9700\u8981 http\u3001https \u6216\u5185\u5D4C\u56FE\u7247\u5730\u5740\u3002","bookmark.label":"\u6765\u6E90\u4E66\u7B7E","bookmark.url":"\u7F51\u5740","bookmark.title":"\u6807\u9898","bookmark.titlePlaceholder":"\u6765\u6E90\u7684\u540D\u79F0","bookmark.summary":"\u6458\u8981","bookmark.image":"\u5C01\u9762\u56FE\u7247\u5730\u5740\uFF08\u53EF\u9009\uFF09","bookmark.save":"\u4FDD\u5B58\u4E66\u7B7E","bookmark.emptyTitle":"\u4E3A\u7ED3\u8BBA\u7559\u4E0B\u51FA\u5904","bookmark.add":"\u6DFB\u52A0\u6765\u6E90"},en:{invalid:"The references are not in a valid format.",references:"References",title:"Title",entry:"Reference {index}",entryTitle:"Reference title",authors:"Authors",authorsPlaceholder:"Separate multiple authors with commas",year:"Year",venue:"Journal or conference",url:"URL",note:"Note",deleteEntry:"Delete reference {index}",addEntry:"Add reference",emptyTitle:"Add references",emptyDescription:"Organize authors, years, venues and DOIs","bookmark.invalidUrl":"Enter a complete http or https URL.","bookmark.invalidImage":"The cover needs an http, https or embedded image URL.","bookmark.label":"Source bookmark","bookmark.url":"URL","bookmark.title":"Title","bookmark.titlePlaceholder":"Name of the source","bookmark.summary":"Summary","bookmark.image":"Cover image URL (optional)","bookmark.save":"Save bookmark","bookmark.emptyTitle":"Show where a conclusion comes from","bookmark.add":"Add source"}});var wt=Z(de(),1);function wy({data:e,onChange:t,readOnly:a}){let n=se(cd),[o,r]=(0,dd.useState)(!1),[i,l]=(0,dd.useState)({title:"",description:"",url:"",image:""}),[s,c]=(0,dd.useState)(""),d=!!(t&&!a),u=Bn(e.url),p=Hn(e.image),b=u?new URL(u).hostname.replace(/^www\./,""):"",y=()=>{l({title:re(e.title),description:re(e.description),url:re(e.url),image:re(e.image)}),c(""),r(!o)},f=()=>{if(!Bn(i.url.trim())){c(n("bookmark.invalidUrl"));return}if(i.image.trim()&&!Hn(i.image.trim())){c(n("bookmark.invalidImage"));return}t?.({...e,...i,url:i.url.trim(),image:i.image.trim()}),r(!1)};return(0,wt.jsxs)("section",{className:"sb-block sb-bookmark","aria-label":re(e.title)||n("bookmark.label"),children:[(0,wt.jsx)(ma,{icon:(0,wt.jsx)(Ld,{size:16}),editable:d,editing:o,onEdit:y}),o&&(0,wt.jsx)(ja,{children:(0,wt.jsxs)("div",{className:"sb-editor-panel",children:[(0,wt.jsx)(je,{label:n("bookmark.url"),children:(0,wt.jsx)("input",{type:"url",placeholder:"https://\u2026",value:i.url,onChange:w=>l(h=>({...h,url:w.target.value}))})}),(0,wt.jsx)(je,{label:n("bookmark.title"),children:(0,wt.jsx)("input",{placeholder:n("bookmark.titlePlaceholder"),value:i.title,onChange:w=>l(h=>({...h,title:w.target.value}))})}),(0,wt.jsx)(je,{label:n("bookmark.summary"),children:(0,wt.jsx)("textarea",{rows:3,value:i.description,onChange:w=>l(h=>({...h,description:w.target.value}))})}),(0,wt.jsx)(je,{label:n("bookmark.image"),children:(0,wt.jsx)("input",{type:"url",value:i.image,onChange:w=>l(h=>({...h,image:w.target.value}))})}),s&&(0,wt.jsx)("p",{className:"sb-error",role:"alert",children:s}),(0,wt.jsx)("div",{className:"sb-panel-footer",children:(0,wt.jsxs)("button",{type:"button",className:"sb-button sb-primary",onClick:f,children:[(0,wt.jsx)(Oa,{size:14}),n("bookmark.save")]})})]})}),u?(0,wt.jsxs)("a",{className:"sb-bookmark-link",href:u,target:"_blank",rel:"noopener noreferrer",children:[(0,wt.jsxs)("div",{className:"sb-bookmark-copy",children:[(0,wt.jsx)("strong",{children:re(e.title)||b}),re(e.description)&&(0,wt.jsx)("p",{children:re(e.description)}),(0,wt.jsxs)("span",{className:"sb-bookmark-domain",children:[(0,wt.jsx)(jd,{size:12}),b,(0,wt.jsx)(bi,{size:12})]})]}),p&&(0,wt.jsx)("img",{src:p,alt:"",loading:"lazy",referrerPolicy:"no-referrer"})]}):(0,wt.jsx)(va,{icon:(0,wt.jsx)(Ld,{size:27,strokeWidth:1.4}),title:n("bookmark.emptyTitle"),action:d&&!o?(0,wt.jsxs)("button",{type:"button",className:"sb-button",onClick:y,children:[(0,wt.jsx)(jd,{size:14}),n("bookmark.add")]}):void 0})]})}var F4=Z(Me(),1);var ud=Z(Me(),1);var ky=rt("resourceEditor",{"zh-CN":{wrongType:"\u8BF7\u9009\u62E9\u5BF9\u5E94\u7C7B\u578B\u7684\u6587\u4EF6\u3002",tooLarge:"\u300C{name}\u300D\u4E3A {size}\uFF0C\u5355\u4E2A\u8D44\u6E90\u4E0A\u9650 {limit}\u3002\u8F83\u5927\u7684\u5A92\u4F53\u53EF\u586B\u5199\u5728\u7EBF\u6587\u4EF6\u5730\u5740\u3002",readFailed:"\u6587\u4EF6\u8BFB\u53D6\u5931\u8D25\u3002",invalid:"\u6587\u4EF6\u8BBE\u7F6E\u4E0D\u6B63\u786E\u3002",reading:"\u8BFB\u53D6\u6587\u4EF6\u2026",chooseLocal:"\u9009\u62E9\u672C\u5730\u6587\u4EF6",onlineUrl:"\u5728\u7EBF\u6587\u4EF6\u5730\u5740",title:"\u6807\u9898",caption:"\u8BF4\u660E",aspectRatio:"\u753B\u9762\u6BD4\u4F8B",poster:"\u5C01\u9762\u56FE\u7247\u5730\u5740",initialPage:"\u521D\u59CB\u9875\u7801",readerHeight:"\u9605\u8BFB\u533A\u9AD8\u5EA6",hint:"\u672C\u5730\u6587\u4EF6\u968F\u9875\u9762\u4FDD\u5B58\uFF1B\u5728\u7EBF\u5730\u5740\u9700\u8981\u7F51\u7EDC\u3002\u5355\u4E2A\u539F\u59CB\u6587\u4EF6\u6700\u591A 64 MiB\uFF0C\u9875\u9762\u8D44\u6E90\u5408\u8BA1\u6700\u591A 128 MiB\uFF1B\u9875\u9762\u6587\u5B57\u4E0E\u7ED3\u6784\u53E6\u884C\u8BA1\u7B97\u3002"},en:{wrongType:"Choose a file of the matching type.",tooLarge:"\u201C{name}\u201D is {size}. Each resource can be up to {limit}. For larger media, enter an online file URL.",readFailed:"Couldn't read the file.",invalid:"The file settings are invalid.",reading:"Reading file\u2026",chooseLocal:"Choose local file",onlineUrl:"Online file URL",title:"Title",caption:"Caption",aspectRatio:"Aspect ratio",poster:"Cover image URL",initialPage:"Starting page",readerHeight:"Reader height",hint:"Local files are saved with the page; online URLs need a network connection. Each original file can be up to 64 MiB and a page's resources up to 128 MiB in total. Page text and structure are counted separately."}});var ft=Z(de(),1);function pd({kind:e,data:t,onSave:a,onClose:n}){let o=se(ky),r=se(Ga),[i,l]=(0,ud.useState)(t),[s,c]=(0,ud.useState)(""),[d,u]=(0,ud.useState)(!1),p=(f,w)=>l(h=>({...h,[f]:w})),b=async f=>{c("");let w=h6(e,f);if(!w){c(o("wrongType"));return}if(f.size>b6){c(o("tooLarge",{name:f.name,size:dl(f.size),limit:dl(xo.resourceBytes)}));return}u(!0);try{let h=await new Promise((m,v)=>{let T=new FileReader;T.onload=()=>m(String(T.result).replace(/^data:[^;,]*;base64,/,`data:${w};base64,`)),T.onerror=()=>v(T.error??new Error(o("readFailed"))),T.readAsDataURL(f)});l(m=>({...m,src:h,fileName:f.name}))}catch(h){c(h instanceof Error?h.message:o("readFailed"))}finally{u(!1)}},y=()=>{try{Wo(e,i),a(i)}catch(f){c(f instanceof Error?f.message:o("invalid"))}};return(0,ft.jsx)(ja,{children:(0,ft.jsxs)("div",{className:"sb-editor-panel",onKeyDown:f=>{f.stopPropagation(),f.key==="Escape"&&n()},children:[(0,ft.jsxs)("div",{className:"sb-resource-source",children:[(0,ft.jsxs)("label",{className:"sb-button sb-resource-upload",children:[(0,ft.jsx)(h1,{size:14}),o(d?"reading":"chooseLocal"),(0,ft.jsx)("input",{type:"file","aria-label":o("chooseLocal"),disabled:d,accept:e==="pdf"?".pdf,application/pdf":`${e}/*`,onChange:f=>{let w=f.target.files?.[0];w&&b(w),f.target.value=""}})]}),re(i.fileName)&&(0,ft.jsx)("span",{className:"sb-resource-file-name",children:re(i.fileName)})]}),(0,ft.jsx)(je,{label:o("onlineUrl"),children:(0,ft.jsx)("input",{type:"url",placeholder:"https://\u2026",value:re(i.src).startsWith("data:")?"":re(i.src),onChange:f=>l(w=>({...w,src:f.target.value,fileName:""}))})}),(0,ft.jsx)(je,{label:o("title"),children:(0,ft.jsx)("input",{value:re(i.title),onChange:f=>p("title",f.target.value)})}),(0,ft.jsx)(je,{label:o("caption"),children:(0,ft.jsx)("textarea",{rows:2,value:re(i.caption),onChange:f=>p("caption",f.target.value)})}),e==="video"&&(0,ft.jsxs)(ft.Fragment,{children:[(0,ft.jsx)(je,{label:o("aspectRatio"),children:(0,ft.jsx)("select",{value:re(i.aspectRatio,"16:9"),onChange:f=>p("aspectRatio",f.target.value),children:["16:9","4:3","1:1","9:16"].map(f=>(0,ft.jsx)("option",{children:f},f))})}),(0,ft.jsx)(je,{label:o("poster"),children:(0,ft.jsx)("input",{value:re(i.poster),onChange:f=>p("poster",f.target.value)})})]}),e==="pdf"&&(0,ft.jsxs)("div",{className:"sb-resource-fields",children:[(0,ft.jsx)(je,{label:o("initialPage"),children:(0,ft.jsx)("input",{type:"number",min:1,value:Number(i.page??1),onChange:f=>p("page",f.target.valueAsNumber)})}),(0,ft.jsx)(je,{label:o("readerHeight"),children:(0,ft.jsx)("input",{type:"number",min:240,max:1200,value:Number(i.height??560),onChange:f=>p("height",f.target.valueAsNumber)})})]}),(0,ft.jsx)("p",{className:"sb-resource-hint",children:o("hint")}),s&&(0,ft.jsx)("p",{className:"sb-error",role:"alert",children:s}),(0,ft.jsx)("div",{className:"sb-panel-footer",children:(0,ft.jsxs)("button",{className:"sb-button sb-primary",type:"button",disabled:d,onClick:y,children:[(0,ft.jsx)(Oa,{size:14}),r("save")]})})]})})}var Sy=rt("media",{"zh-CN":{video:"\u89C6\u9891",audio:"\u97F3\u9891",videoPlayer:"\u89C6\u9891\u64AD\u653E\u5668",audioPlayer:"\u97F3\u9891\u64AD\u653E\u5668",playFailed:"\u6587\u4EF6\u65E0\u6CD5\u64AD\u653E\uFF0C\u8BF7\u68C0\u67E5\u5730\u5740\u3001\u7F51\u7EDC\u6216\u6587\u4EF6\u7F16\u7801\u3002",openOriginal:"\u6253\u5F00\u539F\u6587\u4EF6",addVideo:"\u6DFB\u52A0\u89C6\u9891",addAudio:"\u6DFB\u52A0\u97F3\u9891",emptyDescription:"\u4E0A\u4F20\u672C\u5730\u6587\u4EF6\u6216\u586B\u5199\u5728\u7EBF\u6587\u4EF6\u5730\u5740",chooseFile:"\u9009\u62E9\u6587\u4EF6"},en:{video:"Video",audio:"Audio",videoPlayer:"Video player",audioPlayer:"Audio player",playFailed:"This file can't be played. Check the URL, your network or the file encoding.",openOriginal:"Open original file",addVideo:"Add video",addAudio:"Add audio",emptyDescription:"Upload a local file or enter an online file URL",chooseFile:"Choose file"}});var Yt=Z(de(),1);function Cy({kind:e,data:t,onChange:a,readOnly:n}){let o=se(Sy),[r,i]=(0,F4.useState)(!1),[l,s]=(0,F4.useState)(""),c=!!(a&&!n),d=O1(e,t.src),u=o(e==="video"?"video":"audio"),p=e==="video"?um:_d;return(0,Yt.jsxs)("section",{className:`sb-block sb-media sb-${e}`,"aria-label":_a(t.title,u),children:[(e==="audio"||!d)&&(0,Yt.jsx)(ma,{editable:c,editing:r,onEdit:()=>i(!r)}),r&&(0,Yt.jsx)(pd,{kind:e,data:t,onClose:()=>i(!1),onSave:b=>{a?.(b),i(!1),s("")}}),d?(0,Yt.jsxs)("figure",{className:"sb-media-figure",children:[e==="video"?(0,Yt.jsxs)("div",{className:"sb-video-stage","data-surface-gesture":"own",children:[(0,Yt.jsx)(ma,{title:re(t.title),defaultTitle:u,editable:c,editing:r,onEdit:()=>i(!r)}),(0,Yt.jsx)("video",{controls:!0,playsInline:!0,preload:"metadata",poster:Hn(t.poster),loop:t.loop===!0,muted:t.muted===!0,style:{aspectRatio:re(t.aspectRatio,"16:9").replace(":"," / ")},src:d,"aria-label":_a(t.title,o("videoPlayer")),onError:()=>s(d)},d)]}):(0,Yt.jsxs)("div",{className:"sb-audio-body","data-surface-gesture":"own",children:[(0,Yt.jsx)("div",{className:"sb-audio-icon",children:(0,Yt.jsx)(_d,{size:20})}),(0,Yt.jsxs)("div",{className:"sb-audio-track",children:[(0,Yt.jsx)("div",{className:"sb-audio-name",children:re(t.title)||re(t.fileName)||o("audio")}),(0,Yt.jsx)("audio",{controls:!0,preload:"metadata",src:d,loop:t.loop===!0,"aria-label":_a(t.title,o("audioPlayer")),onError:()=>s(d)},d)]})]}),l===d&&(0,Yt.jsxs)("p",{className:"sb-error",role:"alert",children:[o("playFailed")," ",(0,Yt.jsx)("a",{href:d,download:re(t.fileName)||void 0,target:"_blank",rel:"noopener noreferrer",children:o("openOriginal")})]}),re(t.caption)&&(0,Yt.jsx)("figcaption",{className:"sb-resource-caption",children:re(t.caption)})]}):(0,Yt.jsx)(va,{icon:(0,Yt.jsx)(p,{size:28,strokeWidth:1.4}),title:o(e==="video"?"addVideo":"addAudio"),description:o("emptyDescription"),action:c&&!r?(0,Yt.jsxs)("button",{type:"button",className:"sb-button",onClick:()=>i(!0),children:[(0,Yt.jsx)(yo,{size:14}),o("chooseFile")]}):void 0})]})}var Ty=e=>(0,Yt.jsx)(Cy,{...e,kind:"video"}),zy=e=>(0,Yt.jsx)(Cy,{...e,kind:"audio"});var Ra=Z(Me(),1);var dt=Z(de(),1);function XS({src:e,initialPage:t,height:a,name:n}){let o=se(mu),[r,i]=(0,Ra.useState)(),[l,s]=(0,Ra.useState)(t),[c,d]=(0,Ra.useState)(1),[u,p]=(0,Ra.useState)(600),[b,y]=(0,Ra.useState)(""),[f,w]=(0,Ra.useState)(!0),[h,m]=(0,Ra.useState)(""),v=(0,Ra.useRef)(null),T=(0,Ra.useRef)(null),x=(0,Ra.useRef)(null);return(0,Ra.useEffect)(()=>{let E=!0,P;return import("./chunks/pdf-engine-XQHKQXXX.js").then(U=>{if(E)return P=U.loadPdf(e),P.promise.then(S=>{E&&(i(S),s(Math.min(t,S.numPages)))})}).catch(U=>{E&&(y(o("loadFailed",{error:U instanceof Error?U.message:String(U)})),w(!1))}),()=>{E=!1,P?.destroy()}},[e]),(0,Ra.useEffect)(()=>{if(!T.current)return;let E=new ResizeObserver(P=>p(P[0].contentRect.width));return E.observe(T.current),()=>E.disconnect()},[]),(0,Ra.useEffect)(()=>{if(!r||!v.current)return;let E=!0,P,U=v.current;return w(!0),y(""),m(""),r.getPage(l).then(async S=>{if(!E)return;let k=S.getViewport({scale:1}),A=Math.max(120,u-40)/k.width*c,L=S.getViewport({scale:A}),C=Math.min(2,window.devicePixelRatio||1);U.width=Math.ceil(L.width*C),U.height=Math.ceil(L.height*C),U.style.width=`${L.width}px`,U.style.height=`${L.height}px`,P=S.render({canvas:U,viewport:L,transform:[C,0,0,C,0,0]}),await P.promise;let I=await S.getTextContent();E&&(m(I.items.map(D=>"str"in D?D.str+(D.hasEOL?`
|
|
36
|
+
`:" "):"").join("")),w(!1))}).catch(S=>{E&&(y(o("pageFailed",{error:S instanceof Error?S.message:String(S)})),w(!1))}),()=>{E=!1,P?.cancel()}},[r,l,u,c]),(0,dt.jsxs)("div",{className:"sb-pdf-reader","data-surface-gesture":"own","aria-busy":f,children:[(0,dt.jsxs)("div",{className:"sb-pdf-toolbar",role:"group","aria-label":o("controls"),children:[(0,dt.jsxs)("div",{className:"sb-pdf-pagination",children:[(0,dt.jsx)("button",{type:"button",className:"sb-icon-button","aria-label":o("previousPage"),disabled:!r||l<=1,onClick:()=>s(l-1),children:(0,dt.jsx)(xr,{size:16})}),(0,dt.jsxs)("label",{className:"sb-pdf-page",children:[(0,dt.jsx)("input",{ref:x,type:"number","aria-label":o("pageNumber"),min:1,max:r?.numPages??1,defaultValue:l,disabled:!r,onKeyDown:E=>{E.stopPropagation(),E.key==="Enter"&&E.currentTarget.blur()},onBlur:E=>{let P=E.target.valueAsNumber;r&&Number.isInteger(P)&&s(Math.min(r.numPages,Math.max(1,P))),E.currentTarget.value=String(Number.isInteger(P)&&r?Math.min(r.numPages,Math.max(1,P)):l)}},l),(0,dt.jsxs)("span",{children:["/ ",r?.numPages??"\u2014"]})]}),(0,dt.jsx)("button",{type:"button",className:"sb-icon-button","aria-label":o("nextPage"),disabled:!r||l>=r.numPages,onClick:()=>s(l+1),children:(0,dt.jsx)(nn,{size:16})})]}),(0,dt.jsxs)("div",{className:"sb-pdf-zoom",children:[(0,dt.jsx)("button",{type:"button",className:"sb-icon-button","aria-label":o("zoomOut"),disabled:c<=.5,onClick:()=>d(Math.max(.5,c-.25)),children:(0,dt.jsx)(rl,{size:14})}),(0,dt.jsxs)("button",{type:"button",className:"sb-pdf-fit",title:o("fitWidth"),"aria-label":o("fitWidthLabel"),onClick:()=>d(1),children:[Math.round(c*100),"%"]}),(0,dt.jsx)("button",{type:"button",className:"sb-icon-button","aria-label":o("zoomIn"),disabled:c>=3,onClick:()=>d(Math.min(3,c+.25)),children:(0,dt.jsx)(Pt,{size:14})})]}),(0,dt.jsx)("a",{className:"sb-icon-button","aria-label":o("download"),href:e,download:n||"document.pdf",target:"_blank",rel:"noopener noreferrer",children:(0,dt.jsx)(wr,{size:15})})]}),(0,dt.jsxs)("div",{className:"sb-pdf-viewport",ref:T,style:{height:a},tabIndex:0,"aria-label":o("viewportLabel",{page:l}),onKeyDown:E=>{E.stopPropagation(),!(E.target!==E.currentTarget||!r)&&(E.key==="ArrowRight"&&l<r.numPages&&(E.preventDefault(),s(l+1)),E.key==="ArrowLeft"&&l>1&&(E.preventDefault(),s(l-1)))},children:[f&&(0,dt.jsx)("p",{className:"sb-pdf-status",role:"status",children:o("loading")}),b&&(0,dt.jsxs)("p",{className:"sb-pdf-status sb-error",role:"alert",children:[b," ",(0,dt.jsx)("a",{href:e,download:n||"document.pdf",target:"_blank",rel:"noopener noreferrer",children:o("openOriginal")})]}),(0,dt.jsx)("canvas",{ref:v,"aria-label":o("pageContent",{page:l}),style:{visibility:f||b?"hidden":"visible"}})]}),h&&(0,dt.jsxs)("details",{className:"sb-pdf-text",children:[(0,dt.jsx)("summary",{children:o("pageText")}),(0,dt.jsx)("p",{children:h})]})]})}function Ey({data:e,onChange:t,readOnly:a}){let n=se(mu),[o,r]=(0,Ra.useState)(!1),i=O1("pdf",e.src),l=!!(t&&!a);return(0,dt.jsxs)("section",{className:"sb-block sb-pdf","aria-label":re(e.title)||n("document"),children:[(0,dt.jsx)(ma,{title:re(e.title),defaultTitle:n("document"),editable:l,editing:o,onEdit:()=>r(!o)}),o&&(0,dt.jsx)(pd,{kind:"pdf",data:e,onClose:()=>r(!1),onSave:s=>{t?.(s),r(!1)}}),i?(0,dt.jsx)(XS,{src:i,initialPage:Number(e.page??1),height:Number(e.height??560),name:re(e.fileName)},`${i}-${e.page}`):(0,dt.jsx)(va,{icon:(0,dt.jsx)(yo,{size:28,strokeWidth:1.4}),title:n("emptyTitle"),description:n("emptyDescription"),action:l&&!o?(0,dt.jsx)("button",{type:"button",className:"sb-button",onClick:()=>r(!0),children:n("choose")}):void 0}),i&&re(e.caption)&&(0,dt.jsx)("p",{className:"sb-resource-caption",children:re(e.caption)})]})}var md=Z(Me(),1);var _e=Z(de(),1);function Dy({data:e,onChange:t,readOnly:a}){let n=se(cd),o=se(Ga),[r,i]=(0,md.useState)(!1),[l,s]=(0,md.useState)(e),[c,d]=(0,md.useState)(""),u=!!(t&&!a),p=e.items??[],b=l.items??[],y=()=>{s(e),d(""),i(!r)},f=(h,m,v)=>s(T=>({...T,items:T.items.map(x=>x.id===h?{...x,[m]:v}:x)})),w=()=>{try{Wo("references",l),t?.(l),i(!1)}catch(h){d(h instanceof Error?h.message:n("invalid"))}};return(0,_e.jsxs)("section",{className:"sb-block sb-references","aria-label":_a(e.title,n("references")),children:[(0,_e.jsx)(ma,{title:re(e.title),defaultTitle:n("references"),editable:u,editing:r,onEdit:y}),r&&(0,_e.jsx)(ja,{children:(0,_e.jsxs)("div",{className:"sb-editor-panel",onKeyDown:h=>{h.stopPropagation(),h.key==="Escape"&&i(!1)},children:[(0,_e.jsx)(je,{label:n("title"),children:(0,_e.jsx)("input",{value:re(l.title),onChange:h=>s(m=>({...m,title:h.target.value}))})}),b.map((h,m)=>(0,_e.jsxs)("fieldset",{className:"sb-reference-editor",children:[(0,_e.jsx)("legend",{children:n("entry",{index:m+1})}),(0,_e.jsx)(je,{label:n("entryTitle"),children:(0,_e.jsx)("input",{value:h.title,onChange:v=>f(h.id,"title",v.target.value)})}),(0,_e.jsx)(je,{label:n("authors"),children:(0,_e.jsx)("input",{placeholder:n("authorsPlaceholder"),value:h.authors??"",onChange:v=>f(h.id,"authors",v.target.value)})}),(0,_e.jsxs)("div",{className:"sb-resource-fields",children:[(0,_e.jsx)(je,{label:n("year"),children:(0,_e.jsx)("input",{value:h.year??"",onChange:v=>f(h.id,"year",v.target.value)})}),(0,_e.jsx)(je,{label:n("venue"),children:(0,_e.jsx)("input",{value:h.venue??"",onChange:v=>f(h.id,"venue",v.target.value)})})]}),(0,_e.jsx)(je,{label:"DOI",children:(0,_e.jsx)("input",{placeholder:"10.xxxx/\u2026",value:h.doi??"",onChange:v=>f(h.id,"doi",v.target.value)})}),(0,_e.jsx)(je,{label:n("url"),children:(0,_e.jsx)("input",{type:"url",value:h.url??"",onChange:v=>f(h.id,"url",v.target.value)})}),(0,_e.jsx)(je,{label:n("note"),children:(0,_e.jsx)("textarea",{rows:2,value:h.note??"",onChange:v=>f(h.id,"note",v.target.value)})}),(0,_e.jsxs)("button",{type:"button",className:"sb-button","aria-label":n("deleteEntry",{index:m+1}),onClick:()=>s(v=>({...v,items:v.items.filter(T=>T.id!==h.id)})),children:[(0,_e.jsx)(Qt,{size:14}),o("delete")]})]},h.id)),c&&(0,_e.jsx)("p",{className:"sb-error",role:"alert",children:c}),(0,_e.jsxs)("div",{className:"sb-panel-footer",children:[(0,_e.jsxs)("button",{type:"button",className:"sb-button",disabled:b.length>=500,onClick:()=>s(h=>({...h,items:[...h.items,{id:ko(),title:""}]})),children:[(0,_e.jsx)(Pt,{size:14}),n("addEntry")]}),(0,_e.jsxs)("button",{type:"button",className:"sb-button sb-primary",onClick:w,children:[(0,_e.jsx)(Oa,{size:14}),o("save")]})]})]})}),p.length?(0,_e.jsx)("ol",{className:"sb-reference-list",children:p.map((h,m)=>{let v=cu(h);return(0,_e.jsxs)("li",{id:`ref-${h.id}`,children:[(0,_e.jsxs)("span",{className:"sb-reference-number",children:["[",m+1,"]"]}),(0,_e.jsxs)("div",{className:"sb-reference-entry",children:[(0,_e.jsx)("div",{className:"sb-reference-meta",children:[h.authors,h.year].filter(Boolean).join(" \xB7 ")}),v?(0,_e.jsxs)("a",{className:"sb-reference-title",href:v,target:"_blank",rel:"noopener noreferrer",children:[h.title,(0,_e.jsx)(bi,{size:12})]}):(0,_e.jsx)("strong",{className:"sb-reference-title",children:h.title}),h.venue&&(0,_e.jsx)("div",{className:"sb-reference-venue",children:h.venue}),h.doi&&(0,_e.jsxs)("a",{className:"sb-reference-doi",href:cu({doi:h.doi}),target:"_blank",rel:"noopener noreferrer",children:["doi:",h.doi.replace(/^https?:\/\/(?:dx\.)?doi\.org\//i,"")]}),h.note&&(0,_e.jsx)("p",{className:"sb-reference-note",children:h.note})]})]},h.id)})}):(0,_e.jsx)(va,{icon:(0,_e.jsx)(R5,{size:28,strokeWidth:1.4}),title:n("emptyTitle"),description:n("emptyDescription"),action:u&&!r?(0,_e.jsxs)("button",{type:"button",className:"sb-button",onClick:y,children:[(0,_e.jsx)(Pt,{size:14}),n("addEntry")]}):void 0})]})}var fr=Z(Me(),1);mt(`.sb-block.wk-block-root :is(h3,h4,p,ul,ol,li,dl,dt,dd,pre):not(svg){margin:0}.sb-block.wk-block-root :is(ul,ol,li):not(svg){padding:0}.sb-block.wk-block-root pre:not(svg){border:0;border-radius:0;background:none;color:inherit}.sb-block.wk-block-root{--wk-text: var(--sb-text);--wk-muted: var(--sb-muted);--wk-faint: color-mix(in srgb, var(--sb-muted) 70%, transparent);--wk-line: var(--sb-line);--wk-paper: var(--sb-surface);--wk-soft: var(--sb-soft);--wk-accent: var(--sb-accent);--wk-accent-soft: var(--sb-accent-soft);--wk-teal: #0d8579;--wk-teal-soft: #e6f4f2;--wk-orange: #bf6528;--wk-orange-soft: #fbefe6;--wk-violet: #7348d0;--wk-violet-soft: #f2edfc;--wk-rose: #c4415a;--wk-rose-soft: #fbebee;--wk-slate: #526476;--wk-slate-soft: #edf1f4;--wk-new: #1f7a4d;--wk-new-soft: #dcf1e4;--wk-changed: #8a5a00;--wk-changed-soft: #fbecc8;--wk-add: #1a7f37;--wk-add-soft: #e6f6ea;--wk-del: #b3261e;--wk-del-soft: #fbe9e7;--t: var(--wk-accent);--ts: var(--wk-accent-soft);color:var(--wk-text);font-family:inherit;font-size:14px;line-height:1.6;padding:8px 0;container-type:inline-size;overflow-wrap:anywhere}:root[data-theme=dark] .sb-block.wk-block-root,[data-theme=dark] .sb-block.wk-block-root{--wk-teal: #4fc4b6;--wk-teal-soft: #163734;--wk-orange: #e79c64;--wk-orange-soft: #3b2b1e;--wk-violet: #b497ff;--wk-violet-soft: #2e2648;--wk-rose: #f0839a;--wk-rose-soft: #3e222a;--wk-slate: #a2b2c2;--wk-slate-soft: #242d35;--wk-new: #6fd19a;--wk-new-soft: #183528;--wk-changed: #e8c06a;--wk-changed-soft: #3a2f16;--wk-add: #7ee2a0;--wk-add-soft: #173421;--wk-del: #ff9b92;--wk-del-soft: #3d1f1d}.sb-block.wk-block-root *{box-sizing:border-box}.wk-block-root [data-tone=accent]{--t: var(--wk-accent);--ts: var(--wk-accent-soft)}.wk-block-root [data-tone=teal]{--t: var(--wk-teal);--ts: var(--wk-teal-soft)}.wk-block-root [data-tone=orange]{--t: var(--wk-orange);--ts: var(--wk-orange-soft)}.wk-block-root [data-tone=violet]{--t: var(--wk-violet);--ts: var(--wk-violet-soft)}.wk-block-root [data-tone=rose]{--t: var(--wk-rose);--ts: var(--wk-rose-soft)}.wk-block-root [data-tone=slate]{--t: var(--wk-slate);--ts: var(--wk-slate-soft)}.sb-block.wk-block-root .wk-title{font-size:18px;font-weight:680;line-height:1.35}.sb-block.wk-block-root .wk-question{margin-top:6px;font-size:15px;display:flex;flex-wrap:wrap;gap:2px 10px;align-items:baseline}.wk-question>span{font-size:12px;color:var(--wk-faint)}.sb-block.wk-block-root .wk-legend{list-style:none;margin-top:10px;display:flex;flex-wrap:wrap;gap:6px}.sb-block.wk-block-root .wk-legend li{display:inline-flex;gap:6px;align-items:baseline;padding:2px 10px;border-radius:999px;background:var(--ts);color:var(--wk-muted);font-size:13px}.wk-legend b{color:var(--t);font-weight:650}.wk-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:6px;margin-top:14px}.sb-block.wk-block-root .wk-tab{font:inherit;display:flex;align-items:center;gap:8px;min-width:0;padding:7px 10px;border:1px solid var(--wk-line);border-radius:8px;background:var(--wk-paper);color:var(--wk-muted);text-align:left;cursor:pointer}.sb-block.wk-block-root .wk-tab:hover{border-color:var(--wk-faint)}.sb-block.wk-block-root .wk-tab:focus-visible,.sb-block.wk-block-root .wk-btn:focus-visible,.sb-block.wk-block-root .wk-toggle:focus-visible{outline:2px solid var(--wk-accent);outline-offset:2px}.wk-tab-n{flex:none;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;border:1.5px solid var(--wk-faint);font-size:12px;font-weight:650}.wk-tab-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13.5px}.sb-block.wk-block-root .wk-tab[data-done] .wk-tab-n{border-color:var(--wk-accent);color:var(--wk-accent)}.sb-block.wk-block-root .wk-tab[aria-selected=true]{border-color:var(--wk-accent);background:var(--wk-accent-soft);color:var(--wk-text);font-weight:600}.sb-block.wk-block-root .wk-tab[aria-selected=true] .wk-tab-n{border-color:var(--wk-accent);background:var(--wk-accent);color:var(--wk-paper)}.wk-takeaway{margin-top:12px;padding:10px 14px;border-left:3px solid var(--wk-accent);border-radius:0 8px 8px 0;background:var(--wk-soft)}.wk-takeaway>span{font-size:12px;color:var(--wk-faint)}.sb-block.wk-block-root .wk-takeaway p{margin-top:2px;font-size:15px;font-weight:560;line-height:1.6}.wk-body{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:14px;margin-top:14px;align-items:start}.sb-block.wk-block-root .wk-col-title{font-size:13px;font-weight:650;color:var(--wk-muted);margin-bottom:8px}.wk-col-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 12px;margin-bottom:8px}.sb-block.wk-block-root .wk-col-head .wk-col-title{margin-bottom:0}.sb-block.wk-block-root .wk-actions{list-style:none;display:grid;gap:8px}.sb-block.wk-block-root .wk-action{display:grid;gap:3px;padding:8px 12px;border:1px solid var(--wk-line);border-radius:10px;background:var(--wk-paper)}.sb-block.wk-block-root .wk-action[data-kind=input]{background:var(--wk-accent-soft);border-color:color-mix(in srgb,var(--wk-accent) 25%,transparent)}.sb-block.wk-block-root .wk-action[data-kind=result]{background:var(--wk-soft)}.sb-block.wk-block-root .wk-action[data-kind=note]{border-style:dashed}.wk-actor{display:flex;align-items:center;gap:6px;font-size:11.5px;color:var(--wk-faint)}.wk-illustrative{font-style:normal;font-size:11px;padding:0 5px;border-radius:3px;background:var(--wk-changed-soft);color:var(--wk-changed)}.wk-action-text{font-size:13.5px}.sb-block.wk-block-root :is(.wk-code,.wk-block-text){margin-top:4px;padding:7px 9px;border-radius:6px;background:var(--wk-soft);font:12px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.wk-code [data-diff=add]{color:var(--wk-add);background:var(--wk-add-soft)}.wk-code [data-diff=del]{color:var(--wk-del);background:var(--wk-del-soft)}.wk-parts,.wk-blocks{display:grid;gap:10px}.wk-part,.wk-block{display:grid;gap:8px;padding:10px 12px;border:1px solid var(--wk-line);border-left:3px solid var(--t);border-radius:0 10px 10px 0;background:var(--wk-paper)}.wk-part-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px}.wk-part-head b{color:var(--t);font-weight:680}.wk-part-head span{font-size:13px;color:var(--wk-muted)}.wk-part-head small{margin-left:auto;padding:1px 8px;border-radius:999px;background:var(--ts);color:var(--t);font-size:11.5px}.sb-block.wk-block-root .wk-part-note{padding:6px 9px;border-radius:6px;background:var(--wk-soft);font-size:13px;color:var(--wk-muted)}.sb-block.wk-block-root .wk-part-empty{font-size:13px;color:var(--wk-faint)}.wk-entry{padding:8px 10px;border:1px solid var(--wk-line);border-radius:8px;background:var(--wk-paper)}.wk-entry[data-status=new]{border-color:var(--wk-new);box-shadow:0 0 0 2px var(--wk-new-soft)}.wk-entry[data-status=changed]{border-color:var(--wk-changed);box-shadow:0 0 0 2px var(--wk-changed-soft)}.wk-entry[data-status=retired]{background:var(--wk-soft)}.wk-entry[data-status=retired] dd{color:var(--wk-faint);text-decoration:line-through}.wk-entry[data-status=kept]{opacity:.75}.wk-entry-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px;font-size:13px}.wk-badge{flex:none;padding:0 7px;border-radius:999px;font-size:11.5px;background:var(--wk-soft);color:var(--wk-muted)}.wk-badge[data-status=new]{background:var(--wk-new-soft);color:var(--wk-new)}.wk-badge[data-status=changed]{background:var(--wk-changed-soft);color:var(--wk-changed)}.sb-block.wk-block-root .wk-fields{display:grid;gap:3px}.wk-fields>div{display:grid;grid-template-columns:92px minmax(0,1fr);gap:8px;font-size:13px}.wk-fields dt{color:var(--wk-faint)}.wk-fields dd{white-space:pre-wrap}.wk-fields dd[data-mono]{font:12px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.sb-block.wk-block-root .wk-entry-note{margin-top:6px;font-size:12.5px;color:var(--wk-muted)}.wk-switch{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--wk-muted);cursor:pointer}.wk-switch input{margin:0;accent-color:var(--wk-accent)}.wk-block[data-hidden]{border-style:dashed;background:var(--wk-soft)}.wk-block-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.wk-chip{padding:0 8px;border-radius:999px;background:var(--ts);color:var(--t);font-size:11.5px;font-weight:600}.wk-block-label{font:12px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--wk-muted)}.sb-block.wk-block-root .wk-callouts{list-style:none;display:grid;gap:4px}.sb-block.wk-block-root .wk-callouts li{position:relative;padding-left:16px;font-size:13px}.wk-callouts li:before{content:"\\21b3";position:absolute;left:0;color:var(--t)}.sb-block.wk-block-root .wk-hidden-note{font-size:13.5px;color:var(--wk-muted)}.wk-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.wk-foot{display:grid;gap:8px;margin-top:14px}.wk-nav{display:flex;align-items:center;gap:10px}.sb-block.wk-block-root .wk-btn{font:inherit;font-size:13px;padding:4px 12px;border:1px solid var(--wk-line);border-radius:7px;background:var(--wk-paper);color:var(--wk-text);cursor:pointer}.sb-block.wk-block-root .wk-btn:disabled{opacity:.4;cursor:default}.sb-block.wk-block-root .wk-btn[data-primary]:not(:disabled){border-color:var(--wk-accent);background:var(--wk-accent);color:var(--wk-paper)}.wk-count{font-size:12.5px;color:var(--wk-faint);font-variant-numeric:tabular-nums}.sb-block.wk-block-root .wk-toggle{font:inherit;font-size:12.5px;padding:0;border:0;background:transparent;color:var(--wk-faint);text-decoration:underline;cursor:pointer}.wk-details{margin-top:6px;padding:8px 12px;border-radius:6px;background:var(--wk-soft);font-size:13px;color:var(--wk-muted)}.sb-block.wk-block-root .wk-details ul{display:grid;gap:3px;padding-left:18px}.sb-block.wk-block-root .wk-details li{list-style:disc}.sb-block.wk-block-root .wk-sources{margin-top:6px;font-size:12.5px;color:var(--wk-faint)}.wk-sources a{color:inherit}.sb-block.wk-block-root .wk-note{margin-top:8px;font-size:12.5px;color:var(--wk-faint)}.wk-print{display:none}@container (max-width: 720px){.wk-body{grid-template-columns:minmax(0,1fr)}.wk-tabs{grid-auto-flow:row;grid-auto-columns:auto}.wk-part-head small{margin-left:0}.wk-fields>div{grid-template-columns:minmax(0,1fr);gap:0}}@media print{.wk-live{display:none}.wk-print{display:grid;gap:18px;margin-top:12px}.sb-block.wk-block-root .wk-print-title{font-size:15px;font-weight:650}.wk-print-step{break-inside:avoid-page}}
|
|
37
|
+
`);var My=rt("stepWalkthrough",{"zh-CN":{title:"\u5206\u6B65\u6F14\u793A",question:"\u672C\u4F8B\u56DE\u7B54\u7684\u95EE\u9898",parts:"\u7EC4\u6210\u90E8\u5206",steps:"\u6B65\u9AA4",takeaway:"\u7B2C {n} \u6B65\u8981\u70B9",actions:"\u672C\u6B65\u7684\u8F93\u5165\u4E0E\u64CD\u4F5C",state:"\u6B64\u65F6\u7684\u72B6\u6001",empty:"\u65E0\u5185\u5BB9",illustrative:"\u793A\u610F",hide:"\u9690\u85CF\u300C{part}\u300D\u4EE5\u4F5C\u5BF9\u6BD4",hidden:"\u8BE5\u90E8\u5206\u5DF2\u9690\u85CF\u3002",hiddenLive:"\u5DF2\u9690\u85CF{part}",previous:"\u4E0A\u4E00\u6B65",next:"\u4E0B\u4E00\u6B65",count:"{current} / {total}",details:"\u524D\u63D0\u6761\u4EF6\u4E0E\u51FA\u5904",hideDetails:"\u6536\u8D77\u524D\u63D0\u4E0E\u51FA\u5904",sources:"\u51FA\u5904\uFF1A","status.new":"\u65B0\u589E","status.changed":"\u5DF2\u66F4\u65B0","status.retired":"\u5DF2\u5931\u6548","status.kept":"\u672A\u53D8",noSteps:"\u5C1A\u65E0\u6B65\u9AA4\u3002"},en:{title:"Step walkthrough",question:"Question this example answers",parts:"Parts",steps:"Steps",takeaway:"Step {n} key point",actions:"Inputs and operations",state:"State at this point",empty:"Empty",illustrative:"Illustrative",hide:"Hide \u201C{part}\u201D to compare",hidden:"This part is hidden.",hiddenLive:"{part} hidden",previous:"Previous",next:"Next",count:"{current} / {total}",details:"Conditions and sources",hideDetails:"Hide conditions and sources",sources:"Sources: ","status.new":"New","status.changed":"Updated","status.retired":"Retired","status.kept":"Unchanged",noSteps:"No steps yet."}});var ie=Z(de(),1),QS=e=>`status.${e}`;function $S({code:e}){return(0,ie.jsx)("pre",{className:"wk-code",children:e.split(`
|
|
38
|
+
`).map((t,a)=>(0,ie.jsxs)("span",{"data-diff":t.startsWith("+")?"add":t.startsWith("-")?"del":void 0,children:[t,`
|
|
39
|
+
`]},a))})}function Ny({step:e,index:t,parts:a,stateHeading:n,hidden:o,onHide:r,t:i}){let l=u=>a.find(p=>p.id===u),s=e.output,c=s&&o?l(s.hidePartId):void 0,d=s?.hidePartId?l(s.hidePartId):void 0;return(0,ie.jsxs)("div",{className:"wk-step-view",children:[(0,ie.jsxs)("div",{className:"wk-takeaway",children:[(0,ie.jsx)("span",{children:i("takeaway",{n:t+1})}),(0,ie.jsx)("p",{children:(0,ie.jsx)(So,{source:e.takeaway})})]}),(0,ie.jsxs)("div",{className:"wk-body",children:[(0,ie.jsxs)("div",{className:"wk-col",children:[(0,ie.jsx)("h4",{className:"wk-col-title",children:e.actionsHeading??i("actions")}),(0,ie.jsx)("ol",{className:"wk-actions",children:e.actions.map((u,p)=>(0,ie.jsxs)("li",{className:"wk-action","data-kind":u.kind??"action",children:[(0,ie.jsxs)("span",{className:"wk-actor",children:[u.actor,u.illustrative&&(0,ie.jsx)("em",{className:"wk-illustrative",children:i("illustrative")})]}),(0,ie.jsx)("span",{className:"wk-action-text",children:(0,ie.jsx)(So,{source:u.text})}),u.code&&(0,ie.jsx)($S,{code:u.code})]},p))})]}),(0,ie.jsx)("div",{className:"wk-col",children:s?(0,ie.jsxs)(ie.Fragment,{children:[(0,ie.jsxs)("div",{className:"wk-col-head",children:[(0,ie.jsx)("h4",{className:"wk-col-title",children:s.heading}),d&&r&&(0,ie.jsxs)("label",{className:"wk-switch",children:[(0,ie.jsx)("input",{type:"checkbox",checked:o,onChange:u=>r(u.target.checked)}),s.hideLabel??i("hide",{part:d.label})]})]}),(0,ie.jsx)("div",{className:"wk-blocks",children:s.blocks.map(u=>{let p=l(u.partId),b=c&&u.partId===c.id;return(0,ie.jsxs)("div",{className:"wk-block","data-tone":p?.tone??"slate","data-hidden":b?"":void 0,children:[(0,ie.jsxs)("div",{className:"wk-block-head",children:[p&&(0,ie.jsx)("span",{className:"wk-chip",children:p.label}),(0,ie.jsx)("span",{className:"wk-block-label",children:u.label})]}),b?(0,ie.jsx)("p",{className:"wk-hidden-note",children:(0,ie.jsx)(So,{source:s.hideNote??i("hidden")})}):(0,ie.jsxs)(ie.Fragment,{children:[(0,ie.jsx)("pre",{className:"wk-block-text",children:u.text}),!!u.callouts?.length&&(0,ie.jsx)("ul",{className:"wk-callouts",children:u.callouts.map((y,f)=>(0,ie.jsx)("li",{children:(0,ie.jsx)(So,{source:y})},f))})]})]},u.id)})}),c&&(0,ie.jsx)("p",{className:"wk-sr","aria-live":"polite",children:i("hiddenLive",{part:c.label})})]}):(0,ie.jsxs)(ie.Fragment,{children:[(0,ie.jsx)("h4",{className:"wk-col-title",children:n??i("state")}),(0,ie.jsx)("div",{className:"wk-parts",children:a.map(u=>{let p=(e.entries??[]).filter(y=>y.partId===u.id),b=e.partNotes?.find(y=>y.partId===u.id)?.text;return(0,ie.jsxs)("section",{className:"wk-part","data-tone":u.tone,"aria-label":u.label,children:[(0,ie.jsxs)("div",{className:"wk-part-head",children:[(0,ie.jsx)("b",{children:u.label}),u.plain&&(0,ie.jsx)("span",{children:u.plain}),u.how&&(0,ie.jsx)("small",{children:u.how})]}),b&&(0,ie.jsx)("p",{className:"wk-part-note",children:(0,ie.jsx)(So,{source:b})}),!p.length&&!b&&(0,ie.jsx)("p",{className:"wk-part-empty",children:i("empty")}),p.map(y=>(0,ie.jsxs)("article",{className:"wk-entry","data-status":y.status,children:[(0,ie.jsxs)("div",{className:"wk-entry-head",children:[(0,ie.jsx)("b",{children:y.title}),(0,ie.jsx)("span",{className:"wk-badge","data-status":y.status,children:y.statusLabel??i(QS(y.status))})]}),(0,ie.jsx)("dl",{className:"wk-fields",children:y.fields.map((f,w)=>(0,ie.jsxs)("div",{children:[(0,ie.jsx)("dt",{children:f.label}),(0,ie.jsx)("dd",{"data-mono":f.mono?"":void 0,children:f.value})]},w))}),y.note&&(0,ie.jsx)("p",{className:"wk-entry-note",children:(0,ie.jsx)(So,{source:y.note})})]},y.id))]},u.id)})})]})})]})]})}function Ay({step:e,t}){return(0,ie.jsxs)("div",{className:"wk-details",children:[!!e.details?.length&&(0,ie.jsx)("ul",{children:e.details.map((a,n)=>(0,ie.jsx)("li",{children:(0,ie.jsx)(So,{source:a})},n))}),!!e.sources?.length&&(0,ie.jsxs)("p",{className:"wk-sources",children:[t("sources"),e.sources.map((a,n)=>(0,ie.jsxs)("span",{children:[n>0&&" \xB7 ",(0,ie.jsx)("a",{href:a.url,target:"_blank",rel:"noopener noreferrer",children:a.label})]},n))]})]})}function Iy({data:e}){let t=se(My),a=e,n=(0,fr.useMemo)(()=>(Array.isArray(a.parts)?a.parts:[]).map((x,E)=>({...x,tone:Xm.includes(x.tone)?x.tone:au[E%au.length]})),[a.parts]),o=Array.isArray(a.steps)?a.steps:[],r=Math.max(0,o.findIndex(x=>x.id===a.initialStep)),[i,l]=(0,fr.useState)(r),[s,c]=(0,fr.useState)(r);s!==r&&(c(r),l(r));let[d,u]=(0,fr.useState)(!1),[p,b]=(0,fr.useState)(!1),y=(0,fr.useRef)(new Map),f=_a(a.title,t("title"));if(!o.length)return(0,ie.jsx)("section",{className:"sb-block wk-block-root","aria-label":f,children:(0,ie.jsx)("p",{className:"wk-part-empty",children:t("noSteps")})});let w=Math.min(i,o.length-1),h=o[w],m=(x,E=!1)=>{let P=Math.max(0,Math.min(o.length-1,x));l(P),u(!1),E&&y.current.get(P)?.focus()},v=x=>{let E=x.key==="ArrowRight"?1:x.key==="ArrowLeft"?-1:0;E&&(x.preventDefault(),m(w+E,!0))},T=!!h.details?.length||!!h.sources?.length;return(0,ie.jsxs)("section",{className:"sb-block wk-block-root","aria-label":f,children:[(0,ie.jsxs)("header",{className:"wk-head",children:[(0,ie.jsx)("h3",{className:"wk-title",children:a.title}),a.question&&(0,ie.jsxs)("p",{className:"wk-question",children:[(0,ie.jsx)("span",{children:t("question")}),(0,ie.jsx)(So,{source:a.question})]}),(0,ie.jsx)("ul",{className:"wk-legend","aria-label":t("parts"),children:n.map(x=>(0,ie.jsxs)("li",{"data-tone":x.tone,children:[(0,ie.jsx)("b",{children:x.label}),x.plain&&(0,ie.jsx)("span",{children:x.plain})]},x.id))})]}),(0,ie.jsxs)("div",{className:"wk-live",children:[(0,ie.jsx)("div",{className:"wk-tabs",role:"tablist","aria-label":t("steps"),onKeyDown:v,children:o.map((x,E)=>(0,ie.jsxs)("button",{ref:P=>{P?y.current.set(E,P):y.current.delete(E)},type:"button",role:"tab","aria-selected":E===w,tabIndex:E===w?0:-1,"data-done":E<w?"":void 0,className:"wk-tab",onClick:()=>m(E),children:[(0,ie.jsx)("span",{className:"wk-tab-n",children:E+1}),(0,ie.jsx)("span",{className:"wk-tab-label",children:x.label})]},x.id))}),(0,ie.jsx)("div",{role:"tabpanel","aria-label":h.label,children:(0,ie.jsx)(Ny,{step:h,index:w,parts:n,stateHeading:a.stateHeading,hidden:d,onHide:u,t})}),(0,ie.jsxs)("footer",{className:"wk-foot",children:[(0,ie.jsxs)("div",{className:"wk-nav",children:[(0,ie.jsxs)("button",{type:"button",className:"wk-btn",disabled:w===0,onClick:()=>m(w-1),children:["\u2190 ",t("previous")]}),(0,ie.jsx)("span",{className:"wk-count",children:t("count",{current:w+1,total:o.length})}),(0,ie.jsxs)("button",{type:"button",className:"wk-btn","data-primary":"",disabled:w===o.length-1,onClick:()=>m(w+1),children:[t("next")," \u2192"]})]}),T&&(0,ie.jsxs)("div",{children:[(0,ie.jsx)("button",{type:"button",className:"wk-toggle","aria-expanded":p,onClick:()=>b(!p),children:t(p?"hideDetails":"details")}),p&&(0,ie.jsx)(Ay,{step:h,t})]})]})]}),(0,ie.jsx)("div",{className:"wk-print",children:o.map((x,E)=>(0,ie.jsxs)("section",{className:"wk-print-step",children:[(0,ie.jsxs)("h4",{className:"wk-print-title",children:[E+1,". ",x.label]}),(0,ie.jsx)(Ny,{step:x,index:E,parts:n,stateHeading:a.stateHeading,hidden:!1,t}),(!!x.details?.length||!!x.sources?.length)&&(0,ie.jsx)(Ay,{step:x,t})]},x.id))}),a.note&&(0,ie.jsx)("p",{className:"wk-note",children:(0,ie.jsx)(So,{source:a.note})})]})}var Qn=Z(Me(),1);var Ry=rt("chart",{"zh-CN":{seriesName:"\u7CFB\u5217 {index}",invalidData:"\u6570\u636E\u683C\u5F0F\u4E0D\u6B63\u786E\u3002",csvLabel:"\u6807\u7B7E",fileName:"\u56FE\u8868",chart:"\u56FE\u8868",dataChart:"\u6570\u636E\u56FE\u8868",exportData:"\u5BFC\u51FA\u56FE\u8868\u6570\u636E",exportCsv:"\u5BFC\u51FA CSV",chartType:"\u56FE\u8868\u7C7B\u578B",line:"\u6298\u7EBF\u56FE",bar:"\u67F1\u72B6\u56FE",title:"\u6807\u9898",unit:"\u5355\u4F4D",unitPlaceholder:"\u4F8B\u5982\uFF1Ams\u3001%",dataField:"\u6570\u636E \xB7 labels \u662F\u6A2A\u8F74\uFF0Cseries \u662F\u6570\u503C\u7CFB\u5217",applyData:"\u5E94\u7528\u6570\u636E",emptyTitle:"\u8BA9\u6570\u636E\u6210\u4E3A\u56FE\u8868",addData:"\u6DFB\u52A0\u6570\u636E",unitValue:"\u5355\u4F4D\uFF1A{unit}",summary:"{title}\uFF0C{points} \u4E2A\u6570\u636E\u70B9\uFF0C{series} \u4E2A\u7CFB\u5217",rawData:"\u67E5\u770B\u539F\u59CB\u6570\u636E",rows:"{count} \u884C",label:"\u6807\u7B7E"},en:{seriesName:"Series {index}",invalidData:"The data format is invalid.",csvLabel:"Label",fileName:"chart",chart:"Chart",dataChart:"Data chart",exportData:"Export chart data",exportCsv:"Export CSV",chartType:"Chart type",line:"Line chart",bar:"Bar chart",title:"Title",unit:"Unit",unitPlaceholder:"e.g. ms, %",dataField:"Data \xB7 labels are the x-axis, series are the value series",applyData:"Apply data",emptyTitle:"Turn your data into a chart",addData:"Add data",unitValue:"Unit: {unit}",summary:"{title}, data points: {points}, series: {series}",rawData:"View raw data",rows:{one:"{count} row",other:"{count} rows"},label:"Label"}});var ve=Z(de(),1);function eC({label:e}){let t=On(e);if(t.length<=12)return(0,ve.jsx)(_6,{text:e});let a=Zm(e).map(n=>n.note);return(0,ve.jsx)("tspan",{...G1([t,...a].join(`
|
|
40
|
+
`),!1),children:t.slice(0,10)+"\u2026"})}var a1=760,fd=272,Ki=54,Ly=24,gd=22,Py=36,Oy=e=>new Intl.NumberFormat(fl(),{notation:Math.abs(e)>=1e4?"compact":"standard",maximumFractionDigits:2}).format(e);function By({data:e,onChange:t,readOnly:a}){let n=se(Ry),[o,r]=(0,Qn.useState)(!1),[i,l]=(0,Qn.useState)([]),[s,c]=(0,Qn.useState)(null),[d,u]=(0,Qn.useState)(""),[p,b]=(0,Qn.useState)(""),[y,f]=(0,Qn.useState)(""),[w,h]=(0,Qn.useState)(""),m=Array.isArray(e.labels)?e.labels.map(G=>re(G)):[],v=Array.isArray(e.series)?e.series.filter(G=>G&&typeof G=="object"&&Array.isArray(G.values)).map((G,O)=>({name:re(G.name,n("seriesName",{index:O+1})),values:G.values.map(z=>bl(z)),color:/^#[0-9a-f]{3,8}$/i.test(G.color)?G.color:du[O%du.length]})):[],T=v.filter((G,O)=>!i.includes(O)),x=e.type==="bar"?"bar":"line",E=T.flatMap(G=>G.values.slice(0,m.length)),P=Math.min(0,...E),U=Math.max(0,...E),S=(U-P)*.12||1,k=P<0?P-S:0,A=U+S,L=a1-Ki-Ly,C=fd-gd-Py,I=L/Math.max(m.length,1),D=G=>x==="bar"?Ki+I*(G+.5):Ki+(m.length===1?L/2:G/(m.length-1)*L),N=G=>gd+(A-G)/(A-k)*C,_=N(0),j=(0,Qn.useId)().replaceAll(":",""),F=(0,Qn.useMemo)(()=>Array.from({length:5},(G,O)=>O/4),[]),q=!!(t&&!a),J=()=>{u(JSON.stringify({labels:m,series:v.map(G=>({name:G.name,values:G.values,...G.color?{color:G.color}:{}}))},null,2)),b(re(e.title)),f(re(e.unit)),h(""),r(!o)},V=()=>{let G;try{G=B1(d)}catch(O){h(O instanceof Error?O.message:n("invalidData"));return}t?.({...e,...G,title:p,unit:y}),l([]),r(!1)},pe=()=>hl(H1([{id:"label",name:n("csvLabel"),type:"text"},...v.map((G,O)=>({id:`s${O}`,name:On(G.name),type:"number"}))],m.map((G,O)=>({id:String(O),label:On(G),...Object.fromEntries(v.map((z,H)=>[`s${H}`,z.values[O]??""]))}))),`${On(re(e.title))||n("fileName")}.csv`,"text/csv;charset=utf-8");return(0,ve.jsxs)("section",{className:"sb-block sb-chart","aria-label":_a(e.title,n("dataChart")),children:[(0,ve.jsxs)(ma,{title:re(e.title),defaultTitle:n("dataChart"),description:re(e.description),icon:(0,ve.jsx)(s1,{size:17}),editable:q,editing:o,onEdit:J,children:[m.length>0&&(0,ve.jsx)("button",{type:"button",className:"sb-icon-button",onClick:pe,"aria-label":n("exportData"),title:n("exportCsv"),children:(0,ve.jsx)(wr,{size:15})}),q&&(0,ve.jsxs)("div",{className:"sb-segmented","aria-label":n("chartType"),children:[(0,ve.jsx)("button",{type:"button","aria-label":n("line"),className:x==="line"?"is-active":"",onClick:()=>t?.({...e,type:"line"}),children:(0,ve.jsx)(s1,{size:15})}),(0,ve.jsx)("button",{type:"button","aria-label":n("bar"),className:x==="bar"?"is-active":"",onClick:()=>t?.({...e,type:"bar"}),children:(0,ve.jsx)(L5,{size:15})})]})]}),o&&(0,ve.jsx)(ja,{children:(0,ve.jsxs)("div",{className:"sb-editor-panel",children:[(0,ve.jsxs)("div",{className:"sb-form-row",children:[(0,ve.jsx)(je,{label:n("title"),children:(0,ve.jsx)("input",{value:p,onChange:G=>b(G.target.value)})}),(0,ve.jsx)(je,{label:n("unit"),children:(0,ve.jsx)("input",{placeholder:n("unitPlaceholder"),value:y,onChange:G=>f(G.target.value)})})]}),(0,ve.jsx)(je,{label:n("dataField"),children:(0,ve.jsx)("textarea",{className:"sb-code-input",rows:10,spellCheck:!1,value:d,onChange:G=>u(G.target.value)})}),w&&(0,ve.jsx)("p",{role:"alert",className:"sb-error",children:w}),(0,ve.jsx)("div",{className:"sb-panel-footer",children:(0,ve.jsxs)("button",{type:"button",className:"sb-button sb-primary",onClick:V,children:[(0,ve.jsx)(Oa,{size:14}),n("applyData")]})})]})}),!m.length||!v.length?(0,ve.jsx)(va,{icon:(0,ve.jsx)(s1,{size:30,strokeWidth:1.4}),title:n("emptyTitle"),action:q&&!o?(0,ve.jsxs)("button",{type:"button",className:"sb-button",onClick:J,children:[(0,ve.jsx)(H5,{size:14}),n("addData")]}):void 0}):(0,ve.jsxs)(ve.Fragment,{children:[(0,ve.jsxs)("div",{className:"sb-chart-legend",children:[v.map((G,O)=>(0,ve.jsxs)("button",{type:"button","aria-pressed":!i.includes(O),className:i.includes(O)?"is-muted":"",onClick:()=>l(z=>z.includes(O)?z.filter(H=>H!==O):[...z,O]),children:[(0,ve.jsx)("span",{style:{backgroundColor:G.color}}),(0,ve.jsx)(q1,{text:G.name,focusable:!1})]},`${G.name}-${O}`)),re(e.unit)&&(0,ve.jsx)("span",{className:"sb-chart-unit",children:n("unitValue",{unit:re(e.unit)})})]}),(0,ve.jsxs)("div",{className:"sb-chart-canvas",onMouseLeave:()=>c(null),children:[(0,ve.jsxs)("svg",{viewBox:`0 0 ${a1} ${fd}`,role:"img","aria-label":n("summary",{title:On(re(e.title))||n("chart"),points:m.length,series:v.length}),onPointerMove:G=>{let O=G.currentTarget.getBoundingClientRect(),z=(G.clientX-O.left)/O.width*a1,H=x==="bar"?Math.floor((z-Ki)/I):Math.round((z-Ki)/L*(m.length-1));c(Math.min(m.length-1,Math.max(0,H)))},children:[(0,ve.jsx)("defs",{children:T.map((G,O)=>(0,ve.jsxs)("linearGradient",{id:`${j}-fill-${O}`,x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,ve.jsx)("stop",{offset:"0%",stopColor:G.color,stopOpacity:".11"}),(0,ve.jsx)("stop",{offset:"100%",stopColor:G.color,stopOpacity:".01"})]},`${G.name}-${O}`))}),F.map(G=>{let O=A-G*(A-k),z=gd+C*G;return(0,ve.jsxs)("g",{children:[(0,ve.jsx)("line",{x1:Ki,x2:a1-Ly,y1:z,y2:z,className:"sb-chart-grid"}),(0,ve.jsx)("text",{x:Ki-12,y:z+4,textAnchor:"end",className:"sb-chart-label",children:Oy(O)})]},G)}),m.map((G,O)=>(m.length<=10||O%Math.ceil(m.length/8)===0||O===m.length-1)&&(0,ve.jsx)("text",{x:D(O),y:fd-12,textAnchor:"middle",className:"sb-chart-label",children:(0,ve.jsx)(eC,{label:G})},O)),T.map((G,O)=>{let z=m.map((H,M)=>`${D(M)},${N(G.values[M]??0)}`).join(" ");if(x==="bar"){let H=I*.66,M=Math.max(1,H/Math.max(T.length,1)-3);return(0,ve.jsx)("g",{children:m.map((oe,fe)=>(0,ve.jsx)("rect",{x:D(fe)-H/2+O*(M+3),y:Math.min(N(G.values[fe]??0),_),width:M,height:Math.max(1,Math.abs(_-N(G.values[fe]??0))),rx:3,fill:G.color,opacity:s===null||s===fe?".9":".5",children:(0,ve.jsxs)("title",{children:[On(oe)," \xB7 ",On(G.name),":"," ",G.values[fe]??0,re(e.unit)]})},fe))},`${G.name}-${O}`)}return(0,ve.jsxs)("g",{children:[(0,ve.jsx)("polygon",{points:`${D(0)},${_} ${z} ${D(m.length-1)},${_}`,fill:`url(#${j}-fill-${O})`}),(0,ve.jsx)("polyline",{points:z,fill:"none",stroke:G.color,strokeWidth:2.3,strokeLinejoin:"round",strokeLinecap:"round"}),(m.length<=20||s!==null)&&m.map((H,M)=>(m.length<=20||s===M)&&(0,ve.jsx)("circle",{cx:D(M),cy:N(G.values[M]??0),r:s===M?5:3,fill:G.color,stroke:"var(--sb-surface)",strokeWidth:2,children:(0,ve.jsxs)("title",{children:[On(H)," \xB7 ",On(G.name),":"," ",G.values[M]??0,re(e.unit)]})},M))]},`${G.name}-${O}`)}),s!==null&&(0,ve.jsx)("line",{x1:D(s),x2:D(s),y1:gd,y2:fd-Py,className:"sb-chart-crosshair"})]}),s!==null&&(0,ve.jsxs)("div",{className:"sb-chart-tooltip",style:{left:`${Math.min(78,Math.max(8,D(s)/a1*100))}%`},children:[(0,ve.jsx)("strong",{children:On(m[s])}),T.map((G,O)=>(0,ve.jsxs)("div",{children:[(0,ve.jsx)("span",{className:"sb-dot",style:{background:G.color}}),On(G.name),(0,ve.jsxs)("b",{children:[Oy(G.values[s]??0),re(e.unit)]})]},`${G.name}-${O}`))]})]}),(0,ve.jsxs)("details",{className:"sb-data-details",children:[(0,ve.jsxs)("summary",{children:[n("rawData")," ",(0,ve.jsx)("span",{children:n("rows",{count:m.length})})]}),(0,ve.jsx)("div",{className:"sb-table-scroll",children:(0,ve.jsxs)("table",{children:[(0,ve.jsx)("thead",{children:(0,ve.jsxs)("tr",{children:[(0,ve.jsx)("th",{children:n("label")}),v.map((G,O)=>(0,ve.jsx)("th",{children:(0,ve.jsx)(q1,{text:G.name})},O))]})}),(0,ve.jsx)("tbody",{children:m.map((G,O)=>(0,ve.jsxs)("tr",{children:[(0,ve.jsx)("td",{children:(0,ve.jsx)(q1,{text:G})}),v.map((z,H)=>(0,ve.jsx)("td",{children:z.values[O]??"\u2014"},H))]},O))})]})})]})]})]})}var Ca=Z(Me(),1);var La=Z(Me(),1);var n1=rt("database",{"zh-CN":{database:"\u6570\u636E\u5E93",property:"\u5C5E\u6027","type.text":"\u6587\u672C","type.number":"\u6570\u5B57","type.select":"\u5355\u9009","type.checkbox":"\u590D\u9009\u6846","type.url":"\u94FE\u63A5",notSet:"\u672A\u8BBE\u7F6E",openLink:"\u6253\u5F00{name}","error.keepOneProperty":"\u8BF7\u81F3\u5C11\u4FDD\u7559\u4E00\u4E2A\u5C5E\u6027\u3002","error.nameEveryProperty":"\u8BF7\u4E3A\u6BCF\u4E2A\u5C5E\u6027\u586B\u5199\u540D\u79F0\u3002",exportDatabase:"\u5BFC\u51FA\u6570\u636E\u5E93",exportCsv:"\u5BFC\u51FA CSV",viewAndFilterMenu:"\u6570\u636E\u5E93\u89C6\u56FE\u4E0E\u7B5B\u9009",viewAndFilter:"\u89C6\u56FE\u4E0E\u7B5B\u9009",table:"\u8868\u683C",board:"\u770B\u677F",searchDatabase:"\u641C\u7D22\u6570\u636E\u5E93",filterDatabase:"\u7B5B\u9009\u6570\u636E\u5E93",newRecord:"\u65B0\u5EFA",groupBy:"\u5206\u7EC4\u4F9D\u636E",boardGroupProperty:"\u770B\u677F\u5206\u7EC4\u5C5E\u6027",databaseName:"\u6570\u636E\u5E93\u540D\u79F0",propertyName:"\u5C5E\u6027\u540D\u79F0",propertyType:"{name}\u7684\u7C7B\u578B",propertyOptions:"{name}\u7684\u9009\u9879\uFF0C\u7528\u9017\u53F7\u5206\u9694",optionsPlaceholder:"\u9009\u9879\uFF0C\u7528\u9017\u53F7\u5206\u9694",deleteProperty:"\u5220\u9664\u5C5E\u6027{name}",addProperty:"\u6DFB\u52A0\u5C5E\u6027",saveProperties:"\u4FDD\u5B58\u5C5E\u6027",filterProperty:"\u7B5B\u9009\u5C5E\u6027",allRecords:"\u5168\u90E8\u8BB0\u5F55",equals:"\u7B49\u4E8E",filterValue:"\u7B5B\u9009\u503C",clear:"\u6E05\u9664",rowActions:"\u884C\u64CD\u4F5C",deleteNamedRecord:"\u5220\u9664\u8BB0\u5F55{name}",deleteRecord:"\u5220\u9664\u8BB0\u5F55","empty.noMatches":"\u6CA1\u6709\u7B26\u5408\u6761\u4EF6\u7684\u8BB0\u5F55","empty.start":"\u4ECE\u7B2C\u4E00\u6761\u8BB0\u5F55\u5F00\u59CB",newRecordIn:"\u5728{group}\u4E2D\u65B0\u5EFA\u8BB0\u5F55",moveToGroup:"\u79FB\u52A8\u5230\u5206\u7EC4",addRecord:"\u65B0\u8BB0\u5F55",recordCount:"{count} \u6761\u8BB0\u5F55",filteredRecordCount:"{shown} / {count} \u6761\u8BB0\u5F55",clearSort:"\u6E05\u9664\u6392\u5E8F",previousPage:"\u4E0A\u4E00\u9875",nextPage:"\u4E0B\u4E00\u9875",calendar:"\u65E5\u5386","type.date":"\u65E5\u671F",untitled:"\u672A\u547D\u540D","calendar.noDateColumn":"\u65E5\u5386\u9700\u8981\u4E00\u4E2A\u65E5\u671F\u5C5E\u6027","calendar.noDateColumnHint":"\u5728\u5C5E\u6027\u8BBE\u7F6E\u4E2D\u6DFB\u52A0\u65E5\u671F\u7C7B\u578B\u7684\u5C5E\u6027\u540E\uFF0C\u8BB0\u5F55\u4F1A\u6309\u65E5\u671F\u6392\u8FDB\u65E5\u5386\u3002","calendar.dateProperty":"\u65E5\u5386\u65E5\u671F\u5C5E\u6027","calendar.endDateProperty":"\u7ED3\u675F\u65E5\u671F\u5C5E\u6027","calendar.colorProperty":"\u989C\u8272\u4F9D\u636E","calendar.doneProperty":"\u5B8C\u6210\u6807\u8BB0","calendar.none":"\u65E0","calendar.mode":"\u65E5\u5386\u6A21\u5F0F","calendar.mode.month":"\u6708","calendar.mode.week":"\u5468","calendar.mode.heatmap":"\u70ED\u529B\u56FE","calendar.previousMonth":"\u4E0A\u4E2A\u6708","calendar.nextMonth":"\u4E0B\u4E2A\u6708","calendar.previousWeek":"\u4E0A\u4E00\u5468","calendar.nextWeek":"\u4E0B\u4E00\u5468","calendar.previousRange":"\u66F4\u65E9","calendar.nextRange":"\u66F4\u665A","calendar.today":"\u4ECA\u5929","calendar.now":"\u73B0\u5728","calendar.agenda":"\u65E5\u7A0B\u5217\u8868","calendar.allDay":"\u5168\u5929","calendar.noRecordsInRange":"\u8FD9\u6BB5\u65F6\u95F4\u6CA1\u6709\u8BB0\u5F55","calendar.noRecordsOnDay":"\u8FD9\u4E00\u5929\u6CA1\u6709\u8BB0\u5F55","calendar.addOnDay":"\u5728{date}\u65B0\u5EFA\u8BB0\u5F55","calendar.moreRecords":"\u8FD8\u6709 {count} \u6761","calendar.showLess":"\u6536\u8D77","calendar.colorLegend":"\u6309{name}\u7740\u8272","calendar.hours":"{hours}h","calendar.closeDetail":"\u5173\u95ED\u8BB0\u5F55\u8BE6\u60C5","calendar.undated":"{count} \u6761\u8BB0\u5F55\u6CA1\u6709{name}\uFF0C\u672A\u663E\u793A\u5728\u65E5\u5386\u4E2D","calendar.currentStreak":"\u5F53\u524D\u8FDE\u7EED","calendar.longestStreak":"\u6700\u957F\u8FDE\u7EED","calendar.activeDays":"\u6709\u8BB0\u5F55\u7684\u5929\u6570","calendar.days":"{count} \u5929","calendar.doneCount":"\u5B8C\u6210 {count} \u6761","calendar.heatmapLabel":"\u6BCF\u65E5\u8BB0\u5F55\u70ED\u529B\u56FE\uFF0C{range}","calendar.less":"\u5C11","calendar.more":"\u591A"},en:{database:"Database",property:"Property","type.text":"Text","type.number":"Number","type.select":"Select","type.checkbox":"Checkbox","type.url":"URL",notSet:"Not set",openLink:"Open {name}","error.keepOneProperty":"Keep at least one property.","error.nameEveryProperty":"Give every property a name.",exportDatabase:"Export database",exportCsv:"Export CSV",viewAndFilterMenu:"Database view and filters",viewAndFilter:"View and filter",table:"Table",board:"Board",searchDatabase:"Search database",filterDatabase:"Filter database",newRecord:"New",groupBy:"Group by",boardGroupProperty:"Board grouping property",databaseName:"Database name",propertyName:"Property name",propertyType:"Type of {name}",propertyOptions:"Options for {name}, separated by commas",optionsPlaceholder:"Options, separated by commas",deleteProperty:"Delete property {name}",addProperty:"Add property",saveProperties:"Save properties",filterProperty:"Filter property",allRecords:"All records",equals:"is",filterValue:"Filter value",clear:"Clear",rowActions:"Row actions",deleteNamedRecord:"Delete record {name}",deleteRecord:"Delete record","empty.noMatches":"No matching records","empty.start":"Start with your first record",newRecordIn:"New record in {group}",moveToGroup:"Move to group",addRecord:"New record",recordCount:{one:"{count} record",other:"{count} records"},filteredRecordCount:{one:"{shown} of {count} record",other:"{shown} of {count} records"},clearSort:"Clear sort",previousPage:"Previous",nextPage:"Next",calendar:"Calendar","type.date":"Date",untitled:"Untitled","calendar.noDateColumn":"The calendar needs a date property","calendar.noDateColumnHint":"Add a property of type Date in the property settings to place records on the calendar.","calendar.dateProperty":"Calendar date property","calendar.endDateProperty":"End date property","calendar.colorProperty":"Color by","calendar.doneProperty":"Done marker","calendar.none":"None","calendar.mode":"Calendar mode","calendar.mode.month":"Month","calendar.mode.week":"Week","calendar.mode.heatmap":"Heatmap","calendar.previousMonth":"Previous month","calendar.nextMonth":"Next month","calendar.previousWeek":"Previous week","calendar.nextWeek":"Next week","calendar.previousRange":"Earlier","calendar.nextRange":"Later","calendar.today":"Today","calendar.now":"Now","calendar.agenda":"Agenda","calendar.allDay":"All day","calendar.noRecordsInRange":"No records in this period","calendar.noRecordsOnDay":"No records on this day","calendar.addOnDay":"New record on {date}","calendar.moreRecords":"{count} more","calendar.showLess":"Show less","calendar.colorLegend":"Colored by {name}","calendar.hours":"{hours}h","calendar.closeDetail":"Close record details","calendar.undated":{one:"{count} record has no {name} and is not on the calendar",other:"{count} records have no {name} and are not on the calendar"},"calendar.currentStreak":"Current streak","calendar.longestStreak":"Longest streak","calendar.activeDays":"Active days","calendar.days":{one:"{count} day",other:"{count} days"},"calendar.doneCount":"{count} done","calendar.heatmapLabel":"Daily record heatmap, {range}","calendar.less":"Less","calendar.more":"More"}});mt(`.sb-block.sb-database .sb-dbc{--dbc-0: #6b7c53;--dbc-0-soft: #e9eee2;--dbc-1: #5b7a9a;--dbc-1-soft: #e8eef4;--dbc-2: #9a804d;--dbc-2-soft: #f3edde;--dbc-3: #986e91;--dbc-3-soft: #f0e8ee;--dbc-4: #a3765d;--dbc-4-soft: #f3e7e0;--dbc-n: var(--sb-muted);--dbc-n-soft: var(--sb-soft);--dbc-a: var(--sb-accent);--dbc-a-soft: var(--sb-accent-soft);--dbc-today: #c4673f;--dbc-hour: 30px;container-type:inline-size;padding:10px 0 4px}:root[data-theme=dark] .sb-block.sb-database .sb-dbc{--dbc-0: #c1d2ae;--dbc-0-soft: #34432d;--dbc-1: #b1c8df;--dbc-1-soft: #2d3e4b;--dbc-2: #d5c59e;--dbc-2-soft: #443d2b;--dbc-3: #d1b3ca;--dbc-3-soft: #443142;--dbc-4: #d9bfa9;--dbc-4-soft: #49372d;--dbc-today: #e79a76}.sb-block.sb-database .sb-dbc-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:8px}.sb-block.sb-database .sb-dbc-modes{display:inline-flex;border:1px solid var(--sb-line);border-radius:6px;overflow:hidden}.sb-block.sb-database .sb-dbc-modes>button{font-size:10px;padding:3px 10px;color:var(--sb-muted);border-radius:0}.sb-block.sb-database .sb-dbc-modes>button+button{border-left:1px solid var(--sb-line)}.sb-block.sb-database .sb-dbc-modes>button.is-active{background:var(--sb-accent-soft);color:var(--sb-accent);font-weight:600}.sb-block.sb-database .sb-dbc-nav{display:flex;align-items:center;gap:4px}.sb-block.sb-database .sb-dbc-nav>strong{font-size:11px;min-width:96px;text-align:center;font-variant-numeric:tabular-nums}.sb-block.sb-database .sb-dbc-today{font-size:10px;padding:2px 9px;border:1px solid var(--sb-line);border-radius:999px;color:var(--sb-muted);margin-left:4px}.sb-block.sb-database .sb-dbc-legend{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.sb-block.sb-database .sb-dbc-legend>button{--dbc-c: var(--sb-text);display:inline-flex;align-items:center;gap:5px;font-size:10px;padding:2px 9px;border-radius:999px;border:1px solid var(--sb-line);background:var(--sb-surface)}.sb-block.sb-database .sb-dbc-legend i{width:7px;height:7px;border-radius:50%;background:var(--dbc-c)}.sb-block.sb-database .sb-dbc-legend b{font-weight:600;color:var(--sb-muted);font-variant-numeric:tabular-nums}.sb-block.sb-database .sb-dbc-legend>button.is-active{border-color:var(--dbc-c);background:var(--dbc-c-soft, var(--sb-accent-soft));color:var(--dbc-c)}.sb-block.sb-database .sb-calendar-settings>label{display:inline-flex;align-items:center;gap:5px}.sb-block.sb-database .sb-dbc-chip{display:flex;align-items:center;gap:4px;width:100%;min-width:0;font-size:10px;line-height:1.35;text-align:left;padding:2px 5px;margin-top:2px;border-radius:4px;border-left:3px solid var(--dbc-c);background:var(--dbc-c-soft);color:var(--sb-text);transition:opacity .15s,box-shadow .15s}.sb-block.sb-database .sb-dbc-chip:not(:disabled):hover{background:var(--dbc-c-soft);box-shadow:0 1px 4px color-mix(in srgb,var(--sb-text) 18%,transparent)}.sb-block.sb-database .sb-dbc-chip.is-selected{box-shadow:0 0 0 2px var(--dbc-c)}.sb-block.sb-database .sb-dbc-chip.is-faded{opacity:.25}.sb-block.sb-database .sb-dbc-chip.continues-before{border-top-left-radius:0;border-bottom-left-radius:0;border-left-style:dashed}.sb-block.sb-database .sb-dbc-chip.is-done .sb-dbc-chip-title{text-decoration:line-through;color:var(--sb-muted)}.sb-block.sb-database .sb-dbc-chip[draggable=true]{cursor:grab}.sb-block.sb-database .sb-dbc-chip-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sb-block.sb-database .sb-dbc-time{flex:none;color:var(--dbc-c);font-variant-numeric:tabular-nums}.sb-block.sb-database .sb-dbc-check{flex:none;width:11px;height:11px;border-radius:3px;border:1px solid var(--dbc-c);font-size:8px;line-height:9px;text-align:center;color:var(--sb-surface)}.sb-block.sb-database .sb-dbc-chip.is-done .sb-dbc-check{background:var(--dbc-c)}.sb-block.sb-database .sb-dbc-muted{color:var(--sb-muted);font-size:10px}.sb-block.sb-database .sb-dbc-add{width:18px;height:18px;opacity:0}.sb-block.sb-database .sb-dbc-day:hover .sb-dbc-add,.sb-block.sb-database .sb-dbc-weekday-head:hover .sb-dbc-add,.sb-block.sb-database .sb-dbc-heat-day .sb-dbc-add,.sb-block.sb-database .sb-dbc-add:focus-visible{opacity:1}.sb-block.sb-database .sb-dbc-month{border:1px solid var(--sb-line);border-radius:6px;overflow:hidden}.sb-block.sb-database .sb-dbc-weekdays,.sb-block.sb-database .sb-dbc-week-row{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.sb-block.sb-database .sb-dbc-weekdays>span{font-size:9px;color:var(--sb-muted);padding:4px 6px;background:var(--sb-soft);border-bottom:1px solid var(--sb-line)}.sb-block.sb-database .sb-dbc-day{min-height:78px;padding:3px 4px 5px;border-right:1px solid var(--sb-line);border-bottom:1px solid var(--sb-line);min-width:0}.sb-block.sb-database .sb-dbc-week-row>.sb-dbc-day:nth-child(7){border-right:0}.sb-block.sb-database .sb-dbc-week-row:last-child>.sb-dbc-day{border-bottom:0}.sb-block.sb-database .sb-dbc-day.is-outside{background:var(--sb-soft)}.sb-block.sb-database .sb-dbc-day.is-outside .sb-dbc-day-number{color:var(--sb-muted);opacity:.7}.sb-block.sb-database .sb-dbc-day-head{display:flex;align-items:center;justify-content:space-between}.sb-block.sb-database .sb-dbc-day-number{font-size:10px;font-variant-numeric:tabular-nums;min-width:18px;height:18px;line-height:18px;text-align:center;border-radius:999px}.sb-block.sb-database .sb-dbc-day.is-today .sb-dbc-day-number{background:var(--dbc-today);color:var(--sb-surface);font-weight:700}.sb-block.sb-database .sb-dbc-more{font-size:9px;color:var(--sb-muted);padding:1px 4px;margin-top:2px;border-radius:3px}.sb-block.sb-database .sb-dbc-agenda{display:none;list-style:none;margin:0;padding:0}.sb-block.sb-database .sb-dbc-agenda>li{display:grid;grid-template-columns:112px minmax(0,1fr);gap:8px;padding:6px 2px;border-bottom:1px dashed var(--sb-line)}.sb-block.sb-database .sb-dbc-agenda-day{font-size:10px;color:var(--sb-muted);font-variant-numeric:tabular-nums}.sb-block.sb-database .sb-dbc-agenda-day>b{margin-left:5px;color:var(--dbc-today)}.sb-block.sb-database .sb-dbc-agenda>li.is-today .sb-dbc-agenda-day{color:var(--dbc-today);font-weight:600}.sb-block.sb-database .sb-dbc-agenda-items>.sb-dbc-chip:first-child{margin-top:0}.sb-block.sb-database .sb-dbc-agenda-empty{font-size:10px;color:var(--sb-muted)}.sb-block.sb-database .sb-dbc-weekgrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid var(--sb-line);border-radius:6px;overflow:hidden}.sb-block.sb-database .sb-dbc-weekgrid.is-timed{grid-template-columns:38px repeat(7,minmax(0,1fr));grid-template-rows:auto auto auto}.sb-block.sb-database .sb-dbc-weekgrid.is-timed>.sb-dbc-weekday,.sb-block.sb-database .sb-dbc-weekgrid.is-timed>.sb-dbc-axis{grid-row:1 / 4;grid-template-rows:subgrid}.sb-block.sb-database .sb-dbc-weekday{display:grid;grid-template-rows:auto auto 1fr;border-left:1px solid var(--sb-line);min-width:0;min-height:140px}.sb-block.sb-database .sb-dbc-weekgrid:not(.is-timed)>.sb-dbc-weekday:first-child{border-left:0}.sb-block.sb-database .sb-dbc-weekday.is-today{background:color-mix(in srgb,var(--dbc-today) 6%,transparent)}.sb-block.sb-database .sb-dbc-weekday-head,.sb-block.sb-database .sb-dbc-axis-head{display:flex;align-items:baseline;gap:4px;padding:4px 5px;min-height:28px;font-size:9px;color:var(--sb-muted);border-bottom:1px solid var(--sb-line);background:var(--sb-soft)}.sb-block.sb-database .sb-dbc-weekday-head>strong{font-size:10px;color:var(--sb-text)}.sb-block.sb-database .sb-dbc-weekday.is-today .sb-dbc-weekday-head>*{color:var(--dbc-today)}.sb-block.sb-database .sb-dbc-weekday-head>.sb-dbc-add{margin-left:auto;align-self:center}.sb-block.sb-database .sb-dbc-weekday-list{padding:2px 4px 4px;min-height:24px}.sb-block.sb-database .is-timed .sb-dbc-weekday-list{border-bottom:1px solid var(--sb-line)}.sb-block.sb-database .sb-dbc-axis{display:grid;grid-template-rows:auto auto 1fr}.sb-block.sb-database .sb-dbc-axis-allday{font-size:8px;color:var(--sb-muted);padding:4px 3px;min-height:24px;border-bottom:1px solid var(--sb-line)}.sb-block.sb-database .sb-dbc-axis-hours,.sb-block.sb-database .sb-dbc-hours{position:relative;height:calc(var(--dbc-hours) * var(--dbc-hour))}.sb-block.sb-database .sb-dbc-hours{background-image:repeating-linear-gradient(to bottom,var(--sb-line) 0,var(--sb-line) 1px,transparent 1px,transparent var(--dbc-hour))}.sb-block.sb-database .sb-dbc-axis-hours>span{position:absolute;right:4px;font-size:8px;color:var(--sb-muted);transform:translateY(-50%);font-variant-numeric:tabular-nums}.sb-block.sb-database .sb-dbc-axis-hours>span:first-child{transform:none}.sb-block.sb-database .sb-dbc-slot{position:absolute;padding:1px 2px}.sb-block.sb-database .sb-dbc-slot>.sb-dbc-chip{height:100%;margin:0;align-items:flex-start;flex-wrap:wrap;align-content:flex-start;overflow:hidden}.sb-block.sb-database .sb-dbc-slot .sb-dbc-chip-title{white-space:normal}.sb-block.sb-database .sb-dbc-now{position:absolute;left:0;right:0;border-top:2px solid var(--dbc-today);z-index:2;pointer-events:none}.sb-block.sb-database .sb-dbc-now>b{position:absolute;right:2px;top:-14px;font-size:8px;color:var(--dbc-today);background:var(--sb-surface);padding:0 3px;border-radius:3px}.sb-block.sb-database .sb-dbc-stats{display:flex;flex-wrap:wrap;gap:8px 22px;margin:0 0 10px}.sb-block.sb-database .sb-dbc-stats>div{display:flex;flex-direction:column-reverse}.sb-block.sb-database .sb-dbc-stats dt{font-size:9px;color:var(--sb-muted)}.sb-block.sb-database .sb-dbc-stats dd{margin:0;font-size:17px;font-weight:700;color:var(--dbc-c);font-variant-numeric:tabular-nums}.sb-block.sb-database .sb-dbc-stats dd>small{margin-left:6px;font-size:10px;font-weight:500;color:var(--sb-muted)}.sb-block.sb-database .sb-dbc-heat-scroll{overflow-x:auto;padding:2px}.sb-block.sb-database .sb-dbc-heat-grid{display:grid;grid-template-columns:24px repeat(var(--dbc-weeks),12px);grid-template-rows:14px repeat(7,12px);gap:3px;width:max-content}.sb-block.sb-database .sb-dbc-heat-month,.sb-block.sb-database .sb-dbc-heat-weekday{font-size:8px;color:var(--sb-muted);white-space:nowrap;line-height:12px;overflow:visible}.sb-block.sb-database .sb-dbc-heat-corner{grid-row:1;grid-column:1}.sb-block.sb-database .sb-dbc-heat-month{grid-row:1}.sb-block.sb-database .sb-dbc-heat-weekday{grid-column:1}.sb-block.sb-database .sb-dbc-heat-cell,.sb-block.sb-database .sb-dbc-heat-legend>i{display:block;width:12px;height:12px;padding:0;border-radius:3px;background:var(--sb-soft);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--sb-line) 70%,transparent)}.sb-block.sb-database .sb-dbc-heat-cell.level-1,.sb-block.sb-database .sb-dbc-heat-legend>i.level-1{background:color-mix(in srgb,var(--dbc-c) 28%,var(--sb-soft))}.sb-block.sb-database .sb-dbc-heat-cell.level-2,.sb-block.sb-database .sb-dbc-heat-legend>i.level-2{background:color-mix(in srgb,var(--dbc-c) 50%,var(--sb-soft))}.sb-block.sb-database .sb-dbc-heat-cell.level-3,.sb-block.sb-database .sb-dbc-heat-legend>i.level-3{background:color-mix(in srgb,var(--dbc-c) 75%,var(--sb-soft))}.sb-block.sb-database .sb-dbc-heat-cell.level-4,.sb-block.sb-database .sb-dbc-heat-legend>i.level-4{background:var(--dbc-c)}.sb-block.sb-database .sb-dbc-heat-cell:not(:disabled):hover{box-shadow:inset 0 0 0 1px var(--sb-text)}.sb-block.sb-database .sb-dbc-heat-cell.is-future{opacity:.35}.sb-block.sb-database .sb-dbc-heat-cell.is-today{box-shadow:inset 0 0 0 2px var(--dbc-today)}.sb-block.sb-database .sb-dbc-heat-cell.is-picked{outline:2px solid var(--sb-text);outline-offset:1px}.sb-block.sb-database .sb-dbc-heat-legend{display:flex;align-items:center;gap:3px;justify-content:flex-end;margin-top:6px;font-size:9px;color:var(--sb-muted)}.sb-block.sb-database .sb-dbc-heat-legend>span{margin:0 3px}.sb-block.sb-database .sb-dbc-heat-day{display:grid;grid-template-columns:auto auto 1fr;align-items:start;gap:4px 8px;margin-top:10px;padding-top:8px;border-top:1px dashed var(--sb-line)}.sb-block.sb-database .sb-dbc-heat-day>strong{font-size:10px;line-height:20px}.sb-block.sb-database .sb-dbc-heat-day .sb-dbc-agenda-items{display:flex;flex-wrap:wrap;gap:4px}.sb-block.sb-database .sb-dbc-heat-day .sb-dbc-chip{width:auto;margin:0}.sb-block.sb-database .sb-dbc-detail{margin-top:10px;padding:10px 12px;border:1px solid var(--sb-line);border-top:3px solid var(--dbc-c);border-radius:6px;background:var(--sb-surface);animation:sb-reveal .15s ease-out}.sb-block.sb-database .sb-dbc-detail-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sb-block.sb-database .sb-dbc-detail-head>strong{font-size:12px}.sb-block.sb-database .sb-dbc-detail-head>.sb-icon-button:first-of-type{margin-left:auto}.sb-block.sb-database .sb-dbc-fields{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:6px 14px;margin:8px 0 0}.sb-block.sb-database .sb-dbc-fields dt{font-size:9px;color:var(--sb-muted)}.sb-block.sb-database .sb-dbc-fields dd{margin:0;min-width:0}.sb-block.sb-database .sb-dbc-fields .sb-tag{margin:0}.sb-block.sb-database .sb-dbc-undated{margin:8px 0 0}.sb-block.sb-database .sb-dbc-empty-glyph{font-weight:700;font-size:18px}@container (max-width: 560px){.sb-block.sb-database .sb-dbc-month,.sb-block.sb-database .sb-dbc-weekgrid{display:none}.sb-block.sb-database .sb-dbc-agenda{display:block}.sb-block.sb-database .sb-dbc-agenda>li{grid-template-columns:1fr;gap:3px}.sb-block.sb-database .sb-dbc-nav>strong{min-width:0}}@media(prefers-reduced-motion:reduce){.sb-block.sb-database .sb-dbc-detail{animation:none}.sb-block.sb-database .sb-dbc-chip{transition:none}}@media print{.sb-block.sb-database .sb-dbc-nav>button,.sb-block.sb-database .sb-dbc-modes,.sb-block.sb-database .sb-dbc-add,.sb-block.sb-database .sb-dbc-detail .sb-icon-button{display:none}.sb-block.sb-database .sb-dbc-heat-scroll{overflow:visible}.sb-block.sb-database .sb-dbc-agenda{display:block;margin-top:10px}.sb-block.sb-database .sb-dbc-chip-title{white-space:normal}}
|
|
41
|
+
`);var ce=Z(de(),1),Hy=["month","week","heatmap"],X4=864e5,W4=3,Yi=(e,t,a)=>e.find(n=>n.id===t&&n.type===a);function jy(e,t={}){let a=Yi(e,t.dateColumn,"date")??e.find(r=>r.type==="date"),n=Yi(e,t.endDateColumn,"date"),o=Yi(e,t.startTimeColumn,"text");return{dateColumn:a,endDateColumn:n&&n!==a?n:void 0,startTimeColumn:o,endTimeColumn:o?Yi(e,t.endTimeColumn,"text"):void 0,colorColumn:t.colorColumn===""?void 0:Yi(e,t.colorColumn,"select")??e.find(r=>r.type==="select"),doneColumn:Yi(e,t.doneColumn,"checkbox"),mode:Hy.includes(t.mode)?t.mode:"month",initialDay:su(t.initialDate),weekStartsOn:t.weekStartsOn===0?0:1,weeks:Number.isInteger(t.weeks)&&t.weeks>=1&&t.weeks<=s6?t.weeks:12}}function Uy(e,t){if(!e)return;let a={...e},n=(o,r)=>{a[o]!==void 0&&!Yi(t,a[o],r)&&delete a[o]};return n("dateColumn","date"),n("endDateColumn","date"),n("startTimeColumn","text"),n("endTimeColumn","text"),n("colorColumn","select"),n("doneColumn","checkbox"),a.endDateColumn&&a.endDateColumn===a.dateColumn&&delete a.endDateColumn,a.startTimeColumn||delete a.endTimeColumn,a}var Ji=e=>new Date(e*X4),K4=e=>{let t=Ji(e);return Math.round(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),1)/X4)},Y4=(e,t)=>{let a=Ji(e);return Math.round(Date.UTC(a.getUTCFullYear(),a.getUTCMonth()+t,1)/X4)},J4=e=>`${Math.floor(e/60)}:${String(e%60).padStart(2,"0")}`,ii=(e,t)=>Array.from({length:t-e+1},(a,n)=>e+n);function tC(e){return(0,La.useMemo)(()=>{let t=a=>{let n=new Intl.DateTimeFormat(e,{...a,timeZone:"UTC"});return o=>n.format(Ji(o))};return{month:t({year:"numeric",month:"long"}),monthShort:t({month:"short"}),day:t({month:"short",day:"numeric"}),full:t({year:"numeric",month:"short",day:"numeric",weekday:"short"}),weekday:t({weekday:"short"})}},[e])}function _y({columns:e,rows:t,settings:a,editable:n,renderCell:o,onMove:r,onAdd:i,onRemove:l}){let s=se(n1),c=gl(),d=tC(c),u=(0,La.useContext)(U1),p=le=>!u?.get(le)?.readOnly.includes(a.dateColumn?.id??""),b=c6(),[y,f]=(0,La.useState)(a.mode),[w,h]=(0,La.useState)(a.initialDay??b),[m,v]=(0,La.useState)(null),[T,x]=(0,La.useState)(null),[E,P]=(0,La.useState)(null),[U,S]=(0,La.useState)(null),[k,A]=(0,La.useState)(null),L=(0,La.useRef)(null),{dateColumn:C,endDateColumn:I,startTimeColumn:D,endTimeColumn:N,colorColumn:_,doneColumn:j,weekStartsOn:F}=a,q=e.find(le=>le.type==="text")??e[0],J=(0,La.useMemo)(()=>C?p6(t,{dateColumn:C.id,endDateColumn:I?.id,startTimeColumn:D?.id,endTimeColumn:N?.id,doneColumn:j?.id}):[],[t,C,I,D,N,j]),V=_?Array.from(new Set([..._.options??[],...J.map(le=>re(le.row[_.id]))])).filter(Boolean):[],pe=le=>{let De=_?V.indexOf(re(le[_.id])):-1;return De<0?"n":String(De%5)},G=le=>({"--dbc-c":`var(--dbc-${le})`,"--dbc-c-soft":`var(--dbc-${le}-soft)`}),O=le=>!T||_&&re(le.row[_.id])===T;if((0,La.useEffect)(()=>{let le=De=>{De.key==="Escape"&&v(null)};if(m)return window.addEventListener("keydown",le),()=>window.removeEventListener("keydown",le)},[m]),!C)return(0,ce.jsx)(va,{icon:(0,ce.jsx)("span",{className:"sb-dbc-empty-glyph",children:"31"}),title:s("calendar.noDateColumn"),description:s("calendar.noDateColumnHint")});let z,H,M;if(y==="month"){let le=K4(w),De=Y4(w,1)-1;z=ml(le,F),H=ml(De,F)+6,M=d.month(le)}else y==="week"?(z=ml(w,F),H=z+6,M=`${d.day(z)} \u2013 ${d.day(H)}`):(H=ml(w,F)+6,z=H-a.weeks*7+1,M=`${d.month(z)} \u2013 ${d.month(H)}`);let oe=m6(J,z,H),fe=new Set;for(let le of oe.values())for(let De of le)fe.add(De);let ue=t.length-J.length,Se=le=>{P(null),h(De=>y==="month"?Y4(De,le):De+le*7*(y==="week"?1:a.weeks))},Re={month:[s("calendar.previousMonth"),s("calendar.nextMonth")],week:[s("calendar.previousWeek"),s("calendar.nextWeek")],heatmap:[s("calendar.previousRange"),s("calendar.nextRange")]}[y],Pe=ii(0,6).map(le=>d.weekday(ml(b,F)+le)),Fe=J.find(le=>le.row.id===m),Nt=le=>le.startMinute===null?"":le.endMinute===null?J4(le.startMinute):`${J4(le.startMinute)}\u2013${J4(le.endMinute)}`,ze=le=>{let De=i?.(P1(le));De&&v(De)},Ke=le=>{if(!k||!r)return;let De=le-k.start;De&&r(k.row.id,P1(k.start+De),I&&su(k.row[I.id])!==null?P1(k.end+De):void 0),A(null)},W=le=>r&&n?{onDragOver:De=>{k&&De.preventDefault()},onDrop:De=>{De.preventDefault(),Ke(le)}}:{},ye=(le,De,be=!1)=>{let me=pe(le.row),Be=re(le.row[q?.id])||s("untitled"),et=Nt(le);return(0,ce.jsxs)("button",{type:"button",className:["sb-dbc-chip",le.row.id===m&&"is-selected",O(le)?"":"is-faded",le.done&&"is-done",le.start<De&&"continues-before",le.end>De&&"continues-after"].filter(Boolean).join(" "),style:G(me),"aria-pressed":le.row.id===m,title:[et,Be].filter(Boolean).join(" "),draggable:!!(n&&r&&p(le.row.id)),onDragStart:()=>A(le),onDragEnd:()=>A(null),onClick:()=>v(le.row.id===m?null:le.row.id),children:[j&&(0,ce.jsx)("span",{className:"sb-dbc-check","aria-hidden":"true",children:le.done?"\u2713":""}),et&&!be&&(0,ce.jsx)("span",{className:"sb-dbc-time",children:et}),(0,ce.jsx)("span",{className:"sb-dbc-chip-title",children:Be})]},le.row.id)},he=le=>{let De=le.filter(be=>oe.get(be).length);return(0,ce.jsxs)("ol",{className:"sb-dbc-agenda","aria-label":s("calendar.agenda"),children:[De.map(be=>(0,ce.jsxs)("li",{className:be===b?"is-today":"",...W(be),children:[(0,ce.jsxs)("span",{className:"sb-dbc-agenda-day",children:[d.full(be),be===b&&(0,ce.jsx)("b",{children:s("calendar.today")})]}),(0,ce.jsx)("div",{className:"sb-dbc-agenda-items",children:oe.get(be).map(me=>ye(me,be))})]},be)),!De.length&&(0,ce.jsx)("li",{className:"sb-dbc-agenda-empty",children:s("calendar.noRecordsInRange")})]})},Ne=le=>n&&i?(0,ce.jsx)("button",{type:"button",className:"sb-icon-button sb-dbc-add","aria-label":s("calendar.addOnDay",{date:d.full(le)}),onClick:()=>ze(le),children:(0,ce.jsx)(Pt,{size:12})}):null,We=()=>{let le=Ji(K4(w)).getUTCMonth(),De=ii(z,H);return(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsxs)("div",{className:"sb-dbc-month",role:"grid","aria-label":M,children:[(0,ce.jsx)("div",{className:"sb-dbc-weekdays",role:"row",children:Pe.map(be=>(0,ce.jsx)("span",{role:"columnheader",children:be},be))}),ii(0,De.length/7-1).map(be=>(0,ce.jsx)("div",{className:"sb-dbc-week-row",role:"row",children:De.slice(be*7,be*7+7).map(me=>{let Be=oe.get(me),et=E===me,ae=et?Be:Be.slice(0,W4);return(0,ce.jsxs)("div",{role:"gridcell","aria-label":d.full(me),className:["sb-dbc-day",Ji(me).getUTCMonth()!==le&&"is-outside",me===b&&"is-today"].filter(Boolean).join(" "),...W(me),children:[(0,ce.jsxs)("div",{className:"sb-dbc-day-head",children:[(0,ce.jsx)("span",{className:"sb-dbc-day-number",children:Ji(me).getUTCDate()}),Ne(me)]}),ae.map(te=>ye(te,me)),Be.length>W4&&(0,ce.jsx)("button",{type:"button",className:"sb-dbc-more","aria-expanded":et,onClick:()=>P(et?null:me),children:et?s("calendar.showLess"):s("calendar.moreRecords",{count:Be.length-W4})})]},me)})},be))]}),he(ii(K4(w),Y4(w,1)-1))]})},it=()=>{let le=ii(z,H),De=J.some(te=>te.startMinute!==null&&fe.has(te)),be=8,me=18;for(let te of fe)te.startMinute!==null&&(be=Math.min(be,Math.floor(te.startMinute/60)),me=Math.max(me,Math.ceil((te.endMinute??te.startMinute+60)/60)));me=Math.min(24,me);let Be=(me-be)*60,et=new Date,ae=et.getHours()*60+et.getMinutes();return(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsxs)("div",{className:`sb-dbc-weekgrid ${De?"is-timed":""}`,style:{"--dbc-hours":me-be},children:[De&&(0,ce.jsxs)("div",{className:"sb-dbc-axis","aria-hidden":"true",children:[(0,ce.jsx)("span",{className:"sb-dbc-axis-head"}),(0,ce.jsx)("span",{className:"sb-dbc-axis-allday",children:s("calendar.allDay")}),(0,ce.jsx)("div",{className:"sb-dbc-axis-hours",children:ii(be,me-1).map(te=>(0,ce.jsxs)("span",{style:{top:`${(te-be)*6e3/Be}%`},children:[te,":00"]},te))})]}),le.map(te=>{let Y=oe.get(te),Ce=De?Y.filter(ut=>ut.startMinute===null||ut.start!==te):Y,tt=f6(Y.filter(ut=>ut.start===te));return(0,ce.jsxs)("div",{className:`sb-dbc-weekday ${te===b?"is-today":""}`,...W(te),children:[(0,ce.jsxs)("div",{className:"sb-dbc-weekday-head",children:[(0,ce.jsx)("span",{children:d.weekday(te)}),(0,ce.jsx)("strong",{children:d.day(te)}),Ne(te)]}),(0,ce.jsx)("div",{className:"sb-dbc-weekday-list",children:Ce.map(ut=>ye(ut,te))}),De&&(0,ce.jsxs)("div",{className:"sb-dbc-hours",children:[tt.placed.map(({entry:ut,lane:Zt,end:kt})=>(0,ce.jsx)("div",{className:"sb-dbc-slot",style:{top:`${(ut.startMinute-be*60)*100/Be}%`,height:`${(kt-ut.startMinute)*100/Be}%`,left:`${Zt*100/tt.laneCount}%`,width:`${100/tt.laneCount}%`},children:ye(ut,te)},ut.row.id)),te===b&&ae>=be*60&&ae<=me*60&&(0,ce.jsx)("span",{className:"sb-dbc-now",style:{top:`${(ae-be*60)*100/Be}%`},children:(0,ce.jsx)("b",{children:s("calendar.now")})})]})]},te)})]}),he(le)]})},Ge=()=>{let le=J.filter(O),De=Math.min(b,w),be=g6(le,{endDay:H,today:De,weeks:a.weeks,weekStartsOn:F,countDone:!!j}),me=T&&_?String(V.indexOf(T)%5):null,Be=U??Math.min(H,Math.max(z,De)),et=Ce=>{let tt={ArrowUp:-1,ArrowDown:1,ArrowLeft:-7,ArrowRight:7,Home:z-Be,End:be.to-Be}[Ce.key];if(tt===void 0)return;Ce.preventDefault();let ut=Math.min(be.to,Math.max(be.from,Be+tt));S(ut),L.current?.querySelector(`[data-day="${ut}"]`)?.focus()},ae=be.elapsedDays?Math.round(be.activeDays*100/be.elapsedDays):0,te=oe.get(Be).filter(O),Y=Ce=>j?s("calendar.doneCount",{count:Ce}):s("recordCount",{count:Ce});return(0,ce.jsxs)("div",{className:"sb-dbc-heat",style:G(me??"a"),children:[(0,ce.jsxs)("dl",{className:"sb-dbc-stats",children:[(0,ce.jsxs)("div",{children:[(0,ce.jsx)("dt",{children:s("calendar.currentStreak")}),(0,ce.jsx)("dd",{children:s("calendar.days",{count:be.current})})]}),(0,ce.jsxs)("div",{children:[(0,ce.jsx)("dt",{children:s("calendar.longestStreak")}),(0,ce.jsx)("dd",{children:s("calendar.days",{count:be.longest})})]}),(0,ce.jsxs)("div",{children:[(0,ce.jsx)("dt",{children:s("calendar.activeDays")}),(0,ce.jsxs)("dd",{children:[be.activeDays," / ",be.elapsedDays,(0,ce.jsxs)("small",{children:[ae,"%"]})]})]})]}),(0,ce.jsx)("div",{className:"sb-dbc-heat-scroll",children:(0,ce.jsxs)("div",{ref:L,className:"sb-dbc-heat-grid",role:"group","aria-label":s("calendar.heatmapLabel",{range:M}),style:{"--dbc-weeks":a.weeks},onKeyDown:et,children:[(0,ce.jsx)("span",{className:"sb-dbc-heat-corner"}),ii(0,a.weeks-1).map(Ce=>{let tt=be.from+Ce*7,ut=ii(tt,tt+6).find(Zt=>Ji(Zt).getUTCDate()===1);return(0,ce.jsx)("span",{className:"sb-dbc-heat-month",style:{gridColumn:Ce+2},"aria-hidden":"true",children:ut!==void 0||Ce===0?d.monthShort(ut??tt):""},Ce)}),Pe.map((Ce,tt)=>(0,ce.jsx)("span",{className:"sb-dbc-heat-weekday",style:{gridRow:tt+2},"aria-hidden":"true",children:tt%2===0?Ce:""},Ce)),be.cells.map((Ce,tt)=>(0,ce.jsx)("button",{type:"button","data-day":Ce.day,tabIndex:Ce.day===Be?0:-1,className:["sb-dbc-heat-cell",`level-${Ce.level}`,Ce.day>b&&"is-future",Ce.day===b&&"is-today",Ce.day===U&&"is-picked"].filter(Boolean).join(" "),style:{gridColumn:Math.floor(tt/7)+2,gridRow:tt%7+2},"aria-label":`${d.full(Ce.day)}: ${Y(Ce.count)}`,"aria-pressed":Ce.day===U,title:`${d.full(Ce.day)} \xB7 ${Y(Ce.count)}`,onClick:()=>S(Ce.day===U?null:Ce.day)},Ce.day))]})}),(0,ce.jsxs)("div",{className:"sb-dbc-heat-legend","aria-hidden":"true",children:[(0,ce.jsx)("span",{children:s("calendar.less")}),[0,1,2,3,4].map(Ce=>(0,ce.jsx)("i",{className:`sb-dbc-heat-cell level-${Ce}`},Ce)),(0,ce.jsx)("span",{children:s("calendar.more")})]}),(0,ce.jsxs)("div",{className:"sb-dbc-heat-day",children:[(0,ce.jsx)("strong",{children:d.full(Be)}),Ne(Be),(0,ce.jsx)("div",{className:"sb-dbc-agenda-items",children:te.length?te.map(Ce=>ye(Ce,Be)):(0,ce.jsx)("span",{className:"sb-dbc-muted",children:s("calendar.noRecordsOnDay")})})]})]})};return(0,ce.jsxs)("div",{className:`sb-dbc sb-dbc-${y}`,children:[(0,ce.jsxs)("div",{className:"sb-dbc-bar",children:[(0,ce.jsx)("div",{className:"sb-dbc-modes",role:"group","aria-label":s("calendar.mode"),children:Hy.map(le=>(0,ce.jsx)("button",{type:"button","aria-pressed":y===le,className:y===le?"is-active":"",onClick:()=>f(le),children:s(`calendar.mode.${le}`)},le))}),(0,ce.jsxs)("div",{className:"sb-dbc-nav",children:[(0,ce.jsx)("button",{type:"button",className:"sb-icon-button","aria-label":Re[0],onClick:()=>Se(-1),children:(0,ce.jsx)(xr,{size:14})}),(0,ce.jsx)("strong",{"aria-live":"polite",children:M}),(0,ce.jsx)("button",{type:"button",className:"sb-icon-button","aria-label":Re[1],onClick:()=>Se(1),children:(0,ce.jsx)(nn,{size:14})}),(0,ce.jsx)("button",{type:"button",className:"sb-dbc-today",onClick:()=>{h(b),S(null)},children:s("calendar.today")})]})]}),_&&V.length>0&&(0,ce.jsxs)("div",{className:"sb-dbc-legend",role:"group","aria-label":s("calendar.colorLegend",{name:_.name}),children:[(0,ce.jsx)("button",{type:"button","aria-pressed":!T,className:T?"":"is-active",onClick:()=>x(null),children:s("allRecords")}),V.map((le,De)=>{let be=[...fe].filter(Be=>re(Be.row[_.id])===le),me=be.reduce((Be,et)=>Be+(et.startMinute!==null&&et.endMinute!==null?et.endMinute-et.startMinute:0),0);return(0,ce.jsxs)("button",{type:"button","aria-pressed":T===le,className:T===le?"is-active":"",style:G(String(De%5)),onClick:()=>x(T===le?null:le),children:[(0,ce.jsx)("i",{"aria-hidden":"true"}),le,(0,ce.jsx)("b",{children:y==="week"&&me?s("calendar.hours",{hours:Math.round(me/6)/10}):be.length})]},le)})]}),y==="month"?We():y==="week"?it():Ge(),Fe&&(0,ce.jsxs)("div",{className:"sb-dbc-detail",role:"region","aria-label":re(Fe.row[q?.id])||s("untitled"),style:G(pe(Fe.row)),children:[(0,ce.jsxs)("div",{className:"sb-dbc-detail-head",children:[(0,ce.jsx)("strong",{children:re(Fe.row[q?.id])||s("untitled")}),(0,ce.jsxs)("span",{className:"sb-dbc-muted",children:[d.full(Fe.start),Fe.end>Fe.start&&` \u2013 ${d.full(Fe.end)}`,Nt(Fe)&&` \xB7 ${Nt(Fe)}`]}),n&&l&&u?.get(Fe.row.id)?.removable!==!1&&(0,ce.jsx)("button",{type:"button",className:"sb-icon-button sb-danger","aria-label":s("deleteRecord"),onClick:()=>{l(Fe.row.id),v(null)},children:(0,ce.jsx)(Qt,{size:13})}),(0,ce.jsx)("button",{type:"button",className:"sb-icon-button","aria-label":s("calendar.closeDetail"),onClick:()=>v(null),children:(0,ce.jsx)(Ja,{size:13})})]}),(0,ce.jsx)("dl",{className:"sb-dbc-fields",children:e.filter(le=>n||le.id!==q?.id).map(le=>(0,ce.jsxs)("div",{children:[(0,ce.jsx)("dt",{children:le.name}),(0,ce.jsx)("dd",{children:o(Fe.row,le)})]},le.id))})]}),ue>0&&(0,ce.jsx)("p",{className:"sb-dbc-muted sb-dbc-undated",children:s("calendar.undated",{count:ue,name:C.name})})]})}var Q=Z(de(),1),Zy=[{value:"text",label:"type.text"},{value:"number",label:"type.number"},{value:"select",label:"type.select"},{value:"checkbox",label:"type.checkbox"},{value:"url",label:"type.url"},{value:"date",label:"type.date"}],aC=["table","board","calendar"],nC={text:"Aa",number:"#",select:"\u25C9",checkbox:"\u2611",url:"\u2197",date:"\u25EB"};function Q4({row:e,column:t,editable:a,update:n}){let o=se(n1),r=e[t.id];return t.type==="checkbox"?(0,Q.jsx)("input",{type:"checkbox","aria-label":t.name,checked:!!r,disabled:!a,onChange:i=>n(i.target.checked)}):a?t.type==="select"?(0,Q.jsxs)("select",{"aria-label":t.name,value:re(r),className:`sb-cell-select sb-tag-${(t.options?.indexOf(String(r))??0)%5}`,onChange:i=>n(i.target.value),children:[(0,Q.jsx)("option",{value:"",children:o("notSet")}),t.options?.map(i=>(0,Q.jsx)("option",{value:i,children:i},i)),r&&!t.options?.includes(String(r))&&(0,Q.jsx)("option",{value:String(r),children:String(r)})]}):(0,Q.jsxs)("div",{className:"sb-cell-input-wrap",children:[(0,Q.jsx)("input",{"aria-label":t.name,type:t.type==="number"||t.type==="url"?t.type:t.type==="date"?"date":"text",className:"sb-cell-input",value:re(r),placeholder:t.type==="url"?"https://\u2026":"\u2014",onChange:i=>n(t.type==="number"&&i.target.value!==""?Number(i.target.value):i.target.value)}),t.type==="url"&&Bn(r)&&(0,Q.jsx)("a",{className:"sb-icon-button",href:Bn(r),target:"_blank",rel:"noopener noreferrer","aria-label":o("openLink",{name:t.name}),children:(0,Q.jsx)(bi,{size:12})})]}):t.type==="select"&&r?(0,Q.jsx)("span",{className:`sb-tag sb-tag-${(t.options?.indexOf(String(r))??0)%5}`,children:re(r)}):t.type==="url"&&Bn(r)?(0,Q.jsxs)("a",{className:"sb-cell-link",href:Bn(r),target:"_blank",rel:"noopener noreferrer",children:[re(r),(0,Q.jsx)(bi,{size:12})]}):(0,Q.jsx)("span",{className:"sb-cell-value",children:re(r)||(0,Q.jsx)("span",{className:"sb-placeholder",children:"\u2014"})})}function Vy({data:e,onChange:t,readOnly:a}){let n=se(n1),o=(0,Ca.useMemo)(()=>Array.isArray(e.columns)?e.columns.filter(W=>W&&typeof W.id=="string").map(W=>({id:W.id,name:re(W.name,n("property")),type:Zy.some(ye=>ye.value===W.type)?W.type:"text",options:Array.isArray(W.options)?W.options.map(ye=>re(ye)):[]})):[],[e.columns,n]),r=Array.isArray(e.rows)?e.rows.filter(W=>W&&typeof W.id=="string"):[],[i,l]=(0,Ca.useState)(aC.includes(e.view)?e.view:"table"),[s,c]=(0,Ca.useState)({}),[d,u]=(0,Ca.useState)(""),[p,b]=(0,Ca.useState)(null),[y,f]=(0,Ca.useState)(!1),[w,h]=(0,Ca.useState)({column:"",value:""}),[m,v]=(0,Ca.useState)(!1),[T,x]=(0,Ca.useState)(""),[E,P]=(0,Ca.useState)([]),[U,S]=(0,Ca.useState)(""),[k,A]=(0,Ca.useState)(re(e.groupBy)),[L,C]=(0,Ca.useState)(0),[I,D]=(0,Ca.useState)(null),N=!!(t&&!a),_=(0,Ca.useContext)(U1),j=(W,ye)=>N&&!_?.get(W.id)?.readOnly.includes(ye.id),F=W=>_?.get(W.id)?.removable??!0,q=o.filter(W=>W.type==="select"),J=o.find(W=>W.id===k&&W.type==="select")??q[0],V=L6(r,o,d,w,p),pe=e.calendar&&typeof e.calendar=="object"?e.calendar:{},G=jy(o,{...pe,...s}),O=o.filter(W=>W.type==="date"),z=30,H=Math.max(1,Math.ceil(V.length/z)),M=Math.min(L,H-1),oe=w.column?Array.from(new Set(r.map(W=>String(W[w.column]??"")))):[],fe=J?Array.from(new Set([...J.options??[],...V.map(W=>re(W[J.id])),""])):[""],ue=(W,ye)=>t?.({...e,rows:r.map(he=>he.id===W?{...he,...ye}:he)}),Se=(W,ye,he)=>ue(W,{[ye]:he}),Re=(W,ye={})=>{let he={id:ko(),...Object.fromEntries(o.map(Ne=>[Ne.id,Ne.type==="checkbox"?!1:""])),...ye};return J&&W!==void 0&&(he[J.id]=W),t?.({...e,rows:[...r,he]}),C(Math.floor(r.length/z)),u(""),h({column:"",value:""}),he.id},Pe=W=>{_?.get(W)?.removable!==!1&&t?.({...e,rows:r.filter(ye=>ye.id!==W)})},Fe=W=>{b(ye=>ye?.column===W?ye.direction==="asc"?{column:W,direction:"desc"}:null:{column:W,direction:"asc"}),C(0)},Nt=()=>{x(re(e.title)),P(o.map(W=>({...W,options:[...W.options??[]]}))),S(""),v(!m)},ze=()=>{if(!E.length){S(n("error.keepOneProperty"));return}if(E.some(Ne=>!Ne.name.trim())){S(n("error.nameEveryProperty"));return}let W=E.map(Ne=>({...Ne,name:Ne.name.trim(),options:[...new Set((Ne.options??[]).map(We=>We.trim()).filter(Boolean))]})),ye={...e,title:T,columns:W,rows:r.map(Ne=>_?.has(Ne.id)?Ne:{id:Ne.id,...Object.fromEntries(W.map(We=>{let it=Ne[We.id],Ge=We.type==="checkbox"?it===!0||it==="true":We.type==="number"?it===""||it===void 0||it===null?"":Number.isFinite(Number(it))?Number(it):"":We.type==="date"?d6(re(it)):re(it);return[We.id,Ge]}))})},he=Uy(e.calendar?pe:void 0,W);he&&(ye.calendar=he),ye.view==="calendar"&&!W.some(Ne=>Ne.type==="date")&&delete ye.view,t?.(ye),c({}),W.some(Ne=>Ne.id===w.column)||h({column:"",value:""}),v(!1)},Ke=(W,ye)=>P(he=>he.map(Ne=>Ne.id===W?{...Ne,...ye}:Ne));return(0,Q.jsxs)("section",{className:"sb-block sb-database","aria-label":_a(e.title,n("database")),children:[(0,Q.jsxs)(ma,{title:re(e.title),defaultTitle:"\u6570\u636E\u5E93",icon:(0,Q.jsx)(qd,{size:17}),editable:N,editing:m,onEdit:Nt,children:[(0,Q.jsx)("button",{type:"button",className:"sb-icon-button","aria-label":n("exportDatabase"),title:n("exportCsv"),onClick:()=>hl(H1(o,V),`${re(e.title,n("database"))}.csv`,"text/csv;charset=utf-8"),children:(0,Q.jsx)(wr,{size:15})}),(0,Q.jsxs)("details",{className:"sb-tools-menu",children:[(0,Q.jsxs)("summary",{"aria-label":n("viewAndFilterMenu"),children:[(0,Q.jsx)(p1,{size:14,"aria-hidden":"true"}),n("viewAndFilter")]}),(0,Q.jsxs)("div",{className:"sb-database-toolbar",children:[(0,Q.jsxs)("div",{className:"sb-view-tabs",children:[(0,Q.jsxs)("button",{type:"button",className:i==="table"?"is-active":"",onClick:()=>l("table"),children:[(0,Q.jsx)(qd,{size:14}),n("table")]}),(0,Q.jsxs)("button",{type:"button",className:i==="board"?"is-active":"",onClick:()=>l("board"),children:[(0,Q.jsx)(B5,{size:14}),n("board")]}),(0,Q.jsxs)("button",{type:"button",className:i==="calendar"?"is-active":"",onClick:()=>l("calendar"),children:[(0,Q.jsx)(f1,{size:14}),n("calendar")]})]}),(0,Q.jsxs)("div",{className:"sb-database-tools",children:[(0,Q.jsx)(j1,{label:n("searchDatabase"),value:d,onChange:W=>{u(W),C(0)}}),(0,Q.jsx)("button",{type:"button",className:`sb-icon-button ${y||w.column?"is-active":""}`,"aria-label":n("filterDatabase"),onClick:()=>f(!y),children:(0,Q.jsx)(p1,{size:15})}),N&&(0,Q.jsxs)("button",{type:"button",className:"sb-button sb-primary sb-small",onClick:()=>Re(),children:[(0,Q.jsx)(Pt,{size:14}),n("newRecord")]})]}),i==="board"&&q.length>0&&(0,Q.jsxs)("div",{className:"sb-board-grouping",children:[(0,Q.jsx)("span",{children:n("groupBy")}),(0,Q.jsx)("select",{"aria-label":n("boardGroupProperty"),value:J?.id??"",onChange:W=>A(W.target.value),children:q.map(W=>(0,Q.jsx)("option",{value:W.id,children:W.name},W.id))})]}),i==="calendar"&&G.dateColumn&&(0,Q.jsx)("div",{className:"sb-board-grouping sb-calendar-settings",children:[["dateColumn","calendar.dateProperty",O,!1],["endDateColumn","calendar.endDateProperty",O.filter(W=>W.id!==G.dateColumn?.id),!0],["colorColumn","calendar.colorProperty",q,!0],["doneColumn","calendar.doneProperty",o.filter(W=>W.type==="checkbox"),!0]].map(([W,ye,he,Ne])=>he.length>(Ne?0:1)?(0,Q.jsxs)("label",{children:[(0,Q.jsx)("span",{children:n(ye)}),(0,Q.jsxs)("select",{value:G[W]?.id??"",onChange:We=>c(it=>({...it,[W]:We.target.value})),children:[Ne&&(0,Q.jsx)("option",{value:"",children:n("calendar.none")}),he.map(We=>(0,Q.jsx)("option",{value:We.id,children:We.name},We.id))]})]},W):null)})]})]})]}),m&&(0,Q.jsx)(ja,{children:(0,Q.jsxs)("div",{className:"sb-editor-panel",children:[(0,Q.jsx)(je,{label:n("databaseName"),children:(0,Q.jsx)("input",{value:T,onChange:W=>x(W.target.value)})}),(0,Q.jsx)("div",{className:"sb-property-list",children:E.map(W=>(0,Q.jsxs)("div",{className:"sb-property-row",children:[(0,Q.jsx)("input",{"aria-label":n("propertyName"),value:W.name,onChange:ye=>Ke(W.id,{name:ye.target.value})}),(0,Q.jsx)("select",{"aria-label":n("propertyType",{name:W.name}),value:W.type,onChange:ye=>Ke(W.id,{type:ye.target.value}),children:Zy.map(ye=>(0,Q.jsx)("option",{value:ye.value,children:n(ye.label)},ye.value))}),W.type==="select"&&(0,Q.jsx)("input",{className:"sb-options-input","aria-label":n("propertyOptions",{name:W.name}),placeholder:n("optionsPlaceholder"),value:W.options?.join(","),onChange:ye=>Ke(W.id,{options:ye.target.value.split(/[,,]/)})}),(0,Q.jsx)("button",{type:"button",className:"sb-icon-button sb-danger","aria-label":n("deleteProperty",{name:W.name}),onClick:()=>P(ye=>ye.filter(he=>he.id!==W.id)),children:(0,Q.jsx)(Qt,{size:14})})]},W.id))}),U&&(0,Q.jsx)("p",{role:"alert",className:"sb-error",children:U}),(0,Q.jsxs)("div",{className:"sb-panel-footer",children:[(0,Q.jsxs)("button",{type:"button",className:"sb-button",onClick:()=>P(W=>[...W,{id:ko(),name:"\u65B0\u5C5E\u6027",type:"text"}]),children:[(0,Q.jsx)(Pt,{size:14}),n("addProperty")]}),(0,Q.jsxs)("button",{type:"button",className:"sb-button sb-primary",onClick:ze,children:[(0,Q.jsx)(Oa,{size:14}),n("saveProperties")]})]})]})}),y&&(0,Q.jsxs)("div",{className:"sb-filter-row",children:[(0,Q.jsx)(p1,{size:13}),(0,Q.jsxs)("select",{"aria-label":n("filterProperty"),value:w.column,onChange:W=>{let ye=W.target.value;h({column:ye,value:ye?String(r[0]?.[ye]??""):""}),C(0)},children:[(0,Q.jsx)("option",{value:"",children:n("allRecords")}),o.map(W=>(0,Q.jsx)("option",{value:W.id,children:W.name},W.id))]}),w.column&&(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)("span",{children:n("equals")}),(0,Q.jsx)("select",{"aria-label":n("filterValue"),value:w.value,onChange:W=>{h(ye=>({...ye,value:W.target.value})),C(0)},children:oe.map(W=>(0,Q.jsx)("option",{value:W,children:W||n("notSet")},W))}),(0,Q.jsx)("button",{type:"button",className:"sb-text-button",onClick:()=>h({column:"",value:""}),children:n("clear")})]})]}),i==="calendar"?(0,Q.jsx)(_y,{columns:o,rows:V,settings:G,editable:N,renderCell:(W,ye)=>(0,Q.jsx)(Q4,{row:W,column:ye,editable:j(W,ye),update:he=>Se(W.id,ye.id,he)}),onMove:(W,ye,he)=>ue(W,{[G.dateColumn.id]:ye,...he&&G.endDateColumn?{[G.endDateColumn.id]:he}:{}}),onAdd:G.dateColumn?W=>Re(void 0,{[G.dateColumn.id]:W}):void 0,onRemove:Pe},JSON.stringify(pe)):i==="table"?(0,Q.jsxs)(Q.Fragment,{children:[(0,Q.jsx)("div",{className:"sb-table-scroll",children:(0,Q.jsxs)("table",{className:"sb-database-table",children:[(0,Q.jsx)("thead",{children:(0,Q.jsxs)("tr",{children:[o.map(W=>(0,Q.jsx)("th",{children:(0,Q.jsxs)("button",{type:"button",onClick:()=>Fe(W.id),children:[(0,Q.jsx)("span",{className:"sb-type-symbol",children:nC[W.type]}),W.name,p?.column===W.id&&(p.direction==="asc"?(0,Q.jsx)(vr,{size:12}):(0,Q.jsx)(al,{size:12}))]})},W.id)),N&&(0,Q.jsx)("th",{className:"sb-row-action","aria-label":n("rowActions")})]})}),(0,Q.jsx)("tbody",{children:V.slice(M*z,(M+1)*z).map(W=>(0,Q.jsxs)("tr",{title:_?.get(W.id)?.label,children:[o.map(ye=>(0,Q.jsx)("td",{children:(0,Q.jsx)(Q4,{row:W,column:ye,editable:j(W,ye),update:he=>Se(W.id,ye.id,he)})},ye.id)),N&&(0,Q.jsx)("td",{className:"sb-row-action",children:F(W)&&(0,Q.jsx)("button",{type:"button",className:"sb-icon-button sb-danger","aria-label":n("deleteNamedRecord",{name:re(W[o[0]?.id])}),onClick:()=>Pe(W.id),children:(0,Q.jsx)(Qt,{size:13})})})]},W.id))})]})}),V.length===0&&(0,Q.jsx)(va,{icon:(0,Q.jsx)(K5,{size:25,strokeWidth:1.4}),title:r.length?n("empty.noMatches"):n("empty.start")})]}):(0,Q.jsx)(Q.Fragment,{children:(0,Q.jsx)("div",{className:"sb-board",children:fe.map((W,ye)=>{let he=J?V.filter(Ne=>re(Ne[J.id])===W):V;return(0,Q.jsxs)("div",{className:`sb-board-column ${I?"is-droppable":""}`,onDragOver:Ne=>{N&&J&&I&&Ne.preventDefault()},onDrop:Ne=>{!N||!J||!I||(Ne.preventDefault(),Se(I,J.id,W),D(null))},children:[(0,Q.jsxs)("div",{className:"sb-board-column-header",children:[(0,Q.jsx)("span",{className:`sb-tag sb-tag-${ye%5}`,children:W||n(J?"notSet":"allRecords")}),(0,Q.jsx)("span",{children:he.length}),N&&(0,Q.jsx)("button",{type:"button",className:"sb-icon-button","aria-label":n("newRecordIn",{group:W||n("notSet")}),onClick:()=>Re(W),children:(0,Q.jsx)(Pt,{size:14})})]}),he.map(Ne=>(0,Q.jsxs)("div",{className:`sb-board-card ${I===Ne.id?"is-dragging":""}`,draggable:N&&!!J,onDragStart:()=>D(Ne.id),onDragEnd:()=>D(null),children:[o.filter(We=>We.id!==J?.id).map((We,it)=>(0,Q.jsxs)("div",{className:it===0?"sb-board-card-title":"sb-board-card-field",children:[it>0&&(0,Q.jsx)("span",{children:We.name}),(0,Q.jsx)(Q4,{row:Ne,column:We,editable:j(Ne,We),update:Ge=>Se(Ne.id,We.id,Ge)})]},We.id)),N&&(0,Q.jsxs)("div",{className:"sb-board-card-footer",children:[J&&(0,Q.jsxs)("select",{"aria-label":n("moveToGroup"),value:re(Ne[J.id]),onChange:We=>Se(Ne.id,J.id,We.target.value),children:[(0,Q.jsx)("option",{value:"",children:n("notSet")}),fe.filter(Boolean).map(We=>(0,Q.jsx)("option",{children:We},We))]}),F(Ne)&&(0,Q.jsx)("button",{type:"button",className:"sb-icon-button sb-danger","aria-label":n("deleteRecord"),onClick:()=>Pe(Ne.id),children:(0,Q.jsx)(Qt,{size:13})})]})]},Ne.id)),N&&(0,Q.jsxs)("button",{type:"button",className:"sb-add-row",onClick:()=>Re(W),children:[(0,Q.jsx)(Pt,{size:13}),n("addRecord")]})]},W)})})}),(0,Q.jsxs)("div",{className:"sb-database-footer",children:[(0,Q.jsxs)("span",{children:[V.length===r.length?n("recordCount",{count:r.length}):n("filteredRecordCount",{shown:V.length,count:r.length}),p&&(0,Q.jsx)("button",{type:"button",className:"sb-text-button",onClick:()=>b(null),children:n("clearSort")})]}),i==="table"&&H>1&&(0,Q.jsxs)("div",{className:"sb-pagination",children:[(0,Q.jsx)("button",{type:"button",disabled:M===0,onClick:()=>C(M-1),children:n("previousPage")}),(0,Q.jsxs)("span",{children:[M+1," / ",H]}),(0,Q.jsx)("button",{type:"button",disabled:M+1===H,onClick:()=>C(M+1),children:n("nextPage")})]})]})]})}var mn=Z(Me(),1),qy=Z(Ln(),1);var bd=rt("gallery",{"zh-CN":{gallery:"\u56FE\u7247\u753B\u5ECA","error.unsupportedType":"\u652F\u6301 PNG\u3001JPEG\u3001GIF\u3001WebP \u548C AVIF \u56FE\u7247\u3002","error.tooLarge":"\u300C{name}\u300D\u4E3A {size}\uFF0C\u5355\u4E2A\u8D44\u6E90\u4E0A\u9650 {limit}\u3002","error.cannotRead":"\u65E0\u6CD5\u8BFB\u53D6\u300C{name}\u300D\u3002","error.readFailed":"\u56FE\u7247\u8BFB\u53D6\u5931\u8D25\u3002","error.importFailed":"\u56FE\u7247\u5BFC\u5165\u5931\u8D25\u3002","error.invalidSource":"\u6BCF\u5F20\u56FE\u7247\u9700\u8981\u6709\u6548\u7684\u7F51\u5740\u6216\u672C\u5730\u56FE\u7247\u3002",imagePreview:"\u56FE\u7247\u9884\u89C8",closePreview:"\u5173\u95ED\u56FE\u7247\u9884\u89C8",previousImage:"\u4E0A\u4E00\u5F20\u56FE\u7247",nextImage:"\u4E0B\u4E00\u5F20\u56FE\u7247",title:"\u6807\u9898",arrangement:"\u6392\u5217",oneColumn:"\u5355\u5217",twoColumns:"\u4E24\u5217",threeColumns:"\u4E09\u5217",imageAddress:"\u56FE\u7247 {index} \u5730\u5740",embeddedImage:"\u5DF2\u5D4C\u5165\u672C\u5730\u56FE\u7247",altText:"\u56FE\u7247\u63CF\u8FF0",caption:"\u56FE\u6CE8",moveUp:"\u4E0A\u79FB\u56FE\u7247 {index}",moveDown:"\u4E0B\u79FB\u56FE\u7247 {index}",deleteImage:"\u5220\u9664\u56FE\u7247 {index}",chooseLocalImages:"\u9009\u62E9\u672C\u5730\u56FE\u7247",reading:"\u8BFB\u53D6\u4E2D\u2026",uploadImages:"\u4E0A\u4F20\u56FE\u7247",addLink:"\u6DFB\u52A0\u94FE\u63A5",saveGallery:"\u4FDD\u5B58\u753B\u5ECA",viewImage:"\u67E5\u770B\u56FE\u7247\uFF1A{name}","empty.title":"\u7ED9\u60F3\u6CD5\u66F4\u591A\u753B\u9762",addImages:"\u6DFB\u52A0\u56FE\u7247"},en:{gallery:"Image gallery","error.unsupportedType":"Supported images: PNG, JPEG, GIF, WebP, and AVIF.","error.tooLarge":"\u201C{name}\u201D is {size}. Each resource can be up to {limit}.","error.cannotRead":"Couldn't read \u201C{name}\u201D.","error.readFailed":"Couldn't read the image.","error.importFailed":"Couldn't import the images.","error.invalidSource":"Each image needs a valid URL or a local image.",imagePreview:"Image preview",closePreview:"Close image preview",previousImage:"Previous image",nextImage:"Next image",title:"Title",arrangement:"Layout",oneColumn:"One column",twoColumns:"Two columns",threeColumns:"Three columns",imageAddress:"Image {index} URL",embeddedImage:"Embedded local image",altText:"Image description",caption:"Caption",moveUp:"Move image {index} up",moveDown:"Move image {index} down",deleteImage:"Delete image {index}",chooseLocalImages:"Choose local images",reading:"Reading\u2026",uploadImages:"Upload images",addLink:"Add link",saveGallery:"Save gallery",viewImage:"View image: {name}","empty.title":"Give your ideas more pictures",addImages:"Add images"}});var Te=Z(de(),1),Gy=xo.resourceBytes,hd=St(bd),oC=new Set(["image/png","image/jpeg","image/gif","image/webp","image/avif"]);function rC(e){return oC.has(e.type)?e.size>Gy?Promise.reject(new Error(hd("error.tooLarge",{name:e.name,size:dl(e.size),limit:dl(Gy)}))):new Promise((t,a)=>{let n=new FileReader;n.onerror=()=>a(new Error(hd("error.cannotRead",{name:e.name}))),n.onload=()=>typeof n.result=="string"?t(n.result):a(new Error(hd("error.readFailed"))),n.readAsDataURL(e)}):Promise.reject(new Error(hd("error.unsupportedType")))}function iC({images:e,index:t,onIndex:a,close:n,portalHost:o}){let r=se(bd),i=(0,mn.useRef)(null);(0,mn.useEffect)(()=>{let s=document.activeElement,c=o.style.overflow;return o.style.overflow="hidden",i.current?.focus(),()=>{o.style.overflow=c,s?.focus({preventScroll:!0})}},[o]);let l=e[t];return l?(0,qy.createPortal)((0,Te.jsxs)("div",{className:"sb-lightbox",role:"dialog","aria-modal":"true","aria-label":l.alt||r("imagePreview"),onClick:s=>{s.target===s.currentTarget&&n()},onKeyDown:s=>{if(s.key==="Escape"&&(s.stopPropagation(),n()),s.key==="ArrowLeft"&&(s.preventDefault(),a((t-1+e.length)%e.length)),s.key==="ArrowRight"&&(s.preventDefault(),a((t+1)%e.length)),s.key==="Tab"){let c=Array.from(s.currentTarget.querySelectorAll("button")),d=c[0],u=c.at(-1);s.shiftKey&&document.activeElement===d&&(s.preventDefault(),u?.focus()),!s.shiftKey&&document.activeElement===u&&(s.preventDefault(),d?.focus())}},children:[(0,Te.jsx)("button",{ref:i,type:"button",className:"sb-lightbox-close","aria-label":r("closePreview"),onClick:n,children:(0,Te.jsx)(Ja,{size:24})}),e.length>1&&(0,Te.jsx)("button",{type:"button",className:"sb-lightbox-prev","aria-label":r("previousImage"),onClick:()=>a((t-1+e.length)%e.length),children:(0,Te.jsx)(xr,{size:28})}),(0,Te.jsxs)("figure",{children:[(0,Te.jsx)("img",{src:Hn(l.src),alt:l.alt,referrerPolicy:"no-referrer"}),(0,Te.jsxs)("figcaption",{children:[l.caption||l.alt,(0,Te.jsxs)("span",{children:[t+1," / ",e.length]})]})]}),e.length>1&&(0,Te.jsx)("button",{type:"button",className:"sb-lightbox-next","aria-label":r("nextImage"),onClick:()=>a((t+1)%e.length),children:(0,Te.jsx)(nn,{size:28})})]}),o):null}function Fy({data:e,onChange:t,readOnly:a}){let n=se(bd),o=(0,mn.useRef)(null),r=Array.isArray(e.images)?e.images.filter(C=>C&&typeof C=="object").map((C,I)=>({id:re(C.id,String(I)),src:re(C.src),alt:re(C.alt),caption:re(C.caption)})):[],[i,l]=(0,mn.useState)(!1),[s,c]=(0,mn.useState)(""),[d,u]=(0,mn.useState)([]),[p,b]=(0,mn.useState)(2),[y,f]=(0,mn.useState)(""),[w,h]=(0,mn.useState)(!1),[m,v]=(0,mn.useState)(null),T=(0,mn.useRef)(null),x=!!(t&&!a),E=r.filter(C=>Hn(C.src)),P=e.columns===1||e.columns===3?e.columns:2,U=()=>{c(re(e.title)),u(r.map(C=>({...C}))),b(P),f(""),l(!i)},S=(C,I)=>u(D=>D.map((N,_)=>_===C?{...N,...I}:N)),k=(C,I)=>u(D=>{let N=[...D];return[N[C],N[C+I]]=[N[C+I],N[C]],N}),A=async C=>{if(C?.length){h(!0),f("");try{let I=await Promise.all(Array.from(C).map(async D=>({id:ko(),src:await rC(D),alt:D.name.replace(/\.[^.]+$/,""),caption:""})));Cr([...d,...I],"Gallery structure"),u(D=>[...D,...I])}catch(I){f(I instanceof Error?I.message:n("error.importFailed"))}finally{h(!1),T.current&&(T.current.value="")}}},L=()=>{if(d.some(C=>!Hn(C.src.trim()))){f(n("error.invalidSource"));return}t?.({...e,title:s,columns:p,images:d.map(C=>({...C,src:C.src.trim()}))}),l(!1)};return(0,Te.jsxs)("section",{ref:o,className:"sb-block sb-gallery","aria-label":_a(e.title,n("gallery")),children:[(0,Te.jsx)(ma,{title:re(e.title),defaultTitle:"\u56FE\u7247\u753B\u5ECA",description:re(e.description),icon:(0,Te.jsx)(m1,{size:17}),editable:x&&!w,editing:i,onEdit:U}),i&&(0,Te.jsx)(ja,{children:(0,Te.jsxs)("div",{className:"sb-editor-panel",children:[(0,Te.jsxs)("div",{className:"sb-form-row",children:[(0,Te.jsx)(je,{label:n("title"),children:(0,Te.jsx)("input",{value:s,onChange:C=>c(C.target.value)})}),(0,Te.jsx)(je,{label:n("arrangement"),children:(0,Te.jsxs)("select",{value:p,onChange:C=>b(Number(C.target.value)),children:[(0,Te.jsx)("option",{value:1,children:n("oneColumn")}),(0,Te.jsx)("option",{value:2,children:n("twoColumns")}),(0,Te.jsx)("option",{value:3,children:n("threeColumns")})]})})]}),d.map((C,I)=>(0,Te.jsxs)("div",{className:"sb-gallery-editor",children:[(0,Te.jsx)("div",{className:"sb-gallery-editor-preview",children:Hn(C.src)?(0,Te.jsx)("img",{src:Hn(C.src),alt:"",referrerPolicy:"no-referrer"}):(0,Te.jsx)(m1,{size:20})}),(0,Te.jsxs)("div",{className:"sb-gallery-editor-fields",children:[(0,Te.jsx)(je,{label:n("imageAddress",{index:I+1}),children:(0,Te.jsx)("input",{value:C.src.startsWith("data:")?n("embeddedImage"):C.src,readOnly:C.src.startsWith("data:"),placeholder:"https://\u2026",onChange:D=>S(I,{src:D.target.value})})}),(0,Te.jsx)(je,{label:n("altText"),children:(0,Te.jsx)("input",{value:C.alt,onChange:D=>S(I,{alt:D.target.value})})}),(0,Te.jsx)(je,{label:n("caption"),children:(0,Te.jsx)("input",{value:C.caption,onChange:D=>S(I,{caption:D.target.value})})})]}),(0,Te.jsxs)("div",{className:"sb-gallery-editor-actions",children:[(0,Te.jsx)("button",{type:"button",className:"sb-icon-button","aria-label":n("moveUp",{index:I+1}),disabled:I===0||w,onClick:()=>k(I,-1),children:(0,Te.jsx)(vr,{size:14})}),(0,Te.jsx)("button",{type:"button",className:"sb-icon-button","aria-label":n("moveDown",{index:I+1}),disabled:I===d.length-1||w,onClick:()=>k(I,1),children:(0,Te.jsx)(al,{size:14})}),(0,Te.jsx)("button",{type:"button",className:"sb-icon-button sb-danger","aria-label":n("deleteImage",{index:I+1}),disabled:w,onClick:()=>u(D=>D.filter((N,_)=>_!==I)),children:(0,Te.jsx)(Qt,{size:14})})]})]},C.id)),(0,Te.jsx)("input",{className:"sb-hidden",ref:T,type:"file",accept:"image/png,image/jpeg,image/gif,image/webp,image/avif",multiple:!0,"aria-label":n("chooseLocalImages"),onChange:C=>{A(C.target.files)}}),y&&(0,Te.jsx)("p",{className:"sb-error",role:"alert",children:y}),(0,Te.jsxs)("div",{className:"sb-panel-footer",children:[(0,Te.jsxs)("div",{className:"sb-actions",children:[(0,Te.jsxs)("button",{type:"button",className:"sb-button",disabled:w,onClick:()=>T.current?.click(),children:[(0,Te.jsx)(h1,{size:14}),n(w?"reading":"uploadImages")]}),(0,Te.jsxs)("button",{type:"button",className:"sb-button",disabled:w,onClick:()=>u(C=>[...C,{id:ko(),src:"",alt:"",caption:""}]),children:[(0,Te.jsx)(Pt,{size:14}),n("addLink")]})]}),(0,Te.jsxs)("button",{type:"button",className:"sb-button sb-primary",disabled:w,onClick:L,children:[(0,Te.jsx)(Oa,{size:14}),n("saveGallery")]})]})]})}),E.length?(0,Te.jsx)("div",{className:`sb-gallery-grid sb-gallery-columns-${P}`,children:E.map((C,I)=>(0,Te.jsxs)("figure",{children:[(0,Te.jsxs)("button",{type:"button",onClick:()=>v(I),"aria-label":n("viewImage",{name:C.alt||C.caption||I+1}),children:[(0,Te.jsx)("img",{src:Hn(C.src),alt:C.alt,loading:"lazy",referrerPolicy:"no-referrer"}),(0,Te.jsx)("span",{className:"sb-gallery-expand",children:(0,Te.jsx)(U5,{size:16})})]}),C.caption&&(0,Te.jsx)("figcaption",{children:C.caption})]},`${C.id}-${I}`))}):(0,Te.jsx)(va,{icon:(0,Te.jsx)(m1,{size:29,strokeWidth:1.4}),title:n("empty.title"),action:x&&!i?(0,Te.jsxs)("button",{type:"button",className:"sb-button",onClick:U,children:[(0,Te.jsx)(Pt,{size:14}),n("addImages")]}):void 0}),m!==null&&E[m]&&(0,Te.jsx)(iC,{images:E,index:m,onIndex:v,close:()=>v(null),portalHost:o.current?.closest("[data-showai-inline-root]")??document.body})]})}var li=Z(Me(),1);var Wy=rt("metrics",{"zh-CN":{metrics:"\u5173\u952E\u6307\u6807",title:"\u6807\u9898",name:"\u540D\u79F0",value:"\u6570\u503C",unit:"\u5355\u4F4D",detail:"\u8BF4\u660E",trend:"\u53D8\u5316\u7387 %\uFF08\u53EF\u7559\u7A7A\uFF09",deleteMetric:"\u5220\u9664\u6307\u6807{label}",newMetric:"\u65B0\u6307\u6807",addMetric:"\u6DFB\u52A0\u6307\u6807",emptyTitle:"\u628A\u5173\u952E\u6570\u5B57\u653E\u5728\u773C\u524D"},en:{metrics:"Key metrics",title:"Title",name:"Name",value:"Value",unit:"Unit",detail:"Description",trend:"Change % (optional)",deleteMetric:"Delete metric {label}",newMetric:"New metric",addMetric:"Add metric",emptyTitle:"Keep the key numbers in view"}});var Ve=Z(de(),1),lC=/^(\D*?)(-?\d{1,3}(?:,\d{3})+|-?\d+)(\.\d+)?(\D*)$/;function sC({value:e}){let t=(0,li.useRef)(null);return(0,li.useLayoutEffect)(()=>{let a=t.current,n=lC.exec(e);if(!a||!n||typeof IntersectionObserver>"u"||matchMedia("(prefers-reduced-motion: reduce)").matches||a.closest(".component-capture-stage"))return;let[,o,r,i="",l]=n,s=Number(r.replaceAll(",","")+i),c=!i&&/^(19|20)\d\d$/.test(r);if(!s||c)return;let d=Math.max(0,i.length-1),u=w=>o+w.toLocaleString("en-US",{minimumFractionDigits:d,maximumFractionDigits:d,useGrouping:r.includes(",")})+l,p=0,b=()=>{y.disconnect(),a.setAttribute("aria-busy","true"),a.textContent=u(0);let w=performance.now(),h=m=>{let v=Math.min(1,(m-w)/1e3);a.textContent=v<1?u(s*(1-(1-v)**4)):e,v<1?p=requestAnimationFrame(h):a.removeAttribute("aria-busy")};p=requestAnimationFrame(h)},y=new IntersectionObserver(w=>{w.some(h=>h.isIntersecting)&&b()}),f=a.getBoundingClientRect();return document.visibilityState==="visible"&&f.bottom>0&&f.top<innerHeight?b():y.observe(a),()=>{y.disconnect(),cancelAnimationFrame(p),a.removeAttribute("aria-busy"),a.textContent=e}},[e]),(0,Ve.jsx)("span",{ref:t,className:"sb-metric-figure",children:e})}function Ky({data:e,onChange:t,readOnly:a}){let n=se(Wy),o=se(Ga),[r,i]=(0,li.useState)(!1),[l,s]=(0,li.useState)(""),[c,d]=(0,li.useState)([]),u=Array.isArray(e.items)?e.items:[],p=!!(t&&!a),b=()=>{s(re(e.title)),d(u.map(f=>({...f}))),i(!r)},y=(f,w)=>d(h=>h.map((m,v)=>v===f?{...m,...w}:m));return(0,Ve.jsxs)("section",{className:"sb-block sb-metrics","aria-label":_a(e.title,n("metrics")),children:[(0,Ve.jsx)(ma,{title:re(e.title),defaultTitle:n("metrics"),icon:(0,Ve.jsx)(Hd,{size:17}),editable:p,editing:r,onEdit:b}),r&&(0,Ve.jsx)(ja,{children:(0,Ve.jsxs)("div",{className:"sb-editor-panel",children:[(0,Ve.jsx)(je,{label:n("title"),children:(0,Ve.jsx)("input",{value:l,onChange:f=>s(f.target.value)})}),(0,Ve.jsx)("div",{className:"sb-metric-editors",children:c.map((f,w)=>(0,Ve.jsxs)("div",{className:"sb-metric-editor",children:[(0,Ve.jsxs)("div",{className:"sb-form-row",children:[(0,Ve.jsx)(je,{label:n("name"),children:(0,Ve.jsx)("input",{value:f.label,onChange:h=>y(w,{label:h.target.value})})}),(0,Ve.jsx)(je,{label:n("value"),children:(0,Ve.jsx)("input",{value:f.value,onChange:h=>y(w,{value:h.target.value})})}),(0,Ve.jsx)(je,{label:n("unit"),children:(0,Ve.jsx)("input",{value:f.unit??"",onChange:h=>y(w,{unit:h.target.value})})})]}),(0,Ve.jsxs)("div",{className:"sb-form-row",children:[(0,Ve.jsx)(je,{label:n("detail"),children:(0,Ve.jsx)("input",{value:f.detail??"",onChange:h=>y(w,{detail:h.target.value})})}),(0,Ve.jsx)(je,{label:n("trend"),children:(0,Ve.jsx)("input",{type:"number",value:f.trend??"",onChange:h=>y(w,{trend:h.target.value===""?void 0:Number(h.target.value)})})}),(0,Ve.jsx)("button",{type:"button",className:"sb-icon-button sb-danger","aria-label":n("deleteMetric",{label:f.label}),onClick:()=>d(h=>h.filter((m,v)=>v!==w)),children:(0,Ve.jsx)(Qt,{size:14})})]})]},w))}),(0,Ve.jsxs)("div",{className:"sb-panel-footer",children:[(0,Ve.jsxs)("button",{type:"button",className:"sb-button",onClick:()=>d(f=>[...f,{label:n("newMetric"),value:""}]),children:[(0,Ve.jsx)(Pt,{size:14}),n("addMetric")]}),(0,Ve.jsxs)("button",{type:"button",className:"sb-button sb-primary",onClick:()=>{t?.({...e,title:l,items:c.map(({trend:f,...w})=>({...w,...typeof f=="number"&&Number.isFinite(f)?{trend:f}:{}}))}),i(!1)},children:[(0,Ve.jsx)(Oa,{size:14}),o("save")]})]})]})}),u.length?(0,Ve.jsx)("div",{className:"sb-metric-grid",children:u.map((f,w)=>(0,Ve.jsxs)("div",{className:"sb-metric",children:[(0,Ve.jsx)("span",{className:"sb-metric-label",children:re(f.label)}),(0,Ve.jsxs)("div",{className:"sb-metric-value",children:[(0,Ve.jsx)(sC,{value:re(f.value,"\u2014")}),(0,Ve.jsx)("span",{children:re(f.unit)})]}),(0,Ve.jsxs)("div",{className:"sb-metric-foot",children:[typeof f.trend=="number"&&(0,Ve.jsxs)("span",{className:`sb-trend ${f.trend<0?"is-negative":""}`,children:[f.trend<0?(0,Ve.jsx)(A5,{size:13}):(0,Ve.jsx)(l1,{size:13}),Math.abs(bl(f.trend)),"%"]}),f.detail&&(0,Ve.jsx)("span",{children:re(f.detail)})]})]},w))}):(0,Ve.jsx)(va,{icon:(0,Ve.jsx)(Hd,{size:28,strokeWidth:1.4}),title:n("emptyTitle"),action:p&&!r?(0,Ve.jsxs)("button",{type:"button",className:"sb-button",onClick:b,children:[(0,Ve.jsx)(Pt,{size:14}),n("addMetric")]}):void 0})]})}var Ka=Z(Me(),1);mt(`.sb-block.sb-playground{--pg-c1: #4b6fae;--pg-c2: #c98a3a;--pg-c3: #3f8b78;--pg-c4: #8a62b0;--pg-c5: #c0584f;--pg-c6: #5d9a45;--pg-c7: #b56a8f;--pg-c8: #7a8590;--pg-good: #2f6b4f;--pg-bad: #b0473f;container-type:inline-size}:root[data-theme=dark] .sb-block.sb-playground,[data-theme=dark] .sb-block.sb-playground{--pg-c1: #86a6e0;--pg-c2: #e2ab65;--pg-c3: #6fc0aa;--pg-c4: #b597d6;--pg-c5: #e48b83;--pg-c6: #94c77d;--pg-c7: #d99abb;--pg-c8: #a7b0b9;--pg-good: #7cc3a0;--pg-bad: #e48b83}.sb-block.sb-playground .pg-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.sb-block.sb-playground .pg-hint{margin:4px 0 0;font-size:10px;line-height:1.5;color:var(--sb-muted)}.sb-block.sb-playground .pg-editor-note{margin:0;font-size:11px;color:var(--sb-muted)}.sb-block.sb-playground .pg-presets{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:-6px}.sb-block.sb-playground .pg-chip{border:1px solid var(--sb-line);border-radius:999px;padding:3px 11px;font-size:11px;font-weight:600;color:var(--sb-text);background:var(--sb-surface)}.sb-block.sb-playground .pg-chip[aria-pressed=true]{background:var(--sb-accent);border-color:var(--sb-accent);color:var(--sb-surface)}.sb-block.sb-playground .pg-stepper-row,.sb-block.sb-playground .pg-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px}.sb-block.sb-playground .pg-toggle-copy{min-width:0}.sb-block.sb-playground .pg-stepper{flex:none;display:inline-flex;align-items:center;border:1px solid var(--sb-line);border-radius:999px;background:var(--sb-surface);overflow:hidden}.sb-block.sb-playground .pg-stepper button{width:32px;height:30px;display:grid;place-items:center;color:var(--sb-text)}.sb-block.sb-playground .pg-stepper output{min-width:52px;text-align:center;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}.sb-block.sb-playground .pg-stepper small{margin-left:3px;font-size:10px;font-weight:400;color:var(--sb-muted)}.sb-block.sb-playground .pg-switch{flex:none;position:relative;width:36px;height:20px;border-radius:999px;background:var(--sb-line)}.sb-block.sb-playground .pg-switch span{position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:var(--sb-surface);box-shadow:0 1px 2px #0003;transition:transform .15s}.sb-block.sb-playground .pg-switch[aria-checked=true],.sb-block.sb-playground .sb-block .pg-switch[aria-checked=true]:not(:disabled):hover{background:var(--sb-accent)}.sb-block.sb-playground .pg-switch[aria-checked=true] span{transform:translate(16px)}.sb-block.sb-playground .pg-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:7px}.sb-block.sb-playground .pg-choice{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:8px 10px;border:1.5px solid var(--sb-line);border-radius:8px;background:var(--sb-surface);text-align:left;min-width:0}.sb-block.sb-playground .pg-choice[aria-checked=true]{border-color:var(--sb-accent);background:var(--sb-accent-soft)}.sb-block.sb-playground .pg-choice b{font-size:12px;font-weight:600}.sb-block.sb-playground .pg-choice span{font-size:10px;line-height:1.45;color:var(--sb-muted)}.sb-block.sb-playground .sb-calculation-result.pg-results{justify-content:flex-start;gap:12px}.sb-block.sb-playground .pg-headline,.sb-block.sb-playground .pg-figure{display:flex;flex-direction:column;min-width:0;width:100%}.sb-block.sb-playground .pg-headline>strong{font-size:30px;font-weight:500;color:var(--sb-accent);letter-spacing:-1px;line-height:1.4;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.sb-block.sb-playground .pg-headline small,.sb-block.sb-playground .pg-figure small{font-size:10px;color:var(--sb-muted);letter-spacing:0;font-weight:400;margin-left:4px}.sb-block.sb-playground .pg-figure{flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:2px 10px;padding-top:8px;border-top:1px solid var(--sb-line)}.sb-block.sb-playground .pg-figure>b{font-size:15px;font-weight:600;color:var(--sb-text);font-variant-numeric:tabular-nums}.sb-block.sb-playground .pg-figure>.pg-hint,.sb-block.sb-playground .pg-figure>.pg-target{flex-basis:100%}.sb-block.sb-playground .pg-target{width:100%;margin-top:8px}.sb-block.sb-playground .pg-target-track{position:relative;height:8px;border-radius:4px;background:var(--sb-line)}.sb-block.sb-playground .pg-target-fill{position:absolute;inset:0 auto 0 0;border-radius:4px;transition:width .25s ease,background .25s}.sb-block.sb-playground .is-hit .pg-target-fill{background:var(--pg-good)}.sb-block.sb-playground .is-miss .pg-target-fill{background:var(--pg-bad)}.sb-block.sb-playground .pg-target-mark{position:absolute;top:-4px;bottom:-4px;width:2px;margin-left:-1px;background:var(--sb-text)}.sb-block.sb-playground .pg-target-copy{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 10px;margin-top:6px;font-size:10px}.sb-block.sb-playground .pg-target-copy b{font-size:11px}.sb-block.sb-playground .is-hit .pg-target-copy b{color:var(--pg-good)}.sb-block.sb-playground .is-miss .pg-target-copy b{color:var(--pg-bad)}.sb-block.sb-playground .pg-note{margin:0;font-size:10px;line-height:1.5;color:var(--sb-muted)}.sb-block.sb-playground .pg-note-wide{padding:0 22px 20px}.sb-block.sb-playground .pg-section-title{font-size:10px;font-weight:600;letter-spacing:.3px;color:var(--sb-muted)}.sb-block.sb-playground .pg-breakdown{width:100%;display:flex;flex-direction:column;gap:6px;padding-top:8px;border-top:1px solid var(--sb-line)}.sb-block.sb-playground .pg-bar{display:flex;height:10px;border-radius:5px;overflow:hidden;background:var(--sb-line)}.sb-block.sb-playground .pg-bar span{height:100%;transition:width .3s ease}.sb-block.sb-playground .pg-bar .is-negative,.sb-block.sb-playground .pg-table i.is-negative{background-image:repeating-linear-gradient(135deg,transparent 0 3px,color-mix(in srgb,var(--sb-surface) 70%,transparent) 3px 5px)!important}.sb-block.sb-playground .pg-table{width:100%;border-collapse:collapse;font-size:11px;color:var(--sb-text);font-variant-numeric:tabular-nums}.sb-block.sb-playground .pg-table thead th{font-size:9px;font-weight:500;color:var(--sb-muted);text-align:right;padding:0 0 3px 8px}.sb-block.sb-playground .pg-table thead th:first-child{text-align:left;padding-left:0}.sb-block.sb-playground .pg-table tbody th{font-weight:400;text-align:left;padding:3px 0;display:flex;align-items:center;gap:6px;min-width:0}.sb-block.sb-playground .pg-table td{text-align:right;padding:3px 0 3px 8px;white-space:nowrap}.sb-block.sb-playground .pg-table td:nth-child(2){font-weight:600}.sb-block.sb-playground .pg-table td:last-child{color:var(--sb-muted)}.sb-block.sb-playground .pg-table i{flex:none;width:9px;height:9px;border-radius:2px}.sb-block.sb-playground .pg-ranking-body{grid-template-columns:minmax(0,.85fr) minmax(0,1.4fr)}.sb-block.sb-playground .pg-ranking-wide{padding:0 22px 24px}.sb-block.sb-playground .pg-ranking{min-width:0;display:flex;flex-direction:column;gap:10px}.sb-block.sb-playground .pg-ranking-head{display:flex;flex-direction:column;gap:6px}.sb-block.sb-playground .pg-legend{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 12px;font-size:10px}.sb-block.sb-playground .pg-legend li{display:inline-flex;align-items:center;gap:5px}.sb-block.sb-playground .pg-legend li.is-off{opacity:.45}.sb-block.sb-playground .pg-legend i{width:9px;height:9px;border-radius:2px}.sb-block.sb-playground .pg-legend b{font-weight:600;font-variant-numeric:tabular-nums}.sb-block.sb-playground .pg-rank-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.sb-block.sb-playground .pg-rank-list li{display:grid;grid-template-columns:22px minmax(90px,.9fr) minmax(0,1.4fr) 40px;align-items:center;gap:10px;padding:7px 0;border-bottom:1px solid var(--sb-line);background:var(--sb-surface)}.sb-block.sb-playground .pg-rank-number{font-size:11px;color:var(--sb-muted);text-align:center;font-variant-numeric:tabular-nums}.sb-block.sb-playground .is-first .pg-rank-number{color:var(--sb-surface);background:var(--sb-accent);border-radius:50%;width:20px;height:20px;line-height:20px}.sb-block.sb-playground .pg-rank-copy{display:flex;flex-direction:column;min-width:0}.sb-block.sb-playground .pg-rank-copy b{font-size:12px;font-weight:600}.sb-block.sb-playground .pg-rank-copy span{font-size:10px;color:var(--sb-muted);line-height:1.4}.sb-block.sb-playground .pg-rank-bar{display:flex;height:10px;border-radius:5px;overflow:hidden;background:var(--sb-soft)}.sb-block.sb-playground .pg-rank-bar span{height:100%;transition:width .3s ease}.sb-block.sb-playground .pg-rank-score{text-align:right;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}.sb-block.sb-playground .is-first .pg-rank-score{color:var(--sb-accent)}@container (max-width: 560px){.sb-block.sb-playground .sb-playground-body{grid-template-columns:1fr;gap:20px;padding:13px 15px 18px}.sb-block.sb-playground .pg-ranking-body{grid-template-columns:1fr}.sb-block.sb-playground .pg-ranking-wide,.sb-block.sb-playground .pg-note-wide{padding-left:15px;padding-right:15px}.sb-block.sb-playground .pg-choices{grid-template-columns:1fr}.sb-block.sb-playground .pg-rank-list li{grid-template-columns:22px minmax(0,1fr) 36px}.sb-block.sb-playground .pg-rank-bar{grid-column:2 / 4;grid-row:2}}@media print{.sb-block.sb-playground .pg-presets{display:none}.sb-block.sb-playground .pg-bar,.sb-block.sb-playground .pg-rank-bar,.sb-block.sb-playground .pg-target-track,.sb-block.sb-playground .pg-legend i,.sb-block.sb-playground .pg-table i{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
|
|
42
|
+
`);var Yy=rt("playground",{"zh-CN":{"operation.sum":"\u6C42\u548C","operation.product":"\u4E58\u79EF","operation.average":"\u5E73\u5747\u503C",outOfRange:"\u8D85\u51FA\u6570\u503C\u8303\u56F4",defaultTitle:"\u4EA4\u4E92\u8BA1\u7B97",defaultResult:"\u8BA1\u7B97\u7ED3\u679C",invalidInputs:"\u6BCF\u4E2A\u53C2\u6570\u9700\u8981\u540D\u79F0\uFF0C\u6700\u5927\u503C\u987B\u5927\u4E8E\u6700\u5C0F\u503C\uFF0C\u6B65\u957F\u987B\u5927\u4E8E 0\u3002",reset:"\u91CD\u7F6E\u53C2\u6570",title:"\u6807\u9898",operation:"\u8BA1\u7B97\u65B9\u5F0F",resultLabel:"\u7ED3\u679C\u540D\u79F0",resultUnit:"\u7ED3\u679C\u5355\u4F4D",parameterName:"\u53C2\u6570\u540D\u79F0",unit:"\u5355\u4F4D",deleteParameter:"\u5220\u9664\u53C2\u6570{label}",min:"\u6700\u5C0F\u503C",max:"\u6700\u5927\u503C",step:"\u6B65\u957F",initial:"\u521D\u59CB\u503C",newParameter:"\u65B0\u53C2\u6570",addParameter:"\u6DFB\u52A0\u53C2\u6570",parameterValue:"{label}\u6570\u503C",emptyTitle:"\u8BD5\u7740\u6539\u53D8\u4E00\u4E2A\u53D8\u91CF",setUp:"\u8BBE\u7F6E\u53C2\u6570",averageSuffix:"\uFF0C\xF7 {count}",waiting:"\u7B49\u5F85\u8BBE\u7F6E\u53C2\u6570",presets:"\u9884\u8BBE\u65B9\u6848",decrease:"\u51CF\u5C11{label}",increase:"\u589E\u52A0{label}",target:"\u76EE\u6807",above:"\u9AD8\u4E8E\u76EE\u6807",below:"\u4F4E\u4E8E\u76EE\u6807",onTarget:"\u6070\u597D\u8FBE\u5230\u76EE\u6807",breakdown:"\u6784\u6210",share:"\u5360\u6BD4",value:"\u6570\u503C",item:"\u9879\u76EE",ranking:"\u52A0\u6743\u6392\u540D",weights:"\u6743\u91CD",score:"\u5F97\u5206",contribution:"{label}\u8D21\u732E {value} \u5206",advancedNote:"\u516C\u5F0F\u3001\u7ED3\u679C\u3001\u6784\u6210\u3001\u9884\u8BBE\u4E0E\u6392\u540D\u5728\u9875\u9762\u6570\u636E\u4E2D\u5B9A\u4E49\uFF1B\u8FD9\u91CC\u53EA\u4FEE\u6539\u6807\u9898\u4E0E\u53C2\u6570\uFF0C\u4FDD\u5B58\u65F6\u4FDD\u7559\u5176\u4F59\u8BBE\u7F6E\u3002",invalidData:"\u6570\u636E\u672A\u901A\u8FC7\u68C0\u67E5\uFF1A{message}"},en:{"operation.sum":"Sum","operation.product":"Product","operation.average":"Average",outOfRange:"Out of range",defaultTitle:"Interactive calculator",defaultResult:"Result",invalidInputs:"Each parameter needs a name, a maximum greater than its minimum, and a step greater than 0.",reset:"Reset parameters",title:"Title",operation:"Calculation",resultLabel:"Result name",resultUnit:"Result unit",parameterName:"Parameter name",unit:"Unit",deleteParameter:"Delete parameter {label}",min:"Minimum",max:"Maximum",step:"Step",initial:"Initial value",newParameter:"New parameter",addParameter:"Add parameter",parameterValue:"{label} value",emptyTitle:"Try changing a variable",setUp:"Set up parameters",averageSuffix:", \xF7 {count}",waiting:"Waiting for parameters",presets:"Presets",decrease:"Decrease {label}",increase:"Increase {label}",target:"Target",above:"above target",below:"below target",onTarget:"Exactly on target",breakdown:"Breakdown",share:"Share",value:"Value",item:"Item",ranking:"Weighted ranking",weights:"Weights",score:"Score",contribution:"{label} contributes {value} points",advancedNote:"Formulas, results, breakdown, presets and ranking live in the page data. Here you edit the title and parameters; other settings are kept on save.",invalidData:"Data check failed: {message}"}});var K=Z(de(),1),cC=[{value:"sum",label:"operation.sum"},{value:"product",label:"operation.product"},{value:"average",label:"operation.average"}],dC=[{key:"min",label:"min"},{key:"max",label:"max"},{key:"step",label:"step"},{key:"value",label:"initial"}],$4=e=>["slider","stepper"].includes(R1(e)),yd=(e,t)=>e??`var(--pg-c${t%8+1})`,Jy=e=>Number(e.toFixed(10));function uC(e,t){if(!e.length)return 0;if(t==="product")return e.reduce((n,o)=>n*o,1);let a=e.reduce((n,o)=>n+o,0);return t==="average"?a/e.length:a}function Qy({data:e,onChange:t,readOnly:a}){let n=(0,Ka.useId)(),o=se(Yy),r=se(Ga),i=Array.isArray(e.inputs)?e.inputs:[],[l,s]=(0,Ka.useState)({}),[c,d]=(0,Ka.useState)(!1),[u,p]=(0,Ka.useState)({title:"",resultLabel:"",unit:"",operation:"sum"}),[b,y]=(0,Ka.useState)([]),[f,w]=(0,Ka.useState)(""),h=!!(t&&!a),m=a6(e),v=fl(),T=(0,Ka.useMemo)(()=>{try{return{formulas:n6(e),problem:""}}catch(z){return{formulas:[],problem:z.message}}},[e]),x=T.problem?{}:o6(e,l,T.formulas),E=z=>lu(z,l[z.id]??t6(z)),P=(z,H)=>s(M=>({...M,[z.id]:lu(z,H)})),U=uC(i.map(E),re(e.operation,"sum")),S=Number.isFinite(U)?new Intl.NumberFormat(v,{maximumFractionDigits:4}).format(U):o("outOfRange"),k=Array.isArray(e.formulas)?e.formulas:[],A=Array.isArray(e.outputs)?e.outputs:!m&&k.length?[{formula:k[k.length-1].id}]:[],L=e.breakdown,C=Array.isArray(e.presets)?e.presets:[],I=e.ranking,D=m||A.length>0||!!L,N=()=>{p({title:re(e.title,o("defaultTitle")),resultLabel:re(e.resultLabel,o("defaultResult")),unit:re(e.unit),operation:re(e.operation,"sum")}),y(i.map(z=>({...z}))),w(""),d(!c)},_=()=>{if(b.some(M=>!M.label.trim()||$4(M)&&(![M.min,M.max,M.value].every(Number.isFinite)||M.min>=M.max||(M.step!==void 0||R1(M)==="slider"?!Number.isFinite(M.step)||M.step<=0:!1)))){w(o("invalidInputs"));return}let z=b.map(M=>$4(M)?{...M,value:Math.min(M.max,Math.max(M.min,M.value))}:M),H=m?{...e,...u,inputs:z}:{...e,title:u.title,inputs:z};try{L1(H)}catch(M){w(o("invalidData",{message:M.message}));return}t?.(H),s({}),d(!1)},j=(z,H)=>y(M=>M.map((oe,fe)=>fe===z?{...oe,...H}:oe)),F=new Map(k.map(z=>[z.id,z])),q=new Map(i.map(z=>[z.id,z])),J=z=>F.get(z)?.label??q.get(z)?.label??z,V=(z,H)=>H??F.get(z)?.format,pe=(z,H)=>H??F.get(z)?.unit??q.get(z)?.unit??"",G=(z,H)=>Number.isFinite(z)?l6(z,H,v):o("outOfRange"),O=z=>Object.entries(z.values).every(([H,M])=>{let oe=q.get(H);return oe!==void 0&&E(oe)===M});return(0,K.jsxs)("section",{className:"sb-block sb-playground","aria-label":re(e.title)||o("defaultTitle"),children:[(0,K.jsx)(ma,{title:re(e.title),defaultTitle:o("defaultTitle"),description:re(e.description),icon:(0,K.jsx)(Bd,{size:17}),editable:h,editing:c,onEdit:N,children:(0,K.jsx)("button",{type:"button",className:"sb-icon-button","aria-label":o("reset"),title:o("reset"),onClick:()=>s({}),children:(0,K.jsx)(rm,{size:15})})}),c&&(0,K.jsx)(ja,{children:(0,K.jsxs)("div",{className:"sb-editor-panel",children:[(0,K.jsxs)("div",{className:"sb-form-row",children:[(0,K.jsx)(je,{label:o("title"),children:(0,K.jsx)("input",{value:u.title,onChange:z=>p(H=>({...H,title:z.target.value}))})}),m&&(0,K.jsx)(je,{label:o("operation"),children:(0,K.jsx)("select",{value:u.operation,onChange:z=>p(H=>({...H,operation:z.target.value})),children:cC.map(z=>(0,K.jsx)("option",{value:z.value,children:o(z.label)},z.value))})})]}),m?(0,K.jsxs)("div",{className:"sb-form-row",children:[(0,K.jsx)(je,{label:o("resultLabel"),children:(0,K.jsx)("input",{value:u.resultLabel,onChange:z=>p(H=>({...H,resultLabel:z.target.value}))})}),(0,K.jsx)(je,{label:o("resultUnit"),children:(0,K.jsx)("input",{value:u.unit,onChange:z=>p(H=>({...H,unit:z.target.value}))})})]}):(0,K.jsx)("p",{className:"pg-editor-note",children:o("advancedNote")}),b.map((z,H)=>(0,K.jsxs)("div",{className:"sb-parameter-editor",children:[(0,K.jsxs)("div",{className:"sb-form-row",children:[(0,K.jsx)(je,{label:o("parameterName"),children:(0,K.jsx)("input",{value:z.label,onChange:M=>j(H,{label:M.target.value})})}),(0,K.jsx)(je,{label:o("unit"),children:(0,K.jsx)("input",{value:z.unit??"",onChange:M=>j(H,{unit:M.target.value})})}),(0,K.jsx)("button",{type:"button",className:"sb-icon-button sb-danger","aria-label":o("deleteParameter",{label:z.label}),onClick:()=>y(M=>M.filter((oe,fe)=>fe!==H)),children:(0,K.jsx)(Qt,{size:14})})]}),$4(z)&&(0,K.jsx)("div",{className:"sb-form-row",children:dC.map(({key:M,label:oe})=>(0,K.jsx)(je,{label:o(oe),children:(0,K.jsx)("input",{type:"number",value:z[M]??"",onChange:fe=>j(H,{[M]:fe.target.value===""?0:Number(fe.target.value)})})},M))})]},z.id)),f&&(0,K.jsx)("p",{className:"sb-error",role:"alert",children:f}),(0,K.jsxs)("div",{className:"sb-panel-footer",children:[(0,K.jsxs)("button",{type:"button",className:"sb-button",onClick:()=>y(z=>[...z,{id:ko(),label:o("newParameter"),min:0,max:100,step:1,value:0}]),children:[(0,K.jsx)(Pt,{size:14}),o("addParameter")]}),(0,K.jsxs)("button",{type:"button",className:"sb-button sb-primary",onClick:_,children:[(0,K.jsx)(Oa,{size:14}),r("save")]})]})]})}),T.problem&&(0,K.jsx)("p",{className:"sb-error",role:"alert",children:o("invalidData",{message:T.problem})}),(0,K.jsxs)("div",{className:`sb-playground-body${!D&&I?" pg-ranking-body":""}`,children:[(0,K.jsxs)("div",{className:"sb-parameters",children:[C.length>0&&(0,K.jsx)("div",{className:"pg-presets",role:"group","aria-label":o("presets"),children:C.map((z,H)=>(0,K.jsx)("button",{type:"button",className:"pg-chip","aria-pressed":O(z),onClick:()=>s(M=>({...M,...z.values})),children:z.label},H))}),i.length?i.map(z=>{let H=R1(z),M=E(z),oe=`${n}-param-${z.id}`;return H==="stepper"?(0,K.jsx)(pC,{id:oe,input:z,value:M,locale:v,t:o,onChange:fe=>P(z,fe)},z.id):H==="toggle"?(0,K.jsxs)("div",{className:"sb-parameter pg-toggle-row",children:[(0,K.jsxs)("div",{className:"pg-toggle-copy",children:[(0,K.jsx)("label",{htmlFor:oe,children:z.label}),z.hint&&(0,K.jsx)("p",{className:"pg-hint",children:z.hint})]}),(0,K.jsx)("button",{id:oe,type:"button",role:"switch","aria-checked":M===1,className:"pg-switch",onClick:()=>P(z,M?0:1),children:(0,K.jsx)("span",{"aria-hidden":"true"})})]},z.id):H==="choice"?(0,K.jsx)(mC,{id:oe,input:z,value:M,onChange:fe=>P(z,fe)},z.id):(0,K.jsxs)("div",{className:"sb-parameter",children:[(0,K.jsxs)("div",{className:"sb-parameter-label",children:[(0,K.jsx)("label",{htmlFor:oe,children:z.label}),(0,K.jsxs)("div",{children:[(0,K.jsx)("input",{"aria-label":o("parameterValue",{label:z.label}),type:"number",min:z.min,max:z.max,step:z.step,value:M,onChange:fe=>{fe.target.value!==""&&P(z,Number(fe.target.value))}}),(0,K.jsx)("span",{children:z.unit})]})]}),(0,K.jsx)("input",{id:oe,"aria-label":z.label,type:"range",min:z.min,max:z.max,step:z.step,value:M,onChange:fe=>s(ue=>({...ue,[z.id]:Number(fe.target.value)})),style:{"--range-progress":`${(M-z.min)/(z.max-z.min)*100}%`}}),(0,K.jsxs)("div",{className:"sb-range-labels",children:[(0,K.jsxs)("span",{children:[z.min,z.unit]}),(0,K.jsxs)("span",{children:[z.max,z.unit]})]}),z.hint&&(0,K.jsx)("p",{className:"pg-hint",children:z.hint})]},z.id)}):(0,K.jsxs)("div",{className:"sb-empty",children:[(0,K.jsx)(Bd,{size:26}),(0,K.jsx)("strong",{children:o("emptyTitle")}),h&&!c&&(0,K.jsx)("button",{type:"button",className:"sb-button",onClick:N,children:o("setUp")})]})]}),m?(0,K.jsxs)("div",{className:"sb-calculation-result",children:[(0,K.jsx)("span",{children:re(e.resultLabel,o("defaultResult"))}),(0,K.jsxs)("strong",{"aria-live":"polite",children:[S,(0,K.jsx)("small",{children:re(e.unit)})]}),(0,K.jsx)("span",{className:"sb-formula",children:i.length?i.map(z=>z.label).join(e.operation==="product"?" \xD7 ":" + ")+(e.operation==="average"?o("averageSuffix",{count:i.length}):""):o("waiting")})]}):D?(0,K.jsxs)("div",{className:"sb-calculation-result pg-results",children:[A.map((z,H)=>{let M=x[z.formula]??Number.NaN,oe=V(z.formula,z.format),fe=(0,K.jsxs)(K.Fragment,{children:[G(M,oe),pe(z.formula,z.unit)&&(0,K.jsx)("small",{children:pe(z.formula,z.unit)})]});return(0,K.jsxs)("div",{className:H?"pg-figure":"pg-headline",children:[(0,K.jsx)("span",{children:z.label??J(z.formula)}),H?(0,K.jsx)("b",{children:fe}):(0,K.jsx)("strong",{"aria-live":"polite",children:fe}),z.hint&&(0,K.jsx)("p",{className:"pg-hint",children:z.hint}),z.target&&(0,K.jsx)(fC,{value:M,target:typeof z.target.value=="string"?x[z.target.value]??Number.NaN:z.target.value,label:z.target.label??o("target"),above:z.target.above??o("above"),below:z.target.below??o("below"),show:ue=>G(ue,oe),t:o})]},`${z.formula}-${H}`)}),L&&(0,K.jsx)(gC,{breakdown:L,parts:r6(e,x).map(z=>({...z,label:z.label??J(z.formula),text:G(z.value,L.format??V(z.formula))})),locale:v,t:o}),re(e.note)&&(0,K.jsx)("p",{className:"pg-note",children:re(e.note)})]}):null,I&&!D&&(0,K.jsx)(Xy,{ranking:I,scope:x,locale:v,t:o})]}),I&&D&&(0,K.jsx)("div",{className:"pg-ranking-wide",children:(0,K.jsx)(Xy,{ranking:I,scope:x,locale:v,t:o})}),I&&!D&&re(e.note)&&(0,K.jsx)("p",{className:"pg-note pg-note-wide",children:re(e.note)})]})}function pC({id:e,input:t,value:a,locale:n,t:o,onChange:r}){let i=bl(t.step,1)||1;return(0,K.jsxs)("div",{className:"sb-parameter pg-stepper-row",children:[(0,K.jsxs)("div",{className:"pg-toggle-copy",children:[(0,K.jsx)("span",{id:`${e}-label`,children:t.label}),t.hint&&(0,K.jsx)("p",{className:"pg-hint",children:t.hint})]}),(0,K.jsxs)("div",{className:"pg-stepper",role:"group","aria-labelledby":`${e}-label`,children:[(0,K.jsx)("button",{type:"button","aria-label":o("decrease",{label:t.label}),disabled:a<=t.min,onClick:()=>r(Jy(a-i)),children:(0,K.jsx)(rl,{size:14})}),(0,K.jsxs)("output",{"aria-live":"polite",children:[new Intl.NumberFormat(n,{maximumFractionDigits:4}).format(a),t.unit&&(0,K.jsx)("small",{children:t.unit})]}),(0,K.jsx)("button",{type:"button","aria-label":o("increase",{label:t.label}),disabled:a>=t.max,onClick:()=>r(Jy(a+i)),children:(0,K.jsx)(Pt,{size:14})})]})]})}function mC({id:e,input:t,value:a,onChange:n}){let o=t.options??[],r=(0,Ka.useRef)(null),i=l=>{let s={ArrowRight:1,ArrowDown:1,ArrowLeft:-1,ArrowUp:-1}[l.key];if(!s)return;l.preventDefault();let d=(o.findIndex(u=>u.value===a)+s+o.length)%o.length;n(o[d].value),r.current?.querySelectorAll("[role=radio]")[d]?.focus()};return(0,K.jsxs)("div",{className:"sb-parameter",children:[(0,K.jsx)("div",{className:"sb-parameter-label",children:(0,K.jsx)("span",{id:`${e}-label`,children:t.label})}),(0,K.jsx)("div",{ref:r,className:"pg-choices",role:"radiogroup","aria-labelledby":`${e}-label`,onKeyDown:i,children:o.map(l=>(0,K.jsxs)("button",{type:"button",role:"radio","aria-checked":l.value===a,tabIndex:l.value===a?0:-1,className:"pg-choice",onClick:()=>n(l.value),children:[(0,K.jsx)("b",{children:l.label}),l.note&&(0,K.jsx)("span",{children:l.note})]},l.value))}),t.hint&&(0,K.jsx)("p",{className:"pg-hint",children:t.hint})]})}function fC({value:e,target:t,label:a,above:n,below:o,show:r,t:i}){if(!Number.isFinite(e)||!Number.isFinite(t))return null;let l=Math.min(0,e,t),s=Math.max(0,e,t),c=s+(s-l||1)*.08,d=b=>`${(b-l)/(c-l)*100}%`,u=e-t,p=u>=0;return(0,K.jsxs)("div",{className:`pg-target ${p?"is-hit":"is-miss"}`,children:[(0,K.jsxs)("div",{className:"pg-target-track","aria-hidden":"true",children:[(0,K.jsx)("span",{className:"pg-target-fill",style:{width:d(e)}}),(0,K.jsx)("span",{className:"pg-target-mark",style:{left:d(t)}})]}),(0,K.jsxs)("div",{className:"pg-target-copy",children:[(0,K.jsxs)("span",{children:[a," ",r(t)]}),(0,K.jsx)("b",{children:u===0?i("onTarget"):`${p?"\u25B2":"\u25BC"} ${r(Math.abs(u))} ${p?n:o}`})]})]})}function gC({breakdown:e,parts:t,locale:a,t:n}){let o=new Intl.NumberFormat(a,{style:"percent",maximumFractionDigits:0}),r=e.title??n("breakdown");return(0,K.jsxs)("div",{className:"pg-breakdown",role:"group","aria-label":r,children:[(0,K.jsx)("span",{className:"pg-section-title",children:r}),(0,K.jsx)("div",{className:"pg-bar","aria-hidden":"true",children:t.map((i,l)=>(0,K.jsx)("span",{className:i.value<0?"is-negative":void 0,style:{width:`${i.share*100}%`,background:yd(i.color,l)}},i.formula))}),(0,K.jsxs)("table",{className:"pg-table",children:[(0,K.jsx)("thead",{children:(0,K.jsxs)("tr",{children:[(0,K.jsx)("th",{scope:"col",children:n("item")}),(0,K.jsx)("th",{scope:"col",children:n("value")}),(0,K.jsx)("th",{scope:"col",children:n("share")})]})}),(0,K.jsx)("tbody",{children:t.map((i,l)=>(0,K.jsxs)("tr",{children:[(0,K.jsxs)("th",{scope:"row",children:[(0,K.jsx)("i",{className:i.value<0?"is-negative":void 0,style:{background:yd(i.color,l)}}),i.label]}),(0,K.jsx)("td",{children:i.text}),(0,K.jsx)("td",{children:o.format(i.share)})]},i.formula))})]})]})}function Xy({ranking:e,scope:t,locale:a,t:n}){let o=i6(e,t),r=(0,Ka.useRef)(null),i=(0,Ka.useRef)(new Map),l=o.map(b=>b.item.id).join("\0");(0,Ka.useLayoutEffect)(()=>{let b=[...r.current?.querySelectorAll("[data-rank-id]")??[]],y=typeof window>"u"||window.matchMedia?.("(prefers-reduced-motion: reduce)").matches;for(let f of b){let w=f.dataset.rankId,h=f.offsetTop,m=i.current.get(w);i.current.set(w,h),!(y||m===void 0||m===h)&&f.animate?.([{transform:`translateY(${m-h}px)`},{transform:"translateY(0)"}],{duration:280,easing:"cubic-bezier(.2,.7,.2,1)"})}},[l]);let s=e.criteria.map(b=>{let y=typeof b.weight=="string"?t[b.weight]:b.weight??1;return Number.isFinite(y)?Math.max(0,y):0}),c=s.reduce((b,y)=>b+y,0),d=new Intl.NumberFormat(a,{minimumFractionDigits:e.decimals??0,maximumFractionDigits:e.decimals??0}),u=new Intl.NumberFormat(a,{style:"percent",maximumFractionDigits:0}),p=e.title??n("ranking");return(0,K.jsxs)("div",{className:"pg-ranking",role:"group","aria-label":p,children:[(0,K.jsxs)("div",{className:"pg-ranking-head",children:[(0,K.jsx)("span",{className:"pg-section-title",children:p}),(0,K.jsx)("ul",{className:"pg-legend","aria-label":n("weights"),children:e.criteria.map((b,y)=>(0,K.jsxs)("li",{className:s[y]?void 0:"is-off",title:b.hint,children:[(0,K.jsx)("i",{style:{background:yd(b.color,y)}}),b.label,(0,K.jsx)("b",{children:u.format(c?s[y]/c:0)})]},b.id))})]}),(0,K.jsx)("ol",{className:"pg-rank-list",ref:r,children:o.map((b,y)=>(0,K.jsxs)("li",{"data-rank-id":b.item.id,className:y===0&&c?"is-first":void 0,children:[(0,K.jsx)("span",{className:"pg-rank-number","aria-hidden":"true",children:y+1}),(0,K.jsxs)("div",{className:"pg-rank-copy",children:[(0,K.jsx)("b",{children:b.item.label}),b.item.note&&(0,K.jsx)("span",{children:b.item.note})]}),(0,K.jsx)("div",{className:"pg-rank-bar",children:b.parts.map((f,w)=>f.value>0?(0,K.jsx)("span",{title:n("contribution",{label:e.criteria[w].label,value:f.value.toFixed(1)}),style:{width:`${f.value}%`,background:yd(e.criteria[w].color,w)}},f.id):null)}),(0,K.jsxs)("strong",{className:"pg-rank-score",children:[(0,K.jsxs)("span",{className:"pg-visually-hidden",children:[n("score")," "]}),d.format(b.score)]})]},b.item.id))})]})}var bC=(0,aa.lazy)(()=>import("./chunks/Flowchart-PRS65CS3.js").then(e=>({default:e.FlowchartBlock}))),hC=(0,aa.lazy)(()=>import("./chunks/Mindmap-3XJLR4JB.js").then(e=>({default:e.MindmapBlock}))),yC=(0,aa.lazy)(()=>import("./chunks/ComparisonMatrix-P3TVMSP7.js").then(e=>({default:e.ComparisonMatrixBlock}))),vC=(0,aa.lazy)(()=>import("./chunks/StatusTree-B6NZDDIZ.js").then(e=>({default:e.StatusTreeBlock}))),xC=(0,aa.lazy)(()=>import("./chunks/ExperimentTracker-QLIXOBDQ.js").then(e=>({default:e.ExperimentTrackerBlock}))),wC=(0,aa.lazy)(()=>import("./chunks/Scene3D-MUQ74HZI.js").then(e=>({default:e.Scene3DBlock}))),kC=(0,aa.lazy)(()=>import("./chunks/SequenceDiagram-OOQN7BWQ.js").then(e=>({default:e.SequenceDiagramBlock}))),SC=(0,aa.lazy)(()=>import("./chunks/LayerDiagram-3CLVCITA.js").then(e=>({default:e.LayerDiagramBlock}))),CC=(0,aa.lazy)(()=>import("./chunks/StepGuide-MWZV4NYU.js").then(e=>({default:e.StepGuideBlock}))),TC=(0,aa.lazy)(()=>import("./chunks/CommandReference-YOBZ67AR.js").then(e=>({default:e.CommandReferenceBlock}))),zC=(0,aa.lazy)(()=>import("./chunks/StructureBrowser-CVA2IQML.js").then(e=>({default:e.StructureBrowserBlock}))),EC=(0,aa.lazy)(()=>import("./chunks/CardGrid-TRO37NZO.js").then(e=>({default:e.CardGridBlock}))),DC=(0,aa.lazy)(()=>import("./chunks/Roadmap-SPBI3665.js").then(e=>({default:e.RoadmapBlock}))),MC=(0,aa.lazy)(()=>import("./chunks/Waterfall-B2BPYBF3.js").then(e=>({default:e.WaterfallBlock}))),NC=(0,aa.lazy)(()=>import("./chunks/EventTimeline-PL6EEZLL.js").then(e=>({default:e.EventTimelineBlock}))),AC=(0,aa.lazy)(()=>import("./chunks/G2Chart-TOPADKCR.js").then(e=>({default:e.G2ChartBlock}))),IC={archify:(0,aa.lazy)(()=>import("./chunks/ExternalDiagram-ZTY4TDJJ.js").then(e=>({default:e.ArchifyBlock}))),"diagram-design":(0,aa.lazy)(()=>import("./chunks/ExternalDiagram-ZTY4TDJJ.js").then(e=>({default:e.DiagramDesignBlock}))),"fireworks-tech-graph":(0,aa.lazy)(()=>import("./chunks/ExternalDiagram-ZTY4TDJJ.js").then(e=>({default:e.FireworksTechGraphBlock})))},RC=[],$y=[],e5=new Set,ev=0,tv=e=>(e5.add(e),()=>{e5.delete(e)}),t5=()=>ev;function zt(e){if(!/^[a-z][a-z0-9-]{0,79}$/.test(e.kind))throw new Error("Block kind must use lowercase letters, numbers, and hyphens.");if(a5(e.kind))throw new Error(`Block "${e.kind}" is already registered.`);let t="Component"in e?{kind:e.kind,title:e.label,description:e.description,icon:e.icon??"\u25C7",defaultData:e.createData(),createData:e.createData,renderer:e.Component,validate:e.validate}:{...e};if(!t.title.trim())throw new Error("Block title is required.");t.defaultData=LC(t.defaultData),t.validate?.(t.defaultData),$y.push(t),t.replacedBy||RC.push(t),ev++;for(let a of e5)a()}function a5(e){return $y.find(t=>t.kind===e)}function LC(e){if(!e||typeof e!="object"||Array.isArray(e))throw new Error("Block data must be a JSON object.");let t=structuredClone(e),a=(n,o=0)=>{if(o>40)throw new Error("Block data is nested too deeply.");if(!(n===null||typeof n=="string"||typeof n=="boolean")&&!(typeof n=="number"&&Number.isFinite(n))){if(Array.isArray(n)){n.forEach(r=>a(r,o+1));return}if(n&&typeof n=="object"&&Object.getPrototypeOf(n)===Object.prototype){for(let[r,i]of Object.entries(n)){if(["__proto__","constructor","prototype"].includes(r))throw new Error("Block data contains a reserved key.");a(i,o+1)}return}throw new Error("Block data must contain only finite, serializable JSON values.")}};return a(t),t}function av(e,t){if(e[t]===void 0)return[];if(!Array.isArray(e[t])||e[t].some(a=>!a||typeof a!="object"||Array.isArray(a)))throw new Error(`${t} \u5FC5\u987B\u662F\u5BF9\u8C61\u6570\u7EC4\u3002`);return e[t]}for(let e of U2)zt({kind:e.kind,title:e.name,description:e.description,icon:{text:"T",image:"\u25A7",table:"\u25A6",callout:"!",toggle:"\u2304",stepper:"\u21E5",divider:"\u2014",code:"{}"}[e.kind],defaultData:e.defaultData,renderer:{text:t1,image:fy,table:gy,callout:hy,toggle:yy,stepper:vy,divider:xy,code:by}[e.kind],validate:t=>A1(e.kind,t)});zt({kind:"mindmap",title:"\u601D\u7EF4\u5BFC\u56FE",description:"\u81EA\u52A8\u6392\u5E03\u7684\u4E3B\u9898\u5206\u652F\uFF0C\u652F\u6301\u5FEB\u6377\u952E\u521B\u5EFA\u4E0E\u7F16\u8F91\u8282\u70B9",icon:"\u2442",defaultData:Lt.find(e=>e.kind==="mindmap").defaultData,renderer:hC,validate:Wm});for(let e of Z2)zt({kind:e.kind,title:e.name,description:e.description,icon:"\u25C7",defaultData:e.defaultData,renderer:IC[e.kind],validate:t=>Ym(e.kind,t)});zt({kind:"flowchart",title:"\u4EA4\u4E92\u6D41\u7A0B\u56FE",description:"\u8282\u70B9\u5206\u652F\u3001\u8DEF\u7EBF\u8BB2\u89E3\u4E0E\u9636\u6BB5\u56DE\u653E",icon:"\u2318",defaultData:Lt.find(e=>e.kind==="flowchart").defaultData,renderer:bC,validate:Km});zt({kind:"chart",title:"\u6570\u636E\u56FE\u8868",description:"\u4EA4\u4E92\u5F0F\u6298\u7EBF\u56FE\u3001\u67F1\u72B6\u56FE\u4E0E\u539F\u59CB\u6570\u636E",icon:"\u2197",defaultData:{title:"\u6570\u636E\u56FE\u8868",type:"line",labels:[],series:[],unit:""},renderer:By,validate:e=>{B1(JSON.stringify({...e,labels:e.labels??[],series:e.series??[]}))}});zt({kind:"database",title:"\u6570\u636E\u5E93",description:"\u8868\u683C\u3001\u770B\u677F\u3001\u65E5\u5386\u3001\u7B5B\u9009\u548C\u6392\u5E8F",icon:"\u25A6",defaultData:{title:"\u6570\u636E\u5E93",columns:[{id:"name",name:"\u540D\u79F0",type:"text"},{id:"status",name:"\u72B6\u6001",type:"select",options:["\u5F85\u5F00\u59CB","\u8FDB\u884C\u4E2D","\u5DF2\u5B8C\u6210"]}],rows:[]},renderer:Vy,validate:e=>{u6(e)}});zt({kind:"metrics",title:"\u5173\u952E\u6307\u6807",description:"\u6570\u503C\u3001\u53D8\u5316\u7387\u4E0E\u7B80\u6D01\u8BF4\u660E",icon:"\u25F4",defaultData:{title:"\u5173\u952E\u6307\u6807",items:[]},renderer:Ky,validate:e=>{av(e,"items")}});zt({kind:"playground",title:"\u4EA4\u4E92\u8BA1\u7B97",description:"\u8C03\u53C2\u6570\uFF0C\u770B\u516C\u5F0F\u7ED3\u679C\u3001\u6784\u6210\u4E0E\u6392\u540D",icon:"\u2301",defaultData:{title:"\u4EA4\u4E92\u8BA1\u7B97",inputs:[],operation:"sum",resultLabel:"\u8BA1\u7B97\u7ED3\u679C",unit:""},renderer:Qy,validate:e=>{L1(e)}});zt({kind:"gallery",title:"\u56FE\u7247\u753B\u5ECA",description:"\u672C\u5730\u56FE\u7247\u3001\u56FE\u6CE8\u4E0E\u5168\u5C4F\u9884\u89C8",icon:"\u25A7",defaultData:{title:"\u56FE\u7247\u753B\u5ECA",columns:2,images:[]},renderer:Fy,validate:e=>{av(e,"images")}});zt({kind:"bookmark",title:"\u6765\u6E90\u4E66\u7B7E",description:"\u4FDD\u5B58\u7F51\u9875\u3001\u8BBA\u6587\u548C\u9879\u76EE\u51FA\u5904",icon:"\u2197",defaultData:{title:"",description:"",url:"",image:""},renderer:wy});zt({kind:"video",title:"\u89C6\u9891",description:Lt.find(e=>e.kind==="video").description,icon:"\u25B7",defaultData:Lt.find(e=>e.kind==="video").defaultData,renderer:Ty,validate:e=>Wo("video",e)});zt({kind:"audio",title:"\u97F3\u9891",description:Lt.find(e=>e.kind==="audio").description,icon:"\u266B",defaultData:Lt.find(e=>e.kind==="audio").defaultData,renderer:zy,validate:e=>Wo("audio",e)});zt({kind:"pdf",title:"PDF \u6587\u6863",description:Lt.find(e=>e.kind==="pdf").description,icon:"\u25A4",defaultData:Lt.find(e=>e.kind==="pdf").defaultData,renderer:Ey,validate:e=>Wo("pdf",e)});zt({kind:"references",title:"\u53C2\u8003\u6587\u732E",description:Lt.find(e=>e.kind==="references").description,icon:"[1]",defaultData:Lt.find(e=>e.kind==="references").defaultData,renderer:Dy,validate:e=>Wo("references",e)});zt({kind:"custom",title:"\u81EA\u5B9A\u4E49\u7EC4\u4EF6",description:"\u4F7F\u7528\u9879\u76EE\u4E2D\u5B89\u88C5\u7684 React \u7EC4\u4EF6",icon:"\u25C7",defaultData:{componentId:"value-slider",version:"1.0.0",props:{label:"\u6570\u503C",value:0,min:0,max:100}},renderer:bb,validate:e=>{ai(e)}});for(let e of _2)zt({kind:e.kind,title:e.name,description:e.description,icon:"\u2197",defaultData:e.defaultData,renderer:t=>(0,aa.createElement)(AC,{...t,chartType:e.kind.slice(3)}),validate:Jm});zt({kind:"step-walkthrough",title:"\u5206\u6B65\u6F14\u793A",description:"\u9010\u6B65\u5C55\u793A\u5B9E\u9645\u64CD\u4F5C\u4E0E\u5404\u90E8\u5206\u7684\u5177\u4F53\u5185\u5BB9\u53D8\u5316",icon:"\u21C4",defaultData:Lt.find(e=>e.kind==="step-walkthrough").defaultData,renderer:Iy,validate:e=>{Qm(e)}});zt({kind:"comparison-matrix",title:"\u5BF9\u6BD4\u77E9\u9635",description:"\u6309\u7EF4\u5EA6\u9010\u884C\u5BF9\u6BD4\u591A\u4E2A\u65B9\u6848\uFF0C\u7A81\u51FA\u5DEE\u5F02\u4E0E\u81EA\u5DF1\u7684\u65B9\u6848",icon:"\u25A6",defaultData:Lt.find(e=>e.kind==="comparison-matrix").defaultData,renderer:yC,validate:e=>{I1("comparison-matrix",e)}});zt({kind:"status-tree",title:"\u72B6\u6001\u6811",description:"\u6309\u7C7B\u522B\u5C55\u5F00\u6761\u76EE\uFF0C\u533A\u5206\u8D70\u901A\u3001\u6CA1\u8D70\u901A\u4E0E\u8FDB\u884C\u4E2D",icon:"\u2442",defaultData:Lt.find(e=>e.kind==="status-tree").defaultData,renderer:vC,validate:e=>{I1("status-tree",e)}});zt({kind:"experiment-tracker",title:"\u5B9E\u9A8C\u8FFD\u8E2A",description:"\u5B9E\u9A8C\u6563\u70B9\u4E0E\u6700\u4F18\u524D\u6CBF\u3001\u8FD0\u884C\u5217\u8868\u3001\u8D44\u6E90\u4E0E\u8BAD\u7EC3\u66F2\u7EBF",icon:"\u25CE",defaultData:Lt.find(e=>e.kind==="experiment-tracker").defaultData,renderer:xC,validate:e=>{I1("experiment-tracker",e)}});zt({kind:"scene-3d",title:"3D \u573A\u666F",description:"\u53EF\u65CB\u8F6C\u7684\u4E09\u7EF4\u6A21\u578B\uFF0C\u5E26\u6807\u6CE8\u3001\u5750\u6807\u7BAD\u5934\u4E0E\u53C2\u6570\u9A71\u52A8\u7684\u52A8\u4F5C",icon:"\u25C8",defaultData:Lt.find(e=>e.kind==="scene-3d").defaultData,renderer:wC,validate:e=>{$m(e)}});zt({kind:"sequence-diagram",title:"\u65F6\u5E8F\u56FE",description:"\u53C2\u4E0E\u8005\u4E4B\u95F4\u9010\u6B65\u64AD\u653E\u7684\u6D88\u606F\u5F80\u8FD4",icon:"\u21C4",defaultData:Lt.find(e=>e.kind==="sequence-diagram").defaultData,renderer:kC,validate:e=>{nu("sequence-diagram",e)}});zt({kind:"layer-diagram",title:"\u5206\u5C42\u67B6\u6784\u56FE",description:"\u81EA\u4E0A\u800C\u4E0B\u7684\u5206\u5C42\u4E0E\u53EF\u70B9\u9009\u6A21\u5757",icon:"\u2630",defaultData:Lt.find(e=>e.kind==="layer-diagram").defaultData,renderer:SC,validate:e=>{nu("layer-diagram",e)}});zt({kind:"step-guide",title:"\u64CD\u4F5C\u6B65\u9AA4",description:"\u7F16\u53F7\u6B65\u9AA4\u3001\u53EF\u590D\u5236\u4EE3\u7801\u4E0E\u8BA1\u65F6",icon:"\u2460",defaultData:Lt.find(e=>e.kind==="step-guide").defaultData,renderer:CC,validate:e=>{ou("step-guide",e)}});zt({kind:"command-reference",title:"\u547D\u4EE4\u53C2\u8003",description:"\u53EF\u641C\u7D22\u7684\u5206\u7EC4\u547D\u4EE4\u4E0E\u53C2\u6570",icon:"\u2318",defaultData:Lt.find(e=>e.kind==="command-reference").defaultData,renderer:TC,validate:e=>{ou("command-reference",e)}});zt({kind:"structure-browser",title:"\u7ED3\u6784\u6D4F\u89C8\u5668",description:"\u53EF\u5C55\u5F00\u7684\u76EE\u5F55\u6216\u5B57\u6BB5\u6811\uFF0C\u9644\u8BF4\u660E\u4E0E\u793A\u4F8B",icon:"\u229F",defaultData:Lt.find(e=>e.kind==="structure-browser").defaultData,renderer:zC,validate:e=>{ru("structure-browser",e)}});zt({kind:"card-grid",title:"\u5361\u7247\u5BFC\u822A",description:"\u5E26\u56FE\u6807\u4E0E\u8BF4\u660E\u7684\u5165\u53E3\u5361\u7247\uFF0C\u53EF\u6574\u5361\u94FE\u63A5",icon:"\u25A4",defaultData:Lt.find(e=>e.kind==="card-grid").defaultData,renderer:EC,validate:e=>{ru("card-grid",e)}});zt({kind:"roadmap",title:"\u8DEF\u7EBF\u56FE",description:"\u6309\u65E5\u671F\u9605\u8BFB\u8BA1\u5212\u3001\u4F9D\u8D56\u4E0E\u8D1F\u8D23\u4EBA",icon:"\u25A4",defaultData:Lt.find(e=>e.kind==="roadmap").defaultData,renderer:DC,validate:e=>{iu("roadmap",e)}});zt({kind:"waterfall",title:"\u7011\u5E03\u6865\u56FE",description:"\u671F\u521D\u5230\u671F\u672B\u7684\u9010\u9879\u589E\u51CF\u4E0E\u6784\u6210",icon:"\u25A5",defaultData:Lt.find(e=>e.kind==="waterfall").defaultData,renderer:MC,validate:e=>{iu("waterfall",e)}});zt({kind:"event-timeline",title:"\u4E8B\u4EF6\u65F6\u95F4\u7EBF",description:"\u66F2\u7EBF\u3001\u9636\u6BB5\u4E0E\u4E8B\u4EF6\u540C\u8F74\u56DE\u653E",icon:"\u2316",defaultData:Lt.find(e=>e.kind==="event-timeline").defaultData,renderer:NC,validate:e=>{e6(e)}});mt(`.sb-block{--sb-surface: var(--paper, var(--surface, #fff));--sb-soft: var(--surface, #f7f8f5);--sb-text: var(--text, #343a35);--sb-muted: var(--muted, #92968f);--sb-line: var(--line, var(--border, #e9ece5));--sb-accent: var(--accent, #50745e);--sb-hover: var(--hover, #f0f2ed);--sb-accent-soft: var(--accent-soft, #eaf0e8);font-family:Avenir Next,PingFang SC,Microsoft YaHei,sans-serif;color:var(--sb-text);font-size:12px;line-height:1.6;position:relative;border:0;border-radius:0;background:transparent;overflow:visible;margin:18px 0;isolation:isolate}.sb-block *{box-sizing:border-box}.sb-block button,.sb-block input,.sb-block textarea,.sb-block select{font:inherit;color:inherit}.sb-block button{cursor:pointer;border:0;background:transparent;transition:background .15s,color .15s,opacity .15s;line-height:1.45}.sb-block button:disabled{opacity:.4;cursor:default}.sb-block button:not(:disabled):hover{background:var(--sb-hover)}.sb-block button:focus-visible,.sb-block a:focus-visible,.sb-block summary:focus-visible{outline:2px solid var(--sb-accent);outline-offset:2px}.sb-block input,.sb-block textarea,.sb-block select{accent-color:var(--sb-accent)}.sb-block input:is([type=checkbox],[type=radio],[type=range],[type=color],[type=file],[type=button],[type=submit],[type=reset]):focus-visible,.sb-block select:focus-visible{outline:2px solid color-mix(in srgb,var(--sb-accent) 50%,transparent);outline-offset:1px}.sb-block input:not([type=checkbox],[type=radio],[type=range],[type=color],[type=file],[type=button],[type=submit],[type=reset]):focus,.sb-block textarea:focus{outline:none}.sb-block input::placeholder,.sb-block textarea::placeholder{color:var(--sb-muted)}.sb-block svg{flex-shrink:0;vertical-align:middle}.sb-header{position:absolute;top:0;right:0;z-index:8;padding:4px}.sb-header.has-caption{position:relative;padding:0 0 8px;min-height:24px}.sb-header.has-caption>.sb-heading{padding-right:44px}.sb-header>.sb-actions{position:relative;min-height:28px;padding:3px;background:var(--sb-surface);border-radius:5px;opacity:0;transition:opacity .15s}.sb-header.has-caption>.sb-actions{position:absolute;top:0;right:0}.sb-header>.sb-actions:hover,.sb-header>.sb-actions:focus-within,.sb-header>.sb-actions:has(details[open]),.sb-header.is-editing>.sb-actions{opacity:1}.sb-heading{min-width:0}.sb-title{font-size:11px;font-weight:500;color:var(--sb-muted);display:flex;align-items:center;gap:8px;overflow-wrap:anywhere}.sb-title>svg{color:var(--sb-accent);stroke-width:1.6}.sb-description{font-size:10px;color:var(--sb-muted);margin:5px 0 0!important;line-height:1.7}.sb-tools-menu>summary{display:inline-flex;align-items:center;gap:6px;cursor:pointer;list-style:none;padding:4px 8px;color:var(--sb-muted);white-space:nowrap}.sb-tools-menu>summary::-webkit-details-marker{display:none}.sb-tools-menu>.sb-database-toolbar{position:absolute;right:0;top:100%;width:max-content;max-width:min(520px,85vw);padding:8px 12px;background:var(--sb-surface);border:1px solid var(--sb-line);border-radius:6px;box-shadow:0 4px 18px #00000012;flex-wrap:wrap}.sb-actions{display:flex;gap:5px;align-items:center;flex-wrap:wrap;flex-shrink:0}.sb-block .sb-icon-button{width:26px;height:26px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:4px;color:var(--sb-muted);flex-shrink:0;text-decoration:none}.sb-block .sb-icon-button:hover{color:var(--sb-text)}.sb-block .is-active{color:var(--sb-accent);background:var(--sb-accent-soft)}.sb-block .sb-danger:hover{color:#bd6654;background:#b46b5812}.sb-block .sb-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--sb-line);border-radius:5px;padding:7px 11px;background:var(--sb-surface);font-size:10px;white-space:nowrap}.sb-block .sb-button.sb-primary{background:var(--sb-accent);color:var(--sb-surface);border-color:var(--sb-accent)}.sb-block .sb-button.sb-primary:hover{filter:brightness(1.09)}.sb-block .sb-small{padding:5px 9px}.sb-block .sb-text-button{font-size:10px;padding:3px 6px;border-radius:3px;color:var(--sb-accent)}.sb-block .sb-hidden{display:none}.sb-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:32px 20px 35px;text-align:center;color:var(--sb-muted)}.sb-empty>svg{color:color-mix(in srgb,var(--sb-accent) 65%,transparent);margin-bottom:4px}.sb-empty strong{font-size:12px;color:var(--sb-text);font-weight:500}.sb-empty p{font-size:10px;max-width:300px;margin:0 0 6px!important;line-height:1.8}.sb-editor-panel{background:var(--sb-soft);border-block:1px solid var(--sb-line);padding:17px 19px;display:flex;flex-direction:column;gap:13px;animation:sb-reveal .17s ease}.sb-field{display:flex;flex-direction:column;gap:5px;font-size:10px;flex:1;min-width:0}.sb-field>span{color:var(--sb-muted);font-weight:500}.sb-field input,.sb-field select,.sb-field textarea,.sb-property-row>input,.sb-property-row>select{background:var(--sb-surface);border:1px solid var(--sb-line);border-radius:4px;padding:7px 9px;min-width:0;width:100%;font-size:11px}.sb-field textarea{resize:vertical;min-height:60px}.sb-form-row{display:flex;gap:10px;align-items:flex-end}.sb-form-row>.sb-icon-button{margin-bottom:4px}.sb-panel-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.sb-panel-footer>span{font-size:9px;color:var(--sb-muted);flex:1}.sb-block .sb-code-input{font:11px/1.7 SFMono-Regular,Consolas,monospace;tab-size:2;white-space:pre;min-height:175px}.sb-error{font-size:11px;color:#b66550;margin:0!important}.sb-inline-hint{font-size:10px;color:var(--sb-muted);padding:0 19px;margin:12px 0!important}.sb-editor-panel>.sb-inline-hint{padding:0;margin:0!important}.sb-segmented{display:flex;background:var(--sb-soft);padding:2px;border-radius:4px}.sb-segmented>button{width:26px;height:23px;border-radius:3px;display:flex;align-items:center;justify-content:center;color:var(--sb-muted)}.sb-segmented>.is-active{background:var(--sb-surface);box-shadow:0 1px 3px #0000000a}.sb-chart-legend{display:flex;align-items:center;gap:15px;flex-wrap:wrap;padding:8px 19px 6px}.sb-chart-legend>button{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--sb-muted);padding:3px 0;border-radius:3px}.sb-chart-legend>button:hover{background:none;text-decoration:underline}.sb-chart-legend>button>span:not([data-showai-note]),.sb-dot{display:inline-block;width:6px;height:6px;border-radius:50%;flex-shrink:0}.sb-chart-legend>.is-muted{opacity:.4;text-decoration:line-through}.sb-chart-unit{margin-left:auto;font-size:9px;color:var(--sb-muted)}.sb-chart-canvas{padding:0 11px;position:relative;touch-action:pan-y}.sb-chart-canvas>svg{display:block;width:100%;height:auto;overflow:visible}.sb-chart-grid{stroke:var(--sb-line);stroke-dasharray:3 4;stroke-width:1}.sb-chart-label{font-size:10px;fill:var(--sb-muted);font-family:inherit}.sb-chart-crosshair{stroke:var(--sb-muted);stroke-width:1;stroke-dasharray:3 3;opacity:.5;pointer-events:none}.sb-chart-tooltip{position:absolute;top:13px;pointer-events:none;border:1px solid var(--sb-line);background:var(--sb-surface);border-radius:6px;padding:9px 12px;box-shadow:0 5px 20px #00000010;font-size:10px;min-width:112px;z-index:2}.sb-chart-tooltip>strong{display:block;font-size:10px;font-weight:500;margin-bottom:5px}.sb-chart-tooltip>div{display:flex;align-items:center;gap:6px;color:var(--sb-muted);margin-top:3px}.sb-chart-tooltip b{font-weight:500;margin-left:auto;color:var(--sb-text);padding-left:10px}.sb-data-details{border-top:1px solid var(--sb-line);font-size:10px;margin-top:10px}.sb-data-details>summary{list-style:none;cursor:pointer;padding:11px 19px;color:var(--sb-muted);display:flex;align-items:center;gap:8px;user-select:none}.sb-data-details>summary::-webkit-details-marker{display:none}.sb-data-details>summary:before{content:"\\203a";font-size:15px;line-height:1;transition:transform .15s}.sb-data-details[open]>summary:before{transform:rotate(90deg)}.sb-data-details>summary>span{margin-left:auto;font-size:9px}.sb-table-scroll{overflow:auto;max-width:100%;overscroll-behavior-x:contain}.sb-block table{border-collapse:collapse;width:100%;margin:0!important;font-size:11px;table-layout:auto}.sb-block th,.sb-block td{border:0;border-bottom:1px solid var(--sb-line);border-right:1px solid var(--sb-line);text-align:left;padding:9px 12px;vertical-align:middle;min-width:85px}.sb-block th:last-child,.sb-block td:last-child{border-right:0}.sb-block tbody tr:last-child>td{border-bottom:0}.sb-block th{font-weight:500;color:var(--sb-muted);background:var(--sb-soft);font-size:10px}.sb-block .sb-data-details th,.sb-block .sb-data-details td{padding:8px 19px}.sb-data-details .sb-table-scroll{max-height:320px}.sb-database-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 15px;border-bottom:1px solid var(--sb-line);min-height:43px}.sb-view-tabs{display:flex;align-self:stretch;gap:13px;flex-shrink:0}.sb-view-tabs>button{display:flex;gap:5px;align-items:center;padding:7px 2px;font-size:10px;position:relative;color:var(--sb-muted)}.sb-view-tabs>button.is-active{background:none;color:var(--sb-accent)}.sb-view-tabs>button.is-active:after{content:"";position:absolute;left:0;right:0;height:2px;background:var(--sb-accent);bottom:-1px}.sb-view-tabs>button:hover{background:none}.sb-database-tools{display:flex;align-items:center;gap:5px;min-width:0}.sb-search{display:flex;align-items:center;gap:5px;max-width:155px;color:var(--sb-muted)}.sb-search>input{min-width:0;width:90px;border:0;background:transparent;padding:6px 0;font-size:10px;color:var(--sb-text)}.sb-search .sb-icon-button{width:19px}.sb-filter-row,.sb-board-grouping{display:flex;align-items:center;gap:9px;padding:10px 17px;font-size:10px;color:var(--sb-muted);flex-wrap:wrap;border-bottom:1px solid var(--sb-line);background:var(--sb-soft)}.sb-filter-row select,.sb-board-grouping select{font-size:10px;border:1px solid var(--sb-line);padding:4px 6px;background:var(--sb-surface);border-radius:4px;max-width:180px}.sb-property-list{display:flex;flex-direction:column;gap:9px}.sb-property-row{display:flex;gap:8px;align-items:center}.sb-property-row>input{flex:2}.sb-property-row>select{flex:1.2}.sb-property-row>.sb-options-input{flex:2}.sb-database-table th{padding:0}.sb-database-table th>button{display:flex;align-items:center;gap:6px;padding:10px 12px;white-space:nowrap;width:100%;font-size:10px;text-align:left}.sb-type-symbol{font-size:10px;color:var(--sb-muted);min-width:13px;font-weight:400}.sb-database-table td{padding:0;min-width:115px;height:37px}.sb-database-table tbody tr:hover{background:color-mix(in srgb,var(--sb-soft) 50%,transparent)}.sb-cell-value{padding:8px 12px;display:block;overflow-wrap:anywhere;max-width:420px}.sb-placeholder{color:var(--sb-muted);opacity:.6}.sb-cell-input-wrap{display:flex;min-width:0;align-items:center}.sb-cell-input{border:0;background:transparent;outline-offset:-2px!important;min-width:70px;width:100%;padding:9px 12px;font-size:11px!important;height:37px}.sb-cell-input-wrap>.sb-icon-button{margin-right:5px}.sb-cell-link{color:var(--sb-accent);padding:8px 12px;display:flex;align-items:center;gap:6px;text-decoration:none;overflow-wrap:anywhere;max-width:350px}.sb-cell-link:hover{text-decoration:underline}.sb-cell-select{font-size:10px!important;border:0;border-radius:3px;padding:2px 5px;margin:7px 10px;max-width:calc(100% - 20px);outline-offset:1px!important;background:var(--sb-soft)}.sb-database-table input[type=checkbox]{display:block;margin:0 13px;width:13px;height:13px}.sb-tag{display:inline-flex;align-items:center;gap:5px;font-size:10px;border-radius:3px;padding:1px 7px;white-space:nowrap;background:var(--sb-soft);color:var(--sb-text);max-width:100%;overflow:hidden;text-overflow:ellipsis}.sb-database-table .sb-tag{margin:7px 12px}.sb-tag-0{background:#e9eee2;color:#6b7c53}.sb-tag-1{background:#e8eef4;color:#5b7a9a}.sb-tag-2{background:#f3edde;color:#9a804d}.sb-tag-3{background:#f0e8ee;color:#986e91}.sb-tag-4{background:#f3e7e0;color:#a3765d}.sb-block .sb-row-action{min-width:33px;width:33px;text-align:center;padding:0}.sb-row-action>.sb-icon-button{opacity:0}.sb-database-table tr:hover .sb-row-action>.sb-icon-button,.sb-row-action>.sb-icon-button:focus-visible{opacity:1}.sb-block .sb-add-row{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--sb-muted);padding:10px 13px;width:100%;text-align:left}.sb-database-footer{padding:9px 15px;border-top:1px solid var(--sb-line);color:var(--sb-muted);font-size:9px;display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:35px}.sb-database-footer>span{display:flex;gap:9px;align-items:center}.sb-pagination{display:flex;gap:8px;align-items:center}.sb-pagination>button{font-size:9px;color:var(--sb-muted);padding:3px;border-radius:3px}.sb-board-grouping{border:0;background:transparent}.sb-board-hint{margin-left:auto;font-size:9px}.sb-board{display:flex;gap:12px;overflow:auto;padding:8px 15px 16px;align-items:flex-start;max-height:600px}.sb-board-column{flex:1;min-width:200px;max-width:290px;background:var(--sb-soft);border:1px solid transparent;padding:8px;border-radius:6px;transition:border-color .2s}.sb-board-column.is-droppable{border-color:var(--sb-line)}.sb-board-column.is-droppable:hover{border-color:var(--sb-accent)}.sb-board-column-header{display:flex;gap:8px;align-items:center;font-size:9px;color:var(--sb-muted);margin-bottom:9px;padding:0 2px}.sb-board-column-header>.sb-icon-button{margin-left:auto;height:20px;width:20px}.sb-board-card{border:1px solid var(--sb-line);border-radius:5px;background:var(--sb-surface);padding:6px 4px;margin-bottom:8px;box-shadow:0 2px 3px #00000002;transition:opacity .15s,box-shadow .15s}.sb-board-card[draggable=true]{cursor:grab}.sb-board-card[draggable=true]:active{cursor:grabbing}.sb-board-card:hover{box-shadow:0 2px 8px #00000006}.sb-board-card.is-dragging{opacity:.35}.sb-board-card-title{font-size:11px;font-weight:500;min-width:0}.sb-board-card-field{display:flex;align-items:center;gap:5px;padding:0 6px}.sb-board-card-field>span:first-child{font-size:9px;color:var(--sb-muted);width:47px;flex-shrink:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sb-board-card-field input{min-width:0}.sb-board-card .sb-cell-input{padding:5px;height:29px;font-size:10px!important}.sb-board-card .sb-cell-input-wrap{flex:1}.sb-board-card .sb-cell-value{padding:5px;font-size:10px;line-height:1.5}.sb-board-card .sb-cell-link{padding:5px;font-size:9px;max-width:140px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sb-board-card .sb-cell-select{margin:3px 5px;max-width:125px}.sb-board-card input[type=checkbox]{width:12px;height:12px}.sb-board-card-footer{display:flex;justify-content:space-between;align-items:center;padding:7px 6px 0;margin-top:5px;border-top:1px solid var(--sb-line)}.sb-board-card-footer>select{font-size:9px;border:0;background:var(--sb-soft);padding:4px 6px;border-radius:3px;color:var(--sb-muted);max-width:150px}.sb-board-card-footer .sb-icon-button{width:21px;height:21px}.sb-board-column>.sb-add-row{padding:5px;font-size:9px}.sb-metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));padding:9px 0 20px}.sb-metric{padding:3px 22px;border-right:1px solid var(--sb-line);min-width:0}.sb-metric:last-child{border-right:0}.sb-metric-label{color:var(--sb-muted);font-size:10px}.sb-metric-value{font-size:31px;line-height:1.5;letter-spacing:-1px;font-weight:500;overflow-wrap:anywhere}.sb-metric-figure{font-variant-numeric:tabular-nums}.sb-metric-value>span:not(.sb-metric-figure){font-size:12px;font-weight:400;color:var(--sb-muted);letter-spacing:0;margin-left:6px}.sb-metric-foot{display:flex;flex-wrap:wrap;gap:5px 8px;font-size:9px;color:var(--sb-muted);margin-top:3px;min-height:17px}.sb-trend{display:inline-flex;align-items:center;gap:2px;color:var(--sb-accent)}.sb-trend.is-negative{color:#bd7b62}.sb-metric-editors{display:flex;flex-direction:column;gap:15px}.sb-metric-editor,.sb-parameter-editor{padding-top:13px;border-top:1px solid var(--sb-line);display:flex;flex-direction:column;gap:9px}.sb-playground-body{display:grid;grid-template-columns:1.4fr 1fr;gap:28px;padding:13px 22px 24px}.sb-parameters{display:flex;flex-direction:column;gap:24px}.sb-parameter{min-width:0}.sb-parameter-label{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;margin-bottom:7px}.sb-parameter-label>div{display:flex;align-items:center;gap:5px;color:var(--sb-muted);font-size:9px}.sb-parameter-label input{width:64px;padding:3px 5px;font-size:11px;border:1px solid var(--sb-line);border-radius:4px;background:var(--sb-surface);text-align:right}.sb-parameter input[type=range]{display:block;width:100%;height:5px;margin:13px 0 9px;appearance:none;border-radius:5px;background:linear-gradient(to right,var(--sb-accent) var(--range-progress),var(--sb-line) var(--range-progress));cursor:pointer}.sb-parameter input[type=range]::-webkit-slider-thumb{appearance:none;width:13px;height:13px;background:var(--sb-surface);border:2px solid var(--sb-accent);border-radius:50%;box-shadow:0 1px 3px #0002;transition:box-shadow .15s}.sb-parameter input[type=range]::-webkit-slider-thumb:hover{box-shadow:0 0 0 4px var(--sb-accent-soft)}.sb-parameter input[type=range]::-moz-range-thumb{width:10px;height:10px;background:var(--sb-surface);border:2px solid var(--sb-accent);border-radius:50%}.sb-range-labels{display:flex;justify-content:space-between;font-size:9px;color:var(--sb-muted)}.sb-calculation-result{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:0;background:transparent;border:0;font-size:10px;color:var(--sb-muted);min-width:0}.sb-calculation-result>strong{font-size:30px;font-weight:500;color:var(--sb-accent);letter-spacing:-1px;line-height:1.5;overflow-wrap:anywhere;max-width:100%}.sb-calculation-result small{font-size:10px;color:var(--sb-muted);letter-spacing:0;font-weight:400;margin-left:5px}.sb-formula{font-size:9px;line-height:1.8;margin-top:5px}.sb-local-state-note{font-size:8px;letter-spacing:.3px;border-top:1px solid var(--sb-line);margin-top:20px;padding-top:9px;width:100%;color:var(--sb-muted)}.sb-bookmark>.sb-header{padding-bottom:8px}.sb-block.sb-bookmark .sb-bookmark-link{display:flex;align-items:stretch;gap:12px;color:inherit;text-decoration:none;margin:0;padding:0;border:1px solid var(--sb-line);border-radius:8px;background:var(--sb-soft);overflow:hidden;transition:background .15s,border-color .15s}.sb-block.sb-bookmark .sb-bookmark-link:hover{background:var(--sb-hover);border-color:color-mix(in srgb,var(--sb-accent) 20%,var(--sb-line));text-decoration:none}.sb-bookmark-copy{flex:1;min-width:0;padding:10px 12px}.sb-bookmark-copy>strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}.sb-bookmark-copy>p{font-size:11px;color:var(--sb-muted);line-height:1.6;margin:4px 0 6px!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.sb-bookmark-domain{display:flex;gap:6px;align-items:center;color:var(--sb-muted);font-size:9px;margin-top:6px}.sb-bookmark-domain>svg:last-child{margin-left:auto}.sb-bookmark-link>img{display:block;object-fit:cover;width:120px;max-height:140px;align-self:stretch;border:0;border-radius:0}.sb-gallery-grid{display:grid;gap:13px;padding:8px 18px 18px}.sb-gallery-columns-1{grid-template-columns:1fr}.sb-gallery-columns-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sb-gallery-columns-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sb-gallery-grid:has(>figure:only-child){grid-template-columns:1fr}.sb-gallery-grid figure{margin:0!important;min-width:0}.sb-gallery-grid figure>button{display:block;position:relative;width:100%;aspect-ratio:4/3;border-radius:5px;overflow:hidden;background:var(--sb-soft);padding:0}.sb-gallery-grid figure>button>img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s;max-width:100%;margin:0!important;border:0!important;border-radius:0!important}.sb-gallery-columns-1 figure>button{aspect-ratio:16/9}.sb-gallery-grid figure>button:hover>img{transform:scale(1.025)}.sb-gallery-grid figcaption{color:var(--sb-muted);font-size:10px;padding:7px 2px 0;line-height:1.6;overflow-wrap:anywhere}.sb-gallery-expand{position:absolute;right:8px;bottom:8px;width:27px;height:27px;display:flex;align-items:center;justify-content:center;border-radius:4px;background:#ffffffd9;color:#343a35;opacity:0;transition:opacity .15s}.sb-gallery-grid figure>button:hover .sb-gallery-expand,.sb-gallery-grid figure>button:focus-visible .sb-gallery-expand{opacity:1}.sb-gallery-editor{display:flex;gap:11px;align-items:flex-start;border-top:1px solid var(--sb-line);padding-top:14px}.sb-gallery-editor-preview{width:70px;height:70px;flex-shrink:0;background:var(--sb-surface);border:1px solid var(--sb-line);border-radius:5px;display:flex;align-items:center;justify-content:center;margin-top:18px;color:var(--sb-muted);overflow:hidden}.sb-gallery-editor-preview>img{object-fit:cover;width:100%;height:100%;margin:0!important;border:0!important;border-radius:0!important}.sb-gallery-editor-fields{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}.sb-gallery-editor-actions{display:flex;flex-direction:column;gap:3px;padding-top:18px}.sb-lightbox{position:fixed;inset:0;background:#101611f2;backdrop-filter:blur(12px);z-index:500;display:flex;align-items:center;justify-content:center;padding:50px 65px;color:#f1f5ee;font-family:Avenir Next,PingFang SC,sans-serif;animation:sb-reveal .2s ease}.sb-lightbox figure{margin:0;min-width:0;max-width:100%;max-height:100%;display:flex;flex-direction:column}.sb-lightbox figure>img{animation:showai-pop-in var(--duration-slow) var(--ease-out);max-width:100%;max-height:calc(100dvh - 150px);object-fit:contain;display:block;margin:auto}.sb-lightbox figcaption{font-size:12px;line-height:1.8;text-align:center;padding:15px 0;overflow-wrap:anywhere}.sb-lightbox figcaption>span{display:block;color:#a8b2a7;font-size:10px;padding-top:5px}.sb-lightbox>button{position:absolute;background:#ffffff0b;border:1px solid #ffffff15;color:#f1f5ee;cursor:pointer;width:39px;height:39px;border-radius:50%;display:flex;align-items:center;justify-content:center}.sb-lightbox>button:hover{background:#ffffff20}.sb-lightbox>button:focus-visible{outline:2px solid #b8ceba;outline-offset:4px}.sb-lightbox-close{top:20px;right:22px}.sb-lightbox-prev{left:15px}.sb-lightbox-next{right:15px}.sb-unavailable{padding:20px;background:var(--sb-soft)}.sb-unavailable-heading{display:flex;gap:12px;align-items:flex-start}.sb-unavailable-heading>svg{color:var(--sb-muted);margin-top:3px}.sb-unavailable-heading strong{font-size:12px;font-weight:500}.sb-unavailable-heading p{font-size:10px;color:var(--sb-muted);line-height:1.8;margin:5px 0!important}.sb-unavailable>.sb-data-details{margin:10px 0 13px}.sb-unavailable .sb-data-details>summary{padding-left:0}.sb-unavailable pre{font:10px/1.7 monospace;overflow:auto;max-height:300px;white-space:pre;background:var(--sb-surface);padding:12px;border:1px solid var(--sb-line);border-radius:5px}.sb-block input[type=number]{font-variant-numeric:tabular-nums}.sb-block .sb-cell-input[type=number]{appearance:textfield}.sb-block .sb-cell-input[type=number]::-webkit-inner-spin-button{appearance:none}:root[data-theme=dark] .sb-tag-0{background:#34432d;color:#c1d2ae}:root[data-theme=dark] .sb-tag-1{background:#2d3e4b;color:#b1c8df}:root[data-theme=dark] .sb-tag-2{background:#443d2b;color:#d5c59e}:root[data-theme=dark] .sb-tag-3{background:#443142;color:#d1b3ca}:root[data-theme=dark] .sb-tag-4{background:#49372d;color:#d9bfa9}@keyframes sb-reveal{0%{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}@media(max-width:600px){.sb-header{padding:4px}.sb-title{font-size:11px;gap:6px}.sb-description{font-size:9px}.sb-actions{gap:3px}.sb-editor-panel{padding:14px 12px}.sb-form-row{gap:8px;flex-wrap:wrap}.sb-form-row>.sb-field{flex-basis:80px}.sb-panel-footer{gap:10px}.sb-panel-footer>span{flex-basis:100%}.sb-database-toolbar{padding:0 10px;gap:8px;flex-wrap:wrap}.sb-view-tabs{height:37px}.sb-database-tools{padding-bottom:4px}.sb-search{max-width:110px}.sb-search>input{width:68px}.sb-property-row{flex-wrap:wrap}.sb-property-row>.sb-options-input{flex-basis:100%;order:3}.sb-property-row>.sb-icon-button{width:22px}.sb-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 0}.sb-metric{padding:0 16px}.sb-metric:nth-child(2n){border-right:0}.sb-metric-value{font-size:27px}.sb-playground-body{padding:13px 15px 18px;gap:20px;grid-template-columns:1fr}.sb-calculation-result{padding:15px}.sb-calculation-result>strong{font-size:29px}.sb-local-state-note{margin-top:10px}.sb-board-column{min-width:185px}.sb-bookmark-copy{padding:10px 12px}.sb-bookmark-link>img{width:100px;max-height:150px}.sb-bookmark-copy>strong{font-size:12px}.sb-bookmark-copy>p{font-size:10px}.sb-gallery-grid{padding:7px 12px 14px;gap:10px}.sb-gallery-columns-3{grid-template-columns:repeat(2,minmax(0,1fr))}.sb-gallery-editor-preview{width:45px;height:45px}.sb-gallery-editor{gap:7px}.sb-gallery-editor-actions{gap:1px}.sb-chart-legend{padding:7px 13px 6px;gap:10px}.sb-chart-tooltip{font-size:9px;padding:6px 9px;max-width:150px}.sb-row-action>.sb-icon-button{opacity:1}.sb-lightbox{padding:55px 42px}.sb-lightbox>button{width:31px;height:31px}.sb-lightbox-prev{left:6px}.sb-lightbox-next{right:6px}}@media(prefers-reduced-motion:reduce){.sb-block *,.sb-lightbox{transition:none!important;animation:none!important}}@media print{.sb-header>.sb-actions,.sb-editor-panel,.sb-database-tools,.sb-filter-row,.sb-board-card-footer,.sb-add-row,.sb-pagination,.sb-lightbox,.sb-gallery-expand,.sb-database-table .sb-row-action{display:none!important}.sb-block{break-inside:avoid;border-color:#ddd;background:#fff;color:#222;--sb-surface: #fff;--sb-soft: #f6f7f4;--sb-line: #ddd;--sb-text: #222;--sb-muted: #666;--sb-accent: #42674e;box-shadow:none}.sb-chart-legend{pointer-events:none}.sb-chart-grid{stroke:#ddd}.sb-table-scroll,.sb-board{overflow:visible;max-height:none}.sb-gallery-grid,.sb-metric-grid{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.sb-primitive{margin:0;min-width:0;overflow-wrap:anywhere}.sb-rich-text{line-height:1.75}.sb-rich-text>:first-child{margin-top:0}.sb-rich-text>:last-child{margin-bottom:0}.sb-rich-text h1,.sb-rich-text h2,.sb-rich-text h3{line-height:1.35;letter-spacing:-.02em}.sb-rich-text blockquote{margin:20px 0;padding:8px 18px;border-left:3px solid #62836b;background:#edf3ee}.sb-rich-text pre{padding:14px;overflow:auto;background:#f1f3ef;border-radius:5px}.sb-rich-text img,.sb-image img{display:block;max-width:100%}.sb-image figcaption{font-size:12px;color:#73796f;text-align:center;padding-top:9px}.sb-image-empty{padding:55px 15px;background:#f1f3ef;text-align:center;color:#73796f}.sb-primitive-editor{margin-top:14px;font-size:12px;color:#73796f}.sb-primitive-editor summary{cursor:pointer}.sb-primitive-editor textarea,.sb-primitive-editor input{display:block;width:100%;padding:8px;border:1px solid #dce1d7;border-radius:5px;background:#fff;font:inherit;color:#292d29}.sb-primitive-editor textarea{min-height:130px;margin-top:8px}.sb-primitive-editor label{display:block;margin-top:8px}.sb-table-scroll{overflow-x:auto}.sb-table table,.sb-rich-text table{width:100%;border-collapse:collapse;font-size:inherit}.sb-table th,.sb-table td,.sb-rich-text th,.sb-rich-text td{padding:10px 14px;text-align:left;border-bottom:1px solid #dce1d7}.sb-table th,.sb-table td{border:1px solid var(--line, var(--border, #e8ece5))}.sb-table th,.sb-rich-text th{background:#f1f3ef;font-weight:600}.sb-table input{width:100%;min-width:70px;color:inherit;background:transparent;border:0;font:inherit}.sb-table-actions{display:flex;gap:12px;margin-top:10px;font-size:12px}.sb-toggle>summary{cursor:pointer;font-weight:600;padding:8px 0}.sb-toggle>.sb-text{padding:8px 0 8px 20px}.sb-callout>strong{display:block;margin-bottom:7px}.sb-code pre{margin:0;padding:16px;overflow-x:auto;background:#f1f3ef;border-radius:5px;font:13px/1.65 ui-monospace,monospace}.sb-code textarea{width:100%;margin-top:10px;min-height:130px;font:13px/1.65 ui-monospace,monospace}.table-alignment-buttons{display:inline-flex;align-items:center;gap:2px;padding:2px;border:1px solid var(--border, #dedee5);border-radius:6px;background:var(--surface, #fff);box-shadow:0 2px 8px #0000000d;color:var(--muted, #70717c)}.table-alignment-buttons>button{display:inline-flex;align-items:center;justify-content:center;width:26px;height:24px;padding:0;border:0;border-radius:4px;background:transparent;color:inherit;cursor:pointer}.table-alignment-buttons>button:hover,.table-alignment-buttons>button:focus-visible{background:var(--hover, #f1f1f5);color:var(--text, #222)}.table-alignment-buttons>button:focus-visible{outline:2px solid var(--accent, #635bff);outline-offset:1px}.table-alignment-buttons>button[aria-pressed=true]{background:color-mix(in srgb,var(--accent, #635bff) 12%,transparent);color:var(--accent, #635bff)}.sb-table,.sb-table-frame,.sb-table th{position:relative}.sb-table input{text-align:inherit}.sb-table-global-alignment,.sb-table-context-menu,.table-global-alignment{display:flex;align-items:center;gap:4px;width:max-content;padding:3px 4px;border:1px solid var(--border, #dedee5);border-radius:7px;background:var(--surface, #fff);box-shadow:0 3px 12px #00000012;color:var(--muted, #70717c);font-size:11px;line-height:1.4;white-space:nowrap;text-align:left}.sb-table-global-alignment .table-alignment-buttons,.sb-table-context-menu .table-alignment-buttons,.table-global-alignment .table-alignment-buttons{border:0;box-shadow:none}.sb-table-context-menu{position:absolute;z-index:20}.document-table-controls,.table-hover-controls{position:fixed;z-index:1100}@media print{.sb-table-global-alignment,.sb-table-column-alignment,.sb-table-context-menu,.document-table-controls,.table-hover-controls{display:none!important}}.sb-block>.sb-data-details:not([open]),.sb-primitive>.sb-primitive-editor:not([open]){position:absolute;right:0;bottom:0;z-index:6;margin:0;border:0}.sb-block>.sb-data-details:not([open])>summary,.sb-primitive-editor:not([open])>summary{opacity:0;padding:6px 10px;background:var(--sb-surface, #fff);border-radius:4px}.sb-data-details:not([open]):hover>summary,.sb-data-details:not([open]):focus-within>summary,.sb-primitive-editor:not([open]):hover>summary,.sb-primitive-editor:not([open]):focus-within>summary{opacity:1}.sb-primitive{position:relative}.sb-table-actions{position:absolute;right:0;top:0;z-index:6;margin:0;padding:6px 10px;background:var(--paper, #fff);border-radius:4px;opacity:0}.sb-table-actions:hover,.sb-table-actions:focus-within{opacity:1}.sb-gallery-grid,.sb-metric-grid{padding-inline:0}.sb-chart-legend{padding-left:0;padding-right:0}.sb-g2-chart>.sb-g2-toolbar{position:absolute;right:0;top:36px;z-index:7;margin:0;padding:5px 8px;background:var(--sb-surface);border-radius:5px;opacity:0}.sb-g2-chart>.sb-g2-toolbar:hover,.sb-g2-chart>.sb-g2-toolbar:focus-within{opacity:1}.sb-g2-toolbar>span{display:none}@media(hover:none){.sb-header>.sb-actions,.sb-block>.sb-data-details:not([open])>summary,.sb-primitive-editor:not([open])>summary,.sb-table-actions,.sb-g2-chart>.sb-g2-toolbar{opacity:1}}@media print{.sb-header>.sb-actions,.sb-block>.sb-data-details:not([open]),.sb-primitive-editor,.sb-table-actions,.sb-g2-toolbar{display:none!important}}.sb-metric-foot:empty{display:none}.sb-board-column>.sb-add-row{opacity:0}.sb-board-column>.sb-add-row:hover,.sb-board-column>.sb-add-row:focus-visible{opacity:1}@media(hover:none){.sb-board-column>.sb-add-row{opacity:1}}
|
|
43
|
+
`);var nv=Z(Me(),1),ov=(0,nv.createContext)(null);function rv(e){let t=e&&typeof e=="object"&&!Array.isArray(e)?e.$binding:void 0;return!!t&&typeof t=="object"&&!Array.isArray(t)}var vd=rt("widget",{"zh-CN":{unavailable:"\u533A\u5757\u6682\u65F6\u65E0\u6CD5\u663E\u793A",needsCheck:"\u533A\u5757\u6570\u636E\u9700\u8981\u68C0\u67E5",notRegistered:"\u5C1A\u672A\u6CE8\u518C\u300C{kind}\u300D\u533A\u5757",dataKept:"\u539F\u59CB\u6570\u636E\u5DF2\u4FDD\u7559\u3002\u6CE8\u518C\u5BF9\u5E94\u7684 React \u7EC4\u4EF6\u540E\u5373\u53EF\u663E\u793A\u3002",viewData:"\u67E5\u770B\u533A\u5757\u6570\u636E",downloadData:"\u4E0B\u8F7D\u533A\u5757\u6570\u636E",renderFailed:"\u7EC4\u4EF6\u6E32\u67D3\u5931\u8D25\u3002",invalidData:"\u533A\u5757\u6570\u636E\u683C\u5F0F\u4E0D\u6B63\u786E\u3002",loading:"\u6B63\u5728\u52A0\u8F7D\u7EC4\u4EF6\u2026",sharedDataUnavailable:"\u6B64\u7EC4\u4EF6\u7684\u6570\u636E\u6765\u81EA\u5171\u4EAB\u6570\u636E\uFF0C\u5728\u5F53\u524D\u4F4D\u7F6E\u65E0\u6CD5\u8BFB\u53D6\u3002"},en:{unavailable:"Block can't be displayed right now",needsCheck:"Block data needs checking",notRegistered:"The \u201C{kind}\u201D block isn't registered",dataKept:"The original data is kept. It will display once the matching React component is registered.",viewData:"View block data",downloadData:"Download block data",renderFailed:"The component failed to render.",invalidData:"The block data format is invalid.",loading:"Loading component\u2026",sharedDataUnavailable:"This component's data comes from shared data, which can't be read here."}});var gt=Z(de(),1),lv=St(vd);function xd({kind:e,data:t,error:a}){let n=se(vd);return(0,gt.jsxs)("section",{className:"sb-block sb-unavailable","aria-label":n("unavailable"),children:[(0,gt.jsxs)("div",{className:"sb-unavailable-heading",children:[(0,gt.jsx)(om,{size:20}),(0,gt.jsxs)("div",{children:[(0,gt.jsx)("strong",{children:a?n("needsCheck"):n("notRegistered",{kind:e})}),(0,gt.jsx)("p",{children:a||n("dataKept")})]})]}),(0,gt.jsxs)("details",{className:"sb-data-details",children:[(0,gt.jsx)("summary",{children:n("viewData")}),(0,gt.jsx)("pre",{children:JSON.stringify(t,null,2)})]}),(0,gt.jsxs)("button",{type:"button",className:"sb-button",onClick:()=>hl(JSON.stringify({kind:e,data:t},null,2),`${e}.json`,"application/json"),children:[(0,gt.jsx)(_5,{size:14}),n("downloadData")]})]})}var n5=class extends Ya.Component{state={error:null};static getDerivedStateFromError(t){return{error:t.message||lv("renderFailed")}}componentDidUpdate(t){this.state.error&&(t.data!==this.props.data||t.kind!==this.props.kind)&&this.setState({error:null})}render(){return this.state.error?(0,gt.jsx)(xd,{kind:this.props.kind,data:this.props.data,error:this.state.error}):this.props.children}},o5=(0,Ya.memo)(function(t){let a=(0,Ya.useContext)(ov);return rv(t.data)?a?(0,gt.jsxs)(gt.Fragment,{children:[(0,gt.jsx)(a.Action,{...t}),(0,gt.jsx)(a.Bound,{...t,render:n=>(0,gt.jsx)(iv,{...n})})]}):(0,gt.jsx)(xd,{kind:t.kind,data:t.data,error:lv("sharedDataUnavailable")}):(0,gt.jsxs)(gt.Fragment,{children:[a&&(0,gt.jsx)(a.Action,{...t}),(0,gt.jsx)(iv,{...t})]})}),iv=(0,Ya.memo)(function({kind:t,data:a,onChange:n,readOnly:o,host:r}){let i=(0,Ya.useMemo)(()=>j6(a),[a]),l=n&&!o?y=>n(Tr(y)):void 0,s=(0,Ya.useContext)(ni),c=(0,Ya.useContext)(ys),d=(0,Ya.useMemo)(()=>({useCatalog:xs,registerComponent:s,renderWidget:y=>(0,gt.jsx)(o5,{...y}),assistant:o?null:c}),[s,c,o]);(0,Ya.useSyncExternalStore)(tv,t5,t5);let u=se(vd),p=a5(t);if(!p)return(0,gt.jsx)(xd,{kind:t,data:a});if(p.validate)try{p.validate(i)}catch(y){return(0,gt.jsx)(xd,{kind:t,data:a,error:y instanceof Error?y.message:u("invalidData")})}let b=p.renderer;return(0,gt.jsx)(n5,{kind:t,data:a,children:(0,gt.jsx)(Ya.Suspense,{fallback:(0,gt.jsx)("section",{className:"sb-block","data-preview-pending":"true",role:"status",style:{minHeight:typeof a.height=="number"?a.height:t.startsWith("g2-")?320:180},children:u("loading")}),children:(0,gt.jsx)(Z1.Provider,{value:d,children:(0,gt.jsx)(b,{data:i,onChange:l,readOnly:o,host:r})})})},t)});var wd=Z(de(),1);function sv({content:e,data:t}){return(0,wd.jsx)(my,{content:e,data:t,renderWidget:(a,n)=>(0,wd.jsx)(PC,{kind:a,data:n})})}function PC({kind:e,data:t}){let[a,n]=(0,kd.useState)(t);(0,kd.useEffect)(()=>n(t),[t]);let o=typeof window>"u"?void 0:window.document.querySelector('script#showai-read-options[type="application/json"]')?.textContent,r=o?JSON.parse(o).draft===!0:!1;return(0,wd.jsx)(o5,{kind:e,data:a,readOnly:!r,onChange:r?n:void 0})}var r5=Z(de(),1);function dv({document:e,heading:t,presentation:a="spatial",partial:n=!1}){let o=(0,cv.useMemo)(()=>M1(e,{includeTitle:!n}),[e,n]),r=typeof window>"u"?null:window.document.querySelector('script#showai-read-options[type="application/json"]')?.textContent,i=r?JSON.parse(r).nativeInkBackground===!0:!1;return(0,r5.jsx)(iy,{document:o,hideTitle:n,header:t,reading:a==="reading",nativeInkBackground:i,renderContent:({content:l,componentData:s})=>(0,r5.jsx)(sv,{content:l,data:s})})}var fo=Z(Me(),1);function Sd(e){return e.text?e.text:e.type==="widget"&&e.attrs?.kind==="text"?Sd(ul(e.attrs.data)):(e.content??[]).map(Sd).join(e.type==="doc"?`
|
|
44
|
+
`:"")}var Cd={ids:100,labels:20,labelChars:160},uv=e=>e.replace(/\s+/g," ").trim().slice(0,Cd.labelChars);function pv(e){if(e.type!=="widget"||e.attrs?.kind!=="text")return[];let t=e.attrs.data;return t&&typeof t=="object"?ul(t).content??[]:[]}function i5(e,t){if(t.length>=Cd.labels)return;let a=pv(e);if(a.length){for(let n of a)i5(n,t);return}if(e.content?.some(n=>n.type==="text")){let n=uv(Sd(e));n&&t.push(n);return}for(let n of e.content??[])i5(n,t)}function Td(e,t){let a=new Map,n=new Map;Pn(e.content,i=>{let l=i.attrs?.id;if(!(typeof l!="string"||["doc","text"].includes(i.type??""))){a.set(l,i);for(let s of pv(i))Pn(s,c=>{typeof c.attrs?.id=="string"&&n.set(c.attrs.id,l)})}});let o=[],r=[];for(let i of t){let l=a.has(i)?i:n.get(i);l?o.includes(l)||o.push(l):r.push(i)}return{ids:o,missing:r,nodes:a}}function mv(e,t,a){let{document:n}=t,{ids:o,missing:r,nodes:i}=Td(n,a.blockIds??[]);if(r.length)throw new Error(`Referenced content is not in the saved page: ${r.join(", ")}`);if(a.surfaceId&&!i.has(a.surfaceId))throw new Error(`Referenced Board is not in the saved page: ${a.surfaceId}`);let l=[];if(a.kind==="text"&&a.text)for(let d of a.text.split(`
|
|
45
|
+
`)){let u=uv(d);u&&l.length<Cd.labels&&l.push(u)}else{let d=o.length?o.map(u=>i.get(u)):[a.surfaceId&&i.get(a.surfaceId)||n.content];for(let u of d)i5(u,l)}let s=o.slice(0,Cd.ids),c=a.kind==="board"?"board":s.length?"selection":"page";return{type:"showai.reference",version:1,kind:c,projectId:e,pageId:n.id,title:n.title,hash:t.hash,...t.revision?{revision:t.revision}:{},...s.length?c==="board"?{nodeIds:s}:{blockIds:s}:{},...a.surfaceId?{surfaceId:a.surfaceId}:{},labels:l,...a.reference?{position:a.reference}:{}}}function OC(e){let t=e.blockIds??e.nodeIds??(e.surfaceId?[e.surfaceId]:[]),a=`showai://project/${encodeURIComponent(e.projectId)}/page/${encodeURIComponent(e.pageId)}`;return t.length?`${a}?blocks=${t.map(encodeURIComponent).join(",")}`:a}var l5=e=>(e.revision??e.hash).slice(0,7);function fv(e,t){return`${t}
|
|
46
|
+
${OC(e)}
|
|
47
|
+
${JSON.stringify(e)}`}var As=rt("reader",{"zh-CN":{draftNote:"\u4EA4\u4E92\u9884\u89C8 \xB7 \u66F4\u6539\u4EC5\u4FDD\u5B58\u5728\u6B64\u9884\u89C8\u4E2D",downloadOriginalSource:"\u4E0B\u8F7D\u539F\u59CB\u6E90\u6587\u4EF6",remoteInlineBlocked:"\u5BF9\u8BDD\u5185\u9875\u9762\u5FC5\u987B\u5B8C\u6574\u6253\u5305\u7EC4\u4EF6\uFF0C\u4E0D\u80FD\u4F7F\u7528\u8FDC\u7A0B\u4F9D\u8D56\u3002",remoteLoadFailed:"\u8FDC\u7A0B\u7EC4\u4EF6\u65E0\u6CD5\u52A0\u8F7D\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u3002",remoteLoading:"\u6B63\u5728\u6821\u9A8C\u5E76\u52A0\u8F7D\u5DF2\u53D1\u5E03\u7684\u56FA\u5B9A\u7248\u672C\u7EC4\u4EF6\u2026",remoteRequired:"\u6B64\u9875\u9762\u4F7F\u7528\u5DF2\u53D1\u5E03\u7684\u56FA\u5B9A\u7248\u672C\u7EC4\u4EF6\uFF0C\u9700\u8981\u8054\u7F51\u52A0\u8F7D\u3002",integrityUnavailable:"\u7EC4\u4EF6\u5B8C\u6574\u6027\u6821\u9A8C\u9700\u8981 HTTPS \u6216\u5728\u672C\u673A\u6253\u5F00\u9875\u9762\u3002",componentFetchFailed:"\u65E0\u6CD5\u52A0\u8F7D\u7EC4\u4EF6 {component}\uFF1A{reason}\u3002\u8BF7\u68C0\u67E5\u7F51\u7EDC\u548C\u53D1\u5E03\u670D\u52A1\u5668\u7684 CORS \u8BBE\u7F6E\u3002",networkFailed:"\u7F51\u7EDC\u8BF7\u6C42\u5931\u8D25",componentChecksumFailed:"\u7EC4\u4EF6 {component} \u7684\u6587\u4EF6\u6821\u9A8C\u5931\u8D25\uFF08SHA-256 \u6216\u5B57\u8282\u6570\u4E0D\u4E00\u81F4\uFF09\u3002",lockedComponentMissing:"\u7F3A\u5C11\u9875\u9762\u9501\u5B9A\u7684\u7EC4\u4EF6 {component}\uFF0C\u539F\u9875\u9762\u672A\u88AB\u66FF\u6362\u3002",emptyPage:"\u9875\u9762\u5185\u5BB9\u4E3A\u7A7A\u3002",unreadablePage:"\u65E0\u6CD5\u8BFB\u53D6\u8FD9\u4EFD\u9875\u9762\u3002",openFailed:"\u65E0\u6CD5\u6253\u5F00\u9875\u9762",referenceSelection:"\u5F15\u7528\u9009\u533A\u5230\u5BF9\u8BDD\uFF08{count}\uFF09",referenceBlock:"\u5F15\u7528\u6B64\u5757\u5230\u5BF9\u8BDD",referencePage:"\u5F15\u7528\u6574\u9875\u5230\u5BF9\u8BDD",referenceClear:"\u53D6\u6D88\u5BF9\u8BDD\u5F15\u7528",referenceAdded:"\u5DF2\u52A0\u5165\u5BF9\u8BDD\u8F93\u5165\u6846 \xB7 \u5F15\u7528\u7248\u672C {version}",referenceCleared:"\u5DF2\u53D6\u6D88\u5BF9\u8BDD\u5F15\u7528",referenceUnavailable:"\u5F53\u524D\u5BF9\u8BDD\u4E0D\u63A5\u6536\u9875\u9762\u5F15\u7528\u3002",referenceHeadingSelection:"ShowAI \u5F15\u7528 \xB7 \u9009\u533A\uFF08{count} \u4E2A\u5757\uFF09\xB7\u300A{title}\u300B\xB7 \u7248\u672C {version}",referenceHeadingBoard:"ShowAI \u5F15\u7528 \xB7 Board \u4E2D {count} \u4E2A\u5BF9\u8C61 \xB7\u300A{title}\u300B\xB7 \u7248\u672C {version}",referenceHeadingBoardAll:"ShowAI \u5F15\u7528 \xB7 \u6574\u4E2A Board \xB7\u300A{title}\u300B\xB7 \u7248\u672C {version}",referenceHeadingPage:"ShowAI \u5F15\u7528 \xB7 \u6574\u9875 \xB7\u300A{title}\u300B\xB7 \u7248\u672C {version}"},en:{draftNote:"Interactive preview \xB7 Changes are kept only in this preview",downloadOriginalSource:"Download original source file",remoteInlineBlocked:"Pages shown in a conversation must bundle their components; remote dependencies aren't allowed.",remoteLoadFailed:"Couldn't load remote components. Check your network.",remoteLoading:"Verifying and loading published component versions\u2026",remoteRequired:"This page uses published component versions and needs a network connection to load them.",integrityUnavailable:"Verifying components requires HTTPS or opening the page locally.",componentFetchFailed:"Couldn't load component {component}: {reason}. Check your network and the publishing server's CORS settings.",networkFailed:"Network request failed",componentChecksumFailed:"Component {component} failed verification (SHA-256 or size mismatch).",lockedComponentMissing:"Component {component} locked by this page is missing. The original page was not replaced.",emptyPage:"The page is empty.",unreadablePage:"Couldn't read this page.",openFailed:"Couldn't open page",referenceSelection:"Reference selection in chat ({count})",referenceBlock:"Reference this block in chat",referencePage:"Reference the page in chat",referenceClear:"Remove the chat reference",referenceAdded:"Added to the chat input \xB7 version {version}",referenceCleared:"Chat reference removed",referenceUnavailable:"This conversation doesn't accept page references.",referenceHeadingSelection:{one:"ShowAI reference \xB7 selection ({count} block) \xB7 \u201C{title}\u201D \xB7 version {version}",other:"ShowAI reference \xB7 selection ({count} blocks) \xB7 \u201C{title}\u201D \xB7 version {version}"},referenceHeadingBoard:{one:"ShowAI reference \xB7 {count} Board object \xB7 \u201C{title}\u201D \xB7 version {version}",other:"ShowAI reference \xB7 {count} Board objects \xB7 \u201C{title}\u201D \xB7 version {version}"},referenceHeadingBoardAll:"ShowAI reference \xB7 whole Board \xB7 \u201C{title}\u201D \xB7 version {version}",referenceHeadingPage:"ShowAI reference \xB7 whole page \xB7 \u201C{title}\u201D \xB7 version {version}"}});var $n=Z(de(),1),BC="showai:conversation-reference";function bv(e){let t=e?JSON.parse(e).conversation:null;return t&&typeof t.projectId=="string"&&typeof t.pageId=="string"&&typeof t.hash=="string"?{projectId:t.projectId,pageId:t.pageId,title:typeof t.title=="string"?t.title:"",hash:t.hash,...typeof t.revision=="string"?{revision:t.revision}:{}}:null}var s5=e=>e.dataset.blockId??e.dataset.surfaceId;function gv(e,t){let{clientX:a,clientY:n}=t,o=t.target instanceof Element?S6(t.target):null,r=window.getSelection(),i=r?.rangeCount?r.getRangeAt(0):null,l=o?.ranges??(i&&!i.collapsed?[i]:[]);if(!l.some(d=>[...d.getClientRects()].some(u=>a>=u.left&&a<=u.right&&n>=u.top&&n<=u.bottom)))return null;let c=[...e.querySelectorAll("[data-block-id],[data-surface-id]")].filter(d=>l.some(u=>{if(!u.intersectsNode(d))return!1;let p=document.createRange();return p.selectNodeContents(d),u.compareBoundaryPoints(Range.START_TO_START,p)<=0&&u.compareBoundaryPoints(Range.END_TO_END,p)>=0?!0:(u.compareBoundaryPoints(Range.START_TO_START,p)>0&&p.setStart(u.startContainer,u.startOffset),u.compareBoundaryPoints(Range.END_TO_END,p)<0&&p.setEnd(u.endContainer,u.endOffset),p.toString().trim()!=="")}));return{elements:c.filter(d=>!c.some(u=>u!==d&&d.contains(u))),text:o?.text??r?.toString()??""}}function hv(e,t,a){let n=se(As),[o,r]=(0,fo.useState)(null),[i,l]=(0,fo.useState)(!1),[s,c]=(0,fo.useState)(""),d=(0,fo.useRef)(null),u=async(m,v="")=>{let T={reference:m,text:v};if(e.current?.dispatchEvent(new CustomEvent(BC,{bubbles:!0,composed:!0,detail:T})),!T.result)throw new Error(n("referenceUnavailable"));await T.result},p=m=>{if(!a)return;let{ids:v}=Td(t,m.blockIds??[]),T=m.surfaceId&&!Td(t,[m.surfaceId]).missing.length?m.surfaceId:void 0,x=mv(a.projectId,{document:t,hash:a.hash,revision:a.revision},{...m,blockIds:v,surfaceId:T,...m.kind!=="page"&&!v.length&&!T?{kind:"page"}:{}}),E=n(x.kind==="page"?"referenceHeadingPage":x.kind==="board"?x.nodeIds?.length?"referenceHeadingBoard":"referenceHeadingBoardAll":"referenceHeadingSelection",{title:x.title||a.title,count:(x.blockIds??x.nodeIds??[]).length,version:l5(x)});u(x,fv(x,E)).then(()=>{l(!0),c(n("referenceAdded",{version:l5(x)}))}).catch(P=>c(P.message))},b=()=>{u(null).then(()=>{l(!1),c(n("referenceCleared"))}).catch(m=>c(m.message))};(0,fo.useEffect)(()=>{let m=e.current;if(!a||!m)return;let v=null,T=E=>{E.button===2&&(v={at:E.timeStamp,selection:gv(m,E)})},x=E=>{let P=E.target;if(E.shiftKey||P.closest("input,textarea,select,a[href],[contenteditable=true]"))return;E.preventDefault();let U=v&&E.timeStamp-v.at<1e3?v.selection:gv(m,E);v=null,r({x:E.clientX,y:E.clientY,selection:U?.elements??[],text:U?.text??"",block:P.closest("[data-block-id],[data-surface-id]")})};return m.addEventListener("pointerdown",T,!0),m.addEventListener("contextmenu",x),()=>{m.removeEventListener("pointerdown",T,!0),m.removeEventListener("contextmenu",x)}},[e,a]),(0,fo.useEffect)(()=>{if(!o)return;let m=v=>{v instanceof KeyboardEvent&&v.key!=="Escape"||v instanceof PointerEvent&&d.current?.contains(v.target)||r(null)};return window.addEventListener("pointerdown",m,!0),window.addEventListener("keydown",m,!0),window.addEventListener("scroll",m,!0),()=>{window.removeEventListener("pointerdown",m,!0),window.removeEventListener("keydown",m,!0),window.removeEventListener("scroll",m,!0)}},[o]),(0,fo.useEffect)(()=>{if(!s)return;let m=setTimeout(()=>c(""),3e3);return()=>clearTimeout(m)},[s]),(0,fo.useEffect)(()=>{let m=d.current;if(!m||!o)return;let v=m.getBoundingClientRect();m.style.left=`${Math.max(8,Math.min(o.x,innerWidth-v.width-8))}px`,m.style.top=`${Math.max(8,Math.min(o.y,innerHeight-v.height-8))}px`,m.querySelector("button")?.focus()},[o]);let y=m=>{let v=at(t,m)?.parent;return v?.type==="surface"&&v.attrs?.kind==="board"?v.attrs.id:void 0},f=(m,v)=>{let T=m.map(s5),x=T.map(y);return x[0]&&x.every(E=>E===x[0])?{kind:"board",blockIds:T,surfaceId:x[0]}:v?{kind:"text",blockIds:m.map(s5),text:v}:{kind:"blocks",blockIds:m.map(s5)}},w=m=>{r(null),m()};return{contextMenu:o&&(0,$n.jsxs)("div",{ref:d,className:"portable-options-menu portable-context-menu",role:"menu",style:{left:o.x,top:o.y},children:[o.selection.length?(0,$n.jsxs)("button",{role:"menuitem",onClick:()=>w(()=>p(f(o.selection,o.text))),children:[(0,$n.jsx)(gi,{size:15}),n("referenceSelection",{count:o.selection.length})]}):o.block&&(0,$n.jsxs)("button",{role:"menuitem",onClick:()=>w(()=>p(f([o.block]))),children:[(0,$n.jsx)(gi,{size:15}),n("referenceBlock")]}),(0,$n.jsxs)("button",{role:"menuitem",onClick:()=>w(()=>p({kind:"page"})),children:[(0,$n.jsx)(gi,{size:15}),n("referencePage")]}),i&&(0,$n.jsxs)("button",{role:"menuitem",onClick:()=>w(b),children:[(0,$n.jsx)(Ja,{size:15}),n("referenceClear")]})]}),status:s&&(0,$n.jsx)("div",{className:"portable-reference-status",role:"status",children:s})}}mt(`@charset "UTF-8";.portable-draft-note{padding:10px 24px;color:var(--text-secondary);background:var(--surface);border-bottom:1px solid var(--border);font-size:12px}:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;--bg: #fff;--surface: #fff;--text: #292d29;--text-secondary: #70756f;--muted: #8a8f87;--border: #e6e8e1;--accent: #34644e;--accent-soft: #edf3ea;--hover: #f2f4ef;--editor-bg: #fff;color-scheme:light}:root[data-theme=dark]{color-scheme:dark;--bg: #191d1a;--surface: #202621;--text: #e6eae3;--text-secondary: #a0aaa0;--muted: #8c978c;--border: #363f35;--accent: #a0c7a3;--accent-soft: #283b2d;--hover: #293029;--editor-bg: #191d1a}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,select{font:inherit}button{cursor:pointer;background:transparent;border:1px solid transparent;color:inherit}button:hover{background:var(--hover)}button,a,input,select{outline-offset:4px}button:focus-visible,a:focus-visible{outline:2px solid var(--accent)}a{color:var(--accent)}html{scroll-behavior:smooth}.portable-options{position:fixed;right:24px;top:20px;z-index:30}.portable-options-trigger{width:36px;height:36px;display:grid;place-items:center;border-radius:8px;color:var(--text-secondary)}.portable-options-menu{position:absolute;right:0;top:43px;width:178px;padding:5px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 8px 32px #17221512;animation:menu-appear .12s ease-out}.portable-options-menu button{width:100%;display:flex;align-items:center;gap:10px;padding:10px;border-radius:6px;font-size:13px;text-align:left}.portable-options-menu svg{color:var(--text-secondary)}.portable-context-menu{position:fixed;right:auto;z-index:40;width:max-content;max-width:min(320px,calc(100vw - 16px))}.portable-reference-status{position:fixed;left:50%;bottom:18px;z-index:40;max-width:calc(100vw - 32px);padding:8px 14px;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:0 8px 32px #17221512;color:var(--text-secondary);font-size:13px;transform:translate(-50%)}.portable-document{max-width:960px;margin:0 auto;padding:90px 44px 96px}.portable-title{font-weight:600;letter-spacing:-.035em;font-size:42px;line-height:1.22;margin:0 0 32px;overflow-wrap:anywhere}.portable-page-heading{display:flex;align-items:flex-start;gap:14px;min-width:0;margin-bottom:32px}.portable-page-icon{flex-shrink:0}.portable-page-heading .portable-title{flex:1;min-width:0;margin:0}.portable-partial .portable-document{padding:24px}.portable-partial .surface-reading-heading:empty{display:none}.portable-content{overflow-wrap:anywhere}.portable-content>:first-child{margin-top:0}.portable-content p{white-space:pre-wrap}.portable-image{display:block;max-width:100%;height:auto;margin:22px auto;border-radius:5px;object-fit:contain}.portable-table-scroll>table{table-layout:fixed}.portable-table-scroll>table>tbody>tr>th,.portable-table-scroll>table>tbody>tr>td{min-width:70px}.portable-callout{display:flex;gap:11px;margin:22px 0;border-radius:6px;padding:14px 17px;background:var(--accent-soft)}.portable-callout.tone-sage{background:color-mix(in srgb,#a9c495 18%,var(--surface))}.portable-callout.tone-sand{background:color-mix(in srgb,#d5b677 19%,var(--surface))}.portable-callout.tone-blue{background:color-mix(in srgb,#93b9cd 18%,var(--surface))}.portable-callout.tone-rose{background:color-mix(in srgb,#cb9493 16%,var(--surface))}.portable-callout-icon{flex:0 0 24px;font-size:18px}.portable-callout>div{min-width:0;flex:1}.portable-callout>div>:first-child{margin-top:0}.portable-callout>div>:last-child{margin-bottom:0}.portable-toggle{margin:17px 0}.portable-toggle summary{cursor:pointer;font-weight:550}.portable-toggle summary::marker{color:var(--accent)}.portable-toggle-body{border-left:1px solid var(--border);margin:8px 0 0 7px;padding-left:21px}.portable-widget{margin:25px 0}.portable-error{max-width:600px;margin:15vh auto;padding:30px}.portable-error h1{font-size:24px;font-weight:500}.portable-error p{font-size:15px;line-height:1.8;color:var(--text-secondary)}.portable-network-note{color:var(--text-secondary);font-size:13px;line-height:1.6;margin:-12px 0 20px}.portable-network-error{padding:12px 14px;color:#b8463c;border:1px solid currentColor;border-radius:6px;font-size:14px;line-height:1.6;overflow-wrap:anywhere}:root[data-theme=dark] .portable-network-error{color:#f18c80}@keyframes menu-appear{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@media(max-width:700px){.portable-options{right:14px;top:12px}.portable-document{padding:76px 22px 64px}.portable-title{font-size:32px;margin-bottom:24px}.portable-page-heading{margin-bottom:24px}.portable-table-scroll>table{display:block;overflow-x:auto}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media print{.portable-options,.portable-context-menu,.portable-reference-status{display:none!important}.portable-document{max-width:none;margin:0;padding:0}.portable-title{font-size:30px}.portable-content{font-size:11pt}body,:root{--bg: #fff;--surface: #fff;--text: #111;--text-secondary: #444;--border: #ddd;background:#fff!important;color:#000!important}a{color:inherit}button{border:0}table,figure,.widget-block{break-inside:avoid}}
|
|
48
|
+
`);mt(`:root,.studio,.studio.settings-view,.studio-modal-shade,.studio-context-menu,[data-showai-inline-root]{--font-sans: "Airbnb Cereal VF", "Circular", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;--font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;--brand: #120a8f;--action: #120a8f;--action-hover: #0d076b;--text: #222222;--muted: #6a6a6a;--subtle: #929292;--paper: #ffffff;--surface: #fafafa;--line: #dddddd;--hover: #f7f7f7;--accent: var(--action);--accent-soft: #eeedf9;--brand-accent: var(--brand);--danger: #c13515;--selected: #f2f2f2;--bg: var(--paper);--border: var(--line);--text-secondary: var(--muted);--editor-bg: var(--paper);--radius-control: 8px;--radius-card: 16px;--radius-panel: 20px;--radius-pill: 999px;--space-unit: 8px;--shadow: 0 0 0 1px #00000005, 0 2px 6px #0000000a, 0 4px 8px #00000014;--shadow-dialog: 0 16px 64px #00000024;--studio-topbar-height: 56px;font-family:var(--font-sans);font-weight:500;font-synthesis:none;color-scheme:light;color:var(--text);letter-spacing:0;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}:root[data-theme=dark],:root[data-theme=dark] .studio,:root[data-theme=dark] .studio.settings-view,:root[data-theme=dark] .studio-modal-shade,:root[data-theme=dark] .studio-context-menu,[data-showai-inline-root][data-theme=dark]{--text: #f7f7f7;--muted: #b0b0b0;--subtle: #929292;--paper: #181818;--surface: #222222;--line: #414141;--hover: #2c2c2c;--accent: #aaa4ff;--brand-accent: #aaa4ff;--accent-soft: #25233f;--selected: #2c2c2c;--danger: #ff9c86;--shadow: 0 0 0 1px #ffffff08, 0 2px 6px #00000030, 0 4px 8px #00000040;--shadow-dialog: 0 16px 64px #00000066;color-scheme:dark}:root,[data-showai-inline-root]{--ease-out: cubic-bezier(.23, 1, .32, 1);--ease-in-out: cubic-bezier(.77, 0, .175, 1);--duration-fast: .14s;--duration-base: .2s;--duration-slow: .32s}@keyframes showai-fade-in{0%{opacity:0}}@keyframes showai-pop-in{0%{opacity:0;scale:.96}}@keyframes showai-rise-in{0%{opacity:0;translate:0 8px}}@keyframes showai-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}.showai-text-shimmer{color:transparent;background:linear-gradient(90deg,var(--muted) 0%,var(--muted) 35%,var(--text) 50%,var(--muted) 65%,var(--muted) 100%) 0 0 / 200% 100%;-webkit-background-clip:text;background-clip:text;animation:showai-shimmer 2s linear infinite}button,input,textarea,select{font-family:inherit}button{transition:background-color .15s ease,color .15s ease,border-color .15s ease,transform .15s ease}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--text);outline-offset:3px}input:is([type=checkbox],[type=radio],[type=range],[type=color],[type=file],[type=button],[type=submit],[type=reset]):focus-visible,select:focus-visible{outline:2px solid var(--text);outline-offset:2px}input:not([type=checkbox],[type=radio],[type=range],[type=color],[type=file],[type=button],[type=submit],[type=reset]):focus,textarea:focus{outline:none}input::placeholder,textarea::placeholder{color:var(--subtle)}::selection{background:var(--accent-soft);color:var(--text)}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
|
|
49
|
+
`);mt(`:root{--reading-text: #494650;--reading-heading: #383042;--reading-accent: #120a8f;--reading-highlight: #e6e1fc;--reading-code: #f0eef9}:root[data-theme=dark]{--reading-text: #d4d1dd;--reading-heading: #e4dfec;--reading-accent: #bbb3ff;--reading-highlight: #37304f;--reading-code: #29243a}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-text){font-family:var(--font-sans);font-size:16px;font-weight:400;line-height:1.8;letter-spacing:0;color:var(--reading-text)}.sb-text>.sb-rich-text{font:inherit;line-height:inherit}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(h1,h2,h3,h4,h5,h6){color:var(--reading-heading);font-weight:600;letter-spacing:-.3px;scroll-margin-top:80px}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) h1{font-size:28px;line-height:1.35;margin:40px 0 14px}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) h2{font-size:22px;line-height:1.4;margin:34px 0 12px}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) h3{font-size:18px;line-height:1.45;margin:26px 0 8px}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(h4,h5,h6){font-size:16px;line-height:1.5;margin:20px 0 6px}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(h1,h2,h3,h4,h5,h6)+:is(h2,h3,h4,h5,h6){margin-top:14px}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) p{margin:0 0 14px}:is(.document-content,.portable-editor .tiptap,.portable-content) mark:not(:where(.sb-block *,.showai-custom-block *)),.sb-text .sb-rich-text mark{--showai-highlight-start: 43%;color:inherit;background:linear-gradient(transparent var(--showai-highlight-start),var(--showai-highlight-color, var(--reading-highlight)) var(--showai-highlight-start));box-decoration-break:clone;-webkit-box-decoration-break:clone;padding:0 1px;border-radius:0}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) mark[data-highlight-mode=full]{--showai-highlight-start: 0%}:is(.document-content,.portable-editor .tiptap,.portable-content) strong:not(:where(.sb-block *,.showai-custom-block *)),.sb-text .sb-rich-text strong{font-weight:600}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) mark{background-color:transparent!important}:root[data-theme=dark] :is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) mark{background-image:linear-gradient(transparent var(--showai-highlight-start, 43%),color-mix(in srgb,var(--showai-highlight-color, var(--reading-highlight)) 22%,transparent) var(--showai-highlight-start, 43%))}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) em{color:var(--reading-accent);font-style:normal;font-weight:550}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) a{color:var(--reading-accent);text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) blockquote{border-left:3px solid color-mix(in srgb,var(--reading-accent) 45%,transparent);background:none;color:var(--reading-text);padding:2px 0 2px 16px;margin:18px 0;border-radius:0}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) blockquote p{margin:0 0 8px}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(ul,ol){padding-left:1.5em;margin:0 0 14px}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) li{margin:4px 0;padding-left:.2em}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) li>p{margin:0}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) li>:is(ul,ol){margin:4px 0 0}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) ol{font-variant-numeric:tabular-nums}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(ul[data-type=taskList],.portable-task-list){list-style:none;padding-left:0}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(ul[data-type=taskList],.portable-task-list)>li{display:flex;align-items:flex-start;gap:10px;padding-left:0}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(ul[data-type=taskList],.portable-task-list)>li>label{flex:0 0 auto;display:inline-flex;align-items:center;height:1.8em}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(ul[data-type=taskList],.portable-task-list) input[type=checkbox]{appearance:none;-webkit-appearance:none;flex:0 0 auto;width:15px;height:15px;margin:0;border:1.5px solid color-mix(in srgb,var(--reading-text) 40%,transparent);border-radius:4px;background:transparent;cursor:pointer;--task-tick: #ffffff}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(ul[data-type=taskList],.portable-task-list) input[type=checkbox]:checked{border-color:var(--reading-accent);background-color:var(--reading-accent)}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(ul[data-type=taskList],.portable-task-list) input[type=checkbox]:checked:before{content:"";display:block;width:4px;height:8px;margin:1px 0 0 4px;border:solid var(--task-tick);border-width:0 2px 2px 0;transform:rotate(45deg)}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(ul[data-type=taskList],.portable-task-list) input[type=checkbox]:disabled{cursor:default}:root[data-theme=dark] :is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(ul[data-type=taskList],.portable-task-list) input[type=checkbox]:checked{--task-tick: #201c2e}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(ul[data-type=taskList],.portable-task-list) input[type=checkbox]:focus-visible{outline:2px solid var(--reading-accent);outline-offset:2px}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) .portable-task-list>li>input[type=checkbox]{margin-top:calc(.9em - 7.5px)}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(ul[data-type=taskList],.portable-task-list)>li>div{flex:1;min-width:0}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(ul[data-type=taskList],.portable-task-list)>li>div>p{margin:0}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(ul[data-type=taskList],.portable-task-list)>li[data-checked=true]>div>p{color:var(--muted);text-decoration:line-through}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) li::marker{color:var(--reading-accent)}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) code{font-family:var(--font-mono);font-size:.875em;color:var(--reading-accent);background:var(--reading-code);border-radius:4px;padding:.1em .35em}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) pre,.sb-code pre{border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--reading-text);padding:16px 20px;margin:18px 0;font:13.5px/1.7 var(--font-mono);white-space:pre;tab-size:2;overflow-x:auto}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) pre code{font:inherit;color:inherit;background:transparent;padding:0;border-radius:0}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) hr{border:0;border-top:1px solid var(--line);margin:28px 0}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text)>:first-child{margin-top:0}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text)>:last-child{margin-bottom:0}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(blockquote,li,th,td,.callout-content>div,.toggle-body>div>div,.portable-callout>div,.portable-toggle-body)>:last-child{margin-bottom:0}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(blockquote,li,th,td,.callout-content>div,.toggle-body>div>div,.portable-callout>div,.portable-toggle-body)>:first-child{margin-top:0}.document-content .document-image,.portable-editor .document-image,.portable-image,.sb-rich-text img,.sb-image img{border-radius:14px}:is(.document-content,.portable-editor .tiptap,.portable-content) :is(.tableWrapper,.portable-table-scroll):not(.sb-block *){overflow-x:auto;margin:18px 0}:is(.document-content,.portable-editor .tiptap,.portable-content) table:not(.sb-block table),.sb-rich-text table{border-collapse:collapse;width:100%;font-size:15px;line-height:1.6}:is(.document-content,.portable-editor .tiptap,.portable-content) :is(th,td):not(.sb-block :is(th,td)),.sb-rich-text :is(th,td){padding:8px 12px;border:1px solid var(--line);vertical-align:top;text-align:start}:is(.document-content,.portable-editor .tiptap,.portable-content) th:not(.sb-block th),.sb-rich-text th{background:var(--surface);color:var(--reading-heading);font-weight:600}:is(.document-content,.portable-editor .tiptap,.portable-content) :is(th,td):not(.sb-block :is(th,td))>p,.sb-rich-text :is(th,td)>p{margin:0}:is(.document-content,.portable-editor .tiptap,.portable-content) :is(th,td):not(.sb-block :is(th,td))>p+p,.sb-rich-text :is(th,td)>p+p{margin-top:6px}.sb-table table{font-size:inherit;line-height:inherit}.sb-table :is(th,td){padding:12px 16px;border-color:var(--line)}.sb-table th{background:var(--surface);font-weight:600}.sb-primitive{font-family:var(--font-sans)}.sb-image figcaption,.sb-primitive-editor{color:var(--muted);font-size:13px;line-height:1.5}.sb-image-empty{border-radius:14px;background:var(--surface);color:var(--muted)}.sb-primitive-editor :is(input,textarea){border:1px solid var(--line);border-radius:8px;padding:12px;background:var(--paper);color:var(--text)}.sb-code textarea{font-family:var(--font-mono);background:var(--paper);color:var(--text);border:1px solid var(--line);border-radius:8px;padding:12px}.sb-block{font-family:var(--font-sans);font-size:14px;font-weight:500;line-height:1.6;border-radius:16px}.sb-header{padding:20px 24px 16px}.sb-title{font-size:16px;font-weight:600}.sb-description{font-size:14px;line-height:1.6}.sb-block :is(.sb-button,.sb-icon-button){border-radius:8px}.sb-block .sb-button{min-height:36px;font-size:14px}.sb-metric-value{font-weight:700;letter-spacing:-.02em}.sb-bookmark-copy>strong{font-size:16px;line-height:1.4;font-weight:600}.sb-bookmark-copy>p{font-size:14px;line-height:1.6}.portable-document{max-width:1000px;padding:80px 64px 96px}.portable-title{font-size:32px;font-weight:700;letter-spacing:-.02em;line-height:1.25;margin-bottom:32px}.portable-options-trigger{border-radius:50%;width:40px;height:40px}.portable-options-menu{border-radius:16px;box-shadow:var(--shadow);padding:8px}.portable-options-menu button{border-radius:8px;min-height:40px;font-size:14px}.portable-toggle summary{font-weight:600}@media(max-width:700px){.portable-document{padding:76px 24px 64px}.portable-title{font-size:28px}.sb-header{padding:16px}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) pre,.sb-code pre{padding:16px}}@media print{.portable-document{max-width:none;padding:0}.sb-block{--sb-accent: #222222}}.document-content .page-document-flow>:first-child:not(.document-content :not(:first-child) *){margin-top:0}.document-content .page-document-flow>:last-child:not(.document-content :not(:last-child) *){margin-bottom:0}
|
|
50
|
+
`);var ht=Z(de(),1),Xi=St(As);function HC(e){let{code:t,params:a}=e??{},n=a?.component??"";return t==="INTEGRITY_UNAVAILABLE"?Xi("integrityUnavailable"):t==="COMPONENT_FETCH_FAILED"?Xi("componentFetchFailed",{component:n,reason:a?.reason||Xi("networkFailed")}):t==="COMPONENT_CHECKSUM_FAILED"?Xi("componentChecksumFailed",{component:n}):e instanceof Error?e.message:Xi("remoteLoadFailed")}function jC(e,t,a,n,o){let r=URL.createObjectURL(new Blob([w6(e,t,a,n,o)],{type:"application/json"})),i=window.document.createElement("a");i.href=r,i.download=`${e.title.replace(/[^\p{L}\p{N} _-]/gu,"").trim()||"page"}.showai.json`,i.click(),setTimeout(()=>URL.revokeObjectURL(r),1e3)}function UC({artifact:e,host:t}){let{inlineHost:a}=t,n=se(As),o=se(Ga),{document:r}=e,i=(0,na.useMemo)(()=>{let E=t.readOptions();return E?JSON.parse(E).draft===!0:!1},[t]),[l,s]=(0,na.useState)(()=>{let E=t.readOptions();return E?JSON.parse(E).theme==="dark":window.matchMedia("(prefers-color-scheme: dark)").matches}),[c,d]=(0,na.useState)(!1),u=(0,na.useRef)(null),p=(0,na.useRef)(null),b=(0,na.useMemo)(()=>bv(t.readOptions()),[t]),y=hv(p,r,b),f=(0,na.useRef)(null),[w,h]=(0,na.useState)([]),[m,v]=(0,na.useState)(""),[T,x]=(0,na.useState)(!!e.remoteComponents?.length);return(0,na.useEffect)(()=>{if(!e.remoteComponents?.length)return;if(a){v(n("remoteInlineBlocked")),x(!1);return}let E=new AbortController,P=!0;return x(!0),y6(e.remoteComponents,{signal:E.signal}).then(U=>{P&&(h(U),v(""))}).catch(U=>{P&&v(HC(U))}).finally(()=>{P&&x(!1)}),()=>{P=!1,E.abort()}},[e.remoteComponents]),(0,na.useEffect)(()=>{t.setTheme(l?"dark":"light")},[l,t]),(0,na.useEffect)(()=>{if(!c)return;let E=U=>{u.current?.contains(U.target)||d(!1)},P=U=>{U.key==="Escape"&&(d(!1),f.current?.focus())};return window.document.addEventListener("pointerdown",E),window.document.addEventListener("keydown",P),()=>{window.document.removeEventListener("pointerdown",E),window.document.removeEventListener("keydown",P)}},[c]),(0,ht.jsxs)("div",{ref:p,className:`portable-app${e.selection?" portable-partial":""}`,children:[i&&(0,ht.jsx)("div",{className:"portable-draft-note",role:"status",children:n("draftNote")}),(0,ht.jsxs)("div",{className:"portable-options",ref:u,children:[(0,ht.jsx)("button",{ref:f,className:"portable-options-trigger","aria-label":o("pageOptions"),"aria-expanded":c,"aria-controls":"page-options",onClick:()=>d(!c),children:(0,ht.jsx)(d1,{size:19})}),c&&(0,ht.jsxs)("div",{className:"portable-options-menu",id:"page-options",children:[(0,ht.jsxs)("button",{onClick:()=>{jC(r,e.components,e.remoteComponents,e.presentation,e.selection),d(!1)},children:[(0,ht.jsx)(wr,{size:15})," ",i?n("downloadOriginalSource"):o("downloadSource")]}),(0,ht.jsxs)("button",{onClick:()=>{s(!l),d(!1)},children:[l?(0,ht.jsx)(dm,{size:15}):(0,ht.jsx)(Q5,{size:15}),o(l?"lightAppearance":"darkAppearance")]}),(0,ht.jsxs)("button",{onClick:()=>{d(!1),window.print()},children:[(0,ht.jsx)(nm,{size:15})," ",o("print")]})]})]}),y.contextMenu,y.status,(0,ht.jsx)(u4,{components:[...e.components??[],...w],inlineHost:a,children:(0,ht.jsx)(dv,{document:r,presentation:e.presentation,partial:!!e.selection,heading:(0,ht.jsxs)(ht.Fragment,{children:[!a&&!e.selection&&(r.icon||r.title)&&(0,ht.jsxs)("div",{className:"portable-page-heading",children:[r.icon&&(0,ht.jsx)("div",{className:"portable-page-icon",children:(0,ht.jsx)(jn,{value:r.icon,size:48})}),r.title&&(0,ht.jsx)("h1",{className:"portable-title",children:r.title})]}),!!e.remoteComponents?.length&&(0,ht.jsx)("p",{className:"portable-network-note",children:n(T?"remoteLoading":"remoteRequired")}),m&&(0,ht.jsx)("p",{role:"alert",className:"portable-network-error",children:m})]})})})]})}function _C({host:e}){let t=se(As);(0,na.useLayoutEffect)(()=>yl(window.document),[]);let a=(0,na.useMemo)(()=>{let n=e.readArtifact();if(!n||n.trim()==="null")return{error:Xi("emptyPage")};try{return{artifact:x6(n)}}catch(o){return{error:o instanceof Error?o.message:Xi("unreadablePage")}}},[e]);return a.artifact?(0,ht.jsx)(UC,{artifact:a.artifact,host:e}):(0,ht.jsxs)("main",{className:"portable-error",children:[(0,ht.jsx)("h1",{children:t("openFailed")}),(0,ht.jsx)("p",{children:a.error})]})}function vv(e,t){D6(E6(t.inlineHost?.lang||window.document.documentElement.lang||navigator.language));let a=(0,yv.createRoot)(e);return a.render((0,ht.jsx)(na.StrictMode,{children:(0,ht.jsx)(_C,{host:t})})),()=>a.unmount()}var ZC=0;function oB(e,{artifact:t,options:a,standalone:n=!1}){if(e.id||(e.id=`showai-cdn-${++ZC}`),!/^[A-Za-z][\w-]*$/.test(e.id))throw new Error("The ShowAI root needs a simple id.");n||e.setAttribute("data-showai-inline-root",""),e.querySelectorAll(":scope > [data-showai-placeholder]").forEach(c=>c.remove());let o=e.ownerDocument.createElement("div");o.id=`${e.id}-root`,e.append(o);let r=S5(e,{scoped:!n}),i=typeof t=="string"?t:JSON.stringify(t),l=a?JSON.stringify(a):null,s=vv(o,{inlineHost:n?null:e,readArtifact:()=>i,readOptions:()=>l,setTheme:c=>{(n?e.ownerDocument.documentElement:e).dataset.theme=c}});return()=>{s(),r(),o.remove()}}export{oB as mount};
|
|
51
|
+
/*! For license information please see reader-PB4KAGUN.js.LEGAL.txt */
|