Files

65 lines
728 KiB
JavaScript
Raw Permalink Normal View History

2025-12-09 06:52:43 +00:00
import{u as i,v as e,w as gc,x as fc,y as Qh,z as Hs,D as Ho,H as or,I as lr,J as am,K as dt,L as Jh,N as Zh,O as eg,Q as tg,U as sg,V as ng,W as rg,X as pc,Y as ag,Z as ig,_ as og,$ as im,a0 as om,a1 as Ss,a2 as ws,a3 as lg,a4 as Wo,a5 as xc,a6 as jc,a7 as lm,a8 as cg,a9 as cm,aa as ug,ab as dg,ac as mg,ad as um,ae as ua,af as dm,ag as hg,ah as gg,ai as qo,aj as mm,ak as fg,al as pg,am as xg,an as jg,ao as Ig,ap as Ic,aq as bc,ar as bg,as as Ci,at as Eg,au as Cg,av as vg,aw as Ng,ax as _g,ay as tu,az as Sg,aA as wg,aB as Tg,aC as yg,aD as Rg,aE as cl,aF as ul,aG as dl,aH as Og}from"./vendor-CZE3qWoT.js";import{N as Yr,a as Ec,H as oi,M as ve,T as Ut,R as te,b as Ke,A as oa,c as Wt,G as kg,d as Q,D as Ag,C as Ht,e as Dg,f as Ve,g as Pg,h as to,i as vn,j as Us,k as Cc,l as so,E as Lg,m as su,n as Ms,F as Ji,o as Wa,p as gt,q as qa,S as li,r as Ca,s as Mg,t as hm,u as za,v as Ug,w as Fg,x as Vg,y as no,z as Rs,B as Mn,O as gm,V as At,I as ml,P as da,J as Gt,K as Qs,L as fm,U as Gg,Q as hl,W as pm,X as qn,Y as Bg,Z as Hg,_ as Wg,$ as qg,a0 as zg,a1 as Yg,a2 as $g,a3 as Kg,a4 as Xg,a5 as Qg,a6 as Jg,a7 as Zg,a8 as xm,a9 as ef,aa as tf,ab as sf,ac as nf,ad as rf,ae as af,af as of,ag as lf,ah as cf,ai as uf,aj as df,ak as mf,al as hf,am as gf,an as zl,ao as ff,ap as jm,aq as pf,ar as xf,as as jf,at as If,au as bf,av as Ef,aw as Cf,ax as vf,ay as Nf,az as _f,aA as Sf,aB as wf,aC as Tf,aD as Im,aE as yf,aF as Rf,aG as Of,aH as nu,aI as kf,aJ as Af,aK as Df,aL as zo,aM as Pf,aN as Lf,aO as bm,aP as Mf,aQ as Uf,aR as ro,aS as Lt,aT as fa,aU as Em,aV as Cm,aW as Ff,aX as Vf,aY as Gf,aZ as Bf,a_ as Hf,a$ as Wf,b0 as qf,b1 as zf,b2 as Yf,b3 as Na,b4 as vc,b5 as ru,b6 as $f,b7 as vm,b8 as Kf,b9 as Xf,ba as Qf,bb as Jf,bc as Zf,bd as ep,be as tp,bf as sp,bg as np,bh as rp,bi as ap,bj as ip,bk as op,bl as lp,bm as cp,bn as up,bo as dp,bp as mp,bq as hp,br as gp,bs as fp,bt as pp,bu as xp,bv as jp,bw as Ip,bx as bp,by as Ep,bz as Cp,bA as vp,bB as Nm,bC as Yl,bD as Np,bE as _m,bF as _p,bG as Sp,bH as wp,bI as Tp,bJ as yp,bK as Rp,bL as Op,bM as kp,bN as Ap,bO as Dp,bP as Pp,bQ as Lp,bR as Mp,bS as Up,bT as Fp,bU as Vp,bV as Gp,bW as Bp,bX as Hp,bY as Wp,bZ as qp,b_ as zp,b$ as Yp,c0 as $p,c1 as Kp,c2 as Xp,c3 as Qp,c4 as Jp,c5 as Zp,c6 as ex,c7 as tx,c8 as sx,c9 as nx,ca as rx,cb as Sm,cc as wm,cd as ao,ce as ax,cf as ix,cg as Ya,ch as Tm,ci as nt,cj as ox,ck as lx,cl as cx,cm as ux,cn as dx,co as mx,cp as hx,cq as gx,cr as fx,cs as px,ct as xx,cu as gl,cv as jx,cw as Ix,cx as bx,cy as Ex,cz as Cx,cA as vx,cB as Nx,cC as au,cD as _x,cE as Sx,cF as Cr,cG as wx,cH as Tx,cI as ys,cJ as Ct,cK as Bs,cL as yx,cM as Rx,cN as Ox,cO as vi,cP as ye,cQ as kx,cR as Vt,cS as Ax,cT as Dx,cU as Px,cV as Lx,cW as Mx,cX as Ux,cY as Fx,cZ as Vx,c_ as Gx,c$ as Bx,d0 as Hx,d1 as Wx,d2 as qx,d3 as zx,d4 as Yx,d5 as $x,d6 as Kx,d7 as $l,d8 as Xx,d9 as Qx,da as Jx,db as ym,dc as Zx,dd as ej,de as iu,df as tj,dg as sj,dh as nj,di as rj,dj as Kl,dk as aj,dl as ij,dm as oj,dn as lj,dp as ou,dq as Ni,dr as cj,ds as uj,dt as dj,du as mj,dv as Rm,dw as hj,dx as Om,dy as gj,dz as km,dA as fj,dB as pj,dC as xj,dD as jj,dE as lu,dF as Ds,dG as Am,dH as _a,dI as gn,dJ as cu,dK as uu,dL as vt,dM as Vs,dN as Ij,dO as bj,dP as Ej,dQ as Cj,dR as fl,dS as vj,dT as du,dU as mu,dV as Nj,dW as pl,dX as xl,dY as _j,dZ as Sj,d_ as _i,d$ as wj,e0 as Dm,e1 as Tj,e2 as yj,e3 as Rj,e4 as Oj,e5 as kj,e6 as Aj,e7 as Dj,e8 as Pj,e9 as Lj,ea as Mj,eb as jl,ec as Uj,ed as Fj,ee as Vj,ef as Gj,eg as Bj,eh as Hj,ei as Pm,ej as Wj,ek as qj,el as zj,em as Yj,en as $j,eo as Sa,ep as Kj,eq as Xj,er as Qj,es as Jj,et as hu,eu as Zj,ev as eI,ew as tI,ex as sI,ey as nI,ez as rI,eA as gu,eB as aI,eC as iI,eD as oI,eE as lI,eF as cI,eG as uI,eH as dI,eI as mI,eJ as hI,eK as gI,eL as fI,eM as pI,eN as xI,eO as Lm,eP as jI,eQ as II,eR as Mm,eS as bI,eT as EI,eU as CI,eV as vI,eW as NI,eX as _I,eY as SI,eZ as wI,e_ as TI,e$ as yI,f0 as RI,f1 as OI,f2 as kI,f3 as AI,f4 as DI,f5 as Nc,f6 as ci,f7 as PI,f8 as Il,f9 as LI,fa as fu,fb as MI,fc as UI,fd as ds,fe as FI,ff as VI,fg as GI,fh as BI,fi as HI,fj
<div>
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAAAsTAAALEwEAmpwYAAAEQElEQVR4nO2X7WscRRzHt+AbfeEfICK+VVTwjWhVUnI7l8SkDY3Wu5ltfbiZXBNbq8ldiZEkVbHSIAEjCtUWNLXFaNWQElOUomKwD0bxoVLtk3I+oPhUjbvZ5x2Zmb29DUlaa3fTO9gvDOzMbx5+n535zYMkJUqUKFFNKoVIK0CEyogcKZfJCO/2y3qkaldLPn+ZDLEGELYbFeVyVgYgLnGADL5GqgUBRCaYwwC1NzUq5EruPCQnpVpRGpG87/RgGhJFLB88xGzyuvxVAOGtAOIXmU2SpGWsHKzNXcfaySh/Pe9DyeVSkNxzUQDkbO4KgIjH4kBGZLuAaa/j5ZD8LmZHJBniAd4Gtj8kynCXyBNVRuRX6WIJIDLN4gBA/CNzuq5uyyWhmRllQL69VJUAMsQDlT+NR3ynHhXLKVfkkJCcAZDoVQmQyuZuLAOkYPudNQcgSdIysZ0SWq/cf20tAkgyJDMJQHXNAN7ox8WTN6/pulRG2AAI/xZeQjLEj7ATG0BsVd0Sqs/iG2REHO64f70ACL/BbKEtVpUh+VvUqzIAJqDgewEip5lNRmQfO9xYeUNm/dUAkZ8AwidkmL+tKoI40VLJeGZbv97dWdIIVLVcRtOUVlPNrrR4urvZVlvrvSClb6Fq6iaR2HfYxur67TSl1eR9Eaiyvo1nB/ticV7vL04HDsWc9P5i8EiKRObw4GNL5bzqJzbbkQHo3R0/sE7dE99Qb2ZmXnK++HRRR6zxvbyO9fru85uFro7vIwPQcFZlnXq//EwXkvvtqUUdsQ/s53Xst8fOC0DLZdToANa1Gfyv9DxIjSd6qVv6Tjh+/Gue14sPRA+wdrURGYCaXWmHO3e+/Iw75Rz8UEx3X4Far45Qvb9AtUwz/7Z27ZwLMPUeNV9+gVqju6i2GlTW+uDj1Jl6n9ofHOD9BONkW+zoANrS7tkA7Mlx4eT+fVTvWi/WlefOAQjL+Ui0M3c8P8+mFzeIcdrSbnQALSu8CwVwjx0N6nnqP9zm/fmHaPfOBHVPnwz64OO0rPCiA2hYTi8UgMWA3vuwb/Ooesftlb9e6KTWm6Oiz+lDYpyG5TQ6gPCpGhVAc10A4GkapabpAxyOASCCJXQ2gLCcQ1MxLKEIgngOAKVzAPTuDrZtUn3zRjpLYAxBfI5t9H8BhGOguIFab/kx8PHB6LfR8kF2LgD31HG+2ywE4Bz9nFp7XhI22xK70F9neJYFsHvsK2GaHI/+ICtfJRYDsF7ZWVnEtr0gQFjMWd5u7555Nr1nU/RXifJlrpzM54aoPTFGjaGnxGB3NVL73Ul+cZvdRLjNGntNnLTbtvC8uX2Y/2m258/et8bfaW6l1sgODuR8coQaW/viuczV/HWaiT0ylsp5fWDzYSkOseeeXgg9KeEqq/KkbHL++5OyyQmelHCVFTwpC50lY/jp3licT5QoUSIpDv0L7jL5ksuHFDUAAAAASUVORK5CYII="
alt="YouTube Icon" style="vertical-align: middle; margin-right: 5px;"><strong>Click on open video to see the YouTube video</strong>
</div><center><a href="https://youtu.be/$1" target="_blank" style="background-color: red; color: white; padding: 5px 10px; border-radius: 5px; text-decoration: none;">Open Video</a></center>
`));const s=o.match(/@[a-zA-Z]+@/);if(s){const n=s[0].toString(),r=n.substr(1,n.length-2),a=o.replace(n,"");$.has(r)?t=`<span style="color: ${$.get(r)}">${a}</span>`:t=a}else t=o;return t},kc=(o,t)=>window.localStorage.setItem(o,JSON.stringify(t)),er=class er{};er.CAMERA_SHUTTER="camera_shutter",er.CREDITS="credits",er.DUCKETS="duckets",er.MESSENGER_NEW_THREAD="messenger_new_thread",er.MESSENGER_MESSAGE_RECEIVED="messenger_message_received",er.MODTOOLS_NEW_TICKET="modtools_new_ticket";let Sn=er;function tv(o){const t=o.parts;let s=0;for(const n of t)s=Math.max(s,n.colorLayerIndex);return s}function sv(o,t){return t=t.filter(s=>o.indexOf(s)===-1),[...o,...mo.getRandomElements(t,mo.getRandomNumber(t.length)+1)]}function nv(o,t,s=0,n=[]){if(!o)return null;const r=o.partSets.getValues().filter(a=>!a.isSelectable||a.gender!=="U"&&a.gender!==t||a.clubLevel>s||a.isSellable&&n.indexOf(a.id)===-1?null:a);return!r||!r.length?null:mo.getRandomElement(r)}function rv(o,t,s=0){if(!o)return[];const n=o.colors.getValues().filter(r=>!r.isSelectable||r.clubLevel>s?null:r);return!n||!n.length?null:mo.getRandomElements(n,tv(t))}function av(o,t,s=0,n=[],r=[]){const a=St().structure,l=new Mg(""),c=sv(a.getMandatorySetTypeIds(t,s),Se.SET_TYPES);for(const m of r){const h=o.getPartSetId(m),u=o.getColorIds(m);l.updatePart(m,h,u)}for(const m of c){if(l.hasPartType(m))continue;const h=a.figureData.getSetType(m),u=nv(h,t,s,n);if(!u)continue;let g=[];u.isColorable&&(g=rv(a.figureData.getPalette(h.paletteID),u,s).map(f=>f.id)),l.updatePart(h.type,u.id,g)}return l.getFigureString()}class iv extends $o{init(){super.init(),this.addCategory(Se.HAIR),this.addCategory(Se.HAT),this.addCategory(Se.HEAD_ACCESSORIES),this.addCategory(Se.EYE_ACCESSORIES),this.addCategory(Se.FACE_ACCESSORIES),this._isInitalized=!0}get name(){return Us.HEAD}}class Au extends $o{init(){super.init(),this.addCategory(Se.TROUSERS),this.addCategory(Se.SHOES),this.addCategory(Se.TROUSER_ACCESSORIES),this._isInitalized=!0}get name(){return Us.LEGS}}class Du extends $o{init(){super.init(),this.addCategory(Se.SHIRT),this.addCategory(Se.CHEST_PRINTS),this.addCategory(Se.JACKET),this.addCategory(Se.CHEST_ACCESSORIES),this._isInitalized=!0}get name(){return Us.TORSO}}const wo=class wo{};wo.COLORMATRIX="colormatrix",wo.COMPOSITE="composite";let si=wo;class ov{constructor(t,s){this.texture=t,this.imageUrl=s}}class lv{constructor(t,s){this.effectName=t,this.thumbnailUrl=s}}class cv{constructor(t,s,n){this._productName=t,this._customImage=s,this._furnitureClassName=n}get productName(){return this._productName}get customImage(){return this._customImage}get furnitureClassName(){return this._furnitureClassName}}const Zr=class Zr{};Zr.STATE_UNLOCKED=1,Zr.STATE_LOCKED_AVAILABLE=2,Zr.STATE_LOCKED_EXPIRED=3,Zr.STATE_LOCKED_FUTURE=4;let rs=Zr;const Ra=class Ra{};Ra.TYPE_CHAT=1,Ra.TYPE_ROOM_INFO=2,Ra.TYPE_IM=3;let tn=Ra;const lh=()=>{const o=new Date;return`${o.getHours().toString().padStart(2,"0")}:${o.getMinutes().toString().padStart(2,"0")}`},Pu=(o=0)=>{const t=o?new Date(Date.now()-o*1e3):new Date;return`${t.getHours().toString().padStart(2,"0")}:${t.getMinutes().toString().padStart(2,"0")}`},ch=o=>{if(!o||!o.length)return null;const t=o.split("/"),s=t[0],n=t[1],r=parseInt(t[2]);return{username:s,figure:n,userId:r}},ea=class ea{constructor(){this.id=-1,this.name=null,this.gender=0,this.online=!1,this.followingAllowed=!1,this.figure=null,this.categoryId=0,this.motto=null,this.realName=null,this.lastAccess=null,this.persistedMessageUser=!1,this.vipMember=!1,this.pocketHabboUser=!1,this.relationshipStatus=-1,this.unread=0}populate(t){this.id=t.id,this.name=t.name,this.gender=t.gender,this.online=t.online,this.followingAllowed=t.followingAllowed,this.figure=t.figure,this.categoryId=t.categoryId,this.motto=t.motto,this.realName=t.realName,this.lastAccess=t.lastAccess,this.persistedMessageUser=t.persistedMessageUser,this.vipMember=t.vipMember,this.pocketHabboUser=t.pocketHabboUser,this.relationshipStatus=t.relationshipStatus}};ea.RELATIONSHIP_NONE=0,ea.RELATIONSHIP_HEART=1,ea.RELATIONSHIP_SMILE
attribute vec2 aVertexPosition;
attribute vec2 aTextureCoord;
uniform mat3 projectionMatrix;
varying vec2 vTextureCoord;
void main(void)
{
gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);
vTextureCoord = aTextureCoord;
}`,Ev=`
varying vec2 vTextureCoord;
uniform sampler2D uSampler;
uniform vec3 lineColor;
uniform vec3 color;
uniform float time; // Added time uniform for animation
void main(void) {
vec4 currentColor = texture2D(uSampler, vTextureCoord);
vec3 colorLine = lineColor * currentColor.a;
vec3 colorOverlay = color * currentColor.a;
// Calculate fading factor using sine wave (oscillates between 0.5 and 1.0)
float fadeFactor = 0.75 + 0.25 * sin(time * 3.0); // Adjust speed with multiplier
if(currentColor.r == 0.0 && currentColor.g == 0.0 && currentColor.b == 0.0 && currentColor.a > 0.0) {
gl_FragColor = vec4(colorLine.r * fadeFactor, colorLine.g * fadeFactor, colorLine.b * fadeFactor, currentColor.a);
} else if(currentColor.a > 0.0) {
gl_FragColor = vec4(colorOverlay.r * fadeFactor, colorOverlay.g * fadeFactor, colorOverlay.b * fadeFactor, currentColor.a * 0.35);
}
}`;class Gu extends fm{constructor(t=[.7,.88,.95],s=[.29,.35,.39]){super(bv,Ev),this.uniforms.lineColor=new Float32Array(3),this.uniforms.color=new Float32Array(3),this.uniforms.time=0,this._time=0,this.lineColor=t,this.color=s}get lineColor(){return this._lineColor}set lineColor(t){const s=this.uniforms.lineColor;typeof t=="number"?(Ht.hex2rgb(t,s),this._lineColor=t):(s[0]=t[0],s[1]=t[1],s[2]=t[2],this._lineColor=Ht.rgb2hex(s))}get color(){return this._color}set color(t){const s=this.uniforms.color;typeof t=="number"?(Ht.hex2rgb(t,s),this._color=t):(s[0]=t[0],s[1]=t[1],s[2]=t[2],this._color=Ht.rgb2hex(s))}get time(){return this._time}set time(t){this._time=t,this.uniforms.time=t}}const Ba=class Ba{static startAnimation(){if(this.animationFrameId!==null)return;const t=s=>{const n=s/1e3;this.activeFilters.forEach(r=>{r.time=n}),this.animationFrameId=requestAnimationFrame(t)};this.animationFrameId=requestAnimationFrame(t)}static stopAnimation(){this.animationFrameId!==null&&(cancelAnimationFrame(this.animationFrameId),this.animationFrameId=null)}static show(t,s=Q.FLOOR){const n=H().getRoomObject(H().activeRoomId,t,s);if(!n)return;const r=n.visualization;if(!r||!r.sprites||!r.sprites.length)return;const a=new Gu([.7,.88,.95],[.29,.35,.39]),l=`${t}_${s}`;this.activeFilters.set(l,a);for(const c of r.sprites)c.blendMode!==1&&(c.filters=[a]);this.startAnimation()}static hide(t,s=Q.FLOOR){const n=H().getRoomObject(H().activeRoomId,t,s);if(!n)return;const r=n.visualization;if(!r)return;const a=`${t}_${s}`;this.activeFilters.delete(a);for(const l of r.sprites)l.filters=[];this.activeFilters.size===0&&this.stopAnimation()}static clearAll(){const t=H(),s=[...t.getRoomObjects(t.activeRoomId,Q.FLOOR),...t.getRoomObjects(t.activeRoomId,Q.WALL)];for(const n of s){const r=n.visualization;if(r)for(const a of r.sprites)a.filters=[]}this.activeFilters.clear(),this.stopAnimation()}};Ba.glowFilter=new Gu([.7,.88,.95],[.29,.35,.39]),Ba.activeFilters=new Map,Ba.animationFrameId=null;let Zs=Ba;class Bu{constructor(t=0,s=0,n=0,r=0){this.id=t,this.type=s,this.color=n,this.light=r}}const Cv=(o,t,s,n=0)=>!(o.left+n+o.width<t.left+n||o.left+n>t.left+n+t.width||o.top+o.height<t.top+s||o.top>t.top+s+t.height),ra=class ra{static savePreset(t,s,n,r,a){Oe().updateMoodlightData(t,s,n,r,a)}static changeState(){Oe().toggleMoodlightState()}static previewDimmer(t,s,n){H().updateObjectRoomColor(Oe().roomId,t,s,n)}static scaleBrightness(t){return~~((t-this.MIN_BRIGHTNESS)*100/(this.MAX_BRIGHTNESS-this.MIN_BRIGHTNESS)+0)}};ra.AVAILABLE_COLORS=[7665141,21495,15161822,15353138,15923281,8581961,0],ra.HTML_COLORS=["#74F5F5","#0053F7","#E759DE","#EA4532","#F2F851","#82F349","#000000"],ra.MIN_BRIGHTNESS=76,ra.MAX_BRIGHTNESS=255;let Fs=ra;const vv=130,Nv=100,_v=130,Sv=100,wv=130,Tv=100,hh=o=>{let t=0,s=0,n=0,r=0;for(;r<o.length;){switch(r%3){case 0:t=t+o.charCodeAt(r)*37;break;case 1:s=s+o.charCodeAt(r)*37;break;case 2:n=n+o.charCodeAt(r)*37;break}r++}return t=t%Nv+vv,s=s%Sv+_v,n=n%Tv+wv,`rgb(${t},${s},${n})`},Ao=class Ao{static getMergedMannequinFigureContainer(t,s){const n=St().createFigureContainer(t),r=St().createFigureContainer(s);for(const a of this.MANNEQUIN_CLOTHING_PART_TYPES)n.removePart(a);for(const a of r.getPartTypeIds())n.updatePart(a,r.getPartSetId(a),r.getPartColorIds(a));return n}static transformAsMannequinFigure(t){for(const s of t.getPartTypeIds())this.MANNEQUIN_CLOTHING_PART_TYPES.indexOf(s)>=0||t.removePart(s);t.updatePart(this.MANNEQUIN_FIGURE[0],this.MANNEQUIN_FIGURE[1],this.MANNEQUIN_FIGURE[2])}};Ao.MANNEQUIN_FIGURE=["hd",99999,[99998]],Ao.MANNEQUIN_CLOTHING_PART_TYPES=[Ve.CHEST_ACCESSORY,Ve.COAT_CHEST,Ve.CHEST,Ve.LEGS,Ve.SHOES,Ve.WAIST_ACCESSORY];let ca=Ao;const Do=class Do{};Do.POSTURE_STAND=0,Do.POSTURE_SIT=1;let po=Do;class $r{constructor(t,s,n,r=0,a="#",l){this._id=t,this._category=s,this._name=n,this._ownerId=r,this._ownerName=a,this._type=l}get id(){return this._id}get category(){return this._category}get name(){return this._name}get ownerId(){return this._ownerId}get ownerName(){return this._ownerName??"#"}get type(){return this._type??"
attribute vec2 aVertexPosition;
attribute vec2 aTextureCoord;
uniform mat3 projectionMatrix;
varying vec2 vTextureCoord;
void main(void)
{
gl_Position = vec4((projectionMatrix * vec3(aVertexPosition, 1.0)).xy, 0.0, 1.0);
vTextureCoord = aTextureCoord;
}`,Ov=`
varying vec2 vTextureCoord;
uniform sampler2D uSampler;
uniform vec3 lineColor;
uniform vec3 color;
void main(void) {
vec4 currentColor = texture2D(uSampler, vTextureCoord);
vec3 colorLine = lineColor * currentColor.a;
vec3 colorOverlay = color * currentColor.a;
if(currentColor.r == 0.0 && currentColor.g == 0.0 && currentColor.b == 0.0 && currentColor.a > 0.0) {
gl_FragColor = vec4(colorLine.r, colorLine.g, colorLine.b, currentColor.a);
} else if(currentColor.a > 0.0) {
gl_FragColor = vec4(colorOverlay.r, colorOverlay.g, colorOverlay.b, currentColor.a);
}
}`;class kv extends fm{constructor(t,s){super(Rv,Ov),this.uniforms.lineColor=new Float32Array(3),this.uniforms.color=new Float32Array(3),this.lineColor=t,this.color=s}get lineColor(){return this._lineColor}set lineColor(t){const s=this.uniforms.lineColor;typeof t=="number"?(Ht.hex2rgb(t,s),this._lineColor=t):(s[0]=t[0],s[1]=t[1],s[2]=t[2],this._lineColor=Ht.rgb2hex(s))}get color(){return this._color}set color(t){const s=this.uniforms.color;typeof t=="number"?(Ht.hex2rgb(t,s),this._color=t):(s[0]=t[0],s[1]=t[1],s[2]=t[2],this._color=Ht.rgb2hex(s))}}const js=class js{static setMaxItemSelectionCount(t){js._maxItemSelectionCount=t}static show(t){js.applySelectionShader(js.getRoomObject(t))}static hide(t){js.clearSelectionShader(js.getRoomObject(t))}static clearSelectionShaderFromFurni(t){for(const s of t)js.clearSelectionShader(js.getRoomObject(s))}static applySelectionShaderToFurni(t){for(const s of t)js.applySelectionShader(js.getRoomObject(s))}static getRoomObject(t){const s=H();return s.getRoomObject(s.activeRoomId,t,Q.FLOOR)}static applySelectionShader(t){if(!t)return;const s=t.visualization;if(s)for(const n of s.sprites)n.blendMode!==1&&(n.filters=[js._selectionShader])}static clearSelectionShader(t){if(!t)return;const s=t.visualization;if(s)for(const n of s.sprites)n.filters=[]}};js._selectionShader=new kv([1,1,1],[.6,.6,.6]),js._maxItemSelectionCount=0;let Wn=js;const ga=" ",ts=class ts{};ts.AVATAR_SAYS_SOMETHING=0,ts.AVATAR_WALKS_ON_FURNI=1,ts.AVATAR_WALKS_OFF_FURNI=2,ts.EXECUTE_ONCE=3,ts.TOGGLE_FURNI=4,ts.EXECUTE_PERIODICALLY=6,ts.AVATAR_ENTERS_ROOM=7,ts.GAME_STARTS=8,ts.GAME_ENDS=9,ts.SCORE_ACHIEVED=10,ts.COLLISION=11,ts.EXECUTE_PERIODICALLY_LONG=12,ts.BOT_REACHED_STUFF=13,ts.BOT_REACHED_AVATAR=14;let es=ts;const ia=class ia{};ia.CENTER="DWP_CENTER",ia.TOP_CENTER="DWP_TOP_CENTER",ia.TOP_LEFT="DWP_TOP_LEFT",ia.NOTHING="DWP_NOTHING";let Ot=ia;const An=[],Wu=new Map,qu=0,zu=0,Ur=o=>{const{uniqueKey:t=null,handleSelector:s=".drag-handler",windowPosition:n=Ot.CENTER,disableDrag:r=!1,dragStyle:a={},children:l=null,offsetLeft:c=0,offsetTop:m=0}=o,[h,u]=i.useState(null),[g,f]=i.useState(null),[p,x]=i.useState({x:0,y:0}),[I,j]=i.useState(!1),[E,C]=i.useState(null),b=i.useRef(),S=i.useCallback(()=>{let M=400;for(const X of An)M+=1,X.style.zIndex=M.toString()},[]),_=i.useCallback(()=>{const M=An.indexOf(b.current);if(M===-1)An.push(b.current);else{if(M===An.length-1)return;M>=0&&(An.splice(M,1),An.push(b.current))}S()},[S]),T=i.useCallback(M=>{_()},[_]),P=i.useCallback(M=>{_()},[_]),k=i.useCallback((M,X)=>{x({x:M,y:X}),j(!0)},[]),R=i.useCallback(M=>{k(M.clientX,M.clientY)},[k]),y=i.useCallback(M=>{const X=M.touches[0];k(X.clientX,X.clientY)},[k]),O=i.useCallback(M=>{u({x:M.clientX-p.x,y:M.clientY-p.y})},[p]),F=i.useCallback(M=>{const X=M.touches[0];u({x:X.clientX-p.x,y:X.clientY-p.y})},[p]),V=i.useCallback(()=>{if(!b.current||!E)return;let M=g.x+h.x,X=g.y+h.y;const he=b.current.offsetLeft+M,pe=b.current.offsetTop+X;pe<qu?X=-b.current.offsetTop:pe+E.offsetHeight>=document.body.offsetHeight-qu&&(X=document.body.offsetHeight-b.current.offsetHeight-b.current.offsetTop),he+b.current.offsetWidth<zu?M=-b.current.offsetLeft:he>=document.body.offsetWidth-zu&&(M=document.body.offsetWidth-b.current.offsetWidth-b.current.offsetLeft),u({x:0,y:0}),f({x:M,y:X}),j(!1),t!==null&&Wu.set(t,{x:M,y:X})},[E,h,g,t]),Y=i.useCallback(M=>{V()},[V]),q=i.useCallback(M=>{V()},[V]);return i.useEffect(()=>{const M=b.current;if(!M)return;if(An.push(M),S(),!r){const pe=M.querySelector(s);pe&&C(pe)}let X=0,he=0;switch(n){case Ot.TOP_CENTER:M.style.top=50+m+"px",M.style.left=`calc(50vw - ${M.offsetWidth/2+c}px)`;break;case Ot.CENTER:M.style.top=`calc(50vh - ${M.offsetHeight/2+m}px)`,M.style.left=`calc(50vw - ${M.offsetWidth/2+c}px)`;break;case Ot.TOP_LEFT:M.style.top=50+m+"px",M.style.left=50+c+"px";break}if(t!==null){const pe=Wu.get(t);pe&&(X=pe.x,he=pe.y)}return u({x:0,y:0}),f({x:X,y:he}),()=>{const pe=An.indexOf(M);pe>=0&&An.splice(pe,1)}},[s,n,t,r,c,m,S]),i.useEffect(()=>{if(!g&&!h)return;const M=b.current;M&&(M.style.transform=`translate(${g.x+h.x}px, $
`+m.pendingCalls[0].message,()=>{D(new op)},null,d("help.emergency.pending.button.discard"),d("help.emergency.pending.button.keep"),d("help.emergency.pending.message.subtitle"))}),U(cp,c=>{r("Your pending calls were deleted",je.MODERATION,null,null,d("mod.alert.title"))}),U(up,c=>{const m=c.getParser();r(m.message,je.MODERATION,null,null,d("help.cfh.reply.title"))}),U(dp,c=>{const m=c.getParser();r(d("help.emergency.global_mute.message"),je.MODERATION,m.infoUrl,d("help.emergency.global_mute.link"),d("help.emergency.global_mute.subtitle"))}),U(mp,c=>{const m=c.getParser();n(m)}),{activeReport:o,setActiveReport:t,sanctionInfo:s,setSanctionInfo:n,report:l}},Ws=()=>dt(cN),nl=()=>{const[o,t]=i.useState([]),s=i.useMemo(()=>!!o.length,[o]),n=i.useCallback(()=>{let a=-1;return t(l=>{const c=[...l];return a=c.length?c[c.length-1]+1:0,c.push(a),c}),a},[]),r=i.useCallback(a=>{t(l=>{const c=[...l],m=c.indexOf(a);return m===-1?l:(c.splice(m,1),c)})},[]);return{isVisible:s,activate:n,deactivate:r}},uN=o=>D(new gp(o)),dN=(o,t)=>D(new fp(o,...t)),mN=()=>{const[o,t]=i.useState(new Map),s=i.useCallback(m=>{var h;return((h=o.get(m))==null?void 0:h.length)||0},[o]),n=i.useMemo(()=>{let m=0;for(const h of o.keys())m+=s(h);return m},[o,s]),r=i.useCallback(m=>{let h=!0;return t(u=>{if(!u.has(m))return h=!1,u;const g=new Map(u);return g.delete(m),uN(m),g}),h},[]),a=i.useCallback((m,h)=>{let u=!0;return t(g=>{if(!g.has(m))return u=!1,g;const f=new Map(g),p=f.get(m);if(p)for(const x of h)p.splice(p.indexOf(x),1);return dN(m,h),f}),u},[]),l=i.useCallback((m,h)=>o.has(m)?o.get(m).indexOf(h)>=0:!1,[o]),c=i.useCallback((m,h)=>{t(u=>{if(!u.has(m))return u;const g=new Map(u),f=g.get(m),p=f.indexOf(h);return p>=0&&f.splice(p,1),g})},[]);return U(hp,m=>{const h=m.getParser();t(u=>{const g=new Map(u);for(const f of h.categories){let p=g.get(f);p||(p=[],g.set(f,p));const x=h.getItemsByCategory(f);for(const I of x)p.indexOf(I)===-1&&p.push(I)}return g})}),{getCount:s,getFullCount:n,resetCategory:r,resetItems:a,isUnseen:l,removeUnseen:c}},Os=()=>dt(mN),hN=()=>{const[o,t]=i.useState(!0),[s,n]=i.useState([]),[r,a]=i.useState(new Map),[l,c]=i.useState([]),[m,h]=i.useState(null),{isVisible:u=!1,activate:g=null,deactivate:f=null}=nl(),{isUnseen:p=null,resetCategory:x=null}=Os(),I=K("user.badges.max.slots",5),j=S=>l.indexOf(S)>=0,E=()=>l.length<I,C=S=>{c(_=>{const T=[..._],P=T.indexOf(S);if(P===-1){if(!E())return _;T.push(S)}else T.splice(P,1);const k=new Ip;for(let R=0;R<I;R++)k.addActivatedBadge(T[R]??"");return D(k),T})},b=S=>s.indexOf(S)===-1?0:r.get(S)??0;return U(pp,S=>{const _=S.getParser(),T=[];a(P=>{const k=new Map(P);return _.getAllBadgeCodes().forEach(R=>{const y=s.indexOf(R)>=0,O=_.getBadgeId(R);k.set(R,O),!y&&T.push(R)}),k}),c(_.getActiveBadgeCodes()),n(P=>[...P,...T])}),U(xp,S=>{const _=S.getParser(),T=p(at.BADGE,_.badgeId);n(P=>{const k=[...P];return T?k.unshift(_.badgeCode):k.push(_.badgeCode),k}),a(P=>{const k=new Map(P);return k.set(_.badgeCode,_.badgeId),k})}),i.useEffect(()=>{!s||!s.length||h(S=>{let _=S;return _&&s.indexOf(_)===-1&&(_=null),_||(_=s[0]),_})},[s]),i.useEffect(()=>{if(u)return()=>{x(at.BADGE)}},[u,x]),i.useEffect(()=>{!u||!o||(D(new jp),t(!1))},[u,o]),{badgeCodes:s,activeBadgeCodes:l,selectedBadgeCode:m,setSelectedBadgeCode:h,isWearingBadge:j,canWearBadges:E,toggleBadge:C,getBadgeId:b,activate:g,deactivate:f}},pi=()=>dt(hN),gN=()=>{const[o,t]=i.useState(!0),[s,n]=i.useState([]),[r,a]=i.useState(null),{isVisible:l=!1,activate:c=null,deactivate:m=null}=nl(),{isUnseen:h=null,resetCategory:u=null}=Os();return U(bp,g=>{const f=g.getParser();n(p=>{const x=[...p],I=x.map(E=>E.botData.id),j=[];for(const E of f.items.values())I.indexOf(E.id)===-1&&j.push(E);for(const E of I){let C=!0;for(const _ of f.items.values())if(_.id===E){C=!1;break}if(!C)continue;const b=x.findIndex(_=>_.botData.id===E),S=x[b];b===-1||!S||(ma()===S.botData.id&&(ti(),Z("inventory/open")),x.splice(b,1))}for(const E of j){const C={botData:E};h(at.BOT,E.id)?x.unshift(C):x.push(C)}return x})}),U(Ep,g=>{const f=g.getParser();n(p=>{const x=[...p];if(x.findIndex(C=>C.botD
`+d("catalog.marketplace.confirm_price",["price"],[j.newPrice.toString()]),()=>{D(new gu(j.offerId))},null,null,null,d("catalog.marketplace.confirm_higher_title"));break;case 4:u(d("catalog.alert.notenough.credits.description"),je.DEFAULT,null,null,d("catalog.alert.notenough.title"));break}}),e.jsxs(e.Fragment,{children:[e.jsxs(En,{children:[e.jsx(L,{active:t===Yt.BY_ACTIVITY,onClick:()=>s(Yt.BY_ACTIVITY),children:d("catalog.marketplace.search_by_activity")}),e.jsx(L,{active:t===Yt.BY_VALUE,onClick:()=>s(Yt.BY_VALUE),children:d("catalog.marketplace.search_by_value")}),e.jsx(L,{active:t===Yt.ADVANCED,onClick:()=>s(Yt.ADVANCED),children:d("catalog.marketplace.search_advanced")})]}),e.jsx(ew,{sortTypes:p,searchType:t,onSearch:f}),e.jsxs(N,{gap:1,overflow:"hidden",children:[e.jsx(v,{truncate:!0,shrink:!0,fontWeight:"bold",children:d("catalog.marketplace.items_found",["count"],[a.size.toString()])}),e.jsx(N,{className:"nitro-catalog-layout-marketplace-grid",overflow:"auto",children:Array.from(a.values()).map((I,j)=>e.jsx(Gh,{offerData:I,type:eo,onClick:x},j))})]})]})},aw=o=>{const{page:t=null}=o,[s,n]=i.useState(-1),[r,a]=i.useState([]),[l,c]=i.useState(-1),[m,h]=i.useState([]),[u,g]=i.useState(-1),[f,p]=i.useState(!1),[x,I]=i.useState(""),[j,E]=i.useState(!0),[C,b]=i.useState(-1),{currentOffer:S=null,setCurrentOffer:_=null,setPurchaseOptions:T=null,catalogOptions:P=null,roomPreviewer:k=null}=Le(),{petPalettes:R=null}=P,y=i.useMemo(()=>!m.length||u===-1?16777215:m[u][0],[m,u]),O=i.useMemo(()=>s===-1||!r.length||l===-1?"":d(`pet.breed.${s}.${r[l].breedId}`),[s,r,l]),F=i.useMemo(()=>{if(!r.length||l===-1)return"";const q=r[l].paletteId;let M=16777215;if(s<=7){if(u===-1)return"";M=m[u][0]}let X=M.toString(16).toUpperCase();for(;X.length<6;)X="0"+X;return`${q}
${X}`},[r,l,s,m,u]),V=i.useMemo(()=>{let q="";switch(C){case 1:q="catalog.alert.petname.long";break;case 2:q="catalog.alert.petname.short";break;case 3:q="catalog.alert.petname.chars";break;case 4:q="catalog.alert.petname.bobba";break}return!q||!q.length?"":d(q)},[C]),Y=i.useCallback(()=>{if(C===-1){D(new oI(x,1));return}if(C===0){D(new zo(t.pageId,S.offerId,`${x}
${F}`,1));return}},[t,S,x,F,C]);return U(lI,q=>{const M=q.getParser();b(M.result),M.result===0?Y():Nt(new cr(-1))}),i.useEffect(()=>{if(!t||!t.offers.length)return;const q=t.offers[0];_(q),n(wC(q.localizationId)),p(!1)},[t,_]),i.useEffect(()=>{if(!S)return;const q=S.product.productData;if(q){if(R)for(const M of R){if(M.breed!==q.type)continue;const X=[];for(const he of M.palettes)he.sellable&&X.push(he);c(X.length?0:-1),a(X);return}c(-1),a([]),D(new cI(q.type))}},[S,R]),i.useEffect(()=>{if(s===-1)return;const q=TC(s,r);g(q.length?0:-1),h(q)},[s,r]),i.useEffect(()=>{if(!k||(k.reset(!1),s===-1||!r.length||l===-1))return;let q=`${s} ${r[l].paletteId}`;s<=7&&(q+=` ${y.toString(16)}`),k.addPetIntoRoom(q)},[k,s,r,l,y]),i.useEffect(()=>{b(-1)},[x]),S?e.jsxs(ne,{children:[e.jsx(N,{size:7,overflow:"hidden",children:e.jsxs(Pe,{columnCount:5,children:[!f&&r.length>0&&r.map((q,M)=>e.jsx(_e,{itemActive:l===M,onClick:X=>c(M),children:e.jsx(jn,{typeId:s,paletteId:q.paletteId,direction:2,headOnly:!0})},M)),f&&m.length>0&&m.map((q,M)=>e.jsx(_e,{itemHighlight:!0,itemActive:u===M,itemColor:Ht.int2rgb(q[0]),className:"clear-bg",onClick:X=>g(M)},M))]})}),e.jsxs(N,{center:!S,size:5,overflow:"hidden",children:[!S&&e.jsxs(e.Fragment,{children:[!!t.localization.getImage(1)&&e.jsx("img",{alt:"",src:t.localization.getImage(1)}),e.jsx(v,{center:!0,dangerouslySetInnerHTML:{__html:t.localization.getText(0)}})]}),S&&e.jsxs(e.Fragment,{children:[e.jsxs(A,{position:"relative",overflow:"hidden",children:[e.jsx(mr,{}),e.jsx(ur,{position:"absolute",className:"bg-muted rounded bottom-1 end-1"}),s>-1&&s<=7&&e.jsx(L,{position:"absolute",className:"bottom-1 start-1",onClick:q=>p(!f),children:e.jsx(lm,{className:"fa-icon"})})]}),e.jsxs(N,{grow:!0,gap:1,children:[e.jsx(v,{truncate:!0,children:O}),e.jsxs(N,{grow:!0,gap:1,children:[e.jsx("input",{type:"text",className:"form-control form-control-sm w-100",placeholder:d("widgets.petpackage.name.title"),value:x,onChange:q=>I(q.target.value)}),C>0&&e.jsx(A,{className:"invalid-feedback d-block m-0",children:V})]}),e.jsx(w,{justifyContent:"end",children:e.jsx($n,{justifyContent:"end",alignItems:"end"})}),e.jsx(nn,{purchaseCallback:Y})]})]})]})]}):null},iw=o=>{const{offer:t=null,isAvailable:s=!1,daysRequired:n=0,onSelect:r=null}=o,a=i.useCallback(()=>{if(!t||!t.products.length)return"";const c=t.products[0];return Zi.getProductImageUrl(c.productType,c.furniClassId,c.extraParam)},[t]),l=i.useCallback(()=>{if(!t||!t.products.length)return"";const c=t.products[0],m=Zi.getProductCategory(c.productType,c.furniClassId)===2?"wallItem.name."+c.furniClassId:"roomItem.name."+c.furniClassId;return d(m)},[t]);return i.useCallback(()=>{if(!t||!t.products.length)return"";const c=t.products[0],m=Zi.getProductCategory(c.productType,c.furniClassId)===2?"wallItem.desc."+c.furniClassId:"roomItem.desc."+c.furniClassId;return d(m)},[t]),i.useCallback(()=>Math.floor(n/31),[n]),e.jsxs(_e,{center:!1,column:!1,alignItems:"center",className:"p-1",children:[e.jsx(Tn,{imageUrl:a()}),e.jsx(v,{grow:!0,fontWeight:"bold",children:l()}),e.jsx(L,{variant:"secondary",onClick:()=>r(t.localizationId),disabled:!s,children:d("catalog.club_gift.select")})]})},ow=o=>{const{purse:t=null}=Fr(),{catalogOptions:s=null,setCatalogOptions:n=null}=Le(),{clubGifts:r=null}=s,{showConfirm:a=null}=Fe(),l=i.useCallback(()=>r?r.giftsAvailable>0?d("catalog.club_gift.available",["amount"],[r.giftsAvailable.toString()]):r.daysUntilNextGift>0?d("catalog.club_gift.days_until_next",["days"],[r.daysUntilNextGift.toString()]):t.isVip?d("catalog.club_gift.not_available"):d("catalog.club_gift.no_club"):"",[r,t]),c=i.useCallback(h=>{a(d("catalog.club_gift.confirm"),()=>{D(new uI(h)),n(u=>(u.clubGifts.giftsAvailable--,{...u}))},null)},[n,a]),m=i.useMemo(()=>r.offers.sort((u,g)=>r.getOfferExtraData(u.offerId).daysRequired-r.getOfferExtraData(g.offerId).daysRequired),[r]);return e.jsxs(e.Fragment,{children:[e.jsx(v,{truncate:!0,shrink:!0,fontWeight:"bold",children:l()}),e.jsx(Pe,{columnCount:1,className:"nitro-catalog-layout-vip-gifts-grid",children:r.offers.length>0&&m.map(h=>e.jsx(iw,{
`).toLowerCase(),jw=o=>{const{onCloseClick:t=null}=o,[s,n]=i.useState(""),{originalFloorplanSettings:r=null}=zc(),a=()=>{D(new Lm(s.split(`
`).join("\r"),r.entryPoint[0],r.entryPoint[1],r.entryPointDir,bo(r.thicknessWall),bo(r.thicknessFloor),r.wallHeight-1))};return Hc(()=>{n(hd(r.tilemap))}),e.jsxs(ae,{theme:"primary-slim",className:"floorplan-import-export",children:[e.jsx(re,{headerText:d("floor.plan.editor.import.export"),onCloseClick:t}),e.jsxs(se,{children:[e.jsx("textarea",{className:"h-100",value:s,onChange:l=>n(l.target.value)}),e.jsxs(w,{justifyContent:"between",children:[e.jsx(L,{onClick:l=>n(hd(r.tilemap)),children:d("floor.plan.editor.revert.to.last.received.map")}),e.jsx(L,{onClick:a,children:d("floor.plan.editor.save")})]})]})]})},gd=0,Hi=16,Iw=0,bw=26,Ew=o=>{const{visualizationSettings:t=null,setVisualizationSettings:s=null}=zc(),[n,r]=i.useState(ct.SET),[a,l]=i.useState(0),[c,m]=i.useState($e.instance.squareSelectMode);i.useEffect(()=>{m($e.instance.squareSelectMode)},[]);const h=C=>{r(C),$e.instance.actionSettings.currentAction=C},u=()=>{const C=!$e.instance.squareSelectMode;$e.instance.setSquareSelectMode(C),m(C)},g=()=>{s(C=>{const b={...C};return b.entryPointDir<7?++b.entryPointDir:b.entryPointDir=0,b})},f=C=>{(isNaN(C)||C<=0)&&(C=0),C>26&&(C=26),l(C),$e.instance.actionSettings.currentHeight=C.toString(36)},p=C=>{s(b=>{const S={...b};return S.thicknessFloor=C,S})},x=C=>{s(b=>{const S={...b};return S.thicknessWall=C,S})},I=C=>{(isNaN(C)||C<=0)&&(C=gd),C>Hi&&(C=Hi),s(b=>{const S={...b};return S.wallHeight=C,S})},j=()=>{let C=t.wallHeight+1;C>Hi&&(C=Hi),I(C)},E=()=>{let C=t.wallHeight-1;C<=0&&(C=gd),I(C)};return e.jsxs(N,{children:[e.jsxs(w,{gap:1,children:[e.jsxs(N,{size:5,gap:1,children:[e.jsx(v,{bold:!0,children:d("floor.plan.editor.draw.mode")}),e.jsxs(w,{gap:3,children:[e.jsxs(w,{gap:1,children:[e.jsx(_e,{itemActive:n===ct.SET,onClick:C=>h(ct.SET),children:e.jsx("i",{className:"icon icon-set-tile"})}),e.jsx(_e,{itemActive:n===ct.UNSET,onClick:C=>h(ct.UNSET),children:e.jsx("i",{className:"icon icon-unset-tile"})})]}),e.jsxs(w,{gap:1,children:[e.jsx(_e,{itemActive:n===ct.UP,onClick:C=>h(ct.UP),children:e.jsx("i",{className:"icon icon-increase-height"})}),e.jsx(_e,{itemActive:n===ct.DOWN,onClick:C=>h(ct.DOWN),children:e.jsx("i",{className:"icon icon-decrease-height"})}),e.jsx(_e,{itemActive:n===ct.DOOR,onClick:C=>h(ct.DOOR),children:e.jsx("i",{className:"icon icon-set-door"})}),e.jsx(_e,{onClick:C=>$e.instance.toggleSelectAll(),children:e.jsx("i",{className:`icon ${n===ct.UNSET?"icon-set-deselect":"icon-set-select"}`})}),e.jsx(_e,{itemActive:c,onClick:u,children:e.jsx("i",{className:`icon ${c?"icon-set-active-squaresselect":"icon-set-squaresselect"}`})})]})]})]}),e.jsxs(N,{alignItems:"center",size:4,children:[e.jsx(v,{bold:!0,children:d("floor.plan.editor.enter.direction")}),e.jsx("i",{className:`icon icon-door-direction-${t.entryPointDir} cursor-pointer`,onClick:g})]}),e.jsxs(N,{size:3,children:[e.jsx(v,{bold:!0,children:d("floor.editor.wall.height")}),e.jsxs(w,{alignItems:"center",gap:1,children:[e.jsx(xc,{className:"cursor-pointer fa-icon",onClick:E}),e.jsx("input",{type:"number",className:"form-control form-control-sm quantity-input",value:t.wallHeight,onChange:C=>I(C.target.valueAsNumber)}),e.jsx(jc,{className:"cursor-pointer fa-icon",onClick:j})]})]})]}),e.jsxs(w,{gap:1,children:[e.jsxs(N,{size:6,children:[e.jsxs(v,{bold:!0,children:[d("floor.plan.editor.tile.height"),": ",a]}),e.jsx(Mt,{min:Iw,max:bw,step:1,value:a,onChange:C=>f(C),renderThumb:({style:C,key:b,...S},_)=>e.jsx("div",{style:{backgroundColor:`#${hw[_.valueNow.toString(33)]}`,...C},...S,children:_.valueNow},b)})]}),e.jsxs(N,{size:6,children:[e.jsx(v,{bold:!0,children:d("floor.plan.editor.room.options")}),e.jsxs(w,{className:"align-items-center",children:[e.jsxs("select",{className:"form-control form-control-sm",value:t.thicknessWall,onChange:C=>x(parseInt(C.target.value)),children:[e.jsx("option",{value:0,children:d("navigator.roomsettings.wall_thickness.thinnest")}),e.jsx("option",{value:1,children:d("navigator.roomsettings.wall_thickness.thin")}),e.jsx("option",{value:2,children:d("navigator.roomsettings.wall_thickness.normal")}),e.jsx("option",{value:3,children:d("