pdrenderkit
Version:
A lightweight frontend rendering tool focusing on real-time DOM manipulation and flexible utilities for small to medium projects.
1 lines • 41.6 kB
JavaScript
!function(){let t,n,e,i,o,s,r=[],l=new Map;const u=window,c=document,f=navigator,h=location,a=(console,Math),p=Promise,d=String,v=Number,_=Array,y=Object,g=Map,T=Boolean,E=Date,m=URL,w=URLSearchParams,$=Image,A=JSON,L=FormData,C=RegExp,I=Element,R=DocumentFragment,b=FileReader,M=Node,F=HTMLFormElement,S=Function,O=IntersectionObserver,U=encodeURIComponent,N=decodeURIComponent,V=ArrayBuffer,z=Uint8Array,D=Blob,P=HTMLLinkElement,H=HTMLElement,x=HTMLVideoElement,G=HTMLScriptElement,k=HTMLInputElement,B=HTMLTextAreaElement,X=HTMLSelectElement,Y=ClipboardItem,j=isNaN,W=setTimeout,q=parseInt,J=history,K=new g,Z="abs",Q="addEventListener",tt="alt",nt="atob",et="anonymous",it="append",ot="apply",st="attr",rt="attributes",lt="behavior",ut="before_render",ct="blob",ft="body",ht="boolean",at="catch",pt="canvas",dt="change",vt="charAt",_t="charCodeAt",yt="child",gt="class",Tt="client",Et="clipboard",mt="console",wt="contains",$t="contentEditable",At="controls",Lt=At+"List",Ct="copy",It="cookie",Rt="create",bt="crossOrigin",Mt="currentScript",Ft="credentials",St="data",Ot="defineProperty",Ut="delete",Nt="display",Vt="div",zt="dom-tag",Dt="drag",Pt="drawImage",Ht="download",xt="end",Gt="enter",kt="event",Bt="file",Xt="filter",Yt="floor",jt="font",Wt="forEach",qt="from",Jt="get",Kt="has",Zt="header",Qt=Zt+"s",tn="height",nn="history",en="href",on="html",sn="id",rn="image",ln="indexOf",un="init",cn="insertBefore",fn="inner",hn="isArray",an="isFor",pn="isIntersecting",dn="isObj",vn="join",_n="json",yn="keys",gn="keyup",Tn="lazyload",En="leave",mn="left",wn="length",$n="line",An="log",Ln="loop",Cn="margin",In="map",Rn="match",bn="method",Mn="mime",Fn="mouse",Sn="move",On="muted",Un="name",Nn="next",Vn="nodeType",zn="nodownload",Dn="noremoteplayback",Pn="number",Hn="object",xn="observe",Gn="on",kn="origin",Bn="over",Xn="padding",Yn="parent",jn="pathname",Wn="playsinline",qn="pre",Jn="prototype",Kn="push",Zn=Kn+"State",Qn="query",te="random",ne="readAs",ee="remote",ie="rendered",oe="repeat",se="result",re="replace",le=re+"State",ue="revokeObjectURL",ce="scroll",fe="script",he="set",ae="shift",pe="size",de="slice",ve="smooth",_e="splice",ye="split",ge="src",Te="start",Ee=Te+"sWith",me="status",we="string",$e="style",Ae="substring",Le="tag",Ce="target",Ie="temp",Re="test",be="text",Me="then",Fe="title",Se="to",Oe="trim",Ue="type",Ne="unobserve",Ve="userAgent",ze="value",De="values",Pe="video",He="void",xe="when",Ge="width",ke="write",Be="All",Xe="Attribute",Ye="Bottom",je="Child",We="Element",qe="Height",Je="Left",Ke="Node",Ze="Right",Qe="Text",ti="TEXT_NODE",ni="Top",ei="Width",ii="append"+je,oi=yt+"ren",si=gt+"List",ri=gt+"Name",li="clone"+Ke,ui=Tt+qe,ci=Tt+ei,fi=Rt+"DocumentFragment",hi=Rt+We,ai=hi+"NS",pi=Rt+"ObjectURL",di=Rt+Qe+Ke,vi=St+he,_i=Dt+xt,yi=Dt+Gt,gi=Dt+En,Ti=Dt+Bn,Ei=Dt+Te,mi=qt+"CharCode",wi=qt+"Entries",$i=Jt+Xe,Ai=Jt+"Context",Li=Jt+"Date",Ci=Jt+"Day",Ii=Jt+We+"ById",Ri=Jt+"FullYear",bi=Jt+"Hours",Mi=Jt+"Milliseconds",Fi=Jt+"Minutes",Si=Jt+"Month",Oi=Jt+"Seconds",Ui=Jt+"Time",Ni="gone",Vi=Kt+"OwnProperty",zi=fn+"HTML",Di=fn+qe,Pi=fn+Qe,Hi=fn+ei,xi=Cn+Ye,Gi=Cn+Je,ki=Cn+Ze,Bi=Cn+ni,Xi=Fn+"down",Yi=Fn+Gt,ji=Fn+En,Wi=Fn+Sn,qi=Fn+"out",Ji=Fn+Bn,Ki=Fn+"up",Zi=Nn+We+"Sibling",Qi="onclick",to="onerror",no="onload",eo=no+"eddata",io=Xn+Ye,oo=Xn+Je,so=Xn+Ze,ro=Xn+ni,lo=Yn+We,uo=Yn+Ke,co=qn+"load",fo="previous"+We+"Sibling",ho=Qn+"Selector",ao=ho+Be,po=ne+"DataURL",vo=ne+"ArrayBuffer",_o="re"+Sn,yo=_o+Xe,go=_o+je,To=re+je+"ren",Eo=ce+qe,mo=ce+Je,wo=ce+ni,$o=ce+ei,Ao=ce+"To",Lo="sel"+Be,Co=he+Xe,Io=we+"ify",Ro=Le+"Name",bo=be+"Content",Mo=be+"area",Fo="toDataURL",So="toLowerCase",Oo="toString",Uo="toUpperCase",No="touch",Vo=No+xt,zo=No+Gt,Do=No+En,Po=No+Sn,Ho=No+Te,xo=No+"up",Go=Pe+qe,ko=Pe+ei,Bo=ke+Qe,Xo="yyyy/MM/DD (ddd) HH:mm:ss",Yo="$",jo="$$",Wo="_",qo="__";let Jo="";_[qt]({[wn]:26},((t,n)=>d[mi](97+n)))[Wt](((t,n)=>{let e=n<10,i=n>=10&&n<20,o=n>=20,s=d(n),r=s[vt](s[wn]-1),l=n=>{Jo+=n?t[Uo]():t,u[(n?Yo:Wo)+(o?Wo:"")+r+(i?Wo:"")]=n?t[Uo]():t};l(0),l(1),e&&(Jo+=n,u[Wo+t]=n)}));const Ko=u._a,Zo=u._b,Qo=u._c,ts=u._d,ns=u._e,es=(u._f,u._g,u._h,u._i),is=(u._j,u._0),os=u._1,ss=u._2,rs=u._3,ls=u._4,us=(u._5,u._6),cs=u._7,fs=u._8,hs=(u._9,u._0_,u._1_,u._2_),as=u._3_,ps=u._4_,ds=u._5_,vs=(u._6_,u._7_),_s=u._8_,ys=u._9_,gs=u.__0,Ts=(u.__1,u.__2,u.__3),Es=u.__4,ms=(u.__5,u.$0),ws=u.$1,$s=u.$2,As=u.$3,Ls=(u.$4,u.$5,u.$6),Cs=u.$7,Is=(u.$8,u.$9),Rs=(u.$0_,u.$1_),bs=u.$2_,Ms=(u.$3_,u.$4_,u.$5_),Fs=(u.$6_,u.$7_),Ss=u.$8_,Os=u.$9_,Us=(u.$_0,u.$_1,u.$_2,u.$_3),Ns=u.$_4,Vs=(u.$_5,yt+Ke+_s),zs=Bt+_s,Ds=Ao+ws,Ps=Ao+Rs,Hs=Ao+Fs,xs=Ao+Os,Gs=Ao+Us,ks=Ao+Ns,Bs=Se+ds,Xs=[fs,ys][vn](""),Ys=[gs,os][vn](""),js=[is,vs,rs,as][vn](""),Ws=[cs,fs,gs][vn](""),qs=[Fs,ls,as,rs,ls,vs,Is,Ss][vn](""),Js=["load","click","dblclick","scroll","contextmenu","focus","blur","input","keydown",gn,dt,"cut","paste",Xi,Ki,Yi,ji,Ji,qi,Wi,Ho,Po,zo,Do,Vo,xo,Ei,yi,Ti,gi,_i,"drop"],Ks=":path",Zs=":for",Qs=":if",tr=":else-if",nr=":el-if",er=":else",ir=":model",or=/\{\{\s*(((CALC|LENGTH|UPPER|LOWER|DATE)\(\s*[\w\.\s\+\-\*\/\,\s\/\:]+\s*\))|[\w\.]+)\s*\}\}/i,sr=new RegExp(or,"gi"),rr=/(CALC|LENGTH|UPPER|LOWER)\(([\w\.]+)\s*([\+\-\*\/\%]+)\s*([\d\.]+)\)/,lr=/DATE\(([\w\.]+)\s*,\s*([^\n]+)\)/,ur=/^\(?\s*([\w]+)(\s*\,|\s+)?/i,cr=/\,\s*([\w]+)\s*\)/i,fr=/\s+([\w\.]+)\s*$/i,hr=/\s*[\!\>\<\=]+\=*\s*/,ar=/([\w\.]+)\s*([\+\-\*\/\%])\s*([\d\.]+)/,pr=/^\w+(?=[\#\.]*)/i,dr=/\#([\w_-]+)?/i,vr=/\.([\w_-]+)?/gi,_r=/^(svg|rect|circle|ellipse|line|polyline|polygon|path|text|tspan|g|defs|symbol|image|use|clipPath|mask|linearGradient|radialGradient)$/i,yr=/^temp-svg\.svg/i,gr=/\s(.+)/i,Tr=/\@(\w+)/i,Er="$req",mr=Yo+Qn,wr=Yo+_n,$r=Yo+on,Ar="$regexp",Lr="$base64",Cr=Yo+ct,Ir="$url",Rr=Yo+Qn+Be,br=Yo+rn,Mr="$img",Fr="$all",Sr=Yo+fs,Or=Yo+rt,Ur=Yo+yt,Nr=Yo+In,Vr=Yo+rs,zr=Yo+cs,Dr=Yo+is,Pr=Yo+ms,Hr=Yo+Ss,xr=Yo+Es,Gr=Yo+bs,kr="$date",Br="$timestamp",Xr="$format",Yr=Yo+yn,jr=Yo+De,Wr="$uniKey",qr=Yo+Bt,Jr=Yo+It,Kr=Yo+Yn,Zr=Yo+st,Qr=Yo+Nn,tl=Wo+Nt,nl=Wo+gt,el=Wo+nn,il=Wo+Qn,ol=Wo+oi,sl=Wo+yt,rl=Wo+st,ll=Wo+It,ul=qo+nn,cl=qo+Qn,fl=qo+gt,hl=qo+yt,al=Qn+Wo,pl=gt+Wo,dl=st+Wo,vl=gt+qo,_l=Qn+qo,yl="$$200",gl=jo+_n,Tl=jo+gt,El=jo+gt+Wo,ml=jo+Qn,wl=rn+"/jpeg",$l=/zh/.test(navigator.language||"");e=/android/i[Re](f[Ve]),i=/iphone|ipad/i[Re](f[Ve]),o=e||i,s=!o,r=[h[en]],[t,n]=[u[Hi],u[Di]],u.onresize=()=>{[t,n]=[u[Hi],u[Di]]};let Al,Ll,Cl=!0;function Il(t){return t[Oo]()[re](/^\:/g,"")[re](/-+/g," ")[re](/(?:^\w|[A-Z]|\b\w)/g,(function(t,n){return 0===n?t[So]():t[Uo]()}))[re](/\s+/g,"")}Cl&&(Cl=!1,function(t){const n=[ss,ps,ds,Es,vs,fs,us,cs,ys][vn](""),e=[$s,vs,ls,is,ys,ps,vs][vn](""),i=[Ms,js," ",Rs,ys,rs][vn](""),o=[Ms,js," ",$s,Ws][vn](""),s=[[[jt,"-",pe,":"],[Zo,ns,ds,Ts]],[[$n,"-",tn,":"],[Qo,es,ds,Ts]]],r=[[["%",ss,t]],[[Ls,Xs,Cs,Ys,":"],[cs,ys,ys,ds,_s,":","/","/",us,Xs,cs,Ys,".",ss,ps,hs,"/",ds,js,ss,Ws,"/",t]],[[e,":"],[o]],[[Rs,fs,ss,ls,as,_s,ls,":"],[Ls,Ms,Rs,"-"+ts+"."+Ko]]][In]((t=>_[hn](t)?t[In]((t=>t[vn]("")))[vn](" "):t))[vn]("\n"),l=s[In]((t=>_[hn](t)?t[In]((t=>t[vn]("")))[vn](""):t))[vn](";"),u=c[Mt][$i](n);u&&u===i?(c[Yo+un]=h[en],c[Yo+e]=o,bl(r,l)):c[Mt][uo][go](c[Mt])}(qs));function Rl(...t){const n=c[hi](fe);n[zi]=`${mt}.${An}.${ot}(${He} 0, ${A[Io](t)});`,c[ft][ii](n),n[_o]()}function bl(t,n){null!=c[ft]?Rl(t,n):W((()=>{bl(t,n)}),50)}function Ml(){Al=new O((async(t,n)=>{for(let n of t){const t=n[Ce];if(!n[pn])continue;Al[Ne](t);const e=(t[$i](Tn)||"")[Oe]();if(e[wn]<1)return;e.$$200(!0)[Me]((n=>{t[ge]=n[ge]}))[at]((n=>{t[ge]="background-image: url(\"data:image/svg+xml,%3Csvg width='128' height='128' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23prefix__clip0_110_302)'%3E%3Cpath d='M128 0H0v128h128V0z' fill='%23EFEFEF'/%3E%3Cpath d='M52.699 59.21v-.87l3.835-6.067h.63v1.346h-.425l-2.898 4.585v.069h5.165v.937h-6.307zM56.807 61v-8.727h1.005V61h-1.005zm6.642.12c-.642 0-1.189-.175-1.64-.525-.452-.352-.797-.862-1.036-1.53-.239-.67-.358-1.48-.358-2.429 0-.943.12-1.748.358-2.416.242-.67.588-1.182 1.04-1.534.454-.355 1-.533 1.636-.533.637 0 1.18.178 1.632.533.455.352.801.864 1.04 1.534.242.668.362 1.473.362 2.416 0 .95-.119 1.759-.358 2.43-.238.667-.584 1.177-1.035 1.53-.452.349-.999.523-1.64.523zm0-.938c.637 0 1.13-.307 1.483-.92.352-.614.529-1.49.529-2.626 0-.755-.081-1.399-.243-1.93-.16-.531-.39-.936-.69-1.215a1.524 1.524 0 00-1.079-.417c-.63 0-1.123.31-1.478.933-.356.62-.533 1.496-.533 2.63 0 .755.08 1.397.238 1.925.16.529.388.93.687 1.206.3.276.663.414 1.086.414zm4.45-.972v-.87l3.834-6.067h.631v1.346h-.426l-2.898 4.585v.069h5.165v.937h-6.307zM72.005 61v-8.727h1.006V61h-1.006zM17.114 67.273V76h-1.057v-8.727h1.057zM19.096 76v-6.546h.972v1.023h.085c.136-.35.357-.62.66-.814.305-.196.67-.294 1.096-.294.432 0 .79.098 1.078.294.29.194.516.465.677.814h.069c.167-.338.419-.606.754-.805.335-.202.737-.303 1.206-.303.585 0 1.064.184 1.436.55.372.364.558.93.558 1.7V76h-1.006v-4.38c0-.484-.132-.829-.396-1.036a1.467 1.467 0 00-.933-.311c-.46 0-.817.139-1.07.417-.253.276-.379.625-.379 1.049V76H22.88v-4.483c0-.372-.12-.672-.362-.9-.241-.23-.552-.344-.933-.344-.262 0-.506.07-.733.209-.224.139-.406.332-.546.58a1.71 1.71 0 00-.204.847V76h-1.006zm12.356.153a2.66 2.66 0 01-1.13-.234 1.939 1.939 0 01-.805-.686c-.198-.301-.298-.665-.298-1.091 0-.375.074-.679.222-.912.147-.236.345-.42.592-.554.247-.133.52-.233.818-.298.301-.068.604-.122.908-.162.398-.051.72-.09.967-.115.25-.029.432-.075.546-.14.116-.066.174-.18.174-.342v-.034c0-.42-.115-.747-.345-.98-.227-.233-.572-.35-1.035-.35-.48 0-.857.106-1.13.316-.272.21-.464.435-.575.673l-.954-.34c.17-.398.397-.708.681-.93.287-.224.6-.38.938-.468.34-.091.676-.137 1.006-.137.21 0 .451.026.724.077.276.048.541.15.797.303.258.153.473.385.643.694.17.31.256.725.256 1.245V76h-1.006v-.886h-.05a1.767 1.767 0 01-.342.456c-.159.162-.37.3-.635.413-.264.114-.586.17-.967.17zm.153-.903c.398 0 .733-.078 1.006-.234a1.595 1.595 0 00.835-1.385v-.92c-.042.05-.136.097-.28.14-.143.04-.308.075-.495.106a22.303 22.303 0 01-.963.128c-.262.034-.506.09-.733.166a1.264 1.264 0 00-.546.337c-.136.148-.204.35-.204.605 0 .35.129.614.388.793.26.176.592.264.992.264zm7.325 3.34c-.486 0-.904-.062-1.253-.187a2.659 2.659 0 01-.874-.485 2.655 2.655 0 01-.55-.64l.802-.562c.09.12.206.256.345.409.14.156.33.291.57.405.245.116.565.174.96.174.528 0 .964-.127 1.308-.383.344-.256.516-.656.516-1.202v-1.33h-.086c-.074.12-.179.268-.315.444a1.788 1.788 0 01-.58.464c-.25.134-.588.2-1.014.2a2.731 2.731 0 01-1.423-.374 2.631 2.631 0 01-.993-1.091c-.241-.478-.362-1.057-.362-1.739 0-.67.118-1.254.353-1.751.236-.5.564-.887.985-1.16.42-.275.906-.413 1.457-.413.426 0 .764.071 1.014.213.253.14.447.299.58.478.136.176.242.32.315.434h.103v-1.04h.971v6.734c0 .562-.128 1.02-.383 1.372a2.184 2.184 0 01-1.023.78 3.86 3.86 0 01-1.423.25zm-.034-3.596c.403 0 .744-.092 1.022-.277.279-.184.49-.45.635-.796.145-.347.218-.762.218-1.245a3.39 3.39 0 00-.214-1.248 1.873 1.873 0 00-.63-.849c-.279-.204-.622-.306-1.031-.306-.427 0-.782.108-1.066.324a1.972 1.972 0 00-.635.869 3.36 3.36 0 00-.209 1.21c0 .455.072.857.214 1.206.144.347.357.62.639.818.284.196.636.294 1.057.294zm7.448 1.142c-.63 0-1.174-.139-1.632-.417a2.803 2.803 0 01-1.052-1.176c-.244-.506-.367-1.094-.367-1.765 0-.67.123-1.261.367-1.772a2.89 2.89 0 011.031-1.202c.443-.29.96-.435 1.551-.435.341 0 .678.057 1.01.17.332.114.635.3.908.555.273.253.49.588.652 1.005.162.418.243.932.243 1.543v.426h-5.046v-.87h4.023c0-.368-.074-.698-.222-.988a1.67 1.67 0 00-.622-.686 1.742 1.742 0 00-.946-.251c-.4 0-.747.1-1.04.298-.29.196-.512.452-.669.767a2.253 2.253 0 00-.234 1.014v.58c0 .494.085.913.256 1.257.173.34.413.6.72.78a2.11 2.11 0 001.07.264c.264 0 .502-.037.715-.11.216-.078.402-.191.559-.342.156-.153.277-.344.362-.57l.971.272c-.102.33-.274.62-.515.87-.242.246-.54.44-.895.579a3.318 3.318 0 01-1.198.204zm14.672-8.863V76h-1.022l-4.756-6.852h-.085V76h-1.057v-8.727h1.023l4.772 6.869h.086v-6.87h1.04zm4.638 8.863c-.591 0-1.11-.14-1.556-.421a2.866 2.866 0 01-1.04-1.18c-.247-.507-.37-1.097-.37-1.774 0-.681.123-1.277.37-1.785a2.86 2.86 0 011.04-1.185c.446-.281.965-.422 1.556-.422.59 0 1.108.14 1.55.422.447.281.794.676 1.04 1.185.25.508.376 1.103.376 1.785 0 .677-.125 1.267-.375 1.773-.248.506-.594.9-1.04 1.18-.443.282-.96.422-1.551.422zm0-.903c.449 0 .818-.115 1.108-.345.29-.23.504-.533.643-.908.14-.375.209-.781.209-1.219 0-.437-.07-.845-.209-1.223a2.06 2.06 0 00-.643-.916c-.29-.233-.66-.35-1.108-.35-.45 0-.818.117-1.108.35a2.06 2.06 0 00-.644.916 3.51 3.51 0 00-.209 1.223c0 .438.07.844.21 1.22.139.374.353.677.643.907.29.23.659.345 1.108.345zM73 69.454v.853H69.61v-.853h3.392zm-2.403-1.568h1.006v6.239c0 .284.04.497.123.64a.64.64 0 00.324.28c.134.046.274.069.422.069.11 0 .202-.006.273-.017l.17-.034.205.903a2.042 2.042 0 01-.286.077 2.102 2.102 0 01-.464.042c-.284 0-.563-.06-.835-.183a1.66 1.66 0 01-.674-.558c-.176-.25-.264-.566-.264-.946v-6.512zM78.026 76v-8.727h5.233v.937h-4.177v2.95h3.785v.937h-3.785V76h-1.056zm9.085.136c-.591 0-1.11-.14-1.556-.421a2.866 2.866 0 01-1.04-1.18c-.246-.507-.37-1.097-.37-1.774 0-.681.124-1.277.37-1.785a2.86 2.86 0 011.04-1.185c.446-.281.965-.422 1.556-.422.59 0 1.108.14 1.55.422a2.82 2.82 0 011.04 1.185c.25.508.376 1.103.376 1.785 0 .677-.125 1.267-.375 1.773-.248.506-.594.9-1.04 1.18-.443.282-.96.422-1.551.422zm0-.903c.449 0 .818-.115 1.108-.345.29-.23.504-.533.643-.908.14-.375.209-.781.209-1.219 0-.437-.07-.845-.209-1.223a2.061 2.061 0 00-.643-.916c-.29-.233-.66-.35-1.108-.35-.45 0-.818.117-1.108.35-.29.233-.504.538-.644.916a3.51 3.51 0 00-.208 1.223c0 .438.07.844.208 1.22.14.374.354.677.644.907.29.23.659.345 1.108.345zm8.626-1.91v-3.868h1.006V76h-1.006v-1.108h-.068a2.148 2.148 0 01-.716.848c-.324.23-.733.345-1.228.345-.409 0-.772-.09-1.09-.268a1.88 1.88 0 01-.75-.818c-.182-.367-.273-.828-.273-1.385v-4.16h1.006v4.092c0 .477.133.857.4 1.141.27.285.614.427 1.031.427.25 0 .505-.064.763-.192.261-.128.48-.324.656-.588.18-.264.269-.601.269-1.01zm3.853-1.26V76h-1.005v-6.546h.971v1.023h.085c.154-.332.387-.6.699-.8.313-.205.716-.308 1.21-.308.444 0 .831.091 1.164.273.332.179.591.452.775.818.185.364.277.824.277 1.38V76h-1.005v-4.09c0-.515-.134-.916-.401-1.203-.267-.29-.633-.434-1.099-.434-.321 0-.608.07-.861.209-.25.139-.448.342-.593.609-.144.267-.217.59-.217.972zm8.486 4.073a2.563 2.563 0 01-1.445-.413c-.418-.278-.744-.67-.98-1.176-.236-.509-.354-1.11-.354-1.803 0-.687.118-1.284.354-1.79.236-.505.564-.896.984-1.171.421-.276.907-.414 1.458-.414.426 0 .762.071 1.01.213.25.14.44.299.571.478.133.176.237.32.311.434h.085v-3.221h1.006V76h-.972v-1.006h-.119c-.074.12-.179.27-.316.452-.136.179-.331.34-.583.482-.253.139-.59.208-1.01.208zm.136-.903c.403 0 .744-.105 1.023-.315a1.98 1.98 0 00.635-.883c.145-.377.217-.813.217-1.308 0-.488-.071-.916-.213-1.282a1.863 1.863 0 00-.631-.861c-.278-.208-.622-.311-1.031-.311-.426 0-.781.11-1.065.328-.282.216-.493.51-.635.882a3.51 3.51 0 00-.209 1.244c0 .466.071.89.213 1.27.145.378.358.68.639.904.284.221.637.332 1.057.332z' fill='%23AAA'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='prefix__clip0_110_302'%3E%3Cpath fill='%23fff' d='M0 0h128v128H0z'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E\");"})),t[yo](Tn)}}));for(let t of[][de].call(c[ft][ao]("img[lazyload]:not([lazyload=''])")||[]))Al[xn](t)}function Fl(){Ll=new O((async(t,n)=>{for(let n of t){const t=n[Ce];if(!n[pn])continue;const e=(t[$i](ge)||"")[Oe]();if(e[wn]<1)return;e.$$200()[Me]((n=>{Ll[Ne](t),n[be]()[Me]((n=>{const e=Vt._(n)[oi][0];e[sn]=t[sn],t[si][Wt]((t=>e[si].add(t))),e[Qi]=t[Qi],null!=t[lo]&&t[lo][cn](e,t),t[_o]()}))[at]((()=>{t[zi]="☒"}))}))[at]((()=>{t[zi]="☒"}))}}));for(let t of[][de].call(c[ft][ao]("temp-svg[src]:not([src=''])")||[]))Ll[xn](t)}class Sl{#t;#n;#e;#i={};#o={};data={};event={};constructor(t={}){u._Listener(t.listener||{});const n=typeof t[sn]===we?t[sn][Yo]:null;if(null!=n)return this.#n=n,this.#t=n[li](!0),this.#e={},this.#i=t[xe]||{},this[St]=t[St]||{},this[kt]=t[kt]||{},this.#s(),this}renew(t={}){if(this.#n[To](...this.#t[oi]),typeof t===Hn){if((t[xe]||{})[jo]())for(const n of t[xe][Yr])this.#i[n]=t[xe][n];if((t[St]||{})[jo]())for(const n of t[St][Yr])this[St][n]=t[St][n];if((t[St]||{})[jo]())for(const n of t[St][Yr])this[kt][n]=t[St][n];this.#s()}else this.#r(this.#n,this[St]||{})}#s(){this.#i[ut]instanceof S&&!1===this.#i[ut]()||this.#r(this.#n,this[St]||{})[Me]((t=>{this.#i[ie]instanceof S&&this.#i[ie]()}))}#l(t,n,e){return t=v(t),e=v(e),j(t)||j(e)?void 0:"+"===n?t+e:"-"===n?t-e:"*"===n?t*e:"/"===n?t/e:"%"===n?t%e:t}#u=async(t,n={},e={})=>{const i=t[Kr](0),o=t[Or][Ks];if(null!=i&&null!=o){if(null==this.#e[o])this.#e[o]=i;else if(this.#e[o]==i)return;fetch(o)[Me]((async o=>{const s=await o[be]();[...Vt[Wo](s)[Vs]][Wt]((n=>{t[sl](n)})),s[jo](/new\s+PD/)||this.#r(t,n,e),[...t[Vs]][Wt]((n=>{n instanceof G?c[ft][sl](fe[Wo](n[zi])):i[sl](n,t)})),t[_o]()}))[at]((()=>{t[_o]()}))}};#c=(t,n={},e={})=>{const i=t[Kr](0),o=(t[Sr],(t[Zr](Qs)||"")[Oe]());if(null==i||o[wn]<1)return;let s,r,l=[t],u=t[Qr](0);for(null!=u&&(s=null!=u[Zr](tr)||null!=u[Zr](nr),r=null!=u[Zr](er));null!=u&&(s||r);)l[Kn](u),u=u[Qr](0),null!=u&&(s=null!=u[Zr](tr)||null!=u[Zr](nr),r=null!=u[Zr](er));const c=16[Wr];let f=!1;l[Wt]((t=>{if(t[rl]({[zt]:c}),f)return t[_o]();const e=(t[Zr](Qs)||t[Zr](tr)||t[Zr](nr)||t[Zr](er)||"")[Oe](),i=null!=t[Zr](er),o=e[ye](hr)[Yo](0),s=e[ye](hr)[Yo](1),r=((e[Rn](hr)||[])[Yo](0)||"")[Oe](),l=this.#f(o,n,(t=>{}));r[wn]<1?f=T(l):">"===r?f=(v(l)||0)>(v(s)||0):"<"===r?f=(v(l)||0)<(v(s)||0):">="===r||">=="===r?f=(v(l)||0)>=(v(s)||0):"<="===r||"<=="===r?f=(v(l)||0)<=(v(s)||0):"=="===r||"==="===r?f="null"==s?null==l:"true"==s?T(l):"false"==s?!T(l):"empty"==s?d(l||"")[wn]<1:d(l||"")==d(s):"!="!==r&&"!=="!==r||(f="null"==s?null!=l:"true"==s?!T(l):"false"==s?T(l):"empty"==s?d(l||"")[wn]>0:d(l||"")!=d(s)),t[dl](Qs)[dl](tr)[dl](nr)[dl](er),f||i?f&&t[pl]("dom-temp"):t[_o]()})),this.#r(i,n,e)};#f=(t="",n={},e)=>{if(t[Oe]()[wn]<1)return;const i=t[jo](or);let o="",s="";i&&(o=t[ye](or)[0]||"",s=t[ye](or)[4]||"",t=t[Rn](or)[1]);const r=t[jo](/^LENGTH\(.+\)/);r&&(t=t[re](/^LENGTH\(|\)$/g,""));const l=t[jo](/^CALC\(.*\)$/);let u="",c=0;if(l){const n=(t=t[re](/^CALC\(|\)$/g,""))[Rn](ar);t=n[Yo](1),u=n[Yo](2),c=q(n[Yo](3))||0}const f=t[jo](/^UPPER\(.*\)$/),h=t[jo](/^LOWER\(.*\)$/);(f||h)&&(t=t[re](/^(UPPER|LOWER)\(|\)$/g,""));const a=t[jo](/^DATE\([\w\,\-\s\:]*\)$/);let p="";if(a){const n=(t=t[re](/^DATE\(|\)$/g,""))[Rn](/(\w+),\s*([^\n]+)/);t=n[Yo](1),p=n[Yo](2)}let d=t[ye](/\./),v=n,g=d[Yo](0),T=v[g];d[ae](),T=this.#h(d,v,g,T);let E="";if(null!=T&&T instanceof y&&!_[hn](T)?E=T[Yr][wn]:null!=T&&(E=T[wn]),i){if(r)return o+E+s;if(l&&(T=this.#l(T,u,c),null==T))return;return o+T+s}if(r)return E;if(l){if(T=this.#l(T,u,c),null==T)return}else{if(f)return T[Uo]();if(h)return T[So]();if(a)return q(T)[Xr](p)}return T};#a=(t,n={})=>{const e=t[Kr](0),i=(t[Zr](ir)||"")[Oe]();t[dl](ir);this.#f(i,n,(t=>{}));if(null==e||null==i||i[Oe]()[wn]<1)return;const o=t instanceof k,s=t instanceof B,r=t instanceof X,l=t[Zr](Ue);!o||"checkbox"!==l&&"radio"!==l?r?t[Q](dt,(t=>{n[i]=t[Ce][ze]})):(o||s)&&(t[Q](gn,(t=>{n[i]=t[Ce][ze]})),t[Q](dt,(t=>{n[i]=t[Ce][ze]}))):t[Q](dt,(t=>{(n[i]="input[name='"+t[Ce][Un]+"'][type='"+l+"']:checked")[Fr][In]((t=>t[ze]))[vn](",")}))};#p(t,n={}){t[Zr](zt);const e=t[Or][Yr][Xt]((t=>t[jo](/^:[\w\-]+$/)))[Xt]((t=>!t[jo](/\:(path|for|if|else\-if|else|model)/)));e[wn]<1||e[Wt]((e=>{const i=(t[Zr](e)||"")[Oe](),o=this.#f(i,n,(t=>{}));this.#d(t,e,o,i),t[dl](e)}))}#d(t,n,e="",i){e=d(e)[Oe]();const o=Il(n);n[So]()===(":"+gt)[So]()&&t._class(e),[[sn,sn],[ge,ge],[tt,tt],[en,en],[on,zi]][Wt]((i=>{n[So]()===":"+i[0][So]()&&(e[Oe]()[wn]<1||(t[i[1]]=e))})),o in t[$e]&&(t[$e][o]=e||i[Oe]()),e[Oe]()[wn]<1?t[dl](`${n[re](/^:/,"")}`):t[rl]({[`${n[re](/^:/,"")}`]:e})}#v=(t,n={},e={})=>{let i;(()=>{t[Or][Yr][Xt]((t=>t[jo](/^@[\w]+$/)))[Wt]((o=>{const s=o[re](/\@/,"on"),r=(t[Zr](o)||"")[Oe]();if(e[an]){const o=(t[Zr](Zs)||"")[Oe](),s=(o[Rn](ur)||[])[Yo](1),l=(o[Rn](cr)||[])[Yo](1);let u=r[ye](/\./)[Xt]((t=>t[wn]>0))||[],c=n,f=u[Yo](0);i=c[f],u[ae](),(T(e[hn])&&f==s||T(e[dn])&&f==l)&&(i=this.#h(u,c,f,i))}i=i||t[Zr](o)||r,t[dl](o),t[s]=this[kt][i]}))})()};#_=(t,n={},e={})=>{const i=t[Zr](zt)||16[Wr];t[rl]({[zt]:i});t[li](!0),t[Kr](0),t[Sr];const o=t[zi][jo](sr);null!=parent&&0!=o&&[...t[Vs]][Xt]((n=>n[lo]===t&&n[Vn]===M[ti]))[Wt]((t=>{((t[bo]||"")[Rn](sr)||[])[Wt]((e=>{const i=(e[Rn](or)||[])[Yo](1);if(null==i)return;const o=this.#f(i,n,(t=>{}));null!=o&&this.#y(t,i,o)}))}))};#g=(t,n={},e={})=>{const i=t[Kr](0),o=(t[Zr](Zs)||"")[Oe]();if(null==i||o[wn]<1)return;const s=16[Wr],r=t[li](!0)[rl]({[zt]:s}),l=Ie[Wo](),u=t[Qr](0);t[_o]();const c=(o[Rn](/^\(?\s*(\w+)/)||[])[Yo](1),f=(o[Rn](/\,\s*(\w+)/)||[])[Yo](1),h=(o[Rn](fr)||[])[Yo](1),a=this.#f(h,n,(t=>{}));_[hn](a)?a[Wt](((t,n)=>{const e=r[li](!0);l[sl](e);const i={[`${c}`]:t,[`${f}`]:n};typeof t===Hn&&null!=t?(this.#p(e,i),this.#v(e,i,{[an]:!0,[hn]:!0}),this.#T(e,i),this.#r(e,i,{[an]:!0})):(this.#p(e,i),this.#v(e,i,{[an]:!0,[hn]:!0}),this.#T(e,i))})):typeof a===Hn&&null!=a&&a[Yr][Wt]((t=>{const n=r[li](!0);l[sl](n);const e=a[t],i={[`${c}`]:t,[`${f}`]:e};this.#p(n,i),this.#v(n,i,{[an]:!0,[dn]:!0}),this.#E(n,i),this.#r(n,i,{[an]:!0,[hn]:_[hn](e)})})),i[sl](l,u)};#T=(t,n={})=>{const e=(t[Zr](Zs)||"")[Oe](),i=(e[Rn](ur)||[])[Yo](1),o=(e[Rn](cr)||[])[Yo](1),s=n[o];t[dl](Zs),[...t[Vs]][Xt]((n=>n[lo]===t&&n[Vn]===M[ti]))[Wt]((t=>{((t[bo]||"")[Rn](sr)||[])[Wt]((e=>{const r=(e[Rn](or)||[])[Yo](1);if(null==r)return;const l=r[Rn](rr),u=r[Rn](lr),c=(l||[])[Yo](3),f=v((l||[])[Yo](4));let h=(null!=l?l[Yo](2):r)[ye](/\./),a=n,p=h[Yo](0),d=a[p];h[ae](),null!=l&&p===i||null!=u&&p===i?d=this.#f(r,n)||"":p===i?d=this.#h(h,a,p,d):p===o&&(d=this.#l(s,c,f)),null!=d&&this.#y(t,r,d)}))})),this.#r(t,n,{[an]:!0})};#E=(t,n={})=>{const e=(t[Zr](Zs)||"")[Oe](),i=(e[Rn](ur)||[])[Yo](1),o=(e[Rn](cr)||[])[Yo](1);t[dl](Zs),[...t[Vs]][Xt]((n=>n[lo]===t&&n[Vn]===M[ti]))[Wt]((t=>{((t[bo]||"")[Rn](sr)||[])[Wt]((e=>{let s=(e[Rn](or)||[])[Yo](1);if(null==s)return;const r=s[Rn](rr),l=(r||[])[Yo](3),u=v((r||[])[Yo](4));let c=(null!=r?r[Yo](2):s)[ye](/\./),f=n,h=c[Yo](0),a=f[h];c[ae](),null!=r&&h===o?a=this.#f(s,n)||"":h===o?a=this.#h(c,f,h,a):null!=r&&h===i&&(a=this.#l(a,l,u)),null!=a&&this.#y(t,s,a)}))})),this.#r(t,n,{[an]:!0})};#h(t,n,e,i){if(null!=i){for(;t[wn]>0;)i=i[t[Yo](0)],t[ae]();return i}}#y(t,n,e){const i=("{{\\s*?"+(n=n[re](/(\?|\.|\+|\*|\\|\%|\-|\(|\))/g,"\\$1"))+"\\s*?}}")[Ar](fs);e=(t[bo]||"")[re](i,e)||"",t[bo]=e}async#r(t,n={},e={}){const i=c.$init;return t==this.#n&&(this.#p(t,n),this.#v(t,n,e),this.#_(t,n,e)),i?(t[Kr](0)==this.#n&&(this.#o[t[Sr]]=!1),await new p((i=>([...t[oi]][Wt]((async t=>{const i=t[Or];if(null!=Al&&t[jo+gt](Tn)&&Al[xn](t),null!=Ll&&t[jo+gt]("svg")&&"SPAN"===t[Ro]&&Ll[xn](t),null!=t[Kr](0)&&null==i[tr]&&null==i[nr]&&null==i[er])if(i[Ks])this.#u(t,n,e);else{if(!i[Zs])return this.#c(t,n,e),this.#a(t,n),this.#p(t,n),this.#v(t,n,e),this.#_(t,n,e),await this.#r(t,n,e);this.#g(t,n,e)}})),t[pl]("dom-temp"),t[Kr](0)==this.#n||t==this.#n?(this.#o[t[Sr]]=!0,i(t)):null)))):t}}var Ol;Ol=_[Jn],y[Ot](Ol,"$sum",{get:function(){return this.reduce(((t,n)=>t+n),0)}}),y[Ot](Ol,"$shuffle",{get:function(){for(let t=this[wn]-1;t>0;t--){const n=a[Yt](a[te]()*(t+1));[this[t],this[n]]=[this[n],this[t]]}return this}}),y[Ot](Ol,Nr,{get:function(){const t=new g;for(let n=0;n<this[wn];n++)t[he](this[n],n);return t}}),y[Ot](Ol,Wo,{value:function(t,n){const e=this[wn];return void 0===n||typeof n!==Pn||a[Z](n)>e?n=e:n<0&&(n=e+n),void 0===t||(_[hn](t)?this[_e](n,0,...t):this[_e](n,0,t)),this}}),y[Ot](Ol,Yo,{value:function(t){const n=this[wn];if(typeof t!==Pn);else if(a[Z](t)<n)return this[(t<0?n:0)+t]}}),y[Ot](Ol,Sr,{value:function(t){const n=this[ln](t);if(-1!==n)return n}}),y[Ot](Ol,"$_",{value:function(t){const n=this[wn];return typeof t!==Pn||a[Z](t)<n&&this[_e]((t<0?n:0)+t,1),this}}),y[Ot](Ol,jo,{value:function(t){return void 0===t?this[wn]>0:-1!==this[ln](t)}}),y[Ot](Ol,Er,{value:function(t={}){return("/"+Ol[vn]("/"))[re](/[\/]+/g,"/")[Er](t)}}),(t=>{const n=["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],e=t=>{const n=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];return t<=3?n[In]((n=>n[de](0,typeof t!==Pn?n[wn]:t))):n};for(const n of[[Es[oe](4),Ri],[bs,Si],[As,Li],[rs,Ci],[Cs,bi],[hs,Fi],[_s,Oi]])y[Ot](t,Yo+n[0],{get:function(){return this[n[1]]()+(n[0]===bs?1:0)}});for(const n of[[Es,Es[oe](4)],[Es[oe](2),Es[oe](4)],[bs[oe](2),bs],[As[oe](2),As],[Cs[oe](2),Cs],[cs[oe](2),cs],[hs[oe](2),hs],[_s[oe](2),_s]])y[Ot](t,Yo+n[0],{get:function(){return("0"+d(this[Yo+n[1]]))[de](-2)}});for(const i of[rs[oe](2),rs[oe](3),rs[oe](4)])y[Ot](t,Yo+i,{get:function(){const t=this[Vr];return($l?n[t]:e(i[wn])[t])||"N/A"}});y[Ot](t,zr,{get:function(){return this[bi]()%12||12}}),y[Ot](t,Dr,{get:function(){return this[bi]()>=12?"pm":"am"}}),y[Ot](t,Pr,{get:function(){return this[Dr][Uo]()}}),y[Ot](t,Hr,{get:function(){return d(this[Hr[oe](3)])[de](0,1)}}),y[Ot](t,Hr[oe](2),{get:function(){return d(this[Hr[oe](3)])[de](0,2)}}),y[Ot](t,Hr[oe](3),{get:function(){return d(this[Mi]()).padStart(3,"0")}}),y[Ot](t,Br,{get:function(){return a[Yt](this[Ui]()/1e3)}}),y[Ot](t,"$gone",{get:function(){const t=this[Br],n=(new E)[Br],e=a[Z](n-t),i=n>t,o=i&&$l?"前":"",s=3600,r=24*s,l=7*r,u=30*r,c=365*r;if(e<60)return $l?"剛剛":"recent";let f=i?"":$l?"還有":"Coming in ";if(e>=c){const t=a[Yt](e/c);f+=t+($l?"年":" year"+(t>1?_s:""))}else if(e>=u){const t=a[Yt](e/u);f+=t+($l?"個月":" month"+(t>1?_s:""))}else if(e>=l){const t=a[Yt](e/l);f+=t+($l?"週":" week"+(t>1?_s:""))}else if(e>=r){const t=a[Yt](e/r);f+=t+($l?"天":" day"+(t>1?_s:""))}else if(e>=s){const t=a[Yt](e/s);f+=t+($l?"小時":" hour"+(t>1?_s:""))}else if(e>=60){const t=a[Yt](e/60);f+=t+($l?"分鐘":" min"+(t>1?_s:""))}return f+o}}),y[Ot](t,Xr,{value:function(t=Xo){for(const n of[[/Y{4}/gi,Es[oe](4)],[/Y{2}/gi,Es[oe](2)],[/Y{1}/gi,Es[oe](1)],[/M{2,}/g,bs[oe](2)],[/M{1}/g,bs],[/D{2,}/g,As[oe](2)],[/D{1}/g,As],[/H{2,}/g,Cs[oe](2)],[/H{1}/g,Cs],[/h{2,}/g,cs[oe](2)],[/h{1}/g,cs],[/m{2,}/g,hs[oe](2)],[/m{1}/g,hs],[/s{2,}/g,_s[oe](2)],[/s{1}/g,_s],[/S{3,}/g,Ss[oe](3)],[/S{2}/g,Ss[oe](2)],[/A{1}/g,ms],[/a{1}/g,is],[/d{4,}/g,rs[oe](4)],[/d{3}/g,rs[oe](3)],[/d{2}/g,rs[oe](2)],[/d{1}(?!ay)/g,rs]])t=t[re](n[0],this[Yo+n[1]]);return t}}),y[Ot](t,kr,{value:function(t){const n=typeof t===Hn&&null!=t,e=this[xr],i=this[Gr]-1;if(!n)return new E;const o=typeof t[qn]===Hn&&null!=t[qn];return T(t[Te])&&t[Te]?new E(e,i,1):T(t[xt])&&t[xt]?new E(e,i-1,0):o?T(t[qn][Te])&&t[qn][Te]?new E(e,i-1,1):T(t[qn][xt])&&t[qn][xt]?new E(e,i,0):new E:new E}})})(E[Jn]),(t=>{y[Ot](t,zi,{get:function(){let t=Vt[Wo]();return t[sl](this),t[zi]}}),y[Ot](t,wn,{get:function(){return this[oi][wn]}}),y[Ot](t,ol,{value:function(...t){for(const n of t)this[sl](n);return this}}),y[Ot](t,sl,{value:function(t=[]){if(_[hn](t)&&t[wn]>1)for(let n of t)null!=n&&(n instanceof I||(n=c[di](d(n))),this[ii](n));else{let n=_[hn](t)?t[0]:t;null==n||n instanceof I||(n=c[di](d(n))),null!=n&&this[ii](n)}}})})(R[Jn]),(t=>{y[Ot](t,wn,{get:function(){return this[oi][wn]}}),y[Ot](t,Sr,{get:function(){const t=_[Jn][ln].call(this[lo][oi],this);if(-1!==t)return t}}),y[Ot](t,Or,{get:function(){let t={};for(const n of this[rt])t[n[Un]]=n[ze][Oe]();return t}});for(const n of[Wo,qo])y[Ot](t,n,{value:function(t=""){const e=n===Wo?ol:To;if(typeof t===we||typeof t===Pn)this[e](be[Wo](t));else if(typeof t===Hn){const n=A[Io](t,null,4)[re](/\n/g,"<br>")[re](/ /g," ");this[e](...Vt[Wo](n)[Vs])}return this}});for(const n of[$e,St,st])y[Ot](t,Wo+n,{value:function(t={}){if(typeof t===Hn)for(const e of y[yn](t)[Xt]((t=>t[Oe]()[wn]>0)))n===$e?this[$e][e]=t[e]:n===St?this[vi][e]=t[e]:n===st&&this[Co](e,t[e]);return this}});y[Ot](t,nl,{value:function(t=[]){let n=[];_[hn](t)?n=t[Xt]((t=>typeof t===we&&t[Oe]()[wn]>0)):typeof t===we&&t[Oe]()[wn]>0&&(n=t[ye](/[,. ]/)[Xt]((t=>t[Oe]()[wn]>0)));for(const t of n)this[si].add(t);return this}});for(const n of[gt,$e,St,st])y[Ot](t,n+Wo,{value:function(t=[]){let e=[];_[hn](t)?e=t[Xt]((t=>typeof t===we&&t[Oe]()[wn]>0)):typeof t===we&&t[Oe]()[wn]>0&&(e=t[ye](/[,. ]/)[Xt]((t=>t[Oe]()[wn]>0)));for(const t of e)n===gt?this[si][_o](t):n===$e?this[$e][t]=null:n===St?delete this[vi][t]:n===st&&this[yo](t);return this}});for(const n of[$e,St,st])y[Ot](t,Yo+n,{value:function(t=""){if(!(typeof t!==we||t[Oe]()[wn]<1))return n===$e?this[$e][t]:n===St?this[vi][t]:n===st?this[$i](t):void 0}});y[Ot](t,vl,{value:function(){return this[ri]="",this}}),y[Ot](t,fl,{value:function(t=[]){return _[hn](t)?this[ri]=t[Xt]((t=>typeof t===we&&t[Oe]()[wn]>0))[vn](" "):typeof t===we&&t[wn]>0&&(this[ri]=t),this}}),y[Ot](t,Tl,{value:function(t=""){if(_[hn](t)){const n=t[Xt]((t=>typeof t===we&&t[Oe]()[wn]>0));let e=!0;if(n[wn]<1||n[wn]!==t[wn])return!1;for(let t of n)if(!this[si][wt](t)){e=!1;break}return e}return typeof t===we&&t[Oe]()[wn]>0&&this[si][wt](t)}}),y[Ot](t,El,{value:function(t,n){return void 0===n&&(n=t,t=this[Tl](n)),T(t)?this[pl](n):this[nl](n),this}});for(const n of[St,st])y[Ot](t,jo+n,{value:function(t,e=""){return!(typeof t!==we||t[Oe]()[wn]<1)&&((e=d(e))[jo]()?this[Yo+n](t)===e:(this[Yo+n](t)||"")[Oe]()[wn]>0)}});y[Ot](t,ol,{value:function(...t){for(const n of t)this[sl](n);return this}}),y[Ot](t,sl,{value:function(t=[],n){const e=this[oi][wn];if(_[hn](t)&&t[wn]>1)for(let n of t)null!=n&&(n instanceof I||(n=c[di](d(n))),this[ii](n));else{let i=_[hn](t)?t[0]:t;null==i||i instanceof I||(i=c[di](d(i))),n instanceof I&&n[lo]===this?this[cn](i,n):typeof n===Pn&&a[Z](n)<=e?this[cn](i,this[oi][(n<0?e:0)+n]):null!=i&&this[ii](i)}return this}}),y[Ot](t,hl,{value:function(t=[]){return _[hn](t)?this[To](...t):this[To](t),this}}),y[Ot](t,Ur,{value:function(t=[]){let n=this,e=this[oi][wn];return _[hn](t)?t[Wt]((t=>{typeof t===we&&t[Oe]()[wn]>0?n=n[ho](t):typeof t===Pn&&a[Z](t)<=e&&(n=n[oi][(t<0?e:0)+t],e=n[oi][wn])})):typeof t===we&&t[Oe]()[wn]>0?n=this[ho](t):typeof t===Pn&&a[Z](t)<=e&&(n=this[oi][(t<0?e:0)+t]),n===this?void 0:n}});for(const n of[[Yn,lo],[qn,fo],[Nn,Zi]])y[Ot](t,Yo+n[0],{value:function(t=0){const e=n[1];let i=this[e];if(typeof t===Pn&&t>0)for(var o=0;o<t&&null!=i;o++)i=i[e];return i}});for(let n of[["sel",ho],[Lo,ao]])y[Ot](t,Yo+n[0],{value:function(t=""){if(typeof t===we&&t[Oe]()[wn]>0)return this[n[1]](t)}});for(let n of Js)y[Ot](t,Wo+n,{value:function(t){return this[Gn+n]=t instanceof S?t:null,this}})})(I[Jn]),(t=>{y[Ot](t,Yo+rn,{value:function(t=!1){return new p(((n,e)=>{let i=new b;t?(i[vo](this),i[no]=function(){if(!i[se])return void e();let t=new D([i[se]],{[Ue]:this[Ue]}),o=m[pi](t),s=Pe[Wo]();s[co]="metadata",s[ge]=o,s[On]=!0,s[Wn]=!0,s[eo]=function(){let t=pt[Wo](),i=t[Ai]("2d");if(t[Ge]=s[ko],t[tn]=s[Go],!i)return void e();i[Pt](s,0,0,t[Ge],t[tn]);let o=t[Fo](wl),r=new $;r[ge]=o,r[no]=()=>n(r),r[to]=e,s.ontimeupdate=null,s.pause()},s[to]=e,s.play()}):(i[po](this),i[no]=t=>{if(!t[Ce])return void e();let i=new $;i[ge]=d(t[Ce][se]),i[no]=()=>n(i),i[to]=e},i[to]=e)}))}})})(File[Jn]),(t=>{y[Ot](t,Nr,{get:function(){const t=new g;return this[Wt](((n,e)=>t[he](e,n))),t}}),y[Ot](t,wr,{get:function(){const t={};return this[Wt](((n,e)=>t[e]=n)),t}})})(L[Jn]),(t=>{y[Ot](t,tl,{value:function(t=""){return typeof t===we&&t[Oe]()[wn]>0&&(this[$e][Nt]=t),this}});for(const n of[Ge,tn,ro,oo,io,so,Bi,Gi,xi,ki])y[Ot](t,n,{value:function(t){if(typeof t===we||typeof t===Pn){t=d(t)[Oe]();const e=/^\d+$/[Re](t);this[$e][n]=t+(e?"px":"")}return this}});for(const n of[[Xn,ro,oo,io,so],[Cn,Bi,Gi,xi,ki]])y[Ot](t,n[0],{value:function(t,e,i,o){return void 0===t&&void 0===e&&void 0===i&&void 0===o||(void 0===e&&void 0===i&&void 0===o?e=i=o=t:void 0===i&&void 0===o?(i=t,o=e):void 0===o&&(o=e),this[n[1]](t||0),this[n[2]](o||0),this[n[3]](i||0),this[n[4]](e||0)),this}});y[Ot](t,Gs,{value:function(t,n){if(typeof t!==Pn)return this;const e=this[ci],i=this[$o];let o=i-(t<e?i-e:t);return typeof n===ht&&n?this[Ao]({[mn]:o,[lt]:ve}):this[mo]=o,this}}),y[Ot](t,ks,{value:function(t,n){if(typeof t!==Pn)return this;const e=this[ui],i=this[Eo];let o=i-(t<e?i-e:t);return typeof n===ht&&n?this[Ao]({[Bs]:o,[lt]:ve}):this[wo]=o,this}});for(const n of[[xs,ks,0],[Ps,Gs],[Ds,ks,0],[Hs,Gs]])y[Ot](t,n[0],{value:function(t){let e=0;return/X/[Re](n[1])&&0!==n[2]?e=this[$o]-this[ci]:/Y/[Re](n[1])&&0!==n[2]&&(e=this[Eo]-this[ui]),this[n[1]](e,t),this}})})(H[Jn]),(t=>{for(const n of[In,_n])y[Ot](t,Yo+n,{get:function(){if(this instanceof F)return new L(this)[n]}})})(F[Jn]),(t=>{for(let n of[["go","_self"],["open","_blank"]])y[Ot](t,Wo+n[0],{value:function(t=""){return typeof t===we&&t[Oe]()[wn]>0&&(this[en]=t),this[Ce]=n[1],this}})})(P[Jn]),(t=>{y[Ot](t,"_config",{value:function(t={}){if(this[Co](Lt,zn+","+Dn),typeof t[co]===we&&(this[co]=t[co]),typeof t[Ln]===ht&&(this[Ln]=t[Ln]),typeof t[On]===ht&&(this[On]=t[On]),typeof t[At]===ht&&(this[At]=t[At]),typeof t[Wn]===ht&&t[Wn]&&this[Co](Wn,""),typeof t[Ht]===ht||typeof t[ee]===ht){let n=[];t[Ht]||n[Kn](zn),t[ee]||n[Kn](Dn),this[Co](Lt,n[vn](" "))}return this}})})(x[Jn]),(t=>{y[Ot](t,Ct,{value:async function(t=wl){try{await f[Et][ke]([new Y({[Mn]:this[Cr](t)})])}catch(t){Rl(t)}}}),y[Ot](t,Ht,{value:function(t=wl,n){const e=(()=>null==this[ge]?rn+"."+t[ye]("/")[1]:this[ge][Ae](this[ge].lastIndexOf("/")+1))(),i=m[pi](this[Cr](t)),o=is[Wo]({[en]:i,[Ht]:n||e,[Ue]:"application/octet-stream"});c[ft][ii](o),o.click(),o[_o](),W((()=>{m[ue](i)}),1e3)}}),y[Ot](t,Lr,{value:function(t=wl,n){const e=pt[Wo](),i=e[Ai]("2d"),o=v(this[Ge]),s=v(this[tn]);if(i){if(e[Ge]=this[Ge],e[tn]=this[tn],null!=n&&typeof n===Pn&&n<a.max(o,s)){const t=o/s,i=n/a.max(o,s);e[Ge]=a[Yt](t*s*i),e[tn]=a[Yt](o/t*i)}return i.fillStyle="white",i.fillRect(0,0,e[Ge],e[tn]),i[Pt](this,0,0,e[Ge],e[tn]),e[Fo](t,1)}}}),y[Ot](t,Cr,{value:function(t=wl,n){const e=this[Lr](t,n)[ye](";base64,"),i=e[0][ye](":")[1],o=u[nt](e[1]),s=o[wn],r=new z(s);for(let t=0;t<s;++t)r[t]=o[_t](t);return new D([r],{[Ue]:i})}})})($[Jn]),(t=>{y[Ot](t,wn,{get:function(){return this[pe]}}),y[Ot](t,Yr,{get:function(){return this[yn]()}}),y[Ot](t,jr,{get:function(){return this[De]()}}),y[Ot](t,wr,{get:function(){return y[wi](this)}}),y[Ot](t,Wo,{value:function(t,n){return void 0!==t&&this[he](t,n),this}}),y[Ot](t,Yo,{value:function(t){if(void 0!==t)return this[Jt](t)}}),y[Ot](t,"$_",{value:function(t){return void 0!==t&&this[Ut](t),this}}),y[Ot](t,jo,{value:function(t){return void 0!==t?this[Kt](t):this[pe]>0}})})(g[Jn]),(t=>{y[Ot](t,Wr,{get:function(){const t=Jo[wn];let n="";for(let e=0;e<this;e++)n+=Jo[vt](a[Yt](a[te]()*t));return K[Kt](n)?this[Wr]():(K[he](n,1),n)}}),y[Ot](t,"$ASCII",{get:function(){return d[mi](this)}}),y[Ot](t,kr,{get:function(){return new E(1e3*this)}}),[Ni,Es,Es[oe](2),Es[oe](4),bs,bs[oe](2),As,As[oe](2),rs,rs[oe](2),rs[oe](3),rs[oe](4),Cs,Cs[oe](2),cs,cs[oe](2),is,ms,hs,hs[oe](2),_s,_s[oe](2),Ss,Ss[oe](2),Ss[oe](3)][Wt]((n=>{y[Ot](t,n,{get:function(){return this[kr][Yo+n]}})})),y[Ot](t,Xr,{value:function(t=Xo){return this[kr][Xr](t)}})})(v[Jn]),(t=>{y[Ot](t,wn,{get:function(){return y[yn](this)[wn]}}),y[Ot](t,Yr,{get:function(){return y[yn](this)}}),y[Ot](t,jr,{get:function(){return y[De](this)}}),y[Ot](t,Nr,{get:function(){let t=new g;for(const n in this)this[Vi](n)&&t[he](n,this[n]);return t}}),y[Ot](t,Wt,{value:function(t){if(t instanceof S)for(const n in this)this[Vi](n)&&t(n,this[n])}}),y[Ot](t,Wo,{value:function(t,n,e=!0){return typeof t===we&&t[Oe]()[wn]>0&&void 0!==n&&(e||!this[Vi](t))&&(this[t]=n),this}}),y[Ot](t,jo,{value:function(t){return typeof t===we?this[Vi](t):void 0===t&&this[wn]>0}})})(y[Jn]),(t=>{y[Ot](t,"RJS",{value:function(t={}){return t[sn]=this[Oo](),new Sl(t)}}),y[Ot](t,wr,{get:function(){try{return A.parse(this[Oo]())}catch(t){Rl(t)}}}),y[Ot](t,$r,{get:function(){return this[Oo]()[re](/[ \<\>\"\']/g,(t=>({" ":" ","<":"<",">":">",'"':""","'":"'"}[t])))}}),y[Ot](t,gl,{get:function(){return null!=this[wr]}}),y[Ot](t,Ct,{value:async function(){try{await f[Et][Bo](this[Oo]())}catch(t){Rl(t)}}}),y[Ot](t,Ar,{value:function(t,n){let e=this[Oo]();return typeof t===ht&&void 0===n&&([n,t]=[t,void 0]),typeof n===ht&&n&&(e=e[re](/[\^\$\{\}\|\,\[\]\(\)\=\!\*\+\.\?]/g,(t=>"\\"+t))),typeof t===we&&/[gimsuy]+/[Re](t)?new C(e,t):new C(e)}}),y[Ot](t,Lr,{value:function(t){const n=u[nt](this[Oo]()[ye](",")[1]),e=new V(n[wn]);let i=new z(e);for(let t=0;t<n[wn];t++)i[t]=n[_t](t);return new D([e],{type:t})}}),y[Ot](t,jo,{value:function(t){const n=this[Oo]();return t instanceof C?t[Re](n):typeof t===we?t===n:this[Oo]()[Oe]()[wn]>0}}),y[Ot](t,Ir,{get:function(){const t=this[Oo]();try{return new m(t)}catch(n){return new m(h[kn]+t)}}}),y[Ot](t,Rr,{get:function(){return this[Oo]()[Ir][Rr]}}),[Mr,yl,Er,mr,el,il,ul,cl,al,_l][Wt]((n=>y[Ot](t,n,{value:function(){const t=this[Oo]()[Ir];return t[n][ot](t,y[De](arguments))}}))),y[Ot](t,"_fa",{get:function(){return(fs+"."+this[Oo]()[re](/\s/,"."))[Wo]()}}),y[Ot](t,Yo,{get:function(){const t=this[Oo]();return t[Ee]("#")?c[Ii](this[Ae](1)):/[\.\[\]]/[Re](t)?c[ho](t):c[Ii](t)||c[ho](t)}}),y[Ot](t,Fr,{get:function(){return[...c[ao](this[Oo]())]}}),y[Ot](t,Wo,{value:function(t,n){const e=this[Oo](),i=(e[Rn](pr)||[])[0],o=e[Rn](vr)||[],s=e[Rn](dr),r=_r[Re](i),l=e===be,u="input"===i,f=i===Mo;let h=null;if(null==i)return;if(h=e===Ie?c[fi]():l?c[di](d(t)):r?c[ai]("http://www.w3.org/2000/svg",i):c[hi](i),l)return h;null!=s&&(h[sn]=s[1]),o[wn]>0&&h[nl](o);let a,p;if(yr[Re](e)&&null!=Ll&&Ll[xn](h),null==t&&null!=n&&([t,n]=[n,null]),null!=t&&null!=n)[a,p]=[t,n];else if(null!=n||typeof t!==we&&typeof t!==Pn&&!_[hn](t)){if(null==n)a=t;else if(null==t)return h}else p=t;return(u||f)&&(h.placeholder=(e[Rn](gr)||[])[1]||"",u&&(h[Ue]=(e[Rn](Tr)||[])[1]||be)),(()=>{if(typeof a===Hn&&null!=a)for(const t of y[yn](a)){const n=a[t];if({[ze]:1,[Pi]:1,[zi]:1,[bo]:1,[$t]:1}[t])h[t]=n;else if(t===$e&&typeof n===Hn&&null!=n)for(const t of y[yn](n))h[$e][Il(t)]=d(n[t]);else t===Tn&&typeof n===we&&n[Oe]()[wn]>0?null==Al?h[ge]=n:(h[Co](Tn,n),Al[xn](h)):null!=n&&h[Co](t,n)}})(),(()=>{if(null!=p)if(typeof p===we||typeof p===Pn){const t=d(p);"img"===i||"source"===i?h[ge]=t:h[zi]=t}else if(_[hn](p))for(let t of p)null!=t&&(t instanceof I||(t=c[di](d(t))),h[ii](t))})(),h}})})(d[Jn]),(t=>{y[Ot](t,Rr,{get:function(){const t=new w(this.search),n={};for(const[e,i]of t.entries())n[e]=i;return n}}),y[Ot](t,br,{get:function(){return new p(((t,n)=>{const e=new $;e[ge]=this[en],e[bt]=et,e[no]=()=>t(e),e[to]=n}))}}),y[Ot](t,yl,{value:function(t=!1){return new p((async(n,e)=>{try{const i=await fetch(this[en]);if(!i.ok)throw new Error(`HTTP error! status: ${i[me]}`);const o=i[Qt][Jt]("Content-Type");if(o&&o[Ee](rn)){if(o==rn+"/svg+xml"&&!t)return void n(i);const s=await i[ct](),r=new $,l=m[pi](s);r[ge]=l,r[bt]=et,r[no]=()=>{n({src:l,img:r}),W((()=>{m[ue](l)}),1e3)},r[to]=t=>{m[ue](l),e(t)}}else n(i)}catch(t){e(t)}}))}}),y[Ot](t,Er,{value:function(t={},n=!1){if(null==t)return;const e=this[en],i=typeof t[_n]===Hn&&null!=t[_n]&&!_[hn](t[_n]);let o;return t[zs]&&t[Le]?(o=new L,i&&y[yn](t[_n])[Wt]((n=>{o[it](n,t[_n][n])})),t[zs].forEach((n=>{o[it](t[Le],n)}))):i&&(o=A[Io](t[_n])),new Promise((async(i,s)=>{if(!l[Jt](e)||!n){l[he](e,!0);try{const n={[bn]:t[bn]||"GET",[Qt]:t[Zt]||{},[Ft]:t[Ft]?"include":"same-origin"};t[zs]||(n[Qt]={...n[Qt],"Content-Type":"application/json"}),o&&(n[ft]=o);const r=await fetch(e,n);l.delete(e);const u=r[me];if(/^(4|5)[0-9]{2}/[Re](d(u))){return void s(await r[be]())}if(r[Qt][Jt]("Content-Type").includes("application/json")){i(await r[_n](),u)}else{i(await r[be](),u)}}catch(t){l[Ut](e),s(t)}}}))}}),y[Ot](t,ml,{value:function(t){return this.searchParams[Jt](t)}}),y[Ot](t,el,{value:function(t){const n=this[en];return r[Kn](n),J[Zn](null,"",n),typeof t!==we&&typeof t!==Pn||!d(t)[jo]()||(c[Fe]=d(t)),this}}),y[Ot](t,il,{value:function(t={}){let n=this[kn]+this[jn],e=this[Rr];if(typeof t===Hn&&!_[hn](t))for(const n of y[yn](t))e[n]=t[n];const i=y[yn](e);for(let t=0;t<i[wn];t++){const o=i[t];n+=(0==t?"?":"&")+`${o}=${e[o]}`}return new m(n)}}),y[Ot](t,ul,{value:function(t){const n=this[en];return r.pop(),r[Kn](n),J[le](null,"",n),typeof t!==we&&typeof t!==Pn||!d(t)[jo]()||(c[Fe]=d(t)),this}}),y[Ot](t,cl,{value:function(t={}){let n=this[kn]+this[jn];const e=y[yn](t);for(let i=0;i<e[wn];i++){const o=e[i];n+=(0==i?"?":"&")+`${o}=${t[o]}`}return new m(n)}}),y[Ot](t,al,{value:function(t=""){let n=this[kn]+this[jn],e=this.$queryAll;if(typeof t===we&&t[jo]())delete e[t];else if(_[hn](t)){const n=t[Xt]((t=>typeof t===we||typeof t===Pn));for(const t of n)delete e[d(t)]}const i=y[yn](e);for(let t=0;t<i[wn];t++){const o=i[t];n+=(0==t?"?":"&")+`${o}=${e[o]}`}return new m(n)}}),y[Ot](t,_l,{value:function(){return new m(this[kn]+this[jn])}})})(m[Jn]),(()=>{u._Listener=t=>{if(null==t)return Ml(),void Fl();T(t.svg)&&Ml(),T(t[Tn])&&Fl()},u[qr]=t=>new p(((n,e)=>{if(!t)return()=>e();let i=new b;i[po](t),i[no]=t=>n(t),i[to]=e}));let t=c[It]+";";u[Jr]=(n="")=>{if(![we,Pn][jo](typeof n)||d(n)[jo]())return;const e=(n+"=([^ ;]+)?")[Ar](),i=t[Rn](e)||[],o=i[wn];let s=i[o-1];return o<1||null==s?void 0:(s=N(s),s[gl]?s[wr]:s)},u[ll]=(n="",e,i)=>{if(![we,Pn][jo](typeof n)||d(n)[jo]()||null==e)return;n=U(n),i=1e3*(typeof i===Pn?i:3600);const o=new E,s=new E(o[Ui]()+i);return e=U(typeof e===Hn?A[Io](e)[Oe]():d(e)[Oe]()),c[It]=`${n}=${e}; expires=${s.toUTCString()}; path=/`,t=c[It]+";",t},u[Yo]=(t="")=>{if(typeof t===we&&!t[jo]())return d(t)[Yo]},u[Fr]=(t="")=>{if(typeof t===we&&!t[jo]())return d(t)[Fr]},u[sl]=(t=[],n)=>{c[ft][sl](t,n)},u[hl]=(t=[])=>{c[ft][hl](t)},c.head[sl]([$e[Wo](".dom-temp { display: none !important; }")])})()}("undefined"==typeof window?window={}:window);