@flow97/react-toolkit 0.0.2 → 0.0.4
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/CHANGELOG.md +12 -0
- package/README.md +10 -10
- package/lib/index.d.ts +42 -37
- package/lib/index.js +3 -3
- package/lib/index.js.map +1 -1
- package/locale/hooks.js +259 -9
- package/locale/index.js +259 -9
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {isEqual,template,has,get,uniq,find,difference,compact,isArray,isNil,last,first}from'lodash-es';import {
|
|
2
|
-
`)[2]?.trim()||"Unknown";throw new Error(`Missing ToolkitsProvider in the tree. Component "${s}" must be wrapped with <ToolkitsProvider>. Please ensure ToolkitsProvider is rendered above this component in the component tree.`)}return useStore(e,o??(t=>t))}var _o,Bs,Pn,Qs=C(()=>{Ks();_o=createContext(null);Bs=o=>{let{children:e,...t}=o,s=useContext(_o),r=useMemo(()=>s?.getState().context??null,[s]),a=useMemo(()=>{let i={...r??{},...t},l=Ns(i);if(!l.getState().context.loginPath)throw new Error('ToolkitsProvider: \u8BF7\u914D\u7F6E "loginPath"');return l},[r,t]);return jsx(_o.Provider,{value:a,children:e})};process.env.NODE_ENV!=="production"&&(Bs.displayName="ToolkitsProvider");Pn=Bs;});var D=C(()=>{Qs();});function _(){let{context:{locale:o}}=I();return {t:useMemo(()=>(t,s)=>has(o,t)?template(get(o,t))(s):t,[o])}}var Ws=C(()=>{D();});var E=C(()=>{Ws();});function An(o,e){if(e<Qt.OK||e>=300)return false;if(!o||typeof o!="object")return true;let t=o;return Object.keys(Hs).some(r=>t[r]!==void 0&&t[r]!==null)?Object.entries(Hs).every(([r,a])=>{let n=t[r];return n==null?true:typeof n=="number"&&a.includes(n)}):true}function js(o){if(!o||typeof o!="object")return "Unknown error";for(let e of wn){let t=o[e];if(t)return String(t)}return "Unknown error"}async function En(o,e){switch(e){case "text":return o.text();case "arrayBuffer":return o.arrayBuffer();case "formData":return o.formData();case "json":return o.json();default:return o}}function L(o){let{notification:e}=App.useApp(),t=useNavigate(),{token:{token:s,clearToken:r},context:{apiBaseUrl:a,loginPath:n},game:{appId:i}}=I(),l=(h,f)=>{s&&h.headers.set("Authorization",`Bearer ${s}`);let S=f.context?.isGlobalMode??!i;h.headers.has(Ze)||h.headers.set(Ze,S?"global":encodeURIComponent(String(i)));},y=async h=>{if(!h.response)return e.error({message:"Network Error",description:h.message||"Network request failed"}),h;let{status:f}=h.response,c;try{let b=h.response.headers.get("content-type")||"";(b.includes("application/json")||b.startsWith("text/"))&&(c=await h.response.clone().json());}catch{}let S=js(c);switch(f){case Qt.UNAUTHORIZED:r(),n&&t(n,{replace:true});break;case Qt.UNREGISTERED:r(),n&&t(`${n}?unregistered=true`,{replace:true});break;case Qt.FORBIDDEN:e.error({message:"\u8BBF\u95EE\u88AB\u7981\u6B62",description:"\u60A8\u6CA1\u6709\u6743\u9650\u8BBF\u95EE\u6B64\u8D44\u6E90\u3002"});break;default:e.error({message:"Request failed",description:S});}return h},p=async(h,f,c)=>{if(!(c.headers.get("content-type")||"").includes("application/json"))return c;let b;try{b=await c.clone().json();}catch{return c}if(An(b,c.status))return new Response(JSON.stringify(b),{status:c.status,statusText:c.statusText,headers:c.headers});let d=js(b);throw e.error({message:"Request failed",description:d}),new To(d,c,b)},m=kn.create({prefixUrl:a,retry:0,timeout:Ln,...o,hooks:{beforeRequest:[l],beforeError:[y],afterResponse:[p]}}),g=async(h,f,c,S)=>{let{responseType:b="json",isGlobalMode:d,context:u,...x}=S||{},P={...u,responseType:b,...d!==void 0&&{isGlobalMode:d}},R={...x,context:P};c!==void 0&&(c instanceof FormData||c instanceof URLSearchParams||c instanceof Blob||typeof c=="string"||c instanceof ArrayBuffer||ArrayBuffer.isView(c)?R.body=c:R.json=c);let A=await m(f,{method:h,...R});return En(A,b)};return {get:(h,f)=>g("GET",h,void 0,f),post:(h,f,c)=>g("POST",h,f,c),put:(h,f,c)=>g("PUT",h,f,c),delete:(h,f)=>g("DELETE",h,void 0,f),patch:(h,f,c)=>g("PATCH",h,f,c),request:h=>{let{url:f,method:c="GET",...S}=h;return g(c,f,void 0,S)},instance:m}}var To,Hs,wn,Qt,Ln,re=C(()=>{D();Ne();To=class extends Error{constructor(t,s,r){super(t);Te(this,"response");Te(this,"data");this.name="HttpResponseError",this.response=s,this.data=r;}},Hs={code:[0,1,200],status:[0,1,200],errno:[0,1,200]},wn=["msg","message","error"],Qt={OK:200,UNAUTHORIZED:401,FORBIDDEN:403,UNREGISTERED:412},Ln=3e4;});var T,Re=C(()=>{T={permissions:{check:(o,e)=>["permissions","check",o,e],allPermissions:["permissions","all"],allPermissionsV2:["permissions","allV2"]},users:{all:["users"],detail:o=>["users","detail",o],create:["users","create"],update:["users","update"],delete:["users","delete"]},roles:{all:["roles"],detail:(o,e)=>["roles","detail",o,e],create:o=>["roles","create",o],update:o=>["roles","update",o],delete:["roles","delete"]},menus:{all:["menus"],navbar:o=>["menus","navbar",o],detail:o=>["menus","detail",o],create:["menus","create"],update:["menus","update"],delete:["menus","delete"]},enums:{gameGroups:["enums","gameGroups"],gameIds:o=>["enums","gameIds",o]},games:{all:["games","all"]},auth:{ticketLogin:o=>["auth","ticket-login",o]}};});function te(o,e){let{post:t}=L(),s=typeof o<"u"?typeof o=="string"?[o]:o:[],{data:r,...a}=useQuery({queryKey:T.permissions.check(s,"game_scoped"),queryFn:()=>t("/api/usystem/user/checkV2",{permissions:s},e),enabled:s.length>0,retry:false,select:i=>i.data}),n=true;return typeof o=="string"?n=r?.has_all?true:r?.[o]??false:Array.isArray(o)&&o.length>0&&(n=s.reduce((i,l)=>(i[l]=r?.has_all?true:r?.[l]??false,i),{})),{...a,data:n}}function Wt(){let{context:{loginPath:o},game:{appId:e}}=I(),{get:t}=L();return useQuery({queryKey:T.menus.navbar(e?String(e):void 0),queryFn:()=>t("/api/usystem/menu/navbar",{headers:{[Ze]:e?encodeURIComponent(String(e)):"global"}}),select:s=>s.data,enabled:window.location.pathname!==o})}var ke,Z=C(()=>{D();Ne();re();Re();ke=()=>{let{context:{useGameApiV2:o,gameScoped:e}}=I(),{get:t}=L();return useQuery({queryKey:T.games.all,queryFn:async()=>{let s={headers:{[Ze]:"global"}};return o?(await t("/api/game/list",s)).data?.list??[]:(await t("/api/usystem/game/all",s)).data??[]},enabled:e===true,retry:false})};});var Gn,X,Js=C(()=>{E();Z();Gn=o=>{let{children:e,code:t,showLoading:s,disabled:r,config:a,...n}=o,i=t?Array.isArray(t)?t:[t]:[],{data:l,isLoading:y}=te(i,a),{t:p}=_(),m=l&&(typeof l=="boolean"||Object.values(l).some(Boolean)),g=r||!m||y&&!s,h=y&&s,f=g,c=jsx(Button,{disabled:g,loading:h,...n,children:e});return f?jsx(Tooltip,{defaultOpen:false,title:p("global.noEntitlement"),children:c}):c},X=Gn;});var Xe=C(()=>{Js();});var $n,_t,rr=C(()=>{E();$n=o=>{let{extras:e,isConfirming:t,onConfirm:s,onReset:r,children:a,buttonsAlign:n="left",showReset:i}=o,{t:l}=_(),{token:{colorFillAlter:y,lineWidth:p,lineType:m,colorBorder:g,borderRadiusLG:h}}=theme.useToken();return jsx("div",{className:"max-w-none p-6 mb-6 border",style:{background:y,borderWidth:p,borderStyle:m,borderColor:g,borderRadius:h},children:jsxs("div",{className:`flex ${n==="bottom"?"flex-col":"flex-row"}`,children:[jsx("div",{className:`${n==="left"?"grow-0":"flex-1"}`,children:a}),jsx("div",{className:`${n==="bottom"?"text-end":"text-start"} ml-4`,children:jsxs(Space,{children:[jsx(Button,{type:"primary",disabled:t,onClick:s,children:l("FilterFormWrapper.confirmText")}),e?.map(f=>jsx(Fragment$1,{children:f.children},f.key)),i&&jsx(Button,{onClick:r,children:l("FilterFormWrapper.resetText")})]})})]})})},_t=$n;});var jt=C(()=>{rr();});function ti(o){let e=document.createElement("div"),t=createRoot(e);return new Promise(s=>{setTimeout(()=>{flushSync(()=>{t.render(o);}),s(e.innerHTML);});})}var ei,oi,Ke,ar=C(()=>{ei=o=>{let e=/(<[^>]*>)/;return o.split(e).filter(t=>t!=="")};oi=o=>{let{texts:e,children:t}=o,[s,r]=useState("");return useEffect(()=>{ti(t).then(a=>{let n=ei(a);for(let i of e)for(let l=0;l<n.length;l++)n[l]=n[l].replace(String(i),`<span style='color: #DC143C;'>${i}</span>`);r(n.join(""));});},[t,e]),jsx("div",{dangerouslySetInnerHTML:{__html:s}})},Ke=oi;});var Tt=C(()=>{ar();});function Xt(o){let{onSync:e}=o,t=useRef(void 0),s=useRef(false),r=t,a=s;return r.current=n=>{a.current=true;try{e(n);}finally{setTimeout(()=>{a.current=false;},0);}},{syncFromStoreRef:t,isSyncingFromStore:s}}var Do=C(()=>{});function Yt(o,e){return create()(devtools(subscribeWithSelector((t,s)=>({instances:new Map,registerInstance(r){t(a=>{let n=a.instances.get(r.id);if(n){if(n.refetch!==r.refetch){let p={...n,...r},m=new Map(a.instances);return m.set(r.id,p),{instances:m}}if(n.syncCallback!==r.syncCallback||!isEqual(n.extraMethods,r.extraMethods)){let p={...n,syncCallback:r.syncCallback,extraMethods:r.extraMethods},m=new Map(a.instances);return m.set(r.id,p),{instances:m}}return a}let i={...r,payload:o},l=new Map(a.instances);return l.set(r.id,i),{instances:l}});},unregisterInstance(r){t(a=>{let n=new Map(a.instances);return n.delete(r)?{instances:n}:a});},updatePayload(r,a,n=false){t(i=>{let l=i.instances.get(r);if(!l)return i;let y={...l.payload,...a};if(!isEqual(l.payload,y)){let p={...l,payload:y},m=new Map(i.instances);return m.set(r,p),n&&l.syncCallback&&setTimeout(()=>{l.syncCallback(y);},0),{instances:m}}return i});},getPayload(r){return s().instances.get(r)?.payload??o},async refetch(r,a){let n=s().instances.get(r);if(!n){console.warn(`List instance with id "${r}" not found`);return}let i=false;if(a){let l=n.payload,y={...l,...a};isEqual(l,y)||(s().updatePayload(r,a,true),i=true);}if(!i)try{await n.refetch();}catch(l){throw console.error(`Failed to refetch list instance "${r}":`,l),l}},getInstance(r){return s().instances.get(r)},getAllInstances(){return Array.from(s().instances.values())}})),{name:e}))}var Oo=C(()=>{});var to,eo,Y,Uo=C(()=>{Oo();to=Object.freeze({page:0,filters:Object.freeze({})}),eo=Yt(to,"infinite-list-store"),Y=Object.assign(eo,{registerInstance(o,e,t,s,r,a){eo.getState().registerInstance({id:o,url:e,queryKey:t,refetch:s,fetchNextPage:r,syncCallback:a,extraMethods:{fetchNextPage:r}});},fetchNextPage:o=>{let e=eo.getState().getInstance(o);if(!e)return console.warn(`InfiniteList instance with id "${o}" not found`),Promise.resolve();try{return Promise.resolve(e.fetchNextPage())}catch(t){return console.error(`Failed to fetch next page for InfiniteList instance "${o}":`,t),Promise.reject(t)}},getQueryKey(o){return eo.getState().getInstance(o)?.queryKey}});});function zl(o,e){return ql(o,e)}var Gl,Ol,kr,Ul,Nl,Kl,ql,Bl,Ql,wr=C(()=>{jt();re();E();Z();Do();Uo();Gl=300*1e3,Ol=30*1e3,kr=["GET","HEAD","OPTIONS"],Ul=["POST","PUT","PATCH","DELETE"],Nl=0,Kl=()=>`infiniteList_${Date.now()}_${++Nl}`,ql=(o,e)=>{let t={items:v=>v?v.flatMap(F=>F?.data?.list||[]):[],hasMore:v=>{if(!v)return false;let F=v;return F?.hasMore||F?.has_more||false},nextPageParam:(v,F,Q)=>{let $=F.at(-1);if(!$)return;let $e=$;if($e?.hasMore||$e?.has_more)return typeof Q=="number"?Q+1:F.length}},{identifier:s,code:r,buttonsAlign:a,showReset:n,refreshInterval:i=0,request:l,tableExtra:y,renderForm:p,afterSuccess:m,afterError:g,dataAdapter:h,initialPageParam:f=0,footer:c,form:S,...b}=o,{t:d}=_(),[u]=Form.useForm(S),[x,P]=useState(false),R=useRef(false),{data:A,isLoading:U}=te(r),pe=L(),k=s||Kl(),[z,B]=useState(typeof f=="number"?f:0),[J,Ae]=useState(),{syncFromStoreRef:Ut,isSyncingFromStore:Pe}=Xt({onSync:v=>{v.page!==void 0&&B(v.page),v.filters!==void 0&&(Ae(v.filters),u.setFieldsValue(v.filters));}}),me={page:z,filters:J},oe={...t,...h??{}},mt=typeof l=="function"?l(me,f):typeof l=="string"?{url:l}:l,{url:fe,method:ve="GET",body:We,searchParams:ut,headers:dt,cacheTime:xo=Gl,staleTime:He=Ol,isGlobalMode:ft}=mt,Ee=(ve||"GET").toUpperCase();[...kr,...Ul].includes(Ee)||console.warn(`InfiniteList: \u4E0D\u652F\u6301\u7684 HTTP \u8BF7\u6C42\u65B9\u6CD5 "${ve}"\uFF0C\u5DF2\u56DE\u9000\u5230 GET \u65B9\u6CD5`);let Kt=typeof dt=="function"?dt(u):dt,je=typeof We=="function"?We(me,f):We,So=typeof ut=="function"?ut(me,f):ut,yt=["infiniteList",k,Ee,fe,z,J,So,je,Kt,ft],{data:ue,fetchNextPage:ht,hasNextPage:Ve,isFetchingNextPage:ye,refetch:H,isFetching:he}=useInfiniteQuery({queryKey:yt,queryFn:async({pageParam:v=f})=>{try{let F={...me,page:typeof v=="number"?v:z},Q=typeof l=="function"?l(F,v):typeof l=="string"?{url:l}:l||mt,{url:$=fe,method:$e=Ee,body:Je,searchParams:M,headers:V=dt,isGlobalMode:Bt=ft}=Q,gs=($e||Ee).toUpperCase(),xs=kr.includes(gs),Ss={...J??{},page:v},bs=typeof Je=="function"?Je(F,v):Je,Po=typeof M=="function"?M(F,v):M,_e,bt;bs!==void 0?(_e=bs,bt=Po):Po!==void 0?bt=Po:xs?bt=Ss:_e=Ss;let cn=typeof V=="function"?V(u):V??Kt,Ct={method:gs,headers:cn,...Bt!==void 0&&{isGlobalMode:Bt}};bt!==void 0&&(Ct.searchParams=bt),_e&&!xs&&(_e instanceof FormData||typeof _e=="string"?Ct.body=_e:Ct.json=_e);let Cs=await pe.request({url:$,...Ct});return R.current=!0,m?.(u,[Cs]),Cs}catch(F){let Q=F instanceof Error?F:new Error(String(F));throw g?.(Q,u),Q}},initialPageParam:f,getNextPageParam:(v,F,Q)=>{let $=oe.hasMore?.(v,F);if($!==false){if(oe.nextPageParam)return oe.nextPageParam(v,F,Q);if($===true)return typeof Q=="number"?Q+1:F.length}},enabled:!!(A&&x),retry:(v,F)=>!(v>=3||F?.message?.includes("401")),retryDelay:v=>Math.min(1e3*2**v,3e4),refetchOnWindowFocus:false,refetchInterval:R.current?i:0,gcTime:xo,staleTime:He});useEffect(()=>{if(!yt||!H||!ht)return;Y.registerInstance(k,fe,yt,H,ht,Ut.current);let v=Y.getState().getInstance(k);if(v&&v.payload!==to)Ut.current?.(v.payload);else {let F=u.getFieldsValue(),$={page:z!==void 0?z:typeof f=="number"?f:0,filters:J!==void 0?J:F};Y.getState().updatePayload(k,$,false),J===void 0&&Ae(F);}return ()=>{Y.getState().unregisterInstance(k);}},[k,fe]);let Ie=oe.items?.(ue?.pages,u),gt=!Ie||Ie.length===0,se=ye,xt=!Ve,De=async()=>{try{await u.validateFields(),P(!0);let v=u.getFieldsValue(),F=typeof f=="number"?f:0;B(F),Ae(v),Y.getState().refetch(k,{page:F,filters:v});}catch{P(false);}},qt=async()=>{u.resetFields();try{await u.validateFields({validateOnly:!0}),P(!0);let v=u.getFieldsValue(),F=typeof f=="number"?f:0;B(F),Ae(v),Y.getState().refetch(k,{page:F,filters:v});}catch{P(false);}},zt=()=>{!Ve||ye||Y.fetchNextPage(k);};if(useEffect(()=>{if(Pe.current)return;let v=Y.getState().getInstance(k);if(!v)return;let F={page:z,filters:J};isEqual(v.payload,F)||Y.getState().updatePayload(k,F,false);},[k,z,J]),useEffect(()=>{if(!A)return;let v=Y.getState().getInstance(k);if(!v)return;if(v.payload!==to){x||u.validateFields({validateOnly:true}).then(()=>{P(true);});return}(async()=>{try{u.resetFields();let Q=await u.validateFields({validateOnly:!0}),$=typeof f=="number"?f:0;B($),Ae(Q),Y.getState().updatePayload(k,{page:$,filters:Q}),P(!0);}catch{P(false);}})();},[A,k,u,f,x]),useImperativeHandle(e,()=>({data:ue?.pages,dataSource:Ie,form:u,refetch:H,fetchNextPage:ht,hasNextPage:!!Ve,isFetchingNextPage:ye}),[ue?.pages,Ie,u,H,ht,Ve,ye]),U)return jsx("div",{className:"flex justify-center items-center h-[300px]",children:jsx(Spin,{})});if(!A)return jsx(Result,{status:403,subTitle:d("global.noEntitlement")});let St=c?()=>jsx(Fragment,{children:c(ue?.pages)}):void 0,bo=()=>typeof y=="function"?y(u,ue?.pages):y,Co=typeof p=="function"?jsx(_t,{showReset:n,buttonsAlign:a,isConfirming:he&&!ye,onReset:qt,onConfirm:De,children:cloneElement(p(u),{onKeyUp:v=>{v.key==="Enter"&&De();}})}):jsx(Form,{form:u});return jsxs(Fragment,{children:[Co,bo(),jsx(Table,{...b,dataSource:Ie,loading:he&&!ye,pagination:false,footer:St}),!gt&&jsx("div",{className:"mt-4",children:jsx(Button,{block:true,loading:se,type:"link",htmlType:"button",disabled:se||xt,onClick:zt,children:d(se?"InfiniteList.loadingText":xt?"InfiniteList.reachEndText":"InfiniteList.loadMoreText")})})]})};Bl=forwardRef(zl),Ql=Bl;});var Lr=C(()=>{wr();Uo();});var zo,qo,N,Bo=C(()=>{Oo();zo=Object.freeze({page:1,size:10,filters:Object.freeze({})}),qo=Yt(zo,"query-list-store"),N=Object.assign(qo,{registerInstance(o,e,t,s,r){qo.getState().registerInstance({id:o,url:e,queryKey:t,refetch:s,syncCallback:r});},getQueryKey(o){return qo.getState().getInstance(o)?.queryKey}});});var Dr,tc,oc,Vr,sc,rc,ac,nc,ic,Se,Gr=C(()=>{jt();D();re();E();Z();Do();Bo();Dr=(r=>(r[r.Confirm=0]="Confirm",r[r.Reset=1]="Reset",r[r.Jump=2]="Jump",r[r.Init=3]="Init",r))(Dr||{}),tc=300*1e3,oc=30*1e3,Vr=["GET","HEAD","OPTIONS"],sc=["POST","PUT","PATCH","DELETE"],rc=0,ac=()=>`queryList_${Date.now()}_${++rc}`,nc=(o,e)=>{let{t}=_(),{form:s,identifier:r,code:a,onePage:n,buttonsAlign:i,showReset:l,defaultSize:y=10,refreshInterval:p=0,tableExtra:m,renderForm:g,afterSuccess:h,afterError:f,footer:c,pageSizeOptions:S,request:b,dataAdapter:d,...u}=o,[x]=Form.useForm(s),[P]=useState(()=>r||ac()),R=useRef(3),{data:A,isLoading:U}=te(a),{game:{appId:pe}}=I(),k=L(),[z,B]=useState(false),J=useRef(false),[Ae,Ut]=useState(false),[Pe,me]=useState(1),[oe,mt]=useState(y),[fe,ve]=useState(),{syncFromStoreRef:We,isSyncingFromStore:ut}=Xt({onSync:M=>{M.page!==void 0&&me(M.page),M.size!==void 0&&mt(M.size),M.filters!==void 0&&(ve(M.filters),x.setFieldsValue(M.filters));}}),xo=typeof b=="function"?b({page:Pe,size:oe,filters:fe}):typeof b=="string"?{url:b}:b,{url:He,method:ft="GET",body:Ee,searchParams:Nt,headers:Kt,isGlobalMode:je,cacheTime:So=tc,staleTime:yt=oc}=xo,ue=ft.toUpperCase();[...Vr,...sc].includes(ue)||console.warn(`QueryList: \u4E0D\u652F\u6301\u7684 HTTP \u8BF7\u6C42\u65B9\u6CD5 "${ft}"\uFF0C\u5C06\u4F7F\u7528 GET \u65B9\u6CD5`);let Ve=Vr.includes(ue),ye={...fe,...!n&&{page:Pe,size:oe}},H,he;Ee!==void 0?(H=Ee,he=Nt):Nt!==void 0?(he=Nt,H=void 0):Ve?(he=ye,H=void 0):(H=ye,he=void 0);let Ie=Kt,gt=["queryList",P,ue,He,H,he,Ie,je,je?void 0:pe],{data:se,isLoading:xt,refetch:De}=useQuery({queryKey:gt,queryFn:async()=>{try{let M={method:ue,searchParams:he,headers:Ie,...je!==void 0&&{isGlobalMode:je}};H&&!Ve&&(H instanceof FormData||typeof H=="string"?M.body=H:M.json=H);let V=await k.request({url:He,...M});return Ut(!0),h?.(R.current,x,V),V}catch(M){let V=M instanceof Error?M:new Error(String(M));throw f?.(V,R.current,x),V}},refetchOnWindowFocus:false,refetchInterval:Ae&&p>0?p:false,gcTime:So,staleTime:yt,enabled:A&&z}),qt={total:se?.data?.total,items:se?.data?.list},zt=typeof d=="function"?{...qt,...d(se)}:{...qt,...d},St=zt.items,bo=zt.total,Co=n?false:{pageSizeOptions:S,showSizeChanger:true,showQuickJumper:true,current:Pe,pageSize:oe,total:bo,onChange:async(M,V)=>{R.current=2,me(M),mt(V),N.getState().refetch(P,{page:M,size:V});}},v=async()=>{R.current=0;try{await x.validateFields(),B(!0);let M=x.getFieldsValue();me(1),ve(M),N.getState().refetch(P,{page:1,filters:M});}catch{B(false);}},F=async()=>{R.current=1,x.resetFields();try{await x.validateFields({validateOnly:!0}),B(!0);let M=x.getFieldsValue();me(1),ve(M),N.getState().refetch(P,{page:1,filters:M});}catch{B(false);}},Q=M=>{M.key==="Enter"&&v();},$=typeof g=="function"?jsx(_t,{showReset:l,buttonsAlign:i,isConfirming:xt,onReset:F,onConfirm:v,children:cloneElement(g(x),{onKeyUp:Q})}):jsx(Form,{form:x}),$e=typeof m=="function"?m(x,se):m,Je=c?()=>jsx(Fragment,{children:c(se)}):void 0;return useEffect(()=>{if(!gt||!De)return;N.registerInstance(P,He,gt,De,We.current);let M=N.getState().getInstance(P);if(M&&M.payload!==zo)We.current?.(M.payload);else {let V=x.getFieldsValue(),Bt={page:Pe,size:oe,filters:V};N.getState().updatePayload(P,Bt,false),ve(V);}return ()=>{N.getState().unregisterInstance(P);}},[P,He]),useEffect(()=>{if(ut.current)return;let M=N.getState().getInstance(P);if(!M)return;let V={page:Pe,size:oe,filters:fe};isEqual(M.payload,V)||N.getState().updatePayload(P,V,false);},[P,Pe,oe,fe]),useEffect(()=>{if(!A||J.current)return;J.current=true,(async()=>{try{x.resetFields();let V=await x.validateFields({validateOnly:!0});me(1),ve(V),N.getState().updatePayload(P,{page:1,filters:V},!1),B(!0);}catch{B(false);}})();},[A,P,x]),useImperativeHandle(e,()=>({data:se,dataSource:St,form:x,refetch:De}),[se,St,x,De]),U?jsx("div",{className:"flex justify-center items-center h-[300px]",children:jsx(Spin,{})}):A?jsxs("div",{children:[$,$e,jsx(Table,{...u,dataSource:St,loading:xt,pagination:Co,footer:Je})]}):jsx(Result,{status:403,subTitle:t("global.noEntitlement")})},ic=forwardRef(nc),Se=ic;});var Or=C(()=>{Gr();Bo();});var at=C(()=>{Lr();Or();});function Zo(){return Jo||(Jo=create()(Pt())),Jo()}var Jo,Xo=C(()=>{Oe();Jo=null;});function Yo(o){let{content:e,onConfirm:t,afterOpen:s,afterClose:r,...a}=o,[n]=useState(()=>vt()),{show:i,hide:l,isOpen:y,cleanup:p}=Zo(),[m,g]=useState(false);useEffect(()=>()=>p(n),[n,p]);let h=y(n),f=async()=>{i(n),await s?.();},c=()=>{l(n);},S=async()=>{c(),await r?.();},b=async()=>{try{g(!0),await t?.(),c(),await r?.();}catch(P){throw console.error("Modal confirm error:",P),P}finally{g(false);}},u=typeof e=="function"?e({hide:c}):e,x=jsx(Modal,{...a,open:h,confirmLoading:m,onOk:b,onCancel:S,children:u});return {id:n,show:f,hide:c,modal:x}}var es=C(()=>{Oe();Xo();});function wt(o){let{content:e,form:t,formProps:s,onConfirm:r,onSuccess:a,afterClose:n,...i}=o,[l,y]=useState({}),[p]=Form.useForm(t),m=async()=>{let u=await p.validateFields();await r?.(u,l),a?.();},g=()=>{y({}),n?.(p);},h=u=>{let x=typeof e=="function"?e(l,u):e;return jsx(Form,{...s,form:p,children:x})},{id:f,show:c,hide:S,modal:b}=Yo({...i,content:h,onConfirm:m,afterClose:g});return {id:f,show:u=>{u?.extraValues!==void 0&&y(u.extraValues),u?.initialValues&&p.setFieldsValue(u.initialValues),c();},hide:S,modal:b}}var Qr=C(()=>{es();});var oo=C(()=>{Qr();es();Xo();});function ea(){let{post:o}=L(),e=useQueryClient();return useMutation({mutationKey:T.menus.create,mutationFn:t=>o("/api/usystem/menu/set",{...t,id:0,is_model:true},{isGlobalMode:true}),onSuccess:()=>{e.invalidateQueries({queryKey:T.menus.all}),e.invalidateQueries({queryKey:T.menus.navbar()});}})}function ta(){let{post:o}=L(),e=useQueryClient();return useMutation({mutationKey:T.menus.update,mutationFn:t=>o("/api/usystem/menu/set",{...t,is_model:true},{isGlobalMode:true}),onSuccess:()=>{e.invalidateQueries({queryKey:T.menus.all}),e.invalidateQueries({queryKey:T.menus.navbar()});}})}function oa(){let{post:o}=L(),e=useQueryClient();return useMutation({mutationKey:T.menus.delete,mutationFn:t=>o("/api/usystem/menu/delete",null,{searchParams:{id:t},isGlobalMode:true}),onSuccess:()=>{e.invalidateQueries({queryKey:T.menus.all}),e.invalidateQueries({queryKey:T.menus.navbar()});}})}var ro=C(()=>{re();Re();});var ra={};Ge(ra,{default:()=>d1});var u1,d1,aa=C(()=>{Tt();at();E();Z();ro();u1=()=>{let{t:o}=_(),{message:e}=App.useApp(),t=oa(),{refetch:s}=N(),{refetch:r}=Wt(),a=useNavigate();return jsx(Fragment,{children:jsx(Card,{title:"\u83DC\u5355\u7BA1\u7406",extra:jsx(Button,{type:"primary",onClick:()=>{a("./create");},children:"\u521B\u5EFA\u83DC\u5355\u9879"}),children:jsx(Se,{identifier:"menu-item-list",onePage:true,code:"9900001",rowKey:"id",columns:[{title:"\u83DC\u5355\u540D\u79F0",dataIndex:"category",key:"category"},{title:"\u524D\u7AEF\u8DEF\u7531",dataIndex:"front_route"},{title:"Order",dataIndex:"order"},{title:"Is Common",dataIndex:"is_common",key:"is_common",render:i=>i?"\u662F":"\u5426"},{title:"\u6A21\u677F\u540D\u79F0",dataIndex:"model_name",key:"model_name"},{title:"\u64CD\u4F5C",key:"action",width:150,align:"center",render(i,l){return l.is_model?jsxs(Space,{size:"small",children:[jsx(Button,{type:"link",onClick:()=>{a(`./update/${l.id}`);},children:o("global.update")}),jsx(Popconfirm,{title:"\u5220\u9664\u83DC\u5355",placement:"topRight",description:jsxs(Ke,{texts:[l.category],children:["\u786E\u5B9A\u8981\u5220\u9664\u83DC\u5355 ",l.category," \u5417\uFF1F"]}),onConfirm:async()=>{await t.mutateAsync(l.id),s("menu-item-list"),r(),e.success("\u5220\u9664\u6210\u529F");},children:jsx(Button,{danger:true,type:"link",size:"small",children:o("global.delete")})})]}):null}}],request:{url:"/api/usystem/menu/list",method:"GET",isGlobalMode:true},dataAdapter:i=>({items:i?.data})})})})},d1=u1;});var ca={};Ge(ca,{default:()=>C1});var b1,C1,pa=C(()=>{Ne();ro();b1=()=>{let{message:o}=App.useApp(),[e]=Form.useForm(),t=useNavigate(),{mutateAsync:s}=ea();return jsx(Card,{title:"\u521B\u5EFA\u83DC\u5355\u9879",children:jsxs(Form,{scrollToFirstError:true,form:e,labelCol:{flex:"120px"},initialValues:{is_common:false,is_model:false,order:0},onFinish:async a=>{let{permissions:n,front_route:i,...l}=a;await s({...l,front_route:Ue+i,permissions:n?JSON.parse(n):void 0}),o.success("\u521B\u5EFA\u6210\u529F",.8,()=>t("..",{relative:"route"}));},children:[jsx(Form.Item,{label:"\u83DC\u5355\u9879\u540D\u79F0",name:"category",rules:[{required:true}],children:jsx(Input,{})}),jsx(Form.Item,{label:"\u524D\u7AEF\u8DEF\u7531",name:"front_route",rules:[{required:true}],children:jsx(Input,{prefix:Ue})}),jsx(Form.Item,{label:"\u6A21\u677F\u540D\u79F0",name:"model_name",rules:[{required:true}],children:jsx(Input,{})}),jsx(Form.Item,{label:"Is Common",name:"is_common",rules:[{required:true}],valuePropName:"checked",children:jsx(Switch,{})}),jsx(Form.Item,{label:"Order",name:"order",children:jsx(InputNumber,{className:"w-full"})}),jsx(Form.Item,{label:"\u63A5\u53E3\u89C4\u5219",name:"permissions",children:jsx(Editor,{theme:"vs-dark",height:"300px",language:"json",options:{minimap:{enabled:false}}})}),jsx(Form.Item,{label:"Schema",name:"scheme",rules:[{required:true}],children:jsx(Editor,{theme:"vs-dark",height:"600px",language:"json",options:{minimap:{enabled:false}}})}),jsx(Form.Item,{label:"Ext",name:"ext",children:jsx(Input.TextArea,{rows:5})}),jsx(Form.Item,{children:jsxs("div",{className:"flex justify-center gap-8",children:[jsx(Button,{type:"primary",htmlType:"submit",children:"\u63D0\u4EA4"}),jsx(Button,{onClick:()=>{t("..",{relative:"path"});},children:"\u53D6\u6D88"})]})})]})})},C1=b1;});var fa={};Ge(fa,{default:()=>w1});var F1,w1,ya=C(()=>{Ne();re();Re();Z();ro();F1=()=>{let{message:o}=App.useApp(),[e]=Form.useForm(),t=useNavigate(),{mutateAsync:s}=ta(),r=useParams(),{refetch:a}=Wt(),{get:n}=L(),{data:i,isLoading:l}=useQuery({queryKey:T.menus.detail(Number(r.id)),queryFn:()=>n(`/api/usystem/menu/info?id=${r.id}`,{isGlobalMode:true}),enabled:!!r.id,select:p=>p.data}),y=async p=>{let{permissions:m,front_route:g,...h}=p;await s({...h,permissions:m?JSON.parse(m):void 0,front_route:Ue+g,id:+r.id}),a(),o.success("\u66F4\u65B0\u6210\u529F",.8,()=>t("../..",{relative:"route"}));};return useEffect(()=>{let{permissions:p,front_route:m,...g}=i??{},h=JSON.stringify(p||[],null,2),f=m?.replace(Ue,"");e.setFieldsValue({...g,permissions:h,front_route:f});},[i,e]),jsx(Card,{title:"\u66F4\u65B0\u83DC\u5355\u9879",loading:l,children:jsxs(Form,{scrollToFirstError:true,form:e,labelCol:{flex:"120px"},initialValues:{is_common:false,is_model:false,order:0},onFinish:y,children:[jsx(Form.Item,{label:"\u83DC\u5355\u9879\u540D\u79F0",name:"category",rules:[{required:true}],children:jsx(Input,{})}),jsx(Form.Item,{label:"\u524D\u7AEF\u8DEF\u7531",name:"front_route",rules:[{required:true}],children:jsx(Input,{prefix:Ue})}),jsx(Form.Item,{label:"\u6A21\u677F\u540D\u79F0",name:"model_name",rules:[{required:true}],children:jsx(Input,{})}),jsx(Form.Item,{label:"Is Common",name:"is_common",rules:[{required:true}],valuePropName:"checked",children:jsx(Switch,{})}),jsx(Form.Item,{label:"Order",name:"order",children:jsx(InputNumber,{className:"w-full"})}),jsx(Form.Item,{label:"\u63A5\u53E3\u89C4\u5219",name:"permissions",children:jsx(Editor,{theme:"vs-dark",height:"300px",language:"json",options:{minimap:{enabled:false}}})}),jsx(Form.Item,{label:"Schema",name:"scheme",rules:[{required:true}],children:jsx(Editor,{theme:"vs-dark",height:"600px",language:"json",options:{minimap:{enabled:false}}})}),jsx(Form.Item,{label:"Ext",name:"ext",children:jsx(Input.TextArea,{rows:5})}),jsx(Form.Item,{children:jsxs("div",{className:"flex justify-center gap-8",children:[jsx(Button,{type:"primary",htmlType:"submit",children:"\u63D0\u4EA4"}),jsx(Button,{onClick:()=>{t("../..",{relative:"path"});},children:"\u53D6\u6D88"})]})})]})})},w1=F1;});var de,io=C(()=>{de={game_scoped:{user:{create:"/api/usystem/user/create",update:"/api/usystem/user/update"},role:{detail:"/api/usystem/role/infoV2",create:"/api/usystem/role/create",update:"/api/usystem/role/update"}},group_based:{user:{detail:"/api/usystem/user/info",create:"/api/usystem/user/create",update:"/api/usystem/user/update"},role:{detail:"/api/usystem/role/info",create:"/api/usystem/role/createV2",update:"/api/usystem/role/updateV2"}},direct_game:{user:{detail:"/api/usystem/user/info",create:"/api/usystem/user/create",update:"/api/usystem/user/update"},role:{detail:"/api/usystem/role/info",create:"/api/usystem/role/createV2",update:"/api/usystem/role/updateV2"}}};});function ha(){let{get:o}=L();return useQuery({queryKey:T.roles.all,queryFn:()=>o("/api/usystem/role/all",{isGlobalMode:true}),select:e=>e.data})}function ga(o){let{get:e}=L(),{context:{authMode:t}}=I(),{role:s}=de[t];return useQuery({queryKey:T.roles.detail(o,t),queryFn:()=>e(`${s.detail}?name=${o}`,{isGlobalMode:true}),select:r=>r.data})}function xa(){let{post:o}=L(),e=useQueryClient(),{context:{authMode:t}}=I(),{role:s}=de[t];return useMutation({mutationKey:T.roles.create(t),mutationFn:({name:r,permissions:a})=>o(s.create,{name:r,permissions:a},{isGlobalMode:true}),onSuccess:()=>{e.invalidateQueries({queryKey:T.roles.all});}})}function Sa(){let{post:o}=L(),e=useQueryClient(),{context:{authMode:t}}=I(),{role:s}=de[t];return useMutation({mutationKey:T.roles.update(t),mutationFn:({id:r,name:a,permissions:n})=>o(s.update,{id:r,name:a,permissions:n},{isGlobalMode:true}),onSuccess:()=>{e.invalidateQueries({queryKey:T.roles.all});}})}function ba(){let{post:o}=L(),e=useQueryClient();return useMutation({mutationKey:T.roles.delete,mutationFn:({id:t,name:s})=>o("/api/usystem/role/delete",{id:t,name:s},{isGlobalMode:true}),onSuccess:()=>{e.invalidateQueries({queryKey:T.roles.all});}})}function Ca(){let{post:o}=L(),e=useQueryClient(),{context:{authMode:t}}=I(),{user:s}=de[t];return useMutation({mutationKey:T.users.create,mutationFn:r=>{let a=i=>"permissions"in i,n=r;if(a(r)&&t==="direct_game"){let i=r.permissions?.map(l=>({game_group:["*"],game_ids:l.game_ids,role:l.role}));n={...r,permissions:i};}return o(s.create,n,{isGlobalMode:true})},onSuccess:()=>{e.invalidateQueries({queryKey:T.users.all});}})}function Pa(){let{post:o}=L(),e=useQueryClient(),t=I(r=>r.context.authMode),{user:s}=de[t];return useMutation({mutationKey:T.users.update,mutationFn:r=>{let a=i=>"permissions"in i,n=r;if(a(r)&&t==="direct_game"){let i=r.permissions?.map(l=>({game_group:["*"],game_ids:l.game_ids,role:l.role}));n={...r,permissions:i};}return o(s.update,n,{isGlobalMode:true})},onSuccess:()=>{e.invalidateQueries({queryKey:T.users.all});}})}function va(){let{post:o}=L(),e=useQueryClient();return useMutation({mutationKey:T.users.delete,mutationFn:({id:t,name:s})=>o("/api/usystem/user/delete",{id:t,name:s},{isGlobalMode:true}),onSuccess:()=>{e.invalidateQueries({queryKey:T.users.all});}})}function Ia(){let{get:o}=L();return useQuery({queryKey:T.permissions.allPermissions,queryFn:()=>o("/api/usystem/user/allPermssions",{isGlobalMode:true}),select:e=>e.data})}function _a(){let{get:o}=L();return useQuery({queryKey:T.permissions.allPermissionsV2,queryFn:()=>o("/api/usystem/user/allPermssionsV2",{isGlobalMode:true}),select:e=>e.data})}var Fe=C(()=>{D();re();Re();io();});var q1,At,ms=C(()=>{E();q1=o=>{let{permissions:e,readonly:t,expand:s,value:r,onChange:a}=o,[n,i]=useState([]),[l,y]=useState({}),[p,m]=useState(r??[]),{t:g}=_(),[,h]=useTransition(),f=d=>{i(d);},c=(d,u)=>{let x=[];return d?x=[...new Set(p.concat(u))]:(x=p.slice(),u.forEach(P=>{let R=x.findIndex(A=>A===P);R>-1&&x.splice(R,1);})),x},S=(d,u)=>{let x=c(d.target.checked,u);m(x),a?.(x);};useEffect(()=>{m(r??[]);},[r]),useEffect(()=>{s&&h(()=>{i((e??[]).map(({category:d})=>d));});},[s,e]),useEffect(()=>{let d=(e??[]).reduce((u,x)=>(u[x.category]=x.permissions.every(P=>Array.isArray(p)?p?.includes(P.value):false),u),{});y(d);},[p,e]);let b=(e??[]).map(d=>({key:d.category,label:d.category,extra:!t&&jsx(Checkbox,{checked:l[d.category],onChange:u=>{S(u,d.permissions?.map(x=>x.value));},children:g("global.selectAll")}),children:jsx(Checkbox.Group,{className:"w-full",value:p,disabled:t,children:jsx(Row,{gutter:[10,10],className:"w-full",children:d.permissions?.map(u=>jsx(Col,{span:6,children:jsx(Checkbox,{value:u.value,onChange:x=>{S(x,[u.value]);},children:u.label})},u.value))})})}));return jsx(Collapse,{className:"w-full",collapsible:"header",activeKey:n,items:b,onChange:f})},At=q1;});var us,$1,J1,wa,La=C(()=>{E();Z();Fe();ms();(({Text:us}=Typography)),{Option:$1}=Select,J1=o=>{let{expand:e=true,value:t,readonly:s,onChange:r}=o,{data:a,isLoading:n,error:i}=_a(),{data:l,isLoading:y}=ke(),[p,m]=useState([]),g=a?.filter(d=>d.is_common),h=a?.filter(d=>!d.is_common),f=n||y,{t:c}=_();if(useEffect(()=>{let d=[];Object.keys(t??{}).forEach(u=>{u!=="global"&&d.push({gameId:u,permissions:t?.[u]??[]});}),m(d);},[t]),i)return jsx("div",{className:"flex justify-center",children:jsx(us,{type:"danger",children:c("PermissionList.failedDescription")})});let S=()=>{m(d=>[...d,{gameId:"",permissions:[]}]);},b=d=>{m(u=>u.filter((x,P)=>P!==d));};return jsxs("div",{className:"flex flex-col w-full",children:[jsx("div",{className:"mb-12",children:jsx(Divider,{dashed:true,children:c("PermissionList.baseSectionTitle")})}),jsx(Skeleton,{active:true,loading:f,children:jsx(At,{value:t?.global,readonly:s,permissions:g,expand:e,onChange:d=>{r?.({...t,global:d});}})}),jsx("div",{className:"my-12",children:jsx(Divider,{dashed:true,children:c("PermissionList.gameSectionTitle")})}),p.map((d,u)=>jsx(Card,{title:jsxs(Space,{children:[jsx(us,{children:c("global.game")}),s?jsx(us,{children:l?.find(x=>String(x.id)===d.gameId)?.name}):jsx(Select,{disabled:s,value:p[u].gameId||void 0,className:"w-40",placeholder:c("PermissionList.gameSelectPlaceholder"),onChange:x=>{m(P=>{let R=P.slice();return R[u].gameId=x,R});},children:l?.map(x=>jsx($1,{value:x.id,disabled:p.some(({gameId:P})=>P===String(x.id)),children:x.name},x.id))})]}),className:"mb-6",extra:!s&&jsx(Button,{type:"link",onClick:()=>{b(u);},children:c("PermissionList.removeText")}),children:p[u].gameId?jsx(Skeleton,{active:true,loading:f,children:jsx(At,{value:t?.[p[u].gameId],readonly:s,expand:e,permissions:h,onChange:x=>{r?.({...t,[p[u].gameId]:x});}})}):jsx(Empty,{description:c("PermissionList.gameSectionDescription")})},u)),!s&&jsx(Button,{block:true,type:"dashed",onClick:S,children:c("PermissionList.addText")})]})},wa=J1;});var Y1,e2,Aa,Ea=C(()=>{E();Fe();ms();(({Text:Y1}=Typography)),e2=o=>{let{expand:e=true,value:t,readonly:s,onChange:r}=o,{data:a,isLoading:n,error:i}=Ia(),{t:l}=_();return i?jsx("div",{className:"flex justify-center",children:jsx(Y1,{type:"danger",children:l("PermissionList.failedDescription")})}):jsx(Skeleton,{active:true,loading:n,children:jsx(At,{value:t,permissions:a,readonly:s,expand:e,onChange:r})})},Aa=e2;});var t2,Et,ds=C(()=>{D();La();Ea();t2=o=>{let{value:e}=o,{context:{authMode:t}}=I();return t!=="game_scoped"?jsx(Aa,{...o,value:e}):jsx(wa,{...o,value:e})},Et=t2;});var Vt,Ga=C(()=>{oo();E();ds();Fe();Vt=({mode:o,onSuccess:e})=>{let{message:t}=App.useApp(),{t:s}=_(),r=xa(),a=Sa(),n=o==="create",i=s(n?"Role.createTitle":"Role.updateTitle"),l=jsxs(Fragment,{children:[jsx(Form.Item,{label:s("global.name"),name:"name",rules:[{required:true}],children:jsx(Input,{disabled:!n,prefix:"role_"})}),jsx(Form.Item,{name:"permissions",children:jsx(Et,{})})]});return wt({title:i,width:"1000px",formProps:{layout:"vertical"},content:l,onConfirm:async(p,m)=>{let g=`role_${p.name}`,h=p.permissions;n?(await r.mutateAsync({name:g,permissions:h}),t.success(s("Role.createSuccessfully"))):(await a.mutateAsync({id:m?.id,name:g,permissions:h}),t.success(s("Role.updateSuccessfully"))),e?.();}})};});var fs,qa,y2,Ua,Gt,za=C(()=>{D();oo();re();E();Re();Fe();(({Text:fs}=Typography)),qa=(o,e)=>{last(o)==="*"?e?.(["*"]):first(o)==="*"?e?.(o.slice(1)):e?.(o);},y2=o=>{let{onChange:e,...t}=o,{get:s}=L(),{data:r,isLoading:a}=useQuery({queryKey:T.enums.gameGroups,queryFn:()=>s("/api/enum/get?enum=game_group&type=all"),select:i=>i.data}),n=[{label:"\u901A\u7528",value:"*"}].concat(r?.map(i=>({label:i,value:i}))??[]);return jsx(Select,{...t,allowClear:true,showSearch:true,mode:"tags",optionFilterProp:"label",loading:a,options:n,onChange:i=>qa(i,e)})},Ua=o=>{let{groups:e,onChange:t,...s}=o,{get:r}=L(),{context:{authMode:a}}=I(),n=a==="group_based",i=a==="direct_game",{data:l,isLoading:y}=useQuery({queryKey:T.enums.gameIds(i?[]:e??[]),queryFn:()=>r(`/api/enum/game_group/get_game_ids${i?"":`?game_groups=${e?.join(",")}`}`),select:m=>m.data?.list,enabled:i||n&&!!e?.length}),p=l?.map(m=>({label:m.name,value:m.id}));return jsx(Select,{...s,allowClear:true,showSearch:true,optionFilterProp:"label",mode:"tags",loading:y,options:p,onChange:m=>qa(m,t)})},Gt=({mode:o,onSuccess:e})=>{let{message:t}=App.useApp(),{t:s}=_(),{data:r,isLoading:a}=ha(),n=Ca(),i=Pa(),l=o==="create",y=s(l?"User.createTitle":"User.updateTitle"),{context:{authMode:p}}=I(),m=p==="group_based",g=p==="game_scoped",h=g?jsxs(Fragment,{children:[jsx(Form.Item,{label:s("global.name"),name:"name",rules:[{required:true}],children:jsx(Input,{disabled:!l})}),jsx(Form.Item,{label:s("global.role"),name:"roles",children:jsx(Select,{allowClear:true,showSearch:true,mode:"multiple",loading:a,optionFilterProp:"label",options:r?.map(c=>({label:c.name,value:c.name}))})})]}):jsxs(Fragment,{children:[jsx(Form.Item,{label:s("global.name"),name:"name",rules:[{required:true}],children:jsx(Input,{disabled:!l})}),jsx(Form.List,{name:"permissions",children:(c,{add:S,remove:b})=>jsxs(Row,{gutter:8,children:[m&&jsx(Col,{span:8,className:"text-center mb-4",children:jsx(fs,{strong:true,children:s("global.projectGroup")})}),jsx(Col,{span:m?10:14,className:"text-center mb-4",children:jsx(fs,{strong:true,children:s("global.game")})}),jsx(Col,{span:m?6:10,className:"text-center mb-4",children:jsx(fs,{strong:true,children:s("global.role")})}),c.map(d=>jsxs(Fragment$1,{children:[m&&jsx(Col,{span:8,children:jsx(Form.Item,{noStyle:true,shouldUpdate:true,children:({setFieldValue:u})=>jsx(Form.Item,{name:[d.name,"game_group"],children:jsx(y2,{onChange:()=>{u(["permissions",d.name,"game_ids"],[]);}})})})}),jsx(Col,{span:m?10:14,children:m?jsx(Form.Item,{noStyle:true,shouldUpdate:(u,x)=>u.permissions[d.name]?.game_group!==x.permissions[d.name]?.game_group,children:({getFieldValue:u})=>{let x=u(["permissions",d.name,"game_group"]);return jsx(Form.Item,{name:[d.name,"game_ids"],dependencies:[["permissions",d.name,"game_group"]],rules:[{required:!!x?.length,message:"\u8BF7\u9009\u62E9\u6E38\u620F"}],children:jsx(Ua,{groups:x})})}}):jsx(Form.Item,{name:[d.name,"game_ids"],rules:[{required:true,message:"\u8BF7\u9009\u62E9\u6E38\u620F"}],children:jsx(Ua,{})})}),jsx(Col,{span:m?6:10,children:jsxs("div",{className:"flex",children:[jsx("div",{className:"flex-1",children:jsx(Form.Item,{name:[d.name,"role"],rules:[{required:true,message:"\u8BF7\u9009\u62E9\u89D2\u8272"},({getFieldValue:u})=>({validator(x,P){return (u("permissions")?.filter((U,pe)=>!!U&&pe!==d.name)??[]).some(U=>U.role===P)?Promise.reject(new Error("\u8BF7\u52FF\u91CD\u590D\u9009\u62E9\u89D2\u8272")):Promise.resolve()}})],children:jsx(Select,{allowClear:true,showSearch:true,optionFilterProp:"label",loading:a,options:r?.map(u=>({label:u.name,value:u.name}))})})}),jsx("div",{className:"w-8 text-center",children:jsx(Form.Item,{children:jsx(MinusCircleOutlined,{onClick:()=>{b(d.name);}})})})]})})]},d.key)),c.length===0&&jsx(Col,{span:24,children:jsx(Empty,{className:"mb-6"})}),jsx(Col,{span:24,children:jsx(Button,{block:true,type:"dashed",onClick:()=>S(),children:s("global.add")})})]})})]});return wt({title:y,width:g?"600px":"1000px",formProps:{autoComplete:"off",labelCol:{flex:"80px"}},content:h,onConfirm:async(c,S)=>{if(l){let b=g?{name:c.name,roles:c.roles}:{name:c.name,permissions:c.permissions};await n.mutateAsync(b),t.success(s("User.createSuccessfully"));}else {let b=g?{id:S.id,name:c.name,roles:c.roles}:{id:S.id,name:c.name,permissions:c.permissions};await i.mutateAsync(b),t.success(s("User.updateSuccessfully"));}e?.();}})};});var Ot=C(()=>{Ga();za();});var ja={};Ge(ja,{default:()=>_2});var uo,fo,I2,_2,$a=C(()=>{Xe();Tt();at();D();E();Ot();Fe();uo="user-list",fo={LIST:"100001",CREATE:"100002",UPDATE:"100003",DELETE:"100004"},I2=()=>{let{modal:o,message:e}=App.useApp(),{t}=_(),s=va(),{refetch:r}=N(),{context:{authMode:a}}=I(),n=a==="game_scoped",{show:i,modal:l}=Gt({mode:"create",onSuccess:()=>{r(uo,{page:1});}}),{show:y,modal:p}=Gt({mode:"update",onSuccess:()=>{r(uo);}}),m=d=>{let{id:u,name:x}=d;o.confirm({title:t("User.deleteTitle"),content:jsx(Ke,{texts:[x],children:t("User.deleteContent",{user:x})}),async onOk(){await s.mutateAsync({id:u,name:x}),r(uo),e.success(t("User.deleteSuccessfully"));}});},g=d=>{let{name:u,permissions:x,roles:P,id:R}=d;y({initialValues:{name:u,...a==="group_based"||a==="direct_game"?{permissions:x}:{roles:P}},extraValues:{id:R}});},h=d=>d==="root"?jsx(Tag,{color:"#f50",children:d},d):jsx(Tag,{color:"#ff5a00",children:jsx(Link,{to:`../role/${d}`,children:d})},d),f=(d=[])=>jsx(Row,{gutter:[4,4],children:d.map(u=>jsx(Col,{children:h(u)},u))}),c=(d,u)=>jsxs(Space,{children:[jsx(X,{size:"small",type:"link",code:fo.UPDATE,config:{isGlobalMode:true},onClick:()=>g(u),children:t("global.update")}),jsx(X,{danger:true,size:"small",type:"link",code:fo.DELETE,config:{isGlobalMode:true},onClick:()=>m(u),children:t("global.delete")})]}),S=useMemo(()=>[{title:t("global.name"),dataIndex:"name",key:"name",render:(d,u)=>n?d:jsx(Link,{to:`./${u.id}`,children:d})},{title:"ID",dataIndex:"id",key:"id"},n&&{title:t("global.role"),dataIndex:"roles",key:"roles",width:"40%",render:f},{title:t("global.creationTime"),dataIndex:"Ctime",key:"ctime"},{title:t("global.operation"),width:150,align:"center",render:c}].filter(Boolean),[t,n,f,c]),b=d=>({total:d?.data?.Total,items:d?.data?.List});return jsxs(Fragment,{children:[jsx(Card,{title:t("global.user"),extra:jsx(X,{type:"primary",icon:jsx(UserAddOutlined,{}),code:fo.CREATE,config:{isGlobalMode:true},onClick:()=>i(),children:t("User.createTitle")}),children:jsx(Se,{identifier:uo,code:fo.LIST,request:{url:"/api/usystem/user/list",method:"GET",isGlobalMode:true},rowKey:"id",columns:S,dataAdapter:b,renderForm:d=>jsx(Form,{form:d,children:jsx(Form.Item,{label:t("global.name"),name:"name",children:jsx(Input,{})})})})}),l,p]})},_2=I2;});var Ya={};Ge(Ya,{default:()=>A2});var L2,A2,en=C(()=>{Xe();D();re();E();Re();io();Z();Ot();L2=()=>{let o=useParams(),{t:e}=_(),{context:{useGameApiV2:t,authMode:s}}=I(),r=s==="group_based",{get:a}=L(),{user:n}=de[s],{data:i,isLoading:l,refetch:y}=useQuery({queryKey:T.users.detail(o.id||""),queryFn:()=>a(n.detail,{searchParams:{id:o.id},isGlobalMode:true}),enabled:!!o.id&&!!n.detail,select:c=>c.data}),{data:p}=ke(),{data:m}=te("200005",{isGlobalMode:true}),{show:g,modal:h}=Gt({mode:"update",onSuccess(){y();}}),f=[r&&{key:"group",title:e("global.projectGroup"),dataIndex:"game_group",render(c){return c.map(S=>jsx(Tag,{children:S==="*"?"\u901A\u7528":S},S))}},{key:"game",title:e("global.game"),dataIndex:"game_ids",render(c){return c.map(S=>{let b=p?.find(d=>String(t?d.game_id:d.id)===S);return jsx(Tag,{children:b?.name??(S==="*"?"\u901A\u7528":S)},S)})}},{key:"role",title:e("global.role"),dataIndex:"role",render(c){return m?jsx(Link,{to:`../../role/${c}`,relative:"path",children:c}):c}}].filter(Boolean);return jsxs(Fragment,{children:[jsx(Breadcrumb,{className:"mb-6",items:[{key:"1",title:jsx(Link,{to:"..",relative:"path",children:e("global.user")})},{key:"2",title:"\u7528\u6237\u8BE6\u60C5"}]}),jsx(Card,{title:"\u7528\u6237\u8BE6\u60C5",loading:l,extra:jsx(X,{code:"100003",config:{isGlobalMode:true},onClick:()=>{g({initialValues:{name:i?.name,permissions:i?.permissions},extraValues:{id:i.id}});},children:e("global.update")}),children:jsxs(Descriptions,{bordered:true,column:1,children:[jsx(Descriptions.Item,{label:e("global.name"),children:i?.name}),jsx(Descriptions.Item,{label:"ID",children:i?.id}),jsx(Descriptions.Item,{label:e("global.role"),children:jsx(Table,{rowKey:"role",columns:f,dataSource:i?.permissions,pagination:false})})]})}),h]})},A2=L2;});var sn={};Ge(sn,{default:()=>K2});var N2,K2,rn=C(()=>{Xe();Tt();at();D();re();E();Z();io();Ot();Fe();N2=()=>{let{modal:o,message:e}=App.useApp(),{data:t}=te("200005",{isGlobalMode:true}),{t:s}=_(),{refetch:r}=N(),{get:a}=L(),{context:{authMode:n}}=I(),{show:i,modal:l}=Vt({mode:"create",onSuccess(){r("role-list",{page:1});}}),{show:y,modal:p}=Vt({mode:"update",onSuccess(){r("role-list");}}),m=ba(),g=async f=>{let c=de[n].role,S=await a(c.detail,{searchParams:{name:f.name},isGlobalMode:true});y({initialValues:{permissions:S.data?.permissions,name:S.data?.name.replace(/^role_/,"")},extraValues:{id:S.data?.id}});},h=[{title:s("global.name"),key:"name",render(f){return t?jsx(Link,{to:`${f.name}`,relative:"path",children:f.name}):jsx(Fragment,{children:f.name})}},{title:"ID",dataIndex:"id",key:"id"},{title:s("global.creationTime"),dataIndex:"ctime",key:"ctime"},{title:s("global.operation"),width:150,align:"center",render:(f,c)=>jsxs(Space,{size:"small",children:[jsx(X,{code:"200003",size:"small",type:"link",config:{isGlobalMode:true},onClick:async()=>{g(c);},children:s("global.update")}),jsx(X,{danger:true,code:"200004",size:"small",type:"link",config:{isGlobalMode:true},onClick:()=>{o.confirm({title:s("Role.deleteTitle"),content:jsx(Ke,{texts:[c.name],children:s("Role.deleteContent",{role:c.name})}),async onOk(){await m.mutateAsync({id:c.id,name:c.name}),r("role-list"),e.success(s("Role.deleteSuccessfully"));}});},children:s("global.delete")})]})}];return jsxs(Fragment,{children:[jsx(Card,{title:s("global.role"),extra:jsx(X,{type:"primary",code:"200002",icon:jsx(UsergroupAddOutlined,{}),config:{isGlobalMode:true},onClick:()=>{i();},children:s("Role.createTitle")}),children:jsx(Se,{identifier:"role-list",rowKey:"name",columns:h,code:"200001",request:{url:"/api/usystem/role/list",method:"GET",isGlobalMode:true},dataAdapter:f=>({total:f?.data?.Total,items:f?.data?.List})})}),l,p]})},K2=N2;});var an=C(()=>{ds();});var nn={};Ge(nn,{default:()=>$2});var j2,$2,ln=C(()=>{Xe();E();an();Ot();Fe();j2=()=>{let o=useParams(),{t:e}=_(),{data:t,isLoading:s,refetch:r}=ga(o.name),{show:a,modal:n}=Vt({mode:"update",onSuccess(){r();}}),i=async()=>{a({initialValues:{permissions:t?.permissions,name:t?.name.replace(/^role_/,"")},extraValues:{id:t.id}});};return jsxs(Fragment,{children:[jsx(Breadcrumb,{className:"mb-6",items:[{key:"1",title:jsx(Link,{to:"..",relative:"path",children:e("global.role")})},{key:"2",title:e("RoleDetail.title")}]}),jsx(Card,{title:e("RoleDetail.title"),extra:jsx(X,{code:"200003",config:{isGlobalMode:true},onClick:i,children:e("global.update")}),children:jsxs(Skeleton,{loading:s,children:[jsxs(Descriptions,{column:2,layout:"vertical",className:"mb-6",children:[jsx(Descriptions.Item,{label:e("global.name"),children:t?.name}),jsx(Descriptions.Item,{label:"ID",children:t?.id}),jsx(Descriptions.Item,{label:e("global.creationTime"),children:t?.ctime})]}),jsx(Divider,{}),jsx(Et,{readonly:true,value:t?.permissions})]})}),n]})},$2=j2;});Xe();E();var Nn=o=>{let{initialTags:e,addable:t,removable:s,addCallback:r,removeCallback:a}=o,{t:n}=_(),{token:i}=theme.useToken(),[l,y]=useState([]),[p,m]=useState(false),[g,h]=useState(""),[f,c]=useState(-1),[S,b]=useState(""),d=useRef(null),u=useRef(null);useEffect(()=>{y(e??[]);},[e]),useEffect(()=>{p&&d.current?.focus();},[p]),useEffect(()=>{u.current?.focus();},[g]);let x=async k=>{if(await a?.(k)){let B=l.filter(J=>J!==k);y(B);}},P=()=>{m(true);},R=k=>{h(k.target.value);},A=async()=>{g&&l.indexOf(g)===-1&&await r?.(g)&&y([...l,g]),m(false),h("");},U=k=>{b(k.target.value);},pe=()=>{let k=[...l];k[f]=S,y(k),c(-1),h("");};return jsxs(Space,{wrap:true,size:[0,8],children:[jsx(Space,{wrap:true,size:[0,8],children:l.map((k,z)=>f===z?jsx(Input,{ref:u,size:"small",className:"w-[78px] align-top",value:S,onChange:U,onBlur:pe,onPressEnter:pe},k):jsx(Tag,{closable:s,className:"select-none",onClose:async B=>{B.preventDefault(),await x(k);},children:jsx("span",{onDoubleClick:B=>{z!==0&&(c(z),b(k),B.preventDefault());},children:k})},k))}),t&&(p?jsx(Input,{ref:d,type:"text",size:"small",className:"w-[78px] align-top",value:g,onChange:R,onBlur:A,onPressEnter:A}):jsxs(Tag,{className:"border-dashed",style:{background:i.colorBgContainer},onClick:P,children:[jsx(PlusOutlined,{}),"\xA0",n("global.add")]}))]})},Kn=Nn;var Bn=o=>{let{children:e,...t}=o,[s,r]=useState(false);return jsx(Typography.Paragraph,{...t,className:"mb-0",ellipsis:{rows:2,expandable:"collapsible",expanded:s,onExpand:(a,n)=>{r(n.expanded);}},children:e})},Ht=Bn;jt();Tt();var $t=class{constructor(e=10){Te(this,"cache");Te(this,"maxSize");Te(this,"listeners");Te(this,"snapshot");this.cache=new Map,this.maxSize=e,this.listeners=new Set,this.snapshot=new Map;}subscribe(e){return this.listeners.add(e),()=>{this.listeners.delete(e);}}notify(){this.snapshot=new Map(this.entries()),this.listeners.forEach(e=>e());}getSnapshot(){return this.snapshot.size===0&&this.cache.size>0&&(this.snapshot=new Map(this.entries())),this.snapshot}get(e){let t=this.cache.get(e);if(t)return this.cache.set(e,{...t,timestamp:Date.now()}),t.value}set(e,t){let s=this.cache.has(e),r=s?this.cache.get(e):null;if(s&&r){r.value!==t?(this.cache.set(e,{value:t,timestamp:Date.now()}),this.notify()):this.cache.set(e,{...r,timestamp:Date.now()});return}this.cache.size>=this.maxSize&&this.evictOldest(),this.cache.set(e,{value:t,timestamp:Date.now()}),this.notify();}delete(e){let t=this.cache.delete(e);return t&&this.notify(),t}has(e){return this.cache.has(e)}clear(){this.cache.size>0&&(this.cache.clear(),this.notify());}get size(){return this.cache.size}keys(){return this.cache.keys()}entries(){let e=[];for(let[t,s]of this.cache.entries())e.push([t,s.value]);return e[Symbol.iterator]()}entriesWithMetadata(){return this.cache.entries()}evictOldest(){if(this.cache.size===0)return;let e=null,t=1/0;for(let[s,r]of this.cache.entries())r.timestamp<t&&(t=r.timestamp,e=s);e!==null&&this.cache.delete(e);}};var nr=createContext(null),ci=({children:o,maxCache:e=10,clearOnUnmount:t=false})=>{let s=useRef(new $t(e)),r=useSyncExternalStore(g=>s.current.subscribe(g),()=>s.current.getSnapshot()),a=(g,h)=>{let f=s.current.get(g);if(f){if(!f.active){let c={element:f.element,active:true,timestamp:Date.now()};s.current.set(g,c);}}else {let c={element:h,active:true,timestamp:Date.now()};s.current.set(g,c);}},n=g=>{s.current.delete(g);},i=()=>{s.current.clear();},l=g=>{let h=s.current.get(g);if(h&&!h.active){let f={...h,active:true,timestamp:Date.now()};s.current.set(g,f);}},y=g=>{let h=s.current.get(g);if(h&&h.active){let f={...h,active:false};s.current.set(g,f);}},p=g=>s.current.get(g);useEffect(()=>{if(t)return ()=>{i();}},[t,i]);let m={cache:r,addCache:a,removeCache:n,clearCache:i,activateCache:l,deactivateCache:y,getCache:p};return jsx(nr.Provider,{value:m,children:o})};function qe(){let o=useContext(nr);if(!o)throw new Error("useKeepAliveContext must be used within KeepAliveProvider");return o}var yi=({cacheKey:o,children:e,disabled:t=false,getCacheKey:s})=>{let r=useLocation(),{addCache:a,activateCache:n,deactivateCache:i,getCache:l}=qe(),y=useRef(e),p=o||s?.(r)||`${r.pathname}${r.search}`;if(y.current=e,useEffect(()=>t?void 0:(l(p)?n(p):a(p,y.current),()=>{i(p);}),[p,t,a,n,i,l]),t)return jsx(Fragment,{children:e});let m=l(p),g=m&&m.active?m.element:e;return jsx("div",{"data-cache-key":p,children:jsx(Activity,{mode:m&&!m.active?"hidden":"visible",children:g})})};var lr=createContext(0),cr=({children:o,cacheKey:e,isActive:t,duration:s,enabled:r})=>{let[a,n]=useState(false),i=useRef(void 0),l=useRef(null),y=useRef(false);return useEffect(()=>{if(!r){n(false),y.current=t,l.current=e;return}i.current!==void 0&&clearTimeout(i.current);let p=l.current!==e,m=!y.current&&t;return (p||m)&&t?(n(true),i.current=setTimeout(()=>{n(false);},s)):y.current&&!t&&n(false),y.current=t,l.current=e,()=>{i.current!==void 0&&clearTimeout(i.current);}},[e,t,s,r]),r?jsxs("div",{style:{position:"relative",width:"100%",height:"100%",display:t||a?"block":"none"},children:[a&&jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:"rgba(255, 255, 255, 0.8)",zIndex:1e3},children:jsx(Spin,{size:"large"})}),jsx("div",{style:{width:"100%",height:"100%"},children:o})]}):jsx(Fragment,{children:o})},Ii=({disabled:o=false,cacheKeyPrefix:e,enableTransition:t=true,transitionDuration:s=200})=>{let r=useLocation(),a=useOutlet(),n=useMatches(),l=useContext(lr)+1,{cache:y,addCache:p,activateCache:m,deactivateCache:g,getCache:h}=qe(),f=useRef(a),c=useRef(null);f.current=a;let b=(()=>{if(e)return `${e}:${r.pathname}${r.search}`;let P=n[n.length-1]?.pathname||r.pathname;return `level-${l}:${P}${r.search}`})();useEffect(()=>{if(o||!f.current||c.current===b)return;let x=c.current;if(c.current=b,x){let R=h(x);R&&R.active&&g(x);}h(b)?m(b):p(b,f.current),Array.from(y.entries()).forEach(([R,A])=>{if(R===b||!A.active)return;let U=false;e?U=R.startsWith(`${e}:`):U=R.startsWith(`level-${l}:`),U&&g(R);});},[b,o,p,m,g,h,l,e,y.size]);let d=h(b),u=Array.from(y.entries()).filter(([x])=>e?x.startsWith(`${e}:`):x.startsWith(`level-${l}:`));return o?jsx(Fragment,{children:a}):jsxs(lr.Provider,{value:l,children:[u.map(([x,P])=>jsx(cr,{cacheKey:x,isActive:P.active,duration:s,enabled:t,children:jsx("div",{"data-cache-key":x,children:jsx(Activity,{mode:P.active?"visible":"hidden",children:P.element})})},x)),!d&&a&&jsx(cr,{cacheKey:b,isActive:true,duration:s,enabled:t,children:jsx("div",{"data-cache-key":b,children:jsx(Activity,{mode:"visible",children:a})})})]})};function Fo(){let{cache:o,removeCache:e,clearCache:t,getCache:s,activateCache:r,deactivateCache:a}=qe();return {cache:o,removeCache:e,clearCache:t,clearCacheByPath:p=>{let m=p.endsWith("/")&&p!=="/"?p.slice(0,-1):p,g=[];o.forEach((h,f)=>{let c=f.split("?")[0],S=c.endsWith("/")&&c!=="/"?c.slice(0,-1):c;(S===m||S.startsWith(`${m}/`))&&g.push(f);}),g.forEach(h=>e(h));},clearCurrentCache:()=>{let p=[];o.forEach((m,g)=>{m.active&&p.push(g);}),p.forEach(m=>e(m));},getCacheKeys:()=>Array.from(o.keys()),getAllCache:()=>Array.from(o.entries()),getCache:s,activateCache:r,deactivateCache:a}}D();E();Z();var Mi=({children:o})=>{let{context:{gameScoped:e},game:{appId:t}}=I(),{isLoading:s}=ke(),{t:r}=_();return e?s?jsx("div",{className:"flex justify-center items-center h-[400px]",children:jsx(Spin,{})}):t?jsx(Fragment$1,{children:o},t):jsx(Empty,{image:Empty.PRESENTED_IMAGE_SIMPLE,description:r("RequireGame.description")}):jsx(Fragment,{children:o})},wo=Mi;D();D();E();var Ei=()=>{let{t:o}=_(),e=useNavigate(),{token:{user:t},context:{loginPath:s},clear:r}=I(),a=()=>{r(),e(s);},n=y=>{(y.key==="Enter"||y.key===" ")&&(y.preventDefault(),a());},i=y=>{(y.key==="Enter"||y.key===" ")&&y.preventDefault();},l=[{key:"1",icon:jsx(LogoutOutlined,{}),label:jsx("a",{role:"button",tabIndex:0,onClick:a,onKeyDown:n,children:o("UserDropdown.signOutText")})}];return jsx("div",{children:jsx(Dropdown,{menu:{selectable:true,items:l},placement:"bottomRight",children:jsx("a",{role:"button",tabIndex:0,onClick:y=>{y.preventDefault();},onKeyDown:i,children:jsxs(Space,{align:"center",children:[jsx("span",{children:t?.authorityId}),jsx(UserOutlined,{className:"text-base"})]})})})})},Lo=Ei;D();E();Z();var qi=o=>{let{filter:e,options:t,onChange:s}=o,{t:r}=_(),{context:{useGameApiV2:a},game:{appId:n,setAppId:i}}=I(),{data:l,isLoading:y}=ke(),p=useQueryClient(),m=Fo(),g=useRef(false),h=useMemo(()=>{let c=e?l?.filter(S=>e(S)):l;return t?t(c):c?.map(S=>({label:S.name,value:String(a?S.game_id:S.id)}))},[l,e,t,a]);useEffect(()=>{g.current&&(g.current=false,p.invalidateQueries({predicate:c=>!c.queryKey.includes("/api/game/list")&&!c.queryKey.includes("/api/usystem/game/all")}));},[n,p]);let f=c=>{g.current=true,m.clearCache(),i(c),s?.(c);};return useEffect(()=>{if(y||!h)return;n&&h.some(S=>String(S.value)===String(n))||i(h[0]?.value);},[h,y,n,i]),jsxs(Space,{children:[jsx(Typography.Text,{children:r("GameSelect.label")}),jsx(Select,{showSearch:{optionFilterProp:"label"},value:n!=null?String(n):void 0,placeholder:r("GameSelect.placeholder"),loading:y,className:"w-[250px]",options:h,onChange:f})]})},hr=qi;var gr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAydpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDcuMS1jMDAwIDc5LmIwZjhiZTkwLCAyMDIxLzEyLzE1LTIxOjI1OjE1ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgMjMuMiAoTWFja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+dFnR2T/g1aggAw2ECQLpG8VTMU7BC1fdRfRW0aNcUQBCbp4apxXf50d9MrmnVpTPg3aQ0CwOisFKxZNX5amGrVZqXAkC5HXDM8oVhpc96jUYuqxh34FjYn/gV+qkfWAQAAGB2raAEACAAAgAAAAAgAAIAAAAAIAACAAAAACAAAgAAAAAgAAIAAAAAIAACAAAAACAAAgAAAAAgAAIAAAAAIAAAgAAAAAgAAIAAAAAIAACAAAAACAAAgAAAAAgAAIAAAAAIAACAAAAACAAAgAAAAAgAAIAAAAAIAALDEfwswAA5KTWf4M/tRAAAAAElFTkSuQmCC";var Qi=o=>jsx("img",{src:gr,alt:"logo",...o}),kt=Qi;D();D();function tt(){let{context:{sidebarCollapsible:o},layout:{collapsed:e}}=I();return o?e:false}var ot="all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)",Sr=memo(({title:o,subtitle:e,titleStyle:t})=>{let{context:{homePath:s}}=I(),{token:{colorPrimary:r}}=theme.useToken(),a=tt();return jsxs("div",{className:"px-6 py-2 font-bold relative bg-linear-to-r from-white to-gray-50/30 h-auto flex flex-col justify-center backdrop-blur-sm",children:[jsxs("div",{className:`flex items-center w-full ${a?"justify-center":""}`,children:[jsx(Link,{to:s,className:"transition-all duration-300 ease-out block rounded-lg p-1 shrink-0",style:{transition:ot,opacity:a?.8:1},children:jsx(kt,{width:36,className:"object-contain block",style:{transition:ot,height:36}})}),o&&jsx("div",{className:"ml overflow-hidden min-w-0",style:{transition:ot,opacity:a?0:1,width:a?"0px":"auto",marginLeft:a?"0px":"2px",transform:a?"translateX(-8px)":"translateX(0)"},children:jsx(Link,{to:s,className:"text-xl leading-tight transition-all duration-300 font-bold text-ellipsis overflow-hidden whitespace-nowrap block",title:o,style:{color:r,textShadow:"0 1px 2px rgba(0, 0, 0, 0.05)",...t??{}},children:o})})]}),jsx("div",{className:"w-full mt-2 overflow-hidden",style:{height:e&&!a?"20px":"1px",transition:ot},children:jsxs("div",{className:"flex items-center justify-center h-full w-full",children:[jsx("div",{className:"w-full border-t border-gray-200 absolute",style:{top:64,opacity:!e||a?1:0,transition:ot}}),e&&jsxs("div",{className:"flex items-center w-full text-sm",style:{opacity:a?0:1,transform:a?"translateY(-3px)":"translateY(0)",transition:ot},children:[jsx("div",{className:"flex-1 border-t border-gray-200"}),jsx("span",{className:"px-3 text-gray-500 font-medium whitespace-nowrap",title:e,children:e}),jsx("div",{className:"flex-1 border-t border-gray-200"})]})]})})]})});Sr.displayName="LayoutHeader";var br=Sr;D();var Yi=o=>jsx(Link,{to:o.to,children:o.children});function Cr(o,e){return e||(typeof o=="string"?o:String(o||""))}function Zt(o){return o?o.map(e=>{if(isNil(e)||e.type==="divider")return e;let t=e;if(t.children){let{children:y,label:p,...m}=t;return e.type==="group"?{...m,label:p,children:Zt(y)}:{...m,label:p,title:Cr(p,e.title),children:Zt(y)}}let s=e,{route:r,label:a,title:n,...i}=s;return {...i,label:r?jsx(Yi,{to:r,children:a}):a,title:Cr(a,n)}}):[]}function Ao(o,e=[],t=[],s){return compact(o).forEach(r=>{let n=r.children;if(isArray(n)&&n.length>0){let i=r.type==="group",l=i&&r.key?r.key:s,y=!i&&r.key?[...t,r.key]:t;Ao(n,e,y,l);}else e.push({...r,keypath:t,groupKey:s});}),e}var il=(o,e)=>{if(!e)return false;if(e==="*")return true;if(e.endsWith("*")){let t=e.slice(0,-1);return o.startsWith(t)}return matchPath({path:e,end:true},o)!==null},ll=o=>{let{items:e=[],loading:t,theme:s}=o,r=useLocation(),{nav:{openKeys:a,selectedKeys:n,setOpenKeys:i,setSelectedKeys:l}}=I(),y=tt(),p=Ao(e),m=Zt(e),g=useRef(void 0),h=useRef(void 0);return useEffect(()=>{let f=r.pathname,c=g.current,S=h.current,b=c===void 0||c!==f,d=!!S&&!y,u=find(p,U=>il(f,U.route));if(!u){g.current=f,h.current=y;return}let{key:x,keypath:P,groupKey:R}=u,A=[];if(b&&n[0]!==x&&l([x]),b||d){let U=difference(P||[],a);A.push(...U);}d&&R&&!a.includes(R)&&A.push(R),A.length>0&&i([...a,...A]),g.current=f,h.current=y;},[r.pathname,y,p,a,n,i,l]),t?jsx("div",{className:"flex justify-center items-center h-[calc(100vh-64px)]",children:jsx(Spin,{})}):jsx(Menu,{theme:s,className:"border-r-0",items:m,mode:"inline",openKeys:a,selectedKeys:n,inlineCollapsed:y,onOpenChange:i,onSelect:({selectedKeys:f})=>{l(f);}})},Ir=ll;var {Header:gl,Sider:xl,Content:Sl}=Layout,bl=64,Cl=(o,e)=>e instanceof RegExp?e.test(o):matchPath(e,o)!==null,Pl=o=>{let{title:e,titleStyle:t,subtitle:s,navigation:r,gameSelect:a,headerExtra:n,children:i}=o,l=useLocation(),{token:{colorBgContainer:y,colorBorder:p}}=theme.useToken(),{context:{sidebarWidth:m,sidebarCollapsible:g,gameScoped:h},layout:{toggleCollapsed:f}}=I(),c=tt(),S=a?.hideOnRoutes&&a.hideOnRoutes.length>0?a.hideOnRoutes.some(d=>Cl(l.pathname,d)):false,b=!S&&h;return jsxs(Layout,{children:[jsxs(xl,{collapsible:g,theme:"light",trigger:null,collapsed:c,width:m,className:"h-screen overflow-x-hidden overflow-y-auto border-r",style:{borderColor:p},children:[jsx(br,{title:e,subtitle:s,titleStyle:t}),jsx(Ir,{items:r?.items,loading:r?.loading})]}),jsxs(Layout,{children:[jsx(gl,{style:{background:y,paddingLeft:16},children:jsxs("div",{className:"flex justify-between items-center h-full",children:[jsxs(Space,{size:"small",className:"mr-6",separator:jsx(Divider,{orientation:"vertical"}),children:[g&&jsx(Button,{type:"text",icon:c?jsx(MenuUnfoldOutlined,{}):jsx(MenuFoldOutlined,{}),className:"text-base",onClick:f}),b&&jsx(hr,{filter:a?.filter,options:a?.options,onChange:a?.onChange}),n?.left?.map(d=>jsx("span",{children:d.children},d.key))]}),jsxs(Space,{size:"small",separator:jsx(Divider,{orientation:"vertical"}),children:[n?.right?.map(d=>jsx("span",{children:d.children},d.key)),jsx(Lo,{})]})]})}),jsx(Sl,{className:"overflow-auto px-4 py-6",style:{maxHeight:`calc(100vh - ${bl}px)`},children:jsx(Suspense,{fallback:jsx("div",{className:"flex justify-center items-center h-[200px]",children:jsx(Spin,{})}),children:S?i:jsx(wo,{children:i})})})]})]})},vl=Pl;at();E();Z();var fc=o=>{let{code:e,config:t,redirectPath:s="/",children:r}=o,{data:a,isLoading:n}=te(e,t),{t:i}=_(),l=useNavigate();return n?jsx("div",{className:"flex justify-center items-center h-[200px]",children:jsx(Spin,{})}):a?jsx(Fragment,{children:r}):jsx(Result,{status:"403",subTitle:i("global.noEntitlement"),extra:jsx(Button,{type:"primary",onClick:()=>l(s),children:i("global.back")})})},yc=fc;var Sc="_select_all_value_";function Ur(o){if(!o)return [];let e=[];for(let t of o)if(t){if("options"in t&&Array.isArray(t.options)){e.push(...Ur(t.options));continue}"value"in t&&(typeof t.value=="string"||typeof t.value=="number")&&e.push({label:t.label??t.children,value:t.value,disabled:!!t.disabled});}return e}var bc=o=>{let{options:e,value:t,onChange:s,mode:r="multiple",allLabel:a="\u5168\u9009",allValue:n=Sc,includeDisabledInAll:i=false,...l}=o,y=Ur(e),p=uniq((i?y:y.filter(c=>!c.disabled)).map(c=>c.value)),m=(()=>{if(!t||t.length===0||p.length===0)return false;let c=new Set(t);return p.every(S=>c.has(S))})(),g=[{label:a,value:n,disabled:p.length===0},...e];return jsx(Select,{...l,mode:r,options:g,value:t??[],onChange:(c,S)=>{let b=Array.isArray(c)?c:[],d=b.includes(n),u=b.filter(x=>x!==n);if(d&&!m){s?.(p,S);return}if(d&&m){s?.([],S);return}s?.(u,S);}})},Cc=bc;D();Ne();Oe();Oe();var Wo=null;function Ho(){return Wo||(Wo=create()(Pt())),Wo()}function $o(o){let{content:e,onConfirm:t,afterOpen:s,afterClose:r,footer:a,confirmText:n="\u786E\u8BA4",cancelText:i="\u53D6\u6D88",confirmButtonProps:l,cancelButtonProps:y,...p}=o,[m]=useState(()=>vt()),{show:g,hide:h,isOpen:f,cleanup:c}=Ho(),[S,b]=useState(false);useEffect(()=>()=>c(m),[m,c]);let d=f(m),u=async()=>{g(m),await s?.();},x=()=>{h(m);},P=async()=>{x(),await r?.();},R=async()=>{try{b(!0),await t?.();}catch(z){throw console.error("Drawer confirm error:",z),z}finally{b(false);}},U=typeof e=="function"?e({hide:x}):e,pe=a!==void 0?a:jsxs("div",{className:"flex gap-4 mx-4",children:[jsx(Button,{type:"primary",loading:S,...l,onClick:R,children:n}),jsx(Button,{...y,onClick:P,children:i})]}),k=jsx(Drawer,{...p,open:d,footer:pe,onClose:P,children:U});return {id:m,show:u,hide:x,confirmLoading:S,drawer:k}}function Rc(o){let{content:e,form:t,formProps:s,onConfirm:r,onSuccess:a,afterClose:n,...i}=o,[l,y]=useState({}),[p]=Form.useForm(t),m=async()=>{let u=await p.validateFields();await r?.(u,l),a?.();},g=()=>{y({}),n?.(p);},h=u=>{let x=typeof e=="function"?e(l,u):e;return jsx(Form,{...s,form:p,children:x})},{id:f,show:c,hide:S,drawer:b}=$o({...i,content:h,onConfirm:m,afterClose:g});return {id:f,show:u=>{u?.extraValues!==void 0&&y(u.extraValues),u?.initialValues&&p.setFieldsValue(u.initialValues),c();},hide:S,drawer:b}}oo();E();var Uc=o=>{let{redirectUrl:e}=o,t=useNavigate(),{t:s}=_();return jsx("div",{className:"text-center",children:jsx(Result,{status:"404",title:"404",subTitle:s("NotFound.subTitle"),extra:e&&jsx(Button,{type:"primary",onClick:()=>{t(e);},children:s("NotFound.buttonText")})})})},Nc=Uc;at();E();var {Option:Wr}=Select,zc=()=>{let{t:o}=_(),e=[{key:"username",title:o("global.username"),dataIndex:"uname",width:100},{key:"label",title:o("global.label"),dataIndex:"label",width:150},{key:"method",title:o("global.method"),dataIndex:"method",width:100},{key:"route",title:o("global.route"),dataIndex:"route",width:200},{key:"request",title:o("global.request"),dataIndex:"request",render(t){return jsx(Ht,{children:t})}},{key:"response",title:o("global.response"),dataIndex:"response",render(t){return jsx(Ht,{children:t})}},{key:"creation_time",title:o("global.creationTime"),dataIndex:"ctime",width:200,render(t){return qc(t).format("YYYY-MM-DD HH:mm:ss")}}];return jsx(Card,{title:"\u64CD\u4F5C\u65E5\u5FD7",children:jsx(Se,{identifier:"operation-log-list",rowKey:"id",code:"300001",columns:e,tableLayout:"fixed",request:{url:"/api/usystem/log/list",method:"GET",isGlobalMode:true},dataAdapter:t=>({total:t?.data?.Total,items:t?.data?.List}),renderForm:t=>jsxs(Form,{form:t,layout:"inline",children:[jsx(Form.Item,{label:o("global.username"),name:"uname",children:jsx(Input,{allowClear:true})}),jsx(Form.Item,{label:o("global.route"),name:"route",children:jsx(Input,{allowClear:true})}),jsx(Form.Item,{label:o("global.method"),name:"method",children:jsxs(Select,{allowClear:true,className:"w-[100px]",children:[jsx(Wr,{value:"get",children:"GET"}),jsx(Wr,{value:"post",children:"POST"})]})}),jsx(Form.Item,{label:o("global.label"),name:"label",children:jsx(Input,{allowClear:true})})]})})})},Bc=zc;D();Ne();E();var $r='data:image/svg+xml,<svg xml:space="preserve" style="enable-background:new 0 0 6000 4000;" viewBox="0 0 6000 4000" y="0px" x="0px" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" id="Layer_1" version="1.1">%0A<style type="text/css">%0A%09.Graphic_x0020_Style_x0020_100{fill:%23FFFFFF;}%0A%09.Graphic_x0020_Style_x0020_101{fill:url(%23SVGID_1_);}%0A%09.Graphic_x0020_Style_x0020_102{fill:url(%23SVGID_2_);}%0A%09.Graphic_x0020_Style_x0020_104{fill:%23DB6767;}%0A%09.Graphic_x0020_Style_x0020_105{fill:%23FFDE70;}%0A%09.Graphic_x0020_Style_x0020_106{fill:%23FFB114;}%0A%09.Graphic_x0020_Style_x0020_107{fill:%236584C6;}%0A%09.Graphic_x0020_Style_x0020_108{fill:%23102140;}%0A%09.Graphic_x0020_Style_x0020_109{fill:%233B546B;}%0A%09.Graphic_x0020_Style_x0020_110{fill:%23152A52;}%0A%09.Graphic_x0020_Style_x0020_111{fill:%23E8766F;}%0A%09.Graphic_x0020_Style_x0020_112{fill:%23EF5668;}%0A%09.Graphic_x0020_Style_x0020_113{fill:%23FC9590;}%0A%09.Graphic_x0020_Style_x0020_114{fill:%23912433;}%0A%09.Graphic_x0020_Style_x0020_115{opacity:0.5;fill:%23FFFFFF;}%0A%09.Graphic_x0020_Style_x0020_116{fill:%231A1A1A;}%0A%09.Graphic_x0020_Style_x0020_117{fill:%23535353;}%0A%09.Graphic_x0020_Style_x0020_118{fill:%23DBD2DB;}%0A%09.Graphic_x0020_Style_x0020_119{fill:%234D73C6;}%0A%09.Graphic_x0020_Style_x0020_120{fill:%23D1334A;}%0A%09.Graphic_x0020_Style_x0020_123{fill:url(%23SVGID_3_);}%0A%09.st0{fill:url(%23SVGID_4_);}%0A%09.st1{fill:url(%23SVGID_5_);}%0A%09.st2{fill:url(%23SVGID_6_);}%0A%09.st3{fill:%239D8A9D;}%0A%09.st4{fill:url(%23SVGID_7_);}%0A%09.st5{fill:url(%23SVGID_8_);}%0A%09.st6{fill:%233B546B;}%0A%09.st7{fill:%23A8A1A8;}%0A%09.st8{fill:%23DBD2DB;}%0A%09.st9{fill:%23FFFFFF;stroke:%231A1A1A;stroke-width:5.3432;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}%0A%09.st10{fill:%23339E7E;}%0A%09.st11{fill:none;stroke:%2310663F;stroke-width:5.3432;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}%0A%09.st12{fill:%2300593B;}%0A%09.st13{fill:none;stroke:%233DBE88;stroke-width:5.3432;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}%0A%09.st14{fill:none;stroke:%23134411;stroke-width:8.0149;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}%0A%09.st15{fill:%23EF5668;}%0A%09.st16{fill:%23FC9590;}%0A%09.st17{fill:%23102140;}%0A%09.st18{fill:%23DB6767;}%0A%09.st19{fill:%231A1A1A;stroke:%231A1A1A;stroke-width:5.3432;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}%0A%09.st20{fill:%23FFFFFF;}%0A%09.st21{fill:%23535353;}%0A%09.st22{fill:%23F9EBF9;}%0A%09.st23{fill:%23D896D8;}%0A%09.st24{fill:%238E3D8E;}%0A%09.st25{fill:%23CA74CA;}%0A%09.st26{fill:%23D590D5;}%0A%09.st27{fill:%23160A16;}%0A%09.st28{fill:%23384A6E;}%0A%09.st29{fill:%23B7C0D4;}%0A%09.st30{fill:%23E8766F;}%0A%09.st31{fill:%23FFB114;}%0A%09.st32{fill:%23FFDE70;}%0A%09.st33{fill:%23434343;}%0A%09.st34{fill:%23664708;}%0A%09.st35{fill:%23D9D9D9;}%0A%09.st36{fill:url(%23SVGID_9_);}%0A%09.st37{fill:url(%23SVGID_10_);}%0A%09.st38{fill:url(%23SVGID_11_);}%0A%09.st39{fill:url(%23SVGID_12_);}%0A</style>%0A<linearGradient y2="0" x2="1" y1="0" x1="0" gradientUnits="userSpaceOnUse" id="SVGID_1_">%0A%09<stop style="stop-color:%234085F0" offset="0"></stop>%0A%09<stop style="stop-color:%23275DC9" offset="1"></stop>%0A</linearGradient>%0A<linearGradient y2="0" x2="1" y1="0" x1="0" gradientUnits="userSpaceOnUse" id="SVGID_2_">%0A%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09<stop style="stop-color:%23529BF7" offset="1"></stop>%0A</linearGradient>%0A<linearGradient y2="0" x2="1" y1="0" x1="0" gradientUnits="userSpaceOnUse" id="SVGID_3_">%0A%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09<stop style="stop-color:%23EBF0F7" offset="1"></stop>%0A</linearGradient>%0A<g>%0A%09<linearGradient y2="3014.9536" x2="4941.2124" y1="3014.9536" x1="1288.5804" gradientUnits="userSpaceOnUse" id="SVGID_4_">%0A%09%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09%09<stop style="stop-color:%23EBF0F7" offset="1"></stop>%0A%09</linearGradient>%0A%09<path d="M1288.6,2793.9c55.3,134.1,186.5,387.6,453.7,503.3c220.8,95.6,442.9,57.4,694.7,14.2%0A%09%09c343.1-59,344.3-140.4,552.9-134.7c282.5,7.8,357.3,159.3,673.4,219.7c66.5,12.7,309.6,47.5,574.2-28.4%0A%09%09c360.6-103.4,734.8-407.2,701.8-560C4895.4,2605.9,4103.5,2505.3,1288.6,2793.9z" class="st0"></path>%0A%09<linearGradient y2="1994.5433" x2="5456.5684" y1="1994.5433" x1="686.3356" gradientUnits="userSpaceOnUse" id="SVGID_5_">%0A%09%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09%09<stop style="stop-color:%23529BF7" offset="1"></stop>%0A%09</linearGradient>%0A%09<path d="M5428.3,1649.1c-131.4-612.4-697.6-977.3-1155.4-1020.7c-232.1-22-245.1,56.7-616.7,117%0A%09%09c-821.7,133.2-1081-199.5-1850.1-85.1c-341.2,50.8-687.6,102.3-914.4,382.8C519.9,1502.7,718.2,2270,973.9,2621.3%0A%09%09c165.2,227,392.7,363.9,392.7,363.9c68.9,41.5,168.6,100.4,304.8,131.1c237.9,53.7,359.9-29.9,560-42.5%0A%09%09c342.7-21.6,401.6,197.2,772.6,276.4c190.7,40.7,257.4,0.5,1084.5-212.6c811.7-209.1,858.2-198.9,974.7-297.7%0A%09%09C5379.4,2571.8,5521.7,2084.7,5428.3,1649.1z M2709.5,2042.7v-2.7V2042.7z" class="st1"></path>%0A%09<linearGradient y2="1859.5726" x2="5227.9292" y1="1859.5726" x1="1116.5316" gradientUnits="userSpaceOnUse" id="SVGID_6_">%0A%09%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09%09<stop style="stop-color:%23EBF0F7" offset="1"></stop>%0A%09</linearGradient>%0A%09<path d="M5148.1,1664.4c-146.3-421.8-552.5-838.3-943.2-819c-297.4,14.6-412.5,273.3-678.4,215.1%0A%09%09c-227.7-49.8-217.9-255.8-471.6-405.4c-401.7-236.8-1083-107.4-1265.9,223.4c-99.3,179.7-11.7,346.7-173.7,521.2%0A%09%09c-113.5,122.3-192.5,78.9-314.4,198.6c-154.9,152-219.8,410.7-165.5,645.3c73.8,318.7,366.8,477.2,388.9,488.1%0A%09%09c827.4,146.2,1654.7,292.3,2482.1,438.5c80.8,13.1,529.4,77.9,879.7-216.7C5295.8,2609,5272.6,2023.2,5148.1,1664.4z%0A%09%09 M2709.5,2042.7v-2.7V2042.7z" class="st2"></path>%0A%09<path d="M5224.3,2042.5c-143.7-88.6-413.9-68.2-740.1-95.9c-488.7-41.5-1188.7,312.8-1437,221.4%0A%09%09c-95.1-35-167.4-141.7-220.4-260v1053.6c291.4,51.5,582.8,103,874.2,154.4l1292.2-269.1C5190,2615.6,5243.4,2314,5224.3,2042.5z" class="st3"></path>%0A%09<linearGradient y2="1741.7239" x2="2757.678" y1="1741.7239" x1="1116.5317" gradientUnits="userSpaceOnUse" id="SVGID_7_">%0A%09%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09%09<stop style="stop-color:%23529BF7" offset="1"></stop>%0A%09</linearGradient>%0A%09<path d="M1789.1,878.4c-99.3,179.7-11.7,346.7-173.7,521.2c-113.5,122.3-192.5,78.9-314.4,198.6%0A%09%09c-154.9,152-219.8,410.7-165.5,645.3c73.8,318.7,366.8,477.2,388.9,488.1c411.1,72.6,822.2,145.3,1233.4,217.9V550.2%0A%09%09C2377.7,484.9,1931.7,620.4,1789.1,878.4z M2709.5,2042.7v-2.7V2042.7z" class="st4"></path>%0A%09<linearGradient y2="1215.4698" x2="2649.5779" y1="1215.4698" x1="1137.9542" gradientUnits="userSpaceOnUse" id="SVGID_8_">%0A%09%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09%09<stop style="stop-color:%23EBF0F7" offset="1"></stop>%0A%09</linearGradient>%0A%09<path d="M1789.1,878.4c-99.4,179.7-11.7,346.7-173.7,521.2c-113.6,122.3-192.5,78.9-314.4,198.6%0A%09%09c-79.1,77.6-134.7,183-163,298.8c82.9-108.4,187.6-189.5,319.3-210.4c445.6-70.8,892.8,45.1,1192.3-113.7V537.1%0A%09%09C2296.9,511.3,1918.4,644.5,1789.1,878.4z" class="st5"></path>%0A%09<polygon points="1937.1,644.5 1937.1,2265.3 1979.7,2269.9 1983,640.9" class="st6"></polygon>%0A%09<path d="M2757.7,550.2c-35.6-6.1-71.7-10.5-108.1-13.1v1035.7c38.6-20.4,74.7-45.4,108.1-76V550.2z" class="st7"></path>%0A%09<path d="M1117.4,850.5c-15.5,9-30.8,18.5-45.8,28.5v1689.5l42.6,5.1L1117.4,850.5z" class="st6"></path>%0A%09<path d="M2826.8,564.5c-22.7-5.5-45.8-10.3-69.1-14.3v2399.3c23,4.1,46.1,8.1,69.1,12.2V564.5z" class="st8"></path>%0A%09<g>%0A%09%09<path d="M1121,2361c0,0-98.3-110.7,84.2-222.1c-25.3,43.4-118,92.3-52.4,202.9%0A%09%09%09c27.1,62.9-12.8,89.7-12.8,89.7S1080.6,2436.5,1121,2361z" class="Graphic_x0020_Style_x0020_116"></path>%0A%09%09<g>%0A%09%09%09<path d="M1282.2,2470.4c-15.5,28.9-215.1,26.5-315.7,23.4c-1.1-4.4-2.1-8.7-3.1-13c-1.8-7.8-3.5-15.5-5-23.2%0A%09%09%09%09C1035.2,2452.4,1299.9,2437.2,1282.2,2470.4z" class="st9"></path>%0A%09%09%09<path d="M1282.2,2470.4l-16.7,216.9c-25.9,39.1-25.5,89.5-36,137.5c-4.3,22.7-20.4,30.2-38.6,29.2%0A%09%09%09%09c-39.4-34.1-82.1-74.2-124.2-119.9c-50-80.3-81.3-162.6-100.3-240.3C1067.1,2496.9,1266.7,2499.4,1282.2,2470.4z" class="st9"></path>%0A%09%09</g>%0A%09%09<g>%0A%09%09%09<path d="M1331.3,2151c12.7,12.2,30.7,16,43,17c5.5-2.7,11.1-5.7,16.6-8.9c24.3-13.9,39.8-38.8,49.7-66.7%0A%09%09%09%09c-16.1,5.8-51.8,17.4-67.4,11.2c-20.4-8.1-12.5-17.1-3-14.1c11.7,6,55.7-6.5,75.3-12.5c4.1-14.9,6.8-30.2,8.6-44.8%0A%09%09%09%09c-13.9,8.3-34.9,15.8-44.4,12.6c-12.3-4.2-7.4-14.4,2.7-13.2c7.4,0.8,31.4-12,43.6-18.8c2.2-29.7,0.8-53.4,0.4-59.6%0A%09%09%09%09c-0.1-1-0.1-1.6-0.1-1.6s-29-8.6-66.9-14.1c-8,8.1-19.9,20.8-24.9,29.3c-8,13.3-11.7,24.3-18.1,22.2%0A%09%09%09%09c-12.7-6.6,13.3-37.6,27.8-53.4c-16.5-1.8-34.1-2.9-51.4-2.3c-51.5,40.6-24.5,76.1-44.7,71.8c-17.5-3.7,13.5-51.5,26.6-70.5%0A%09%09%09%09c-16.3,1.8-31.9,5.4-45.3,11.6c-12.1,6.2-22.8,12.2-32.4,18.1c-14.5,34.4,20,53.7,1.7,57.9c-14.3,3.3-16.2-30.4-16.2-48.5%0A%09%09%09%09c-124.9,86.7,2.8,144.8,2.8,144.8c0.1,0.5,0.2,1,0.3,1.6c11.4,70.5,70.1,82,134.6,58.3c-10-8-28.1-22.8-31-26.1%0A%09%09%09%09C1315,2147.7,1321.1,2139.9,1331.3,2151z" class="st10"></path>%0A%09%09%09<path d="M1433.5,1969.4c0,0-146,112.4-218.2,149.3" class="st11"></path>%0A%09%09%09<path d="M1396.4,2051c0,0-33.9,4.5-68.8-3.9" class="st11"></path>%0A%09%09%09<path d="M1316.2,1996.6c0,0-20.5,49.4-10.8,65.9" class="st11"></path>%0A%09%09%09<path d="M1352,2122.6c0,0-59.6-20.8-79-38.4" class="st11"></path>%0A%09%09%09<path d="M1216.4,2052.4c0,0-4.7,37.9,18.4,55.6" class="st11"></path>%0A%09%09</g>%0A%09%09<g>%0A%09%09%09<path d="M882.7,2066.4c10.6,1.3,21,2.9,31.1,4.8c13.6,13.1,30.4,35.2,30.3,62.7c-1.8,23.8,15.4,19.7,16.3,10%0A%09%09%09%09c0.7-7-2.6-43-4.5-62.6c108.1,32.2,164.1,103.7,86.8,204.4c0,0,80.5,195.4-178.5,184.8c22.7-22.7,62.8-66.9,41.4-76.4%0A%09%09%09%09c-27.3-12.2-10,45.1-70.7,74.5c-19-1.7-39.5-4.4-61.7-8.2c-24-5.1-47.2-15.4-69.1-28.8c39.7-11.4,137-41.9,120.6-63.3%0A%09%09%09%09c-18.9-24.6-31,45.8-143.9,47.6c-21.5-15.8-41.4-33.9-58.9-52.1c37.3-6,107.4-20.1,100.5-40.6c-5.2-8.8-23.3,1.5-49.6,10.6%0A%09%09%09%09c-16.7,5.7-46.9,10.3-66.7,12.9c-38.7-43.2-62.7-81.8-62.7-81.8s30.7-35.6,77.3-76.8c23.3,3.1,68.1,9.9,76,18.1%0A%09%09%09%09c10.7,11.2,29.3,3.1,19.9-14.1c-7.3-13.2-42.1-23.8-69.1-26.7c20.4-16.6,42.9-33.2,66.6-48c31,11.1,99.6,37.5,106.2,56.3%0A%09%09%09%09c7.6,12.8,28.5,9,14.2-20.6c-10.9-22.7-68.4-42.4-95-50.5C786.1,2077.1,836.1,2060.7,882.7,2066.4z" class="st12"></path>%0A%09%09%09<path d="M593.2,2264.5c0,0,316.6-1.6,449.7,21.1" class="st13"></path>%0A%09%09%09<path d="M740.2,2197.3c0,0,46.4,26.9,77.7,70.8" class="st13"></path>%0A%09%09%09<path d="M768.3,2342.5c0,0,86.7-42.5,95.7-72.6" class="st13"></path>%0A%09%09%09<path d="M883.4,2149.7c0,0,45.4,83.2,46.7,123.9" class="st13"></path>%0A%09%09%09<path d="M958.3,2368c0,0,53.3-43.2,47.7-87.5" class="st13"></path>%0A%09%09</g>%0A%09%09<g>%0A%09%09%09<path d="M924,1810c7.6,5.4,14.9,11,21.8,16.7c4.5,17.1,7.4,43.4-5.2,67.8c-12.3,20.5,2.9,23.7,8,15.4%0A%09%09%09%09c3.7-5.9,17.7-39.3,25.2-57.5c68.8,71.8,79.4,157.7-26.4,216.5c0,0-27.1,205.9-222.4,93.1c27.9-11.1,79.1-34.4,67-51.4%0A%09%09%09%09c-15.5-21.8-28.3,36.1-88.6,38c-13.9-9.1-28.5-19.7-43.9-32c-16.2-14.1-29.4-32.6-40.2-53.2c35.9,5.7,125,17.5,122.1-8.1%0A%09%09%09%09c-3.3-29.5-44.9,28.3-132.9-15.1c-9.4-22.6-16.5-46.7-21.7-69.8c31.6,9.6,92.2,25,96.2,4c0-9.9-18.7-8-43.2-10.4%0A%09%09%09%09c-15.5-1.6-41-9.5-57.5-15.1c-10.2-53.9-11.1-97.8-11.1-97.8s40-19.4,94.8-37.4c16.6,12,48.1,36,50.4,46.4%0A%09%09%09%09c3.2,14.2,21.3,14.5,21.8-4.6c0.4-14.7-21.6-38-41.2-51.3c23.4-6.6,48.4-12.4,73.4-16.1c18.9,22.3,59.8,73.1,56.3,92.5%0A%09%09%09%09c0,14.5,17.9,19.4,20.4-12.7c1.9-24.5-33.5-65-50.3-82.8C844.5,1781,890.6,1786.3,924,1810z" class="st10"></path>%0A%09%09%09<path d="M609.7,1870.6c0,0,245.3,125,337.8,198.4" class="st11"></path>%0A%09%09%09<path d="M754.1,1869.5c0,0,23.6,42.4,27.7,94" class="st11"></path>%0A%09%09%09<path d="M709.4,2009.9c0,0,86.4-3.2,107.1-26.3" class="st11"></path>%0A%09%09%09<path d="M886.5,1884.4c0,0-2.9,92.1-20.5,128.9" class="st11"></path>%0A%09%09%09<path d="M844.5,2108.4c0,0,60.9-17.2,76.8-58.8" class="st11"></path>%0A%09%09</g>%0A%09%09<g>%0A%09%09%09<path d="M1245.1,1794.2c20.8-5.3,34.8-21,42.5-32.8c-0.2-7.2-0.7-14.6-1.4-22.1c-3.2-32.9-23.8-63.7-50.7-90.6%0A%09%09%09%09c-1.8,19.7-7.4,62.7-22.8,74.5c-20.1,15.5-26.4,2-17.9-5.6c13.2-8.1,22.1-59.9,25.4-83.2c-15-13.2-31.3-25.3-47.2-36%0A%09%09%09%09c2.2,19-0.2,44.7-9,52.2c-11.4,9.8-20.6-1.3-13.9-10.8c4.9-7,2.8-38.8,1.4-55.2c-33.1-20.3-61.3-33.5-68.7-36.8%0A%09%09%09%09c-1.2-0.6-1.9-0.9-1.9-0.9s-25.3,23.8-51.7,58.6c5.2,13,13.5,32.7,20.6,42.9c11.1,16.1,21.9,26.5,16,31.7%0A%09%09%09%09c-14.4,8.7-36.4-36.3-47-60.5c-10.9,15.5-21.4,32.5-29.9,50.2c19.7,76.5,74.9,71.1,59.3,88.7c-13.5,15.3-52.4-45-67.4-69.8%0A%09%09%09%09c-6.6,17.5-10.6,35.3-10.6,52.6c0.7,15.9,2,30.4,3.8,43.6c32.1,35.6,72.7,12.7,67.8,33.6c-3.8,16.4-43.7-2.3-64.6-13.4%0A%09%09%09%09c33.9,178.4,168.8,85.6,168.8,85.6c0.7,0.2,1.3,0.5,2,0.7c87.5,31.6,132-20.3,138.8-99.5c-14.6,5.1-41.3,14.3-46.7,15.2%0A%09%09%09%09C1232.6,1808.5,1226.7,1797.5,1245.1,1794.2z" class="st10"></path>%0A%09%09%09<path d="M1089.2,1580.6c0,0,52.5,215.2,56.8,310.2" class="st11"></path>%0A%09%09%09<path d="M1164,1667.7c0,0-12.8,36.8-41,66.6" class="st11"></path>%0A%09%09%09<path d="M1058.6,1715c0,0,46.2,50.8,70.4,51.1" class="st11"></path>%0A%09%09%09<path d="M1223.1,1755.9c0,0-55.6,47.1-86.3,55.9" class="st11"></path>%0A%09%09%09<path d="M1070,1849.3c0,0,41.4,27.9,74,15.4" class="st11"></path>%0A%09%09</g>%0A%09%09<path d="M1146.1,1890.8c0,0,14.8,158.8-25,350.6" class="st14"></path>%0A%09%09<path d="M937.7,2061.4c0,0,170.2,50.3,183.3,183.5" class="st14"></path>%0A%09%09<path d="M1029.4,2285.6c13.6-4.9,80.6-4.6,99.5,8.8" class="st14"></path>%0A%09%09<path d="M1223.3,2114.4c0,0-98.3,30.9-77.3,232.1" class="st14"></path>%0A%09</g>%0A%09<g>%0A%09%09<path d="M2812.2,2216.6c0,0,60.8,180.6,68.3,350.2c-193.8,44.1-832.8-6.2-832.8-6.2%0A%09%09%09s14-297.1,80.4-332.6C2416.5,2250.4,2812.2,2216.6,2812.2,2216.6z" class="Graphic_x0020_Style_x0020_110"></path>%0A%09%09<path d="M2880.5,2566.9c-7.5-169.6-68.3-350.2-68.3-350.2s-395.8,33.8-684.1,11.4%0A%09%09%09c-17.2,9.2-30.9,36-41.7,70.6c61.5,25.5,298.6,104,672.8-9.3c-4.1,90.6,73.5,94.8,73.5,94.8c12.1,42.2,11.5,131.9,9.7,189.5%0A%09%09%09C2856.4,2571.7,2869.2,2569.4,2880.5,2566.9z" class="Graphic_x0020_Style_x0020_116"></path>%0A%09%09<path d="M2025.5,1497.7c-85.5,55.5-169,100.9-241.9,164.1c7.6,4.2,13.3,9.3,16.2,15.7%0A%09%09%09c0,0,180.9-97,314-235c-1,0.6-1.9,1.2-2.9,1.8C2081.6,1463,2054.9,1479,2025.5,1497.7z" class="Graphic_x0020_Style_x0020_120"></path>%0A%09%09<path d="M2229.4,1095.4c-25.7-0.9-176.5,78.1-272.1,168.2c-95.6,90.1-340.3,323.9-337.5,369.2%0A%09%09%09c19.6,10.4,121.7,5.7,163.9,29c72.9-63.1,156.4-108.6,241.9-164.1c29.4-18.7,56.1-34.7,85.5-53.4c0.9-0.7,1.9-1.2,2.9-1.8%0A%09%09%09c13.7-14.2,26.8-28.8,39.2-43.8C2153.1,1398.7,2255.2,1096.3,2229.4,1095.4z" class="st15"></path>%0A%09%09<path d="M2771.6,1674.1c-70.5,28.9-142.4,50.7-222.4,50.7c-37.4,0-80.1,18.7-104.2,53.4%0A%09%09%09c-61.4,98.9-133.6,184.3-232.4,229.8c-32.1,14.6-74.5,15.6-110.7,1.8c-16.7,87.9-31.4,153-31.4,153s68.3,148.9,349.6,142.7%0A%09%09%09c281.3-6.2,397.1-37.2,407.5-93.1C2841.2,2157.3,2787.4,1837.7,2771.6,1674.1z M2709.5,2042.7v-2.7V2042.7z" class="Graphic_x0020_Style_x0020_120"></path>%0A%09%09<path d="M2767.4,1598.2c4.1-101.3,24.8-260.6-97.2-366.1c-122-105.5-384.9-173.4-473.5-126.7l-76.5,292.8%0A%09%09%09c11.8,55.4,25.9,140.8,27.6,239.6c1.7,97.6-23.8,254.9-46,372c36.3,13.8,78.6,12.7,110.7-1.8c98.9-45.4,171-130.9,232.4-229.8%0A%09%09%09c24-34.7,66.8-53.4,104.2-53.4c80,0,151.9-21.8,222.4-50.7C2768.4,1641.5,2766.7,1615.1,2767.4,1598.2z" class="st15"></path>%0A%09%09<path d="M2357.9,1064.1c0,0-9-52.4-22.1-33.8c-13.1,18.6-10.3,92.4,9,98.6" class="st16"></path>%0A%09%09<path d="M2626.6,1195.8c5.3-16-5.3-34.7-24-34.7c-74.8,5.3-155,13.4-224.4-18.7c-23.9-11-31.4-34.7-32.8-58.9%0A%09%09%09c-12.4,46.4-71.3,284.2,13.2,332.7c71.4,40.9,184.3-8.4,256.1-105.5C2581,1285.5,2613.8,1234.5,2626.6,1195.8z" class="st16"></path>%0A%09%09<path d="M2517.2,949.8c-125.5-23.1-169.6,125.8-169.6,125.8s-0.8,2.8-2.2,7.9%0A%09%09%09c1.4,24.2,8.9,47.9,32.8,58.9c69.5,32.1,149.6,24,224.4,18.7c18.7,0,29.4,18.7,24,34.7c-12.9,38.6-45.6,89.7-12,114.9%0A%09%09%09c22.5-30.4,41-65.6,52.8-104.1C2717.1,1045.3,2621.6,969,2517.2,949.8z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09<path d="M2650.9,1208c2.1-1.4,41.5-29.8,53.8,4.1c10.6,31.7-40.8,91.7-77.6,80.7l-7.2-3.4" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09<path d="M2641.7,1253.5c0,0,22.4-60.7,39.3-38c16.9,22.7-50.4,66.6-53,66.6C2625.5,1282,2641.7,1253.5,2641.7,1253.5%0A%09%09%09z" class="st16"></path>%0A%09%09<path d="M2695.3,1256.7L2573,1608.5c0,0-4.1,73.6,8.3,89.5c-74.5,98.7-223.4,363.4-223.4,363.4%0A%09%09%09c93.1,24.8,111.9,120,92.1,155.1c108.5-97.2,400.1-407.5,406.4-575C2879.1,1534.1,2854.6,1361.8,2695.3,1256.7z" class="st15"></path>%0A%09%09<path d="M2837.6,1430.3c30.9,169.9,7.7,183.1-75,353.6%0A%09%09%09c-61.7,127.1-230.6,287.4-312.6,360.9c9.9,28.2,8.9,56.1,0,71.9c108.5-97.2,400.1-407.5,406.4-575%0A%09%09%09C2868.7,1583.2,2867.1,1505.7,2837.6,1430.3z" class="Graphic_x0020_Style_x0020_114"></path>%0A%09%09<path d="M2680.8,1197.5c-6.7,0-12.5,1.5-17.3,3.9c-21.5,10.5-26.4,38.8-26.4,38.8s-8.9,23.1-16.3,12.6%0A%09%09%09c-0.8-1.2-1.6-2.7-2.3-4.8c18.6-24.8,18.6-85.5,11.7-103.4c-6.9-17.9-99.3,26.2-212.3-13.8c-68.9-29.9-68.1-84.2-59.4-118%0A%09%09%09c4.5-17.6,11.1-29.6,11.1-29.6c8.7-20.6,14.7-76,34.2-70.3c40.6,11.7,106.8-29.1,164.9-24.4c49.8,4.1,97.3,36.1,128.3,67.6%0A%09%09%09c18.2,18.5,30.7,36.8,34.4,49.1C2741.5,1038.4,2700.5,1163.4,2680.8,1197.5z" class="st17"></path>%0A%09%09<path d="M2759.2,2289.4c0,0-18.6,62.6,23.2,86c41.8,23.4,50.2,8.7,50.2,8.7S2751.6,2373.8,2759.2,2289.4z" class="st9"></path>%0A%09%09<path d="M1712.9,1890.5c-52.6-85.2-72.3-184.5-63.6-284.7c-5.7,3.2-11.6,6.9-17.5,11%0A%09%09%09c0,0-40.7,64.1,46.2,255.8c-60.7,57.2-63.2,76.8-57.8,148.5c3.8,6,7.7,11.4,11.8,16.3C1628.4,1981.4,1663.8,1922.1,1712.9,1890.5z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09<path d="M1827.7,1946.4c-2.8-88.2-44.1-69.6-38.6-133.1c5.5-63.4,12.4-109.6,15.9-150.3%0A%09%09%09c3.3-38.4-60.9-110.4-155.6-57.2c-8.8,100.2,10.9,199.5,63.6,284.7c-49.2,31.6-84.5,91-80.9,146.9c42.1,50.6,95,40.7,95,40.7%0A%09%09%09s40.7-51,44.8-68.3c11.7,0.7-32.4,71-32.4,71s7.6,14.2,24.1,13C1780.1,2092.5,1830.4,2034.6,1827.7,1946.4z" class="st16"></path>%0A%09%09<path d="M1679.1,1995l-15.9,55.8c0,0,23.8-50.3,29.3-72C1698.1,1957.1,1679.1,1995,1679.1,1995z" class="st18"></path>%0A%09%09<path d="M1719.7,2081.7c0.5-1.4,56.1-102.4,65.3-88.7c9.2,13.7-42,92.4-42,92.4s-5.3,3.1-3.5-4.7%0A%09%09%09c1.8-7.8,42.7-68.9,35.4-68.5c-7.4,0.5-44.1,60.7-47.8,65.7S1719.7,2081.7,1719.7,2081.7z" class="st18"></path>%0A%09%09<path d="M1686.9,2067.8c0,0,33.5-83.7,43.3-79.9c9.8,3.9-39.4,83.3-39.4,83.3L1686.9,2067.8z" class="st18"></path>%0A%09%09<path d="M1653.4,1961.3c0,0-15.7,62.3-15.2,75C1645.6,2045.3,1657.7,1960.6,1653.4,1961.3z" class="st18"></path>%0A%09%09<path d="M1761.8,2227.6c-54.2-19.3-110.3-23.2-166.4-38.7c-0.1,0-0.2-0.1-0.3-0.1c8.4,8.6,16.7,17.2,25.1,25.7%0A%09%09%09c53.2,60.7,288.8,91.2,288.8,91.2s-10.9-9.9-72.5-89.2c-8.1,3.7-16.2,7.5-24.4,11.1C1796.6,2235.3,1777.3,2233.4,1761.8,2227.6z" class="st19"></path>%0A%09%09<path d="M1267.8,1860.2c0,0,164.6,162.1,327.3,328.6c0.1,0,0.2,0.1,0.3,0.1c56.1,15.5,112.2,19.3,166.4,38.7%0A%09%09%09c15.5,5.8,34.8,7.7,50.3,0c8.2-3.6,16.4-7.4,24.4-11.1c-33.8-43.5-82.8-108-153.6-203.3%0A%09%09%09C1514.7,2038.1,1267.8,1860.2,1267.8,1860.2z" class="st20"></path>%0A%09%09<path d="M1894.6,2339.3c-53.4,8-106.9,10.7-163-2.7c-19-4.7-34.6-13.9-48.5-25.2%0A%09%09%09c15.8,36.7,102.7,87.4,133.9,82.8c31.7-4.6,303.8-96.5,339.7-99.3c35.9-2.8,272.6-59.4,293.2-78.4c6.2-5.7,10.6-21.4,10.5-40.6%0A%09%09%09c-161,58-322,87.3-483.1,141.9C1950.7,2325.9,1921.3,2334,1894.6,2339.3z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09<path d="M2357.9,2061.5c-149.6,34-453,200.5-549.1,192.3c0,0-60.2,7.5-96.1-8.3c-35.9-15.8-83.7-37.4-96.5-28.9%0A%09%09%09c-10.2,6.8,29.5,56.4,52.7,80.6c6,6.2,10.8,10.8,13.5,12.5c0.2,0.6,0.5,1.1,0.7,1.7c13.9,11.3,29.5,20.5,48.5,25.2%0A%09%09%09c56.1,13.4,109.5,10.7,163,2.7c26.7-5.3,56.1-13.4,82.8-21.4c161-54.5,322-83.8,483.1-141.9%0A%09%09%09C2460.3,2131.9,2436.5,2068.5,2357.9,2061.5z" class="st16"></path>%0A%09</g>%0A%09<path d="M5147.8,2758.7c3.3,42.6-104.8,129-220.1,160.2c-111.1,40.4-316.5,84.1-839.1,218.8%0A%09%09c-356.5,91.9-571.8,151.6-716.6,186.6c-191.1,46.2-259.5,49.2-368,26c-51.4-11-96.9-24.7-137.9-40%0A%09%09c-255-95.3-339.6-255.1-634.7-236.4c-200.1,12.7-322,96.2-560,42.5c-136.3-30.7-235.9-89.6-304.8-131.1%0A%09%09c0,0-186.3-112.1-344.2-301.7c-39.9-42.2-73.3-85.6-94.5-130.9l1061.8-81.6L5147.8,2758.7z" class="Graphic_x0020_Style_x0020_118"></path>%0A%09<polygon points="1909,2627.9 2329.7,2696.9 2880.5,2648.9 2839.9,2636 1902.2,2607.7 1873.4,2616.7" class="st21"></polygon>%0A%09<path d="M2902.4,2554.2c0,0,128.1,29.9,198.1,36.5c16.9,26,103.7,26.1,139.2,31.4c35.5,5.3,64.9,60.1,137.9,65%0A%09%09c73,4.9,88.9,32.2,118.2,30.1c29.2-2.1,39.1-54.7,49.7-59.9c10.6-5.2-32-38.9-10.7-45.5C3396.5,2597.2,2902.4,2554.2,2902.4,2554.2%0A%09%09z" class="st21"></path>%0A%09<path d="M3668.6,2761.4c39.6,3,90.3-36.8,169.2-23.5c88.5,14.9,307.2,32.5,354.3-1.4%0A%09%09c61.3,3.3,696.2,65.4,749.1,44.1c52.9-21.3,68-34.5,68-34.5l-1182-107.2c0,0-299.4,44.5-286.7,84.2%0A%09%09C3547.2,2749,3629,2758.4,3668.6,2761.4z" class="Graphic_x0020_Style_x0020_117"></path>%0A%09<path d="M3779.6,3218.3c-115.9-48.9-340.1-136.6-484.1-148c-201.1-15.9-340.3-109.9-337.2-157.7%0A%09%09c3.1-47.8-605.8-113-946.8-126.3c-204.7-8-676.2-112.3-330.9-291.5l-79,6.1c-81.3,57.9-200.4,165.5-77.3,230.8%0A%09%09c174.8,92.7,1373.9,95.9,1387.8,212c13.2,110.3,575.5,195.9,765.9,301.5C3710,3236.7,3743.7,3227.7,3779.6,3218.3z" class="st22"></path>%0A%09<g>%0A%09%09<path d="M4484.2,1461.7v1181h488.7v-1181H4484.2z M4939.2,2561.4h-421.4v-539.8h421.4%0A%09%09%09V2561.4z M4939.2,1982.4h-421.4v-485.5h421.4V1982.4z" class="Graphic_x0020_Style_x0020_107"></path>%0A%09%09<rect height="485.5" width="355.8" class="Graphic_x0020_Style_x0020_118" y="1496.9" x="4583.5"></rect>%0A%09%09<rect height="485.5" width="65.6" class="Graphic_x0020_Style_x0020_119" y="1496.9" x="4517.8"></rect>%0A%09%09<rect height="539.8" width="80.1" class="Graphic_x0020_Style_x0020_119" y="2021.5" x="4517.8"></rect>%0A%09%09<rect height="539.8" width="341.3" class="Graphic_x0020_Style_x0020_118" y="2021.5" x="4597.9"></rect>%0A%09%09<polygon points="5067.7,1559.5 4972.9,1461.7 4975.8,2765.4 5070.3,2765.4" class="Graphic_x0020_Style_x0020_110"></polygon>%0A%09</g>%0A%09<g>%0A%09%09<polyline points="2442.7,2752.3 2386.8,2825.9 2352.6,2827.7 2416.8,2743.1 2832.6,2738.3 %0A%09%09%092839.9,2747.7" class="Graphic_x0020_Style_x0020_117"></polyline>%0A%09%09<polygon points="2832.6,2738.3 2416.8,2743.1 2352.6,2827.7 2134.5,2839.2 2105.5,2724.6 %0A%09%09%092798.5,2694.4" class="Graphic_x0020_Style_x0020_117"></polygon>%0A%09%09<polygon points="3202.8,2854.8 2364.9,2854.8 2386.8,2825.9 2442.7,2752.3 2839.9,2747.7 %0A%09%09%093134.1,2744.3" class="Graphic_x0020_Style_x0020_117"></polygon>%0A%09%09<polygon points="2839.5,2730.9 2805.3,2687.1 2112.4,2717.2 2141.4,2831.8 2359.4,2820.3 %0A%09%09%092393.7,2818.5 2449.6,2745 2846.8,2740.3" class="Graphic_x0020_Style_x0020_100"></polygon>%0A%09%09<polygon points="3202.8,2848.8 2364.9,2848.8 2386.8,2819.9 2442.7,2746.3 2839.9,2741.7 %0A%09%09%093134.1,2738.3" class="Graphic_x0020_Style_x0020_100"></polygon>%0A%09</g>%0A%09<g>%0A%09%09<path d="M3326.7,2053.5c67.2,11.8,127,45.4,188.5,75.5c-25.6-21.6-54.4-38-66.9-44.7c-69.9-65-238.4-55.8-331.3-54.5%0A%09%09%09c-56.7,0.8-107.4,28.8-147.4,65.5C3076.9,2034.1,3204.5,2033.1,3326.7,2053.5z" class="st23"></path>%0A%09%09<path d="M3390.7,2125.6c29.4,10.7,40.1,48.1,64.1,69.5c33.5,30.3,76.4,36.8,117.6,27.5c-4-13-8.3-25.7-12.8-37.7%0A%09%09%09c-7.5-20.2-25.1-39.4-44.4-55.7c-61.4-30.2-121.3-63.8-188.5-75.5c-6.7-1.1-13.5-2.2-20.2-3.1c2.5,4.5,4.8,9.1,6.8,13.8%0A%09%09%09c6.9,18.8,10.9,38,12.4,57.2C3347.5,2119.7,3369.7,2120.3,3390.7,2125.6z" class="st23"></path>%0A%09%09<path d="M3454.8,2195c-24-21.4-34.7-58.8-64.1-69.5c-21.1-5.3-43.3-5.9-65.1-4.2c6.4,84.5-36.4,169.9-95.2,228.6%0A%09%09%09c-29.4,32.1-61.4,58.8-101.5,82.8c-32.1,21.4-66.8,37.4-101.5,53.4c-41.6,14.5-81.5,4.8-119.8-10.2c3.7,32.6,11.1,70.7,27.1,85.4%0A%09%09%09c2.2,2,149.9,56.5,246.1,29.3c130.3-36.9,227.4-163.5,314.2-210.2c10.9-5.9,21.4-12.4,31.4-19.5l-0.4-14l53.6-33.2%0A%09%09%09c3.8-4.2,7.6-8.5,11.2-12.9c-4.1-26.8-10.7-53.3-18.4-78.3C3531.3,2231.8,3488.3,2225.3,3454.8,2195z" class="st24"></path>%0A%09%09<path d="M2963.9,2113.7l-74.4,244.3c3.2,19.6,7.7,41,13.7,64.4c0.8-0.5,1.1,24.3,4.3,53.6%0A%09%09%09c38.3,15.1,78.3,24.8,119.8,10.2c34.7-16,69.5-32.1,101.5-53.4c40.1-24,72.1-50.8,101.5-82.8c65-65,110.5-162.6,91.4-255.6%0A%09%09%09C3210,2135.2,3083,2108.6,2963.9,2113.7z" class="st25"></path>%0A%09%09<path d="M3321.8,2094.4c-2.1-10.2-4.9-20.2-8.6-30.2c-2-4.6-4.2-9.2-6.8-13.8c-116-16.9-235.4-12.9-336.9,44.9%0A%09%09%09l-5.6,18.4C3083,2108.6,3210,2135.2,3321.8,2094.4z" class="st26"></path>%0A%09%09<path d="M3590.8,2300.8c-3.6,4.4-7.4,8.7-11.2,12.9l12-7.5C3591.4,2304.4,3591.1,2302.6,3590.8,2300.8z" class="st9"></path>%0A%09%09<g>%0A%09%09%09<path d="M3452.4,2090.3c-50.3-112.2-85.1-243.7-193.4-309.5c-17.4-9.7-50.3-13.5-71.6,3.9%0A%09%09%09%09c-34.5,27-36.4,68-35.6,109.5c51.1,42.2,96.7,74.2,118.4,75.2c65,3,117,150.1,192.8,215.4c35.5,30.6,78.2,23.7,113.6,7.7%0A%09%09%09%09c-19.8-3.7-39.3-11.4-54.6-19C3487.2,2158,3467.9,2123.1,3452.4,2090.3z" class="Graphic_x0020_Style_x0020_116"></path>%0A%09%09%09<path d="M3489,1994.5c-13.8-96.5-49-197.2-111.1-242.1c-62.1-44.9-38.1-160-114.8-199.7%0A%09%09%09%09c-190.3-102-287.5,4.8-333,55.2c-45.5,50.3-4.1,77.2-4.1,77.2s123.9,124.8,225.9,209c-0.9-41.4,1-82.4,35.6-109.5%0A%09%09%09%09c21.3-17.4,54.2-13.5,71.6-3.9c108.3,65.8,143.1,197.3,193.4,309.5c15.5,32.9,34.8,67.7,69.6,83.2c15.3,7.7,34.8,15.3,54.6,19%0A%09%09%09%09c40.3-18.2,71.2-48.2,71.2-48.2S3502.8,2091.1,3489,1994.5z" class="Graphic_x0020_Style_x0020_108"></path>%0A%09%09%09<path d="M3182.3,2144.3c-13.4-74.8,34.7-189.7-58.8-221.7c-16-61.4,5.3-128.2-37.4-184.3%0A%09%09%09%09c-33.7-46.4-75.8-81.1-127.5-97.6c-15.4,4-42.2,14-46.3,24.6c-13.8,35.6-24.4,108.3-3.6,195.1c19.9,94,53.6,191.2,151.7,162.7%0A%09%09%09%09c51,68.9,51,103.4,48.3,128.2c25.3,30.5,60,37.2,94.1,32.1C3192.8,2173.6,3185.5,2160.8,3182.3,2144.3z" class="st16"></path>%0A%09%09%09<path d="M3314.2,2124.9c-5.5-129.6-75.8-207-93.8-211.7c30.3-46.1,33.1-82-6.9-106.8%0A%09%09%09%09c-40-24.8-57.9,67.6-57.9,67.6s-19.3,18-16-3.3c17.7-114.7-62.5-214-170.5-231.9c-1.2-0.2-5.1,0.5-10.4,1.9%0A%09%09%09%09c51.7,16.5,93.8,51.2,127.5,97.6c42.7,56.1,21.4,122.9,37.4,184.3c93.5,32.1,45.4,146.9,58.8,221.7c3.1,16.5,10.5,29.3,20.4,38.9%0A%09%09%09%09C3250.3,2176,3296.5,2145.8,3314.2,2124.9z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09%09<path d="M2969,1635.8c0,0,75.2,27.2,72.4,70.7c-2.8,43.5-9.8,77.5,56.3,98.1c-31.6-35.6-34.2-44-26.9-86.3%0A%09%09%09%09S3035.8,1587.8,2969,1635.8z" class="st17"></path>%0A%09%09%09<path d="M2789.6,2288.5c-77.5,101.5-203,106.9-323.3,128.2c-27.7,5.9-43.7,28.1-64.3,43.4%0A%09%09%09%09c7.2,13.8,19.1,27.9,28,39.8c0.5-0.1,1.1-0.3,1.6-0.4c159.5-16.7,359.4-29.1,470.9-150.7l-0.1-16l61-218.3%0A%09%09%09%09c-27.4,9-56.1,12.8-77.6,32.4C2837.7,2184.3,2824.3,2243.1,2789.6,2288.5z" class="st25"></path>%0A%09%09%09<path d="M3017.4,2050.7c-17.9,4.3-35.5,9.7-52.8,16.1c-58.6,21.8-113.1,55-149.7,106.6%0A%09%09%09%09c-16.4,23.2-29.7,48.3-42.2,73.7c-5.8,11.7-11.7,21.5-19.5,31.9c-8.1,10.8-17.8,20.2-27.8,29.2c-21.9,19.5-47.7,34.4-75.4,44.1%0A%09%09%09%09c-33.1,11.6-67.9,16.1-101.5,25.4c-82.7,23-147.1,41.1-152.6,60.5c-0.2,7,2.3,14.5,6.2,22c20.6-15.4,36.6-37.5,64.3-43.4%0A%09%09%09%09c120.2-21.4,245.8-26.7,323.3-128.2c34.7-45.4,48.1-104.2,96.2-141.6c21.5-19.6,50.2-23.4,77.6-32.4l5.1-18.3%0A%09%09%09%09c11-10.8,16.7-15,29.5-24.1c14.7-10.5,30.5-19.7,47.1-26.7c0.1-0.2,0.2-0.4,0.3-0.6C3036,2046.5,3026.6,2048.4,3017.4,2050.7z" class="st23"></path>%0A%09%09%09<path d="M3045.4,2044.9c-0.1,0.2-0.2,0.4-0.3,0.6c0.7-0.3,1.4-0.6,2.1-0.9%0A%09%09%09%09C3046.6,2044.7,3046,2044.8,3045.4,2044.9z" class="Graphic_x0020_Style_x0020_100"></path>%0A%09%09%09<path d="M2431.6,2499.6c-0.5,0.1-1.1,0.3-1.6,0.4c0.9,1.2,1.8,2.4,2.6,3.6c10.8,15.3,7.8,45,49.1,42.6%0A%09%09%09%09c30.8-6,230-18.7,273.3-29.7c32-8.2,82.2-26.3,148.2-94.1l-0.7-73.5C2791,2470.5,2591.1,2482.9,2431.6,2499.6z" class="st24"></path>%0A%09%09%09<path d="M2398.2,2439.8c0,0,40.7-31.7,69.6,4.1c29,35.9,49.3,96,29,100.7c-20.4,4.6-65.8,2.1-87-35.2%0A%09%09%09%09C2388.5,2472.2,2387.5,2454.3,2398.2,2439.8z" class="st27"></path>%0A%09%09%09<path d="M3350.7,1877.1c18.7-58.6,71.9-104,69.5-165.2c-4.1,1.2-8.2,5.1-10.8,12.5c-7.6,21.4-71.4,103.8-71.4,103.8%0A%09%09%09%09s0,0,3.8-22.1s1.4-35.5-9.7-36.9c-11-1.4-18.3,10.3-18.3,10.3c1-31-13.4-29.3-23.4-27.6c-10,1.7-9.3,51.4-10,64.8%0A%09%09%09%09c-0.7,13.4-15.2,26.9-20-4.1c-2.8-35.9-40.7-71.7-51.7-66.9c-11,4.8,14.8,62,13.1,94.5c-1.7,32.4-20,100.7-5.5,148.2%0A%09%09%09%09c14.5,47.6-3.4,102-3.4,102l85.3,21.2c4.2-67.5,4.5-134.6,44.5-197.1C3350.7,1903.8,3348,1890.5,3350.7,1877.1z" class="st16"></path>%0A%09%09%09<path d="M3420.1,1711.9c2.4,61.2-50.8,106.6-69.5,165.2c-2.7,13.4,0,26.7-8,37.4%0A%09%09%09%09c-40,62.5-40.2,129.7-44.5,197.1l22.9,5.7c0,0-3.5-115.8,17.2-141.3c20.7-25.5,15.2-80,25.3-108.9c10.1-29,71.3-117.9,72-137.2%0A%09%09%09%09C3436,1717.3,3427.9,1709.7,3420.1,1711.9z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09%09<path d="M3305.2,1839.7c-0.4,0.9,11-56.8,9-67.2c4.3,1.6,4.3,1.6,4.3,1.6S3312.8,1824.1,3305.2,1839.7z" class="st9"></path>%0A%09%09%09<g>%0A%09%09%09%09<polygon points="2369.1,2558.8 2880.5,2623.2 2325,2668.2 1891.1,2604.1" class="Graphic_x0020_Style_x0020_115"></polygon>%0A%09%09%09%09<polygon points="2264.3,2566.5 2626.8,2624.8 2334.4,2648.9 2170.4,2611.3" class="Graphic_x0020_Style_x0020_109"></polygon>%0A%09%09%09%09<path d="M2421.8,2452.1c-5.6-0.2-22.6,8.6-22.6,8.6s-13.8-44.1-80.7-43.4s-64.8,65.5-64.8,65.5s5.5,77.2,26.9,93.1%0A%09%09%09%09%09c21.4,15.9,99.3,4.1,102.4,0c3.1-4.1,45.3-6.9,66.9-30.3c21.6-23.4,33.5-24.4,33.5-24.4S2463.5,2453.5,2421.8,2452.1z" class="st16"></path>%0A%09%09%09%09<path d="M2319.3,2460c0,0-45.5,32.4-15.2,90.3c-6.8,0.6-6.8,0.6-6.8,0.6%0A%09%09%09%09%09S2262.7,2493.1,2319.3,2460z" class="Graphic_x0020_Style_x0020_104"></path>%0A%09%09%09%09<path d="M2376.8,2552.2c0,0-56.9-11.2-43.1-33.6c13.8-22.4,45.5-15.9,46.9-24.5%0A%09%09%09%09%09c1.4-8.6-15.9-23.8-21.7-14.5c-5.9,9.3-15.5,25.2-15.5,25.2s-24.1,6.2-17.9,23.1c6.2,16.9,33.8,15.5,6.2,16.9%0A%09%09%09%09%09c-27.6,1.4-39.6,0-39.6,0s-7.4,36.2,7.3,37.5c14.7,1.4,61.6,6.9,105-10.3c43.4-17.2,43.8-24.7,43.8-24.7%0A%09%09%09%09%09S2401.3,2559.2,2376.8,2552.2z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09%09%09<polygon points="2331,2682 2848.1,2642 2880.5,2623.2 2322,2668.2 1885.6,2604.1 %0A%09%09%09%09%091893.9,2613.5" class="Graphic_x0020_Style_x0020_109"></polygon>%0A%09%09%09%09<path d="M1784.9,2001.5l427.1,0.5l15.9,3c18.3,3.5,31.9,18.7,33.5,37.3c9.9,120.2,38.5,538.8,42.7,616.9%0A%09%09%09%09%09c0.3,6.5-11.2,15-17.7,14.2l-444.6-65.8L1784.9,2001.5z" class="st28"></path>%0A%09%09%09%09<path d="M1794.6,1993.3l411.5,8.2c15.8,0.3,28.8,12.5,30.1,28.3c10.4,126.7,52.8,644.5,49.2,643.3%0A%09%09%09%09%09c-3.6-1.2-348.6-51.6-443.5-65.4c-14.1-2.1-24.9-13.4-26.2-27.6l-52.4-553C1761.5,2008.7,1776.2,1992.9,1794.6,1993.3z" class="st29"></path>%0A%09%09%09</g>%0A%09%09%09<path d="M3465.5,2285.9c-5.8-29.1-28.6-54-57-68.5c9.3,57-21.2,85.5-21.2,85.5c-6.8,3.4-40.2,78.1-48.3,71.7%0A%09%09%09%09c-4.1-3.3-5.8-14.7-6.3-29.4c-17.3-67.3-4-136.5-11.5-203.5c-2.3-18.1-0.7-36.2-6.7-52.6c-6.5-5.5-15.7-10.3-27.9-14.4%0A%09%09%09%09c0.8,120.3-17.7,240.4,10.5,355.6c8,37.4,77.5,16,112.2-8C3452.2,2392.7,3478.9,2339.3,3465.5,2285.9z" class="st24"></path>%0A%09%09%09<path d="M3332.7,2345.1c-0.9-27.1,2.3-65.1,1.7-83.5c-0.9-28.4,4.6-84.2-6.4-147.7c-0.5-9.3-4.6-17.6-13.4-24.9%0A%09%09%09%09c5.9,16.5,4.4,34.5,6.7,52.6C3328.7,2208.5,3315.4,2277.8,3332.7,2345.1z" class="st27"></path>%0A%09%09%09<path d="M3591.6,2306.2l-189.3-113.8c2.9,8.8,4.9,17.1,6.2,24.9c28.4,14.5,51.2,39.4,57,68.5%0A%09%09%09%09c4.9,19.6,4.4,39.1-0.3,57.5c36.8,33.3,76.9,62.3,118.5,89.3C3596.9,2393.5,3597.6,2349.6,3591.6,2306.2z" class="st24"></path>%0A%09%09%09<path d="M3226.7,2062.8c-4.2-0.5-8.6-0.9-13.2-1.3c-89.6,102-96.5,485.4-63.4,524c10.1,11.8,36.5,17.9,71.6,18.6%0A%09%09%09%09c-2.7-1.6-5.1-3.5-7.3-5.6C3080,2450.9,3137.9,2222.8,3226.7,2062.8z" class="st23"></path>%0A%09%09%09<path d="M3465.3,2343.4c-8.1,31.8-28.7,60.1-55.8,78.8c-34.7,24-104.2,45.4-112.2,8%0A%09%09%09%09c-28.2-115.2-9.7-235.3-10.5-355.6c-15.1-5.1-34.8-9.1-60-11.8c-88.8,160-146.7,388.1-12.3,535.7c2.1,2.1,4.6,4,7.3,5.6%0A%09%09%09%09c79.8,1.5,205-25.2,288.3-77.9c38.4-24.3,61.5-56.9,73.7-93.5C3542.2,2405.6,3502.1,2376.6,3465.3,2343.4z" class="st25"></path>%0A%09%09</g>%0A%09%09<path d="M3123.6,1922.5c3.2,5.9-36.5,92.1-63.1,100.4c35,56.6,28,41.3,37.6,63.1c63.2-44,78.1-61.9,78.3-92.2%0A%09%09%09C3177.1,1914.4,3123.6,1922.5,3123.6,1922.5z" class="st30"></path>%0A%09</g>%0A%09<g>%0A%09%09<path d="M3972.8,2436.5c-19.3-100.6-1.9-197.3,30.9-292.1c1.9-7.7,9.7-13.5,11.6-23.2%0A%09%09%09c13.5-58,34.8-108.3,58-160.5c1.9-7.7,1.9-15.5,3.9-23.2c1.5-4.4,6.3-7.7,9.3-11.5c-108.6,18.8-247.9,49.9-313.3,64.9%0A%09%09%09c22.2,33.7,40.9,69.3,52.5,109.1c3.9,7.7,13.5,13.5,17.4,21.3c3.9,5.8,0,11.6,3.9,17.4c11.6,15.5,21.3,29,25.1,48.4%0A%09%09%09c1.9,3.9,7.7,5.8,7.7,9.7c0,94.8,7.7,189.6,0,284.3c-6.7,72.9-22.6,143.8-37.3,214.7c84.9-0.2,183-1.6,281.4-2.7%0A%09%09%09c-52.2-58.4-91.1-128-129.9-198.4C3984.4,2475.2,3976.6,2455.8,3972.8,2436.5z" class="Graphic_x0020_Style_x0020_114"></path>%0A%09%09<path d="M4194.9,2483.6c82.8-18.7,163-5.3,237.8,48.1c8,8,26.7,5.3,37.4,0%0A%09%09%09c58.6-34.6,128.4-61.3,198-68.7c-150.8-225.4-393-546.7-446.5-551.9c-23.2-2.2-74.3,4.4-135,14.8c-3.1,3.9-7.9,7.1-9.3,11.5%0A%09%09%09c-1.9,7.7-1.9,15.5-3.9,23.2c-23.2,52.2-44.5,102.5-58,160.5c-1.9,9.7-9.7,15.5-11.6,23.2c-32.9,94.8-50.3,191.5-30.9,292.1%0A%09%09%09c3.3,16.6,9.5,33.3,17.3,49.9C4050.6,2508.5,4130.6,2499.3,4194.9,2483.6z" class="Graphic_x0020_Style_x0020_105"></path>%0A%09%09<path d="M4470.1,2531.7c-10.7,5.3-29.4,8-37.4,0c-74.8-53.4-155-66.8-237.8-48.1%0A%09%09%09c-64.3,15.7-144.3,24.9-204.8,2.8c1.3,2.7,2.6,5.4,3.9,8.1c38.9,70.4,77.7,140.1,129.9,198.4c233-2.6,467.2-3.9,529.1,13.9%0A%09%09%09c110.3,31.7,131,20.7,137.9-30.3c2.3-16.7-49.5-103.7-123-213.5C4598.5,2470.4,4528.6,2497,4470.1,2531.7z" class="Graphic_x0020_Style_x0020_106"></path>%0A%09%09<path d="M3879.9,2196.6c0-3.9-5.8-5.8-7.7-9.7c-3.9-19.3-13.5-32.9-25.1-48.4c-3.9-5.8,0-11.6-3.9-17.4%0A%09%09%09c-3.9-7.7-13.5-13.5-17.4-21.3c-11.6-39.8-30.4-75.4-52.5-109.1c-23.2,5.3-37.1,8.6-37.1,8.6s-76.6,50.8-73.5,108.1%0A%09%09%09c3.1,57.3,7.7,545.5-0.1,585.4c44.9,2.2,107.7,2.8,180,2.6c14.8-70.9,30.6-141.8,37.3-214.7%0A%09%09%09C3887.6,2386.2,3879.9,2291.4,3879.9,2196.6z" class="st31"></path>%0A%09%09<path d="M3622.6,2308.8c7.7-30.9,11.6-63.8,40.6-85.1c3.9-3.9,1.9-9.7,5.8-13.5c21.7-17.1,39.8-41.6,63-53.7%0A%09%09%09c-6.4-58.7-17.6-101.8-29.1-95c-30.3,17.9-474.3,322.7-497.1,369.5s-42.1,123.7,13.1,152.8c0,0-20.7-133.5,59.3-157%0A%09%09%09c80-23.4,155.8,45.5,157.2,51c0.7,2.8,16.3,25.9,31.7,46.8c24.5-12.2,48.8-24.7,72.3-41.8%0A%09%09%09C3593.6,2440.4,3609.1,2376.5,3622.6,2308.8z" class="st32"></path>%0A%09%09<path d="M3669.1,2210.2c-3.9,3.9-1.9,9.7-5.8,13.5c-29,21.3-32.9,54.2-40.6,85.1c-13.5,67.7-29,131.5-83.2,174.1%0A%09%09%09c-23.4,17.1-47.7,29.6-72.3,41.8c14.9,20.3,29.7,38.6,30.4,34.1c1.4-9.2,146.2-90.6,205.5-136.8c36.9-28.8,39.6-168.5,29.1-265.5%0A%09%09%09C3708.8,2168.5,3690.8,2193.1,3669.1,2210.2z" class="st31"></path>%0A%09%09<path d="M3252.8,2424.8c-14.7,6.4-25.2,15.5-32.7,25.8c33.5,31.1,84.8,42,119.8,22.2c22.9-10.4,45.8-17.6,64.9-32.9%0A%09%09%09c-0.9-0.6-1.9-1.3-3.1-2.1C3385.9,2421.4,3321.1,2395.2,3252.8,2424.8z" class="st16"></path>%0A%09%09<path d="M3220.1,2450.6c-5.4,7.5-9.3,15.6-11.9,23.8c11.3,29.8,34.2,55.9,59.6,75.9%0A%09%09%09c39.9,36.8,89.5,48.9,140.2,47.1l4-152.6c0,0,0,0-7.2-4.8c-19.1,15.3-42,22.5-64.9,32.9%0A%09%09%09C3304.9,2492.6,3253.6,2481.7,3220.1,2450.6z" class="Graphic_x0020_Style_x0020_113"></path>%0A%09%09<path d="M3267.8,2550.4c-25.4-20-48.3-46.1-59.6-75.9c-0.6,1.9-1.2,3.9-1.7,5.8%0A%09%09%09c-3.2,12.6-4,25-3.7,35.5c0.4,15.7,3.1,26.9,3.1,26.9s73.1,121.3,186.1,122.7c14.5-13.8,14.5-13.8,14.5-13.8l0.5-17.8l0.7-24.6%0A%09%09%09l0.3-11.9C3357.3,2599.3,3307.7,2587.2,3267.8,2550.4z" class="Graphic_x0020_Style_x0020_104"></path>%0A%09%09<path d="M3235.6,2602c0,0,20.6,1.7,15.5-3.8c-16.6-18-47.6-98.2-21.8-124.8c29.7-30.7,122.5-41.5,160.6-26.4%0A%09%09%09c-3.3-14.6-3.3-14.6-3.3-14.6s-76.5-31-120-13.1c-43.4,17.9-62.2,9.2-63.8,77c-1.7,67.8,9.5,101.6,23.2,107.8%0A%09%09%09C3239.7,2610.3,3235.6,2602,3235.6,2602z" class="st33"></path>%0A%09%09<path d="M3226,2604.1c0,0-34.8-98.6-3.2-143.2s183.6-37.2,209.7,22.5c15.9-4.6,15.9-4.6,15.9-4.6%0A%09%09%09s51.4-54.7-36.3-81.6c-87.8-26.9-216.5,9.7-228.4,92.5S3199.4,2597,3226,2604.1z" class="st20"></path>%0A%09%09<path d="M3340,2529c32.1-10.7,40.1-29.4,53.4-58.8c2.7-5.3,21.4,2.7,32.1-5.3%0A%09%09%09c34.7-32.1,80.1-48.1,120.2-32.1c9,3,17.6,7.1,26,11.5c-6.3-16.9-12.8-29.1-12.8-29.1s-3-1.5-7.6-3.6%0A%09%09%09c-11.7-5.4-33.9-14.8-44.8-14.3c-15.2,0.7-29.9,22.1-29.9,22.1s-32.8-9-49.4,0c-16.5,9-18.5,35.5-18.5,35.5s-15.9-1.7-33.9,7.3%0A%09%09%09s-6.2,37.2-6.2,37.2s-15.2-12.4-42.1,6.2c-20.5,12.6-13.4,51.1-1.3,85.4C3326.1,2565.1,3319.5,2533.5,3340,2529z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09<path d="M3545.7,2432.8c-40.1-16-85.5,0-120.2,32.1c-10.7,8-29.4,0-32.1,5.3c-13.4,29.4-21.4,48.1-53.4,58.8%0A%09%09%09c-20.4,4.5-13.9,36.1-14.7,61.9c4.6,13,9.9,25.4,14.7,35.5c6.7,14.3,12.4,24,13.6,24.5c32.4,14.5,39.8-12.1,39.8-12.1%0A%09%09%09s7.4,27.2,34.4,26.6c27-0.6,13.8-43.4,13.8-43.4s36.8,33.1,54,29c17.2-4.1,4.1-42.1,4.1-42.1s23.4,27.6,48.3,21.4%0A%09%09%09c24.8-6.2-10.3-94-10.3-94s24.1,13.3,41.4-12.2c10.5-21.9,1.8-55.6-7.2-79.8C3563.2,2439.9,3554.7,2435.8,3545.7,2432.8z" class="st16"></path>%0A%09%09<path d="M3855.6,1746.2c-34.7-66.8-53.4-157.6-120.2-181.7c-70.3-26.7-149.3,8.2-227.2-3%0A%09%09%09c-21.3,43.8-31,95-34.5,140.3c-7.9,103.1,20.2,204.3,82.4,287.5c9.2,12.3,20.1,15.4,35.2,15.3c13.5-0.1,92.2-26.6,94.3-24.1%0A%09%09%09c0,0,89.2,104.8,138.8,155.4c3.9,4,7.6,7.6,11.1,10.9c41,38.7,55.1,33.2,55.1,33.2s66.2-16.5,80-60.7c13.8-44.1,68-261.3,68-261.3%0A%09%09%09s-2.5-6.5-5.6-15.8C3959.1,1845.2,3889.3,1813.7,3855.6,1746.2z" class="st16"></path>%0A%09%09<path d="M4022,1797.7c-2.8-24.8,81.8-357.6-168.2-366.8c-89.9-3.3-189,3.2-269.9,46.9%0A%09%09%09c-34.4,18.6-58.8,48.8-75.7,83.7c77.9,11.2,156.9-23.7,227.2,3c66.8,24,85.5,114.9,120.2,181.7c33.8,67.5,103.5,99,177.4,96.1%0A%09%09%09c-1.2-3.7-2.5-7.7-3.8-12.1C4026.1,1819.7,4023.1,1807.8,4022,1797.7z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09<path d="M4069.8,1569.7c-23-40.4-27.6-96.5-46-109.4c-0.8-25.3-12.8-44.3-33.2-58.9%0A%09%09%09c-26.3-18.9-66.6-30.6-114.7-39.4c-85.5-15.6-326.4,68.3-388.9,41.2c-46.2-20-44.1,85.7-44.1,85.7s-0.6,8.6,2.7,18.9%0A%09%09%09c0.8,2.6,1.9,5.3,3.4,8c6.8,13.1,21.3,26,51.9,25.5c61.6-0.9,148-35.8,156.3-17.5c8.3,18.4,0.9,143.8,12.9,163.8%0A%09%09%09c4.5,0.7,8.3,1.3,11.5,1.8c16,2.6,16,2.6,16,2.6s1.8-85.5,55.2-84.1c18.2,0.5,37.2,5.3,55.1,14.9c34.5,18.6,64.6,55.2,75.4,113.4%0A%09%09%09c16.6,88.2,147.1,77.2,147.1,77.2s2.3-7.5,5.9-19.9c5.1-17.8,12.8-45.6,20-75.9C4070,1659,4082.1,1591.2,4069.8,1569.7z" class="Graphic_x0020_Style_x0020_108"></path>%0A%09%09<polygon points="3720.5,1573.4 3453,1652.4 3452.3,1641 3736.1,1563.3" class="Graphic_x0020_Style_x0020_110"></polygon>%0A%09%09<path d="M3661.3,2544.8c-2.7-1-5.3-2.4-7.9-4.1c4.4,48.9,8.2,80.7,8.2,80.7l146.2-7.8%0A%09%09%09c0,0,5.8-43,13.8-101.1c-7.6,1.5-15.3,3.9-23,7.2C3756.1,2539,3707.8,2556.4,3661.3,2544.8z" class="Graphic_x0020_Style_x0020_106"></path>%0A%09%09<path d="M3847.5,2157.6c-42.9-65.3-126-117.2-122.4-138.8c-110.1-35.4-87.2,349.7-71.6,521.9%0A%09%09%09c2.6,1.7,5.2,3.1,7.9,4.1c46.4,11.6,94.8-5.8,137.3-25.1c7.7-3.3,15.3-5.7,23-7.2c11.1-80.9,26.4-191.1,35.8-255.6%0A%09%09%09C3859.9,2240.5,3857.5,2172.8,3847.5,2157.6z" class="st32"></path>%0A%09%09<path d="M4242.6,2242.6c0,0,36.8,108.5,119.5,116.7c-13.8,52.4,206.2,183.4,206.2,183.4l9.8-23.8l-239.8-248.8%0A%09%09%09L4242.6,2242.6z" class="st34"></path>%0A%09%09<path d="M3298.6,2799c-8.5,5.6-14.3,9.3-14.8,9.1c-2.1-0.7-22.1,19.3-22.1,19.3%0A%09%09%09s33.8,2.8,36.5,0c0.5-0.5,4.9-3.2,11.4-7C3308.5,2811.6,3304.6,2802.8,3298.6,2799z" class="Graphic_x0020_Style_x0020_108"></path>%0A%09%09<path d="M3379,2744c0,0-53.6,37.3-80.3,55c3.9,2.5,6.9,7,8.8,12.3l95.8-56.5%0A%09%09%09C3402.9,2747.5,3396.9,2742.8,3379,2744z" class="Graphic_x0020_Style_x0020_112"></path>%0A%09%09<path d="M3307.5,2811.4c1.1,2.9,1.8,6,2.3,9.1c26.5-15.5,89.9-50.9,89.9-50.9%0A%09%09%09c2.2-5.4,3.8-10.5,3.6-14.7L3307.5,2811.4z" class="Graphic_x0020_Style_x0020_110"></path>%0A%09%09<path d="M4750.6,2686.6c-104.2,18.7-203,5.3-304.6,0c-109.5-2.7-227.1-26.7-334,16%0A%09%09%09c-80.1,29.4-171-21.4-261.8-2.7c-64.6,14.9-126.9,34.4-189.1,52.1c1.8,0.1,3.8,0.2,6,0.2c37.2,0,155.8-45.5,257.9-29%0A%09%09%09s212.4,30.3,251-6.9c96.5,5.5,601.2,41.4,650.9,26.2c10.9-23.2,13.8-50.2,10.6-77.7C4808.9,2673.1,4780.3,2680.7,4750.6,2686.6z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09<path d="M4112.1,2702.6c106.9-42.7,224.4-18.7,334-16c101.5,5.3,200.4,18.7,304.6,0c29.7-5.9,58.4-13.5,86.9-21.6%0A%09%09%09c-9.7-83.3-75.3-171.2-141.6-173.3c-45.6,12.2-90.4,22.8-134.1,31.9c-331.1,69.3-596.5,55.3-657.4,37%0A%09%09%09c-68.9-20.7-170.7,19.4-243.8,51.1c-73.1,31.7-122,56.6-95.8,74.6c-0.8,1.2-5,6.1-5.1,9.5c-0.1,3.5-5.8,5.5-8.7,8.7%0A%09%09%09c-8.6,9.5-7.7,26.2,7.4,27.1c1.8,0.1,3.6,0.3,5.3,0.6c20,3.4,31.7,17.6,60.9,4.9c30.3-4.1,30.3-4.1,30.3-4.1s-21.9,17.1,6.4,19.1%0A%09%09%09c62.2-17.7,124.5-37.2,189.1-52.1C3941.1,2681.3,4031.9,2732,4112.1,2702.6z" class="st16"></path>%0A%09%09<path d="M5017.7,2587.8c-2.7-5.3,2.7-13.4,0-18.7c-37.4-72.1-72.1-141.6-130.9-195%0A%09%09%09c-45.4-42.7-96.2-77.5-141.6-120.2c-64.1-53.4-101.5-125.6-173.7-165.6c-80.1-45.4-157.6-88.2-243.1-120.2%0A%09%09%09c-56.1-18.7-114.9-8-173.7-10.7c-8,0-13.4-8-18.7-8c-26.9-3.6-52.7-12-77.2-22.8l-4.1,6.3l-47.1,153.2l241.3,154.8%0A%09%09%09c0.7,4.9,2.5,10,5.3,15.1c70.7-21.4,153.8-12.5,210.4,35.3c58.8,50.8,77.5,133.6,138.9,176.3c50.8,37.4,117.6,48.1,155,101.5%0A%09%09%09c26.3,32.9,23.8,78.3-4.4,111.2c16.3,20,31.9,41.7,46.4,65.4c43.6,17.7,172.5,20.1,226.6-52.4%0A%09%09%09C5038.9,2660.1,5036.7,2621.8,5017.7,2587.8z" class="Graphic_x0020_Style_x0020_105"></path>%0A%09%09<path d="M4666.9,2134.6c-215.1-230.3-311.2-220.2-404.5-226.6%0A%09%09%09c-58.4-29.4-93.8-48.3-120.4-4.6c-12.4-21.6-57-17.5-57-17.5l-26.1,40.5c24.5,10.8,50.2,19.2,77.2,22.8c5.3,0,10.7,8,18.7,8%0A%09%09%09c58.8,2.7,117.6-8,173.7,10.7c85.5,32.1,163,74.8,243.1,120.2c72.1,40.1,109.5,112.2,173.7,165.6c45.4,42.7,96.2,77.5,141.6,120.2%0A%09%09%09c58.8,53.4,93.5,122.9,130.9,195c2.7,5.3-2.7,13.4,0,18.7c18.9,34.1,21.2,72.4,9.5,105.5c14.4-19.2,23.5-43.8,24.4-74.7%0A%09%09%09C5055.7,2471,4882,2364.8,4666.9,2134.6z" class="Graphic_x0020_Style_x0020_106"></path>%0A%09%09<path d="M4758.6,2569.1c-37.4-53.4-104.2-64.1-155-101.5%0A%09%09%09c-61.4-42.7-80.1-125.6-138.9-176.3c-56.5-47.8-139.6-56.7-210.4-35.3c25.1,47.2,127.1,102.1,127.1,102.1s20.7,44.1,55.2,84.1%0A%09%09%09c30.5,35.4,193.5,85.8,317.6,238.2C4782.4,2647.3,4784.9,2601.9,4758.6,2569.1z" class="Graphic_x0020_Style_x0020_106"></path>%0A%09%09<path d="M3715.8,2015.7l-33.4,5.8c0,0,86.9,194.9,81.4,227c99.3-46.4,98.4-56.1,98.4-56.1%0A%09%09%09l-7.4-38.1C3852.2,2113.2,3774.4,2063.6,3715.8,2015.7z" class="Graphic_x0020_Style_x0020_100"></path>%0A%09%09<path d="M4035.3,1825.7c0,0-127.3,345.2-108.9,400.3c60.7-14.7,108.9,4.6,108.9,4.6%0A%09%09%09s-11.5-222.5,55.6-345.6C4061.5,1845.5,4035.3,1825.7,4035.3,1825.7z" class="Graphic_x0020_Style_x0020_100"></path>%0A%09%09<path d="M3654.8,2733l130-51c-71.4,10.3-156.4,53.6-160.3,55.2C3633.4,2740.2,3654.8,2733,3654.8,2733z" class="st18"></path>%0A%09%09<path d="M3576.1,2735.8c0,0,55.9-47.6,182.8-76.5c-16.5-5.5-133.9,28.9-190.4,74.1%0A%09%09%09C3573.4,2738.5,3576.1,2735.8,3576.1,2735.8z" class="st18"></path>%0A%09%09<path d="M3558,2699.3c0,0,110.1-70.4,179-82.8c-35.9-12.4-176.2,71.6-176.2,71.6L3558,2699.3z" class="st18"></path>%0A%09%09<path d="M3834.5,1885.6c0,0-102,90.4-148.9,95c48.7,53.3,78.2,78.6,99.3,89.2%0A%09%09%09c0-99.3,91.9-168.2,83.7-237.2c-8.3-68.9-6.4-64.3-6.4-64.3S3863,1851.2,3834.5,1885.6z" class="Graphic_x0020_Style_x0020_104"></path>%0A%09%09<path d="M4897.2,2712.3c-24.8-45.5-111.6-233-210.3-220.6c0,0-65.2,9.2-99.4,20.8c-1.1,12.9,9.7,22,21.7,26.5%0A%09%09%09c104.1,32,201.6,111.9,214.5,216.4c41.8,6.1,86.6,20.3,88.3-2.4C4912.3,2747.3,4901.4,2720.1,4897.2,2712.3z" class="st20"></path>%0A%09%09<path d="M4609.1,2539c-12-4.5-22.8-13.6-21.7-26.5c-9.2,3.1-16.2,6.4-19,9.7c149.6,89.2,160.1,153.2,228.5,227.8%0A%09%09%09c9,2.3,18,4.1,26.7,5.4C4810.8,2650.9,4713.3,2571,4609.1,2539z" class="st35"></path>%0A%09%09<path d="M3389.9,2642.1c0,0-40.9-81.4-37.1-99.3c3.8-17.9-3.1-35.9,15.9-43.4c-6.2,13.8-11,29-10,45.5%0A%09%09%09c1,16.5,34.6,94,34.6,94L3389.9,2642.1z" class="st18"></path>%0A%09%09<path d="M3407,2460.9c0,0-9.2,34.9-1.9,66.6c7.4,31.7,30.8,93.9,37,97.1c6.2,3.2,6.2,3.2,6.2,3.2%0A%09%09%09S3398.3,2507.3,3407,2460.9z" class="st18"></path>%0A%09%09<path d="M3472.9,2418.4c0,0-17,55.4-15.2,76c1.8,20.7,41.7,120.8,41.7,120.8l2.9-3.5%0A%09%09%09c0,0-42.5-108.1-31.7-146c10.9-37.9,9.3-50.7,9.3-50.7L3472.9,2418.4z" class="Graphic_x0020_Style_x0020_104"></path>%0A%09%09<path d="M3537.6,2454.9c0,0-9.2,72.2,0,81.4s20.4,7.3,20.4,7.3S3539.9,2483.9,3537.6,2454.9z" class="st18"></path>%0A%09%09<path d="M3543.3,2484.1c0,0-7.6,38.4-5.8,52.2c0.7,5.4,2.5,11.2,5.6,16.5c7.7,6.5,16.6,9.4,25.4,1.7%0A%09%09%09c15.6-12.5,17.4-32.6,17.5-52.1c-0.7-2.3-1.4-4.6-2.2-7" class="st16"></path>%0A%09%09<g>%0A%09%09%09<polygon points="3466.8,1624.2 3466.8,1624.2 3466.8,1624.2" class="st9"></polygon>%0A%09%09%09<path d="M3516.4,1675.9c-7.1-21.6-14.1-34.6-21-42.6c-3.4-4-6.9-6.7-10.3-8.4%0A%09%09%09%09c-3.4-1.7-6.8-2.3-9.8-2.3c-3.4,0-6.3,0.8-8.6,1.5c-4.1,1.3-8,4.5-10.7,9.6c-2.7,5.1-4.4,12.1-4.4,21.5%0A%09%09%09%09c0,12.2,2.8,28.6,10.1,50.4c6.4,19,13.3,30.6,20.3,37.6c3.5,3.5,7.1,5.8,10.5,7.3c3.4,1.4,6.8,2,9.7,2c2.7,0,5.1-0.4,7.1-0.9%0A%09%09%09%09c2-0.5,3.5-1.1,4.4-1.4l0,0c2.9-0.9,6.2-3.2,8.5-7.4c2.3-4.2,3.8-10.1,3.8-18.4C3526.2,1713.3,3523.6,1697.9,3516.4,1675.9z%0A%09%09%09%09 M3515.7,1738.9c-1.5,2.6-3.1,3.5-4.1,3.8c-1.2,0.4-2.5,0.9-4,1.3c-1.5,0.4-3.3,0.7-5.1,0.7c-2,0-4.3-0.3-6.7-1.4%0A%09%09%09%09c-3.7-1.5-7.9-4.6-12.5-10.9c-4.6-6.2-9.4-15.6-14-29.3c-7.1-21.2-9.7-36.9-9.7-47.9c0-8.5,1.5-14.2,3.5-17.9%0A%09%09%09%09c2-3.6,4.2-5.2,6.2-5.8l0,0c2-0.6,4.1-1.1,6.3-1.1c2,0,4,0.4,6.3,1.5c3.5,1.7,7.7,5.3,12.4,12.6c4.7,7.2,9.7,18.1,14.9,33.8%0A%09%09%09%09c7.1,21.4,9.4,36.2,9.4,46C3518.5,1731.7,3517.1,1736.3,3515.7,1738.9z" class="Graphic_x0020_Style_x0020_110"></path>%0A%09%09</g>%0A%09</g>%0A%09<polygon points="4535.9,1753.6 4677.9,1982.4 4774.4,1982.4 4597.9,1697.5" class="Graphic_x0020_Style_x0020_109"></polygon>%0A%09<polygon points="4616.6,1659.7 4815.1,1982.4 4916.5,1982.4 4705.5,1586.9" class="Graphic_x0020_Style_x0020_105"></polygon>%0A%09<polygon points="4597.9,1697.5 4644.4,1704.9 4815.1,1982.4 4774.4,1982.4" class="Graphic_x0020_Style_x0020_108"></polygon>%0A%09<polygon points="4791.1,1650.6 4705.5,1586.9 4916.5,1982.4 4939.2,1982.4 4939.2,1925.9" class="Graphic_x0020_Style_x0020_107"></polygon>%0A%09<path d="M4590.7,1773.7c0,0,19.3-16,39,11c19.6,27-20.3,47.3-33.4,30.1%0A%09%09C4583.1,1797.4,4579.5,1778.2,4590.7,1773.7z" class="Graphic_x0020_Style_x0020_100"></path>%0A%09<path d="M4596.3,1780.1c0,0,13.5-11.2,27.3,7.7s-14.2,33.1-23.4,21.1%0A%09%09C4591,1796.7,4588.5,1783.2,4596.3,1780.1z" class="Graphic_x0020_Style_x0020_106"></path>%0A%09<polygon points="4609.5,1841.2 4648,1821.1 4757.4,1982.4 4699.5,1982.4" class="Graphic_x0020_Style_x0020_105"></polygon>%0A%09<ellipse ry="38.6" rx="31.7" cy="1701" cx="4703.2" class="Graphic_x0020_Style_x0020_104"></ellipse>%0A%09<polygon points="4705.5,1762.7 4757.4,1724.1 4766.2,1734.7 4712.4,1768.9" class="Graphic_x0020_Style_x0020_100"></polygon>%0A%09<polygon points="4718.4,1793 4770.3,1754.3 4779,1764.9 4725.3,1799.2" class="Graphic_x0020_Style_x0020_100"></polygon>%0A%09<polygon points="4731.2,1823.2 4783.2,1784.6 4791.9,1795.1 4738.1,1829.4" class="Graphic_x0020_Style_x0020_100"></polygon>%0A%09<g>%0A%09%09<path d="M973.4,2494.7c-1.1-7.7-1.9-15.4-2.3-22.9c9.5-13.4,26.8-31.8,52.9-40.2c23.1-6.1,15.4-16.7,6-14.3%0A%09%09%09c-6.8,1.7-40.3,15-58.6,22.4c6.9-84.5,62.6-145.2,175.4-122.9c0,0,168.2-115.8,215,66.2c-26.6-8.7-77.4-22.7-81.8-5%0A%09%09%09c-5.6,22.6,45.1-7,86.4,25.8c2.5,13.6,4.5,28.6,5.7,45.1c0.4,18.1-4.3,37.3-12.2,56.6c-19.6-23.9-69.9-81.6-86.6-63.7%0A%09%09%09c-19.3,20.6,50.3,7.3,76.9,84.6c-10.3,19.7-23.2,39-36.6,56.7c-13.9-23.9-42.7-67.9-60.7-56.8c-7.2,6.3,6.6,15.6,21,31%0A%09%09%09c9.1,9.8,20.1,29.2,27,42.1c-32.6,40-64,68.5-64,68.5s-40.6-10.2-90-29.6c-2.2-17-5.6-50,0.5-58c8.3-10.9-3.5-21.2-17.7-9.4%0A%09%09%09c-11,9.1-13.4,36.4-10.2,55.9c-20.3-9-41-19.4-60.3-31.1c3.7-24.8,13.8-80.3,30.3-90.6c10.5-9.2,2.3-22.4-22.7-3.4%0A%09%09%09c-19.2,14.5-25.3,60.3-27.2,81.1C1004.8,2558,978.2,2528.6,973.4,2494.7z" class="st10"></path>%0A%09%09<path d="M1225.4,2633.4c0,0-71-217.9-78.6-316.8" class="st11"></path>%0A%09%09<path d="M1129.2,2552.6c0,0,15.4-40.3,50.3-75.4" class="st11"></path>%0A%09%09<path d="M1261.1,2488.4c0,0-59.5-46.7-90-43.7" class="st11"></path>%0A%09%09<path d="M1052.5,2468.5c0,0,69.2-57,107.6-70.5" class="st11"></path>%0A%09%09<path d="M1243.7,2349.5c0,0-52.8-23.4-93.7-5.9" class="st11"></path>%0A%09</g>%0A%09<path d="M3360.2,3327.1c-71.4-58-182.9-129.1-345.1-184.1c-329.3-111.6-176.9-187.3-303.6-225.2%0A%09%09s-430.3-22.5-784.9-68.8s-643.1-33.1-556-162c60.4-89.4,145-152.7,191.1-183.1l-109.7,8.4c-108.3,81.3-312.5,270.2,66.8,308.2%0A%09%09c486.5,48.7,1181.1,101.9,1192.6,208.2c9.2,84.8,440.1,200.1,610.2,307.3C3334,3333.3,3346.8,3330.3,3360.2,3327.1z" class="st22"></path>%0A%09<linearGradient y2="608.8419" x2="3633.9429" y1="608.8419" x1="3431.6741" gradientUnits="userSpaceOnUse" id="SVGID_9_">%0A%09%09<stop style="stop-color:%234085F0" offset="0"></stop>%0A%09%09<stop style="stop-color:%23275DC9" offset="1"></stop>%0A%09</linearGradient>%0A%09<ellipse ry="101.1" rx="101.1" cy="608.8" cx="3532.8" class="st36"></ellipse>%0A%09<linearGradient y2="3174.8586" x2="1457.2415" y1="3174.8586" x1="1136.8959" gradientUnits="userSpaceOnUse" id="SVGID_10_">%0A%09%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09%09<stop style="stop-color:%23529BF7" offset="1"></stop>%0A%09</linearGradient>%0A%09<ellipse ry="106.3" rx="160.2" cy="3174.9" cx="1297.1" class="st37"></ellipse>%0A%09<linearGradient y2="2968.6479" x2="1266.5088" y1="2968.6479" x1="1085.6805" gradientUnits="userSpaceOnUse" id="SVGID_11_">%0A%09%09<stop style="stop-color:%234085F0" offset="0"></stop>%0A%09%09<stop style="stop-color:%23275DC9" offset="1"></stop>%0A%09</linearGradient>%0A%09<ellipse ry="60" rx="90.4" cy="2968.6" cx="1176.1" class="st38"></ellipse>%0A%09<linearGradient y2="3078.0559" x2="5051.6841" y1="3078.0559" x1="4866.0625" gradientUnits="userSpaceOnUse" id="SVGID_12_">%0A%09%09<stop style="stop-color:%234085F0" offset="0"></stop>%0A%09%09<stop style="stop-color:%23275DC9" offset="1"></stop>%0A%09</linearGradient>%0A%09<ellipse ry="92.8" rx="92.8" cy="3078.1" cx="4958.9" class="st39"></ellipse>%0A%09<path d="M2285.6,3438c0,0,206.8,24.5,420.7-87.7c42.5-28.4,62.6,33.1,35.4,53.2%0A%09%09c-27.2,20.1-168.9,100.4-399.3,87.4C2216,3486.1,2239.4,3435.8,2285.6,3438z" class="Graphic_x0020_Style_x0020_100"></path>%0A</g>%0A</svg>%0A';D();re();Re();function Zr(){return window.location.hash.length>0}function Xr(){let o=new URLSearchParams(window.location.search);if(Zr()){let e=window.location.hash,t=e.indexOf("?");if(t!==-1){let s=e.substring(t+1);new URLSearchParams(s).forEach((a,n)=>{o.set(n,a);});}}return o}function Jr(o,e){if(Zr()){let t=new URL(window.location.href);o.forEach(i=>t.searchParams.delete(i));let s=t.hash,r=s.indexOf("?");if(r!==-1){let i=s.substring(0,r),l=s.substring(r+1),y=new URLSearchParams(l);o.forEach(m=>y.delete(m));let p=y.toString();t.hash=p?`${i}?${p}`:i;}window.history.replaceState({},"",t.toString());let a=t.hash,n=a.indexOf("?");if(n!==-1){let i=a.substring(n+1);e(new URLSearchParams(i),{replace:true});}else e(new URLSearchParams,{replace:true});}else {let t=Xr();o.forEach(s=>t.delete(s)),e(t,{replace:true});}}function Yr(){let{get:o}=L(),{token:{setToken:e}}=I(),[,t]=useSearchParams(),s=Xr(),r=s.get("ticket"),a=s.get("unregistered")==="true",[n,i]=useState(a);useEffect(()=>{if(r||a){let m=[];r&&m.push("ticket"),a&&m.push("unregistered"),Jr(m,t);}},[r,a,t]);let{isLoading:l,error:y}=useQuery({queryKey:T.auth.ticketLogin(r),queryFn:()=>o("/api/usystem/user/login",{searchParams:{ticket:r}}).then(m=>{e(m.data?.token);}),enabled:!!r,retry:false,refetchOnWindowFocus:false,refetchOnReconnect:false});return {isLoading:l,error:y,isUnregistered:n,dismissUnregistered:()=>{i(false),a&&Jr(["unregistered"],t);}}}var a1=({extra:o,title:e,titleStyle:t})=>{let{token:{token:s},context:{homePath:r}}=I(),{t:a}=_(),{isLoading:n,isUnregistered:i,dismissUnregistered:l}=Yr(),y=encodeURIComponent(window.location.href),p=`${Io}/login?service=${y}`,m=`${Io}/logout?service=${encodeURIComponent(p)}`;return n?jsx("div",{className:"w-screen h-screen flex justify-center items-center",children:jsx(Spin,{})}):s?jsx(Navigate,{replace:true,to:r}):jsxs("div",{className:"w-screen h-screen relative overflow-hidden bg-linear-to-br from-blue-50 via-indigo-50/50 to-purple-50",children:[o&&jsx("div",{className:"absolute top-6 right-6 z-20 md:top-16 md:right-16",children:o}),jsx("div",{className:"absolute left-6 top-6 z-20 md:left-14 md:top-10",children:jsxs(Space,{align:"center",children:[jsx(kt,{width:48}),e&&jsx("span",{className:"text-2xl font-bold bg-linear-to-r from-gray-800 to-gray-600 bg-clip-text text-transparent",style:t,children:e})]})}),jsxs("div",{className:"w-full h-full flex items-center justify-center relative",children:[jsx("div",{className:"flex absolute top-0 left-0 bottom-0 right-[550px] justify-center items-center",children:jsx("img",{src:$r,alt:"background",className:"w-5/6 max-w-full h-auto object-contain"})}),jsx("div",{className:"absolute z-10 right-[100px] top-1/2 -translate-y-3/4 w-[450px]",children:jsx(Card,{className:"shadow-2xl rounded-2xl overflow-hidden backdrop-blur-sm border-0 transition-all duration-300 hover:shadow-[0_20px_60px_-15px_rgba(0,0,0,0.3)]",style:{background:"rgba(255, 255, 255, 0.98)",border:"1px solid rgba(0, 0, 0, 0.06)"},variant:"outlined",children:jsxs("div",{className:"px-2 py-1",children:[i&&jsx(Alert,{banner:true,closable:{onClose:l},title:a("SignIn.unregistered"),type:"error",className:"mb-6 rounded-lg border-0"}),jsx("div",{className:"mb-8 text-center",children:jsx("div",{className:"mt-4 mb-2",children:jsx(Typography.Title,{level:2,className:"mb-0! text-3xl! font-semibold bg-linear-to-r from-gray-800 via-gray-700 to-gray-600 bg-clip-text text-transparent",children:a("SignIn.welcome")})})}),jsx(Divider,{className:"my-6"}),jsx(Button,{block:true,type:"primary",size:"large",icon:jsx(LoginOutlined,{}),href:m,target:"_self",className:"h-12 text-base font-medium shadow-md hover:shadow-lg transition-all duration-200 hover:scale-[1.02]",children:a("SignIn.signInWithIDass")})]})})})]})]})},n1=a1;var L1=lazy(()=>Promise.resolve().then(()=>(aa(),ra))),A1=lazy(()=>Promise.resolve().then(()=>(pa(),ca))),E1=lazy(()=>Promise.resolve().then(()=>(ya(),fa))),V1=jsxs(Fragment,{children:[jsx(Route,{index:true,element:jsx(L1,{})}),jsx(Route,{path:"create",element:jsx(A1,{})}),jsx(Route,{path:"update/:id",element:jsx(E1,{})})]});var Z2=lazy(()=>Promise.resolve().then(()=>($a(),ja))),X2=lazy(()=>Promise.resolve().then(()=>(en(),Ya))),Y2=lazy(()=>Promise.resolve().then(()=>(rn(),sn))),ep=lazy(()=>Promise.resolve().then(()=>(ln(),nn)));var tp=jsxs(Fragment,{children:[jsxs(Route,{path:"user",children:[jsx(Route,{index:true,element:jsx(Z2,{})}),jsx(Route,{path:":id",element:jsx(X2,{})})]}),jsxs(Route,{path:"role",children:[jsx(Route,{index:true,element:jsx(Y2,{})}),jsx(Route,{path:":name",element:jsx(ep,{})})]})]});Z();Oe();
|
|
3
|
-
export{
|
|
1
|
+
import {jwtDecode}from'jwt-decode';import {isEqual,template,has,get,uniq,find,difference,compact,isArray,isNil,last,first}from'lodash-es';import {useStore,create}from'zustand';import {persist,createJSONStorage,devtools,subscribeWithSelector}from'zustand/middleware';import {createContext,memo,lazy,useContext,useMemo,forwardRef,useState,useRef,cloneElement,useEffect,useImperativeHandle,Fragment as Fragment$1,useSyncExternalStore,Activity,Suspense,useTransition}from'react';import {jsxs,jsx,Fragment}from'react/jsx-runtime';import {theme,Layout,Select,Form,Spin,Table,Result,Typography,notification,Space,Button,Modal,App,Card,Popconfirm,Input,Switch,InputNumber,Tag,Breadcrumb,Descriptions,Skeleton,Divider,Empty,Dropdown,Drawer,Alert,Tooltip,Row,Col,Menu,Checkbox,Collapse}from'antd';import xa from'ky';import {useQuery,useInfiniteQuery,useQueryClient,useMutation}from'@tanstack/react-query';import {flushSync}from'react-dom';import {createRoot}from'react-dom/client';import {Link,Route,useNavigate,useParams,useLocation,useOutlet,useMatches,Navigate,matchPath,useSearchParams}from'react-router';import {Editor}from'@monaco-editor/react';import {UserAddOutlined,UsergroupAddOutlined,PlusOutlined,LogoutOutlined,UserOutlined,MenuUnfoldOutlined,MenuFoldOutlined,LoginOutlined,MinusCircleOutlined}from'@ant-design/icons';import Tc from'dayjs';var _o=Object.defineProperty;var Yn=(s,e,t)=>e in s?_o(s,e,{enumerable:true,configurable:true,writable:true,value:t}):s[e]=t;var C=(s,e)=>()=>(s&&(e=s(s=0)),e);var Ge=(s,e)=>{for(var t in e)_o(s,t,{get:e[t],enumerable:true});};var W=(s,e,t)=>Yn(s,typeof e!="symbol"?e+"":e,t);var Is,Xe,Ue,To,Me,Ne=C(()=>{Is="https://idaas.ifunplus.cn/enduser/api/application/plugin_FunPlus/sso/v1",Xe="App-ID",Ue="/console/",To=(o=>(o.GAME_SCOPED="game_scoped",o.GROUP_BASED="group_based",o.DIRECT_GAME="direct_game",o))(To||{}),Me="*";});var ea,Ro,Mo=C(()=>{ea={global:{noEntitlement:"\u65E0\u6743\u9650\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458",name:"\u540D\u79F0",creationTime:"\u521B\u5EFA\u65F6\u95F4",operation:"\u64CD\u4F5C",update:"\u66F4\u65B0",edit:"\u7F16\u8F91",delete:"\u5220\u9664",selectAll:"\u5168\u9009",game:"\u6E38\u620F",user:"\u7528\u6237",role:"\u89D2\u8272",username:"\u7528\u6237\u540D",password:"\u5BC6\u7801",label:"\u6807\u7B7E",method:"\u65B9\u6CD5",route:"\u8DEF\u7531",request:"\u8BF7\u6C42",response:"\u54CD\u5E94",add:"\u6DFB\u52A0",signIn:"\u767B\u5F55",projectGroup:"\u9879\u76EE\u7EC4",view:"\u67E5\u770B",back:"\u8FD4\u56DE"},SignIn:{title:"\u767B\u5F55\u65B9\u5F0F",signInWithIDass:"IDass \u767B\u5F55",unregistered:"\u60A8\u8FD8\u672A\u5728\u5E73\u53F0\u6CE8\u518C\uFF0C\u8BF7\u8054\u7CFB\u7BA1\u7406\u5458",welcome:"\u6B22\u8FCE"},NotFound:{subTitle:"\u8BBF\u95EE\u7684\u9875\u9762\u4E0D\u5B58\u5728",buttonText:"\u8FD4\u56DE\u9996\u9875"},FilterFormWrapper:{confirmText:"\u67E5\u8BE2",resetText:"\u91CD\u7F6E"},FormModal:{confirmText:"\u786E\u8BA4",cancelText:"\u53D6\u6D88"},GameSelect:{label:"\u5F53\u524D\u6E38\u620F",placeholder:"\u8BF7\u9009\u62E9\u6E38\u620F"},RequireGame:{description:"\u8BF7\u9009\u62E9\u6E38\u620F"},UserDropdown:{signOutText:"\u767B\u51FA"},User:{createTitle:"\u521B\u5EFA\u7528\u6237",createSuccessfully:"\u7528\u6237\u521B\u5EFA\u6210\u529F",updateTitle:"\u66F4\u65B0\u7528\u6237",updateSuccessfully:"\u7528\u6237\u66F4\u65B0\u6210\u529F",deleteTitle:"\u5220\u9664\u7528\u6237",deleteContent:"\u786E\u5B9A\u8981\u5220\u9664\u7528\u6237 <%= user %> \u5417\uFF1F",deleteSuccessfully:"\u7528\u6237\u5220\u9664\u6210\u529F"},Role:{createTitle:"\u521B\u5EFA\u89D2\u8272",createSuccessfully:"\u89D2\u8272\u521B\u5EFA\u6210\u529F",updateTitle:"\u66F4\u65B0\u89D2\u8272",updateSuccessfully:"\u89D2\u8272\u66F4\u65B0\u6210\u529F",deleteTitle:"\u5220\u9664\u89D2\u8272",deleteContent:"\u786E\u5B9A\u8981\u5220\u9664\u89D2\u8272 <%= role %> \u5417\uFF1F",deleteSuccessfully:"\u89D2\u8272\u5220\u9664\u6210\u529F"},PermissionList:{failedDescription:"\u83B7\u53D6\u6743\u9650\u5217\u8868\u5931\u8D25",baseSectionTitle:"\u5E73\u53F0\u57FA\u7840\u6743\u9650",gameSectionTitle:"\u6E38\u620F\u6743\u9650",gameSectionDescription:"\u8BF7\u5148\u9009\u62E9\u6E38\u620F",gameSelectPlaceholder:"\u8BF7\u5148\u9009\u62E9\u6E38\u620F",removeText:"\u79FB\u9664",addText:"\u6DFB\u52A0\u6E38\u620F\u6743\u9650"},RoleDetail:{title:"\u89D2\u8272\u8BE6\u60C5"},InfiniteList:{loadingText:"\u52A0\u8F7D\u4E2D",reachEndText:"\u5DF2\u7ECF\u5230\u5E95\u4E86",loadMoreText:"\u52A0\u8F7D\u66F4\u591A"}},Ro=ea;});function vt(){return (s,e)=>({open:new Map,usedIds:new Set,isOpen(t){return e().open.get(t)??false},show(t){s({open:new Map(e().open).set(t,true)});},hide(t){s({open:new Map(e().open).set(t,false)});},hideAll(){s({open:new Map});},checkUniqueness(t){return !e().usedIds.has(t)},registerIds(t){let{usedIds:o}=e();return o.has(t)?false:(s({usedIds:new Set(o).add(t)}),true)},cleanup(t){let{open:o,usedIds:r}=e(),n=new Map(o),a=new Set(r);n.delete(t),a.delete(t),s({open:n,usedIds:a});}})}var ko=C(()=>{});var ta,It,Fo=C(()=>{ta=0,It=()=>{let s=Date.now(),e=Math.floor(Math.random()*1e3),t=++ta%1e3;return s*1e6+e*1e3+t};});var _s,wo=C(()=>{_s={getItem(s){return sessionStorage.getItem(s)??localStorage.getItem(s)},setItem(s,e){sessionStorage.setItem(s,e),localStorage.setItem(s,e);},removeItem(s){sessionStorage.removeItem(s),localStorage.removeItem(s);}};});var qe=C(()=>{ko();Fo();wo();});var aa,ia,la,ke,Ao,Ht=C(()=>{Mo();qe();aa={useGameApiV2:false,loginPath:"/sign_in",homePath:"/",sidebarWidth:250,sidebarCollapsible:false,gameScoped:false,locale:Ro,authMode:"game_scoped"},ia=s=>{if(!s)return null;try{return jwtDecode(s)}catch{return null}},la=s=>create()(persist((e,t,o)=>({context:{...aa,...s},token:{token:void 0,user:null,setToken:n=>{e(a=>({token:{...a.token,token:n,user:ia(n)}}));},clearToken:()=>{e(n=>({token:{...n.token,token:void 0,user:null}}));}},game:{appId:void 0,setAppId:n=>{e(a=>({game:{...a.game,appId:n}}));}},layout:{collapsed:false,toggleCollapsed:()=>{e(n=>({layout:{...n.layout,collapsed:!n.layout.collapsed}}));}},nav:{openKeys:[],selectedKeys:[],setOpenKeys:n=>{let a=t();isEqual(a.nav.openKeys,n)||e(i=>({nav:{...i.nav,openKeys:n}}));},setSelectedKeys:n=>{let a=t();isEqual(a.nav.selectedKeys,n)||e(i=>({nav:{...i.nav,selectedKeys:n}}));}},clear:()=>{t().token.clearToken(),o.persist.clearStorage();}}),{name:"ToolkitStore",storage:createJSONStorage(()=>_s),partialize:e=>({token:e.token.token,appId:e.game.appId,user:e.token.user,collapsed:e.layout.collapsed,openKeys:e.nav.openKeys,selectedKeys:e.nav.selectedKeys}),merge:(e,t)=>{let{token:o,user:r,appId:n,collapsed:a,openKeys:i,selectedKeys:l}=e;return {...t,token:{...t.token,token:o,user:r},game:{...t.game,appId:n},layout:{...t.layout,collapsed:a??t.layout.collapsed},nav:{...t.nav,openKeys:i??t.nav.openKeys,selectedKeys:l??t.nav.selectedKeys}}}})),ke=la(),Ao=s=>{if(s&&Object.keys(s).length>0){let e=ke.getState();ke.setState({context:{...e.context,...s}});}return ke};});function _(s){let e=useContext(Ts);if(!e){let o=new Error().stack?.split(`
|
|
2
|
+
`)[2]?.trim()||"Unknown";throw new Error(`Missing ToolkitProvider in the tree. Component "${o}" must be wrapped with <ToolkitProvider>. Please ensure ToolkitProvider is rendered above this component in the component tree.`)}return useStore(e,s??(t=>t))}var Ts,Vo,ua,Do=C(()=>{Ht();Ts=createContext(null);Vo=s=>{let{children:e,...t}=s;if(useContext(Ts))throw new Error("ToolkitProvider: \u4E0D\u652F\u6301\u5D4C\u5957\u4F7F\u7528\uFF0C\u8BF7\u4EC5\u5728\u5E94\u7528\u6839\u90E8\u4F7F\u7528\u4E00\u6B21\u3002");let r=useMemo(()=>{let n=Ao(t);if(!n.getState().context.loginPath)throw new Error('ToolkitProvider: \u8BF7\u914D\u7F6E "loginPath"');return n},[t]);return jsx(Ts.Provider,{value:r,children:e})};process.env.NODE_ENV!=="production"&&(Vo.displayName="ToolkitProvider");ua=Vo;});var O=C(()=>{Do();});function I(){let{context:{locale:s}}=_();return {t:useMemo(()=>(t,o)=>has(s,t)?template(get(s,t))(o):t,[s])}}var Oo=C(()=>{O();});var V=C(()=>{Oo();});var Rs,X,Ms,F,ae=C(()=>{Ne();Ht();Rs=class extends Error{constructor(t,o,r){super(t);W(this,"response");W(this,"data");this.name="HttpResponseError",this.response=o,this.data=r;}},X=class X{constructor(e){W(this,"instance");W(this,"beforeRequestHook",(e,t)=>{let o=ke.getState(),{token:r}=o.token,{appId:n}=o.game;if(r&&e.headers.set("Authorization",`Bearer ${r}`),!e.headers.has(Xe)){let i=t.context?.isGlobalMode??!n;e.headers.set(Xe,i?"global":encodeURIComponent(String(n)));}});W(this,"beforeErrorHook",async e=>{if(!e.response)return notification.error({message:"Network Error",description:e.message||"Network request failed"}),e;let{status:t}=e.response,o=e.response.headers.get("content-type")||"",n=o.includes("application/json")||o.startsWith("text/")?await this.tryParseJson(e.response):null,a=this.extractErrorMessage(n),i=ke.getState(),{clearToken:l}=i.token,{loginPath:p}=i.context;switch(t){case X.HTTP_STATUS.UNAUTHORIZED:l(),p&&(window.location.href=p);break;case X.HTTP_STATUS.UNREGISTERED:l(),p&&(window.location.href=`${p}?unregistered=true`);break;case X.HTTP_STATUS.FORBIDDEN:notification.error({message:"\u8BBF\u95EE\u88AB\u7981\u6B62",description:"\u60A8\u6CA1\u6709\u6743\u9650\u8BBF\u95EE\u6B64\u8D44\u6E90\u3002"});break;default:notification.error({message:"Request failed",description:a});}return e});W(this,"afterResponseHook",async(e,t,o)=>{if(!(o.headers.get("content-type")||"").includes("application/json"))return o;let n=await this.tryParseJson(o);if(!n)return o;if(this.isSuccessResponse(n,o.status))return new Response(JSON.stringify(n),{status:o.status,statusText:o.statusText,headers:o.headers});let a=this.extractErrorMessage(n);throw notification.error({message:"Request failed",description:a}),new Rs(a,o,n)});W(this,"request",e=>{let{url:t,method:o="GET",...r}=e;return this._request(o,t,void 0,r)});let{apiBaseUrl:t}=ke.getState().context;this.instance=xa.create({prefixUrl:t,retry:0,timeout:X.REQUEST_TIMEOUT,...e,hooks:{beforeRequest:[this.beforeRequestHook.bind(this)],beforeError:[this.beforeErrorHook.bind(this)],afterResponse:[this.afterResponseHook.bind(this)]}});}isSuccessResponse(e,t){if(t<X.HTTP_STATUS.OK||t>=300)return false;if(!e||typeof e!="object")return true;let o=e;return Object.keys(X.DEFAULT_STATUS_FIELDS).some(n=>o[n]!==void 0&&o[n]!==null)?Object.entries(X.DEFAULT_STATUS_FIELDS).every(([n,a])=>{let i=o[n];return i==null?true:typeof i=="number"&&a.includes(i)}):true}extractErrorMessage(e){if(!e||typeof e!="object")return "Unknown error";let t=e;for(let o of X.DEFAULT_ERROR_FIELDS){let r=t[o];if(r)return String(r)}return "Unknown error"}async processResponse(e,t){switch(t){case "json":return e.json();case "text":return e.text();case "arrayBuffer":return e.arrayBuffer();case "formData":return e.formData();case "blob":return e;default:return e}}isBodyInit(e){return e instanceof FormData||e instanceof URLSearchParams||e instanceof Blob||typeof e=="string"||e instanceof ArrayBuffer||ArrayBuffer.isView(e)}async tryParseJson(e){try{return await e.clone().json()}catch{return null}}async _request(e,t,o,r){let{responseType:n="json",isGlobalMode:a,context:i,...l}=r||{},p={...l,method:e,context:{...i,responseType:n,...a!==void 0&&{isGlobalMode:a}}};o!==void 0&&(this.isBodyInit(o)?p.body=o:p.json=o);let c=await this.instance(t,p);switch(n){case "blob":return this.processResponse(c,"blob");case "text":return this.processResponse(c,"text");case "arrayBuffer":return this.processResponse(c,"arrayBuffer");case "formData":return this.processResponse(c,"formData");default:return this.processResponse(c,"json")}}get(e,t){return this._request("GET",e,void 0,t)}post(e,t,o){return this._request("POST",e,t,o)}put(e,t,o){return this._request("PUT",e,t,o)}delete(e,t){return this._request("DELETE",e,void 0,t)}patch(e,t,o){return this._request("PATCH",e,t,o)}};W(X,"HTTP_STATUS",{OK:200,UNAUTHORIZED:401,FORBIDDEN:403,UNREGISTERED:412}),W(X,"REQUEST_TIMEOUT",3e4),W(X,"DEFAULT_STATUS_FIELDS",{code:[0,1,200],status:[0,1,200],errno:[0,1,200]}),W(X,"DEFAULT_ERROR_FIELDS",["msg","message","error"]);Ms=X,F=new Ms;});var T,Fe=C(()=>{T={permissions:{check:(s,e)=>["permissions","check",s,e],allPermissions:["permissions","all"],allPermissionsV2:["permissions","allV2"]},users:{all:["users"],detail:s=>["users","detail",s],create:["users","create"],update:["users","update"],delete:["users","delete"]},roles:{all:["roles"],detail:(s,e)=>["roles","detail",s,e],create:s=>["roles","create",s],update:s=>["roles","update",s],delete:["roles","delete"]},menus:{all:["menus"],navbar:s=>["menus","navbar",s],detail:s=>["menus","detail",s],create:["menus","create"],update:["menus","update"],delete:["menus","delete"]},enums:{gameGroups:["enums","gameGroups"],gameIds:s=>["enums","gameIds",s]},games:{all:["games","all"]},auth:{ticketLogin:s=>["auth","ticket-login",s]}};});function oe(s,e){let t=typeof s<"u"?typeof s=="string"?[s]:s:[],{data:o,...r}=useQuery({queryKey:T.permissions.check(t,"game_scoped"),queryFn:()=>F.post("/api/usystem/user/checkV2",{permissions:t},e),enabled:t.length>0,retry:false,select:a=>a.data}),n=true;return typeof s=="string"?n=o?.has_all?true:o?.[s]??false:Array.isArray(s)&&s.length>0&&(n=t.reduce((a,i)=>(a[i]=o?.has_all?true:o?.[i]??false,a),{})),{...r,data:n}}function jt(){let{context:{loginPath:s},game:{appId:e}}=_();return useQuery({queryKey:T.menus.navbar(e?String(e):void 0),queryFn:()=>F.get("/api/usystem/menu/navbar",{headers:{[Xe]:e?encodeURIComponent(String(e)):"global"}}),select:t=>t.data,enabled:window.location.pathname!==s})}var we,Y=C(()=>{O();Ne();ae();Fe();we=()=>{let{context:{useGameApiV2:s,gameScoped:e}}=_();return useQuery({queryKey:T.games.all,queryFn:async()=>{let t={headers:{[Xe]:"global"}};return s?(await F.get("/api/game/list",t)).data?.list??[]:(await F.get("/api/usystem/game/all",t)).data??[]},enabled:e===true,retry:false})};});var Pa,ee,Uo=C(()=>{V();Y();Pa=s=>{let{children:e,code:t,showLoading:o,disabled:r,config:n,...a}=s,i=t?Array.isArray(t)?t:[t]:[],{data:l,isLoading:p}=oe(i,n),{t:c}=I(),d=l&&(typeof l=="boolean"||Object.values(l).some(Boolean)),h=r||!d||p&&!o,x=p&&o,g=h,u=jsx(Button,{disabled:h,loading:x,...a,children:e});return g?jsx(Tooltip,{defaultOpen:false,title:c("global.noEntitlement"),children:u}):u},ee=Pa;});var Ye=C(()=>{Uo();});var Aa,Tt,Wo=C(()=>{V();Aa=s=>{let{extras:e,isConfirming:t,onConfirm:o,onReset:r,children:n,buttonsAlign:a="left",showReset:i}=s,{t:l}=I(),{token:{colorFillAlter:p,lineWidth:c,lineType:d,colorBorder:h,borderRadiusLG:x}}=theme.useToken();return jsx("div",{className:"max-w-none p-6 mb-6 border",style:{background:p,borderWidth:c,borderStyle:d,borderColor:h,borderRadius:x},children:jsxs("div",{className:`flex ${a==="bottom"?"flex-col":"flex-row"}`,children:[jsx("div",{className:`${a==="left"?"grow-0":"flex-1"}`,children:n}),jsx("div",{className:`${a==="bottom"?"text-end":"text-start"} ml-4`,children:jsxs(Space,{children:[jsx(Button,{type:"primary",disabled:t,onClick:o,children:l("FilterFormWrapper.confirmText")}),e?.map(g=>jsx(Fragment$1,{children:g.children},g.key)),i&&jsx(Button,{onClick:r,children:l("FilterFormWrapper.resetText")})]})})]})})},Tt=Aa;});var Jt=C(()=>{Wo();});function Ua(s){let e=document.createElement("div"),t=createRoot(e);return new Promise(o=>{setTimeout(()=>{flushSync(()=>{t.render(s);}),o(e.innerHTML);});})}var Ga,Na,ze,jo=C(()=>{Ga=s=>{let e=/(<[^>]*>)/;return s.split(e).filter(t=>t!=="")};Na=s=>{let{texts:e,children:t}=s,[o,r]=useState("");return useEffect(()=>{Ua(t).then(n=>{let a=Ga(n);for(let i of e)for(let l=0;l<a.length;l++)a[l]=a[l].replace(String(i),`<span style='color: #DC143C;'>${i}</span>`);r(a.join(""));});},[t,e]),jsx("div",{dangerouslySetInnerHTML:{__html:o}})},ze=Na;});var Rt=C(()=>{jo();});function es(s){let{onSync:e}=s,t=useRef(void 0),o=useRef(false),r=t,n=o;return r.current=a=>{n.current=true;try{e(a);}finally{setTimeout(()=>{n.current=false;},0);}},{syncFromStoreRef:t,isSyncingFromStore:o}}var Gs=C(()=>{});function ts(s,e){return create()(devtools(subscribeWithSelector((t,o)=>({instances:new Map,registerInstance(r){t(n=>{let a=n.instances.get(r.id);if(a){if(a.refetch!==r.refetch){let c={...a,...r},d=new Map(n.instances);return d.set(r.id,c),{instances:d}}if(a.syncCallback!==r.syncCallback||!isEqual(a.extraMethods,r.extraMethods)){let c={...a,syncCallback:r.syncCallback,extraMethods:r.extraMethods},d=new Map(n.instances);return d.set(r.id,c),{instances:d}}return n}let i={...r,payload:s},l=new Map(n.instances);return l.set(r.id,i),{instances:l}});},unregisterInstance(r){t(n=>{let a=new Map(n.instances);return a.delete(r)?{instances:a}:n});},updatePayload(r,n,a=false){t(i=>{let l=i.instances.get(r);if(!l)return i;let p={...l.payload,...n};if(!isEqual(l.payload,p)){let c={...l,payload:p},d=new Map(i.instances);return d.set(r,c),a&&l.syncCallback&&setTimeout(()=>{l.syncCallback(p);},0),{instances:d}}return i});},getPayload(r){return o().instances.get(r)?.payload??s},async refetch(r,n){let a=o().instances.get(r);if(!a){console.warn(`List instance with id "${r}" not found`);return}let i=false;if(n){let l=a.payload,p={...l,...n};isEqual(l,p)||(o().updatePayload(r,n,true),i=true);}if(!i)try{await a.refetch();}catch(l){throw console.error(`Failed to refetch list instance "${r}":`,l),l}},getInstance(r){return o().instances.get(r)},getAllInstances(){return Array.from(o().instances.values())}})),{name:e}))}var Ns=C(()=>{});var os,ss,te,qs=C(()=>{Ns();os=Object.freeze({page:0,filters:Object.freeze({})}),ss=ts(os,"infinite-list-store"),te=Object.assign(ss,{registerInstance(s,e,t,o,r,n){ss.getState().registerInstance({id:s,url:e,queryKey:t,refetch:o,fetchNextPage:r,syncCallback:n,extraMethods:{fetchNextPage:r}});},fetchNextPage:s=>{let e=ss.getState().getInstance(s);if(!e)return console.warn(`InfiniteList instance with id "${s}" not found`),Promise.resolve();try{return Promise.resolve(e.fetchNextPage())}catch(t){return console.error(`Failed to fetch next page for InfiniteList instance "${s}":`,t),Promise.reject(t)}},getQueryKey(s){return ss.getState().getInstance(s)?.queryKey}});});function Rl(s,e){return Tl(s,e)}var Pl,Cl,xr,vl,Il,_l,Tl,Ml,kl,Sr=C(()=>{Jt();ae();V();Y();Gs();qs();Pl=300*1e3,Cl=30*1e3,xr=["GET","HEAD","OPTIONS"],vl=["POST","PUT","PATCH","DELETE"],Il=0,_l=()=>`infiniteList_${Date.now()}_${++Il}`,Tl=(s,e)=>{let t={items:v=>v?v.flatMap(M=>M?.data?.list||[]):[],hasMore:v=>{if(!v)return false;let M=v;return M?.hasMore||M?.has_more||false},nextPageParam:(v,M,H)=>{let Z=M.at(-1);if(!Z)return;let Je=Z;if(Je?.hasMore||Je?.has_more)return typeof H=="number"?H+1:M.length}},{identifier:o,code:r,buttonsAlign:n,showReset:a,refreshInterval:i=0,request:l,tableExtra:p,renderForm:c,afterSuccess:d,afterError:h,dataAdapter:x,initialPageParam:g=0,footer:u,form:P,...b}=s,{t:f}=I(),[m]=Form.useForm(P),[y,S]=useState(false),w=useRef(false),{data:E,isLoading:N}=oe(r),A=o||_l(),[L,q]=useState(typeof g=="number"?g:0),[Q,ye]=useState(),{syncFromStoreRef:Nt,isSyncingFromStore:Ie}=es({onSync:v=>{v.page!==void 0&&q(v.page),v.filters!==void 0&&(ye(v.filters),m.setFieldsValue(v.filters));}}),ue={page:L,filters:Q},re={...t,...x??{}},ut=typeof l=="function"?l(ue,g):typeof l=="string"?{url:l}:l,{url:he,method:_e="GET",body:We,searchParams:dt,headers:ft,cacheTime:bs=Pl,staleTime:je=Cl,isGlobalMode:yt}=ut,Ve=(_e||"GET").toUpperCase();[...xr,...vl].includes(Ve)||console.warn(`InfiniteList: \u4E0D\u652F\u6301\u7684 HTTP \u8BF7\u6C42\u65B9\u6CD5 "${_e}"\uFF0C\u5DF2\u56DE\u9000\u5230 GET \u65B9\u6CD5`);let zt=typeof ft=="function"?ft(m):ft,$e=typeof We=="function"?We(ue,g):We,Ss=typeof dt=="function"?dt(ue,g):dt,ht=["infiniteList",A,Ve,he,L,Q,Ss,$e,zt,yt],{data:de,fetchNextPage:gt,hasNextPage:De,isFetchingNextPage:ge,refetch:$,isFetching:xe}=useInfiniteQuery({queryKey:ht,queryFn:async({pageParam:v=g})=>{try{let M={...ue,page:typeof v=="number"?v:L},H=typeof l=="function"?l(M,v):typeof l=="string"?{url:l}:l||ut,{url:Z=he,method:Je=Ve,body:Ze,searchParams:R,headers:D=ft,isGlobalMode:Qt=yt}=H,So=(Je||Ve).toUpperCase(),Po=xr.includes(So),Co={...Q??{},page:v},vo=typeof Ze=="function"?Ze(M,v):Ze,vs=typeof R=="function"?R(M,v):R,Re,Pt;vo!==void 0?(Re=vo,Pt=vs):vs!==void 0?Pt=vs:Po?Pt=Co:Re=Co;let Xn=typeof D=="function"?D(m):D??zt,Ct={method:So,headers:Xn,...Qt!==void 0&&{isGlobalMode:Qt}};Pt!==void 0&&(Ct.searchParams=Pt),Re&&!Po&&(Re instanceof FormData||typeof Re=="string"?Ct.body=Re:Ct.json=Re);let Io=await F.request({url:Z,...Ct});return w.current=!0,d?.(m,[Io]),Io}catch(M){let H=M instanceof Error?M:new Error(String(M));throw h?.(H,m),H}},initialPageParam:g,getNextPageParam:(v,M,H)=>{let Z=re.hasMore?.(v,M);if(Z!==false){if(re.nextPageParam)return re.nextPageParam(v,M,H);if(Z===true)return typeof H=="number"?H+1:M.length}},enabled:!!(E&&y),retry:(v,M)=>!(v>=3||M?.message?.includes("401")),retryDelay:v=>Math.min(1e3*2**v,3e4),refetchOnWindowFocus:false,refetchInterval:w.current?i:0,gcTime:bs,staleTime:je});useEffect(()=>{if(!ht||!$||!gt)return;te.registerInstance(A,he,ht,$,gt,Nt.current);let v=te.getState().getInstance(A);if(v&&v.payload!==os)Nt.current?.(v.payload);else {let M=m.getFieldsValue(),Z={page:L!==void 0?L:typeof g=="number"?g:0,filters:Q!==void 0?Q:M};te.getState().updatePayload(A,Z,false),Q===void 0&&ye(M);}return ()=>{te.getState().unregisterInstance(A);}},[A,he]);let Te=re.items?.(de?.pages,m),xt=!Te||Te.length===0,ne=ge,bt=!De,Oe=async()=>{try{await m.validateFields(),S(!0);let v=m.getFieldsValue(),M=typeof g=="number"?g:0;q(M),ye(v),te.getState().refetch(A,{page:M,filters:v});}catch{S(false);}},Kt=async()=>{m.resetFields();try{await m.validateFields({validateOnly:!0}),S(!0);let v=m.getFieldsValue(),M=typeof g=="number"?g:0;q(M),ye(v),te.getState().refetch(A,{page:M,filters:v});}catch{S(false);}},Bt=()=>{!De||ge||te.fetchNextPage(A);};if(useEffect(()=>{if(Ie.current)return;let v=te.getState().getInstance(A);if(!v)return;let M={page:L,filters:Q};isEqual(v.payload,M)||te.getState().updatePayload(A,M,false);},[A,L,Q]),useEffect(()=>{if(!E)return;let v=te.getState().getInstance(A);if(!v)return;if(v.payload!==os){y||m.validateFields({validateOnly:true}).then(()=>{S(true);});return}(async()=>{try{m.resetFields();let H=await m.validateFields({validateOnly:!0}),Z=typeof g=="number"?g:0;q(Z),ye(H),te.getState().updatePayload(A,{page:Z,filters:H}),S(!0);}catch{S(false);}})();},[E,A,m,g,y]),useImperativeHandle(e,()=>({data:de?.pages,dataSource:Te,form:m,refetch:$,fetchNextPage:gt,hasNextPage:!!De,isFetchingNextPage:ge}),[de?.pages,Te,m,$,gt,De,ge]),N)return jsx("div",{className:"flex justify-center items-center h-[300px]",children:jsx(Spin,{})});if(!E)return jsx(Result,{status:403,subTitle:f("global.noEntitlement")});let St=u?()=>jsx(Fragment,{children:u(de?.pages)}):void 0,Ps=()=>typeof p=="function"?p(m,de?.pages):p,Cs=typeof c=="function"?jsx(Tt,{showReset:a,buttonsAlign:n,isConfirming:xe&&!ge,onReset:Kt,onConfirm:Oe,children:cloneElement(c(m),{onKeyUp:v=>{v.key==="Enter"&&Oe();}})}):jsx(Form,{form:m});return jsxs(Fragment,{children:[Cs,Ps(),jsx(Table,{...b,dataSource:Te,loading:xe&&!ge,pagination:false,footer:St}),!xt&&jsx("div",{className:"mt-4",children:jsx(Button,{block:true,loading:ne,type:"link",htmlType:"button",disabled:ne||bt,onClick:Bt,children:f(ne?"InfiniteList.loadingText":bt?"InfiniteList.reachEndText":"InfiniteList.loadMoreText")})})]})};Ml=forwardRef(Rl),kl=Ml;});var Pr=C(()=>{Sr();qs();});var Qs,Bs,z,Hs=C(()=>{Ns();Qs=Object.freeze({page:1,size:10,filters:Object.freeze({})}),Bs=ts(Qs,"query-list-store"),z=Object.assign(Bs,{registerInstance(s,e,t,o,r){Bs.getState().registerInstance({id:s,url:e,queryKey:t,refetch:o,syncCallback:r});},getQueryKey(s){return Bs.getState().getInstance(s)?.queryKey}});});var _r,Ul,Nl,Ir,ql,zl,Kl,Bl,Ql,Pe,Tr=C(()=>{Jt();O();ae();V();Y();Gs();Hs();_r=(r=>(r[r.Confirm=0]="Confirm",r[r.Reset=1]="Reset",r[r.Jump=2]="Jump",r[r.Init=3]="Init",r))(_r||{}),Ul=300*1e3,Nl=30*1e3,Ir=["GET","HEAD","OPTIONS"],ql=["POST","PUT","PATCH","DELETE"],zl=0,Kl=()=>`queryList_${Date.now()}_${++zl}`,Bl=(s,e)=>{let{t}=I(),{form:o,identifier:r,code:n,onePage:a,buttonsAlign:i,showReset:l,defaultSize:p=10,refreshInterval:c=0,tableExtra:d,renderForm:h,afterSuccess:x,afterError:g,footer:u,pageSizeOptions:P,request:b,dataAdapter:f,...m}=s,[y]=Form.useForm(o),[S]=useState(()=>r||Kl()),w=useRef(3),{data:E,isLoading:N}=oe(n),{game:{appId:A}}=_(),[L,q]=useState(false),Q=useRef(false),[ye,Nt]=useState(false),[Ie,ue]=useState(1),[re,ut]=useState(p),[he,_e]=useState(),{syncFromStoreRef:We,isSyncingFromStore:dt}=es({onSync:R=>{R.page!==void 0&&ue(R.page),R.size!==void 0&&ut(R.size),R.filters!==void 0&&(_e(R.filters),y.setFieldsValue(R.filters));}}),bs=typeof b=="function"?b({page:Ie,size:re,filters:he}):typeof b=="string"?{url:b}:b,{url:je,method:yt="GET",body:Ve,searchParams:qt,headers:zt,isGlobalMode:$e,cacheTime:Ss=Ul,staleTime:ht=Nl}=bs,de=yt.toUpperCase();[...Ir,...ql].includes(de)||console.warn(`QueryList: \u4E0D\u652F\u6301\u7684 HTTP \u8BF7\u6C42\u65B9\u6CD5 "${yt}"\uFF0C\u5C06\u4F7F\u7528 GET \u65B9\u6CD5`);let De=Ir.includes(de),ge={...he,...!a&&{page:Ie,size:re}},$,xe;Ve!==void 0?($=Ve,xe=qt):qt!==void 0?(xe=qt,$=void 0):De?(xe=ge,$=void 0):($=ge,xe=void 0);let Te=zt,xt=["queryList",S,de,je,$,xe,Te,$e,$e?void 0:A],{data:ne,isLoading:bt,refetch:Oe}=useQuery({queryKey:xt,queryFn:async()=>{try{let R={method:de,searchParams:xe,headers:Te,...$e!==void 0&&{isGlobalMode:$e}};$&&!De&&($ instanceof FormData||typeof $=="string"?R.body=$:R.json=$);let D=await F.request({url:je,...R});return Nt(!0),x?.(w.current,y,D),D}catch(R){let D=R instanceof Error?R:new Error(String(R));throw g?.(D,w.current,y),D}},refetchOnWindowFocus:false,refetchInterval:ye&&c>0?c:false,gcTime:Ss,staleTime:ht,enabled:E&&L}),Kt={total:ne?.data?.total,items:ne?.data?.list},Bt=typeof f=="function"?{...Kt,...f(ne)}:{...Kt,...f},St=Bt.items,Ps=Bt.total,Cs=a?false:{pageSizeOptions:P,showSizeChanger:true,showQuickJumper:true,current:Ie,pageSize:re,total:Ps,onChange:async(R,D)=>{w.current=2,ue(R),ut(D),z.getState().refetch(S,{page:R,size:D});}},v=async()=>{w.current=0;try{await y.validateFields(),q(!0);let R=y.getFieldsValue();ue(1),_e(R),z.getState().refetch(S,{page:1,filters:R});}catch{q(false);}},M=async()=>{w.current=1,y.resetFields();try{await y.validateFields({validateOnly:!0}),q(!0);let R=y.getFieldsValue();ue(1),_e(R),z.getState().refetch(S,{page:1,filters:R});}catch{q(false);}},H=R=>{R.key==="Enter"&&v();},Z=typeof h=="function"?jsx(Tt,{showReset:l,buttonsAlign:i,isConfirming:bt,onReset:M,onConfirm:v,children:cloneElement(h(y),{onKeyUp:H})}):jsx(Form,{form:y}),Je=typeof d=="function"?d(y,ne):d,Ze=u?()=>jsx(Fragment,{children:u(ne)}):void 0;return useEffect(()=>{if(!xt||!Oe)return;z.registerInstance(S,je,xt,Oe,We.current);let R=z.getState().getInstance(S);if(R&&R.payload!==Qs)We.current?.(R.payload);else {let D=y.getFieldsValue(),Qt={page:Ie,size:re,filters:D};z.getState().updatePayload(S,Qt,false),_e(D);}return ()=>{z.getState().unregisterInstance(S);}},[S,je]),useEffect(()=>{if(dt.current)return;let R=z.getState().getInstance(S);if(!R)return;let D={page:Ie,size:re,filters:he};isEqual(R.payload,D)||z.getState().updatePayload(S,D,false);},[S,Ie,re,he]),useEffect(()=>{if(!E||Q.current)return;Q.current=true,(async()=>{try{y.resetFields();let D=await y.validateFields({validateOnly:!0});ue(1),_e(D),z.getState().updatePayload(S,{page:1,filters:D},!1),q(!0);}catch{q(false);}})();},[E,S,y]),useImperativeHandle(e,()=>({data:ne,dataSource:St,form:y,refetch:Oe}),[ne,St,y,Oe]),N?jsx("div",{className:"flex justify-center items-center h-[300px]",children:jsx(Spin,{})}):E?jsxs("div",{children:[Z,Je,jsx(Table,{...m,dataSource:St,loading:bt,pagination:Cs,footer:Ze})]}):jsx(Result,{status:403,subTitle:t("global.noEntitlement")})},Ql=forwardRef(Bl),Pe=Ql;});var Rr=C(()=>{Tr();Hs();});var at=C(()=>{Pr();Rr();});function Ys(){return Xs||(Xs=create()(vt())),Xs()}var Xs,eo=C(()=>{qe();Xs=null;});function to(s){let{content:e,onConfirm:t,afterOpen:o,afterClose:r,...n}=s,[a]=useState(()=>It()),{show:i,hide:l,isOpen:p,cleanup:c}=Ys(),[d,h]=useState(false);useEffect(()=>()=>c(a),[a,c]);let x=p(a),g=async()=>{i(a),await o?.();},u=()=>{l(a);},P=async()=>{u(),await r?.();},b=async()=>{try{h(!0),await t?.(),u(),await r?.();}catch(S){throw console.error("Modal confirm error:",S),S}finally{h(false);}},m=typeof e=="function"?e({hide:u}):e,y=jsx(Modal,{...n,open:x,confirmLoading:d,onOk:b,onCancel:P,children:m});return {id:a,show:g,hide:u,modal:y}}var so=C(()=>{qe();eo();});function Lt(s){let{content:e,form:t,formProps:o,onConfirm:r,onSuccess:n,afterClose:a,...i}=s,[l,p]=useState({}),[c]=Form.useForm(t),d=async()=>{let m=await c.validateFields();await r?.(m,l),n?.();},h=()=>{p({}),a?.(c);},x=m=>{let y=typeof e=="function"?e(l,m):e;return jsx(Form,{...o,form:c,children:y})},{id:g,show:u,hide:P,modal:b}=to({...i,content:x,onConfirm:d,afterClose:h});return {id:g,show:m=>{m?.extraValues!==void 0&&p(m.extraValues),m?.initialValues&&c.setFieldsValue(m.initialValues),u();},hide:P,modal:b}}var Er=C(()=>{so();});var rs=C(()=>{Er();so();eo();});function Kr(){let s=useQueryClient();return useMutation({mutationKey:T.menus.create,mutationFn:e=>F.post("/api/usystem/menu/set",{...e,id:0,is_model:true},{isGlobalMode:true}),onSuccess:()=>{s.invalidateQueries({queryKey:T.menus.all}),s.invalidateQueries({queryKey:T.menus.navbar()});}})}function Br(){let s=useQueryClient();return useMutation({mutationKey:T.menus.update,mutationFn:e=>F.post("/api/usystem/menu/set",{...e,is_model:true},{isGlobalMode:true}),onSuccess:()=>{s.invalidateQueries({queryKey:T.menus.all}),s.invalidateQueries({queryKey:T.menus.navbar()});}})}function Qr(){let s=useQueryClient();return useMutation({mutationKey:T.menus.delete,mutationFn:e=>F.post("/api/usystem/menu/delete",null,{searchParams:{id:e},isGlobalMode:true}),onSuccess:()=>{s.invalidateQueries({queryKey:T.menus.all}),s.invalidateQueries({queryKey:T.menus.navbar()});}})}var as=C(()=>{ae();Fe();});var Wr={};Ge(Wr,{default:()=>Zc});var Jc,Zc,jr=C(()=>{Rt();at();V();Y();as();Jc=()=>{let{t:s}=I(),{message:e}=App.useApp(),t=Qr(),{refetch:o}=z(),{refetch:r}=jt(),n=useNavigate();return jsx(Fragment,{children:jsx(Card,{title:"\u83DC\u5355\u7BA1\u7406",extra:jsx(Button,{type:"primary",onClick:()=>{n("./create");},children:"\u521B\u5EFA\u83DC\u5355\u9879"}),children:jsx(Pe,{identifier:"menu-item-list",onePage:true,code:"9900001",rowKey:"id",columns:[{title:"\u83DC\u5355\u540D\u79F0",dataIndex:"category",key:"category"},{title:"\u524D\u7AEF\u8DEF\u7531",dataIndex:"front_route"},{title:"Order",dataIndex:"order"},{title:"Is Common",dataIndex:"is_common",key:"is_common",render:i=>i?"\u662F":"\u5426"},{title:"\u6A21\u677F\u540D\u79F0",dataIndex:"model_name",key:"model_name"},{title:"\u64CD\u4F5C",key:"action",width:150,align:"center",render(i,l){return l.is_model?jsxs(Space,{size:"small",children:[jsx(Button,{type:"link",onClick:()=>{n(`./update/${l.id}`);},children:s("global.update")}),jsx(Popconfirm,{title:"\u5220\u9664\u83DC\u5355",placement:"topRight",description:jsxs(ze,{texts:[l.category],children:["\u786E\u5B9A\u8981\u5220\u9664\u83DC\u5355 ",l.category," \u5417\uFF1F"]}),onConfirm:async()=>{await t.mutateAsync(l.id),o("menu-item-list"),r(),e.success("\u5220\u9664\u6210\u529F");},children:jsx(Button,{danger:true,type:"link",size:"small",children:s("global.delete")})})]}):null}}],request:{url:"/api/usystem/menu/list",method:"GET",isGlobalMode:true},dataAdapter:i=>({items:i?.data})})})})},Zc=Jc;});var Xr={};Ge(Xr,{default:()=>n1});var r1,n1,Yr=C(()=>{Ne();as();r1=()=>{let{message:s}=App.useApp(),[e]=Form.useForm(),t=useNavigate(),{mutateAsync:o}=Kr();return jsx(Card,{title:"\u521B\u5EFA\u83DC\u5355\u9879",children:jsxs(Form,{scrollToFirstError:true,form:e,labelCol:{flex:"120px"},initialValues:{is_common:false,is_model:false,order:0},onFinish:async n=>{let{permissions:a,front_route:i,...l}=n;await o({...l,front_route:Ue+i,permissions:a?JSON.parse(a):void 0}),s.success("\u521B\u5EFA\u6210\u529F",.8,()=>t("..",{relative:"route"}));},children:[jsx(Form.Item,{label:"\u83DC\u5355\u9879\u540D\u79F0",name:"category",rules:[{required:true}],children:jsx(Input,{})}),jsx(Form.Item,{label:"\u524D\u7AEF\u8DEF\u7531",name:"front_route",rules:[{required:true}],children:jsx(Input,{prefix:Ue})}),jsx(Form.Item,{label:"\u6A21\u677F\u540D\u79F0",name:"model_name",rules:[{required:true}],children:jsx(Input,{})}),jsx(Form.Item,{label:"Is Common",name:"is_common",rules:[{required:true}],valuePropName:"checked",children:jsx(Switch,{})}),jsx(Form.Item,{label:"Order",name:"order",children:jsx(InputNumber,{className:"w-full"})}),jsx(Form.Item,{label:"\u63A5\u53E3\u89C4\u5219",name:"permissions",children:jsx(Editor,{theme:"vs-dark",height:"300px",language:"json",options:{minimap:{enabled:false}}})}),jsx(Form.Item,{label:"Schema",name:"scheme",rules:[{required:true}],children:jsx(Editor,{theme:"vs-dark",height:"600px",language:"json",options:{minimap:{enabled:false}}})}),jsx(Form.Item,{label:"Ext",name:"ext",children:jsx(Input.TextArea,{rows:5})}),jsx(Form.Item,{children:jsxs("div",{className:"flex justify-center gap-8",children:[jsx(Button,{type:"primary",htmlType:"submit",children:"\u63D0\u4EA4"}),jsx(Button,{onClick:()=>{t("..",{relative:"path"});},children:"\u53D6\u6D88"})]})})]})})},n1=r1;});var on={};Ge(on,{default:()=>y1});var f1,y1,rn=C(()=>{Ne();ae();Fe();Y();as();f1=()=>{let{message:s}=App.useApp(),[e]=Form.useForm(),t=useNavigate(),{mutateAsync:o}=Br(),r=useParams(),{refetch:n}=jt(),{data:a,isLoading:i}=useQuery({queryKey:T.menus.detail(Number(r.id)),queryFn:()=>F.get(`/api/usystem/menu/info?id=${r.id}`,{isGlobalMode:true}),enabled:!!r.id,select:p=>p.data}),l=async p=>{let{permissions:c,front_route:d,...h}=p;await o({...h,permissions:c?JSON.parse(c):void 0,front_route:Ue+d,id:+r.id}),n(),s.success("\u66F4\u65B0\u6210\u529F",.8,()=>t("../..",{relative:"route"}));};return useEffect(()=>{let{permissions:p,front_route:c,...d}=a??{},h=JSON.stringify(p||[],null,2),x=c?.replace(Ue,"");e.setFieldsValue({...d,permissions:h,front_route:x});},[a,e]),jsx(Card,{title:"\u66F4\u65B0\u83DC\u5355\u9879",loading:i,children:jsxs(Form,{scrollToFirstError:true,form:e,labelCol:{flex:"120px"},initialValues:{is_common:false,is_model:false,order:0},onFinish:l,children:[jsx(Form.Item,{label:"\u83DC\u5355\u9879\u540D\u79F0",name:"category",rules:[{required:true}],children:jsx(Input,{})}),jsx(Form.Item,{label:"\u524D\u7AEF\u8DEF\u7531",name:"front_route",rules:[{required:true}],children:jsx(Input,{prefix:Ue})}),jsx(Form.Item,{label:"\u6A21\u677F\u540D\u79F0",name:"model_name",rules:[{required:true}],children:jsx(Input,{})}),jsx(Form.Item,{label:"Is Common",name:"is_common",rules:[{required:true}],valuePropName:"checked",children:jsx(Switch,{})}),jsx(Form.Item,{label:"Order",name:"order",children:jsx(InputNumber,{className:"w-full"})}),jsx(Form.Item,{label:"\u63A5\u53E3\u89C4\u5219",name:"permissions",children:jsx(Editor,{theme:"vs-dark",height:"300px",language:"json",options:{minimap:{enabled:false}}})}),jsx(Form.Item,{label:"Schema",name:"scheme",rules:[{required:true}],children:jsx(Editor,{theme:"vs-dark",height:"600px",language:"json",options:{minimap:{enabled:false}}})}),jsx(Form.Item,{label:"Ext",name:"ext",children:jsx(Input.TextArea,{rows:5})}),jsx(Form.Item,{children:jsxs("div",{className:"flex justify-center gap-8",children:[jsx(Button,{type:"primary",htmlType:"submit",children:"\u63D0\u4EA4"}),jsx(Button,{onClick:()=>{t("../..",{relative:"path"});},children:"\u53D6\u6D88"})]})})]})})},y1=f1;});var fe,cs=C(()=>{fe={game_scoped:{user:{create:"/api/usystem/user/create",update:"/api/usystem/user/update"},role:{detail:"/api/usystem/role/infoV2",create:"/api/usystem/role/create",update:"/api/usystem/role/update"}},group_based:{user:{detail:"/api/usystem/user/info",create:"/api/usystem/user/create",update:"/api/usystem/user/update"},role:{detail:"/api/usystem/role/info",create:"/api/usystem/role/createV2",update:"/api/usystem/role/updateV2"}},direct_game:{user:{detail:"/api/usystem/user/info",create:"/api/usystem/user/create",update:"/api/usystem/user/update"},role:{detail:"/api/usystem/role/info",create:"/api/usystem/role/createV2",update:"/api/usystem/role/updateV2"}}};});function nn(){return useQuery({queryKey:T.roles.all,queryFn:()=>F.get("/api/usystem/role/all",{isGlobalMode:true}),select:s=>s.data})}function an(s){let{context:{authMode:e}}=_(),{role:t}=fe[e];return useQuery({queryKey:T.roles.detail(s,e),queryFn:()=>F.get(`${t.detail}?name=${s}`,{isGlobalMode:true}),select:o=>o.data})}function ln(){let s=useQueryClient(),{context:{authMode:e}}=_(),{role:t}=fe[e];return useMutation({mutationKey:T.roles.create(e),mutationFn:({name:o,permissions:r})=>F.post(t.create,{name:o,permissions:r},{isGlobalMode:true}),onSuccess:()=>{s.invalidateQueries({queryKey:T.roles.all});}})}function cn(){let s=useQueryClient(),{context:{authMode:e}}=_(),{role:t}=fe[e];return useMutation({mutationKey:T.roles.update(e),mutationFn:({id:o,name:r,permissions:n})=>F.post(t.update,{id:o,name:r,permissions:n},{isGlobalMode:true}),onSuccess:()=>{s.invalidateQueries({queryKey:T.roles.all});}})}function pn(){let s=useQueryClient();return useMutation({mutationKey:T.roles.delete,mutationFn:({id:e,name:t})=>F.post("/api/usystem/role/delete",{id:e,name:t},{isGlobalMode:true}),onSuccess:()=>{s.invalidateQueries({queryKey:T.roles.all});}})}function mn(){let s=useQueryClient(),{context:{authMode:e}}=_(),{user:t}=fe[e];return useMutation({mutationKey:T.users.create,mutationFn:o=>{let r=a=>"permissions"in a,n=o;if(r(o)&&e==="direct_game"){let a=o.permissions?.map(i=>({game_group:["*"],game_ids:i.game_ids,role:i.role}));n={...o,permissions:a};}return F.post(t.create,n,{isGlobalMode:true})},onSuccess:()=>{s.invalidateQueries({queryKey:T.users.all});}})}function un(){let s=useQueryClient(),e=_(o=>o.context.authMode),{user:t}=fe[e];return useMutation({mutationKey:T.users.update,mutationFn:o=>{let r=a=>"permissions"in a,n=o;if(r(o)&&e==="direct_game"){let a=o.permissions?.map(i=>({game_group:["*"],game_ids:i.game_ids,role:i.role}));n={...o,permissions:a};}return F.post(t.update,n,{isGlobalMode:true})},onSuccess:()=>{s.invalidateQueries({queryKey:T.users.all});}})}function dn(){let s=useQueryClient();return useMutation({mutationKey:T.users.delete,mutationFn:({id:e,name:t})=>F.post("/api/usystem/user/delete",{id:e,name:t},{isGlobalMode:true}),onSuccess:()=>{s.invalidateQueries({queryKey:T.users.all});}})}function fn(){return useQuery({queryKey:T.permissions.allPermissions,queryFn:()=>F.get("/api/usystem/user/allPermssions",{isGlobalMode:true}),select:s=>s.data})}function yn(){return useQuery({queryKey:T.permissions.allPermissionsV2,queryFn:()=>F.get("/api/usystem/user/allPermssionsV2",{isGlobalMode:true}),select:s=>s.data})}var Le=C(()=>{O();ae();Fe();cs();});var T1,Et,fo=C(()=>{V();T1=s=>{let{permissions:e,readonly:t,expand:o,value:r,onChange:n}=s,[a,i]=useState([]),[l,p]=useState({}),[c,d]=useState(r??[]),{t:h}=I(),[,x]=useTransition(),g=f=>{i(f);},u=(f,m)=>{let y=[];return f?y=[...new Set(c.concat(m))]:(y=c.slice(),m.forEach(S=>{let w=y.findIndex(E=>E===S);w>-1&&y.splice(w,1);})),y},P=(f,m)=>{let y=u(f.target.checked,m);d(y),n?.(y);};useEffect(()=>{d(r??[]);},[r]),useEffect(()=>{o&&x(()=>{i((e??[]).map(({category:f})=>f));});},[o,e]),useEffect(()=>{let f=(e??[]).reduce((m,y)=>(m[y.category]=y.permissions.every(S=>Array.isArray(c)?c?.includes(S.value):false),m),{});p(f);},[c,e]);let b=(e??[]).map(f=>({key:f.category,label:f.category,extra:!t&&jsx(Checkbox,{checked:l[f.category],onChange:m=>{P(m,f.permissions?.map(y=>y.value));},children:h("global.selectAll")}),children:jsx(Checkbox.Group,{className:"w-full",value:c,disabled:t,children:jsx(Row,{gutter:[10,10],className:"w-full",children:f.permissions?.map(m=>jsx(Col,{span:6,children:jsx(Checkbox,{value:m.value,onChange:y=>{P(y,[m.value]);},children:m.label})},m.value))})})}));return jsx(Collapse,{className:"w-full",collapsible:"header",activeKey:a,items:b,onChange:g})},Et=T1;});var yo,A1,E1,Pn,Cn=C(()=>{V();Y();Le();fo();(({Text:yo}=Typography)),{Option:A1}=Select,E1=s=>{let{expand:e=true,value:t,readonly:o,onChange:r}=s,{data:n,isLoading:a,error:i}=yn(),{data:l,isLoading:p}=we(),[c,d]=useState([]),h=n?.filter(f=>f.is_common),x=n?.filter(f=>!f.is_common),g=a||p,{t:u}=I();if(useEffect(()=>{let f=[];Object.keys(t??{}).forEach(m=>{m!=="global"&&f.push({gameId:m,permissions:t?.[m]??[]});}),d(f);},[t]),i)return jsx("div",{className:"flex justify-center",children:jsx(yo,{type:"danger",children:u("PermissionList.failedDescription")})});let P=()=>{d(f=>[...f,{gameId:"",permissions:[]}]);},b=f=>{d(m=>m.filter((y,S)=>S!==f));};return jsxs("div",{className:"flex flex-col w-full",children:[jsx("div",{className:"mb-12",children:jsx(Divider,{dashed:true,children:u("PermissionList.baseSectionTitle")})}),jsx(Skeleton,{active:true,loading:g,children:jsx(Et,{value:t?.global,readonly:o,permissions:h,expand:e,onChange:f=>{r?.({...t,global:f});}})}),jsx("div",{className:"my-12",children:jsx(Divider,{dashed:true,children:u("PermissionList.gameSectionTitle")})}),c.map((f,m)=>jsx(Card,{title:jsxs(Space,{children:[jsx(yo,{children:u("global.game")}),o?jsx(yo,{children:l?.find(y=>String(y.id)===f.gameId)?.name}):jsx(Select,{disabled:o,value:c[m].gameId||void 0,className:"w-40",placeholder:u("PermissionList.gameSelectPlaceholder"),onChange:y=>{d(S=>{let w=S.slice();return w[m].gameId=y,w});},children:l?.map(y=>jsx(A1,{value:y.id,disabled:c.some(({gameId:S})=>S===String(y.id)),children:y.name},y.id))})]}),className:"mb-6",extra:!o&&jsx(Button,{type:"link",onClick:()=>{b(m);},children:u("PermissionList.removeText")}),children:c[m].gameId?jsx(Skeleton,{active:true,loading:g,children:jsx(Et,{value:t?.[c[m].gameId],readonly:o,expand:e,permissions:x,onChange:y=>{r?.({...t,[c[m].gameId]:y});}})}):jsx(Empty,{description:u("PermissionList.gameSectionDescription")})},m)),!o&&jsx(Button,{block:true,type:"dashed",onClick:P,children:u("PermissionList.addText")})]})},Pn=E1;});var O1,G1,vn,In=C(()=>{V();Le();fo();(({Text:O1}=Typography)),G1=s=>{let{expand:e=true,value:t,readonly:o,onChange:r}=s,{data:n,isLoading:a,error:i}=fn(),{t:l}=I();return i?jsx("div",{className:"flex justify-center",children:jsx(O1,{type:"danger",children:l("PermissionList.failedDescription")})}):jsx(Skeleton,{active:true,loading:a,children:jsx(Et,{value:t,permissions:n,readonly:o,expand:e,onChange:r})})},vn=G1;});var U1,Vt,ho=C(()=>{O();Cn();In();U1=s=>{let{value:e}=s,{context:{authMode:t}}=_();return t!=="game_scoped"?jsx(vn,{...s,value:e}):jsx(Pn,{...s,value:e})},Vt=U1;});var Dt,Rn=C(()=>{rs();V();ho();Le();Dt=({mode:s,onSuccess:e})=>{let{message:t}=App.useApp(),{t:o}=I(),r=ln(),n=cn(),a=s==="create",i=o(a?"Role.createTitle":"Role.updateTitle"),l=jsxs(Fragment,{children:[jsx(Form.Item,{label:o("global.name"),name:"name",rules:[{required:true}],children:jsx(Input,{disabled:!a,prefix:"role_"})}),jsx(Form.Item,{name:"permissions",children:jsx(Vt,{})})]});return Lt({title:i,width:"1000px",formProps:{layout:"vertical"},content:l,onConfirm:async(c,d)=>{let h=`role_${c.name}`,x=c.permissions;a?(await r.mutateAsync({name:h,permissions:x}),t.success(o("Role.createSuccessfully"))):(await n.mutateAsync({id:d?.id,name:h,permissions:x}),t.success(o("Role.updateSuccessfully"))),e?.();}})};});var go,Ln,Y1,kn,Gt,An=C(()=>{O();rs();ae();V();Fe();Le();(({Text:go}=Typography)),Ln=(s,e)=>{last(s)==="*"?e?.(["*"]):first(s)==="*"?e?.(s.slice(1)):e?.(s);},Y1=s=>{let{onChange:e,...t}=s,{data:o,isLoading:r}=useQuery({queryKey:T.enums.gameGroups,queryFn:()=>F.get("/api/enum/get?enum=game_group&type=all"),select:a=>a.data}),n=[{label:"\u901A\u7528",value:"*"}].concat(o?.map(a=>({label:a,value:a}))??[]);return jsx(Select,{...t,allowClear:true,showSearch:true,mode:"tags",optionFilterProp:"label",loading:r,options:n,onChange:a=>Ln(a,e)})},kn=s=>{let{groups:e,onChange:t,...o}=s,{context:{authMode:r}}=_(),n=r==="group_based",a=r==="direct_game",{data:i,isLoading:l}=useQuery({queryKey:T.enums.gameIds(a?[]:e??[]),queryFn:()=>F.get(`/api/enum/game_group/get_game_ids${a?"":`?game_groups=${e?.join(",")}`}`),select:c=>c.data?.list,enabled:a||n&&!!e?.length}),p=i?.map(c=>({label:c.name,value:c.id}));return jsx(Select,{...o,allowClear:true,showSearch:true,optionFilterProp:"label",mode:"tags",loading:l,options:p,onChange:c=>Ln(c,t)})},Gt=({mode:s,onSuccess:e})=>{let{message:t}=App.useApp(),{t:o}=I(),{data:r,isLoading:n}=nn(),a=mn(),i=un(),l=s==="create",p=o(l?"User.createTitle":"User.updateTitle"),{context:{authMode:c}}=_(),d=c==="group_based",h=c==="game_scoped",x=h?jsxs(Fragment,{children:[jsx(Form.Item,{label:o("global.name"),name:"name",rules:[{required:true}],children:jsx(Input,{disabled:!l})}),jsx(Form.Item,{label:o("global.role"),name:"roles",children:jsx(Select,{allowClear:true,showSearch:true,mode:"multiple",loading:n,optionFilterProp:"label",options:r?.map(u=>({label:u.name,value:u.name}))})})]}):jsxs(Fragment,{children:[jsx(Form.Item,{label:o("global.name"),name:"name",rules:[{required:true}],children:jsx(Input,{disabled:!l})}),jsx(Form.List,{name:"permissions",children:(u,{add:P,remove:b})=>jsxs(Row,{gutter:8,children:[d&&jsx(Col,{span:8,className:"text-center mb-4",children:jsx(go,{strong:true,children:o("global.projectGroup")})}),jsx(Col,{span:d?10:14,className:"text-center mb-4",children:jsx(go,{strong:true,children:o("global.game")})}),jsx(Col,{span:d?6:10,className:"text-center mb-4",children:jsx(go,{strong:true,children:o("global.role")})}),u.map(f=>jsxs(Fragment$1,{children:[d&&jsx(Col,{span:8,children:jsx(Form.Item,{noStyle:true,shouldUpdate:true,children:({setFieldValue:m})=>jsx(Form.Item,{name:[f.name,"game_group"],children:jsx(Y1,{onChange:()=>{m(["permissions",f.name,"game_ids"],[]);}})})})}),jsx(Col,{span:d?10:14,children:d?jsx(Form.Item,{noStyle:true,shouldUpdate:(m,y)=>m.permissions[f.name]?.game_group!==y.permissions[f.name]?.game_group,children:({getFieldValue:m})=>{let y=m(["permissions",f.name,"game_group"]);return jsx(Form.Item,{name:[f.name,"game_ids"],dependencies:[["permissions",f.name,"game_group"]],rules:[{required:!!y?.length,message:"\u8BF7\u9009\u62E9\u6E38\u620F"}],children:jsx(kn,{groups:y})})}}):jsx(Form.Item,{name:[f.name,"game_ids"],rules:[{required:true,message:"\u8BF7\u9009\u62E9\u6E38\u620F"}],children:jsx(kn,{})})}),jsx(Col,{span:d?6:10,children:jsxs("div",{className:"flex",children:[jsx("div",{className:"flex-1",children:jsx(Form.Item,{name:[f.name,"role"],rules:[{required:true,message:"\u8BF7\u9009\u62E9\u89D2\u8272"},({getFieldValue:m})=>({validator(y,S){return (m("permissions")?.filter((N,A)=>!!N&&A!==f.name)??[]).some(N=>N.role===S)?Promise.reject(new Error("\u8BF7\u52FF\u91CD\u590D\u9009\u62E9\u89D2\u8272")):Promise.resolve()}})],children:jsx(Select,{allowClear:true,showSearch:true,optionFilterProp:"label",loading:n,options:r?.map(m=>({label:m.name,value:m.name}))})})}),jsx("div",{className:"w-8 text-center",children:jsx(Form.Item,{children:jsx(MinusCircleOutlined,{onClick:()=>{b(f.name);}})})})]})})]},f.key)),u.length===0&&jsx(Col,{span:24,children:jsx(Empty,{className:"mb-6"})}),jsx(Col,{span:24,children:jsx(Button,{block:true,type:"dashed",onClick:()=>P(),children:o("global.add")})})]})})]});return Lt({title:p,width:h?"600px":"1000px",formProps:{autoComplete:"off",labelCol:{flex:"80px"}},content:x,onConfirm:async(u,P)=>{if(l){let b=h?{name:u.name,roles:u.roles}:{name:u.name,permissions:u.permissions};await a.mutateAsync(b),t.success(o("User.createSuccessfully"));}else {let b=h?{id:P.id,name:u.name,roles:u.roles}:{id:P.id,name:u.name,permissions:u.permissions};await i.mutateAsync(b),t.success(o("User.updateSuccessfully"));}e?.();}})};});var Ut=C(()=>{Rn();An();});var Gn={};Ge(Gn,{default:()=>cp});var fs,ys,lp,cp,Un=C(()=>{Ye();Rt();at();O();V();Ut();Le();fs="user-list",ys={LIST:"100001",CREATE:"100002",UPDATE:"100003",DELETE:"100004"},lp=()=>{let{modal:s,message:e}=App.useApp(),{t}=I(),o=dn(),{refetch:r}=z(),{context:{authMode:n}}=_(),a=n==="game_scoped",{show:i,modal:l}=Gt({mode:"create",onSuccess:()=>{r(fs,{page:1});}}),{show:p,modal:c}=Gt({mode:"update",onSuccess:()=>{r(fs);}}),d=f=>{let{id:m,name:y}=f;s.confirm({title:t("User.deleteTitle"),content:jsx(ze,{texts:[y],children:t("User.deleteContent",{user:y})}),async onOk(){await o.mutateAsync({id:m,name:y}),r(fs),e.success(t("User.deleteSuccessfully"));}});},h=f=>{let{name:m,permissions:y,roles:S,id:w}=f;p({initialValues:{name:m,...n==="group_based"||n==="direct_game"?{permissions:y}:{roles:S}},extraValues:{id:w}});},x=f=>f==="root"?jsx(Tag,{color:"#f50",children:f},f):jsx(Tag,{color:"#ff5a00",children:jsx(Link,{to:`../role/${f}`,children:f})},f),g=(f=[])=>jsx(Row,{gutter:[4,4],children:f.map(m=>jsx(Col,{children:x(m)},m))}),u=(f,m)=>jsxs(Space,{children:[jsx(ee,{size:"small",type:"link",code:ys.UPDATE,config:{isGlobalMode:true},onClick:()=>h(m),children:t("global.update")}),jsx(ee,{danger:true,size:"small",type:"link",code:ys.DELETE,config:{isGlobalMode:true},onClick:()=>d(m),children:t("global.delete")})]}),P=useMemo(()=>[{title:t("global.name"),dataIndex:"name",key:"name",render:(f,m)=>a?f:jsx(Link,{to:`./${m.id}`,children:f})},{title:"ID",dataIndex:"id",key:"id"},a&&{title:t("global.role"),dataIndex:"roles",key:"roles",width:"40%",render:g},{title:t("global.creationTime"),dataIndex:"Ctime",key:"ctime"},{title:t("global.operation"),width:150,align:"center",render:u}].filter(Boolean),[t,a,g,u]),b=f=>({total:f?.data?.Total,items:f?.data?.List});return jsxs(Fragment,{children:[jsx(Card,{title:t("global.user"),extra:jsx(ee,{type:"primary",icon:jsx(UserAddOutlined,{}),code:ys.CREATE,config:{isGlobalMode:true},onClick:()=>i(),children:t("User.createTitle")}),children:jsx(Pe,{identifier:fs,code:ys.LIST,request:{url:"/api/usystem/user/list",method:"GET",isGlobalMode:true},rowKey:"id",columns:P,dataAdapter:b,renderForm:f=>jsx(Form,{form:f,children:jsx(Form.Item,{label:t("global.name"),name:"name",children:jsx(Input,{})})})})}),l,c]})},cp=lp;});var Kn={};Ge(Kn,{default:()=>gp});var hp,gp,Bn=C(()=>{Ye();O();ae();V();Fe();cs();Y();Ut();hp=()=>{let s=useParams(),{t:e}=I(),{context:{useGameApiV2:t,authMode:o}}=_(),r=o==="group_based",{user:n}=fe[o],{data:a,isLoading:i,refetch:l}=useQuery({queryKey:T.users.detail(s.id||""),queryFn:()=>F.get(n.detail,{searchParams:{id:s.id},isGlobalMode:true}),enabled:!!s.id&&!!n.detail,select:g=>g.data}),{data:p}=we(),{data:c}=oe("200005",{isGlobalMode:true}),{show:d,modal:h}=Gt({mode:"update",onSuccess(){l();}}),x=[r&&{key:"group",title:e("global.projectGroup"),dataIndex:"game_group",render(g){return g.map(u=>jsx(Tag,{children:u==="*"?"\u901A\u7528":u},u))}},{key:"game",title:e("global.game"),dataIndex:"game_ids",render(g){return g.map(u=>{let P=p?.find(b=>String(t?b.game_id:b.id)===u);return jsx(Tag,{children:P?.name??(u==="*"?"\u901A\u7528":u)},u)})}},{key:"role",title:e("global.role"),dataIndex:"role",render(g){return c?jsx(Link,{to:`../../role/${g}`,relative:"path",children:g}):g}}].filter(Boolean);return jsxs(Fragment,{children:[jsx(Breadcrumb,{className:"mb-6",items:[{key:"1",title:jsx(Link,{to:"..",relative:"path",children:e("global.user")})},{key:"2",title:"\u7528\u6237\u8BE6\u60C5"}]}),jsx(Card,{title:"\u7528\u6237\u8BE6\u60C5",loading:i,extra:jsx(ee,{code:"100003",config:{isGlobalMode:true},onClick:()=>{d({initialValues:{name:a?.name,permissions:a?.permissions},extraValues:{id:a.id}});},children:e("global.update")}),children:jsxs(Descriptions,{bordered:true,column:1,children:[jsx(Descriptions.Item,{label:e("global.name"),children:a?.name}),jsx(Descriptions.Item,{label:"ID",children:a?.id}),jsx(Descriptions.Item,{label:e("global.role"),children:jsx(Table,{rowKey:"role",columns:x,dataSource:a?.permissions,pagination:false})})]})}),h]})},gp=hp;});var Wn={};Ge(Wn,{default:()=>_p});var Ip,_p,jn=C(()=>{Ye();Rt();at();O();ae();V();Y();cs();Ut();Le();Ip=()=>{let{modal:s,message:e}=App.useApp(),{data:t}=oe("200005",{isGlobalMode:true}),{t:o}=I(),{refetch:r}=z(),{context:{authMode:n}}=_(),{show:a,modal:i}=Dt({mode:"create",onSuccess(){r("role-list",{page:1});}}),{show:l,modal:p}=Dt({mode:"update",onSuccess(){r("role-list");}}),c=pn(),d=async x=>{let g=fe[n].role,u=await F.get(g.detail,{searchParams:{name:x.name},isGlobalMode:true});l({initialValues:{permissions:u.data?.permissions,name:u.data?.name.replace(/^role_/,"")},extraValues:{id:u.data?.id}});},h=[{title:o("global.name"),key:"name",render(x){return t?jsx(Link,{to:`${x.name}`,relative:"path",children:x.name}):jsx(Fragment,{children:x.name})}},{title:"ID",dataIndex:"id",key:"id"},{title:o("global.creationTime"),dataIndex:"ctime",key:"ctime"},{title:o("global.operation"),width:150,align:"center",render:(x,g)=>jsxs(Space,{size:"small",children:[jsx(ee,{code:"200003",size:"small",type:"link",config:{isGlobalMode:true},onClick:async()=>{d(g);},children:o("global.update")}),jsx(ee,{danger:true,code:"200004",size:"small",type:"link",config:{isGlobalMode:true},onClick:()=>{s.confirm({title:o("Role.deleteTitle"),content:jsx(ze,{texts:[g.name],children:o("Role.deleteContent",{role:g.name})}),async onOk(){await c.mutateAsync({id:g.id,name:g.name}),r("role-list"),e.success(o("Role.deleteSuccessfully"));}});},children:o("global.delete")})]})}];return jsxs(Fragment,{children:[jsx(Card,{title:o("global.role"),extra:jsx(ee,{type:"primary",code:"200002",icon:jsx(UsergroupAddOutlined,{}),config:{isGlobalMode:true},onClick:()=>{a();},children:o("Role.createTitle")}),children:jsx(Pe,{identifier:"role-list",rowKey:"name",columns:h,code:"200001",request:{url:"/api/usystem/role/list",method:"GET",isGlobalMode:true},dataAdapter:x=>({total:x?.data?.Total,items:x?.data?.List})})}),i,p]})},_p=Ip;});var $n=C(()=>{ho();});var Jn={};Ge(Jn,{default:()=>Ap});var Lp,Ap,Zn=C(()=>{Ye();V();$n();Ut();Le();Lp=()=>{let s=useParams(),{t:e}=I(),{data:t,isLoading:o,refetch:r}=an(s.name),{show:n,modal:a}=Dt({mode:"update",onSuccess(){r();}}),i=async()=>{n({initialValues:{permissions:t?.permissions,name:t?.name.replace(/^role_/,"")},extraValues:{id:t.id}});};return jsxs(Fragment,{children:[jsx(Breadcrumb,{className:"mb-6",items:[{key:"1",title:jsx(Link,{to:"..",relative:"path",children:e("global.role")})},{key:"2",title:e("RoleDetail.title")}]}),jsx(Card,{title:e("RoleDetail.title"),extra:jsx(ee,{code:"200003",config:{isGlobalMode:true},onClick:i,children:e("global.update")}),children:jsxs(Skeleton,{loading:o,children:[jsxs(Descriptions,{column:2,layout:"vertical",className:"mb-6",children:[jsx(Descriptions.Item,{label:e("global.name"),children:t?.name}),jsx(Descriptions.Item,{label:"ID",children:t?.id}),jsx(Descriptions.Item,{label:e("global.creationTime"),children:t?.ctime})]}),jsx(Divider,{}),jsx(Vt,{readonly:true,value:t?.permissions})]})}),a]})},Ap=Lp;});Ye();V();var Ia=s=>{let{initialTags:e,addable:t,removable:o,addCallback:r,removeCallback:n}=s,{t:a}=I(),{token:i}=theme.useToken(),[l,p]=useState([]),[c,d]=useState(false),[h,x]=useState(""),[g,u]=useState(-1),[P,b]=useState(""),f=useRef(null),m=useRef(null);useEffect(()=>{p(e??[]);},[e]),useEffect(()=>{c&&f.current?.focus();},[c]),useEffect(()=>{m.current?.focus();},[h]);let y=async L=>{if(await n?.(L)){let Q=l.filter(ye=>ye!==L);p(Q);}},S=()=>{d(true);},w=L=>{x(L.target.value);},E=async()=>{h&&l.indexOf(h)===-1&&await r?.(h)&&p([...l,h]),d(false),x("");},N=L=>{b(L.target.value);},A=()=>{let L=[...l];L[g]=P,p(L),u(-1),x("");};return jsxs(Space,{wrap:true,size:[0,8],children:[jsx(Space,{wrap:true,size:[0,8],children:l.map((L,q)=>g===q?jsx(Input,{ref:m,size:"small",className:"w-[78px] align-top",value:P,onChange:N,onBlur:A,onPressEnter:A},L):jsx(Tag,{closable:o,className:"select-none",onClose:async Q=>{Q.preventDefault(),await y(L);},children:jsx("span",{onDoubleClick:Q=>{q!==0&&(u(q),b(L),Q.preventDefault());},children:L})},L))}),t&&(c?jsx(Input,{ref:f,type:"text",size:"small",className:"w-[78px] align-top",value:h,onChange:w,onBlur:E,onPressEnter:E}):jsxs(Tag,{className:"border-dashed",style:{background:i.colorBgContainer},onClick:S,children:[jsx(PlusOutlined,{}),"\xA0",a("global.add")]}))]})},_a=Ia;var Ma=s=>{let{children:e,...t}=s,[o,r]=useState(false);return jsx(Typography.Paragraph,{...t,className:"mb-0",ellipsis:{rows:2,expandable:"collapsible",expanded:o,onExpand:(n,a)=>{r(a.expanded);}},children:e})},$t=Ma;Jt();Rt();var Zt=class{constructor(e=10){W(this,"cache");W(this,"maxSize");W(this,"listeners");W(this,"snapshot");this.cache=new Map,this.maxSize=e,this.listeners=new Set,this.snapshot=new Map;}subscribe(e){return this.listeners.add(e),()=>{this.listeners.delete(e);}}notify(){this.snapshot=new Map(this.entries()),this.listeners.forEach(e=>e());}getSnapshot(){return this.snapshot.size===0&&this.cache.size>0&&(this.snapshot=new Map(this.entries())),this.snapshot}get(e){let t=this.cache.get(e);if(t)return this.cache.set(e,{...t,timestamp:Date.now()}),t.value}set(e,t){let o=this.cache.has(e),r=o?this.cache.get(e):null;if(o&&r){r.value!==t?(this.cache.set(e,{value:t,timestamp:Date.now()}),this.notify()):this.cache.set(e,{...r,timestamp:Date.now()});return}this.cache.size>=this.maxSize&&this.evictOldest(),this.cache.set(e,{value:t,timestamp:Date.now()}),this.notify();}delete(e){let t=this.cache.delete(e);return t&&this.notify(),t}has(e){return this.cache.has(e)}clear(){this.cache.size>0&&(this.cache.clear(),this.notify());}get size(){return this.cache.size}keys(){return this.cache.keys()}entries(){let e=[];for(let[t,o]of this.cache.entries())e.push([t,o.value]);return e[Symbol.iterator]()}entriesWithMetadata(){return this.cache.entries()}evictOldest(){if(this.cache.size===0)return;let e=null,t=1/0;for(let[o,r]of this.cache.entries())r.timestamp<t&&(t=r.timestamp,e=o);e!==null&&this.cache.delete(e);}};var $o=createContext(null),Wa=({children:s,maxCache:e=10,clearOnUnmount:t=false})=>{let o=useRef(new Zt(e)),r=useSyncExternalStore(h=>o.current.subscribe(h),()=>o.current.getSnapshot()),n=(h,x)=>{let g=o.current.get(h);if(g){if(!g.active){let u={element:g.element,active:true,timestamp:Date.now()};o.current.set(h,u);}}else {let u={element:x,active:true,timestamp:Date.now()};o.current.set(h,u);}},a=h=>{o.current.delete(h);},i=()=>{o.current.clear();},l=h=>{let x=o.current.get(h);if(x&&!x.active){let g={...x,active:true,timestamp:Date.now()};o.current.set(h,g);}},p=h=>{let x=o.current.get(h);if(x&&x.active){let g={...x,active:false};o.current.set(h,g);}},c=h=>o.current.get(h);useEffect(()=>{if(t)return ()=>{i();}},[t,i]);let d={cache:r,addCache:n,removeCache:a,clearCache:i,activateCache:l,deactivateCache:p,getCache:c};return jsx($o.Provider,{value:d,children:s})};function Ke(){let s=useContext($o);if(!s)throw new Error("useKeepAliveContext must be used within KeepAliveProvider");return s}var Ya=({cacheKey:s,children:e,disabled:t=false,getCacheKey:o})=>{let r=useLocation(),{addCache:n,activateCache:a,deactivateCache:i,getCache:l}=Ke(),p=useRef(e),c=s||o?.(r)||`${r.pathname}${r.search}`;if(p.current=e,useEffect(()=>t?void 0:(l(c)?a(c):n(c,p.current),()=>{i(c);}),[c,t,n,a,i,l]),t)return jsx(Fragment,{children:e});let d=l(c),h=d&&d.active?d.element:e;return jsx("div",{"data-cache-key":c,children:jsx(Activity,{mode:d&&!d.active?"hidden":"visible",children:h})})};var Zo=createContext(0),Xo=({children:s,cacheKey:e,isActive:t,duration:o,enabled:r})=>{let[n,a]=useState(false),i=useRef(void 0),l=useRef(null),p=useRef(false);return useEffect(()=>{if(!r){a(false),p.current=t,l.current=e;return}i.current!==void 0&&clearTimeout(i.current);let c=l.current!==e,d=!p.current&&t;return (c||d)&&t?(a(true),i.current=setTimeout(()=>{a(false);},o)):p.current&&!t&&a(false),p.current=t,l.current=e,()=>{i.current!==void 0&&clearTimeout(i.current);}},[e,t,o,r]),r?jsxs("div",{style:{position:"relative",width:"100%",height:"100%",display:t||n?"block":"none"},children:[n&&jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:"rgba(255, 255, 255, 0.8)",zIndex:1e3},children:jsx(Spin,{size:"large"})}),jsx("div",{style:{width:"100%",height:"100%"},children:s})]}):jsx(Fragment,{children:s})},li=({disabled:s=false,cacheKeyPrefix:e,enableTransition:t=true,transitionDuration:o=200})=>{let r=useLocation(),n=useOutlet(),a=useMatches(),l=useContext(Zo)+1,{cache:p,addCache:c,activateCache:d,deactivateCache:h,getCache:x}=Ke(),g=useRef(n),u=useRef(null);g.current=n;let b=(()=>{if(e)return `${e}:${r.pathname}${r.search}`;let S=a[a.length-1]?.pathname||r.pathname;return `level-${l}:${S}${r.search}`})();useEffect(()=>{if(s||!g.current||u.current===b)return;let y=u.current;if(u.current=b,y){let w=x(y);w&&w.active&&h(y);}x(b)?d(b):c(b,g.current),Array.from(p.entries()).forEach(([w,E])=>{if(w===b||!E.active)return;let N=false;e?N=w.startsWith(`${e}:`):N=w.startsWith(`level-${l}:`),N&&h(w);});},[b,s,c,d,h,x,l,e,p.size]);let f=x(b),m=Array.from(p.entries()).filter(([y])=>e?y.startsWith(`${e}:`):y.startsWith(`level-${l}:`));return s?jsx(Fragment,{children:n}):jsxs(Zo.Provider,{value:l,children:[m.map(([y,S])=>jsx(Xo,{cacheKey:y,isActive:S.active,duration:o,enabled:t,children:jsx("div",{"data-cache-key":y,children:jsx(Activity,{mode:S.active?"visible":"hidden",children:S.element})})},y)),!f&&n&&jsx(Xo,{cacheKey:b,isActive:true,duration:o,enabled:t,children:jsx("div",{"data-cache-key":b,children:jsx(Activity,{mode:"visible",children:n})})})]})};function Ls(){let{cache:s,removeCache:e,clearCache:t,getCache:o,activateCache:r,deactivateCache:n}=Ke();return {cache:s,removeCache:e,clearCache:t,clearCacheByPath:c=>{let d=c.endsWith("/")&&c!=="/"?c.slice(0,-1):c,h=[];s.forEach((x,g)=>{let u=g.split("?")[0],P=u.endsWith("/")&&u!=="/"?u.slice(0,-1):u;(P===d||P.startsWith(`${d}/`))&&h.push(g);}),h.forEach(x=>e(x));},clearCurrentCache:()=>{let c=[];s.forEach((d,h)=>{d.active&&c.push(h);}),c.forEach(d=>e(d));},getCacheKeys:()=>Array.from(s.keys()),getAllCache:()=>Array.from(s.entries()),getCache:o,activateCache:r,deactivateCache:n}}O();V();Y();var mi=({children:s})=>{let{context:{gameScoped:e},game:{appId:t}}=_(),{isLoading:o}=we(),{t:r}=I();return e?o?jsx("div",{className:"flex justify-center items-center h-[400px]",children:jsx(Spin,{})}):t?jsx(Fragment$1,{children:s},t):jsx(Empty,{image:Empty.PRESENTED_IMAGE_SIMPLE,description:r("RequireGame.description")}):jsx(Fragment,{children:s})},As=mi;O();O();V();var xi=()=>{let{t:s}=I(),e=useNavigate(),{token:{user:t},context:{loginPath:o},clear:r}=_(),n=()=>{r(),e(o);},a=p=>{(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),n());},i=p=>{(p.key==="Enter"||p.key===" ")&&p.preventDefault();},l=[{key:"1",icon:jsx(LogoutOutlined,{}),label:jsx("a",{role:"button",tabIndex:0,onClick:n,onKeyDown:a,children:s("UserDropdown.signOutText")})}];return jsx("div",{children:jsx(Dropdown,{menu:{selectable:true,items:l},placement:"bottomRight",children:jsx("a",{role:"button",tabIndex:0,onClick:p=>{p.preventDefault();},onKeyDown:i,children:jsxs(Space,{align:"center",children:[jsx("span",{children:t?.authorityId}),jsx(UserOutlined,{className:"text-base"})]})})})})},Es=xi;O();V();Y();var Ti=s=>{let{filter:e,options:t,onChange:o}=s,{t:r}=I(),{context:{useGameApiV2:n},game:{appId:a,setAppId:i}}=_(),{data:l,isLoading:p}=we(),c=useQueryClient(),d=Ls(),h=useRef(false),x=useMemo(()=>{let u=e?l?.filter(P=>e(P)):l;return t?t(u):u?.map(P=>({label:P.name,value:String(n?P.game_id:P.id)}))},[l,e,t,n]);useEffect(()=>{h.current&&(h.current=false,c.invalidateQueries({predicate:u=>!u.queryKey.includes("/api/game/list")&&!u.queryKey.includes("/api/usystem/game/all")}));},[a,c]);let g=u=>{h.current=true,d.clearCache(),i(u),o?.(u);};return useEffect(()=>{if(p||!x)return;a&&x.some(P=>String(P.value)===String(a))||i(x[0]?.value);},[x,p,a,i]),jsxs(Space,{children:[jsx(Typography.Text,{children:r("GameSelect.label")}),jsx(Select,{showSearch:{optionFilterProp:"label"},value:a!=null?String(a):void 0,placeholder:r("GameSelect.placeholder"),loading:p,className:"w-[250px]",options:x,onChange:g})]})},nr=Ti;var ar="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAydpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDcuMS1jMDAwIDc5LmIwZjhiZTkwLCAyMDIxLzEyLzE1LTIxOjI1OjE1ICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0a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EJgeh7+Pem9lkyCQv79Uja9BT4jJf7F2CADFBoClgsCcOLw/6vCo1Q0ZIDO3VI0Vzy/FxP+QdggAAsCTg8CsOBwd9faotQ0dYMSla/d/pnnG714pAoAAsBxBIH0dcHDUO6O2M4SAUfrMj0r3Rvly1KmW+gUAAWDFw8AL4nBI1IFRMw0nYEilm/WMR309Jv0/awcCQPeCwLSqcbfBV0XtE7WxoQUMWLpT3+lRJ8ek/yvtQADofRhIf3y6uuCeUXtE7Ra1jqEG9NgNUemup+dFnR2T/g1aggAw2ECQLpG8VTMU7BC1fdRfRW0aNcUQBCbp4apxXf50d9MrmnVpTPg3aQ0CwOisFKxZNX5amGrVZqXAkC5HXDM8oVhpc96jUYuqxh34FjYn/gV+qkfWAQAAGB2raAEACAAAgAAAAAgAAIAAAAAIAACAAAAACAAAgAAAAAgAAIAAAAAIAACAAAAACAAAgAAAAAgAAIAAAAAIAAAgAAAAAgAAIAAAAAIAACAAAAACAAAgAAAAAgAAIAAAAAIAACAAAAACAAAgAAAAAgAAIAAAAAIAALDEfwswAA5KTWf4M/tRAAAAAElFTkSuQmCC";var ki=s=>jsx("img",{src:ar,alt:"logo",...s}),Ft=ki;O();O();function st(){let{context:{sidebarCollapsible:s},layout:{collapsed:e}}=_();return s?e:false}var ot="all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)",lr=memo(({title:s,subtitle:e,titleStyle:t})=>{let{context:{homePath:o}}=_(),{token:{colorPrimary:r}}=theme.useToken(),n=st();return jsxs("div",{className:"px-6 py-2 font-bold relative bg-linear-to-r from-white to-gray-50/30 h-auto flex flex-col justify-center backdrop-blur-sm",children:[jsxs("div",{className:`flex items-center w-full ${n?"justify-center":""}`,children:[jsx(Link,{to:o,className:"transition-all duration-300 ease-out block rounded-lg p-1 shrink-0",style:{transition:ot,opacity:n?.8:1},children:jsx(Ft,{width:36,className:"object-contain block",style:{transition:ot,height:36}})}),s&&jsx("div",{className:"ml overflow-hidden min-w-0",style:{transition:ot,opacity:n?0:1,width:n?"0px":"auto",marginLeft:n?"0px":"2px",transform:n?"translateX(-8px)":"translateX(0)"},children:jsx(Link,{to:o,className:"text-xl leading-tight transition-all duration-300 font-bold text-ellipsis overflow-hidden whitespace-nowrap block",title:s,style:{color:r,textShadow:"0 1px 2px rgba(0, 0, 0, 0.05)",...t??{}},children:s})})]}),jsx("div",{className:"w-full mt-2 overflow-hidden",style:{height:e&&!n?"20px":"1px",transition:ot},children:jsxs("div",{className:"flex items-center justify-center h-full w-full",children:[jsx("div",{className:"w-full border-t border-gray-200 absolute",style:{top:64,opacity:!e||n?1:0,transition:ot}}),e&&jsxs("div",{className:"flex items-center w-full text-sm",style:{opacity:n?0:1,transform:n?"translateY(-3px)":"translateY(0)",transition:ot},children:[jsx("div",{className:"flex-1 border-t border-gray-200"}),jsx("span",{className:"px-3 text-gray-500 font-medium whitespace-nowrap",title:e,children:e}),jsx("div",{className:"flex-1 border-t border-gray-200"})]})]})})]})});lr.displayName="LayoutHeader";var cr=lr;O();var Oi=s=>jsx(Link,{to:s.to,children:s.children});function pr(s,e){return e||(typeof s=="string"?s:String(s||""))}function Yt(s){return s?s.map(e=>{if(isNil(e)||e.type==="divider")return e;let t=e;if(t.children){let{children:p,label:c,...d}=t;return e.type==="group"?{...d,label:c,children:Yt(p)}:{...d,label:c,title:pr(c,e.title),children:Yt(p)}}let o=e,{route:r,label:n,title:a,...i}=o;return {...i,label:r?jsx(Oi,{to:r,children:n}):n,title:pr(n,a)}}):[]}function Vs(s,e=[],t=[],o){return compact(s).forEach(r=>{let a=r.children;if(isArray(a)&&a.length>0){let i=r.type==="group",l=i&&r.key?r.key:o,p=!i&&r.key?[...t,r.key]:t;Vs(a,e,p,l);}else e.push({...r,keypath:t,groupKey:o});}),e}var Qi=(s,e)=>{if(!e)return false;if(e==="*")return true;if(e.endsWith("*")){let t=e.slice(0,-1);return s.startsWith(t)}return matchPath({path:e,end:true},s)!==null},Hi=s=>{let{items:e=[],loading:t,theme:o}=s,r=useLocation(),{nav:{openKeys:n,selectedKeys:a,setOpenKeys:i,setSelectedKeys:l}}=_(),p=st(),c=Vs(e),d=Yt(e),h=useRef(void 0),x=useRef(void 0);return useEffect(()=>{let g=r.pathname,u=h.current,P=x.current,b=u===void 0||u!==g,f=!!P&&!p,m=find(c,N=>Qi(g,N.route));if(!m){h.current=g,x.current=p;return}let{key:y,keypath:S,groupKey:w}=m,E=[];if(b&&a[0]!==y&&l([y]),b||f){let N=difference(S||[],n);E.push(...N);}f&&w&&!n.includes(w)&&E.push(w),E.length>0&&i([...n,...E]),h.current=g,x.current=p;},[r.pathname,p,c,n,a,i,l]),t?jsx("div",{className:"flex justify-center items-center h-[calc(100vh-64px)]",children:jsx(Spin,{})}):jsx(Menu,{theme:o,className:"border-r-0",items:d,mode:"inline",openKeys:n,selectedKeys:a,inlineCollapsed:p,onOpenChange:i,onSelect:({selectedKeys:g})=>{l(g);}})},dr=Hi;var {Header:tl,Sider:sl,Content:ol}=Layout,rl=64,nl=(s,e)=>e instanceof RegExp?e.test(s):matchPath(e,s)!==null,al=s=>{let{title:e,titleStyle:t,subtitle:o,navigation:r,gameSelect:n,headerExtra:a,children:i}=s,l=useLocation(),{token:{colorBgContainer:p,colorBorder:c}}=theme.useToken(),{context:{sidebarWidth:d,sidebarCollapsible:h,gameScoped:x},layout:{toggleCollapsed:g}}=_(),u=st(),P=n?.hideOnRoutes&&n.hideOnRoutes.length>0?n.hideOnRoutes.some(f=>nl(l.pathname,f)):false,b=!P&&x;return jsxs(Layout,{children:[jsxs(sl,{collapsible:h,theme:"light",trigger:null,collapsed:u,width:d,className:"h-screen overflow-x-hidden overflow-y-auto border-r",style:{borderColor:c},children:[jsx(cr,{title:e,subtitle:o,titleStyle:t}),jsx(dr,{items:r?.items,loading:r?.loading})]}),jsxs(Layout,{children:[jsx(tl,{style:{background:p,paddingLeft:16},children:jsxs("div",{className:"flex justify-between items-center h-full",children:[jsxs(Space,{size:"small",className:"mr-6",separator:jsx(Divider,{orientation:"vertical"}),children:[h&&jsx(Button,{type:"text",icon:u?jsx(MenuUnfoldOutlined,{}):jsx(MenuFoldOutlined,{}),className:"text-base",onClick:g}),b&&jsx(nr,{filter:n?.filter,options:n?.options,onChange:n?.onChange}),a?.left?.map(f=>jsx("span",{children:f.children},f.key))]}),jsxs(Space,{size:"small",separator:jsx(Divider,{orientation:"vertical"}),children:[a?.right?.map(f=>jsx("span",{children:f.children},f.key)),jsx(Es,{})]})]})}),jsx(ol,{className:"overflow-auto px-4 py-6",style:{maxHeight:`calc(100vh - ${rl}px)`},children:jsx(Suspense,{fallback:jsx("div",{className:"flex justify-center items-center h-[200px]",children:jsx(Spin,{})}),children:P?i:jsx(As,{children:i})})})]})]})},il=al;at();V();Y();var Xl=s=>{let{code:e,config:t,redirectPath:o="/",children:r}=s,{data:n,isLoading:a}=oe(e,t),{t:i}=I(),l=useNavigate();return a?jsx("div",{className:"flex justify-center items-center h-[200px]",children:jsx(Spin,{})}):n?jsx(Fragment,{children:r}):jsx(Result,{status:"403",subTitle:i("global.noEntitlement"),extra:jsx(Button,{type:"primary",onClick:()=>l(o),children:i("global.back")})})},Yl=Xl;var oc="_select_all_value_";function Mr(s){if(!s)return [];let e=[];for(let t of s)if(t){if("options"in t&&Array.isArray(t.options)){e.push(...Mr(t.options));continue}"value"in t&&(typeof t.value=="string"||typeof t.value=="number")&&e.push({label:t.label??t.children,value:t.value,disabled:!!t.disabled});}return e}var rc=s=>{let{options:e,value:t,onChange:o,mode:r="multiple",allLabel:n="\u5168\u9009",allValue:a=oc,includeDisabledInAll:i=false,...l}=s,p=Mr(e),c=uniq((i?p:p.filter(u=>!u.disabled)).map(u=>u.value)),d=(()=>{if(!t||t.length===0||c.length===0)return false;let u=new Set(t);return c.every(P=>u.has(P))})(),h=[{label:n,value:a,disabled:c.length===0},...e];return jsx(Select,{...l,mode:r,options:h,value:t??[],onChange:(u,P)=>{let b=Array.isArray(u)?u:[],f=b.includes(a),m=b.filter(y=>y!==a);if(f&&!d){o?.(c,P);return}if(f&&d){o?.([],P);return}o?.(m,P);}})},nc=rc;O();Ne();qe();qe();var js=null;function $s(){return js||(js=create()(vt())),js()}function Zs(s){let{content:e,onConfirm:t,afterOpen:o,afterClose:r,footer:n,confirmText:a="\u786E\u8BA4",cancelText:i="\u53D6\u6D88",confirmButtonProps:l,cancelButtonProps:p,...c}=s,[d]=useState(()=>It()),{show:h,hide:x,isOpen:g,cleanup:u}=$s(),[P,b]=useState(false);useEffect(()=>()=>u(d),[d,u]);let f=g(d),m=async()=>{h(d),await o?.();},y=()=>{x(d);},S=async()=>{y(),await r?.();},w=async()=>{try{b(!0),await t?.();}catch(q){throw console.error("Drawer confirm error:",q),q}finally{b(false);}},N=typeof e=="function"?e({hide:y}):e,A=n!==void 0?n:jsxs("div",{className:"flex gap-4 mx-4",children:[jsx(Button,{type:"primary",loading:P,...l,onClick:w,children:a}),jsx(Button,{...p,onClick:S,children:i})]}),L=jsx(Drawer,{...c,open:f,footer:A,onClose:S,children:N});return {id:d,show:m,hide:y,confirmLoading:P,drawer:L}}function uc(s){let{content:e,form:t,formProps:o,onConfirm:r,onSuccess:n,afterClose:a,...i}=s,[l,p]=useState({}),[c]=Form.useForm(t),d=async()=>{let m=await c.validateFields();await r?.(m,l),n?.();},h=()=>{p({}),a?.(c);},x=m=>{let y=typeof e=="function"?e(l,m):e;return jsx(Form,{...o,form:c,children:y})},{id:g,show:u,hide:P,drawer:b}=Zs({...i,content:x,onConfirm:d,afterClose:h});return {id:g,show:m=>{m?.extraValues!==void 0&&p(m.extraValues),m?.initialValues&&c.setFieldsValue(m.initialValues),u();},hide:P,drawer:b}}rs();V();var vc=s=>{let{redirectUrl:e}=s,t=useNavigate(),{t:o}=I();return jsx("div",{className:"text-center",children:jsx(Result,{status:"404",title:"404",subTitle:o("NotFound.subTitle"),extra:e&&jsx(Button,{type:"primary",onClick:()=>{t(e);},children:o("NotFound.buttonText")})})})},Ic=vc;at();V();var {Option:Vr}=Select,Rc=()=>{let{t:s}=I(),e=[{key:"username",title:s("global.username"),dataIndex:"uname",width:100},{key:"label",title:s("global.label"),dataIndex:"label",width:150},{key:"method",title:s("global.method"),dataIndex:"method",width:100},{key:"route",title:s("global.route"),dataIndex:"route",width:200},{key:"request",title:s("global.request"),dataIndex:"request",render(t){return jsx($t,{children:t})}},{key:"response",title:s("global.response"),dataIndex:"response",render(t){return jsx($t,{children:t})}},{key:"creation_time",title:s("global.creationTime"),dataIndex:"ctime",width:200,render(t){return Tc(t).format("YYYY-MM-DD HH:mm:ss")}}];return jsx(Card,{title:"\u64CD\u4F5C\u65E5\u5FD7",children:jsx(Pe,{identifier:"operation-log-list",rowKey:"id",code:"300001",columns:e,tableLayout:"fixed",request:{url:"/api/usystem/log/list",method:"GET",isGlobalMode:true},dataAdapter:t=>({total:t?.data?.Total,items:t?.data?.List}),renderForm:t=>jsxs(Form,{form:t,layout:"inline",children:[jsx(Form.Item,{label:s("global.username"),name:"uname",children:jsx(Input,{allowClear:true})}),jsx(Form.Item,{label:s("global.route"),name:"route",children:jsx(Input,{allowClear:true})}),jsx(Form.Item,{label:s("global.method"),name:"method",children:jsxs(Select,{allowClear:true,className:"w-[100px]",children:[jsx(Vr,{value:"get",children:"GET"}),jsx(Vr,{value:"post",children:"POST"})]})}),jsx(Form.Item,{label:s("global.label"),name:"label",children:jsx(Input,{allowClear:true})})]})})})},Mc=Rc;O();Ne();V();var Gr='data:image/svg+xml,<svg xml:space="preserve" style="enable-background:new 0 0 6000 4000;" viewBox="0 0 6000 4000" y="0px" x="0px" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" id="Layer_1" version="1.1">%0A<style type="text/css">%0A%09.Graphic_x0020_Style_x0020_100{fill:%23FFFFFF;}%0A%09.Graphic_x0020_Style_x0020_101{fill:url(%23SVGID_1_);}%0A%09.Graphic_x0020_Style_x0020_102{fill:url(%23SVGID_2_);}%0A%09.Graphic_x0020_Style_x0020_104{fill:%23DB6767;}%0A%09.Graphic_x0020_Style_x0020_105{fill:%23FFDE70;}%0A%09.Graphic_x0020_Style_x0020_106{fill:%23FFB114;}%0A%09.Graphic_x0020_Style_x0020_107{fill:%236584C6;}%0A%09.Graphic_x0020_Style_x0020_108{fill:%23102140;}%0A%09.Graphic_x0020_Style_x0020_109{fill:%233B546B;}%0A%09.Graphic_x0020_Style_x0020_110{fill:%23152A52;}%0A%09.Graphic_x0020_Style_x0020_111{fill:%23E8766F;}%0A%09.Graphic_x0020_Style_x0020_112{fill:%23EF5668;}%0A%09.Graphic_x0020_Style_x0020_113{fill:%23FC9590;}%0A%09.Graphic_x0020_Style_x0020_114{fill:%23912433;}%0A%09.Graphic_x0020_Style_x0020_115{opacity:0.5;fill:%23FFFFFF;}%0A%09.Graphic_x0020_Style_x0020_116{fill:%231A1A1A;}%0A%09.Graphic_x0020_Style_x0020_117{fill:%23535353;}%0A%09.Graphic_x0020_Style_x0020_118{fill:%23DBD2DB;}%0A%09.Graphic_x0020_Style_x0020_119{fill:%234D73C6;}%0A%09.Graphic_x0020_Style_x0020_120{fill:%23D1334A;}%0A%09.Graphic_x0020_Style_x0020_123{fill:url(%23SVGID_3_);}%0A%09.st0{fill:url(%23SVGID_4_);}%0A%09.st1{fill:url(%23SVGID_5_);}%0A%09.st2{fill:url(%23SVGID_6_);}%0A%09.st3{fill:%239D8A9D;}%0A%09.st4{fill:url(%23SVGID_7_);}%0A%09.st5{fill:url(%23SVGID_8_);}%0A%09.st6{fill:%233B546B;}%0A%09.st7{fill:%23A8A1A8;}%0A%09.st8{fill:%23DBD2DB;}%0A%09.st9{fill:%23FFFFFF;stroke:%231A1A1A;stroke-width:5.3432;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}%0A%09.st10{fill:%23339E7E;}%0A%09.st11{fill:none;stroke:%2310663F;stroke-width:5.3432;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}%0A%09.st12{fill:%2300593B;}%0A%09.st13{fill:none;stroke:%233DBE88;stroke-width:5.3432;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}%0A%09.st14{fill:none;stroke:%23134411;stroke-width:8.0149;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}%0A%09.st15{fill:%23EF5668;}%0A%09.st16{fill:%23FC9590;}%0A%09.st17{fill:%23102140;}%0A%09.st18{fill:%23DB6767;}%0A%09.st19{fill:%231A1A1A;stroke:%231A1A1A;stroke-width:5.3432;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;}%0A%09.st20{fill:%23FFFFFF;}%0A%09.st21{fill:%23535353;}%0A%09.st22{fill:%23F9EBF9;}%0A%09.st23{fill:%23D896D8;}%0A%09.st24{fill:%238E3D8E;}%0A%09.st25{fill:%23CA74CA;}%0A%09.st26{fill:%23D590D5;}%0A%09.st27{fill:%23160A16;}%0A%09.st28{fill:%23384A6E;}%0A%09.st29{fill:%23B7C0D4;}%0A%09.st30{fill:%23E8766F;}%0A%09.st31{fill:%23FFB114;}%0A%09.st32{fill:%23FFDE70;}%0A%09.st33{fill:%23434343;}%0A%09.st34{fill:%23664708;}%0A%09.st35{fill:%23D9D9D9;}%0A%09.st36{fill:url(%23SVGID_9_);}%0A%09.st37{fill:url(%23SVGID_10_);}%0A%09.st38{fill:url(%23SVGID_11_);}%0A%09.st39{fill:url(%23SVGID_12_);}%0A</style>%0A<linearGradient y2="0" x2="1" y1="0" x1="0" gradientUnits="userSpaceOnUse" id="SVGID_1_">%0A%09<stop style="stop-color:%234085F0" offset="0"></stop>%0A%09<stop style="stop-color:%23275DC9" offset="1"></stop>%0A</linearGradient>%0A<linearGradient y2="0" x2="1" y1="0" x1="0" gradientUnits="userSpaceOnUse" id="SVGID_2_">%0A%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09<stop style="stop-color:%23529BF7" offset="1"></stop>%0A</linearGradient>%0A<linearGradient y2="0" x2="1" y1="0" x1="0" gradientUnits="userSpaceOnUse" id="SVGID_3_">%0A%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09<stop style="stop-color:%23EBF0F7" offset="1"></stop>%0A</linearGradient>%0A<g>%0A%09<linearGradient y2="3014.9536" x2="4941.2124" y1="3014.9536" x1="1288.5804" gradientUnits="userSpaceOnUse" id="SVGID_4_">%0A%09%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09%09<stop style="stop-color:%23EBF0F7" offset="1"></stop>%0A%09</linearGradient>%0A%09<path d="M1288.6,2793.9c55.3,134.1,186.5,387.6,453.7,503.3c220.8,95.6,442.9,57.4,694.7,14.2%0A%09%09c343.1-59,344.3-140.4,552.9-134.7c282.5,7.8,357.3,159.3,673.4,219.7c66.5,12.7,309.6,47.5,574.2-28.4%0A%09%09c360.6-103.4,734.8-407.2,701.8-560C4895.4,2605.9,4103.5,2505.3,1288.6,2793.9z" class="st0"></path>%0A%09<linearGradient y2="1994.5433" x2="5456.5684" y1="1994.5433" x1="686.3356" gradientUnits="userSpaceOnUse" id="SVGID_5_">%0A%09%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09%09<stop style="stop-color:%23529BF7" offset="1"></stop>%0A%09</linearGradient>%0A%09<path d="M5428.3,1649.1c-131.4-612.4-697.6-977.3-1155.4-1020.7c-232.1-22-245.1,56.7-616.7,117%0A%09%09c-821.7,133.2-1081-199.5-1850.1-85.1c-341.2,50.8-687.6,102.3-914.4,382.8C519.9,1502.7,718.2,2270,973.9,2621.3%0A%09%09c165.2,227,392.7,363.9,392.7,363.9c68.9,41.5,168.6,100.4,304.8,131.1c237.9,53.7,359.9-29.9,560-42.5%0A%09%09c342.7-21.6,401.6,197.2,772.6,276.4c190.7,40.7,257.4,0.5,1084.5-212.6c811.7-209.1,858.2-198.9,974.7-297.7%0A%09%09C5379.4,2571.8,5521.7,2084.7,5428.3,1649.1z M2709.5,2042.7v-2.7V2042.7z" class="st1"></path>%0A%09<linearGradient y2="1859.5726" x2="5227.9292" y1="1859.5726" x1="1116.5316" gradientUnits="userSpaceOnUse" id="SVGID_6_">%0A%09%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09%09<stop style="stop-color:%23EBF0F7" offset="1"></stop>%0A%09</linearGradient>%0A%09<path d="M5148.1,1664.4c-146.3-421.8-552.5-838.3-943.2-819c-297.4,14.6-412.5,273.3-678.4,215.1%0A%09%09c-227.7-49.8-217.9-255.8-471.6-405.4c-401.7-236.8-1083-107.4-1265.9,223.4c-99.3,179.7-11.7,346.7-173.7,521.2%0A%09%09c-113.5,122.3-192.5,78.9-314.4,198.6c-154.9,152-219.8,410.7-165.5,645.3c73.8,318.7,366.8,477.2,388.9,488.1%0A%09%09c827.4,146.2,1654.7,292.3,2482.1,438.5c80.8,13.1,529.4,77.9,879.7-216.7C5295.8,2609,5272.6,2023.2,5148.1,1664.4z%0A%09%09 M2709.5,2042.7v-2.7V2042.7z" class="st2"></path>%0A%09<path d="M5224.3,2042.5c-143.7-88.6-413.9-68.2-740.1-95.9c-488.7-41.5-1188.7,312.8-1437,221.4%0A%09%09c-95.1-35-167.4-141.7-220.4-260v1053.6c291.4,51.5,582.8,103,874.2,154.4l1292.2-269.1C5190,2615.6,5243.4,2314,5224.3,2042.5z" class="st3"></path>%0A%09<linearGradient y2="1741.7239" x2="2757.678" y1="1741.7239" x1="1116.5317" gradientUnits="userSpaceOnUse" id="SVGID_7_">%0A%09%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09%09<stop style="stop-color:%23529BF7" offset="1"></stop>%0A%09</linearGradient>%0A%09<path d="M1789.1,878.4c-99.3,179.7-11.7,346.7-173.7,521.2c-113.5,122.3-192.5,78.9-314.4,198.6%0A%09%09c-154.9,152-219.8,410.7-165.5,645.3c73.8,318.7,366.8,477.2,388.9,488.1c411.1,72.6,822.2,145.3,1233.4,217.9V550.2%0A%09%09C2377.7,484.9,1931.7,620.4,1789.1,878.4z M2709.5,2042.7v-2.7V2042.7z" class="st4"></path>%0A%09<linearGradient y2="1215.4698" x2="2649.5779" y1="1215.4698" x1="1137.9542" gradientUnits="userSpaceOnUse" id="SVGID_8_">%0A%09%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09%09<stop style="stop-color:%23EBF0F7" offset="1"></stop>%0A%09</linearGradient>%0A%09<path d="M1789.1,878.4c-99.4,179.7-11.7,346.7-173.7,521.2c-113.6,122.3-192.5,78.9-314.4,198.6%0A%09%09c-79.1,77.6-134.7,183-163,298.8c82.9-108.4,187.6-189.5,319.3-210.4c445.6-70.8,892.8,45.1,1192.3-113.7V537.1%0A%09%09C2296.9,511.3,1918.4,644.5,1789.1,878.4z" class="st5"></path>%0A%09<polygon points="1937.1,644.5 1937.1,2265.3 1979.7,2269.9 1983,640.9" class="st6"></polygon>%0A%09<path d="M2757.7,550.2c-35.6-6.1-71.7-10.5-108.1-13.1v1035.7c38.6-20.4,74.7-45.4,108.1-76V550.2z" class="st7"></path>%0A%09<path d="M1117.4,850.5c-15.5,9-30.8,18.5-45.8,28.5v1689.5l42.6,5.1L1117.4,850.5z" class="st6"></path>%0A%09<path d="M2826.8,564.5c-22.7-5.5-45.8-10.3-69.1-14.3v2399.3c23,4.1,46.1,8.1,69.1,12.2V564.5z" class="st8"></path>%0A%09<g>%0A%09%09<path d="M1121,2361c0,0-98.3-110.7,84.2-222.1c-25.3,43.4-118,92.3-52.4,202.9%0A%09%09%09c27.1,62.9-12.8,89.7-12.8,89.7S1080.6,2436.5,1121,2361z" class="Graphic_x0020_Style_x0020_116"></path>%0A%09%09<g>%0A%09%09%09<path d="M1282.2,2470.4c-15.5,28.9-215.1,26.5-315.7,23.4c-1.1-4.4-2.1-8.7-3.1-13c-1.8-7.8-3.5-15.5-5-23.2%0A%09%09%09%09C1035.2,2452.4,1299.9,2437.2,1282.2,2470.4z" class="st9"></path>%0A%09%09%09<path d="M1282.2,2470.4l-16.7,216.9c-25.9,39.1-25.5,89.5-36,137.5c-4.3,22.7-20.4,30.2-38.6,29.2%0A%09%09%09%09c-39.4-34.1-82.1-74.2-124.2-119.9c-50-80.3-81.3-162.6-100.3-240.3C1067.1,2496.9,1266.7,2499.4,1282.2,2470.4z" class="st9"></path>%0A%09%09</g>%0A%09%09<g>%0A%09%09%09<path d="M1331.3,2151c12.7,12.2,30.7,16,43,17c5.5-2.7,11.1-5.7,16.6-8.9c24.3-13.9,39.8-38.8,49.7-66.7%0A%09%09%09%09c-16.1,5.8-51.8,17.4-67.4,11.2c-20.4-8.1-12.5-17.1-3-14.1c11.7,6,55.7-6.5,75.3-12.5c4.1-14.9,6.8-30.2,8.6-44.8%0A%09%09%09%09c-13.9,8.3-34.9,15.8-44.4,12.6c-12.3-4.2-7.4-14.4,2.7-13.2c7.4,0.8,31.4-12,43.6-18.8c2.2-29.7,0.8-53.4,0.4-59.6%0A%09%09%09%09c-0.1-1-0.1-1.6-0.1-1.6s-29-8.6-66.9-14.1c-8,8.1-19.9,20.8-24.9,29.3c-8,13.3-11.7,24.3-18.1,22.2%0A%09%09%09%09c-12.7-6.6,13.3-37.6,27.8-53.4c-16.5-1.8-34.1-2.9-51.4-2.3c-51.5,40.6-24.5,76.1-44.7,71.8c-17.5-3.7,13.5-51.5,26.6-70.5%0A%09%09%09%09c-16.3,1.8-31.9,5.4-45.3,11.6c-12.1,6.2-22.8,12.2-32.4,18.1c-14.5,34.4,20,53.7,1.7,57.9c-14.3,3.3-16.2-30.4-16.2-48.5%0A%09%09%09%09c-124.9,86.7,2.8,144.8,2.8,144.8c0.1,0.5,0.2,1,0.3,1.6c11.4,70.5,70.1,82,134.6,58.3c-10-8-28.1-22.8-31-26.1%0A%09%09%09%09C1315,2147.7,1321.1,2139.9,1331.3,2151z" class="st10"></path>%0A%09%09%09<path d="M1433.5,1969.4c0,0-146,112.4-218.2,149.3" class="st11"></path>%0A%09%09%09<path d="M1396.4,2051c0,0-33.9,4.5-68.8-3.9" class="st11"></path>%0A%09%09%09<path d="M1316.2,1996.6c0,0-20.5,49.4-10.8,65.9" class="st11"></path>%0A%09%09%09<path d="M1352,2122.6c0,0-59.6-20.8-79-38.4" class="st11"></path>%0A%09%09%09<path d="M1216.4,2052.4c0,0-4.7,37.9,18.4,55.6" class="st11"></path>%0A%09%09</g>%0A%09%09<g>%0A%09%09%09<path d="M882.7,2066.4c10.6,1.3,21,2.9,31.1,4.8c13.6,13.1,30.4,35.2,30.3,62.7c-1.8,23.8,15.4,19.7,16.3,10%0A%09%09%09%09c0.7-7-2.6-43-4.5-62.6c108.1,32.2,164.1,103.7,86.8,204.4c0,0,80.5,195.4-178.5,184.8c22.7-22.7,62.8-66.9,41.4-76.4%0A%09%09%09%09c-27.3-12.2-10,45.1-70.7,74.5c-19-1.7-39.5-4.4-61.7-8.2c-24-5.1-47.2-15.4-69.1-28.8c39.7-11.4,137-41.9,120.6-63.3%0A%09%09%09%09c-18.9-24.6-31,45.8-143.9,47.6c-21.5-15.8-41.4-33.9-58.9-52.1c37.3-6,107.4-20.1,100.5-40.6c-5.2-8.8-23.3,1.5-49.6,10.6%0A%09%09%09%09c-16.7,5.7-46.9,10.3-66.7,12.9c-38.7-43.2-62.7-81.8-62.7-81.8s30.7-35.6,77.3-76.8c23.3,3.1,68.1,9.9,76,18.1%0A%09%09%09%09c10.7,11.2,29.3,3.1,19.9-14.1c-7.3-13.2-42.1-23.8-69.1-26.7c20.4-16.6,42.9-33.2,66.6-48c31,11.1,99.6,37.5,106.2,56.3%0A%09%09%09%09c7.6,12.8,28.5,9,14.2-20.6c-10.9-22.7-68.4-42.4-95-50.5C786.1,2077.1,836.1,2060.7,882.7,2066.4z" class="st12"></path>%0A%09%09%09<path d="M593.2,2264.5c0,0,316.6-1.6,449.7,21.1" class="st13"></path>%0A%09%09%09<path d="M740.2,2197.3c0,0,46.4,26.9,77.7,70.8" class="st13"></path>%0A%09%09%09<path d="M768.3,2342.5c0,0,86.7-42.5,95.7-72.6" class="st13"></path>%0A%09%09%09<path d="M883.4,2149.7c0,0,45.4,83.2,46.7,123.9" class="st13"></path>%0A%09%09%09<path d="M958.3,2368c0,0,53.3-43.2,47.7-87.5" class="st13"></path>%0A%09%09</g>%0A%09%09<g>%0A%09%09%09<path d="M924,1810c7.6,5.4,14.9,11,21.8,16.7c4.5,17.1,7.4,43.4-5.2,67.8c-12.3,20.5,2.9,23.7,8,15.4%0A%09%09%09%09c3.7-5.9,17.7-39.3,25.2-57.5c68.8,71.8,79.4,157.7-26.4,216.5c0,0-27.1,205.9-222.4,93.1c27.9-11.1,79.1-34.4,67-51.4%0A%09%09%09%09c-15.5-21.8-28.3,36.1-88.6,38c-13.9-9.1-28.5-19.7-43.9-32c-16.2-14.1-29.4-32.6-40.2-53.2c35.9,5.7,125,17.5,122.1-8.1%0A%09%09%09%09c-3.3-29.5-44.9,28.3-132.9-15.1c-9.4-22.6-16.5-46.7-21.7-69.8c31.6,9.6,92.2,25,96.2,4c0-9.9-18.7-8-43.2-10.4%0A%09%09%09%09c-15.5-1.6-41-9.5-57.5-15.1c-10.2-53.9-11.1-97.8-11.1-97.8s40-19.4,94.8-37.4c16.6,12,48.1,36,50.4,46.4%0A%09%09%09%09c3.2,14.2,21.3,14.5,21.8-4.6c0.4-14.7-21.6-38-41.2-51.3c23.4-6.6,48.4-12.4,73.4-16.1c18.9,22.3,59.8,73.1,56.3,92.5%0A%09%09%09%09c0,14.5,17.9,19.4,20.4-12.7c1.9-24.5-33.5-65-50.3-82.8C844.5,1781,890.6,1786.3,924,1810z" class="st10"></path>%0A%09%09%09<path d="M609.7,1870.6c0,0,245.3,125,337.8,198.4" class="st11"></path>%0A%09%09%09<path d="M754.1,1869.5c0,0,23.6,42.4,27.7,94" class="st11"></path>%0A%09%09%09<path d="M709.4,2009.9c0,0,86.4-3.2,107.1-26.3" class="st11"></path>%0A%09%09%09<path d="M886.5,1884.4c0,0-2.9,92.1-20.5,128.9" class="st11"></path>%0A%09%09%09<path d="M844.5,2108.4c0,0,60.9-17.2,76.8-58.8" class="st11"></path>%0A%09%09</g>%0A%09%09<g>%0A%09%09%09<path d="M1245.1,1794.2c20.8-5.3,34.8-21,42.5-32.8c-0.2-7.2-0.7-14.6-1.4-22.1c-3.2-32.9-23.8-63.7-50.7-90.6%0A%09%09%09%09c-1.8,19.7-7.4,62.7-22.8,74.5c-20.1,15.5-26.4,2-17.9-5.6c13.2-8.1,22.1-59.9,25.4-83.2c-15-13.2-31.3-25.3-47.2-36%0A%09%09%09%09c2.2,19-0.2,44.7-9,52.2c-11.4,9.8-20.6-1.3-13.9-10.8c4.9-7,2.8-38.8,1.4-55.2c-33.1-20.3-61.3-33.5-68.7-36.8%0A%09%09%09%09c-1.2-0.6-1.9-0.9-1.9-0.9s-25.3,23.8-51.7,58.6c5.2,13,13.5,32.7,20.6,42.9c11.1,16.1,21.9,26.5,16,31.7%0A%09%09%09%09c-14.4,8.7-36.4-36.3-47-60.5c-10.9,15.5-21.4,32.5-29.9,50.2c19.7,76.5,74.9,71.1,59.3,88.7c-13.5,15.3-52.4-45-67.4-69.8%0A%09%09%09%09c-6.6,17.5-10.6,35.3-10.6,52.6c0.7,15.9,2,30.4,3.8,43.6c32.1,35.6,72.7,12.7,67.8,33.6c-3.8,16.4-43.7-2.3-64.6-13.4%0A%09%09%09%09c33.9,178.4,168.8,85.6,168.8,85.6c0.7,0.2,1.3,0.5,2,0.7c87.5,31.6,132-20.3,138.8-99.5c-14.6,5.1-41.3,14.3-46.7,15.2%0A%09%09%09%09C1232.6,1808.5,1226.7,1797.5,1245.1,1794.2z" class="st10"></path>%0A%09%09%09<path d="M1089.2,1580.6c0,0,52.5,215.2,56.8,310.2" class="st11"></path>%0A%09%09%09<path d="M1164,1667.7c0,0-12.8,36.8-41,66.6" class="st11"></path>%0A%09%09%09<path d="M1058.6,1715c0,0,46.2,50.8,70.4,51.1" class="st11"></path>%0A%09%09%09<path d="M1223.1,1755.9c0,0-55.6,47.1-86.3,55.9" class="st11"></path>%0A%09%09%09<path d="M1070,1849.3c0,0,41.4,27.9,74,15.4" class="st11"></path>%0A%09%09</g>%0A%09%09<path d="M1146.1,1890.8c0,0,14.8,158.8-25,350.6" class="st14"></path>%0A%09%09<path d="M937.7,2061.4c0,0,170.2,50.3,183.3,183.5" class="st14"></path>%0A%09%09<path d="M1029.4,2285.6c13.6-4.9,80.6-4.6,99.5,8.8" class="st14"></path>%0A%09%09<path d="M1223.3,2114.4c0,0-98.3,30.9-77.3,232.1" class="st14"></path>%0A%09</g>%0A%09<g>%0A%09%09<path d="M2812.2,2216.6c0,0,60.8,180.6,68.3,350.2c-193.8,44.1-832.8-6.2-832.8-6.2%0A%09%09%09s14-297.1,80.4-332.6C2416.5,2250.4,2812.2,2216.6,2812.2,2216.6z" class="Graphic_x0020_Style_x0020_110"></path>%0A%09%09<path d="M2880.5,2566.9c-7.5-169.6-68.3-350.2-68.3-350.2s-395.8,33.8-684.1,11.4%0A%09%09%09c-17.2,9.2-30.9,36-41.7,70.6c61.5,25.5,298.6,104,672.8-9.3c-4.1,90.6,73.5,94.8,73.5,94.8c12.1,42.2,11.5,131.9,9.7,189.5%0A%09%09%09C2856.4,2571.7,2869.2,2569.4,2880.5,2566.9z" class="Graphic_x0020_Style_x0020_116"></path>%0A%09%09<path d="M2025.5,1497.7c-85.5,55.5-169,100.9-241.9,164.1c7.6,4.2,13.3,9.3,16.2,15.7%0A%09%09%09c0,0,180.9-97,314-235c-1,0.6-1.9,1.2-2.9,1.8C2081.6,1463,2054.9,1479,2025.5,1497.7z" class="Graphic_x0020_Style_x0020_120"></path>%0A%09%09<path d="M2229.4,1095.4c-25.7-0.9-176.5,78.1-272.1,168.2c-95.6,90.1-340.3,323.9-337.5,369.2%0A%09%09%09c19.6,10.4,121.7,5.7,163.9,29c72.9-63.1,156.4-108.6,241.9-164.1c29.4-18.7,56.1-34.7,85.5-53.4c0.9-0.7,1.9-1.2,2.9-1.8%0A%09%09%09c13.7-14.2,26.8-28.8,39.2-43.8C2153.1,1398.7,2255.2,1096.3,2229.4,1095.4z" class="st15"></path>%0A%09%09<path d="M2771.6,1674.1c-70.5,28.9-142.4,50.7-222.4,50.7c-37.4,0-80.1,18.7-104.2,53.4%0A%09%09%09c-61.4,98.9-133.6,184.3-232.4,229.8c-32.1,14.6-74.5,15.6-110.7,1.8c-16.7,87.9-31.4,153-31.4,153s68.3,148.9,349.6,142.7%0A%09%09%09c281.3-6.2,397.1-37.2,407.5-93.1C2841.2,2157.3,2787.4,1837.7,2771.6,1674.1z M2709.5,2042.7v-2.7V2042.7z" class="Graphic_x0020_Style_x0020_120"></path>%0A%09%09<path d="M2767.4,1598.2c4.1-101.3,24.8-260.6-97.2-366.1c-122-105.5-384.9-173.4-473.5-126.7l-76.5,292.8%0A%09%09%09c11.8,55.4,25.9,140.8,27.6,239.6c1.7,97.6-23.8,254.9-46,372c36.3,13.8,78.6,12.7,110.7-1.8c98.9-45.4,171-130.9,232.4-229.8%0A%09%09%09c24-34.7,66.8-53.4,104.2-53.4c80,0,151.9-21.8,222.4-50.7C2768.4,1641.5,2766.7,1615.1,2767.4,1598.2z" class="st15"></path>%0A%09%09<path d="M2357.9,1064.1c0,0-9-52.4-22.1-33.8c-13.1,18.6-10.3,92.4,9,98.6" class="st16"></path>%0A%09%09<path d="M2626.6,1195.8c5.3-16-5.3-34.7-24-34.7c-74.8,5.3-155,13.4-224.4-18.7c-23.9-11-31.4-34.7-32.8-58.9%0A%09%09%09c-12.4,46.4-71.3,284.2,13.2,332.7c71.4,40.9,184.3-8.4,256.1-105.5C2581,1285.5,2613.8,1234.5,2626.6,1195.8z" class="st16"></path>%0A%09%09<path d="M2517.2,949.8c-125.5-23.1-169.6,125.8-169.6,125.8s-0.8,2.8-2.2,7.9%0A%09%09%09c1.4,24.2,8.9,47.9,32.8,58.9c69.5,32.1,149.6,24,224.4,18.7c18.7,0,29.4,18.7,24,34.7c-12.9,38.6-45.6,89.7-12,114.9%0A%09%09%09c22.5-30.4,41-65.6,52.8-104.1C2717.1,1045.3,2621.6,969,2517.2,949.8z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09<path d="M2650.9,1208c2.1-1.4,41.5-29.8,53.8,4.1c10.6,31.7-40.8,91.7-77.6,80.7l-7.2-3.4" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09<path d="M2641.7,1253.5c0,0,22.4-60.7,39.3-38c16.9,22.7-50.4,66.6-53,66.6C2625.5,1282,2641.7,1253.5,2641.7,1253.5%0A%09%09%09z" class="st16"></path>%0A%09%09<path d="M2695.3,1256.7L2573,1608.5c0,0-4.1,73.6,8.3,89.5c-74.5,98.7-223.4,363.4-223.4,363.4%0A%09%09%09c93.1,24.8,111.9,120,92.1,155.1c108.5-97.2,400.1-407.5,406.4-575C2879.1,1534.1,2854.6,1361.8,2695.3,1256.7z" class="st15"></path>%0A%09%09<path d="M2837.6,1430.3c30.9,169.9,7.7,183.1-75,353.6%0A%09%09%09c-61.7,127.1-230.6,287.4-312.6,360.9c9.9,28.2,8.9,56.1,0,71.9c108.5-97.2,400.1-407.5,406.4-575%0A%09%09%09C2868.7,1583.2,2867.1,1505.7,2837.6,1430.3z" class="Graphic_x0020_Style_x0020_114"></path>%0A%09%09<path d="M2680.8,1197.5c-6.7,0-12.5,1.5-17.3,3.9c-21.5,10.5-26.4,38.8-26.4,38.8s-8.9,23.1-16.3,12.6%0A%09%09%09c-0.8-1.2-1.6-2.7-2.3-4.8c18.6-24.8,18.6-85.5,11.7-103.4c-6.9-17.9-99.3,26.2-212.3-13.8c-68.9-29.9-68.1-84.2-59.4-118%0A%09%09%09c4.5-17.6,11.1-29.6,11.1-29.6c8.7-20.6,14.7-76,34.2-70.3c40.6,11.7,106.8-29.1,164.9-24.4c49.8,4.1,97.3,36.1,128.3,67.6%0A%09%09%09c18.2,18.5,30.7,36.8,34.4,49.1C2741.5,1038.4,2700.5,1163.4,2680.8,1197.5z" class="st17"></path>%0A%09%09<path d="M2759.2,2289.4c0,0-18.6,62.6,23.2,86c41.8,23.4,50.2,8.7,50.2,8.7S2751.6,2373.8,2759.2,2289.4z" class="st9"></path>%0A%09%09<path d="M1712.9,1890.5c-52.6-85.2-72.3-184.5-63.6-284.7c-5.7,3.2-11.6,6.9-17.5,11%0A%09%09%09c0,0-40.7,64.1,46.2,255.8c-60.7,57.2-63.2,76.8-57.8,148.5c3.8,6,7.7,11.4,11.8,16.3C1628.4,1981.4,1663.8,1922.1,1712.9,1890.5z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09<path d="M1827.7,1946.4c-2.8-88.2-44.1-69.6-38.6-133.1c5.5-63.4,12.4-109.6,15.9-150.3%0A%09%09%09c3.3-38.4-60.9-110.4-155.6-57.2c-8.8,100.2,10.9,199.5,63.6,284.7c-49.2,31.6-84.5,91-80.9,146.9c42.1,50.6,95,40.7,95,40.7%0A%09%09%09s40.7-51,44.8-68.3c11.7,0.7-32.4,71-32.4,71s7.6,14.2,24.1,13C1780.1,2092.5,1830.4,2034.6,1827.7,1946.4z" class="st16"></path>%0A%09%09<path d="M1679.1,1995l-15.9,55.8c0,0,23.8-50.3,29.3-72C1698.1,1957.1,1679.1,1995,1679.1,1995z" class="st18"></path>%0A%09%09<path d="M1719.7,2081.7c0.5-1.4,56.1-102.4,65.3-88.7c9.2,13.7-42,92.4-42,92.4s-5.3,3.1-3.5-4.7%0A%09%09%09c1.8-7.8,42.7-68.9,35.4-68.5c-7.4,0.5-44.1,60.7-47.8,65.7S1719.7,2081.7,1719.7,2081.7z" class="st18"></path>%0A%09%09<path d="M1686.9,2067.8c0,0,33.5-83.7,43.3-79.9c9.8,3.9-39.4,83.3-39.4,83.3L1686.9,2067.8z" class="st18"></path>%0A%09%09<path d="M1653.4,1961.3c0,0-15.7,62.3-15.2,75C1645.6,2045.3,1657.7,1960.6,1653.4,1961.3z" class="st18"></path>%0A%09%09<path d="M1761.8,2227.6c-54.2-19.3-110.3-23.2-166.4-38.7c-0.1,0-0.2-0.1-0.3-0.1c8.4,8.6,16.7,17.2,25.1,25.7%0A%09%09%09c53.2,60.7,288.8,91.2,288.8,91.2s-10.9-9.9-72.5-89.2c-8.1,3.7-16.2,7.5-24.4,11.1C1796.6,2235.3,1777.3,2233.4,1761.8,2227.6z" class="st19"></path>%0A%09%09<path d="M1267.8,1860.2c0,0,164.6,162.1,327.3,328.6c0.1,0,0.2,0.1,0.3,0.1c56.1,15.5,112.2,19.3,166.4,38.7%0A%09%09%09c15.5,5.8,34.8,7.7,50.3,0c8.2-3.6,16.4-7.4,24.4-11.1c-33.8-43.5-82.8-108-153.6-203.3%0A%09%09%09C1514.7,2038.1,1267.8,1860.2,1267.8,1860.2z" class="st20"></path>%0A%09%09<path d="M1894.6,2339.3c-53.4,8-106.9,10.7-163-2.7c-19-4.7-34.6-13.9-48.5-25.2%0A%09%09%09c15.8,36.7,102.7,87.4,133.9,82.8c31.7-4.6,303.8-96.5,339.7-99.3c35.9-2.8,272.6-59.4,293.2-78.4c6.2-5.7,10.6-21.4,10.5-40.6%0A%09%09%09c-161,58-322,87.3-483.1,141.9C1950.7,2325.9,1921.3,2334,1894.6,2339.3z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09<path d="M2357.9,2061.5c-149.6,34-453,200.5-549.1,192.3c0,0-60.2,7.5-96.1-8.3c-35.9-15.8-83.7-37.4-96.5-28.9%0A%09%09%09c-10.2,6.8,29.5,56.4,52.7,80.6c6,6.2,10.8,10.8,13.5,12.5c0.2,0.6,0.5,1.1,0.7,1.7c13.9,11.3,29.5,20.5,48.5,25.2%0A%09%09%09c56.1,13.4,109.5,10.7,163,2.7c26.7-5.3,56.1-13.4,82.8-21.4c161-54.5,322-83.8,483.1-141.9%0A%09%09%09C2460.3,2131.9,2436.5,2068.5,2357.9,2061.5z" class="st16"></path>%0A%09</g>%0A%09<path d="M5147.8,2758.7c3.3,42.6-104.8,129-220.1,160.2c-111.1,40.4-316.5,84.1-839.1,218.8%0A%09%09c-356.5,91.9-571.8,151.6-716.6,186.6c-191.1,46.2-259.5,49.2-368,26c-51.4-11-96.9-24.7-137.9-40%0A%09%09c-255-95.3-339.6-255.1-634.7-236.4c-200.1,12.7-322,96.2-560,42.5c-136.3-30.7-235.9-89.6-304.8-131.1%0A%09%09c0,0-186.3-112.1-344.2-301.7c-39.9-42.2-73.3-85.6-94.5-130.9l1061.8-81.6L5147.8,2758.7z" class="Graphic_x0020_Style_x0020_118"></path>%0A%09<polygon points="1909,2627.9 2329.7,2696.9 2880.5,2648.9 2839.9,2636 1902.2,2607.7 1873.4,2616.7" class="st21"></polygon>%0A%09<path d="M2902.4,2554.2c0,0,128.1,29.9,198.1,36.5c16.9,26,103.7,26.1,139.2,31.4c35.5,5.3,64.9,60.1,137.9,65%0A%09%09c73,4.9,88.9,32.2,118.2,30.1c29.2-2.1,39.1-54.7,49.7-59.9c10.6-5.2-32-38.9-10.7-45.5C3396.5,2597.2,2902.4,2554.2,2902.4,2554.2%0A%09%09z" class="st21"></path>%0A%09<path d="M3668.6,2761.4c39.6,3,90.3-36.8,169.2-23.5c88.5,14.9,307.2,32.5,354.3-1.4%0A%09%09c61.3,3.3,696.2,65.4,749.1,44.1c52.9-21.3,68-34.5,68-34.5l-1182-107.2c0,0-299.4,44.5-286.7,84.2%0A%09%09C3547.2,2749,3629,2758.4,3668.6,2761.4z" class="Graphic_x0020_Style_x0020_117"></path>%0A%09<path d="M3779.6,3218.3c-115.9-48.9-340.1-136.6-484.1-148c-201.1-15.9-340.3-109.9-337.2-157.7%0A%09%09c3.1-47.8-605.8-113-946.8-126.3c-204.7-8-676.2-112.3-330.9-291.5l-79,6.1c-81.3,57.9-200.4,165.5-77.3,230.8%0A%09%09c174.8,92.7,1373.9,95.9,1387.8,212c13.2,110.3,575.5,195.9,765.9,301.5C3710,3236.7,3743.7,3227.7,3779.6,3218.3z" class="st22"></path>%0A%09<g>%0A%09%09<path d="M4484.2,1461.7v1181h488.7v-1181H4484.2z M4939.2,2561.4h-421.4v-539.8h421.4%0A%09%09%09V2561.4z M4939.2,1982.4h-421.4v-485.5h421.4V1982.4z" class="Graphic_x0020_Style_x0020_107"></path>%0A%09%09<rect height="485.5" width="355.8" class="Graphic_x0020_Style_x0020_118" y="1496.9" x="4583.5"></rect>%0A%09%09<rect height="485.5" width="65.6" class="Graphic_x0020_Style_x0020_119" y="1496.9" x="4517.8"></rect>%0A%09%09<rect height="539.8" width="80.1" class="Graphic_x0020_Style_x0020_119" y="2021.5" x="4517.8"></rect>%0A%09%09<rect height="539.8" width="341.3" class="Graphic_x0020_Style_x0020_118" y="2021.5" x="4597.9"></rect>%0A%09%09<polygon points="5067.7,1559.5 4972.9,1461.7 4975.8,2765.4 5070.3,2765.4" class="Graphic_x0020_Style_x0020_110"></polygon>%0A%09</g>%0A%09<g>%0A%09%09<polyline points="2442.7,2752.3 2386.8,2825.9 2352.6,2827.7 2416.8,2743.1 2832.6,2738.3 %0A%09%09%092839.9,2747.7" class="Graphic_x0020_Style_x0020_117"></polyline>%0A%09%09<polygon points="2832.6,2738.3 2416.8,2743.1 2352.6,2827.7 2134.5,2839.2 2105.5,2724.6 %0A%09%09%092798.5,2694.4" class="Graphic_x0020_Style_x0020_117"></polygon>%0A%09%09<polygon points="3202.8,2854.8 2364.9,2854.8 2386.8,2825.9 2442.7,2752.3 2839.9,2747.7 %0A%09%09%093134.1,2744.3" class="Graphic_x0020_Style_x0020_117"></polygon>%0A%09%09<polygon points="2839.5,2730.9 2805.3,2687.1 2112.4,2717.2 2141.4,2831.8 2359.4,2820.3 %0A%09%09%092393.7,2818.5 2449.6,2745 2846.8,2740.3" class="Graphic_x0020_Style_x0020_100"></polygon>%0A%09%09<polygon points="3202.8,2848.8 2364.9,2848.8 2386.8,2819.9 2442.7,2746.3 2839.9,2741.7 %0A%09%09%093134.1,2738.3" class="Graphic_x0020_Style_x0020_100"></polygon>%0A%09</g>%0A%09<g>%0A%09%09<path d="M3326.7,2053.5c67.2,11.8,127,45.4,188.5,75.5c-25.6-21.6-54.4-38-66.9-44.7c-69.9-65-238.4-55.8-331.3-54.5%0A%09%09%09c-56.7,0.8-107.4,28.8-147.4,65.5C3076.9,2034.1,3204.5,2033.1,3326.7,2053.5z" class="st23"></path>%0A%09%09<path d="M3390.7,2125.6c29.4,10.7,40.1,48.1,64.1,69.5c33.5,30.3,76.4,36.8,117.6,27.5c-4-13-8.3-25.7-12.8-37.7%0A%09%09%09c-7.5-20.2-25.1-39.4-44.4-55.7c-61.4-30.2-121.3-63.8-188.5-75.5c-6.7-1.1-13.5-2.2-20.2-3.1c2.5,4.5,4.8,9.1,6.8,13.8%0A%09%09%09c6.9,18.8,10.9,38,12.4,57.2C3347.5,2119.7,3369.7,2120.3,3390.7,2125.6z" class="st23"></path>%0A%09%09<path d="M3454.8,2195c-24-21.4-34.7-58.8-64.1-69.5c-21.1-5.3-43.3-5.9-65.1-4.2c6.4,84.5-36.4,169.9-95.2,228.6%0A%09%09%09c-29.4,32.1-61.4,58.8-101.5,82.8c-32.1,21.4-66.8,37.4-101.5,53.4c-41.6,14.5-81.5,4.8-119.8-10.2c3.7,32.6,11.1,70.7,27.1,85.4%0A%09%09%09c2.2,2,149.9,56.5,246.1,29.3c130.3-36.9,227.4-163.5,314.2-210.2c10.9-5.9,21.4-12.4,31.4-19.5l-0.4-14l53.6-33.2%0A%09%09%09c3.8-4.2,7.6-8.5,11.2-12.9c-4.1-26.8-10.7-53.3-18.4-78.3C3531.3,2231.8,3488.3,2225.3,3454.8,2195z" class="st24"></path>%0A%09%09<path d="M2963.9,2113.7l-74.4,244.3c3.2,19.6,7.7,41,13.7,64.4c0.8-0.5,1.1,24.3,4.3,53.6%0A%09%09%09c38.3,15.1,78.3,24.8,119.8,10.2c34.7-16,69.5-32.1,101.5-53.4c40.1-24,72.1-50.8,101.5-82.8c65-65,110.5-162.6,91.4-255.6%0A%09%09%09C3210,2135.2,3083,2108.6,2963.9,2113.7z" class="st25"></path>%0A%09%09<path d="M3321.8,2094.4c-2.1-10.2-4.9-20.2-8.6-30.2c-2-4.6-4.2-9.2-6.8-13.8c-116-16.9-235.4-12.9-336.9,44.9%0A%09%09%09l-5.6,18.4C3083,2108.6,3210,2135.2,3321.8,2094.4z" class="st26"></path>%0A%09%09<path d="M3590.8,2300.8c-3.6,4.4-7.4,8.7-11.2,12.9l12-7.5C3591.4,2304.4,3591.1,2302.6,3590.8,2300.8z" class="st9"></path>%0A%09%09<g>%0A%09%09%09<path d="M3452.4,2090.3c-50.3-112.2-85.1-243.7-193.4-309.5c-17.4-9.7-50.3-13.5-71.6,3.9%0A%09%09%09%09c-34.5,27-36.4,68-35.6,109.5c51.1,42.2,96.7,74.2,118.4,75.2c65,3,117,150.1,192.8,215.4c35.5,30.6,78.2,23.7,113.6,7.7%0A%09%09%09%09c-19.8-3.7-39.3-11.4-54.6-19C3487.2,2158,3467.9,2123.1,3452.4,2090.3z" class="Graphic_x0020_Style_x0020_116"></path>%0A%09%09%09<path d="M3489,1994.5c-13.8-96.5-49-197.2-111.1-242.1c-62.1-44.9-38.1-160-114.8-199.7%0A%09%09%09%09c-190.3-102-287.5,4.8-333,55.2c-45.5,50.3-4.1,77.2-4.1,77.2s123.9,124.8,225.9,209c-0.9-41.4,1-82.4,35.6-109.5%0A%09%09%09%09c21.3-17.4,54.2-13.5,71.6-3.9c108.3,65.8,143.1,197.3,193.4,309.5c15.5,32.9,34.8,67.7,69.6,83.2c15.3,7.7,34.8,15.3,54.6,19%0A%09%09%09%09c40.3-18.2,71.2-48.2,71.2-48.2S3502.8,2091.1,3489,1994.5z" class="Graphic_x0020_Style_x0020_108"></path>%0A%09%09%09<path d="M3182.3,2144.3c-13.4-74.8,34.7-189.7-58.8-221.7c-16-61.4,5.3-128.2-37.4-184.3%0A%09%09%09%09c-33.7-46.4-75.8-81.1-127.5-97.6c-15.4,4-42.2,14-46.3,24.6c-13.8,35.6-24.4,108.3-3.6,195.1c19.9,94,53.6,191.2,151.7,162.7%0A%09%09%09%09c51,68.9,51,103.4,48.3,128.2c25.3,30.5,60,37.2,94.1,32.1C3192.8,2173.6,3185.5,2160.8,3182.3,2144.3z" class="st16"></path>%0A%09%09%09<path d="M3314.2,2124.9c-5.5-129.6-75.8-207-93.8-211.7c30.3-46.1,33.1-82-6.9-106.8%0A%09%09%09%09c-40-24.8-57.9,67.6-57.9,67.6s-19.3,18-16-3.3c17.7-114.7-62.5-214-170.5-231.9c-1.2-0.2-5.1,0.5-10.4,1.9%0A%09%09%09%09c51.7,16.5,93.8,51.2,127.5,97.6c42.7,56.1,21.4,122.9,37.4,184.3c93.5,32.1,45.4,146.9,58.8,221.7c3.1,16.5,10.5,29.3,20.4,38.9%0A%09%09%09%09C3250.3,2176,3296.5,2145.8,3314.2,2124.9z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09%09<path d="M2969,1635.8c0,0,75.2,27.2,72.4,70.7c-2.8,43.5-9.8,77.5,56.3,98.1c-31.6-35.6-34.2-44-26.9-86.3%0A%09%09%09%09S3035.8,1587.8,2969,1635.8z" class="st17"></path>%0A%09%09%09<path d="M2789.6,2288.5c-77.5,101.5-203,106.9-323.3,128.2c-27.7,5.9-43.7,28.1-64.3,43.4%0A%09%09%09%09c7.2,13.8,19.1,27.9,28,39.8c0.5-0.1,1.1-0.3,1.6-0.4c159.5-16.7,359.4-29.1,470.9-150.7l-0.1-16l61-218.3%0A%09%09%09%09c-27.4,9-56.1,12.8-77.6,32.4C2837.7,2184.3,2824.3,2243.1,2789.6,2288.5z" class="st25"></path>%0A%09%09%09<path d="M3017.4,2050.7c-17.9,4.3-35.5,9.7-52.8,16.1c-58.6,21.8-113.1,55-149.7,106.6%0A%09%09%09%09c-16.4,23.2-29.7,48.3-42.2,73.7c-5.8,11.7-11.7,21.5-19.5,31.9c-8.1,10.8-17.8,20.2-27.8,29.2c-21.9,19.5-47.7,34.4-75.4,44.1%0A%09%09%09%09c-33.1,11.6-67.9,16.1-101.5,25.4c-82.7,23-147.1,41.1-152.6,60.5c-0.2,7,2.3,14.5,6.2,22c20.6-15.4,36.6-37.5,64.3-43.4%0A%09%09%09%09c120.2-21.4,245.8-26.7,323.3-128.2c34.7-45.4,48.1-104.2,96.2-141.6c21.5-19.6,50.2-23.4,77.6-32.4l5.1-18.3%0A%09%09%09%09c11-10.8,16.7-15,29.5-24.1c14.7-10.5,30.5-19.7,47.1-26.7c0.1-0.2,0.2-0.4,0.3-0.6C3036,2046.5,3026.6,2048.4,3017.4,2050.7z" class="st23"></path>%0A%09%09%09<path d="M3045.4,2044.9c-0.1,0.2-0.2,0.4-0.3,0.6c0.7-0.3,1.4-0.6,2.1-0.9%0A%09%09%09%09C3046.6,2044.7,3046,2044.8,3045.4,2044.9z" class="Graphic_x0020_Style_x0020_100"></path>%0A%09%09%09<path d="M2431.6,2499.6c-0.5,0.1-1.1,0.3-1.6,0.4c0.9,1.2,1.8,2.4,2.6,3.6c10.8,15.3,7.8,45,49.1,42.6%0A%09%09%09%09c30.8-6,230-18.7,273.3-29.7c32-8.2,82.2-26.3,148.2-94.1l-0.7-73.5C2791,2470.5,2591.1,2482.9,2431.6,2499.6z" class="st24"></path>%0A%09%09%09<path d="M2398.2,2439.8c0,0,40.7-31.7,69.6,4.1c29,35.9,49.3,96,29,100.7c-20.4,4.6-65.8,2.1-87-35.2%0A%09%09%09%09C2388.5,2472.2,2387.5,2454.3,2398.2,2439.8z" class="st27"></path>%0A%09%09%09<path d="M3350.7,1877.1c18.7-58.6,71.9-104,69.5-165.2c-4.1,1.2-8.2,5.1-10.8,12.5c-7.6,21.4-71.4,103.8-71.4,103.8%0A%09%09%09%09s0,0,3.8-22.1s1.4-35.5-9.7-36.9c-11-1.4-18.3,10.3-18.3,10.3c1-31-13.4-29.3-23.4-27.6c-10,1.7-9.3,51.4-10,64.8%0A%09%09%09%09c-0.7,13.4-15.2,26.9-20-4.1c-2.8-35.9-40.7-71.7-51.7-66.9c-11,4.8,14.8,62,13.1,94.5c-1.7,32.4-20,100.7-5.5,148.2%0A%09%09%09%09c14.5,47.6-3.4,102-3.4,102l85.3,21.2c4.2-67.5,4.5-134.6,44.5-197.1C3350.7,1903.8,3348,1890.5,3350.7,1877.1z" class="st16"></path>%0A%09%09%09<path d="M3420.1,1711.9c2.4,61.2-50.8,106.6-69.5,165.2c-2.7,13.4,0,26.7-8,37.4%0A%09%09%09%09c-40,62.5-40.2,129.7-44.5,197.1l22.9,5.7c0,0-3.5-115.8,17.2-141.3c20.7-25.5,15.2-80,25.3-108.9c10.1-29,71.3-117.9,72-137.2%0A%09%09%09%09C3436,1717.3,3427.9,1709.7,3420.1,1711.9z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09%09<path d="M3305.2,1839.7c-0.4,0.9,11-56.8,9-67.2c4.3,1.6,4.3,1.6,4.3,1.6S3312.8,1824.1,3305.2,1839.7z" class="st9"></path>%0A%09%09%09<g>%0A%09%09%09%09<polygon points="2369.1,2558.8 2880.5,2623.2 2325,2668.2 1891.1,2604.1" class="Graphic_x0020_Style_x0020_115"></polygon>%0A%09%09%09%09<polygon points="2264.3,2566.5 2626.8,2624.8 2334.4,2648.9 2170.4,2611.3" class="Graphic_x0020_Style_x0020_109"></polygon>%0A%09%09%09%09<path d="M2421.8,2452.1c-5.6-0.2-22.6,8.6-22.6,8.6s-13.8-44.1-80.7-43.4s-64.8,65.5-64.8,65.5s5.5,77.2,26.9,93.1%0A%09%09%09%09%09c21.4,15.9,99.3,4.1,102.4,0c3.1-4.1,45.3-6.9,66.9-30.3c21.6-23.4,33.5-24.4,33.5-24.4S2463.5,2453.5,2421.8,2452.1z" class="st16"></path>%0A%09%09%09%09<path d="M2319.3,2460c0,0-45.5,32.4-15.2,90.3c-6.8,0.6-6.8,0.6-6.8,0.6%0A%09%09%09%09%09S2262.7,2493.1,2319.3,2460z" class="Graphic_x0020_Style_x0020_104"></path>%0A%09%09%09%09<path d="M2376.8,2552.2c0,0-56.9-11.2-43.1-33.6c13.8-22.4,45.5-15.9,46.9-24.5%0A%09%09%09%09%09c1.4-8.6-15.9-23.8-21.7-14.5c-5.9,9.3-15.5,25.2-15.5,25.2s-24.1,6.2-17.9,23.1c6.2,16.9,33.8,15.5,6.2,16.9%0A%09%09%09%09%09c-27.6,1.4-39.6,0-39.6,0s-7.4,36.2,7.3,37.5c14.7,1.4,61.6,6.9,105-10.3c43.4-17.2,43.8-24.7,43.8-24.7%0A%09%09%09%09%09S2401.3,2559.2,2376.8,2552.2z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09%09%09<polygon points="2331,2682 2848.1,2642 2880.5,2623.2 2322,2668.2 1885.6,2604.1 %0A%09%09%09%09%091893.9,2613.5" class="Graphic_x0020_Style_x0020_109"></polygon>%0A%09%09%09%09<path d="M1784.9,2001.5l427.1,0.5l15.9,3c18.3,3.5,31.9,18.7,33.5,37.3c9.9,120.2,38.5,538.8,42.7,616.9%0A%09%09%09%09%09c0.3,6.5-11.2,15-17.7,14.2l-444.6-65.8L1784.9,2001.5z" class="st28"></path>%0A%09%09%09%09<path d="M1794.6,1993.3l411.5,8.2c15.8,0.3,28.8,12.5,30.1,28.3c10.4,126.7,52.8,644.5,49.2,643.3%0A%09%09%09%09%09c-3.6-1.2-348.6-51.6-443.5-65.4c-14.1-2.1-24.9-13.4-26.2-27.6l-52.4-553C1761.5,2008.7,1776.2,1992.9,1794.6,1993.3z" class="st29"></path>%0A%09%09%09</g>%0A%09%09%09<path d="M3465.5,2285.9c-5.8-29.1-28.6-54-57-68.5c9.3,57-21.2,85.5-21.2,85.5c-6.8,3.4-40.2,78.1-48.3,71.7%0A%09%09%09%09c-4.1-3.3-5.8-14.7-6.3-29.4c-17.3-67.3-4-136.5-11.5-203.5c-2.3-18.1-0.7-36.2-6.7-52.6c-6.5-5.5-15.7-10.3-27.9-14.4%0A%09%09%09%09c0.8,120.3-17.7,240.4,10.5,355.6c8,37.4,77.5,16,112.2-8C3452.2,2392.7,3478.9,2339.3,3465.5,2285.9z" class="st24"></path>%0A%09%09%09<path d="M3332.7,2345.1c-0.9-27.1,2.3-65.1,1.7-83.5c-0.9-28.4,4.6-84.2-6.4-147.7c-0.5-9.3-4.6-17.6-13.4-24.9%0A%09%09%09%09c5.9,16.5,4.4,34.5,6.7,52.6C3328.7,2208.5,3315.4,2277.8,3332.7,2345.1z" class="st27"></path>%0A%09%09%09<path d="M3591.6,2306.2l-189.3-113.8c2.9,8.8,4.9,17.1,6.2,24.9c28.4,14.5,51.2,39.4,57,68.5%0A%09%09%09%09c4.9,19.6,4.4,39.1-0.3,57.5c36.8,33.3,76.9,62.3,118.5,89.3C3596.9,2393.5,3597.6,2349.6,3591.6,2306.2z" class="st24"></path>%0A%09%09%09<path d="M3226.7,2062.8c-4.2-0.5-8.6-0.9-13.2-1.3c-89.6,102-96.5,485.4-63.4,524c10.1,11.8,36.5,17.9,71.6,18.6%0A%09%09%09%09c-2.7-1.6-5.1-3.5-7.3-5.6C3080,2450.9,3137.9,2222.8,3226.7,2062.8z" class="st23"></path>%0A%09%09%09<path d="M3465.3,2343.4c-8.1,31.8-28.7,60.1-55.8,78.8c-34.7,24-104.2,45.4-112.2,8%0A%09%09%09%09c-28.2-115.2-9.7-235.3-10.5-355.6c-15.1-5.1-34.8-9.1-60-11.8c-88.8,160-146.7,388.1-12.3,535.7c2.1,2.1,4.6,4,7.3,5.6%0A%09%09%09%09c79.8,1.5,205-25.2,288.3-77.9c38.4-24.3,61.5-56.9,73.7-93.5C3542.2,2405.6,3502.1,2376.6,3465.3,2343.4z" class="st25"></path>%0A%09%09</g>%0A%09%09<path d="M3123.6,1922.5c3.2,5.9-36.5,92.1-63.1,100.4c35,56.6,28,41.3,37.6,63.1c63.2-44,78.1-61.9,78.3-92.2%0A%09%09%09C3177.1,1914.4,3123.6,1922.5,3123.6,1922.5z" class="st30"></path>%0A%09</g>%0A%09<g>%0A%09%09<path d="M3972.8,2436.5c-19.3-100.6-1.9-197.3,30.9-292.1c1.9-7.7,9.7-13.5,11.6-23.2%0A%09%09%09c13.5-58,34.8-108.3,58-160.5c1.9-7.7,1.9-15.5,3.9-23.2c1.5-4.4,6.3-7.7,9.3-11.5c-108.6,18.8-247.9,49.9-313.3,64.9%0A%09%09%09c22.2,33.7,40.9,69.3,52.5,109.1c3.9,7.7,13.5,13.5,17.4,21.3c3.9,5.8,0,11.6,3.9,17.4c11.6,15.5,21.3,29,25.1,48.4%0A%09%09%09c1.9,3.9,7.7,5.8,7.7,9.7c0,94.8,7.7,189.6,0,284.3c-6.7,72.9-22.6,143.8-37.3,214.7c84.9-0.2,183-1.6,281.4-2.7%0A%09%09%09c-52.2-58.4-91.1-128-129.9-198.4C3984.4,2475.2,3976.6,2455.8,3972.8,2436.5z" class="Graphic_x0020_Style_x0020_114"></path>%0A%09%09<path d="M4194.9,2483.6c82.8-18.7,163-5.3,237.8,48.1c8,8,26.7,5.3,37.4,0%0A%09%09%09c58.6-34.6,128.4-61.3,198-68.7c-150.8-225.4-393-546.7-446.5-551.9c-23.2-2.2-74.3,4.4-135,14.8c-3.1,3.9-7.9,7.1-9.3,11.5%0A%09%09%09c-1.9,7.7-1.9,15.5-3.9,23.2c-23.2,52.2-44.5,102.5-58,160.5c-1.9,9.7-9.7,15.5-11.6,23.2c-32.9,94.8-50.3,191.5-30.9,292.1%0A%09%09%09c3.3,16.6,9.5,33.3,17.3,49.9C4050.6,2508.5,4130.6,2499.3,4194.9,2483.6z" class="Graphic_x0020_Style_x0020_105"></path>%0A%09%09<path d="M4470.1,2531.7c-10.7,5.3-29.4,8-37.4,0c-74.8-53.4-155-66.8-237.8-48.1%0A%09%09%09c-64.3,15.7-144.3,24.9-204.8,2.8c1.3,2.7,2.6,5.4,3.9,8.1c38.9,70.4,77.7,140.1,129.9,198.4c233-2.6,467.2-3.9,529.1,13.9%0A%09%09%09c110.3,31.7,131,20.7,137.9-30.3c2.3-16.7-49.5-103.7-123-213.5C4598.5,2470.4,4528.6,2497,4470.1,2531.7z" class="Graphic_x0020_Style_x0020_106"></path>%0A%09%09<path d="M3879.9,2196.6c0-3.9-5.8-5.8-7.7-9.7c-3.9-19.3-13.5-32.9-25.1-48.4c-3.9-5.8,0-11.6-3.9-17.4%0A%09%09%09c-3.9-7.7-13.5-13.5-17.4-21.3c-11.6-39.8-30.4-75.4-52.5-109.1c-23.2,5.3-37.1,8.6-37.1,8.6s-76.6,50.8-73.5,108.1%0A%09%09%09c3.1,57.3,7.7,545.5-0.1,585.4c44.9,2.2,107.7,2.8,180,2.6c14.8-70.9,30.6-141.8,37.3-214.7%0A%09%09%09C3887.6,2386.2,3879.9,2291.4,3879.9,2196.6z" class="st31"></path>%0A%09%09<path d="M3622.6,2308.8c7.7-30.9,11.6-63.8,40.6-85.1c3.9-3.9,1.9-9.7,5.8-13.5c21.7-17.1,39.8-41.6,63-53.7%0A%09%09%09c-6.4-58.7-17.6-101.8-29.1-95c-30.3,17.9-474.3,322.7-497.1,369.5s-42.1,123.7,13.1,152.8c0,0-20.7-133.5,59.3-157%0A%09%09%09c80-23.4,155.8,45.5,157.2,51c0.7,2.8,16.3,25.9,31.7,46.8c24.5-12.2,48.8-24.7,72.3-41.8%0A%09%09%09C3593.6,2440.4,3609.1,2376.5,3622.6,2308.8z" class="st32"></path>%0A%09%09<path d="M3669.1,2210.2c-3.9,3.9-1.9,9.7-5.8,13.5c-29,21.3-32.9,54.2-40.6,85.1c-13.5,67.7-29,131.5-83.2,174.1%0A%09%09%09c-23.4,17.1-47.7,29.6-72.3,41.8c14.9,20.3,29.7,38.6,30.4,34.1c1.4-9.2,146.2-90.6,205.5-136.8c36.9-28.8,39.6-168.5,29.1-265.5%0A%09%09%09C3708.8,2168.5,3690.8,2193.1,3669.1,2210.2z" class="st31"></path>%0A%09%09<path d="M3252.8,2424.8c-14.7,6.4-25.2,15.5-32.7,25.8c33.5,31.1,84.8,42,119.8,22.2c22.9-10.4,45.8-17.6,64.9-32.9%0A%09%09%09c-0.9-0.6-1.9-1.3-3.1-2.1C3385.9,2421.4,3321.1,2395.2,3252.8,2424.8z" class="st16"></path>%0A%09%09<path d="M3220.1,2450.6c-5.4,7.5-9.3,15.6-11.9,23.8c11.3,29.8,34.2,55.9,59.6,75.9%0A%09%09%09c39.9,36.8,89.5,48.9,140.2,47.1l4-152.6c0,0,0,0-7.2-4.8c-19.1,15.3-42,22.5-64.9,32.9%0A%09%09%09C3304.9,2492.6,3253.6,2481.7,3220.1,2450.6z" class="Graphic_x0020_Style_x0020_113"></path>%0A%09%09<path d="M3267.8,2550.4c-25.4-20-48.3-46.1-59.6-75.9c-0.6,1.9-1.2,3.9-1.7,5.8%0A%09%09%09c-3.2,12.6-4,25-3.7,35.5c0.4,15.7,3.1,26.9,3.1,26.9s73.1,121.3,186.1,122.7c14.5-13.8,14.5-13.8,14.5-13.8l0.5-17.8l0.7-24.6%0A%09%09%09l0.3-11.9C3357.3,2599.3,3307.7,2587.2,3267.8,2550.4z" class="Graphic_x0020_Style_x0020_104"></path>%0A%09%09<path d="M3235.6,2602c0,0,20.6,1.7,15.5-3.8c-16.6-18-47.6-98.2-21.8-124.8c29.7-30.7,122.5-41.5,160.6-26.4%0A%09%09%09c-3.3-14.6-3.3-14.6-3.3-14.6s-76.5-31-120-13.1c-43.4,17.9-62.2,9.2-63.8,77c-1.7,67.8,9.5,101.6,23.2,107.8%0A%09%09%09C3239.7,2610.3,3235.6,2602,3235.6,2602z" class="st33"></path>%0A%09%09<path d="M3226,2604.1c0,0-34.8-98.6-3.2-143.2s183.6-37.2,209.7,22.5c15.9-4.6,15.9-4.6,15.9-4.6%0A%09%09%09s51.4-54.7-36.3-81.6c-87.8-26.9-216.5,9.7-228.4,92.5S3199.4,2597,3226,2604.1z" class="st20"></path>%0A%09%09<path d="M3340,2529c32.1-10.7,40.1-29.4,53.4-58.8c2.7-5.3,21.4,2.7,32.1-5.3%0A%09%09%09c34.7-32.1,80.1-48.1,120.2-32.1c9,3,17.6,7.1,26,11.5c-6.3-16.9-12.8-29.1-12.8-29.1s-3-1.5-7.6-3.6%0A%09%09%09c-11.7-5.4-33.9-14.8-44.8-14.3c-15.2,0.7-29.9,22.1-29.9,22.1s-32.8-9-49.4,0c-16.5,9-18.5,35.5-18.5,35.5s-15.9-1.7-33.9,7.3%0A%09%09%09s-6.2,37.2-6.2,37.2s-15.2-12.4-42.1,6.2c-20.5,12.6-13.4,51.1-1.3,85.4C3326.1,2565.1,3319.5,2533.5,3340,2529z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09<path d="M3545.7,2432.8c-40.1-16-85.5,0-120.2,32.1c-10.7,8-29.4,0-32.1,5.3c-13.4,29.4-21.4,48.1-53.4,58.8%0A%09%09%09c-20.4,4.5-13.9,36.1-14.7,61.9c4.6,13,9.9,25.4,14.7,35.5c6.7,14.3,12.4,24,13.6,24.5c32.4,14.5,39.8-12.1,39.8-12.1%0A%09%09%09s7.4,27.2,34.4,26.6c27-0.6,13.8-43.4,13.8-43.4s36.8,33.1,54,29c17.2-4.1,4.1-42.1,4.1-42.1s23.4,27.6,48.3,21.4%0A%09%09%09c24.8-6.2-10.3-94-10.3-94s24.1,13.3,41.4-12.2c10.5-21.9,1.8-55.6-7.2-79.8C3563.2,2439.9,3554.7,2435.8,3545.7,2432.8z" class="st16"></path>%0A%09%09<path d="M3855.6,1746.2c-34.7-66.8-53.4-157.6-120.2-181.7c-70.3-26.7-149.3,8.2-227.2-3%0A%09%09%09c-21.3,43.8-31,95-34.5,140.3c-7.9,103.1,20.2,204.3,82.4,287.5c9.2,12.3,20.1,15.4,35.2,15.3c13.5-0.1,92.2-26.6,94.3-24.1%0A%09%09%09c0,0,89.2,104.8,138.8,155.4c3.9,4,7.6,7.6,11.1,10.9c41,38.7,55.1,33.2,55.1,33.2s66.2-16.5,80-60.7c13.8-44.1,68-261.3,68-261.3%0A%09%09%09s-2.5-6.5-5.6-15.8C3959.1,1845.2,3889.3,1813.7,3855.6,1746.2z" class="st16"></path>%0A%09%09<path d="M4022,1797.7c-2.8-24.8,81.8-357.6-168.2-366.8c-89.9-3.3-189,3.2-269.9,46.9%0A%09%09%09c-34.4,18.6-58.8,48.8-75.7,83.7c77.9,11.2,156.9-23.7,227.2,3c66.8,24,85.5,114.9,120.2,181.7c33.8,67.5,103.5,99,177.4,96.1%0A%09%09%09c-1.2-3.7-2.5-7.7-3.8-12.1C4026.1,1819.7,4023.1,1807.8,4022,1797.7z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09<path d="M4069.8,1569.7c-23-40.4-27.6-96.5-46-109.4c-0.8-25.3-12.8-44.3-33.2-58.9%0A%09%09%09c-26.3-18.9-66.6-30.6-114.7-39.4c-85.5-15.6-326.4,68.3-388.9,41.2c-46.2-20-44.1,85.7-44.1,85.7s-0.6,8.6,2.7,18.9%0A%09%09%09c0.8,2.6,1.9,5.3,3.4,8c6.8,13.1,21.3,26,51.9,25.5c61.6-0.9,148-35.8,156.3-17.5c8.3,18.4,0.9,143.8,12.9,163.8%0A%09%09%09c4.5,0.7,8.3,1.3,11.5,1.8c16,2.6,16,2.6,16,2.6s1.8-85.5,55.2-84.1c18.2,0.5,37.2,5.3,55.1,14.9c34.5,18.6,64.6,55.2,75.4,113.4%0A%09%09%09c16.6,88.2,147.1,77.2,147.1,77.2s2.3-7.5,5.9-19.9c5.1-17.8,12.8-45.6,20-75.9C4070,1659,4082.1,1591.2,4069.8,1569.7z" class="Graphic_x0020_Style_x0020_108"></path>%0A%09%09<polygon points="3720.5,1573.4 3453,1652.4 3452.3,1641 3736.1,1563.3" class="Graphic_x0020_Style_x0020_110"></polygon>%0A%09%09<path d="M3661.3,2544.8c-2.7-1-5.3-2.4-7.9-4.1c4.4,48.9,8.2,80.7,8.2,80.7l146.2-7.8%0A%09%09%09c0,0,5.8-43,13.8-101.1c-7.6,1.5-15.3,3.9-23,7.2C3756.1,2539,3707.8,2556.4,3661.3,2544.8z" class="Graphic_x0020_Style_x0020_106"></path>%0A%09%09<path d="M3847.5,2157.6c-42.9-65.3-126-117.2-122.4-138.8c-110.1-35.4-87.2,349.7-71.6,521.9%0A%09%09%09c2.6,1.7,5.2,3.1,7.9,4.1c46.4,11.6,94.8-5.8,137.3-25.1c7.7-3.3,15.3-5.7,23-7.2c11.1-80.9,26.4-191.1,35.8-255.6%0A%09%09%09C3859.9,2240.5,3857.5,2172.8,3847.5,2157.6z" class="st32"></path>%0A%09%09<path d="M4242.6,2242.6c0,0,36.8,108.5,119.5,116.7c-13.8,52.4,206.2,183.4,206.2,183.4l9.8-23.8l-239.8-248.8%0A%09%09%09L4242.6,2242.6z" class="st34"></path>%0A%09%09<path d="M3298.6,2799c-8.5,5.6-14.3,9.3-14.8,9.1c-2.1-0.7-22.1,19.3-22.1,19.3%0A%09%09%09s33.8,2.8,36.5,0c0.5-0.5,4.9-3.2,11.4-7C3308.5,2811.6,3304.6,2802.8,3298.6,2799z" class="Graphic_x0020_Style_x0020_108"></path>%0A%09%09<path d="M3379,2744c0,0-53.6,37.3-80.3,55c3.9,2.5,6.9,7,8.8,12.3l95.8-56.5%0A%09%09%09C3402.9,2747.5,3396.9,2742.8,3379,2744z" class="Graphic_x0020_Style_x0020_112"></path>%0A%09%09<path d="M3307.5,2811.4c1.1,2.9,1.8,6,2.3,9.1c26.5-15.5,89.9-50.9,89.9-50.9%0A%09%09%09c2.2-5.4,3.8-10.5,3.6-14.7L3307.5,2811.4z" class="Graphic_x0020_Style_x0020_110"></path>%0A%09%09<path d="M4750.6,2686.6c-104.2,18.7-203,5.3-304.6,0c-109.5-2.7-227.1-26.7-334,16%0A%09%09%09c-80.1,29.4-171-21.4-261.8-2.7c-64.6,14.9-126.9,34.4-189.1,52.1c1.8,0.1,3.8,0.2,6,0.2c37.2,0,155.8-45.5,257.9-29%0A%09%09%09s212.4,30.3,251-6.9c96.5,5.5,601.2,41.4,650.9,26.2c10.9-23.2,13.8-50.2,10.6-77.7C4808.9,2673.1,4780.3,2680.7,4750.6,2686.6z" class="Graphic_x0020_Style_x0020_111"></path>%0A%09%09<path d="M4112.1,2702.6c106.9-42.7,224.4-18.7,334-16c101.5,5.3,200.4,18.7,304.6,0c29.7-5.9,58.4-13.5,86.9-21.6%0A%09%09%09c-9.7-83.3-75.3-171.2-141.6-173.3c-45.6,12.2-90.4,22.8-134.1,31.9c-331.1,69.3-596.5,55.3-657.4,37%0A%09%09%09c-68.9-20.7-170.7,19.4-243.8,51.1c-73.1,31.7-122,56.6-95.8,74.6c-0.8,1.2-5,6.1-5.1,9.5c-0.1,3.5-5.8,5.5-8.7,8.7%0A%09%09%09c-8.6,9.5-7.7,26.2,7.4,27.1c1.8,0.1,3.6,0.3,5.3,0.6c20,3.4,31.7,17.6,60.9,4.9c30.3-4.1,30.3-4.1,30.3-4.1s-21.9,17.1,6.4,19.1%0A%09%09%09c62.2-17.7,124.5-37.2,189.1-52.1C3941.1,2681.3,4031.9,2732,4112.1,2702.6z" class="st16"></path>%0A%09%09<path d="M5017.7,2587.8c-2.7-5.3,2.7-13.4,0-18.7c-37.4-72.1-72.1-141.6-130.9-195%0A%09%09%09c-45.4-42.7-96.2-77.5-141.6-120.2c-64.1-53.4-101.5-125.6-173.7-165.6c-80.1-45.4-157.6-88.2-243.1-120.2%0A%09%09%09c-56.1-18.7-114.9-8-173.7-10.7c-8,0-13.4-8-18.7-8c-26.9-3.6-52.7-12-77.2-22.8l-4.1,6.3l-47.1,153.2l241.3,154.8%0A%09%09%09c0.7,4.9,2.5,10,5.3,15.1c70.7-21.4,153.8-12.5,210.4,35.3c58.8,50.8,77.5,133.6,138.9,176.3c50.8,37.4,117.6,48.1,155,101.5%0A%09%09%09c26.3,32.9,23.8,78.3-4.4,111.2c16.3,20,31.9,41.7,46.4,65.4c43.6,17.7,172.5,20.1,226.6-52.4%0A%09%09%09C5038.9,2660.1,5036.7,2621.8,5017.7,2587.8z" class="Graphic_x0020_Style_x0020_105"></path>%0A%09%09<path d="M4666.9,2134.6c-215.1-230.3-311.2-220.2-404.5-226.6%0A%09%09%09c-58.4-29.4-93.8-48.3-120.4-4.6c-12.4-21.6-57-17.5-57-17.5l-26.1,40.5c24.5,10.8,50.2,19.2,77.2,22.8c5.3,0,10.7,8,18.7,8%0A%09%09%09c58.8,2.7,117.6-8,173.7,10.7c85.5,32.1,163,74.8,243.1,120.2c72.1,40.1,109.5,112.2,173.7,165.6c45.4,42.7,96.2,77.5,141.6,120.2%0A%09%09%09c58.8,53.4,93.5,122.9,130.9,195c2.7,5.3-2.7,13.4,0,18.7c18.9,34.1,21.2,72.4,9.5,105.5c14.4-19.2,23.5-43.8,24.4-74.7%0A%09%09%09C5055.7,2471,4882,2364.8,4666.9,2134.6z" class="Graphic_x0020_Style_x0020_106"></path>%0A%09%09<path d="M4758.6,2569.1c-37.4-53.4-104.2-64.1-155-101.5%0A%09%09%09c-61.4-42.7-80.1-125.6-138.9-176.3c-56.5-47.8-139.6-56.7-210.4-35.3c25.1,47.2,127.1,102.1,127.1,102.1s20.7,44.1,55.2,84.1%0A%09%09%09c30.5,35.4,193.5,85.8,317.6,238.2C4782.4,2647.3,4784.9,2601.9,4758.6,2569.1z" class="Graphic_x0020_Style_x0020_106"></path>%0A%09%09<path d="M3715.8,2015.7l-33.4,5.8c0,0,86.9,194.9,81.4,227c99.3-46.4,98.4-56.1,98.4-56.1%0A%09%09%09l-7.4-38.1C3852.2,2113.2,3774.4,2063.6,3715.8,2015.7z" class="Graphic_x0020_Style_x0020_100"></path>%0A%09%09<path d="M4035.3,1825.7c0,0-127.3,345.2-108.9,400.3c60.7-14.7,108.9,4.6,108.9,4.6%0A%09%09%09s-11.5-222.5,55.6-345.6C4061.5,1845.5,4035.3,1825.7,4035.3,1825.7z" class="Graphic_x0020_Style_x0020_100"></path>%0A%09%09<path d="M3654.8,2733l130-51c-71.4,10.3-156.4,53.6-160.3,55.2C3633.4,2740.2,3654.8,2733,3654.8,2733z" class="st18"></path>%0A%09%09<path d="M3576.1,2735.8c0,0,55.9-47.6,182.8-76.5c-16.5-5.5-133.9,28.9-190.4,74.1%0A%09%09%09C3573.4,2738.5,3576.1,2735.8,3576.1,2735.8z" class="st18"></path>%0A%09%09<path d="M3558,2699.3c0,0,110.1-70.4,179-82.8c-35.9-12.4-176.2,71.6-176.2,71.6L3558,2699.3z" class="st18"></path>%0A%09%09<path d="M3834.5,1885.6c0,0-102,90.4-148.9,95c48.7,53.3,78.2,78.6,99.3,89.2%0A%09%09%09c0-99.3,91.9-168.2,83.7-237.2c-8.3-68.9-6.4-64.3-6.4-64.3S3863,1851.2,3834.5,1885.6z" class="Graphic_x0020_Style_x0020_104"></path>%0A%09%09<path d="M4897.2,2712.3c-24.8-45.5-111.6-233-210.3-220.6c0,0-65.2,9.2-99.4,20.8c-1.1,12.9,9.7,22,21.7,26.5%0A%09%09%09c104.1,32,201.6,111.9,214.5,216.4c41.8,6.1,86.6,20.3,88.3-2.4C4912.3,2747.3,4901.4,2720.1,4897.2,2712.3z" class="st20"></path>%0A%09%09<path d="M4609.1,2539c-12-4.5-22.8-13.6-21.7-26.5c-9.2,3.1-16.2,6.4-19,9.7c149.6,89.2,160.1,153.2,228.5,227.8%0A%09%09%09c9,2.3,18,4.1,26.7,5.4C4810.8,2650.9,4713.3,2571,4609.1,2539z" class="st35"></path>%0A%09%09<path d="M3389.9,2642.1c0,0-40.9-81.4-37.1-99.3c3.8-17.9-3.1-35.9,15.9-43.4c-6.2,13.8-11,29-10,45.5%0A%09%09%09c1,16.5,34.6,94,34.6,94L3389.9,2642.1z" class="st18"></path>%0A%09%09<path d="M3407,2460.9c0,0-9.2,34.9-1.9,66.6c7.4,31.7,30.8,93.9,37,97.1c6.2,3.2,6.2,3.2,6.2,3.2%0A%09%09%09S3398.3,2507.3,3407,2460.9z" class="st18"></path>%0A%09%09<path d="M3472.9,2418.4c0,0-17,55.4-15.2,76c1.8,20.7,41.7,120.8,41.7,120.8l2.9-3.5%0A%09%09%09c0,0-42.5-108.1-31.7-146c10.9-37.9,9.3-50.7,9.3-50.7L3472.9,2418.4z" class="Graphic_x0020_Style_x0020_104"></path>%0A%09%09<path d="M3537.6,2454.9c0,0-9.2,72.2,0,81.4s20.4,7.3,20.4,7.3S3539.9,2483.9,3537.6,2454.9z" class="st18"></path>%0A%09%09<path d="M3543.3,2484.1c0,0-7.6,38.4-5.8,52.2c0.7,5.4,2.5,11.2,5.6,16.5c7.7,6.5,16.6,9.4,25.4,1.7%0A%09%09%09c15.6-12.5,17.4-32.6,17.5-52.1c-0.7-2.3-1.4-4.6-2.2-7" class="st16"></path>%0A%09%09<g>%0A%09%09%09<polygon points="3466.8,1624.2 3466.8,1624.2 3466.8,1624.2" class="st9"></polygon>%0A%09%09%09<path d="M3516.4,1675.9c-7.1-21.6-14.1-34.6-21-42.6c-3.4-4-6.9-6.7-10.3-8.4%0A%09%09%09%09c-3.4-1.7-6.8-2.3-9.8-2.3c-3.4,0-6.3,0.8-8.6,1.5c-4.1,1.3-8,4.5-10.7,9.6c-2.7,5.1-4.4,12.1-4.4,21.5%0A%09%09%09%09c0,12.2,2.8,28.6,10.1,50.4c6.4,19,13.3,30.6,20.3,37.6c3.5,3.5,7.1,5.8,10.5,7.3c3.4,1.4,6.8,2,9.7,2c2.7,0,5.1-0.4,7.1-0.9%0A%09%09%09%09c2-0.5,3.5-1.1,4.4-1.4l0,0c2.9-0.9,6.2-3.2,8.5-7.4c2.3-4.2,3.8-10.1,3.8-18.4C3526.2,1713.3,3523.6,1697.9,3516.4,1675.9z%0A%09%09%09%09 M3515.7,1738.9c-1.5,2.6-3.1,3.5-4.1,3.8c-1.2,0.4-2.5,0.9-4,1.3c-1.5,0.4-3.3,0.7-5.1,0.7c-2,0-4.3-0.3-6.7-1.4%0A%09%09%09%09c-3.7-1.5-7.9-4.6-12.5-10.9c-4.6-6.2-9.4-15.6-14-29.3c-7.1-21.2-9.7-36.9-9.7-47.9c0-8.5,1.5-14.2,3.5-17.9%0A%09%09%09%09c2-3.6,4.2-5.2,6.2-5.8l0,0c2-0.6,4.1-1.1,6.3-1.1c2,0,4,0.4,6.3,1.5c3.5,1.7,7.7,5.3,12.4,12.6c4.7,7.2,9.7,18.1,14.9,33.8%0A%09%09%09%09c7.1,21.4,9.4,36.2,9.4,46C3518.5,1731.7,3517.1,1736.3,3515.7,1738.9z" class="Graphic_x0020_Style_x0020_110"></path>%0A%09%09</g>%0A%09</g>%0A%09<polygon points="4535.9,1753.6 4677.9,1982.4 4774.4,1982.4 4597.9,1697.5" class="Graphic_x0020_Style_x0020_109"></polygon>%0A%09<polygon points="4616.6,1659.7 4815.1,1982.4 4916.5,1982.4 4705.5,1586.9" class="Graphic_x0020_Style_x0020_105"></polygon>%0A%09<polygon points="4597.9,1697.5 4644.4,1704.9 4815.1,1982.4 4774.4,1982.4" class="Graphic_x0020_Style_x0020_108"></polygon>%0A%09<polygon points="4791.1,1650.6 4705.5,1586.9 4916.5,1982.4 4939.2,1982.4 4939.2,1925.9" class="Graphic_x0020_Style_x0020_107"></polygon>%0A%09<path d="M4590.7,1773.7c0,0,19.3-16,39,11c19.6,27-20.3,47.3-33.4,30.1%0A%09%09C4583.1,1797.4,4579.5,1778.2,4590.7,1773.7z" class="Graphic_x0020_Style_x0020_100"></path>%0A%09<path d="M4596.3,1780.1c0,0,13.5-11.2,27.3,7.7s-14.2,33.1-23.4,21.1%0A%09%09C4591,1796.7,4588.5,1783.2,4596.3,1780.1z" class="Graphic_x0020_Style_x0020_106"></path>%0A%09<polygon points="4609.5,1841.2 4648,1821.1 4757.4,1982.4 4699.5,1982.4" class="Graphic_x0020_Style_x0020_105"></polygon>%0A%09<ellipse ry="38.6" rx="31.7" cy="1701" cx="4703.2" class="Graphic_x0020_Style_x0020_104"></ellipse>%0A%09<polygon points="4705.5,1762.7 4757.4,1724.1 4766.2,1734.7 4712.4,1768.9" class="Graphic_x0020_Style_x0020_100"></polygon>%0A%09<polygon points="4718.4,1793 4770.3,1754.3 4779,1764.9 4725.3,1799.2" class="Graphic_x0020_Style_x0020_100"></polygon>%0A%09<polygon points="4731.2,1823.2 4783.2,1784.6 4791.9,1795.1 4738.1,1829.4" class="Graphic_x0020_Style_x0020_100"></polygon>%0A%09<g>%0A%09%09<path d="M973.4,2494.7c-1.1-7.7-1.9-15.4-2.3-22.9c9.5-13.4,26.8-31.8,52.9-40.2c23.1-6.1,15.4-16.7,6-14.3%0A%09%09%09c-6.8,1.7-40.3,15-58.6,22.4c6.9-84.5,62.6-145.2,175.4-122.9c0,0,168.2-115.8,215,66.2c-26.6-8.7-77.4-22.7-81.8-5%0A%09%09%09c-5.6,22.6,45.1-7,86.4,25.8c2.5,13.6,4.5,28.6,5.7,45.1c0.4,18.1-4.3,37.3-12.2,56.6c-19.6-23.9-69.9-81.6-86.6-63.7%0A%09%09%09c-19.3,20.6,50.3,7.3,76.9,84.6c-10.3,19.7-23.2,39-36.6,56.7c-13.9-23.9-42.7-67.9-60.7-56.8c-7.2,6.3,6.6,15.6,21,31%0A%09%09%09c9.1,9.8,20.1,29.2,27,42.1c-32.6,40-64,68.5-64,68.5s-40.6-10.2-90-29.6c-2.2-17-5.6-50,0.5-58c8.3-10.9-3.5-21.2-17.7-9.4%0A%09%09%09c-11,9.1-13.4,36.4-10.2,55.9c-20.3-9-41-19.4-60.3-31.1c3.7-24.8,13.8-80.3,30.3-90.6c10.5-9.2,2.3-22.4-22.7-3.4%0A%09%09%09c-19.2,14.5-25.3,60.3-27.2,81.1C1004.8,2558,978.2,2528.6,973.4,2494.7z" class="st10"></path>%0A%09%09<path d="M1225.4,2633.4c0,0-71-217.9-78.6-316.8" class="st11"></path>%0A%09%09<path d="M1129.2,2552.6c0,0,15.4-40.3,50.3-75.4" class="st11"></path>%0A%09%09<path d="M1261.1,2488.4c0,0-59.5-46.7-90-43.7" class="st11"></path>%0A%09%09<path d="M1052.5,2468.5c0,0,69.2-57,107.6-70.5" class="st11"></path>%0A%09%09<path d="M1243.7,2349.5c0,0-52.8-23.4-93.7-5.9" class="st11"></path>%0A%09</g>%0A%09<path d="M3360.2,3327.1c-71.4-58-182.9-129.1-345.1-184.1c-329.3-111.6-176.9-187.3-303.6-225.2%0A%09%09s-430.3-22.5-784.9-68.8s-643.1-33.1-556-162c60.4-89.4,145-152.7,191.1-183.1l-109.7,8.4c-108.3,81.3-312.5,270.2,66.8,308.2%0A%09%09c486.5,48.7,1181.1,101.9,1192.6,208.2c9.2,84.8,440.1,200.1,610.2,307.3C3334,3333.3,3346.8,3330.3,3360.2,3327.1z" class="st22"></path>%0A%09<linearGradient y2="608.8419" x2="3633.9429" y1="608.8419" x1="3431.6741" gradientUnits="userSpaceOnUse" id="SVGID_9_">%0A%09%09<stop style="stop-color:%234085F0" offset="0"></stop>%0A%09%09<stop style="stop-color:%23275DC9" offset="1"></stop>%0A%09</linearGradient>%0A%09<ellipse ry="101.1" rx="101.1" cy="608.8" cx="3532.8" class="st36"></ellipse>%0A%09<linearGradient y2="3174.8586" x2="1457.2415" y1="3174.8586" x1="1136.8959" gradientUnits="userSpaceOnUse" id="SVGID_10_">%0A%09%09<stop style="stop-color:%2368B2FC" offset="0"></stop>%0A%09%09<stop style="stop-color:%23529BF7" offset="1"></stop>%0A%09</linearGradient>%0A%09<ellipse ry="106.3" rx="160.2" cy="3174.9" cx="1297.1" class="st37"></ellipse>%0A%09<linearGradient y2="2968.6479" x2="1266.5088" y1="2968.6479" x1="1085.6805" gradientUnits="userSpaceOnUse" id="SVGID_11_">%0A%09%09<stop style="stop-color:%234085F0" offset="0"></stop>%0A%09%09<stop style="stop-color:%23275DC9" offset="1"></stop>%0A%09</linearGradient>%0A%09<ellipse ry="60" rx="90.4" cy="2968.6" cx="1176.1" class="st38"></ellipse>%0A%09<linearGradient y2="3078.0559" x2="5051.6841" y1="3078.0559" x1="4866.0625" gradientUnits="userSpaceOnUse" id="SVGID_12_">%0A%09%09<stop style="stop-color:%234085F0" offset="0"></stop>%0A%09%09<stop style="stop-color:%23275DC9" offset="1"></stop>%0A%09</linearGradient>%0A%09<ellipse ry="92.8" rx="92.8" cy="3078.1" cx="4958.9" class="st39"></ellipse>%0A%09<path d="M2285.6,3438c0,0,206.8,24.5,420.7-87.7c42.5-28.4,62.6,33.1,35.4,53.2%0A%09%09c-27.2,20.1-168.9,100.4-399.3,87.4C2216,3486.1,2239.4,3435.8,2285.6,3438z" class="Graphic_x0020_Style_x0020_100"></path>%0A</g>%0A</svg>%0A';O();ae();Fe();function Nr(){return window.location.hash.length>0}function qr(){let s=new URLSearchParams(window.location.search);if(Nr()){let e=window.location.hash,t=e.indexOf("?");if(t!==-1){let o=e.substring(t+1);new URLSearchParams(o).forEach((n,a)=>{s.set(a,n);});}}return s}function Ur(s,e){if(Nr()){let t=new URL(window.location.href);s.forEach(i=>t.searchParams.delete(i));let o=t.hash,r=o.indexOf("?");if(r!==-1){let i=o.substring(0,r),l=o.substring(r+1),p=new URLSearchParams(l);s.forEach(d=>p.delete(d));let c=p.toString();t.hash=c?`${i}?${c}`:i;}window.history.replaceState({},"",t.toString());let n=t.hash,a=n.indexOf("?");if(a!==-1){let i=n.substring(a+1);e(new URLSearchParams(i),{replace:true});}else e(new URLSearchParams,{replace:true});}else {let t=qr();s.forEach(o=>t.delete(o)),e(t,{replace:true});}}function zr(){let{token:{setToken:s}}=_(),[,e]=useSearchParams(),t=qr(),o=t.get("ticket"),r=t.get("unregistered")==="true",[n,a]=useState(r);useEffect(()=>{if(o||r){let c=[];o&&c.push("ticket"),r&&c.push("unregistered"),Ur(c,e);}},[o,r,e]);let{isLoading:i,error:l}=useQuery({queryKey:T.auth.ticketLogin(o),queryFn:()=>F.get("/api/usystem/user/login",{searchParams:{ticket:o}}).then(c=>{s(c.data?.token);}),enabled:!!o,retry:false,refetchOnWindowFocus:false,refetchOnReconnect:false});return {isLoading:i,error:l,isUnregistered:n,dismissUnregistered:()=>{a(false),r&&Ur(["unregistered"],e);}}}var Kc=({extra:s,title:e,titleStyle:t})=>{let{token:{token:o},context:{homePath:r}}=_(),{t:n}=I(),{isLoading:a,isUnregistered:i,dismissUnregistered:l}=zr(),p=encodeURIComponent(window.location.href),c=`${Is}/login?service=${p}`,d=`${Is}/logout?service=${encodeURIComponent(c)}`;return a?jsx("div",{className:"w-screen h-screen flex justify-center items-center",children:jsx(Spin,{})}):o?jsx(Navigate,{replace:true,to:r}):jsxs("div",{className:"w-screen h-screen relative overflow-hidden bg-linear-to-br from-blue-50 via-indigo-50/50 to-purple-50",children:[s&&jsx("div",{className:"absolute top-6 right-6 z-20 md:top-16 md:right-16",children:s}),jsx("div",{className:"absolute left-6 top-6 z-20 md:left-14 md:top-10",children:jsxs(Space,{align:"center",children:[jsx(Ft,{width:48}),e&&jsx("span",{className:"text-2xl font-bold bg-linear-to-r from-gray-800 to-gray-600 bg-clip-text text-transparent",style:t,children:e})]})}),jsxs("div",{className:"w-full h-full flex items-center justify-center relative",children:[jsx("div",{className:"flex absolute top-0 left-0 bottom-0 right-[550px] justify-center items-center",children:jsx("img",{src:Gr,alt:"background",className:"w-5/6 max-w-full h-auto object-contain"})}),jsx("div",{className:"absolute z-10 right-[100px] top-1/2 -translate-y-3/4 w-[450px]",children:jsx(Card,{className:"shadow-2xl rounded-2xl overflow-hidden backdrop-blur-sm border-0 transition-all duration-300 hover:shadow-[0_20px_60px_-15px_rgba(0,0,0,0.3)]",style:{background:"rgba(255, 255, 255, 0.98)",border:"1px solid rgba(0, 0, 0, 0.06)"},variant:"outlined",children:jsxs("div",{className:"px-2 py-1",children:[i&&jsx(Alert,{banner:true,closable:{onClose:l},title:n("SignIn.unregistered"),type:"error",className:"mb-6 rounded-lg border-0"}),jsx("div",{className:"mb-8 text-center",children:jsx("div",{className:"mt-4 mb-2",children:jsx(Typography.Title,{level:2,className:"mb-0! text-3xl! font-semibold bg-linear-to-r from-gray-800 via-gray-700 to-gray-600 bg-clip-text text-transparent",children:n("SignIn.welcome")})})}),jsx(Divider,{className:"my-6"}),jsx(Button,{block:true,type:"primary",size:"large",icon:jsx(LoginOutlined,{}),href:d,target:"_self",className:"h-12 text-base font-medium shadow-md hover:shadow-lg transition-all duration-200 hover:scale-[1.02]",children:n("SignIn.signInWithIDass")})]})})})]})]})},Bc=Kc;var h1=lazy(()=>Promise.resolve().then(()=>(jr(),Wr))),g1=lazy(()=>Promise.resolve().then(()=>(Yr(),Xr))),x1=lazy(()=>Promise.resolve().then(()=>(rn(),on))),b1=jsxs(Fragment,{children:[jsx(Route,{index:true,element:jsx(h1,{})}),jsx(Route,{path:"create",element:jsx(g1,{})}),jsx(Route,{path:"update/:id",element:jsx(x1,{})})]});var Vp=lazy(()=>Promise.resolve().then(()=>(Un(),Gn))),Dp=lazy(()=>Promise.resolve().then(()=>(Bn(),Kn))),Op=lazy(()=>Promise.resolve().then(()=>(jn(),Wn))),Gp=lazy(()=>Promise.resolve().then(()=>(Zn(),Jn)));var Up=jsxs(Fragment,{children:[jsxs(Route,{path:"user",children:[jsx(Route,{index:true,element:jsx(Vp,{})}),jsx(Route,{path:":id",element:jsx(Dp,{})})]}),jsxs(Route,{path:"role",children:[jsx(Route,{index:true,element:jsx(Op,{})}),jsx(Route,{path:":name",element:jsx(Gp,{})})]})]});Y();Ht();qe();
|
|
3
|
+
export{Xe as APP_ID_HEADER,ee as AuthButton,To as AuthMode,_a as DynamicTags,$t as ExpandableParagraph,Ue as FRONTEND_ROUTE_PREFIX,Tt as FilterFormWrapper,ze as Highlight,kl as InfiniteList,Ya as KeepAlive,li as KeepAliveOutlet,Wa as KeepAliveProvider,il as Layout,Ft as Logo,Ic as NotFound,Mc as OperationLogList,Pe as QueryList,_r as QueryListAction,Yl as RequireAuth,As as RequireGame,Is as SSO_URL,nc as SelectAll,Bc as SignIn,ua as ToolkitProvider,Es as UserDropdown,Me as WILDCARD,vt as createVisibilityStoreConfig,It as generateId,b1 as menuRoutes,_s as mixedStorage,Up as permissionRoutes,ke as toolkitStore,oe as useAuth,Zs as useDrawer,$s as useDrawerStore,uc as useFormDrawer,Lt as useFormModal,we as useGames,te as useInfiniteListStore,Ls as useKeepAlive,Ke as useKeepAliveContext,jt as useMenuList,to as useModal,Ys as useModalStore,z as useQueryListStore,_ as useToolkitStore};//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|