react-toolkits 2.22.6 → 2.22.7

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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # react-toolkits
2
2
 
3
+ ## 2.22.7
4
+
5
+ ### Patch Changes
6
+
7
+ - 70efaec: QueryList组件优化HTTP请求方法的处理逻辑,增强代码可读性和灵活性
8
+
3
9
  ## 2.22.6
4
10
 
5
11
  ### Patch Changes
package/lib/index.d.ts CHANGED
@@ -335,9 +335,10 @@ interface CacheConfig {
335
335
  cacheTime?: number;
336
336
  staleTime?: number;
337
337
  }
338
+ type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' | 'HEAD' | 'OPTIONS';
338
339
  interface QueryListRequestConfig extends CacheConfig {
339
340
  url: string;
340
- method?: 'GET' | 'POST';
341
+ method?: HttpMethod;
341
342
  body?: FormData | Record<string | number, any>;
342
343
  searchParams?: Record<string | number, any>;
343
344
  headers?: Record<string, string>;
package/lib/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import {jwtDecode}from'jwt-decode';import {create,useStore,createStore}from'zustand';import {persist,createJSONStorage,devtools,subscribeWithSelector}from'zustand/middleware';import*as ct from'antd';import {Spin,Menu,Modal,Form,Button,Drawer,Result,Table,Card,Input,Select,App,Space,Popconfirm,Switch,InputNumber,theme,Tag,Typography,Empty,Dropdown,Divider,Alert,Row,Col,Breadcrumb,Descriptions,Skeleton,Tooltip,Checkbox,Collapse}from'antd';import {forwardRef,memo,useRef,useMemo,useCallback,useEffect,lazy,useContext,useState,useImperativeHandle,cloneElement,Fragment as Fragment$1,Suspense,createContext,useTransition}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {isEqual,has,template,get,last,first}from'lodash-es';import {flushSync}from'react-dom';import {createRoot}from'react-dom/client';import an from'ky';import {useQuery,useInfiniteQuery,useQueryClient,useMutation}from'@tanstack/react-query';import {Link,useLocation,Routes,Route,Navigate,useNavigate,useParams}from'react-router-dom';import {Editor}from'@monaco-editor/react';import {PlusOutlined,LogoutOutlined,UserOutlined,MenuUnfoldOutlined,MenuFoldOutlined,UserAddOutlined,UsergroupAddOutlined,MinusCircleOutlined}from'@ant-design/icons';import li from'./logo-L6MFCL6M.png';import Bl from'dayjs';var da=Object.defineProperty;var v=(o,t)=>()=>(o&&(t=o(o=0)),t);var Pe=(o,t)=>{for(var e in t)da(o,e,{get:t[e],enumerable:!0});};var Ko,ua,It,at=v(()=>{Ko={getItem:o=>sessionStorage.getItem(o)||localStorage.getItem(o),setItem:(o,t)=>{sessionStorage.setItem(o,t),localStorage.setItem(o,t);},removeItem(o){sessionStorage.removeItem(o),localStorage.removeItem(o);}},ua=0,It=()=>{let o=Date.now(),t=Math.floor(Math.random()*1e3),e=++ua%1e3;return o*1e6+t*1e3+e};});var Ca,Wo,jo=v(()=>{Ca={global:{noEntitlement:"No permission, please contact the administrator.",name:"Name",creationTime:"Creation Time",operation:"Operation",update:"Update",edit:"Edit",delete:"Delete",selectAll:"Select All",game:"Game",user:"User",role:"Role",username:"Username",password:"Password",label:"Label",method:"Method",route:"Route",request:"Request",response:"Response",add:"Add",signIn:"Sign In",projectGroup:"Project Group",view:"View"},SignIn:{title:"Sign In Method",thirdParty:"Third party sign in",signInWithIDass:"Sign in with IDass",unregistered:"You are not yet registered on the platform, please contact the administrator",welcome:"Welcome"},NotFound:{subTitle:"The page you visited does not exist",buttonText:"Return to homepage"},FilterFormWrapper:{confirmText:"Search",resetText:"Reset"},FormModal:{confirmText:"Confirm",cancelText:"Cancel"},GameSelect:{label:"Current Game",placeholder:"Please select a game"},RequireGame:{description:"Please select a game"},UserWidget:{signOutText:"Sign Out"},User:{createTitle:"Create User",createSuccessfully:"User created successfully",updateTitle:"Update User",updateSuccessfully:"User updated successfully",deleteTitle:"Delete User",deleteContent:"Are you sure you want to delete user <%= user %>?",deleteSuccessfully:"User deleted successfully"},Role:{createTitle:"Create Role",createSuccessfully:"Role created successfully",updateTitle:"Update Role",updateSuccessfully:"Role updated successfully",deleteTitle:"Delete Role",deleteContent:"Are you sure you want to delete role <%= role %>?",deleteSuccessfully:"Role deleted successfully"},PermissionList:{failedDescription:"Failed to get permission list",baseSectionTitle:"Platform Basic Permissions",gameSectionTitle:"Game Permissions",gameSectionDescription:"Please select a game first",gameSelectPlaceholder:"Please select a game first",removeText:"Remove",addText:"Add Game Permissions"},RoleDetail:{title:"Role Details"},InfiniteList:{loadingText:"Loading...",reachEndText:"You've reached the end",loadMoreText:"Load more"}},Wo=Ca;});var to,ke,Te,oo,re,de=v(()=>{to="https://idaas.ifunplus.cn/enduser/api/application/plugin_FunPlus/sso/v1",ke="App-ID",Te="/console/",oo=(r=>(r.V1="v1",r.V2="v2",r.V3="v3",r))(oo||{}),re="*";});var Ho,$o=v(()=>{jo();Ho=o=>({locale:Wo,gameApiV2:!1,isGlobal:!1,signInPath:"/sign_in",mainPagePath:"/",permissionVersion:"v1",setContext(t){o(e=>({...e,...t}));}});});var Jo,Yo=v(()=>{Jo=o=>({setGameId:t=>{o({gameId:t});}});});var Xo,Zo=v(()=>{Xo=(o,t)=>({getUser:()=>{let e=t().token;if(e)try{return jwtDecode(e)}catch{return null}return null},setToken:e=>o({token:e})});});var er,tr=v(()=>{at();$o();Yo();Zo();er=o=>createStore()(persist((...t)=>{let[,e,r]=t,s=()=>{e().setToken(""),r.persist.clearStorage();};return {...Xo(...t),...Jo(...t),...Ho(...t),clearToken:s,...o}},{name:"toolkits",storage:createJSONStorage(()=>Ko),partialize:t=>({token:t.token,gameId:t.gameId,collapsed:t.collapsed})}));});function M(o){let t=useContext(ro);if(!t)throw new Error("Missing ToolkitsProvider in the tree");return useStore(t,o||(e=>e))}var ro,so,J,Va,rr=v(()=>{tr();ro=createContext(null);so=o=>{let{children:t,...e}=o,r=useRef(),s=useContext(ro)?.getState();if(r.current||(r.current=er({...s,...e})),!r.current.getState().signInPath)throw new Error('ToolkitsProvider: \u8BF7\u914D\u7F6E "signInPath"');return jsx(ro.Provider,{value:r.current,children:jsx(App,{children:t})})},J=(o,t)=>{let e=r=>jsx(so,{...t,children:jsx(o,{...r})});return e.displayName=`withContext(${o.displayName||o.name||"Component"})`,e};process.env.NODE_ENV!=="production"&&(so.displayName="ToolkitsProvider");Va=so;});var A=v(()=>{rr();});function w(){let o=M(e=>e.locale);return {t:useMemo(()=>(e,r)=>has(o,e)?template(get(o,e))(r):e,[o])}}var sr=v(()=>{A();});var z=v(()=>{sr();});var $a,it,dr=v(()=>{z();$a=o=>{let{extras:t,isConfirming:e,onConfirm:r,onReset:s,children:a,buttonsAlign:n="left",showReset:l}=o,{t:i}=w(),{token:{colorFillAlter:p,lineWidth:c,lineType:y,colorBorder:b,borderRadiusLG:x}}=theme.useToken();return jsx("div",{style:{maxWidth:"none",background:p,borderWidth:c,borderStyle:y,borderColor:b,borderRadius:x,padding:24,marginBottom:24},children:jsxs("div",{className:`flex ${n==="bottom"?"flex-col":"flex-row"}`,children:[jsx("div",{className:`${n==="left"?"flex-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:e,onClick:r,children:i("FilterFormWrapper.confirmText")}),t?.map(u=>jsx(Fragment$1,{children:u.children},u.key)),l&&jsx(Button,{onClick:s,children:i("FilterFormWrapper.resetText")})]})})]})})},it=$a;});var Pt=v(()=>{dr();});function tn(o){let t=document.createElement("div"),e=createRoot(t);return new Promise(r=>{setTimeout(()=>{flushSync(()=>{e.render(o);}),r(t.innerHTML);});})}var en,on,Fe,ur=v(()=>{en=o=>{let t=/(<[^>]*>)/;return o.split(t).filter(e=>e!=="")};on=o=>{let{texts:t,children:e}=o,[r,s]=useState("");return useEffect(()=>{tn(e).then(a=>{let n=en(a);for(let l of t)for(let i=0;i<n.length;i++)n[i]=n[i].replace(String(l),`<span style='color: #DC143C;'>${l}</span>`);s(n.join(""));});},[e,t]),jsx("div",{dangerouslySetInnerHTML:{__html:r}})},Fe=on;});var lt=v(()=>{ur();});var no,kt,ln,fr,cn,pn,mn,R,yr=v(()=>{A();de();no=[0,1,200],kt={OK:200,UNAUTHORIZED:401,FORBIDDEN:403,UNREGISTERED:412},ln=3e4,fr=o=>!o||typeof o!="object"?"Unknown error":o.msg||o.message||o.error||"Unknown error",cn=o=>{let{value:t,allowedCodes:e}=o;return t==null||typeof t!="number"?!1:e.includes(t)},pn=(o,t)=>{if(t<kt.OK||t>=300)return !1;if(!o||typeof o!="object")return !0;let e=[{field:"code",value:o.code,allowedCodes:no},{field:"status",value:o.status,allowedCodes:no},{field:"errno",value:o.errno,allowedCodes:no}];return e.some(s=>s.value!==void 0&&s.value!==null)?e.every(s=>s.value===void 0||s.value===null||cn(s)):!0},mn=async(o,t)=>{switch(t){case"blob":return o.blob();case"text":return o.text();case"arrayBuffer":return o.arrayBuffer();case"formData":return o.formData();case"json":default:return o.json()}},R=o=>{let{notification:t}=App.useApp(),e=M(),{token:r,isGlobal:s,gameId:a,permissionVersion:n,signInPath:l,clearToken:i}=e,p=()=>{i(),l&&(window.location.href=l);},c=()=>{if(i(),l){let I=new URL(l,window.location.origin);I.searchParams.set("unregistered","true"),window.location.href=I.toString();}},y=()=>{t.error({message:"\u8BBF\u95EE\u88AB\u7981\u6B62",description:"\u60A8\u6CA1\u6709\u6743\u9650\u8BBF\u95EE\u6B64\u8D44\u6E90\u3002"});},b=I=>async(k,T,B)=>{if(I==="blob"||I==="arrayBuffer"||I==="text"||I==="formData")return B;let F;try{F=await B.clone().json();}catch{return B}if(pn(F,B.status)){let H=F.data!==void 0?F.data:F;return new Response(JSON.stringify(H),{status:B.status,statusText:B.statusText,headers:B.headers})}let E=fr(F);t.error({message:"Request failed",description:E});let O=new Error(E);throw O.response=B,O.data=F,O},x=(I,k)=>{switch(I){case kt.UNAUTHORIZED:p();break;case kt.UNREGISTERED:c();break;case kt.FORBIDDEN:y();break;default:{let T=fr(k)||`HTTP ${I} Error`;t.error({message:"Request failed",description:T});break}}},d=useMemo(()=>an.create({prefixUrl:o,timeout:ln,headers:{Accept:"application/json","Content-Type":"application/json"},hooks:{beforeRequest:[k=>{r&&k.headers.set("Authorization",`Bearer ${r}`),!k.headers.has(ke)&&n!=="v1"&&(s||!a?k.headers.set(ke,"global"):k.headers.set(ke,encodeURIComponent(String(a))));}],beforeError:[async k=>{let{response:T}=k;if(T){let B=T.status,F;try{let E=T.headers.get("content-type")||"";(E.includes("application/json")||E.startsWith("text/"))&&(F=await T.clone().json());}catch{}x(B,F);}else t.error({message:"Network Error",description:k.message||"Network request failed"});return k}]}}),[o,r,s,a,n]),u=async(I,k,T,B)=>{let{responseType:F,...E}=B||{},O={...E,hooks:{...E.hooks,afterResponse:[...E.hooks?.afterResponse||[],b(F)]}},H;return T?H=await d(k,{method:I,json:T,...O}):H=await d(k,{method:I,...O}),mn(H,F)};return {get:(I,k)=>u("GET",I,void 0,k),post:(I,k,T)=>u("POST",I,k,T),put:(I,k,T)=>u("PUT",I,k,T),delete:(I,k)=>u("DELETE",I,void 0,k),patch:(I,k,T)=>u("PATCH",I,k,T),options:(I,k)=>u("OPTIONS",I,void 0,k),head:(I,k)=>u("HEAD",I,void 0,k),request:I=>{let{url:k,...T}=I;return u(T.method||"GET",k,void 0,T)},instance:d}};});var se=v(()=>{yr();});var C,be=v(()=>{C={permissions:{check:(o,t)=>["permissions","check",o,t],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,t)=>["roles","detail",o,t],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]}};});function te(o,t){let e=R(),{permissionVersion:r}=M(),s=r!=="v1"?"/api/usystem/user/checkV2":"/api/usystem/user/check",a=typeof o<"u"?typeof o=="string"?[o]:o:[],n=r!=="v1"?"v2":"v1",{data:l,...i}=useQuery({queryKey:a.length>0?C.permissions.check(a,n):["permissions","disabled"],queryFn:()=>e.post(s,{json:{permissions:a},...t}),enabled:a.length>0}),p=!0;return typeof o=="string"?p=l?.has_all?!0:l?.[o]??!1:Array.isArray(o)&&o.length>0&&(p=a.reduce((c,y)=>(c[y]=l?.has_all?!0:l?.[y]??!1,c),{})),{...i,data:p}}function Tt(){let{signInPath:o,gameId:t}=M(),e=R();return useQuery({queryKey:C.menus.navbar(t?String(t):void 0),queryFn:()=>e.get("/api/usystem/menu/navbar",{headers:{[ke]:t?encodeURIComponent(String(t)):"global"}}),enabled:window.location.pathname!==o})}var we,X=v(()=>{A();de();se();be();we=()=>{let{gameApiV2:o,permissionVersion:t}=M(),e=R(),r=t!=="v1"?o?"/api/game/list":"/api/usystem/game/all":null;return useQuery({queryKey:C.enums.gameGroups,queryFn:async()=>{if(!r)return [];let s={headers:{[ke]:"global"}};return o?(await e.get(r,s))?.list??[]:await e.get(r,s)??[]},enabled:!!r,staleTime:1/0})};});var fo,yo=v(()=>{fo=create((o,t)=>({open:new Map,usedIds:new Set,isOpen:e=>t().open.get(e)??!1,show(e){o({open:new Map(t().open).set(e,!0)});},hide(e){o({open:new Map(t().open).set(e,!1)});},hideAll(){o({open:new Map});},checkUniqueness(e){let{usedIds:r}=t();return !r.has(e)},registerIds(e){let{usedIds:r}=t();return r.has(e)?!1:(o({usedIds:new Set(r).add(e)}),!0)},cleanup(e){let{open:r,usedIds:s}=t(),a=new Map(r),n=new Set(s);a.delete(e),n.delete(e),o({open:a,usedIds:n});}}));});function go(o){let{content:t,onConfirm:e,afterOpen:r,afterClose:s,...a}=o,n=useMemo(()=>It(),[]),{show:l,hide:i,isOpen:p,cleanup:c}=fo();useEffect(()=>()=>{c(n);},[n,c]);let y=p(n),[b,x]=useState(!1),d=typeof t=="function",u=useCallback(async()=>{l(n),await r?.();},[n,l,r]),S=useCallback(()=>{i(n);},[n,i]),h=useCallback(async()=>{S(),await s?.();},[S,s]),f=useCallback(async()=>{try{x(!0),await e?.(),S(),await s?.();}catch(m){throw console.error("Modal confirm error:",m),m}finally{x(!1);}},[e,S,s]),g=jsx(Modal,{...a,open:y,confirmLoading:b,onOk:f,onCancel:h,children:d?t({hide:S}):t});return {id:n,show:u,hide:S,modal:g}}var ho=v(()=>{at();yo();});function fe(o){let{content:t,form:e,formProps:r,onConfirm:s,onSuccess:a,afterClose:n,...l}=o,[i,p]=useState({}),[c]=Form.useForm();c=e||c;let y=typeof t=="function",{id:b,show:x,hide:d,modal:u}=go({...l,content:h=>jsx(Form,{...r,form:c,children:y?t(i,h):t}),onConfirm:async()=>{try{let h=await c.validateFields();await s?.(h,i),a?.(),d();}catch(h){throw console.error("Form validation or submission error:",h),h}},afterClose:()=>{n?.(c);}}),S=useCallback(h=>{let{initialValues:f,extraValues:g}=h||{};g&&p(g),f&&c.setFieldsValue(f),x();},[c,x]);return {id:b,show:S,hide:d,modal:u}}var Gr=v(()=>{ho();});var Dt=v(()=>{Gr();ho();yo();});var Di,Z,Er=v(()=>{z();X();Di=o=>{let{children:t,code:e,showLoading:r,disabled:s,config:a,...n}=o,l=e?Array.isArray(e)?e:[e]:[],{data:i,isLoading:p}=te(l,a),{t:c}=w();return p?jsx(Button,{loading:r,disabled:!r,...n,children:t}):typeof i=="boolean"||i&&Object.values(i).some(Boolean)?jsx(Button,{disabled:s,...n,children:t}):jsx(Tooltip,{defaultOpen:!1,title:c("global.noEntitlement"),children:jsx(Button,{disabled:!0,...n,children:t})})},Z=Di;});var qe=v(()=>{Er();});var zr,zi,Ai,Y,Et=v(()=>{zr=Object.freeze({page:1,size:10,formValue:Object.freeze({})}),zi=()=>create()(devtools(subscribeWithSelector((o,t)=>({instances:new Map,registerInstance(e,r,s,a){o(n=>{let l=n.instances.get(e);if(l){if(l.refetch!==a){let c={...l,refetch:a},y=new Map(n.instances);return y.set(e,c),{instances:y}}return n}let i={id:e,url:r,queryKey:s,payload:zr,refetch:a},p=new Map(n.instances);return p.set(e,i),{instances:p}});},unregisterInstance(e){o(r=>{let s=new Map(r.instances);return s.delete(e)?{instances:s}:r});},updatePayload(e,r){o(s=>{let a=s.instances.get(e);if(!a)return s;let n={...a.payload,...r};if(!isEqual(a.payload,n)){let l={...a,payload:n},i=new Map(s.instances);return i.set(e,l),{instances:i}}return s});},getPayload(e){return t().instances.get(e)?.payload??zr},async refetch(e,r){let s=t().instances.get(e);if(!s){console.warn(`QueryList instance with id "${e}" not found`);return}let a=!1;if(r){let n=s.payload,l={...n,...r};isEqual(n,l)||(t().updatePayload(e,r),a=!0);}if(!a)try{await s.refetch();}catch(n){throw console.error(`Failed to refetch QueryList instance "${e}":`,n),n}},getInstance(e){return t().instances.get(e)},getAllInstances(){return Array.from(t().instances.values())}})),{name:"query-list-store"})),Ai=zi(),Y=Ai;});var qr,Hi,$i,Ji,Yi,Xi,Zi,el,ye,Kr=v(()=>{Pt();z();se();X();Et();qr=(s=>(s[s.Confirm=0]="Confirm",s[s.Reset=1]="Reset",s[s.Jump=2]="Jump",s[s.Init=3]="Init",s))(qr||{}),Hi=5*60*1e3,$i=30*1e3,Ji={display:"flex",justifyContent:"center",alignItems:"center",height:300},Yi=0,Xi=()=>`queryList_${Date.now()}_${++Yi}`,Zi=(o,t)=>{let{t:e}=w(),{form:r,identifier:s,code:a,onePage:n,buttonsAlign:l,showReset:i,defaultSize:p=10,refreshInterval:c=0,tableExtra:y,renderForm:b,afterSuccess:x,afterError:d,footer:u,pageSizeOptions:S,request:h,dataAdapter:f,...g}=o,[m]=Form.useForm(r),P=useMemo(()=>s||Xi(),[s]),D=useRef(3),{data:K,isLoading:I}=te(a),[k,T]=useState(!1),B=Y(V=>V.getPayload(P)),F=R(),E=useRef(!1),{page:O,size:H=p,formValue:Se}=B,Ve=typeof h=="function"?h({page:O,size:H,formValue:Se}):h,{url:De,method:Jt="GET",body:Ye,searchParams:Xe,headers:Ge,cacheTime:Ze=Hi,staleTime:xt=$i}=Ve,et={...Se,...!n&&{page:O,size:H}},me=Ye||et,bt=Xe||et,Ee=Ge,Oe=useRef(!1),tt=["queryList",De,P,O,H,Se],{data:le,isLoading:ot,refetch:rt}=useQuery({queryKey:tt,queryFn:async()=>{try{let V={method:Jt,searchParams:bt,headers:Ee};me&&(me instanceof FormData?V.body=me:V.json=me);let $=await F.request({url:De,...V});return Oe.current=!0,x?.(D.current,m,$),$}catch(V){let $=V instanceof Error?V:new Error(String(V));throw d?.($,D.current,m),$}},enabled:K&&k,retry:(V,$)=>!(V>=3||$?.message?.includes("401")),retryDelay:V=>Math.min(1e3*2**V,3e4),refetchOnWindowFocus:!1,refetchInterval:Oe.current?c:0,gcTime:Ze,staleTime:xt}),wt=useMemo(()=>{let V=f,$={total:le?.total,items:le?.list};return typeof V=="function"?{...$,...V(le)}:{...$,...V}},[f,le]);useEffect(()=>(Y.getState().registerInstance(P,De,tt,rt),()=>{Y.getState().unregisterInstance(P);}),[P,De]);let st=wt.items,vt=wt.total,Yt=useMemo(()=>n?!1:{pageSizeOptions:S,showSizeChanger:!0,showQuickJumper:!0,current:O,pageSize:H,total:vt,onChange:async(V,$)=>{D.current=2,Y.getState().refetch(P,{page:V,size:$});}},[n,S,O,H,vt,P]),L=useCallback(async()=>{D.current=0;try{await m.validateFields(),T(!0),Y.getState().refetch(P,{page:1,formValue:m.getFieldsValue()});}catch{T(!1);}},[m,P]),U=useCallback(async()=>{D.current=1,m.resetFields();try{await m.validateFields({validateOnly:!0}),T(!0),Y.getState().refetch(P,{page:1,formValue:m.getFieldsValue()});}catch{T(!1);}},[m,P]),Ce=typeof b=="function"?jsx(it,{showReset:i,buttonsAlign:l,isConfirming:ot,onReset:U,onConfirm:L,children:cloneElement(b(m),{onKeyUp:V=>{V.key==="Enter"&&L();}})}):jsx(Form,{form:m}),_e=typeof y=="function"?y(m,le):y,xe=u?()=>u(le):void 0;return useEffect(()=>{if(!K||E.current)return;let V=async()=>{try{m.resetFields();let ma=await m.validateFields({validateOnly:!0});Y.getState().updatePayload(P,{page:1,formValue:ma}),T(!0);}catch{T(!1);}finally{E.current=!0;}},$=requestAnimationFrame(()=>{Promise.resolve().then(V);});return ()=>{$&&cancelAnimationFrame($);}},[K,P,m]),useImperativeHandle(t,()=>({data:le,dataSource:st,form:m,refetch:rt}),[le,st,m,rt]),I?jsx(Spin,{style:Ji}):K?jsxs("div",{children:[Ce,_e,jsx(Table,{...g,dataSource:st,loading:ot,pagination:Yt,footer:xe})]}):jsx(Result,{status:403,subTitle:e("global.noEntitlement")})},el=forwardRef(Zi),ye=el;});var Ke=v(()=>{Kr();Et();});var Io,Br=v(()=>{Io="/api/usystem/menu/list";});function Qr(){let o=R(),t=useQueryClient();return useMutation({mutationKey:C.menus.create,mutationFn:e=>o.post("/api/usystem/menu/set",{...e,id:0,is_model:!0}),onSuccess:()=>{t.invalidateQueries({queryKey:C.menus.all}),t.invalidateQueries({queryKey:C.menus.navbar()});}})}function Wr(){let o=R(),t=useQueryClient();return useMutation({mutationKey:C.menus.update,mutationFn:e=>o.post("/api/usystem/menu/set",{...e,is_model:!0}),onSuccess:()=>{t.invalidateQueries({queryKey:C.menus.all}),t.invalidateQueries({queryKey:C.menus.navbar()});}})}function jr(){let o=R(),t=useQueryClient();return useMutation({mutationKey:C.menus.delete,mutationFn:e=>o.post("/api/usystem/menu/delete",null,{searchParams:{id:e}}),onSuccess:()=>{t.invalidateQueries({queryKey:C.menus.all}),t.invalidateQueries({queryKey:C.menus.navbar()});}})}var _o=v(()=>{se();be();});var Ot=v(()=>{Br();_o();});var $r={};Pe($r,{default:()=>ul});var dl,ul,Jr=v(()=>{lt();z();Ke();A();Ot();_o();X();dl=J(()=>{let{t:o}=w(),{message:t}=App.useApp(),e=jr(),r=Y(),{refetch:s}=Tt(),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(ye,{identifier:"menu-item-list",onePage:!0,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:l=>l?"\u662F":"\u5426"},{title:"\u6A21\u677F\u540D\u79F0",dataIndex:"model_name",key:"model_name"},{title:"\u64CD\u4F5C",key:"action",width:150,align:"center",render(l,i){return i.is_model?jsxs(Space,{size:"small",children:[jsx(Button,{type:"link",onClick:()=>{a(`./update/${i.id}`);},children:o("global.update")}),jsx(Popconfirm,{title:"\u5220\u9664\u83DC\u5355",placement:"topRight",description:jsxs(Fe,{texts:[i.category],children:["\u786E\u5B9A\u8981\u5220\u9664\u83DC\u5355 ",i.category," \u5417\uFF1F"]}),onConfirm:async()=>{await e.mutate(i.id),r.getAllInstances().filter(p=>p.url===Io).forEach(p=>r.refetch(p.id)),s(),t.success("\u5220\u9664\u6210\u529F");},children:jsx(Button,{danger:!0,type:"link",size:"small",children:o("global.delete")})})]}):null}}],request:{url:Io,method:"GET"},dataAdapter:l=>({items:l})})})})},{isGlobal:!0}),ul=dl;});var es={};Pe(es,{default:()=>vl});var wl,vl,ts=v(()=>{A();de();Ot();wl=J(()=>{let{message:o}=App.useApp(),[t]=Form.useForm(),e=useNavigate(),{mutate:r}=Qr();return jsx(Card,{title:"\u521B\u5EFA\u83DC\u5355\u9879",children:jsxs(Form,{scrollToFirstError:!0,form:t,labelCol:{flex:"120px"},initialValues:{is_common:!1,is_model:!1,order:0},onFinish:async a=>{let{permissions:n,front_route:l,...i}=a;await r({...i,front_route:Te+l,permissions:n?JSON.parse(n):void 0}),o.success("\u521B\u5EFA\u6210\u529F",.8,()=>e("..",{relative:"route"}));},children:[jsx(Form.Item,{label:"\u83DC\u5355\u9879\u540D\u79F0",name:"category",rules:[{required:!0}],children:jsx(Input,{})}),jsx(Form.Item,{label:"\u524D\u7AEF\u8DEF\u7531",name:"front_route",rules:[{required:!0}],children:jsx(Input,{prefix:Te})}),jsx(Form.Item,{label:"\u6A21\u677F\u540D\u79F0",name:"model_name",rules:[{required:!0}],children:jsx(Input,{})}),jsx(Form.Item,{label:"Is Common",name:"is_common",rules:[{required:!0}],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:!1}}})}),jsx(Form.Item,{label:"Schema",name:"scheme",rules:[{required:!0}],children:jsx(Editor,{theme:"vs-dark",height:"600px",language:"json",options:{minimap:{enabled:!1}}})}),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:()=>{e("..",{relative:"path"});},children:"\u53D6\u6D88"})]})})]})})},{isGlobal:!0}),vl=wl;});var as={};Pe(as,{default:()=>Rl});var Ml,Rl,ns=v(()=>{A();de();Ot();se();be();X();Ml=J(()=>{let{message:o}=App.useApp(),[t]=Form.useForm(),e=useNavigate(),{mutate:r}=Wr(),s=useParams(),{refetch:a}=Tt(),n=R(),{data:l,isLoading:i}=useQuery({queryKey:C.menus.detail(Number(s.id)),queryFn:()=>n.get(`/api/usystem/menu/info?id=${s.id}`),enabled:!!s.id}),p=async c=>{let{permissions:y,front_route:b,...x}=c;await r({...x,permissions:y?JSON.parse(y):void 0,front_route:Te+b,id:+s.id}),a(),o.success("\u66F4\u65B0\u6210\u529F",.8,()=>e("../..",{relative:"route"}));};return useEffect(()=>{let{permissions:c,front_route:y,...b}=l??{},x=JSON.stringify(c||[],null,2),d=y?.replace(Te,"");t.setFieldsValue({...b,permissions:x,front_route:d});},[l,t]),jsx(Card,{title:"\u66F4\u65B0\u83DC\u5355\u9879",loading:i,children:jsxs(Form,{scrollToFirstError:!0,form:t,labelCol:{flex:"120px"},initialValues:{is_common:!1,is_model:!1,order:0},onFinish:p,children:[jsx(Form.Item,{label:"\u83DC\u5355\u9879\u540D\u79F0",name:"category",rules:[{required:!0}],children:jsx(Input,{})}),jsx(Form.Item,{label:"\u524D\u7AEF\u8DEF\u7531",name:"front_route",rules:[{required:!0}],children:jsx(Input,{prefix:Te})}),jsx(Form.Item,{label:"\u6A21\u677F\u540D\u79F0",name:"model_name",rules:[{required:!0}],children:jsx(Input,{})}),jsx(Form.Item,{label:"Is Common",name:"is_common",rules:[{required:!0}],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:!1}}})}),jsx(Form.Item,{label:"Schema",name:"scheme",rules:[{required:!0}],children:jsx(Editor,{theme:"vs-dark",height:"600px",language:"json",options:{minimap:{enabled:!1}}})}),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:()=>{e("../..",{relative:"path"});},children:"\u53D6\u6D88"})]})})]})})},{isGlobal:!0}),Rl=Ml;});function Nt(){let o=R();return useQuery({queryKey:C.roles.all,queryFn:()=>o.get("/api/usystem/role/all")})}function ps(o){let t=M(s=>s.permissionVersion),e=R(),r=t==="v2"?"v2":"v1";return useQuery({queryKey:C.roles.detail(o,r),queryFn:()=>e.get(`/api/usystem/role/${r==="v2"?"infoV2":"info"}?name=${o}`)})}function ms(){let{permissionVersion:o}=M(s=>s),t=R(),e=useQueryClient(),r=o==="v2"?"v2":"v1";return useMutation({mutationKey:C.roles.create(r),mutationFn:({name:s,permissions:a})=>t.post(r==="v2"?"/api/usystem/role/createV2":"/api/usystem/role/create",{name:s,permissions:a}),onSuccess:()=>{e.invalidateQueries({queryKey:C.roles.all});}})}function ds(){let{permissionVersion:o}=M(s=>s),t=R(),e=useQueryClient(),r=o==="v2"?"v2":"v1";return useMutation({mutationKey:C.roles.update(r),mutationFn:({id:s,name:a,permissions:n})=>t.post(r==="v2"?"/api/usystem/role/updateV2":"/api/usystem/role/update",{id:s,name:a,permissions:n}),onSuccess:()=>{e.invalidateQueries({queryKey:C.roles.all});}})}function us(){let o=R(),t=useQueryClient();return useMutation({mutationKey:C.roles.delete,mutationFn:({id:e,name:r})=>o.post("/api/usystem/role/delete",{id:e,name:r}),onSuccess:()=>{t.invalidateQueries({queryKey:C.roles.all});}})}function Ro(){let o=R(),t=useQueryClient();return useMutation({mutationKey:C.users.create,mutationFn:e=>o.post("/api/usystem/user/create",e),onSuccess:()=>{t.invalidateQueries({queryKey:C.users.all});}})}function Lo(){let o=R(),t=useQueryClient();return useMutation({mutationKey:C.users.update,mutationFn:e=>o.post("/api/usystem/user/update",e),onSuccess:()=>{t.invalidateQueries({queryKey:C.users.all});}})}function fs(){let o=R(),t=useQueryClient();return useMutation({mutationKey:C.users.delete,mutationFn:({id:e,name:r})=>o.post("/api/usystem/user/delete",{id:e,name:r}),onSuccess:()=>{t.invalidateQueries({queryKey:C.users.all});}})}function ys(){let o=R();return useQuery({queryKey:C.permissions.allPermissions,queryFn:()=>o.get("/api/usystem/user/allPermssions"),staleTime:1/0})}function gs(){let o=R();return useQuery({queryKey:C.permissions.allPermissionsV2,queryFn:()=>o.get("/api/usystem/user/allPermssionsV2"),staleTime:1/0})}var je=v(()=>{A();se();be();});var Xl,dt,Eo=v(()=>{z();Xl=o=>{let{permissions:t,readonly:e,expand:r,value:s,onChange:a}=o,[n,l]=useState([]),[i,p]=useState({}),[c,y]=useState(s??[]),{t:b}=w(),[,x]=useTransition(),d=useCallback(f=>{l(f);},[]),u=(f,g)=>{let m=[];return f?m=[...new Set(c.concat(g))]:(m=c.slice(),g.forEach(P=>{let D=m.findIndex(K=>K===P);D>-1&&m.splice(D,1);})),m},S=(f,g)=>{let m=u(f.target.checked,g);y(m),a?.(m);};useEffect(()=>{y(s??[]);},[s]),useEffect(()=>{r&&x(()=>{l((t??[]).map(({category:f})=>f));});},[r,t]),useEffect(()=>{let f=(t??[]).reduce((g,m)=>(g[m.category]=m.permissions.every(P=>c?.includes(P.value)),g),{});p(f);},[c,t]);let h=(t??[]).map(f=>({key:f.category,label:f.category,extra:!e&&jsx(Checkbox,{checked:i[f.category],onChange:g=>{S(g,f.permissions?.map(m=>m.value));},children:b("global.selectAll")}),children:jsx(Checkbox.Group,{style:{width:"100%"},value:c,disabled:e,children:jsx(Row,{gutter:[10,10],style:{width:"100%"},children:f.permissions?.map(g=>jsx(Col,{span:6,children:jsx(Checkbox,{value:g.value,onChange:m=>{S(m,[g.value]);},children:g.label})},g.value))})})}));return jsx(Collapse,{style:{width:"100%"},collapsible:"header",activeKey:n,items:h,onChange:d})},dt=Xl;});var Oo,a1,n1,Is,Ss=v(()=>{z();X();je();Eo();(({Text:Oo}=Typography)),{Option:a1}=Select,n1=o=>{let{expand:t=!0,value:e,readonly:r,onChange:s}=o,{data:a,isLoading:n,error:l}=gs(),{data:i,isLoading:p}=we(),[c,y]=useState([]),b=a?.filter(f=>f.is_common),x=a?.filter(f=>!f.is_common),d=n||p,{t:u}=w();if(useEffect(()=>{let f=[];Object.keys(e??{}).forEach(g=>{g!=="global"&&f.push({gameId:g,permissions:e?.[g]??[]});}),y(f);},[e]),l)return jsx("div",{className:"flex justify-center",children:jsx(Oo,{type:"danger",children:u("PermissionList.failedDescription")})});let S=()=>{y(f=>[...f,{gameId:"",permissions:[]}]);},h=f=>{y(g=>g.filter((m,P)=>P!==f));};return jsxs("div",{className:"flex flex-col w-full",children:[jsx("div",{className:"mb-12",children:jsx(Divider,{dashed:!0,children:u("PermissionList.baseSectionTitle")})}),jsx(Skeleton,{active:!0,loading:d,children:jsx(dt,{value:e?.global,readonly:r,permissions:b,expand:t,onChange:f=>{s?.({...e,global:f});}})}),jsx("div",{className:"my-12",children:jsx(Divider,{dashed:!0,children:u("PermissionList.gameSectionTitle")})}),c.map((f,g)=>jsx(Card,{title:jsxs(Space,{children:[jsx(Oo,{children:u("global.game")}),r?jsx(Oo,{children:i?.find(m=>String(m.id)===f.gameId)?.name}):jsx(Select,{disabled:r,value:c[g].gameId||void 0,style:{width:"160px"},placeholder:u("PermissionList.gameSelectPlaceholder"),onChange:m=>{y(P=>{let D=P.slice();return D[g].gameId=m,D});},children:i?.map(m=>jsx(a1,{value:m.id,disabled:c.some(({gameId:P})=>P===String(m.id)),children:m.name},m.id))})]}),className:"mb-6",extra:!r&&jsx(Button,{type:"link",onClick:()=>{h(g);},children:u("PermissionList.removeText")}),children:c[g].gameId?jsx(Skeleton,{active:!0,loading:d,children:jsx(dt,{value:e?.[c[g].gameId],readonly:r,expand:t,permissions:x,onChange:m=>{s?.({...e,[c[g].gameId]:m});}})}):jsx(Empty,{description:u("PermissionList.gameSectionDescription")})},g)),!r&&jsx(Button,{block:!0,type:"dashed",onClick:S,children:u("PermissionList.addText")})]})},Is=n1;});var c1,p1,Cs,_s=v(()=>{z();je();Eo();(({Text:c1}=Typography)),p1=o=>{let{expand:t=!0,value:e,readonly:r,onChange:s}=o,{data:a,isLoading:n,error:l}=ys(),{t:i}=w();return l?jsx("div",{className:"flex justify-center",children:jsx(c1,{type:"danger",children:i("PermissionList.failedDescription")})}):jsx(Skeleton,{active:!0,loading:n,children:jsx(dt,{value:e,permissions:a,readonly:r,expand:t,onChange:s})})},Cs=p1;});var m1,$e,zo=v(()=>{A();Ss();_s();m1=o=>{let{value:t}=o;console.log("value",typeof t,t===null,JSON.stringify(t));let{permissionVersion:e}=M();return e==="v2"?jsx(Is,{...o,value:t}):jsx(Cs,{...o,value:t})},$e=m1;});var ks=v(()=>{zo();});var Fs,Bt,Ls=v(()=>{z();Dt();zo();je();Fs=({onSuccess:o}={})=>{let{t}=w(),{mutateAsync:e}=ms();return fe({title:t("Role.createTitle"),width:"50vw",formProps:{layout:"vertical"},content:jsxs(Fragment,{children:[jsx(Form.Item,{label:t("global.name"),name:"name",rules:[{required:!0}],children:jsx(Input,{addonBefore:"role_"})}),jsx(Form.Item,{name:"permissions",children:jsx($e,{})})]}),onConfirm:async r=>{await e({name:`role_${r.name}`,permissions:r.permissions}),o?.();}})},Bt=({onSuccess:o}={})=>{let{t}=w(),{mutateAsync:e}=ds();return fe({title:t("Role.updateTitle"),width:"50vw",formProps:{layout:"vertical"},content:jsxs(Fragment,{children:[jsx(Form.Item,{label:t("global.name"),name:"name",rules:[{required:!0}],children:jsx(Input,{disabled:!0,addonBefore:"role_"})}),jsx(Form.Item,{name:"permissions",children:jsx($e,{})})]}),onConfirm:async(r,s)=>{await e({id:s?.id,name:`role_${r.name}`,permissions:r.permissions}),o?.();}})};});var x1,b1,Es,Os,Ao,zs,As,Qt,Us=v(()=>{z();Dt();de();se();be();je();x1=o=>{let{onChange:t,...e}=o,r=R(),{data:s,isLoading:a}=useQuery({queryKey:C.enums.gameGroups,queryFn:()=>r.get("/api/enum/get?enum=game_group&type=all")}),n=[{label:"\u901A\u7528",value:re}].concat(s?.map(i=>({label:i,value:i}))??[]);return jsx(Select,{...e,allowClear:!0,showSearch:!0,mode:"tags",optionFilterProp:"label",loading:a,options:n,onChange:i=>{last(i)===re?t?.([re]):first(i)===re?t?.(i.slice(1)):t?.(i);}})},b1=o=>{let{groups:t,onChange:e,...r}=o,s=R(),{data:a,isLoading:n}=useQuery({queryKey:C.enums.gameIds(t||[]),queryFn:()=>s.get(`/api/enum/game_group/get_game_ids?game_groups=${t?.join(",")}`).then(p=>p?.list),enabled:!!t?.length}),l=a?.map(p=>({label:p.name,value:p.id}));return jsx(Select,{...r,allowClear:!0,showSearch:!0,optionFilterProp:"label",mode:"tags",loading:n,options:l,onChange:p=>{last(p)===re?e?.([re]):first(p)===re?e?.(p.slice(1)):e?.(p);}})},Es=({onSuccess:o}={})=>{let{t}=w(),{data:e,isLoading:r}=Nt(),{mutateAsync:s}=Ro();return fe({title:t("User.createTitle"),width:600,formProps:{autoComplete:"off",labelCol:{flex:"80px"}},content:jsxs(Fragment,{children:[jsx(Form.Item,{label:t("global.name"),name:"name",rules:[{required:!0}],children:jsx(Input,{})}),jsx(Form.Item,{label:t("global.role"),name:"roles",children:jsx(Select,{allowClear:!0,showSearch:!0,mode:"multiple",loading:r,optionFilterProp:"label",options:e?.map(a=>({label:a.name,value:a.name}))})})]}),onConfirm:async a=>{await s(a),o?.();}})},Os=({onSuccess:o}={})=>{let{t}=w(),{data:e,isLoading:r}=Nt(),{mutateAsync:s}=Lo();return fe({title:t("User.updateTitle"),width:600,formProps:{autoComplete:"off",labelCol:{flex:"80px"}},content:jsxs(Fragment,{children:[jsx(Form.Item,{label:t("global.name"),name:"name",rules:[{required:!0}],children:jsx(Input,{disabled:!0})}),jsx(Form.Item,{label:t("global.role"),name:"roles",children:jsx(Select,{allowClear:!0,showSearch:!0,mode:"multiple",loading:r,optionFilterProp:"label",options:e?.map(a=>({label:a.name,value:a.name}))})})]}),onConfirm:async(a,n)=>{await s({...a,id:n?.id}),o?.();}})},{Text:Ao}=Typography,zs=({isCreate:o})=>{let{t}=w(),{data:e,isLoading:r}=Nt();return jsxs(Fragment,{children:[jsx(Form.Item,{label:t("global.name"),name:"name",rules:[{required:!0}],children:jsx(Input,{disabled:!o})}),jsx(Form.List,{name:"permissions",children:(s,{add:a,remove:n})=>jsxs(Row,{gutter:8,children:[jsx(Col,{span:8,className:"text-center mb-4",children:jsx(Ao,{strong:!0,children:t("global.projectGroup")})}),jsx(Col,{span:10,className:"text-center mb-4",children:jsx(Ao,{strong:!0,children:t("global.game")})}),jsx(Col,{span:6,className:"text-center mb-4",children:jsx(Ao,{strong:!0,children:t("global.role")})}),s.map(l=>jsxs(Fragment$1,{children:[jsx(Col,{span:8,children:jsx(Form.Item,{noStyle:!0,shouldUpdate:!0,children:({setFieldValue:i})=>jsx(Form.Item,{name:[l.name,"game_group"],children:jsx(x1,{onChange:()=>{i(["permissions",l.name,"game_ids"],[]);}})})})}),jsx(Col,{span:10,children:jsx(Form.Item,{noStyle:!0,shouldUpdate:(i,p)=>i.permissions[l.name]?.game_group!==p.permissions[l.name]?.game_group,children:({getFieldValue:i})=>{let p=i(["permissions",l.name,"game_group"]);return jsx(Form.Item,{name:[l.name,"game_ids"],dependencies:[["permissions",l.name,"game_group"]],rules:[{required:p?.length,message:"\u8BF7\u9009\u62E9\u6E38\u620F"}],children:jsx(b1,{groups:p})})}})}),jsx(Col,{span:6,children:jsxs("div",{className:"flex",children:[jsx("div",{className:"flex-1",children:jsx(Form.Item,{name:[l.name,"role"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u89D2\u8272"},({getFieldValue:i})=>({validator(p,c){return i("permissions").filter((x,d)=>!!x&&d!==l.name).some(x=>x.role===c)?Promise.reject(new Error("\u8BF7\u52FF\u91CD\u590D\u9009\u62E9\u89D2\u8272")):Promise.resolve()}})],children:jsx(Select,{allowClear:!0,showSearch:!0,optionFilterProp:"label",loading:r,options:e?.map(i=>({label:i.name,value:i.name}))})})}),jsx("div",{className:"w-8 text-center",children:jsx(Form.Item,{children:jsx(MinusCircleOutlined,{onClick:()=>{n(l.name);}})})})]})})]},l.key)),s.length===0&&jsx(Col,{span:24,children:jsx(Empty,{className:"mb-6"})}),jsx(Col,{span:24,children:jsx(Button,{block:!0,type:"dashed",onClick:()=>a(),children:t("global.add")})})]})})]})},As=({onSuccess:o}={})=>{let{t}=w(),{mutateAsync:e}=Ro();return fe({title:t("User.createTitle"),width:"50vw",formProps:{autoComplete:"off",labelCol:{flex:"80px"}},content:jsx(zs,{isCreate:!0}),onConfirm:async r=>{await e(r),o?.();}})},Qt=({onSuccess:o}={})=>{let{t}=w(),{mutateAsync:e}=Lo();return fe({title:t("User.updateTitle"),width:"50vw",formProps:{autoComplete:"off",labelCol:{flex:"80px"}},content:jsx(zs,{}),onConfirm:async(r,s)=>{await e({...r,id:s?.id}),o?.();}})};});var Ns=v(()=>{Ls();Us();});var qs=v(()=>{});var ft=v(()=>{ks();Ns();je();qs();});var js={};Pe(js,{default:()=>F1});var k1,T1,F1,Hs=v(()=>{lt();z();qe();Ke();A();ft();k1="/api/usystem/user/list",T1=()=>{let{modal:o,message:t}=App.useApp(),{t:e}=w(),r=fs(),{refetch:s}=Y(),{permissionVersion:a}=M(h=>h),n=a==="v1",l=a==="v3",{show:i,modal:p}=Es({onSuccess(){s("user-list",{page:1}),t.success(e("User.createSuccessfully"));}}),{show:c,modal:y}=Os({onSuccess(){s("user-list"),t.success(e("User.updateSuccessfully"));}}),{show:b,modal:x}=As({onSuccess(){s("user-list",{page:1}),t.success(e("User.createSuccessfully"));}}),{show:d,modal:u}=Qt({onSuccess(){s("user-list"),t.success(e("User.updateSuccessfully"));}}),S=[{title:e("global.name"),dataIndex:"name",key:"name",render(h,f){return l?jsx(Link,{to:`./${f.id}`,children:h}):h}},{title:"ID",dataIndex:"id",key:"id"},(n||l)&&{title:e("global.role"),dataIndex:"roles",key:"roles",width:"40%",render(h){return jsx(Row,{gutter:[4,4],children:(h||[]).map(f=>jsx(Col,{children:f==="root"?jsx(Tag,{color:"#f50",children:f}):jsx(Tag,{color:"#ff5a00",children:jsx(Link,{to:`../role/${f}`,children:f})})},f))})}},{title:e("global.creationTime"),dataIndex:"Ctime",key:"ctime"},{title:e("global.operation"),width:150,align:"center",render:(h,f)=>{let{name:g,permissions:m,roles:P,id:D}=f;return jsxs(Space,{children:[jsx(Z,{size:"small",type:"link",code:"100003",onClick:()=>{l?d({initialValues:{name:g,permissions:m},extraValues:{id:D}}):c({initialValues:{name:g,roles:P},extraValues:{id:D}});},children:e("global.update")}),jsx(Z,{danger:!0,size:"small",code:"100004",type:"link",onClick:()=>{o.confirm({title:e("User.deleteTitle"),content:jsx(Fe,{texts:[g],children:e("User.deleteContent",{user:g})}),async onOk(){await r.mutate({id:D,name:g}),s("user-list"),t.success(e("User.deleteSuccessfully"));}});},children:e("global.delete")})]})}}].filter(Boolean);return jsxs(Fragment,{children:[jsx(Card,{title:e("global.user"),extra:jsx(Z,{type:"primary",icon:jsx(UserAddOutlined,{}),code:"100002",onClick:()=>{l?b():i();},children:e("User.createTitle")}),children:jsx(ye,{identifier:"user-list",code:"100001",request:{url:k1,method:"GET"},rowKey:"id",columns:S,dataAdapter:h=>({total:h?.Total,items:h?.List}),renderForm:l?h=>jsx(Form,{form:h,children:jsx(Form.Item,{label:"\u540D\u79F0",name:"name",children:jsx(Input,{})})}):void 0})}),p,y,x,u]})},F1=J(T1,{isGlobal:!0});});var Xs={};Pe(Xs,{default:()=>z1});var O1,z1,Zs=v(()=>{z();qe();A();de();ft();se();be();X();O1=()=>{let{message:o}=App.useApp(),t=useParams(),{t:e}=w(),{gameApiV2:r}=M(),s=R(),{data:a,isLoading:n,refetch:l}=useQuery({queryKey:C.users.detail(t.id||""),queryFn:()=>s.get(`/api/usystem/user/info?id=${t.id}`),enabled:!!t.id}),{data:i}=we(),{data:p}=te("200005"),{show:c,modal:y}=Qt({onSuccess(){l(),o.success(e("User.updateSuccessfully"));}}),b=[{key:"group",title:e("global.projectGroup"),dataIndex:"game_group",render(x){return x.map(d=>jsx(Tag,{children:d===re?"\u901A\u7528":d},d))}},{key:"game",title:e("global.game"),dataIndex:"game_ids",render(x){return x.map(d=>{let u=i?.find(S=>String(r?S.game_id:S.id)===d);return jsx(Tag,{children:u?.name??(d===re?"\u901A\u7528":d)},d)})}},{key:"role",title:e("global.role"),dataIndex:"role",render(x){return p?jsx(Link,{to:`../../role/${x}`,relative:"path",children:x}):x}}];return jsxs(Fragment,{children:[jsx(Breadcrumb,{style:{marginBottom:"1.5rem"},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:n,extra:jsx(Z,{code:"100003",onClick:()=>{c({initialValues:{name:a?.name,permissions:a?.permissions},extraValues:{id:a.id}});},children:e("global.update")}),children:jsxs(Descriptions,{bordered:!0,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:b,dataSource:a?.permissions,pagination:!1})})]})}),y]})},z1=O1;});var oa={};Pe(oa,{default:()=>j1});var Q1,W1,j1,ra=v(()=>{lt();z();qe();Ke();Et();A();ft();se();X();Q1="/api/usystem/role/list",W1=()=>{let{modal:o,message:t}=App.useApp(),{data:e}=te("200005"),{t:r}=w(),{permissionVersion:s}=M(d=>d),{refetch:a}=Y(),n=R(),{show:l,modal:i}=Fs({onSuccess(){a("role-list",{page:1}),t.success(r("Role.createSuccessfully"));}}),{show:p,modal:c}=Bt({onSuccess(){a("role-list"),t.success(r("Role.updateSuccessfully"));}}),y=us(),b=async d=>{let u=await n.get(`/api/usystem/role/info${s==="v2"?"V2":""}?name=${d.name}`);p({initialValues:{permissions:u.permissions,name:u.name.replace(/^role_/,"")},extraValues:{id:u?.id}});},x=[{title:r("global.name"),key:"name",render(d){return e?jsx(Link,{to:`${d.name}`,relative:"path",children:d.name}):jsx(Fragment,{children:d.name})}},{title:"ID",dataIndex:"id",key:"id"},{title:r("global.creationTime"),dataIndex:"ctime",key:"ctime"},{title:r("global.operation"),width:150,align:"center",render:(d,u)=>jsxs(Space,{size:"small",children:[jsx(Z,{code:"200003",size:"small",type:"link",onClick:async()=>{b(u);},children:r("global.update")}),jsx(Z,{danger:!0,code:"200004",size:"small",type:"link",onClick:()=>{o.confirm({title:r("Role.deleteTitle"),content:jsx(Fe,{texts:[u.name],children:r("Role.deleteContent",{role:u.name})}),async onOk(){await y.mutate({id:u.id,name:u.name}),a("role-list"),t.success(r("Role.deleteSuccessfully"));}});},children:r("global.delete")})]})}];return jsxs(Fragment,{children:[jsx(Card,{title:r("global.role"),extra:jsx(Z,{type:"primary",code:"200002",icon:jsx(UsergroupAddOutlined,{}),onClick:()=>{l();},children:r("Role.createTitle")}),children:jsx(ye,{identifier:"role-list",rowKey:"name",columns:x,code:"200001",request:{url:Q1,method:"GET"},dataAdapter:d=>({total:d?.Total,items:d?.List})})}),i,c]})},j1=J(W1,{isGlobal:!0});});var sa={};Pe(sa,{default:()=>rc});var oc,rc,aa=v(()=>{z();qe();A();ft();be();oc=()=>{let{message:o}=App.useApp(),t=useParams(),{t:e}=w(),r=useQueryClient(),{permissionVersion:s}=M(),{data:a,isLoading:n}=ps(t.name),{show:l,modal:i}=Bt({onSuccess(){let c=s==="v2"?"v2":"v1";r.invalidateQueries({queryKey:C.roles.detail(t.name,c)}),o.success(e("Role.updateSuccessfully"));}}),p=async()=>{l({initialValues:{permissions:a?.permissions,name:a?.name.replace(/^role_/,"")},extraValues:{id:a.id}});};return jsxs(Fragment,{children:[jsx(Breadcrumb,{style:{marginBottom:"1.5rem"},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(Z,{code:"200003",onClick:p,children:e("global.update")}),children:jsxs(Skeleton,{loading:n,children:[jsxs(Descriptions,{column:2,layout:"vertical",className:"mb-6",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.creationTime"),children:a?.ctime})]}),jsx(Divider,{}),jsx($e,{readonly:!0,value:a?.permissions})]})}),i]})},rc=J(oc,{isGlobal:!0});});at();var Xt=create((o,t)=>({open:new Map,usedIds:new Set,isOpen:e=>t().open.get(e)??!1,show(e){o({open:new Map(t().open).set(e,!0)});},hide(e){o({open:new Map(t().open).set(e,!1)});},hideAll(){o({open:new Map});},checkUniqueness(e){let{usedIds:r}=t();return !r.has(e)},registerIds(e){let{usedIds:r}=t();return r.has(e)?!1:(o({usedIds:new Set(r).add(e)}),!0)},cleanup(e){let{open:r,usedIds:s}=t(),a=new Map(r),n=new Set(s);a.delete(e),n.delete(e),o({open:a,usedIds:n});}}));function eo(o){let{content:t,onConfirm:e,afterOpen:r,afterClose:s,footer:a,confirmText:n="\u786E\u8BA4",cancelText:l="\u53D6\u6D88",confirmButtonProps:i,cancelButtonProps:p,...c}=o,y=useMemo(()=>It(),[]),{show:b,hide:x,isOpen:d,cleanup:u}=Xt();useEffect(()=>()=>{u(y);},[y,u]);let S=d(y),[h,f]=useState(!1),g=typeof t=="function",m=useCallback(async()=>{b(y),await r?.();},[y,b,r]),P=useCallback(()=>{x(y);},[y,x]),D=useCallback(async()=>{P(),await s?.();},[P,s]),K=useCallback(async()=>{try{f(!0),await e?.();}catch(T){throw console.error("Drawer confirm error:",T),T}finally{f(!1);}},[e]),I=a!==void 0?a:jsxs("div",{className:"flex gap-4 mx-4",children:[jsx(Button,{type:"primary",loading:h,...i,onClick:K,children:n}),jsx(Button,{...p,onClick:D,children:l})]}),k=jsx(Drawer,{...c,open:S,footer:I,onClose:D,children:g?t({hide:P}):t});return {id:y,show:m,hide:P,confirmLoading:h,drawer:k}}function Ia(o){let{content:t,form:e,formProps:r,onConfirm:s,onSuccess:a,afterClose:n,...l}=o,[i,p]=useState({}),[c]=Form.useForm();c=e||c;let y=typeof t=="function",{id:b,show:x,hide:d,drawer:u}=eo({...l,content:h=>jsx(Form,{...r,form:c,children:y?t(i,h):t}),onConfirm:async()=>{try{let h=await c.validateFields();await s?.(h,i),a?.(),d();}catch(h){throw console.error("Form validation or submission error:",h),h}},afterClose:()=>{n?.(c);}}),S=useCallback(h=>{let{initialValues:f,extraValues:g}=h||{};g&&p(g),f&&c.setFieldsValue(f),x();},[c,x]);return {id:b,show:S,hide:d,drawer:u}}z();var Ua=o=>{let{initialTags:t,addable:e,removable:r,addCallback:s,removeCallback:a}=o,{t:n}=w(),{token:l}=theme.useToken(),[i,p]=useState([]),[c,y]=useState(!1),[b,x]=useState(""),[d,u]=useState(-1),[S,h]=useState(""),f=useRef(null),g=useRef(null);useEffect(()=>{p(t??[]);},[t]),useEffect(()=>{c&&f.current?.focus();},[c]),useEffect(()=>{g.current?.focus();},[b]);let m=async F=>{if(await a?.(F)){let O=i.filter(H=>H!==F);p(O);}},P=()=>{y(!0);},D=F=>{x(F.target.value);},K=async()=>{b&&i.indexOf(b)===-1&&await s?.(b)&&p([...i,b]),y(!1),x("");},I=F=>{h(F.target.value);},k=()=>{let F=[...i];F[d]=S,p(F),u(-1),x("");},T={width:78,verticalAlign:"top"},B={background:l.colorBgContainer,borderStyle:"dashed"};return jsxs(Space,{wrap:!0,size:[0,8],children:[jsx(Space,{wrap:!0,size:[0,8],children:i.map((F,E)=>d===E?jsx(Input,{ref:g,size:"small",style:T,value:S,onChange:I,onBlur:k,onPressEnter:k},F):jsx(Tag,{closable:r,style:{userSelect:"none"},onClose:async O=>{O.preventDefault(),await m(F);},children:jsx("span",{onDoubleClick:O=>{E!==0&&(u(E),h(F),O.preventDefault());},children:F})},F))}),e&&(c?jsx(Input,{ref:f,type:"text",size:"small",style:T,value:b,onChange:D,onBlur:K,onPressEnter:K}):jsxs(Tag,{style:B,onClick:P,children:[jsx(PlusOutlined,{}),"\xA0",n("global.add")]}))]})},Na=Ua;var Ba=o=>{let{children:t,...e}=o,[r,s]=useState(!1);return jsx(Typography.Paragraph,{...e,className:"mb-0",ellipsis:{rows:2,expandable:"collapsible",expanded:r,onExpand:(a,n)=>{s(n.expanded);}},children:t})},_t=Ba;Pt();lt();Pt();z();se();X();var yn=()=>create()(devtools(subscribeWithSelector((o,t)=>({instances:new Map,registerInstance(e,r,s,a,n){o(l=>{let i=l.instances.get(e);if(i){let y={...i,refetch:a,fetchNextPage:n},b=new Map(l.instances);return b.set(e,y),{instances:b}}let p={id:e,url:r,queryKey:s,payload:{page:0,formValue:{}},refetch:a,fetchNextPage:n},c=new Map(l.instances);return c.set(e,p),{instances:c}});},unregisterInstance(e){o(r=>{let s=new Map(r.instances);return s.delete(e)?{instances:s}:r});},updatePayload(e,r){o(s=>{let a=s.instances.get(e);if(!a)return s;let n={...a.payload,...r};if(!isEqual(a.payload,n)){let l={...a,payload:n},i=new Map(s.instances);return i.set(e,l),{instances:i}}return s});},getPayload(e){return t().instances.get(e)?.payload??{page:0,formValue:{}}},async refetch(e,r){let s=t().instances.get(e);if(!s){console.warn(`InfiniteList instance with id "${e}" not found`);return}if(r){let a=s.payload,n={...a,...r};isEqual(a,n)||t().updatePayload(e,r);}try{await s.refetch();}catch(a){throw console.error(`Failed to refetch InfiniteList instance "${e}":`,a),a}},async fetchNextPage(e){let r=t().instances.get(e);if(!r){console.warn(`InfiniteList instance with id "${e}" not found`);return}try{await r.fetchNextPage();}catch(s){throw console.error(`Failed to fetch next page for InfiniteList instance "${e}":`,s),s}},getInstance(e){return t().instances.get(e)},getAllInstances(){return Array.from(t().instances.values())}})),{name:"infinite-list-store"})),gn=yn(),ce=gn;var kn=(o,t)=>{let r={refreshInterval:0,initialPageParam:0,...o,dataAdapter:{...{items:L=>L?L.flatMap(U=>U?.list||U||[]):[],hasMore:L=>{if(!L)return !1;let U=L;return U?.hasMore||U?.has_more||!1},nextPageParam:(L,U,Ce)=>(xe=>{if(!xe)return !1;let V=xe;return V?.hasMore||V?.has_more||!1})(L)?U.length:void 0},...o.dataAdapter}},{identifier:s,code:a,buttonsAlign:n,showReset:l,refreshInterval:i,request:p,tableExtra:c,renderForm:y,afterSuccess:b,afterError:x,dataAdapter:d,initialPageParam:u,footer:S,form:h,...f}=r,{t:g}=w(),[m]=Form.useForm(h),[P,D]=useState(!1),K=useRef(!1),I=useRef(3),k=R(),{data:T,isLoading:B}=te(a),F=useCallback(()=>ce.getState().getPayload(s),[s]),E=useMemo(()=>m,[m]),{url:O,method:H="GET",body:Se,params:ht,headers:Ve,cacheTime:De=5*60*1e3,staleTime:Jt=0}=p,Ye=useMemo(()=>typeof Ve=="function"?Ve(E):Ve,[Ve,E]),Xe=useMemo(()=>{let L=F();return [O,s,T,P,L,Ye]},[O,s,T,P,F,Ye]),{data:Ge,fetchNextPage:Ze,hasNextPage:xt,isFetchingNextPage:et,refetch:me,isFetching:bt}=useInfiniteQuery({queryKey:Xe,queryFn:async({pageParam:L=u})=>{try{let U=F(),Ce=typeof ht=="function"?ht(U,L):ht,_e=typeof Se=="function"?Se(U,L):Se,xe={method:H,searchParams:Ce,headers:Ye};_e&&(_e instanceof FormData?xe.body=_e:xe.json=_e);let V=await k.request({url:O,...xe});return K.current=!0,b?.(I.current,E,[V]),V}catch(U){let Ce=U instanceof Error?U:new Error(String(U));throw x?.(Ce,I.current,E),Ce}},initialPageParam:u,getNextPageParam:(L,U)=>d?.nextPageParam?.(L,U,u),enabled:T&&P,retry:(L,U)=>!(L>=3||U?.message?.includes("401")),retryDelay:L=>Math.min(1e3*2**L,3e4),refetchOnWindowFocus:!1,refetchInterval:K.current?i:0,gcTime:De,staleTime:Jt});useEffect(()=>(ce.getState().registerInstance(s,O,Xe,me,Ze),()=>{ce.getState().unregisterInstance(s);}),[s,O,Xe,me,Ze]);let Ee=d?.items?.(Ge?.pages,E),Oe=et,tt=!xt,le=!Ee||Ee.length===0,ot=async()=>{I.current=0;let L=await m.getFieldsValue();try{await m.validateFields(),D(!0),ce.getState().updatePayload(s,{page:0,formValue:L}),me();}catch{D(!1);}},rt=()=>{I.current=2,Ze();},wt=async()=>{I.current=1;try{m.resetFields();let L=await m.getFieldsValue();ce.getState().updatePayload(s,{page:0,formValue:L}),await m.validateFields({validateOnly:!0}),me();}catch{}};if(useEffect(()=>{setTimeout(()=>{T&&m.validateFields({validateOnly:!0}).then(L=>{D(!0),ce.getState().updatePayload(s,{page:0,formValue:L});}).catch(()=>{D(!1);});},300);},[T,m,s]),useImperativeHandle(t,()=>({data:Ge?.pages,dataSource:Ee,form:m,refetch:()=>ce.getState().refetch(s),fetchNextPage:()=>ce.getState().fetchNextPage(s),hasNextPage:!!xt,isFetchingNextPage:et})),B)return jsx(Spin,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:300}});if(!T)return jsx(Result,{status:403,subTitle:g("global.noEntitlement")});let st=S&&(()=>S(Ge?.pages)),vt=()=>typeof c=="function"?c(E,Ge?.pages):c,Yt=typeof y=="function"?jsx(it,{showReset:l,buttonsAlign:n,isConfirming:bt,onReset:wt,onConfirm:ot,children:cloneElement(y(m),{onKeyUp:L=>{L.key==="Enter"&&ot();}})}):jsx(Form,{form:m});return jsxs(Fragment,{children:[Yt,vt(),jsx("div",{style:{minHeight:"400px"},children:jsx(Table,{...f,dataSource:Ee,loading:bt,pagination:!1,footer:st})}),!le&&jsx(Button,{block:!0,loading:Oe,type:"link",htmlType:"button",disabled:Oe||tt,onClick:rt,children:g(Oe?"InfiniteList.loadingText":tt?"InfiniteList.reachEndText":"InfiniteList.loadMoreText")})]})},Tn=forwardRef(kn),Fn=Tn;var wr=create()(persist((o,t)=>({openKeys:[],setOpenKeys:e=>{let r=t();(r.openKeys.length!==e.length||!r.openKeys.every((s,a)=>s===e[a]))&&o({openKeys:e});},selectedKeys:[],setSelectedKeys:e=>{let r=t();(r.selectedKeys.length!==e.length||!r.selectedKeys.every((s,a)=>s===e[a]))&&o({selectedKeys:e});}}),{name:"nav",storage:createJSONStorage(()=>localStorage),partialize:o=>({openKeys:o.openKeys,selectedKeys:o.selectedKeys}),skipHydration:!1,version:1}));var vr=memo(({to:o,children:t})=>jsx(Link,{to:o,children:t}));vr.displayName="MemoizedLink";function Ft(o){let t=[];if(o)for(let e=0;e<o.length;e++)if(o[e]===null||o[e].type==="divider")t[e]=o[e];else if(o[e].children){let{children:r,...s}=o[e];t[e]={...s,children:Ft(r)};}else {let{route:r,label:s,...a}=o[e],n=r?jsx(vr,{to:r,children:s}):s;t[e]={...a,label:n};}return t}function Mt(o,t=[],e=[]){for(let r of o){let s=r?.children;if(Array.isArray(s)){let a=r.type!=="group"&&r.key?[...e,r.key]:e;Mt(s,t,a);}else r&&t.push(Object.assign(r,{keypath:e}));}return t}var _r=memo(function(t){let{items:e=[],theme:r,loading:s}=t,a=useLocation(),n=useRef(),l=useRef(),i=useMemo(()=>n.current===e?n.current?Mt(n.current):[]:(n.current=e,Mt(e)),[e]),p=useMemo(()=>n.current===e?n.current?Ft(n.current):[]:Ft(e),[e]),{openKeys:c,selectedKeys:y,setOpenKeys:b,setSelectedKeys:x}=wr(),d=useCallback(u=>{let S=u.find(h=>!c.includes(h));if(S){let h=i.find(g=>g.key===S),f=h?.keypath?[...h.keypath,S]:[S];b(f);}else b(u);},[i,c,b]);return useEffect(()=>{if(l.current===a.pathname)return;l.current=a.pathname;let u=i.find(S=>a.pathname===S.route);if(u){let S=u.key,h=u.keypath;(y[0]!==S||!c.every((f,g)=>f===h[g]))&&(x([S]),b(h));}},[i,a.pathname,y,c,x,b]),s?jsx("div",{className:"flex justify-center items-center",style:{height:"calc(100vh - 64px)"},children:jsx(Spin,{})}):jsx(Menu,{theme:r,style:{borderRight:"none"},items:p,mode:"inline",openKeys:c,selectedKeys:y,onOpenChange:d})});process.env.NODE_ENV==="development"&&(_r.displayName="NavMenu");var po=_r;z();A();X();var {Spin:Qn}=ct,Wn=({children:o})=>{let{permissionVersion:t,gameId:e,isGlobal:r}=M(n=>n),{isLoading:s}=we(),{t:a}=w();return s?jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:400},children:jsx(Qn,{})}):t==="v1"||r?o:e?jsx(Fragment$1,{children:o},e):jsx(Empty,{image:Empty.PRESENTED_IMAGE_SIMPLE,description:a("RequireGame.description")})},mo=Wn;A();z();A();var Xn=()=>{let{t:o}=w(),t=useNavigate(),{clearToken:e,getUser:r,signInPath:s}=M(c=>c),a=r(),n=()=>{e(),t(s);},l=c=>{(c.key==="Enter"||c.key===" ")&&(c.preventDefault(),n());},i=c=>{(c.key==="Enter"||c.key===" ")&&c.preventDefault();},p=[{key:"1",icon:jsx(LogoutOutlined,{}),label:jsx("a",{role:"button",tabIndex:0,onClick:n,onKeyDown:l,children:o("UserWidget.signOutText")})}];return jsx("div",{children:jsx(Dropdown,{menu:{selectable:!0,items:p},placement:"bottomRight",children:jsx("a",{role:"button",tabIndex:0,onClick:c=>{c.preventDefault();},onKeyDown:i,children:jsxs(Space,{align:"center",children:[jsx("span",{children:a?.authorityId}),jsx(UserOutlined,{style:{fontSize:"16px"}})]})})})})},uo=Xn;z();A();X();var{Text:ai}=Typography,ni=o=>{let{filter:t,options:e}=o,{t:r}=w(),{gameApiV2:s,gameId:a,setGameId:n}=M(d=>d),{data:l,isLoading:i}=we(),p=useQueryClient(),c=l?.filter(d=>t?.(d)??!0),y=typeof e=="function"?e(c):c?.map(d=>({label:d.name,value:s?d.game_id:d.id})),b=d=>{x(),n(d);},x=()=>{p.removeQueries({predicate:d=>{let u=d.queryKey;return !u.includes("/api/game/list")&&!u.includes("/api/usystem/game/all")}});};return useEffect(()=>{if(l&&l.length>0){let d=s?l[0].game_id:l[0].id;l.every(u=>String(u.game_id||u.id)!==String(a))&&n(d);}},[l]),jsxs(Space,{children:[jsx(ai,{children:r("GameSelect.label")}),jsx(Select,{showSearch:!0,optionFilterProp:"label",value:a,placeholder:r("GameSelect.placeholder"),loading:i,style:{width:"200px"},options:y,onChange:b})]})},Tr=ni;var ci=o=>jsx("img",{src:li,alt:"logo",...o}),Ue=ci;var Mr=memo(({title:o,subtitle:t,mainPagePath:e,collapsed:r})=>jsxs("div",{className:"px-6 py-2 font-bold relative bg-gradient-to-r from-white to-gray-50/30",style:{height:"auto",display:"flex",flexDirection:"column",justifyContent:"center",backdropFilter:"blur(4px)",WebkitBackdropFilter:"blur(4px)"},children:[jsxs("div",{className:`flex items-center w-full ${r?"justify-center":""}`,children:[jsx(Link,{to:e,className:"hover:opacity-80 transition-all duration-300 ease-out block rounded-lg p-1 hover:bg-white/50 hover:shadow-sm",style:{transition:"all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)",opacity:r?.8:1,transform:"translateX(0)"},children:jsx(Ue,{width:36,style:{objectFit:"contain",display:"block",filter:"drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05))",transition:"all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)"}})}),o&&jsx("div",{className:"ml-4 overflow-hidden min-w-0",style:{transition:"all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)",opacity:r?0:1,width:r?"0px":"auto",marginLeft:r?"0px":"16px",transform:r?"translateX(-8px)":"translateX(0)"},children:jsx(Link,{to:e,className:"text-xl leading-tight hover:text-blue-600 transition-all duration-300 font-bold text-ellipsis overflow-hidden whitespace-nowrap block bg-gradient-to-r from-gray-800 to-gray-600 bg-clip-text text-transparent hover:from-blue-600 hover:to-blue-500",title:o,style:{letterSpacing:"0.02em",textShadow:"0 1px 2px rgba(0, 0, 0, 0.05)"},children:o})})]}),jsx("div",{className:"w-full mt-2 overflow-hidden",style:{height:t&&!r?"20px":"1px",transition:"height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)"},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:{opacity:!t||r?1:0,transition:"opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)"}}),t&&jsxs("div",{className:"flex items-center w-full text-sm",style:{opacity:r?0:1,transform:r?"translateY(-3px)":"translateY(0)",transition:"all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)"},children:[jsx("div",{className:"flex-1 border-t border-gray-200"}),jsx("span",{className:"px-3 text-gray-500 font-medium whitespace-nowrap",title:t,children:t}),jsx("div",{className:"flex-1 border-t border-gray-200"})]})]})})]}));Mr.displayName="LayoutHeader";var Rr=Mr;var {Spin:hi,theme:xi}=ct,{Header:bi,Sider:wi,Content:vi}=ct.Layout,Ii=o=>{let{collapsible:t,isMenuLoading:e,items:r,headerExtra:s,children:a,navWidth:n,filter:l,gameSelectOptions:i,title:p,subtitle:c}=o,{token:{colorBgContainer:y,colorBorder:b}}=xi.useToken(),{permissionVersion:x,navWidth:d,collapsible:u,mainPagePath:S,collapsed:h,setContext:f,isGlobal:g}=M(),[m,P]=useState(h),D=async()=>{P(!m),f({collapsed:!m});},K=t??u??!1;return jsxs(ct.Layout,{children:[jsxs(wi,{collapsible:K,theme:"light",trigger:null,collapsed:m,width:n??d,style:{height:"100vh",overflowX:"hidden",overflowY:"auto",borderRightWidth:1,borderRightStyle:"solid",borderRightColor:b,transition:"all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1)"},children:[jsx(Rr,{title:p,subtitle:c,mainPagePath:S,collapsed:m||!1}),jsx(po,{items:r,loading:e})]}),jsxs(ct.Layout,{children:[jsx(bi,{style:{padding:"0 24px",background:y},children:jsxs("div",{className:"flex justify-between items-center h-full",children:[jsxs(Space,{size:"small",split:jsx(Divider,{type:"vertical"}),className:"mr-6",children:[K&&jsx(Button,{type:"text",icon:m?jsx(MenuUnfoldOutlined,{}):jsx(MenuFoldOutlined,{}),style:{fontSize:"16px"},onClick:D}),x!=="v1"&&!g&&jsx(Tr,{filter:l,options:i}),s?.left?.map(I=>jsx("span",{children:I.children},I.key))]}),jsxs(Space,{size:"small",split:jsx(Divider,{type:"vertical"}),children:[s?.right?.map(I=>jsx("span",{children:I.children},I.key)),jsx(uo,{})]})]})}),jsx(vi,{style:{overflow:"auto",padding:"24px 16px",maxHeight:"calc(100vh - 64px)",transition:"margin-left 0.2s cubic-bezier(0.645, 0.045, 0.355, 1)"},children:jsx(Suspense,{fallback:jsx(hi,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"200px"}}),children:jsx(mo,{children:a})})})]})]})},Si=Ii;Dt();qe();Ke();z();X();var sl=o=>{let{code:t,config:e,children:r}=o,{data:s,isLoading:a}=te(t,e),{t:n}=w();return a?jsx(Spin,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:200}}):s?jsx(Fragment,{children:r}):jsx(Result,{status:"403",subTitle:n("global.noEntitlement")})},al=sl;A();de();var Vl=lazy(()=>Promise.resolve().then(()=>(Jr(),$r))),Dl=lazy(()=>Promise.resolve().then(()=>(ts(),es))),Gl=lazy(()=>Promise.resolve().then(()=>(ns(),as))),El=jsxs(Routes,{children:[jsx(Route,{index:!0,element:jsx(Vl,{})}),jsx(Route,{path:"create",element:jsx(Dl,{})}),jsx(Route,{path:"update/:id",element:jsx(Gl,{})})]});z();var Nl=o=>{let{redirectUrl:t}=o,e=useNavigate(),{t:r}=w();return jsx("div",{className:"text-center",children:jsx(Result,{status:"404",title:"404",subTitle:r("NotFound.subTitle"),extra:t&&jsx(Button,{type:"primary",onClick:()=>{e(t);},children:r("NotFound.buttonText")})})})},ql=Nl;z();Ke();A();var {Option:is}=Select,Ql=()=>{let{t:o}=w(),t=[{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(e){return jsx(_t,{children:e})}},{key:"response",title:o("global.response"),dataIndex:"response",render(e){return jsx(_t,{children:e})}},{key:"creation_time",title:o("global.creationTime"),dataIndex:"ctime",width:200,render(e){return Bl(e).format("YYYY-MM-DD HH:mm:ss")}}];return jsx(Card,{title:"\u64CD\u4F5C\u65E5\u5FD7",children:jsx(ye,{identifier:"operation-log-list",rowKey:"id",code:"300001",columns:t,tableLayout:"fixed",request:{url:"/api/usystem/log/list",method:"GET"},dataAdapter:e=>({total:e?.Total,items:e?.List}),renderForm:e=>jsxs(Form,{form:e,layout:"inline",children:[jsx(Form.Item,{label:o("global.username"),name:"uname",children:jsx(Input,{allowClear:!0})}),jsx(Form.Item,{label:o("global.route"),name:"route",children:jsx(Input,{allowClear:!0})}),jsx(Form.Item,{label:o("global.method"),name:"method",children:jsxs(Select,{allowClear:!0,style:{width:"100px"},children:[jsx(is,{value:"get",children:"GET"}),jsx(is,{value:"post",children:"POST"})]})}),jsx(Form.Item,{label:o("global.label"),name:"label",children:jsx(Input,{allowClear:!0})})]})})})},Wl=J(Ql,{isGlobal:!0});var ic=lazy(()=>Promise.resolve().then(()=>(Hs(),js))),lc=lazy(()=>Promise.resolve().then(()=>(Zs(),Xs))),cc=lazy(()=>Promise.resolve().then(()=>(ra(),oa))),pc=lazy(()=>Promise.resolve().then(()=>(aa(),sa))),mc=jsxs(Routes,{children:[jsx(Route,{index:!0,element:jsx(Navigate,{to:"user"})}),jsx(Route,{path:"user",element:jsx(ic,{})}),jsx(Route,{path:"user/:id",element:jsx(lc,{})}),jsx(Route,{path:"role",element:jsx(cc,{})}),jsx(Route,{path:"role/:name",element:jsx(pc,{})})]});z();A();de();var na='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';A();se();function la(){let o=R(),{setToken:t}=M(),{ticket:e,unregisteredFromUrl:r}=useMemo(()=>{let c=new URLSearchParams(window.location.search);return {ticket:c.get("ticket"),unregisteredFromUrl:c.get("unregistered")==="true"}},[]),[s,a]=useState(r),{data:n,isLoading:l,error:i}=useQuery({queryKey:["ticket-login",e],queryFn:()=>o.get(`/api/usystem/user/login?ticket=${e}`),enabled:!!e,retry:!1,refetchOnWindowFocus:!1,refetchOnReconnect:!1});useEffect(()=>{n?.token?t(n.token):i&&"response"in i&&i.response?.status===403&&a(!0);},[n,i,t]);let p=useMemo(()=>()=>{if(a(!1),r){let c=new URL(window.location.href);c.searchParams.delete("unregistered"),window.history.replaceState({},"",c.toString());}},[r]);return {hasTicket:!!e,isLoading:l,error:i,isUnregistered:s,dismissUnregistered:p}}var Sc=({extra:o,title:t})=>{let{token:e,mainPagePath:r}=M(i=>i),{t:s}=w(),{isLoading:a,isUnregistered:n,dismissUnregistered:l}=la();if(a)return jsx("div",{className:"w-screen h-screen flex justify-center items-center",children:jsx(Spin,{})});if(e){let i=!!window.location.hash,p=r;return i?(window.location.href=`${window.location.origin}${window.location.pathname}#${p}`,null):jsx(Navigate,{replace:!0,to:r})}return jsxs("div",{className:"w-screen h-screen relative flex overflow-hidden",children:[jsx("div",{className:"absolute top-16 right-16 z-10",children:o}),jsx("div",{className:"absolute left-14 top-6",children:jsxs(Space,{align:"center",children:[jsx(Ue,{width:48}),t&&jsx("span",{className:"text-2xl font-bold",children:t})]})}),jsx("div",{className:"flex-1 flex justify-center items-center bg-slate-50",children:jsx("img",{src:na,alt:"background",className:"w-10/12"})}),jsx("div",{className:"w-[650px] relative top-0 left-0 right-0 bottom-0",children:jsx("div",{className:"absolute top-1/2 -translate-y-1/2 left-0 right-0",children:jsx("div",{className:"-translate-y-10 px-36",children:jsxs("div",{className:"flex flex-col justify-center",children:[jsx("div",{className:"h-10",children:n&&jsx(Alert,{banner:!0,closable:!0,message:s("SignIn.unregistered"),type:"error",onClose:l})}),jsx(Typography.Title,{level:2,children:s("SignIn.welcome")}),jsx("div",{className:"mt-4",children:jsxs(Form,{layout:"vertical",autoComplete:"off",children:[jsx(Form.Item,{label:s("global.username"),name:"username",rules:[{required:!0}],children:jsx(Input,{})}),jsx(Form.Item,{label:s("global.password"),name:"password",rules:[{required:!0}],children:jsx(Input.Password,{})}),jsx(Form.Item,{children:jsx(Button,{block:!0,type:"primary",shape:"round",htmlType:"submit",children:s("global.signIn")})})]})}),jsx(Divider,{plain:!0,dashed:!0,children:s("SignIn.thirdParty")}),jsx("div",{className:"flex justify-center items-center",children:jsxs(Button,{block:!0,shape:"round",href:`${to}/logout?service=${to}/login?service=${window.location.href}`,target:"_self",children:[jsx(Ue,{width:18}),s("SignIn.signInWithIDass")]})})]})})})})]})},Cc=Sc;X();at();
2
- export{ke as APP_ID_HEADER,Na as DynamicTags,_t as ExpandableParagraph,Te as FRONTEND_ROUTE_PREFIX,it as FilterFormWrapper,Fe as Highlight,Fn as InfiniteList,Si as Layout,po as NavMenu,ql as NotFound,Wl as OperationLogList,Z as PermissionButton,oo as PermissionVersion,ye as QueryList,qr as QueryListAction,mo as RequireGame,al as RequirePermission,to as SSO_URL,Cc as SignIn,Va as ToolkitsProvider,uo as UserWidget,re as WILDCARD,It as generateId,El as menuRoutes,Ko as mixedStorage,mc as permissionRoutes,eo as useDrawer,Xt as useDrawerStore,Ia as useFormDrawer,fe as useFormModal,we as useGames,ce as useInfiniteListStore,Tt as useMenuList,go as useModal,fo as useModalStore,te as usePermission,Y as useQueryListStore,M as useToolkitsStore,J as withContext};
1
+ import {jwtDecode}from'jwt-decode';import {create,useStore,createStore}from'zustand';import {persist,createJSONStorage,devtools,subscribeWithSelector}from'zustand/middleware';import*as lt from'antd';import {Spin,Menu,Modal,Form,Button,Drawer,Result,Table,Card,Input,Select,App,Space,Popconfirm,Switch,InputNumber,theme,Tag,Typography,Empty,Dropdown,Divider,Alert,Row,Col,Breadcrumb,Descriptions,Skeleton,Tooltip,Checkbox,Collapse}from'antd';import {forwardRef,memo,useRef,useMemo,useCallback,useEffect,lazy,useContext,useState,useImperativeHandle,cloneElement,Fragment as Fragment$1,Suspense,createContext,useTransition}from'react';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {isEqual,has,template,get,last,first}from'lodash-es';import {flushSync}from'react-dom';import {createRoot}from'react-dom/client';import dn from'ky';import {useQuery,useInfiniteQuery,useQueryClient,useMutation}from'@tanstack/react-query';import {Link,useLocation,Routes,Route,Navigate,useNavigate,useParams}from'react-router-dom';import {Editor}from'@monaco-editor/react';import {PlusOutlined,LogoutOutlined,UserOutlined,MenuUnfoldOutlined,MenuFoldOutlined,UserAddOutlined,UsergroupAddOutlined,MinusCircleOutlined}from'@ant-design/icons';import fi from'./logo-L6MFCL6M.png';import Yl from'dayjs';var xa=Object.defineProperty;var v=(o,t)=>()=>(o&&(t=o(o=0)),t);var Te=(o,t)=>{for(var e in t)xa(o,e,{get:t[e],enumerable:!0});};var Qo,ba,_t,st=v(()=>{Qo={getItem:o=>sessionStorage.getItem(o)||localStorage.getItem(o),setItem:(o,t)=>{sessionStorage.setItem(o,t),localStorage.setItem(o,t);},removeItem(o){sessionStorage.removeItem(o),localStorage.removeItem(o);}},ba=0,_t=()=>{let o=Date.now(),t=Math.floor(Math.random()*1e3),e=++ba%1e3;return o*1e6+t*1e3+e};});var Ma,jo,$o=v(()=>{Ma={global:{noEntitlement:"No permission, please contact the administrator.",name:"Name",creationTime:"Creation Time",operation:"Operation",update:"Update",edit:"Edit",delete:"Delete",selectAll:"Select All",game:"Game",user:"User",role:"Role",username:"Username",password:"Password",label:"Label",method:"Method",route:"Route",request:"Request",response:"Response",add:"Add",signIn:"Sign In",projectGroup:"Project Group",view:"View"},SignIn:{title:"Sign In Method",thirdParty:"Third party sign in",signInWithIDass:"Sign in with IDass",unregistered:"You are not yet registered on the platform, please contact the administrator",welcome:"Welcome"},NotFound:{subTitle:"The page you visited does not exist",buttonText:"Return to homepage"},FilterFormWrapper:{confirmText:"Search",resetText:"Reset"},FormModal:{confirmText:"Confirm",cancelText:"Cancel"},GameSelect:{label:"Current Game",placeholder:"Please select a game"},RequireGame:{description:"Please select a game"},UserWidget:{signOutText:"Sign Out"},User:{createTitle:"Create User",createSuccessfully:"User created successfully",updateTitle:"Update User",updateSuccessfully:"User updated successfully",deleteTitle:"Delete User",deleteContent:"Are you sure you want to delete user <%= user %>?",deleteSuccessfully:"User deleted successfully"},Role:{createTitle:"Create Role",createSuccessfully:"Role created successfully",updateTitle:"Update Role",updateSuccessfully:"Role updated successfully",deleteTitle:"Delete Role",deleteContent:"Are you sure you want to delete role <%= role %>?",deleteSuccessfully:"Role deleted successfully"},PermissionList:{failedDescription:"Failed to get permission list",baseSectionTitle:"Platform Basic Permissions",gameSectionTitle:"Game Permissions",gameSectionDescription:"Please select a game first",gameSelectPlaceholder:"Please select a game first",removeText:"Remove",addText:"Add Game Permissions"},RoleDetail:{title:"Role Details"},InfiniteList:{loadingText:"Loading...",reachEndText:"You've reached the end",loadMoreText:"Load more"}},jo=Ma;});var ro,Fe,Me,so,re,ue=v(()=>{ro="https://idaas.ifunplus.cn/enduser/api/application/plugin_FunPlus/sso/v1",Fe="App-ID",Me="/console/",so=(r=>(r.V1="v1",r.V2="v2",r.V3="v3",r))(so||{}),re="*";});var Yo,Jo=v(()=>{$o();Yo=o=>({locale:jo,gameApiV2:!1,isGlobal:!1,signInPath:"/sign_in",mainPagePath:"/",permissionVersion:"v1",setContext(t){o(e=>({...e,...t}));}});});var Xo,Zo=v(()=>{Xo=o=>({setGameId:t=>{o({gameId:t});}});});var er,tr=v(()=>{er=(o,t)=>({getUser:()=>{let e=t().token;if(e)try{return jwtDecode(e)}catch{return null}return null},setToken:e=>o({token:e})});});var or,rr=v(()=>{st();Jo();Zo();tr();or=o=>createStore()(persist((...t)=>{let[,e,r]=t,s=()=>{e().setToken(""),r.persist.clearStorage();};return {...er(...t),...Xo(...t),...Yo(...t),clearToken:s,...o}},{name:"toolkits",storage:createJSONStorage(()=>Qo),partialize:t=>({token:t.token,gameId:t.gameId,collapsed:t.collapsed})}));});function M(o){let t=useContext(ao);if(!t)throw new Error("Missing ToolkitsProvider in the tree");return useStore(t,o||(e=>e))}var ao,no,Y,Aa,ar=v(()=>{rr();ao=createContext(null);no=o=>{let{children:t,...e}=o,r=useRef(),s=useContext(ao)?.getState();if(r.current||(r.current=or({...s,...e})),!r.current.getState().signInPath)throw new Error('ToolkitsProvider: \u8BF7\u914D\u7F6E "signInPath"');return jsx(ao.Provider,{value:r.current,children:jsx(App,{children:t})})},Y=(o,t)=>{let e=r=>jsx(no,{...t,children:jsx(o,{...r})});return e.displayName=`withContext(${o.displayName||o.name||"Component"})`,e};process.env.NODE_ENV!=="production"&&(no.displayName="ToolkitsProvider");Aa=no;});var U=v(()=>{ar();});function w(){let o=M(e=>e.locale);return {t:useMemo(()=>(e,r)=>has(o,e)?template(get(o,e))(r):e,[o])}}var nr=v(()=>{U();});var z=v(()=>{nr();});var tn,nt,fr=v(()=>{z();tn=o=>{let{extras:t,isConfirming:e,onConfirm:r,onReset:s,children:a,buttonsAlign:n="left",showReset:l}=o,{t:i}=w(),{token:{colorFillAlter:p,lineWidth:c,lineType:y,colorBorder:b,borderRadiusLG:x}}=theme.useToken();return jsx("div",{style:{maxWidth:"none",background:p,borderWidth:c,borderStyle:y,borderColor:b,borderRadius:x,padding:24,marginBottom:24},children:jsxs("div",{className:`flex ${n==="bottom"?"flex-col":"flex-row"}`,children:[jsx("div",{className:`${n==="left"?"flex-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:e,onClick:r,children:i("FilterFormWrapper.confirmText")}),t?.map(u=>jsx(Fragment$1,{children:u.children},u.key)),l&&jsx(Button,{onClick:s,children:i("FilterFormWrapper.resetText")})]})})]})})},nt=tn;});var Ft=v(()=>{fr();});function ln(o){let t=document.createElement("div"),e=createRoot(t);return new Promise(r=>{setTimeout(()=>{flushSync(()=>{e.render(o);}),r(t.innerHTML);});})}var nn,cn,Re,yr=v(()=>{nn=o=>{let t=/(<[^>]*>)/;return o.split(t).filter(e=>e!=="")};cn=o=>{let{texts:t,children:e}=o,[r,s]=useState("");return useEffect(()=>{ln(e).then(a=>{let n=nn(a);for(let l of t)for(let i=0;i<n.length;i++)n[i]=n[i].replace(String(l),`<span style='color: #DC143C;'>${l}</span>`);s(n.join(""));});},[e,t]),jsx("div",{dangerouslySetInnerHTML:{__html:r}})},Re=cn;});var it=v(()=>{yr();});var lo,Mt,fn,gr,yn,gn,hn,R,hr=v(()=>{U();ue();lo=[0,1,200],Mt={OK:200,UNAUTHORIZED:401,FORBIDDEN:403,UNREGISTERED:412},fn=3e4,gr=o=>!o||typeof o!="object"?"Unknown error":o.msg||o.message||o.error||"Unknown error",yn=o=>{let{value:t,allowedCodes:e}=o;return t==null||typeof t!="number"?!1:e.includes(t)},gn=(o,t)=>{if(t<Mt.OK||t>=300)return !1;if(!o||typeof o!="object")return !0;let e=[{field:"code",value:o.code,allowedCodes:lo},{field:"status",value:o.status,allowedCodes:lo},{field:"errno",value:o.errno,allowedCodes:lo}];return e.some(s=>s.value!==void 0&&s.value!==null)?e.every(s=>s.value===void 0||s.value===null||yn(s)):!0},hn=async(o,t)=>{switch(t){case"blob":return o.blob();case"text":return o.text();case"arrayBuffer":return o.arrayBuffer();case"formData":return o.formData();case"json":default:return o.json()}},R=o=>{let{notification:t}=App.useApp(),e=M(),{token:r,isGlobal:s,gameId:a,permissionVersion:n,signInPath:l,clearToken:i}=e,p=()=>{i(),l&&(window.location.href=l);},c=()=>{if(i(),l){let S=new URL(l,window.location.origin);S.searchParams.set("unregistered","true"),window.location.href=S.toString();}},y=()=>{t.error({message:"\u8BBF\u95EE\u88AB\u7981\u6B62",description:"\u60A8\u6CA1\u6709\u6743\u9650\u8BBF\u95EE\u6B64\u8D44\u6E90\u3002"});},b=S=>async(k,T,B)=>{if(S==="blob"||S==="arrayBuffer"||S==="text"||S==="formData")return B;let F;try{F=await B.clone().json();}catch{return B}if(gn(F,B.status)){let j=F.data!==void 0?F.data:F;return new Response(JSON.stringify(j),{status:B.status,statusText:B.statusText,headers:B.headers})}let O=gr(F);t.error({message:"Request failed",description:O});let E=new Error(O);throw E.response=B,E.data=F,E},x=(S,k)=>{switch(S){case Mt.UNAUTHORIZED:p();break;case Mt.UNREGISTERED:c();break;case Mt.FORBIDDEN:y();break;default:{let T=gr(k)||`HTTP ${S} Error`;t.error({message:"Request failed",description:T});break}}},d=useMemo(()=>dn.create({prefixUrl:o,timeout:fn,headers:{Accept:"application/json","Content-Type":"application/json"},hooks:{beforeRequest:[k=>{r&&k.headers.set("Authorization",`Bearer ${r}`),!k.headers.has(Fe)&&n!=="v1"&&(s||!a?k.headers.set(Fe,"global"):k.headers.set(Fe,encodeURIComponent(String(a))));}],beforeError:[async k=>{let{response:T}=k;if(T){let B=T.status,F;try{let O=T.headers.get("content-type")||"";(O.includes("application/json")||O.startsWith("text/"))&&(F=await T.clone().json());}catch{}x(B,F);}else t.error({message:"Network Error",description:k.message||"Network request failed"});return k}]}}),[o,r,s,a,n]),u=async(S,k,T,B)=>{let{responseType:F,...O}=B||{},E={...O,hooks:{...O.hooks,afterResponse:[...O.hooks?.afterResponse||[],b(F)]}},j;return T?j=await d(k,{method:S,json:T,...E}):j=await d(k,{method:S,...E}),hn(j,F)};return {get:(S,k)=>u("GET",S,void 0,k),post:(S,k,T)=>u("POST",S,k,T),put:(S,k,T)=>u("PUT",S,k,T),delete:(S,k)=>u("DELETE",S,void 0,k),patch:(S,k,T)=>u("PATCH",S,k,T),options:(S,k)=>u("OPTIONS",S,void 0,k),head:(S,k)=>u("HEAD",S,void 0,k),request:S=>{let{url:k,...T}=S;return u(T.method||"GET",k,void 0,T)},instance:d}};});var se=v(()=>{hr();});var C,we=v(()=>{C={permissions:{check:(o,t)=>["permissions","check",o,t],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,t)=>["roles","detail",o,t],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]}};});function te(o,t){let e=R(),{permissionVersion:r}=M(),s=r!=="v1"?"/api/usystem/user/checkV2":"/api/usystem/user/check",a=typeof o<"u"?typeof o=="string"?[o]:o:[],n=r!=="v1"?"v2":"v1",{data:l,...i}=useQuery({queryKey:a.length>0?C.permissions.check(a,n):["permissions","disabled"],queryFn:()=>e.post(s,{json:{permissions:a},...t}),enabled:a.length>0}),p=!0;return typeof o=="string"?p=l?.has_all?!0:l?.[o]??!1:Array.isArray(o)&&o.length>0&&(p=a.reduce((c,y)=>(c[y]=l?.has_all?!0:l?.[y]??!1,c),{})),{...i,data:p}}function Rt(){let{signInPath:o,gameId:t}=M(),e=R();return useQuery({queryKey:C.menus.navbar(t?String(t):void 0),queryFn:()=>e.get("/api/usystem/menu/navbar",{headers:{[Fe]:t?encodeURIComponent(String(t)):"global"}}),enabled:window.location.pathname!==o})}var ve,X=v(()=>{U();ue();se();we();ve=()=>{let{gameApiV2:o,permissionVersion:t}=M(),e=R(),r=t!=="v1"?o?"/api/game/list":"/api/usystem/game/all":null;return useQuery({queryKey:C.enums.gameGroups,queryFn:async()=>{if(!r)return [];let s={headers:{[Fe]:"global"}};return o?(await e.get(r,s))?.list??[]:await e.get(r,s)??[]},enabled:!!r,staleTime:1/0})};});var go,ho=v(()=>{go=create((o,t)=>({open:new Map,usedIds:new Set,isOpen:e=>t().open.get(e)??!1,show(e){o({open:new Map(t().open).set(e,!0)});},hide(e){o({open:new Map(t().open).set(e,!1)});},hideAll(){o({open:new Map});},checkUniqueness(e){let{usedIds:r}=t();return !r.has(e)},registerIds(e){let{usedIds:r}=t();return r.has(e)?!1:(o({usedIds:new Set(r).add(e)}),!0)},cleanup(e){let{open:r,usedIds:s}=t(),a=new Map(r),n=new Set(s);a.delete(e),n.delete(e),o({open:a,usedIds:n});}}));});function xo(o){let{content:t,onConfirm:e,afterOpen:r,afterClose:s,...a}=o,n=useMemo(()=>_t(),[]),{show:l,hide:i,isOpen:p,cleanup:c}=go();useEffect(()=>()=>{c(n);},[n,c]);let y=p(n),[b,x]=useState(!1),d=typeof t=="function",u=useCallback(async()=>{l(n),await r?.();},[n,l,r]),I=useCallback(()=>{i(n);},[n,i]),h=useCallback(async()=>{I(),await s?.();},[I,s]),f=useCallback(async()=>{try{x(!0),await e?.(),I(),await s?.();}catch(m){throw console.error("Modal confirm error:",m),m}finally{x(!1);}},[e,I,s]),g=jsx(Modal,{...a,open:y,confirmLoading:b,onOk:f,onCancel:h,children:d?t({hide:I}):t});return {id:n,show:u,hide:I,modal:g}}var bo=v(()=>{st();ho();});function ye(o){let{content:t,form:e,formProps:r,onConfirm:s,onSuccess:a,afterClose:n,...l}=o,[i,p]=useState({}),[c]=Form.useForm();c=e||c;let y=typeof t=="function",{id:b,show:x,hide:d,modal:u}=xo({...l,content:h=>jsx(Form,{...r,form:c,children:y?t(i,h):t}),onConfirm:async()=>{try{let h=await c.validateFields();await s?.(h,i),a?.(),d();}catch(h){throw console.error("Form validation or submission error:",h),h}},afterClose:()=>{n?.(c);}}),I=useCallback(h=>{let{initialValues:f,extraValues:g}=h||{};g&&p(g),f&&c.setFieldsValue(f),x();},[c,x]);return {id:b,show:I,hide:d,modal:u}}var Or=v(()=>{bo();});var Ot=v(()=>{Or();bo();ho();});var Ui,Z,zr=v(()=>{z();X();Ui=o=>{let{children:t,code:e,showLoading:r,disabled:s,config:a,...n}=o,l=e?Array.isArray(e)?e:[e]:[],{data:i,isLoading:p}=te(l,a),{t:c}=w();return p?jsx(Button,{loading:r,disabled:!r,...n,children:t}):typeof i=="boolean"||i&&Object.values(i).some(Boolean)?jsx(Button,{disabled:s,...n,children:t}):jsx(Tooltip,{defaultOpen:!1,title:c("global.noEntitlement"),children:jsx(Button,{disabled:!0,...n,children:t})})},Z=Ui;});var Ke=v(()=>{zr();});var Ur,Ki,Qi,J,At=v(()=>{Ur=Object.freeze({page:1,size:10,formValue:Object.freeze({})}),Ki=()=>create()(devtools(subscribeWithSelector((o,t)=>({instances:new Map,registerInstance(e,r,s,a){o(n=>{let l=n.instances.get(e);if(l){if(l.refetch!==a){let c={...l,refetch:a},y=new Map(n.instances);return y.set(e,c),{instances:y}}return n}let i={id:e,url:r,queryKey:s,payload:Ur,refetch:a},p=new Map(n.instances);return p.set(e,i),{instances:p}});},unregisterInstance(e){o(r=>{let s=new Map(r.instances);return s.delete(e)?{instances:s}:r});},updatePayload(e,r){o(s=>{let a=s.instances.get(e);if(!a)return s;let n={...a.payload,...r};if(!isEqual(a.payload,n)){let l={...a,payload:n},i=new Map(s.instances);return i.set(e,l),{instances:i}}return s});},getPayload(e){return t().instances.get(e)?.payload??Ur},async refetch(e,r){let s=t().instances.get(e);if(!s){console.warn(`QueryList instance with id "${e}" not found`);return}let a=!1;if(r){let n=s.payload,l={...n,...r};isEqual(n,l)||(t().updatePayload(e,r),a=!0);}if(!a)try{await s.refetch();}catch(n){throw console.error(`Failed to refetch QueryList instance "${e}":`,n),n}},getInstance(e){return t().instances.get(e)},getAllInstances(){return Array.from(t().instances.values())}})),{name:"query-list-store"})),Qi=Ki(),J=Qi;});var Wr,el,tl,Kr,Qr,ol,rl,sl,al,nl,ge,Hr=v(()=>{Ft();z();se();X();At();Wr=(s=>(s[s.Confirm=0]="Confirm",s[s.Reset=1]="Reset",s[s.Jump=2]="Jump",s[s.Init=3]="Init",s))(Wr||{}),el=5*60*1e3,tl=30*1e3,Kr=["GET","HEAD","OPTIONS"],Qr=["POST","PUT","PATCH","DELETE"],ol={display:"flex",justifyContent:"center",alignItems:"center",height:300},rl=0,sl=()=>`queryList_${Date.now()}_${++rl}`,al=(o,t)=>{let{t:e}=w(),{form:r,identifier:s,code:a,onePage:n,buttonsAlign:l,showReset:i,defaultSize:p=10,refreshInterval:c=0,tableExtra:y,renderForm:b,afterSuccess:x,afterError:d,footer:u,pageSizeOptions:I,request:h,dataAdapter:f,...g}=o,[m]=Form.useForm(r),P=useMemo(()=>s||sl(),[s]),V=useRef(3),{data:K,isLoading:S}=te(a),[k,T]=useState(!1),B=useRef(!1),F=J(G=>G.getPayload(P)),O=R(),{page:E,size:j=p,formValue:Ce}=F,Ee=typeof h=="function"?h({page:E,size:j,formValue:Ce}):h,{url:Ge,method:ht="GET",body:Ze,searchParams:et,headers:Oe,cacheTime:tt=el,staleTime:xt=tl}=Ee,_e=ht.toUpperCase();[...Kr,...Qr].includes(_e)||console.warn(`QueryList: \u4E0D\u652F\u6301\u7684 HTTP \u8BF7\u6C42\u65B9\u6CD5 "${ht}"\uFF0C\u5C06\u4F7F\u7528 GET \u65B9\u6CD5`);let bt=Kr.includes(_e),ze=Qr.includes(_e),Ae={...Ce,...!n&&{page:E,size:j}},me=Ze||(ze?Ae:void 0),Zt=et||Ae,wt=Oe,vt=useRef(!1),St=["queryList",Ge,P,E,j,Ce],{data:le,isLoading:It,refetch:rt}=useQuery({queryKey:St,queryFn:async()=>{try{let G={method:_e,searchParams:Zt,headers:wt};me&&!bt&&(me instanceof FormData||typeof me=="string"?G.body=me:G.json=me);let $=await O.request({url:Ge,...G});return vt.current=!0,x?.(V.current,m,$),$}catch(G){let $=G instanceof Error?G:new Error(String(G));throw d?.($,V.current,m),$}},retry:(G,$)=>!(G>=3||$?.message?.includes("401")),retryDelay:G=>Math.min(1e3*2**G,3e4),refetchOnWindowFocus:!1,refetchInterval:vt.current?c:0,gcTime:tt,staleTime:xt,enabled:K&&k}),L=useMemo(()=>{let G=f,$={total:le?.total,items:le?.list};return typeof G=="function"?{...$,...G(le)}:{...$,...G}},[f,le]);useEffect(()=>(J.getState().registerInstance(P,Ge,St,rt),()=>{J.getState().unregisterInstance(P);}),[P,Ge]);let A=L.items,be=L.total,Pe=useMemo(()=>n?!1:{pageSizeOptions:I,showSizeChanger:!0,showQuickJumper:!0,current:E,pageSize:j,total:be,onChange:async(G,$)=>{V.current=2,J.getState().refetch(P,{page:G,size:$});}},[n,I,E,j,be,P]),de=useCallback(async()=>{V.current=0;try{await m.validateFields(),T(!0),J.getState().refetch(P,{page:1,formValue:m.getFieldsValue()});}catch{T(!1);}},[m,P]),ke=useCallback(async()=>{V.current=1,m.resetFields();try{await m.validateFields({validateOnly:!0}),T(!0),J.getState().refetch(P,{page:1,formValue:m.getFieldsValue()});}catch{T(!1);}},[m,P]),ya=typeof b=="function"?jsx(nt,{showReset:i,buttonsAlign:l,isConfirming:It,onReset:ke,onConfirm:de,children:cloneElement(b(m),{onKeyUp:G=>{G.key==="Enter"&&de();}})}):jsx(Form,{form:m}),ga=typeof y=="function"?y(m,le):y,ha=u?()=>u(le):void 0;return useEffect(()=>{if(!K||B.current)return;let G=async()=>{console.log("QueryList init starting");try{m.resetFields();let Ct=await m.validateFields({validateOnly:!0});console.log("QueryList init validation success:",Ct),J.getState().updatePayload(P,{page:1,formValue:Ct}),T(!0),console.log("QueryList init completed, isValid set to true");}catch(Ct){console.log("QueryList init validation failed:",Ct),T(!1);}finally{B.current=!0;}},$=requestAnimationFrame(()=>{Promise.resolve().then(G);});return ()=>{$&&cancelAnimationFrame($);}},[K,P,m]),useImperativeHandle(t,()=>({data:le,dataSource:A,form:m,refetch:rt}),[le,A,m,rt]),S?jsx(Spin,{style:ol}):K?jsxs("div",{children:[ya,ga,jsx(Table,{...g,dataSource:A,loading:It,pagination:Pe,footer:ha})]}):jsx(Result,{status:403,subTitle:e("global.noEntitlement")})},nl=forwardRef(al),ge=nl;});var Qe=v(()=>{Hr();At();});var Co,jr=v(()=>{Co="/api/usystem/menu/list";});function $r(){let o=R(),t=useQueryClient();return useMutation({mutationKey:C.menus.create,mutationFn:e=>o.post("/api/usystem/menu/set",{...e,id:0,is_model:!0}),onSuccess:()=>{t.invalidateQueries({queryKey:C.menus.all}),t.invalidateQueries({queryKey:C.menus.navbar()});}})}function Yr(){let o=R(),t=useQueryClient();return useMutation({mutationKey:C.menus.update,mutationFn:e=>o.post("/api/usystem/menu/set",{...e,is_model:!0}),onSuccess:()=>{t.invalidateQueries({queryKey:C.menus.all}),t.invalidateQueries({queryKey:C.menus.navbar()});}})}function Jr(){let o=R(),t=useQueryClient();return useMutation({mutationKey:C.menus.delete,mutationFn:e=>o.post("/api/usystem/menu/delete",null,{searchParams:{id:e}}),onSuccess:()=>{t.invalidateQueries({queryKey:C.menus.all}),t.invalidateQueries({queryKey:C.menus.navbar()});}})}var ko=v(()=>{se();we();});var Ut=v(()=>{jr();ko();});var Zr={};Te(Zr,{default:()=>bl});var xl,bl,es=v(()=>{it();z();Qe();U();Ut();ko();X();xl=Y(()=>{let{t:o}=w(),{message:t}=App.useApp(),e=Jr(),r=J(),{refetch:s}=Rt(),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(ge,{identifier:"menu-item-list",onePage:!0,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:l=>l?"\u662F":"\u5426"},{title:"\u6A21\u677F\u540D\u79F0",dataIndex:"model_name",key:"model_name"},{title:"\u64CD\u4F5C",key:"action",width:150,align:"center",render(l,i){return i.is_model?jsxs(Space,{size:"small",children:[jsx(Button,{type:"link",onClick:()=>{a(`./update/${i.id}`);},children:o("global.update")}),jsx(Popconfirm,{title:"\u5220\u9664\u83DC\u5355",placement:"topRight",description:jsxs(Re,{texts:[i.category],children:["\u786E\u5B9A\u8981\u5220\u9664\u83DC\u5355 ",i.category," \u5417\uFF1F"]}),onConfirm:async()=>{await e.mutate(i.id),r.getAllInstances().filter(p=>p.url===Co).forEach(p=>r.refetch(p.id)),s(),t.success("\u5220\u9664\u6210\u529F");},children:jsx(Button,{danger:!0,type:"link",size:"small",children:o("global.delete")})})]}):null}}],request:{url:Co,method:"GET"},dataAdapter:l=>({items:l})})})})},{isGlobal:!0}),bl=xl;});var ss={};Te(ss,{default:()=>kl});var Pl,kl,as=v(()=>{U();ue();Ut();Pl=Y(()=>{let{message:o}=App.useApp(),[t]=Form.useForm(),e=useNavigate(),{mutate:r}=$r();return jsx(Card,{title:"\u521B\u5EFA\u83DC\u5355\u9879",children:jsxs(Form,{scrollToFirstError:!0,form:t,labelCol:{flex:"120px"},initialValues:{is_common:!1,is_model:!1,order:0},onFinish:async a=>{let{permissions:n,front_route:l,...i}=a;await r({...i,front_route:Me+l,permissions:n?JSON.parse(n):void 0}),o.success("\u521B\u5EFA\u6210\u529F",.8,()=>e("..",{relative:"route"}));},children:[jsx(Form.Item,{label:"\u83DC\u5355\u9879\u540D\u79F0",name:"category",rules:[{required:!0}],children:jsx(Input,{})}),jsx(Form.Item,{label:"\u524D\u7AEF\u8DEF\u7531",name:"front_route",rules:[{required:!0}],children:jsx(Input,{prefix:Me})}),jsx(Form.Item,{label:"\u6A21\u677F\u540D\u79F0",name:"model_name",rules:[{required:!0}],children:jsx(Input,{})}),jsx(Form.Item,{label:"Is Common",name:"is_common",rules:[{required:!0}],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:!1}}})}),jsx(Form.Item,{label:"Schema",name:"scheme",rules:[{required:!0}],children:jsx(Editor,{theme:"vs-dark",height:"600px",language:"json",options:{minimap:{enabled:!1}}})}),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:()=>{e("..",{relative:"path"});},children:"\u53D6\u6D88"})]})})]})})},{isGlobal:!0}),kl=Pl;});var cs={};Te(cs,{default:()=>Ol});var Gl,Ol,ps=v(()=>{U();ue();Ut();se();we();X();Gl=Y(()=>{let{message:o}=App.useApp(),[t]=Form.useForm(),e=useNavigate(),{mutate:r}=Yr(),s=useParams(),{refetch:a}=Rt(),n=R(),{data:l,isLoading:i}=useQuery({queryKey:C.menus.detail(Number(s.id)),queryFn:()=>n.get(`/api/usystem/menu/info?id=${s.id}`),enabled:!!s.id}),p=async c=>{let{permissions:y,front_route:b,...x}=c;await r({...x,permissions:y?JSON.parse(y):void 0,front_route:Me+b,id:+s.id}),a(),o.success("\u66F4\u65B0\u6210\u529F",.8,()=>e("../..",{relative:"route"}));};return useEffect(()=>{let{permissions:c,front_route:y,...b}=l??{},x=JSON.stringify(c||[],null,2),d=y?.replace(Me,"");t.setFieldsValue({...b,permissions:x,front_route:d});},[l,t]),jsx(Card,{title:"\u66F4\u65B0\u83DC\u5355\u9879",loading:i,children:jsxs(Form,{scrollToFirstError:!0,form:t,labelCol:{flex:"120px"},initialValues:{is_common:!1,is_model:!1,order:0},onFinish:p,children:[jsx(Form.Item,{label:"\u83DC\u5355\u9879\u540D\u79F0",name:"category",rules:[{required:!0}],children:jsx(Input,{})}),jsx(Form.Item,{label:"\u524D\u7AEF\u8DEF\u7531",name:"front_route",rules:[{required:!0}],children:jsx(Input,{prefix:Me})}),jsx(Form.Item,{label:"\u6A21\u677F\u540D\u79F0",name:"model_name",rules:[{required:!0}],children:jsx(Input,{})}),jsx(Form.Item,{label:"Is Common",name:"is_common",rules:[{required:!0}],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:!1}}})}),jsx(Form.Item,{label:"Schema",name:"scheme",rules:[{required:!0}],children:jsx(Editor,{theme:"vs-dark",height:"600px",language:"json",options:{minimap:{enabled:!1}}})}),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:()=>{e("../..",{relative:"path"});},children:"\u53D6\u6D88"})]})})]})})},{isGlobal:!0}),Ol=Gl;});function Kt(){let o=R();return useQuery({queryKey:C.roles.all,queryFn:()=>o.get("/api/usystem/role/all")})}function fs(o){let t=M(s=>s.permissionVersion),e=R(),r=t==="v2"?"v2":"v1";return useQuery({queryKey:C.roles.detail(o,r),queryFn:()=>e.get(`/api/usystem/role/${r==="v2"?"infoV2":"info"}?name=${o}`)})}function ys(){let{permissionVersion:o}=M(s=>s),t=R(),e=useQueryClient(),r=o==="v2"?"v2":"v1";return useMutation({mutationKey:C.roles.create(r),mutationFn:({name:s,permissions:a})=>t.post(r==="v2"?"/api/usystem/role/createV2":"/api/usystem/role/create",{name:s,permissions:a}),onSuccess:()=>{e.invalidateQueries({queryKey:C.roles.all});}})}function gs(){let{permissionVersion:o}=M(s=>s),t=R(),e=useQueryClient(),r=o==="v2"?"v2":"v1";return useMutation({mutationKey:C.roles.update(r),mutationFn:({id:s,name:a,permissions:n})=>t.post(r==="v2"?"/api/usystem/role/updateV2":"/api/usystem/role/update",{id:s,name:a,permissions:n}),onSuccess:()=>{e.invalidateQueries({queryKey:C.roles.all});}})}function hs(){let o=R(),t=useQueryClient();return useMutation({mutationKey:C.roles.delete,mutationFn:({id:e,name:r})=>o.post("/api/usystem/role/delete",{id:e,name:r}),onSuccess:()=>{t.invalidateQueries({queryKey:C.roles.all});}})}function Vo(){let o=R(),t=useQueryClient();return useMutation({mutationKey:C.users.create,mutationFn:e=>o.post("/api/usystem/user/create",e),onSuccess:()=>{t.invalidateQueries({queryKey:C.users.all});}})}function Do(){let o=R(),t=useQueryClient();return useMutation({mutationKey:C.users.update,mutationFn:e=>o.post("/api/usystem/user/update",e),onSuccess:()=>{t.invalidateQueries({queryKey:C.users.all});}})}function xs(){let o=R(),t=useQueryClient();return useMutation({mutationKey:C.users.delete,mutationFn:({id:e,name:r})=>o.post("/api/usystem/user/delete",{id:e,name:r}),onSuccess:()=>{t.invalidateQueries({queryKey:C.users.all});}})}function bs(){let o=R();return useQuery({queryKey:C.permissions.allPermissions,queryFn:()=>o.get("/api/usystem/user/allPermssions"),staleTime:1/0})}function ws(){let o=R();return useQuery({queryKey:C.permissions.allPermissionsV2,queryFn:()=>o.get("/api/usystem/user/allPermssionsV2"),staleTime:1/0})}var $e=v(()=>{U();se();we();});var s1,mt,zo=v(()=>{z();s1=o=>{let{permissions:t,readonly:e,expand:r,value:s,onChange:a}=o,[n,l]=useState([]),[i,p]=useState({}),[c,y]=useState(s??[]),{t:b}=w(),[,x]=useTransition(),d=useCallback(f=>{l(f);},[]),u=(f,g)=>{let m=[];return f?m=[...new Set(c.concat(g))]:(m=c.slice(),g.forEach(P=>{let V=m.findIndex(K=>K===P);V>-1&&m.splice(V,1);})),m},I=(f,g)=>{let m=u(f.target.checked,g);y(m),a?.(m);};useEffect(()=>{y(s??[]);},[s]),useEffect(()=>{r&&x(()=>{l((t??[]).map(({category:f})=>f));});},[r,t]),useEffect(()=>{let f=(t??[]).reduce((g,m)=>(g[m.category]=m.permissions.every(P=>c?.includes(P.value)),g),{});p(f);},[c,t]);let h=(t??[]).map(f=>({key:f.category,label:f.category,extra:!e&&jsx(Checkbox,{checked:i[f.category],onChange:g=>{I(g,f.permissions?.map(m=>m.value));},children:b("global.selectAll")}),children:jsx(Checkbox.Group,{style:{width:"100%"},value:c,disabled:e,children:jsx(Row,{gutter:[10,10],style:{width:"100%"},children:f.permissions?.map(g=>jsx(Col,{span:6,children:jsx(Checkbox,{value:g.value,onChange:m=>{I(m,[g.value]);},children:g.label})},g.value))})})}));return jsx(Collapse,{style:{width:"100%"},collapsible:"header",activeKey:n,items:h,onChange:d})},mt=s1;});var Ao,m1,d1,Ps,ks=v(()=>{z();X();$e();zo();(({Text:Ao}=Typography)),{Option:m1}=Select,d1=o=>{let{expand:t=!0,value:e,readonly:r,onChange:s}=o,{data:a,isLoading:n,error:l}=ws(),{data:i,isLoading:p}=ve(),[c,y]=useState([]),b=a?.filter(f=>f.is_common),x=a?.filter(f=>!f.is_common),d=n||p,{t:u}=w();if(useEffect(()=>{let f=[];Object.keys(e??{}).forEach(g=>{g!=="global"&&f.push({gameId:g,permissions:e?.[g]??[]});}),y(f);},[e]),l)return jsx("div",{className:"flex justify-center",children:jsx(Ao,{type:"danger",children:u("PermissionList.failedDescription")})});let I=()=>{y(f=>[...f,{gameId:"",permissions:[]}]);},h=f=>{y(g=>g.filter((m,P)=>P!==f));};return jsxs("div",{className:"flex flex-col w-full",children:[jsx("div",{className:"mb-12",children:jsx(Divider,{dashed:!0,children:u("PermissionList.baseSectionTitle")})}),jsx(Skeleton,{active:!0,loading:d,children:jsx(mt,{value:e?.global,readonly:r,permissions:b,expand:t,onChange:f=>{s?.({...e,global:f});}})}),jsx("div",{className:"my-12",children:jsx(Divider,{dashed:!0,children:u("PermissionList.gameSectionTitle")})}),c.map((f,g)=>jsx(Card,{title:jsxs(Space,{children:[jsx(Ao,{children:u("global.game")}),r?jsx(Ao,{children:i?.find(m=>String(m.id)===f.gameId)?.name}):jsx(Select,{disabled:r,value:c[g].gameId||void 0,style:{width:"160px"},placeholder:u("PermissionList.gameSelectPlaceholder"),onChange:m=>{y(P=>{let V=P.slice();return V[g].gameId=m,V});},children:i?.map(m=>jsx(m1,{value:m.id,disabled:c.some(({gameId:P})=>P===String(m.id)),children:m.name},m.id))})]}),className:"mb-6",extra:!r&&jsx(Button,{type:"link",onClick:()=>{h(g);},children:u("PermissionList.removeText")}),children:c[g].gameId?jsx(Skeleton,{active:!0,loading:d,children:jsx(mt,{value:e?.[c[g].gameId],readonly:r,expand:t,permissions:x,onChange:m=>{s?.({...e,[c[g].gameId]:m});}})}):jsx(Empty,{description:u("PermissionList.gameSectionDescription")})},g)),!r&&jsx(Button,{block:!0,type:"dashed",onClick:I,children:u("PermissionList.addText")})]})},Ps=d1;});var y1,g1,Ts,Fs=v(()=>{z();$e();zo();(({Text:y1}=Typography)),g1=o=>{let{expand:t=!0,value:e,readonly:r,onChange:s}=o,{data:a,isLoading:n,error:l}=bs(),{t:i}=w();return l?jsx("div",{className:"flex justify-center",children:jsx(y1,{type:"danger",children:i("PermissionList.failedDescription")})}):jsx(Skeleton,{active:!0,loading:n,children:jsx(mt,{value:e,permissions:a,readonly:r,expand:t,onChange:s})})},Ts=g1;});var h1,Je,Uo=v(()=>{U();ks();Fs();h1=o=>{let{value:t}=o;console.log("value",typeof t,t===null,JSON.stringify(t));let{permissionVersion:e}=M();return e==="v2"?jsx(Ps,{...o,value:t}):jsx(Ts,{...o,value:t})},Je=h1;});var Rs=v(()=>{Uo();});var Vs,Ht,Gs=v(()=>{z();Ot();Uo();$e();Vs=({onSuccess:o}={})=>{let{t}=w(),{mutateAsync:e}=ys();return ye({title:t("Role.createTitle"),width:"50vw",formProps:{layout:"vertical"},content:jsxs(Fragment,{children:[jsx(Form.Item,{label:t("global.name"),name:"name",rules:[{required:!0}],children:jsx(Input,{addonBefore:"role_"})}),jsx(Form.Item,{name:"permissions",children:jsx(Je,{})})]}),onConfirm:async r=>{await e({name:`role_${r.name}`,permissions:r.permissions}),o?.();}})},Ht=({onSuccess:o}={})=>{let{t}=w(),{mutateAsync:e}=gs();return ye({title:t("Role.updateTitle"),width:"50vw",formProps:{layout:"vertical"},content:jsxs(Fragment,{children:[jsx(Form.Item,{label:t("global.name"),name:"name",rules:[{required:!0}],children:jsx(Input,{disabled:!0,addonBefore:"role_"})}),jsx(Form.Item,{name:"permissions",children:jsx(Je,{})})]}),onConfirm:async(r,s)=>{await e({id:s?.id,name:`role_${r.name}`,permissions:r.permissions}),o?.();}})};});var C1,_1,Us,Ns,No,qs,Bs,jt,Ks=v(()=>{z();Ot();ue();se();we();$e();C1=o=>{let{onChange:t,...e}=o,r=R(),{data:s,isLoading:a}=useQuery({queryKey:C.enums.gameGroups,queryFn:()=>r.get("/api/enum/get?enum=game_group&type=all")}),n=[{label:"\u901A\u7528",value:re}].concat(s?.map(i=>({label:i,value:i}))??[]);return jsx(Select,{...e,allowClear:!0,showSearch:!0,mode:"tags",optionFilterProp:"label",loading:a,options:n,onChange:i=>{last(i)===re?t?.([re]):first(i)===re?t?.(i.slice(1)):t?.(i);}})},_1=o=>{let{groups:t,onChange:e,...r}=o,s=R(),{data:a,isLoading:n}=useQuery({queryKey:C.enums.gameIds(t||[]),queryFn:()=>s.get(`/api/enum/game_group/get_game_ids?game_groups=${t?.join(",")}`).then(p=>p?.list),enabled:!!t?.length}),l=a?.map(p=>({label:p.name,value:p.id}));return jsx(Select,{...r,allowClear:!0,showSearch:!0,optionFilterProp:"label",mode:"tags",loading:n,options:l,onChange:p=>{last(p)===re?e?.([re]):first(p)===re?e?.(p.slice(1)):e?.(p);}})},Us=({onSuccess:o}={})=>{let{t}=w(),{data:e,isLoading:r}=Kt(),{mutateAsync:s}=Vo();return ye({title:t("User.createTitle"),width:600,formProps:{autoComplete:"off",labelCol:{flex:"80px"}},content:jsxs(Fragment,{children:[jsx(Form.Item,{label:t("global.name"),name:"name",rules:[{required:!0}],children:jsx(Input,{})}),jsx(Form.Item,{label:t("global.role"),name:"roles",children:jsx(Select,{allowClear:!0,showSearch:!0,mode:"multiple",loading:r,optionFilterProp:"label",options:e?.map(a=>({label:a.name,value:a.name}))})})]}),onConfirm:async a=>{await s(a),o?.();}})},Ns=({onSuccess:o}={})=>{let{t}=w(),{data:e,isLoading:r}=Kt(),{mutateAsync:s}=Do();return ye({title:t("User.updateTitle"),width:600,formProps:{autoComplete:"off",labelCol:{flex:"80px"}},content:jsxs(Fragment,{children:[jsx(Form.Item,{label:t("global.name"),name:"name",rules:[{required:!0}],children:jsx(Input,{disabled:!0})}),jsx(Form.Item,{label:t("global.role"),name:"roles",children:jsx(Select,{allowClear:!0,showSearch:!0,mode:"multiple",loading:r,optionFilterProp:"label",options:e?.map(a=>({label:a.name,value:a.name}))})})]}),onConfirm:async(a,n)=>{await s({...a,id:n?.id}),o?.();}})},{Text:No}=Typography,qs=({isCreate:o})=>{let{t}=w(),{data:e,isLoading:r}=Kt();return jsxs(Fragment,{children:[jsx(Form.Item,{label:t("global.name"),name:"name",rules:[{required:!0}],children:jsx(Input,{disabled:!o})}),jsx(Form.List,{name:"permissions",children:(s,{add:a,remove:n})=>jsxs(Row,{gutter:8,children:[jsx(Col,{span:8,className:"text-center mb-4",children:jsx(No,{strong:!0,children:t("global.projectGroup")})}),jsx(Col,{span:10,className:"text-center mb-4",children:jsx(No,{strong:!0,children:t("global.game")})}),jsx(Col,{span:6,className:"text-center mb-4",children:jsx(No,{strong:!0,children:t("global.role")})}),s.map(l=>jsxs(Fragment$1,{children:[jsx(Col,{span:8,children:jsx(Form.Item,{noStyle:!0,shouldUpdate:!0,children:({setFieldValue:i})=>jsx(Form.Item,{name:[l.name,"game_group"],children:jsx(C1,{onChange:()=>{i(["permissions",l.name,"game_ids"],[]);}})})})}),jsx(Col,{span:10,children:jsx(Form.Item,{noStyle:!0,shouldUpdate:(i,p)=>i.permissions[l.name]?.game_group!==p.permissions[l.name]?.game_group,children:({getFieldValue:i})=>{let p=i(["permissions",l.name,"game_group"]);return jsx(Form.Item,{name:[l.name,"game_ids"],dependencies:[["permissions",l.name,"game_group"]],rules:[{required:p?.length,message:"\u8BF7\u9009\u62E9\u6E38\u620F"}],children:jsx(_1,{groups:p})})}})}),jsx(Col,{span:6,children:jsxs("div",{className:"flex",children:[jsx("div",{className:"flex-1",children:jsx(Form.Item,{name:[l.name,"role"],rules:[{required:!0,message:"\u8BF7\u9009\u62E9\u89D2\u8272"},({getFieldValue:i})=>({validator(p,c){return i("permissions").filter((x,d)=>!!x&&d!==l.name).some(x=>x.role===c)?Promise.reject(new Error("\u8BF7\u52FF\u91CD\u590D\u9009\u62E9\u89D2\u8272")):Promise.resolve()}})],children:jsx(Select,{allowClear:!0,showSearch:!0,optionFilterProp:"label",loading:r,options:e?.map(i=>({label:i.name,value:i.name}))})})}),jsx("div",{className:"w-8 text-center",children:jsx(Form.Item,{children:jsx(MinusCircleOutlined,{onClick:()=>{n(l.name);}})})})]})})]},l.key)),s.length===0&&jsx(Col,{span:24,children:jsx(Empty,{className:"mb-6"})}),jsx(Col,{span:24,children:jsx(Button,{block:!0,type:"dashed",onClick:()=>a(),children:t("global.add")})})]})})]})},Bs=({onSuccess:o}={})=>{let{t}=w(),{mutateAsync:e}=Vo();return ye({title:t("User.createTitle"),width:"50vw",formProps:{autoComplete:"off",labelCol:{flex:"80px"}},content:jsx(qs,{isCreate:!0}),onConfirm:async r=>{await e(r),o?.();}})},jt=({onSuccess:o}={})=>{let{t}=w(),{mutateAsync:e}=Do();return ye({title:t("User.updateTitle"),width:"50vw",formProps:{autoComplete:"off",labelCol:{flex:"80px"}},content:jsx(qs,{}),onConfirm:async(r,s)=>{await e({...r,id:s?.id}),o?.();}})};});var Qs=v(()=>{Gs();Ks();});var Ws=v(()=>{});var ut=v(()=>{Rs();Qs();$e();Ws();});var Js={};Te(Js,{default:()=>E1});var V1,D1,E1,Xs=v(()=>{it();z();Ke();Qe();U();ut();V1="/api/usystem/user/list",D1=()=>{let{modal:o,message:t}=App.useApp(),{t:e}=w(),r=xs(),{refetch:s}=J(),{permissionVersion:a}=M(h=>h),n=a==="v1",l=a==="v3",{show:i,modal:p}=Us({onSuccess(){s("user-list",{page:1}),t.success(e("User.createSuccessfully"));}}),{show:c,modal:y}=Ns({onSuccess(){s("user-list"),t.success(e("User.updateSuccessfully"));}}),{show:b,modal:x}=Bs({onSuccess(){s("user-list",{page:1}),t.success(e("User.createSuccessfully"));}}),{show:d,modal:u}=jt({onSuccess(){s("user-list"),t.success(e("User.updateSuccessfully"));}}),I=[{title:e("global.name"),dataIndex:"name",key:"name",render(h,f){return l?jsx(Link,{to:`./${f.id}`,children:h}):h}},{title:"ID",dataIndex:"id",key:"id"},(n||l)&&{title:e("global.role"),dataIndex:"roles",key:"roles",width:"40%",render(h){return jsx(Row,{gutter:[4,4],children:(h||[]).map(f=>jsx(Col,{children:f==="root"?jsx(Tag,{color:"#f50",children:f}):jsx(Tag,{color:"#ff5a00",children:jsx(Link,{to:`../role/${f}`,children:f})})},f))})}},{title:e("global.creationTime"),dataIndex:"Ctime",key:"ctime"},{title:e("global.operation"),width:150,align:"center",render:(h,f)=>{let{name:g,permissions:m,roles:P,id:V}=f;return jsxs(Space,{children:[jsx(Z,{size:"small",type:"link",code:"100003",onClick:()=>{l?d({initialValues:{name:g,permissions:m},extraValues:{id:V}}):c({initialValues:{name:g,roles:P},extraValues:{id:V}});},children:e("global.update")}),jsx(Z,{danger:!0,size:"small",code:"100004",type:"link",onClick:()=>{o.confirm({title:e("User.deleteTitle"),content:jsx(Re,{texts:[g],children:e("User.deleteContent",{user:g})}),async onOk(){await r.mutate({id:V,name:g}),s("user-list"),t.success(e("User.deleteSuccessfully"));}});},children:e("global.delete")})]})}}].filter(Boolean);return jsxs(Fragment,{children:[jsx(Card,{title:e("global.user"),extra:jsx(Z,{type:"primary",icon:jsx(UserAddOutlined,{}),code:"100002",onClick:()=>{l?b():i();},children:e("User.createTitle")}),children:jsx(ge,{identifier:"user-list",code:"100001",request:{url:V1,method:"GET"},rowKey:"id",columns:I,dataAdapter:h=>({total:h?.Total,items:h?.List}),renderForm:l?h=>jsx(Form,{form:h,children:jsx(Form.Item,{label:"\u540D\u79F0",name:"name",children:jsx(Input,{})})}):void 0})}),p,y,x,u]})},E1=Y(D1,{isGlobal:!0});});var oa={};Te(oa,{default:()=>K1});var B1,K1,ra=v(()=>{z();Ke();U();ue();ut();se();we();X();B1=()=>{let{message:o}=App.useApp(),t=useParams(),{t:e}=w(),{gameApiV2:r}=M(),s=R(),{data:a,isLoading:n,refetch:l}=useQuery({queryKey:C.users.detail(t.id||""),queryFn:()=>s.get(`/api/usystem/user/info?id=${t.id}`),enabled:!!t.id}),{data:i}=ve(),{data:p}=te("200005"),{show:c,modal:y}=jt({onSuccess(){l(),o.success(e("User.updateSuccessfully"));}}),b=[{key:"group",title:e("global.projectGroup"),dataIndex:"game_group",render(x){return x.map(d=>jsx(Tag,{children:d===re?"\u901A\u7528":d},d))}},{key:"game",title:e("global.game"),dataIndex:"game_ids",render(x){return x.map(d=>{let u=i?.find(I=>String(r?I.game_id:I.id)===d);return jsx(Tag,{children:u?.name??(d===re?"\u901A\u7528":d)},d)})}},{key:"role",title:e("global.role"),dataIndex:"role",render(x){return p?jsx(Link,{to:`../../role/${x}`,relative:"path",children:x}):x}}];return jsxs(Fragment,{children:[jsx(Breadcrumb,{style:{marginBottom:"1.5rem"},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:n,extra:jsx(Z,{code:"100003",onClick:()=>{c({initialValues:{name:a?.name,permissions:a?.permissions},extraValues:{id:a.id}});},children:e("global.update")}),children:jsxs(Descriptions,{bordered:!0,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:b,dataSource:a?.permissions,pagination:!1})})]})}),y]})},K1=B1;});var na={};Te(na,{default:()=>Z1});var J1,X1,Z1,ia=v(()=>{it();z();Ke();Qe();At();U();ut();se();X();J1="/api/usystem/role/list",X1=()=>{let{modal:o,message:t}=App.useApp(),{data:e}=te("200005"),{t:r}=w(),{permissionVersion:s}=M(d=>d),{refetch:a}=J(),n=R(),{show:l,modal:i}=Vs({onSuccess(){a("role-list",{page:1}),t.success(r("Role.createSuccessfully"));}}),{show:p,modal:c}=Ht({onSuccess(){a("role-list"),t.success(r("Role.updateSuccessfully"));}}),y=hs(),b=async d=>{let u=await n.get(`/api/usystem/role/info${s==="v2"?"V2":""}?name=${d.name}`);p({initialValues:{permissions:u.permissions,name:u.name.replace(/^role_/,"")},extraValues:{id:u?.id}});},x=[{title:r("global.name"),key:"name",render(d){return e?jsx(Link,{to:`${d.name}`,relative:"path",children:d.name}):jsx(Fragment,{children:d.name})}},{title:"ID",dataIndex:"id",key:"id"},{title:r("global.creationTime"),dataIndex:"ctime",key:"ctime"},{title:r("global.operation"),width:150,align:"center",render:(d,u)=>jsxs(Space,{size:"small",children:[jsx(Z,{code:"200003",size:"small",type:"link",onClick:async()=>{b(u);},children:r("global.update")}),jsx(Z,{danger:!0,code:"200004",size:"small",type:"link",onClick:()=>{o.confirm({title:r("Role.deleteTitle"),content:jsx(Re,{texts:[u.name],children:r("Role.deleteContent",{role:u.name})}),async onOk(){await y.mutate({id:u.id,name:u.name}),a("role-list"),t.success(r("Role.deleteSuccessfully"));}});},children:r("global.delete")})]})}];return jsxs(Fragment,{children:[jsx(Card,{title:r("global.role"),extra:jsx(Z,{type:"primary",code:"200002",icon:jsx(UsergroupAddOutlined,{}),onClick:()=>{l();},children:r("Role.createTitle")}),children:jsx(ge,{identifier:"role-list",rowKey:"name",columns:x,code:"200001",request:{url:J1,method:"GET"},dataAdapter:d=>({total:d?.Total,items:d?.List})})}),i,c]})},Z1=Y(X1,{isGlobal:!0});});var la={};Te(la,{default:()=>cc});var lc,cc,ca=v(()=>{z();Ke();U();ut();we();lc=()=>{let{message:o}=App.useApp(),t=useParams(),{t:e}=w(),r=useQueryClient(),{permissionVersion:s}=M(),{data:a,isLoading:n}=fs(t.name),{show:l,modal:i}=Ht({onSuccess(){let c=s==="v2"?"v2":"v1";r.invalidateQueries({queryKey:C.roles.detail(t.name,c)}),o.success(e("Role.updateSuccessfully"));}}),p=async()=>{l({initialValues:{permissions:a?.permissions,name:a?.name.replace(/^role_/,"")},extraValues:{id:a.id}});};return jsxs(Fragment,{children:[jsx(Breadcrumb,{style:{marginBottom:"1.5rem"},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(Z,{code:"200003",onClick:p,children:e("global.update")}),children:jsxs(Skeleton,{loading:n,children:[jsxs(Descriptions,{column:2,layout:"vertical",className:"mb-6",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.creationTime"),children:a?.ctime})]}),jsx(Divider,{}),jsx(Je,{readonly:!0,value:a?.permissions})]})}),i]})},cc=Y(lc,{isGlobal:!0});});st();var eo=create((o,t)=>({open:new Map,usedIds:new Set,isOpen:e=>t().open.get(e)??!1,show(e){o({open:new Map(t().open).set(e,!0)});},hide(e){o({open:new Map(t().open).set(e,!1)});},hideAll(){o({open:new Map});},checkUniqueness(e){let{usedIds:r}=t();return !r.has(e)},registerIds(e){let{usedIds:r}=t();return r.has(e)?!1:(o({usedIds:new Set(r).add(e)}),!0)},cleanup(e){let{open:r,usedIds:s}=t(),a=new Map(r),n=new Set(s);a.delete(e),n.delete(e),o({open:a,usedIds:n});}}));function oo(o){let{content:t,onConfirm:e,afterOpen:r,afterClose:s,footer:a,confirmText:n="\u786E\u8BA4",cancelText:l="\u53D6\u6D88",confirmButtonProps:i,cancelButtonProps:p,...c}=o,y=useMemo(()=>_t(),[]),{show:b,hide:x,isOpen:d,cleanup:u}=eo();useEffect(()=>()=>{u(y);},[y,u]);let I=d(y),[h,f]=useState(!1),g=typeof t=="function",m=useCallback(async()=>{b(y),await r?.();},[y,b,r]),P=useCallback(()=>{x(y);},[y,x]),V=useCallback(async()=>{P(),await s?.();},[P,s]),K=useCallback(async()=>{try{f(!0),await e?.();}catch(T){throw console.error("Drawer confirm error:",T),T}finally{f(!1);}},[e]),S=a!==void 0?a:jsxs("div",{className:"flex gap-4 mx-4",children:[jsx(Button,{type:"primary",loading:h,...i,onClick:K,children:n}),jsx(Button,{...p,onClick:V,children:l})]}),k=jsx(Drawer,{...c,open:I,footer:S,onClose:V,children:g?t({hide:P}):t});return {id:y,show:m,hide:P,confirmLoading:h,drawer:k}}function Ta(o){let{content:t,form:e,formProps:r,onConfirm:s,onSuccess:a,afterClose:n,...l}=o,[i,p]=useState({}),[c]=Form.useForm();c=e||c;let y=typeof t=="function",{id:b,show:x,hide:d,drawer:u}=oo({...l,content:h=>jsx(Form,{...r,form:c,children:y?t(i,h):t}),onConfirm:async()=>{try{let h=await c.validateFields();await s?.(h,i),a?.(),d();}catch(h){throw console.error("Form validation or submission error:",h),h}},afterClose:()=>{n?.(c);}}),I=useCallback(h=>{let{initialValues:f,extraValues:g}=h||{};g&&p(g),f&&c.setFieldsValue(f),x();},[c,x]);return {id:b,show:I,hide:d,drawer:u}}z();var Wa=o=>{let{initialTags:t,addable:e,removable:r,addCallback:s,removeCallback:a}=o,{t:n}=w(),{token:l}=theme.useToken(),[i,p]=useState([]),[c,y]=useState(!1),[b,x]=useState(""),[d,u]=useState(-1),[I,h]=useState(""),f=useRef(null),g=useRef(null);useEffect(()=>{p(t??[]);},[t]),useEffect(()=>{c&&f.current?.focus();},[c]),useEffect(()=>{g.current?.focus();},[b]);let m=async F=>{if(await a?.(F)){let E=i.filter(j=>j!==F);p(E);}},P=()=>{y(!0);},V=F=>{x(F.target.value);},K=async()=>{b&&i.indexOf(b)===-1&&await s?.(b)&&p([...i,b]),y(!1),x("");},S=F=>{h(F.target.value);},k=()=>{let F=[...i];F[d]=I,p(F),u(-1),x("");},T={width:78,verticalAlign:"top"},B={background:l.colorBgContainer,borderStyle:"dashed"};return jsxs(Space,{wrap:!0,size:[0,8],children:[jsx(Space,{wrap:!0,size:[0,8],children:i.map((F,O)=>d===O?jsx(Input,{ref:g,size:"small",style:T,value:I,onChange:S,onBlur:k,onPressEnter:k},F):jsx(Tag,{closable:r,style:{userSelect:"none"},onClose:async E=>{E.preventDefault(),await m(F);},children:jsx("span",{onDoubleClick:E=>{O!==0&&(u(O),h(F),E.preventDefault());},children:F})},F))}),e&&(c?jsx(Input,{ref:f,type:"text",size:"small",style:T,value:b,onChange:V,onBlur:K,onPressEnter:K}):jsxs(Tag,{style:B,onClick:P,children:[jsx(PlusOutlined,{}),"\xA0",n("global.add")]}))]})},Ha=Wa;var Ya=o=>{let{children:t,...e}=o,[r,s]=useState(!1);return jsx(Typography.Paragraph,{...e,className:"mb-0",ellipsis:{rows:2,expandable:"collapsible",expanded:r,onExpand:(a,n)=>{s(n.expanded);}},children:t})},Tt=Ya;Ft();it();Ft();z();se();X();var vn=()=>create()(devtools(subscribeWithSelector((o,t)=>({instances:new Map,registerInstance(e,r,s,a,n){o(l=>{let i=l.instances.get(e);if(i){let y={...i,refetch:a,fetchNextPage:n},b=new Map(l.instances);return b.set(e,y),{instances:b}}let p={id:e,url:r,queryKey:s,payload:{page:0,formValue:{}},refetch:a,fetchNextPage:n},c=new Map(l.instances);return c.set(e,p),{instances:c}});},unregisterInstance(e){o(r=>{let s=new Map(r.instances);return s.delete(e)?{instances:s}:r});},updatePayload(e,r){o(s=>{let a=s.instances.get(e);if(!a)return s;let n={...a.payload,...r};if(!isEqual(a.payload,n)){let l={...a,payload:n},i=new Map(s.instances);return i.set(e,l),{instances:i}}return s});},getPayload(e){return t().instances.get(e)?.payload??{page:0,formValue:{}}},async refetch(e,r){let s=t().instances.get(e);if(!s){console.warn(`InfiniteList instance with id "${e}" not found`);return}if(r){let a=s.payload,n={...a,...r};isEqual(a,n)||t().updatePayload(e,r);}try{await s.refetch();}catch(a){throw console.error(`Failed to refetch InfiniteList instance "${e}":`,a),a}},async fetchNextPage(e){let r=t().instances.get(e);if(!r){console.warn(`InfiniteList instance with id "${e}" not found`);return}try{await r.fetchNextPage();}catch(s){throw console.error(`Failed to fetch next page for InfiniteList instance "${e}":`,s),s}},getInstance(e){return t().instances.get(e)},getAllInstances(){return Array.from(t().instances.values())}})),{name:"infinite-list-store"})),Sn=vn(),ce=Sn;var Vn=(o,t)=>{let r={refreshInterval:0,initialPageParam:0,...o,dataAdapter:{...{items:L=>L?L.flatMap(A=>A?.list||A||[]):[],hasMore:L=>{if(!L)return !1;let A=L;return A?.hasMore||A?.has_more||!1},nextPageParam:(L,A,be)=>(de=>{if(!de)return !1;let ke=de;return ke?.hasMore||ke?.has_more||!1})(L)?A.length:void 0},...o.dataAdapter}},{identifier:s,code:a,buttonsAlign:n,showReset:l,refreshInterval:i,request:p,tableExtra:c,renderForm:y,afterSuccess:b,afterError:x,dataAdapter:d,initialPageParam:u,footer:I,form:h,...f}=r,{t:g}=w(),[m]=Form.useForm(h),[P,V]=useState(!1),K=useRef(!1),S=useRef(3),k=R(),{data:T,isLoading:B}=te(a),F=useCallback(()=>ce.getState().getPayload(s),[s]),O=useMemo(()=>m,[m]),{url:E,method:j="GET",body:Ce,params:gt,headers:Ee,cacheTime:Ge=5*60*1e3,staleTime:ht=0}=p,Ze=useMemo(()=>typeof Ee=="function"?Ee(O):Ee,[Ee,O]),et=useMemo(()=>{let L=F();return [E,s,T,P,L,Ze]},[E,s,T,P,F,Ze]),{data:Oe,fetchNextPage:tt,hasNextPage:xt,isFetchingNextPage:_e,refetch:ot,isFetching:bt}=useInfiniteQuery({queryKey:et,queryFn:async({pageParam:L=u})=>{try{let A=F(),be=typeof gt=="function"?gt(A,L):gt,Pe=typeof Ce=="function"?Ce(A,L):Ce,de={method:j,searchParams:be,headers:Ze};Pe&&(Pe instanceof FormData?de.body=Pe:de.json=Pe);let ke=await k.request({url:E,...de});return K.current=!0,b?.(S.current,O,[ke]),ke}catch(A){let be=A instanceof Error?A:new Error(String(A));throw x?.(be,S.current,O),be}},initialPageParam:u,getNextPageParam:(L,A)=>d?.nextPageParam?.(L,A,u),enabled:T&&P,retry:(L,A)=>!(L>=3||A?.message?.includes("401")),retryDelay:L=>Math.min(1e3*2**L,3e4),refetchOnWindowFocus:!1,refetchInterval:K.current?i:0,gcTime:Ge,staleTime:ht});useEffect(()=>(ce.getState().registerInstance(s,E,et,ot,tt),()=>{ce.getState().unregisterInstance(s);}),[s,E,et,ot,tt]);let ze=d?.items?.(Oe?.pages,O),Ae=_e,me=!xt,Zt=!ze||ze.length===0,wt=async()=>{S.current=0;let L=await m.getFieldsValue();try{await m.validateFields(),V(!0),ce.getState().updatePayload(s,{page:0,formValue:L}),ot();}catch{V(!1);}},vt=()=>{S.current=2,tt();},St=async()=>{S.current=1;try{m.resetFields();let L=await m.getFieldsValue();ce.getState().updatePayload(s,{page:0,formValue:L}),await m.validateFields({validateOnly:!0}),ot();}catch{}};if(useEffect(()=>{setTimeout(()=>{T&&m.validateFields({validateOnly:!0}).then(L=>{V(!0),ce.getState().updatePayload(s,{page:0,formValue:L});}).catch(()=>{V(!1);});},300);},[T,m,s]),useImperativeHandle(t,()=>({data:Oe?.pages,dataSource:ze,form:m,refetch:()=>ce.getState().refetch(s),fetchNextPage:()=>ce.getState().fetchNextPage(s),hasNextPage:!!xt,isFetchingNextPage:_e})),B)return jsx(Spin,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:300}});if(!T)return jsx(Result,{status:403,subTitle:g("global.noEntitlement")});let le=I&&(()=>I(Oe?.pages)),It=()=>typeof c=="function"?c(O,Oe?.pages):c,rt=typeof y=="function"?jsx(nt,{showReset:l,buttonsAlign:n,isConfirming:bt,onReset:St,onConfirm:wt,children:cloneElement(y(m),{onKeyUp:L=>{L.key==="Enter"&&wt();}})}):jsx(Form,{form:m});return jsxs(Fragment,{children:[rt,It(),jsx("div",{style:{minHeight:"400px"},children:jsx(Table,{...f,dataSource:ze,loading:bt,pagination:!1,footer:le})}),!Zt&&jsx(Button,{block:!0,loading:Ae,type:"link",htmlType:"button",disabled:Ae||me,onClick:vt,children:g(Ae?"InfiniteList.loadingText":me?"InfiniteList.reachEndText":"InfiniteList.loadMoreText")})]})},Dn=forwardRef(Vn),En=Dn;var Sr=create()(persist((o,t)=>({openKeys:[],setOpenKeys:e=>{let r=t();(r.openKeys.length!==e.length||!r.openKeys.every((s,a)=>s===e[a]))&&o({openKeys:e});},selectedKeys:[],setSelectedKeys:e=>{let r=t();(r.selectedKeys.length!==e.length||!r.selectedKeys.every((s,a)=>s===e[a]))&&o({selectedKeys:e});}}),{name:"nav",storage:createJSONStorage(()=>localStorage),partialize:o=>({openKeys:o.openKeys,selectedKeys:o.selectedKeys}),skipHydration:!1,version:1}));var Ir=memo(({to:o,children:t})=>jsx(Link,{to:o,children:t}));Ir.displayName="MemoizedLink";function Lt(o){let t=[];if(o)for(let e=0;e<o.length;e++)if(o[e]===null||o[e].type==="divider")t[e]=o[e];else if(o[e].children){let{children:r,...s}=o[e];t[e]={...s,children:Lt(r)};}else {let{route:r,label:s,...a}=o[e],n=r?jsx(Ir,{to:r,children:s}):s;t[e]={...a,label:n};}return t}function Vt(o,t=[],e=[]){for(let r of o){let s=r?.children;if(Array.isArray(s)){let a=r.type!=="group"&&r.key?[...e,r.key]:e;Vt(s,t,a);}else r&&t.push(Object.assign(r,{keypath:e}));}return t}var kr=memo(function(t){let{items:e=[],theme:r,loading:s}=t,a=useLocation(),n=useRef(),l=useRef(),i=useMemo(()=>n.current===e?n.current?Vt(n.current):[]:(n.current=e,Vt(e)),[e]),p=useMemo(()=>n.current===e?n.current?Lt(n.current):[]:Lt(e),[e]),{openKeys:c,selectedKeys:y,setOpenKeys:b,setSelectedKeys:x}=Sr(),d=useCallback(u=>{let I=u.find(h=>!c.includes(h));if(I){let h=i.find(g=>g.key===I),f=h?.keypath?[...h.keypath,I]:[I];b(f);}else b(u);},[i,c,b]);return useEffect(()=>{if(l.current===a.pathname)return;l.current=a.pathname;let u=i.find(I=>a.pathname===I.route);if(u){let I=u.key,h=u.keypath;(y[0]!==I||!c.every((f,g)=>f===h[g]))&&(x([I]),b(h));}},[i,a.pathname,y,c,x,b]),s?jsx("div",{className:"flex justify-center items-center",style:{height:"calc(100vh - 64px)"},children:jsx(Spin,{})}):jsx(Menu,{theme:r,style:{borderRight:"none"},items:p,mode:"inline",openKeys:c,selectedKeys:y,onOpenChange:d})});process.env.NODE_ENV==="development"&&(kr.displayName="NavMenu");var uo=kr;z();U();X();var {Spin:Jn}=lt,Xn=({children:o})=>{let{permissionVersion:t,gameId:e,isGlobal:r}=M(n=>n),{isLoading:s}=ve(),{t:a}=w();return s?jsx("div",{style:{display:"flex",justifyContent:"center",alignItems:"center",height:400},children:jsx(Jn,{})}):t==="v1"||r?o:e?jsx(Fragment$1,{children:o},e):jsx(Empty,{image:Empty.PRESENTED_IMAGE_SIMPLE,description:a("RequireGame.description")})},fo=Xn;U();z();U();var si=()=>{let{t:o}=w(),t=useNavigate(),{clearToken:e,getUser:r,signInPath:s}=M(c=>c),a=r(),n=()=>{e(),t(s);},l=c=>{(c.key==="Enter"||c.key===" ")&&(c.preventDefault(),n());},i=c=>{(c.key==="Enter"||c.key===" ")&&c.preventDefault();},p=[{key:"1",icon:jsx(LogoutOutlined,{}),label:jsx("a",{role:"button",tabIndex:0,onClick:n,onKeyDown:l,children:o("UserWidget.signOutText")})}];return jsx("div",{children:jsx(Dropdown,{menu:{selectable:!0,items:p},placement:"bottomRight",children:jsx("a",{role:"button",tabIndex:0,onClick:c=>{c.preventDefault();},onKeyDown:i,children:jsxs(Space,{align:"center",children:[jsx("span",{children:a?.authorityId}),jsx(UserOutlined,{style:{fontSize:"16px"}})]})})})})},yo=si;z();U();X();var{Text:mi}=Typography,di=o=>{let{filter:t,options:e}=o,{t:r}=w(),{gameApiV2:s,gameId:a,setGameId:n}=M(d=>d),{data:l,isLoading:i}=ve(),p=useQueryClient(),c=l?.filter(d=>t?.(d)??!0),y=typeof e=="function"?e(c):c?.map(d=>({label:d.name,value:s?d.game_id:d.id})),b=d=>{x(),n(d);},x=()=>{p.removeQueries({predicate:d=>{let u=d.queryKey;return !u.includes("/api/game/list")&&!u.includes("/api/usystem/game/all")}});};return useEffect(()=>{if(l&&l.length>0){let d=s?l[0].game_id:l[0].id;l.every(u=>String(u.game_id||u.id)!==String(a))&&n(d);}},[l]),jsxs(Space,{children:[jsx(mi,{children:r("GameSelect.label")}),jsx(Select,{showSearch:!0,optionFilterProp:"label",value:a,placeholder:r("GameSelect.placeholder"),loading:i,style:{width:"200px"},options:y,onChange:b})]})},Mr=di;var yi=o=>jsx("img",{src:fi,alt:"logo",...o}),qe=yi;var Lr=memo(({title:o,subtitle:t,mainPagePath:e,collapsed:r})=>jsxs("div",{className:"px-6 py-2 font-bold relative bg-gradient-to-r from-white to-gray-50/30",style:{height:"auto",display:"flex",flexDirection:"column",justifyContent:"center",backdropFilter:"blur(4px)",WebkitBackdropFilter:"blur(4px)"},children:[jsxs("div",{className:`flex items-center w-full ${r?"justify-center":""}`,children:[jsx(Link,{to:e,className:"hover:opacity-80 transition-all duration-300 ease-out block rounded-lg p-1 hover:bg-white/50 hover:shadow-sm",style:{transition:"all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)",opacity:r?.8:1,transform:"translateX(0)"},children:jsx(qe,{width:36,style:{objectFit:"contain",display:"block",filter:"drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05))",transition:"all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)"}})}),o&&jsx("div",{className:"ml-4 overflow-hidden min-w-0",style:{transition:"all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)",opacity:r?0:1,width:r?"0px":"auto",marginLeft:r?"0px":"16px",transform:r?"translateX(-8px)":"translateX(0)"},children:jsx(Link,{to:e,className:"text-xl leading-tight hover:text-blue-600 transition-all duration-300 font-bold text-ellipsis overflow-hidden whitespace-nowrap block bg-gradient-to-r from-gray-800 to-gray-600 bg-clip-text text-transparent hover:from-blue-600 hover:to-blue-500",title:o,style:{letterSpacing:"0.02em",textShadow:"0 1px 2px rgba(0, 0, 0, 0.05)"},children:o})})]}),jsx("div",{className:"w-full mt-2 overflow-hidden",style:{height:t&&!r?"20px":"1px",transition:"height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)"},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:{opacity:!t||r?1:0,transition:"opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)"}}),t&&jsxs("div",{className:"flex items-center w-full text-sm",style:{opacity:r?0:1,transform:r?"translateY(-3px)":"translateY(0)",transition:"all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94)"},children:[jsx("div",{className:"flex-1 border-t border-gray-200"}),jsx("span",{className:"px-3 text-gray-500 font-medium whitespace-nowrap",title:t,children:t}),jsx("div",{className:"flex-1 border-t border-gray-200"})]})]})})]}));Lr.displayName="LayoutHeader";var Vr=Lr;var {Spin:Ii,theme:Ci}=lt,{Header:_i,Sider:Pi,Content:ki}=lt.Layout,Ti=o=>{let{collapsible:t,isMenuLoading:e,items:r,headerExtra:s,children:a,navWidth:n,filter:l,gameSelectOptions:i,title:p,subtitle:c}=o,{token:{colorBgContainer:y,colorBorder:b}}=Ci.useToken(),{permissionVersion:x,navWidth:d,collapsible:u,mainPagePath:I,collapsed:h,setContext:f,isGlobal:g}=M(),[m,P]=useState(h),V=async()=>{P(!m),f({collapsed:!m});},K=t??u??!1;return jsxs(lt.Layout,{children:[jsxs(Pi,{collapsible:K,theme:"light",trigger:null,collapsed:m,width:n??d,style:{height:"100vh",overflowX:"hidden",overflowY:"auto",borderRightWidth:1,borderRightStyle:"solid",borderRightColor:b,transition:"all 0.2s cubic-bezier(0.645, 0.045, 0.355, 1)"},children:[jsx(Vr,{title:p,subtitle:c,mainPagePath:I,collapsed:m||!1}),jsx(uo,{items:r,loading:e})]}),jsxs(lt.Layout,{children:[jsx(_i,{style:{padding:"0 24px",background:y},children:jsxs("div",{className:"flex justify-between items-center h-full",children:[jsxs(Space,{size:"small",split:jsx(Divider,{type:"vertical"}),className:"mr-6",children:[K&&jsx(Button,{type:"text",icon:m?jsx(MenuUnfoldOutlined,{}):jsx(MenuFoldOutlined,{}),style:{fontSize:"16px"},onClick:V}),x!=="v1"&&!g&&jsx(Mr,{filter:l,options:i}),s?.left?.map(S=>jsx("span",{children:S.children},S.key))]}),jsxs(Space,{size:"small",split:jsx(Divider,{type:"vertical"}),children:[s?.right?.map(S=>jsx("span",{children:S.children},S.key)),jsx(yo,{})]})]})}),jsx(ki,{style:{overflow:"auto",padding:"24px 16px",maxHeight:"calc(100vh - 64px)",transition:"margin-left 0.2s cubic-bezier(0.645, 0.045, 0.355, 1)"},children:jsx(Suspense,{fallback:jsx(Ii,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:"200px"}}),children:jsx(fo,{children:a})})})]})]})},Fi=Ti;Ot();Ke();Qe();z();X();var pl=o=>{let{code:t,config:e,children:r}=o,{data:s,isLoading:a}=te(t,e),{t:n}=w();return a?jsx(Spin,{style:{display:"flex",justifyContent:"center",alignItems:"center",height:200}}):s?jsx(Fragment,{children:r}):jsx(Result,{status:"403",subTitle:n("global.noEntitlement")})},ml=pl;U();ue();var Al=lazy(()=>Promise.resolve().then(()=>(es(),Zr))),Ul=lazy(()=>Promise.resolve().then(()=>(as(),ss))),Nl=lazy(()=>Promise.resolve().then(()=>(ps(),cs))),ql=jsxs(Routes,{children:[jsx(Route,{index:!0,element:jsx(Al,{})}),jsx(Route,{path:"create",element:jsx(Ul,{})}),jsx(Route,{path:"update/:id",element:jsx(Nl,{})})]});z();var Hl=o=>{let{redirectUrl:t}=o,e=useNavigate(),{t:r}=w();return jsx("div",{className:"text-center",children:jsx(Result,{status:"404",title:"404",subTitle:r("NotFound.subTitle"),extra:t&&jsx(Button,{type:"primary",onClick:()=>{e(t);},children:r("NotFound.buttonText")})})})},jl=Hl;z();Qe();U();var {Option:ms}=Select,Jl=()=>{let{t:o}=w(),t=[{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(e){return jsx(Tt,{children:e})}},{key:"response",title:o("global.response"),dataIndex:"response",render(e){return jsx(Tt,{children:e})}},{key:"creation_time",title:o("global.creationTime"),dataIndex:"ctime",width:200,render(e){return Yl(e).format("YYYY-MM-DD HH:mm:ss")}}];return jsx(Card,{title:"\u64CD\u4F5C\u65E5\u5FD7",children:jsx(ge,{identifier:"operation-log-list",rowKey:"id",code:"300001",columns:t,tableLayout:"fixed",request:{url:"/api/usystem/log/list",method:"GET"},dataAdapter:e=>({total:e?.Total,items:e?.List}),renderForm:e=>jsxs(Form,{form:e,layout:"inline",children:[jsx(Form.Item,{label:o("global.username"),name:"uname",children:jsx(Input,{allowClear:!0})}),jsx(Form.Item,{label:o("global.route"),name:"route",children:jsx(Input,{allowClear:!0})}),jsx(Form.Item,{label:o("global.method"),name:"method",children:jsxs(Select,{allowClear:!0,style:{width:"100px"},children:[jsx(ms,{value:"get",children:"GET"}),jsx(ms,{value:"post",children:"POST"})]})}),jsx(Form.Item,{label:o("global.label"),name:"label",children:jsx(Input,{allowClear:!0})})]})})})},Xl=Y(Jl,{isGlobal:!0});var uc=lazy(()=>Promise.resolve().then(()=>(Xs(),Js))),fc=lazy(()=>Promise.resolve().then(()=>(ra(),oa))),yc=lazy(()=>Promise.resolve().then(()=>(ia(),na))),gc=lazy(()=>Promise.resolve().then(()=>(ca(),la))),hc=jsxs(Routes,{children:[jsx(Route,{index:!0,element:jsx(Navigate,{to:"user"})}),jsx(Route,{path:"user",element:jsx(uc,{})}),jsx(Route,{path:"user/:id",element:jsx(fc,{})}),jsx(Route,{path:"role",element:jsx(yc,{})}),jsx(Route,{path:"role/:name",element:jsx(gc,{})})]});z();U();ue();var pa='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';U();se();function da(){let o=R(),{setToken:t}=M(),{ticket:e,unregisteredFromUrl:r}=useMemo(()=>{let c=new URLSearchParams(window.location.search);return {ticket:c.get("ticket"),unregisteredFromUrl:c.get("unregistered")==="true"}},[]),[s,a]=useState(r),{data:n,isLoading:l,error:i}=useQuery({queryKey:["ticket-login",e],queryFn:()=>o.get(`/api/usystem/user/login?ticket=${e}`),enabled:!!e,retry:!1,refetchOnWindowFocus:!1,refetchOnReconnect:!1});useEffect(()=>{n?.token?t(n.token):i&&"response"in i&&i.response?.status===403&&a(!0);},[n,i,t]);let p=useMemo(()=>()=>{if(a(!1),r){let c=new URL(window.location.href);c.searchParams.delete("unregistered"),window.history.replaceState({},"",c.toString());}},[r]);return {hasTicket:!!e,isLoading:l,error:i,isUnregistered:s,dismissUnregistered:p}}var Fc=({extra:o,title:t})=>{let{token:e,mainPagePath:r}=M(i=>i),{t:s}=w(),{isLoading:a,isUnregistered:n,dismissUnregistered:l}=da();if(a)return jsx("div",{className:"w-screen h-screen flex justify-center items-center",children:jsx(Spin,{})});if(e){let i=!!window.location.hash,p=r;return i?(window.location.href=`${window.location.origin}${window.location.pathname}#${p}`,null):jsx(Navigate,{replace:!0,to:r})}return jsxs("div",{className:"w-screen h-screen relative flex overflow-hidden",children:[jsx("div",{className:"absolute top-16 right-16 z-10",children:o}),jsx("div",{className:"absolute left-14 top-6",children:jsxs(Space,{align:"center",children:[jsx(qe,{width:48}),t&&jsx("span",{className:"text-2xl font-bold",children:t})]})}),jsx("div",{className:"flex-1 flex justify-center items-center bg-slate-50",children:jsx("img",{src:pa,alt:"background",className:"w-10/12"})}),jsx("div",{className:"w-[650px] relative top-0 left-0 right-0 bottom-0",children:jsx("div",{className:"absolute top-1/2 -translate-y-1/2 left-0 right-0",children:jsx("div",{className:"-translate-y-10 px-36",children:jsxs("div",{className:"flex flex-col justify-center",children:[jsx("div",{className:"h-10",children:n&&jsx(Alert,{banner:!0,closable:!0,message:s("SignIn.unregistered"),type:"error",onClose:l})}),jsx(Typography.Title,{level:2,children:s("SignIn.welcome")}),jsx("div",{className:"mt-4",children:jsxs(Form,{layout:"vertical",autoComplete:"off",children:[jsx(Form.Item,{label:s("global.username"),name:"username",rules:[{required:!0}],children:jsx(Input,{})}),jsx(Form.Item,{label:s("global.password"),name:"password",rules:[{required:!0}],children:jsx(Input.Password,{})}),jsx(Form.Item,{children:jsx(Button,{block:!0,type:"primary",shape:"round",htmlType:"submit",children:s("global.signIn")})})]})}),jsx(Divider,{plain:!0,dashed:!0,children:s("SignIn.thirdParty")}),jsx("div",{className:"flex justify-center items-center",children:jsxs(Button,{block:!0,shape:"round",href:`${ro}/logout?service=${ro}/login?service=${window.location.href}`,target:"_self",children:[jsx(qe,{width:18}),s("SignIn.signInWithIDass")]})})]})})})})]})},Mc=Fc;X();st();
2
+ export{Fe as APP_ID_HEADER,Ha as DynamicTags,Tt as ExpandableParagraph,Me as FRONTEND_ROUTE_PREFIX,nt as FilterFormWrapper,Re as Highlight,En as InfiniteList,Fi as Layout,uo as NavMenu,jl as NotFound,Xl as OperationLogList,Z as PermissionButton,so as PermissionVersion,ge as QueryList,Wr as QueryListAction,fo as RequireGame,ml as RequirePermission,ro as SSO_URL,Mc as SignIn,Aa as ToolkitsProvider,yo as UserWidget,re as WILDCARD,_t as generateId,ql as menuRoutes,Qo as mixedStorage,hc as permissionRoutes,oo as useDrawer,eo as useDrawerStore,Ta as useFormDrawer,ye as useFormModal,ve as useGames,ce as useInfiniteListStore,Rt as useMenuList,xo as useModal,go as useModalStore,te as usePermission,J as useQueryListStore,M as useToolkitsStore,Y as withContext};
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-toolkits",
3
3
  "type": "module",
4
- "version": "2.22.6",
4
+ "version": "2.22.7",
5
5
  "sideEffects": [
6
6
  "*.css"
7
7
  ],
@@ -46,7 +46,6 @@
46
46
  "zustand": "^5.0.1"
47
47
  },
48
48
  "devDependencies": {
49
- "@tanstack/react-query-devtools": "^5.59.0",
50
49
  "@types/lodash-es": "^4.17.12",
51
50
  "@types/node": "^22.9.0",
52
51
  "@types/react": "^18.3.12",