@car-cutter/react-webplayer 3.2.5 → 3.2.6
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/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./shared-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./shared-Cc5318Ea.cjs");require("react/jsx-runtime");const g=require("react"),V=require("react-dom/client");var D=Object.defineProperty,v=(e,t,r)=>t in e?D(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,m=(e,t,r)=>v(e,typeof t!="symbol"?t+"":t,r);const w={stringify:e=>e?"true":"false",parse:e=>/^[ty1-9]/i.test(e)},M={stringify:e=>e.name,parse:(e,t,r)=>{const o=(()=>{if(typeof window<"u"&&e in window)return window[e];if(typeof global<"u"&&e in global)return global[e]})();return typeof o=="function"?o.bind(r):void 0}},Y={stringify:e=>JSON.stringify(e),parse:e=>JSON.parse(e)};function G(e){return e.replace(/([a-z0-9])([A-Z])/g,(t,r,o)=>`${r}-${o.toLowerCase()}`)}function R(e){return e.replace(/[-:]([a-z])/g,(t,r)=>`${r.toUpperCase()}`)}const F={stringify:e=>e.name,parse:(e,t,r)=>{const o=(()=>{const _=R(t);if(typeof r<"u"&&_ in r.container)return r.container[_]})();return typeof o=="function"?o.bind(r):void 0}},j={stringify:e=>`${e}`,parse:e=>parseFloat(e)},k={stringify:e=>e,parse:e=>e},C={string:k,number:j,boolean:w,function:M,method:F,json:Y},O=Symbol.for("r2wc.render"),N=Symbol.for("r2wc.connected"),T=Symbol.for("r2wc.context"),a=Symbol.for("r2wc.props");function x(e,t,r){var o,_,d;t.props||(t.props=e.propTypes?Object.keys(e.propTypes):[]),t.events||(t.events=[]);const f=Array.isArray(t.props)?t.props.slice():Object.keys(t.props),I=Array.isArray(t.events)?t.events.slice():Object.keys(t.events),b={},S={},h={},A={};for(const s of f){b[s]=Array.isArray(t.props)?"string":t.props[s];const i=G(s);h[s]=i,A[i]=s}for(const s of I)S[s]=Array.isArray(t.events)?{}:t.events[s];class P extends HTMLElement{constructor(){super(),m(this,d,!0),m(this,_),m(this,o,{}),m(this,"container"),t.shadow?this.container=this.attachShadow({mode:t.shadow}):this.container=this,this[a].container=this.container;for(const i of f){const l=h[i],c=this.getAttribute(l),E=b[i],u=E?C[E]:null;if(E==="method"){const p=R(l);Object.defineProperty(this[a].container,p,{enumerable:!0,configurable:!0,get(){return this[a][p]},set(W){this[a][p]=W,this[O]()}}),this[a][i]=u.parse(c,l,this)}u!=null&&u.parse&&c&&(this[a][i]=u.parse(c,l,this))}for(const i of I)this[a][i]=l=>{const c=i.replace(/^on/,"").toLowerCase();this.dispatchEvent(new CustomEvent(c,{detail:l,...S[i]}))}}static get observedAttributes(){return Object.keys(A)}connectedCallback(){this[N]=!0,this[O]()}disconnectedCallback(){this[N]=!1,this[T]&&r.unmount(this[T]),delete this[T]}attributeChangedCallback(i,l,c){const E=A[i],u=b[E],p=u?C[u]:null;E in b&&p!=null&&p.parse&&c&&(this[a][E]=p.parse(c,i,this),this[O]())}[(d=N,_=T,o=a,O)](){this[N]&&(this[T]?r.update(this[T],this[a]):this[T]=r.mount(this.container,e,this[a]))}}for(const s of f){const i=h[s],l=b[s];Object.defineProperty(P.prototype,s,{enumerable:!0,configurable:!0,get(){return this[a][s]},set(c){this[a][s]=c;const E=l?C[l]:null;if(E!=null&&E.stringify){const u=E.stringify(c,i,this);this.getAttribute(i)!==u&&this.setAttribute(i,u)}else this[O]()}})}return P}const y=new Map;function B(e,t,r){const o=y.get(e);if(o){o.tid!==null&&clearTimeout(o.tid),o.tid=null;const f=g.createElement(t,r);return o.root.render(f),{root:o.root,ReactComponent:t}}const _=V.createRoot(e);y.set(e,{root:_,tid:null});const d=g.createElement(t,r);return _.render(d),{root:_,ReactComponent:t}}function $({root:e,ReactComponent:t},r){const o=g.createElement(t,r);e.render(o)}function H({root:e}){for(const[t,r]of y)if(r.root===e){r.tid=setTimeout(()=>{y.delete(t),e.unmount()},0);return}setTimeout(()=>{e.unmount()},0)}function L(e,t={}){return x(e,t,{mount:B,update:$,unmount:H})}const U=L(n.WebPlayerWithInjectedStyles,{shadow:"closed",props:{compositionUrl:"string",hideCategoriesNav:"boolean",infiniteCarrousel:"boolean",permanentGallery:"boolean",integration:"boolean",maxItemsShown:"number",themeConfig:"string",minMediaWidth:"number",maxMediaWidth:"number",mediaLoadStrategy:"string",preloadRange:"number",autoLoad360:"boolean",autoLoadInterior360:"boolean",categoriesFilter:"string",extendBehavior:"string",eventPrefix:"string",demoSpin:"boolean",reverse360:"boolean",spinCursor:"string",analyticsEventPrefix:"string",analyticsUrl:"string",analyticsBearer:"string",analyticsSimpleRequestsOnly:"boolean",analyticsDryRun:"boolean",analyticsDebug:"boolean",monitoring:"boolean"}}),X=L(n.WebPlayerCustomMedia,{shadow:"closed",props:{index:"number",thumbnailSrc:"string"}}),q=L(n.WebPlayerIcon,{shadow:"closed",props:{name:"string"}});function z(){customElements.define(n.WEB_PLAYER_WC_TAG,U),customElements.define(n.WEB_PLAYER_CUSTOM_MEDIA_WC_TAG,X),customElements.define(n.WEB_PLAYER_ICON_WC_TAG,q)}function J(){n.checkCustomElementsDefinition()||z()}J();exports.ANALYTICS_EVENT_DISPLAY=n.ANALYTICS_EVENT_DISPLAY;exports.ANALYTICS_EVENT_ERROR=n.ANALYTICS_EVENT_ERROR;exports.ANALYTICS_EVENT_INTERACTION=n.ANALYTICS_EVENT_INTERACTION;exports.ANALYTICS_EVENT_LOAD=n.ANALYTICS_EVENT_LOAD;exports.DEFAULT_EVENT_PREFIX=n.DEFAULT_EVENT_PREFIX;exports.EVENT_COMPOSITION_LOADED=n.EVENT_COMPOSITION_LOADED;exports.EVENT_COMPOSITION_LOADING=n.EVENT_COMPOSITION_LOADING;exports.EVENT_COMPOSITION_LOAD_ERROR=n.EVENT_COMPOSITION_LOAD_ERROR;exports.EVENT_EXTEND_MODE_OFF=n.EVENT_EXTEND_MODE_OFF;exports.EVENT_EXTEND_MODE_ON=n.EVENT_EXTEND_MODE_ON;exports.EVENT_GALLERY_CLOSE=n.EVENT_GALLERY_CLOSE;exports.EVENT_GALLERY_OPEN=n.EVENT_GALLERY_OPEN;exports.EVENT_HOTSPOTS_OFF=n.EVENT_HOTSPOTS_OFF;exports.EVENT_HOTSPOTS_ON=n.EVENT_HOTSPOTS_ON;exports.EVENT_ITEM_CHANGE=n.EVENT_ITEM_CHANGE;exports.WEB_PLAYER_ICON_WC_TAG=n.WEB_PLAYER_ICON_WC_TAG;exports.WEB_PLAYER_WC_TAG=n.WEB_PLAYER_WC_TAG;exports.WebPlayer=n.WebPlayer;exports.WebPlayerCustomMedia=n.WebPlayerCustomMedia$1;exports.WebPlayerIcon=n.WebPlayerIcon$1;exports.generateCompositionUrl=n.generateCompositionUrl;
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { W as w, a as W, b as R, c as D, d as V, e as M, f as j } from "./shared-
|
|
2
|
-
import { A as le, g as ue, h as pe, i as fe, D as me, E as Ee, j as be, k as de, l as he, m as ye, n as ge, o as _e, p as Ce, q as Oe, r as Te, s as Ae, t as Ne, u as Se, v as Le } from "./shared-
|
|
1
|
+
import { W as w, a as W, b as R, c as D, d as V, e as M, f as j } from "./shared-Btvm9H9X.js";
|
|
2
|
+
import { A as le, g as ue, h as pe, i as fe, D as me, E as Ee, j as be, k as de, l as he, m as ye, n as ge, o as _e, p as Ce, q as Oe, r as Te, s as Ae, t as Ne, u as Se, v as Le } from "./shared-Btvm9H9X.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import A from "react";
|
|
5
5
|
import { createRoot as x } from "react-dom/client";
|
package/dist/legacy.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./shared-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./shared-Cc5318Ea.cjs");require("react/jsx-runtime");const P=require("react"),m=require("react-dom");var V=Object.defineProperty,D=(e,t,r)=>t in e?V(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,f=(e,t,r)=>D(e,typeof t!="symbol"?t+"":t,r);const v={stringify:e=>e?"true":"false",parse:e=>/^[ty1-9]/i.test(e)},M={stringify:e=>e.name,parse:(e,t,r)=>{const s=(()=>{if(typeof window<"u"&&e in window)return window[e];if(typeof global<"u"&&e in global)return global[e]})();return typeof s=="function"?s.bind(r):void 0}},w={stringify:e=>JSON.stringify(e),parse:e=>JSON.parse(e)};function Y(e){return e.replace(/([a-z0-9])([A-Z])/g,(t,r,s)=>`${r}-${s.toLowerCase()}`)}function R(e){return e.replace(/[-:]([a-z])/g,(t,r)=>`${r.toUpperCase()}`)}const G={stringify:e=>e.name,parse:(e,t,r)=>{const s=(()=>{const T=R(t);if(typeof r<"u"&&T in r.container)return r.container[T]})();return typeof s=="function"?s.bind(r):void 0}},F={stringify:e=>`${e}`,parse:e=>parseFloat(e)},j={stringify:e=>e,parse:e=>e},d={string:j,number:F,boolean:v,function:M,method:G,json:w},b=Symbol.for("r2wc.render"),N=Symbol.for("r2wc.connected"),p=Symbol.for("r2wc.context"),a=Symbol.for("r2wc.props");function k(e,t,r){var s,T,g;t.props||(t.props=e.propTypes?Object.keys(e.propTypes):[]),t.events||(t.events=[]);const y=Array.isArray(t.props)?t.props.slice():Object.keys(t.props),L=Array.isArray(t.events)?t.events.slice():Object.keys(t.events),O={},I={},A={},h={};for(const i of y){O[i]=Array.isArray(t.props)?"string":t.props[i];const o=Y(i);A[i]=o,h[o]=i}for(const i of L)I[i]=Array.isArray(t.events)?{}:t.events[i];class S extends HTMLElement{constructor(){super(),f(this,g,!0),f(this,T),f(this,s,{}),f(this,"container"),t.shadow?this.container=this.attachShadow({mode:t.shadow}):this.container=this,this[a].container=this.container;for(const o of y){const l=A[o],E=this.getAttribute(l),c=O[o],u=c?d[c]:null;if(c==="method"){const _=R(l);Object.defineProperty(this[a].container,_,{enumerable:!0,configurable:!0,get(){return this[a][_]},set(W){this[a][_]=W,this[b]()}}),this[a][o]=u.parse(E,l,this)}u!=null&&u.parse&&E&&(this[a][o]=u.parse(E,l,this))}for(const o of L)this[a][o]=l=>{const E=o.replace(/^on/,"").toLowerCase();this.dispatchEvent(new CustomEvent(E,{detail:l,...I[o]}))}}static get observedAttributes(){return Object.keys(h)}connectedCallback(){this[N]=!0,this[b]()}disconnectedCallback(){this[N]=!1,this[p]&&r.unmount(this[p]),delete this[p]}attributeChangedCallback(o,l,E){const c=h[o],u=O[c],_=u?d[u]:null;c in O&&_!=null&&_.parse&&E&&(this[a][c]=_.parse(E,o,this),this[b]())}[(g=N,T=p,s=a,b)](){this[N]&&(this[p]?r.update(this[p],this[a]):this[p]=r.mount(this.container,e,this[a]))}}for(const i of y){const o=A[i],l=O[i];Object.defineProperty(S.prototype,i,{enumerable:!0,configurable:!0,get(){return this[a][i]},set(E){this[a][i]=E;const c=l?d[l]:null;if(c!=null&&c.stringify){const u=c.stringify(E,o,this);this.getAttribute(o)!==u&&this.setAttribute(o,u)}else this[b]()}})}return S}function B(e,t,r){const s=P.createElement(t,r);return m.render(s,e),{container:e,ReactComponent:t}}function $({container:e,ReactComponent:t},r){const s=P.createElement(t,r);m.render(s,e)}function x({container:e}){m.unmountComponentAtNode(e)}function C(e,t={}){return k(e,t,{mount:B,update:$,unmount:x})}const U=C(n.WebPlayerWithInjectedStyles,{shadow:"closed",props:{compositionUrl:"string",hideCategoriesNav:"boolean",infiniteCarrousel:"boolean",permanentGallery:"boolean",themeConfig:"string",minMediaWidth:"number",maxMediaWidth:"number",mediaLoadStrategy:"string",preloadRange:"number",autoLoad360:"boolean",autoLoadInterior360:"boolean",categoriesFilter:"string",extendBehavior:"string",eventPrefix:"string",demoSpin:"boolean",reverse360:"boolean",spinCursor:"string",analyticsEventPrefix:"string",analyticsUrl:"string",analyticsBearer:"string",analyticsSimpleRequestsOnly:"boolean",analyticsDryRun:"boolean",analyticsDebug:"boolean",monitoring:"boolean"}}),H=C(n.WebPlayerCustomMedia,{shadow:"closed",props:{index:"number",thumbnailSrc:"string"}}),X=C(n.WebPlayerIcon,{shadow:"closed",props:{name:"string"}});function q(){customElements.define(n.WEB_PLAYER_WC_TAG,U),customElements.define(n.WEB_PLAYER_CUSTOM_MEDIA_WC_TAG,H),customElements.define(n.WEB_PLAYER_ICON_WC_TAG,X)}function z(){n.checkCustomElementsDefinition()||q()}z();exports.ANALYTICS_EVENT_DISPLAY=n.ANALYTICS_EVENT_DISPLAY;exports.ANALYTICS_EVENT_ERROR=n.ANALYTICS_EVENT_ERROR;exports.ANALYTICS_EVENT_INTERACTION=n.ANALYTICS_EVENT_INTERACTION;exports.ANALYTICS_EVENT_LOAD=n.ANALYTICS_EVENT_LOAD;exports.DEFAULT_EVENT_PREFIX=n.DEFAULT_EVENT_PREFIX;exports.EVENT_COMPOSITION_LOADED=n.EVENT_COMPOSITION_LOADED;exports.EVENT_COMPOSITION_LOADING=n.EVENT_COMPOSITION_LOADING;exports.EVENT_COMPOSITION_LOAD_ERROR=n.EVENT_COMPOSITION_LOAD_ERROR;exports.EVENT_EXTEND_MODE_OFF=n.EVENT_EXTEND_MODE_OFF;exports.EVENT_EXTEND_MODE_ON=n.EVENT_EXTEND_MODE_ON;exports.EVENT_GALLERY_CLOSE=n.EVENT_GALLERY_CLOSE;exports.EVENT_GALLERY_OPEN=n.EVENT_GALLERY_OPEN;exports.EVENT_HOTSPOTS_OFF=n.EVENT_HOTSPOTS_OFF;exports.EVENT_HOTSPOTS_ON=n.EVENT_HOTSPOTS_ON;exports.EVENT_ITEM_CHANGE=n.EVENT_ITEM_CHANGE;exports.WEB_PLAYER_ICON_WC_TAG=n.WEB_PLAYER_ICON_WC_TAG;exports.WEB_PLAYER_WC_TAG=n.WEB_PLAYER_WC_TAG;exports.WebPlayer=n.WebPlayer;exports.WebPlayerCustomMedia=n.WebPlayerCustomMedia$1;exports.WebPlayerIcon=n.WebPlayerIcon$1;exports.generateCompositionUrl=n.generateCompositionUrl;
|
package/dist/legacy.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { W, a as w, b as R, c as D, d as V, e as M, f as j } from "./shared-
|
|
2
|
-
import { A as ce, g as le, h as ue, i as pe, D as fe, E as me, j as Ee, k as be, l as he, m as de, n as ye, o as ge, p as _e, q as Ae, r as Ce, s as Oe, t as Te, u as Ne, v as Se } from "./shared-
|
|
1
|
+
import { W, a as w, b as R, c as D, d as V, e as M, f as j } from "./shared-Btvm9H9X.js";
|
|
2
|
+
import { A as ce, g as le, h as ue, i as pe, D as fe, E as me, j as Ee, k as be, l as he, m as de, n as ye, o as ge, p as _e, q as Ae, r as Ce, s as Oe, t as Te, u as Ne, v as Se } from "./shared-Btvm9H9X.js";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import P from "react";
|
|
5
5
|
import C from "react-dom";
|
|
@@ -5534,10 +5534,10 @@ const No = ({
|
|
|
5534
5534
|
]), v ? /* @__PURE__ */ a(
|
|
5535
5535
|
kt,
|
|
5536
5536
|
{
|
|
5537
|
-
className: "aspect-
|
|
5537
|
+
className: "aspect-[4/3] text-foreground/70",
|
|
5538
5538
|
text: "Player could not be loaded"
|
|
5539
5539
|
}
|
|
5540
|
-
) : c ? /* @__PURE__ */ a(xn, { composition: p, children: /* @__PURE__ */ a(bn, { children: /* @__PURE__ */ a(Zo, {}) }) }) : /* @__PURE__ */ fe("div", { className: "flex aspect-
|
|
5540
|
+
) : c ? /* @__PURE__ */ a(xn, { composition: p, children: /* @__PURE__ */ a(bn, { children: /* @__PURE__ */ a(Zo, {}) }) }) : /* @__PURE__ */ fe("div", { className: "flex aspect-[4/3] size-full flex-col items-center justify-center gap-y-4", children: [
|
|
5541
5541
|
/* @__PURE__ */ a("div", { className: "animate-pulse text-xl", children: "Loading Player" }),
|
|
5542
5542
|
/* @__PURE__ */ a(br, { color: "foreground" })
|
|
5543
5543
|
] });
|
|
@@ -5646,10 +5646,7 @@ const No = ({
|
|
|
5646
5646
|
const d = await Promise.allSettled(l);
|
|
5647
5647
|
if (S)
|
|
5648
5648
|
for (const K of d)
|
|
5649
|
-
K.status === "rejected" && console.error(
|
|
5650
|
-
"Analytics request failed:",
|
|
5651
|
-
K.reason
|
|
5652
|
-
);
|
|
5649
|
+
K.status === "rejected" && console.error("Analytics request failed:", K.reason);
|
|
5653
5650
|
}
|
|
5654
5651
|
} catch (_) {
|
|
5655
5652
|
if (!S) return;
|
|
@@ -5773,7 +5770,7 @@ const No = ({
|
|
|
5773
5770
|
"div",
|
|
5774
5771
|
{
|
|
5775
5772
|
ref: z,
|
|
5776
|
-
className: "select-none text-foreground",
|
|
5773
|
+
className: "size-full select-none text-foreground",
|
|
5777
5774
|
style: {
|
|
5778
5775
|
"--background": "var(--cc-webplayer-background, 0 0% 100%)",
|
|
5779
5776
|
"--details-background": "var(--cc-webplayer-details-background, 216 47% 11%)",
|
|
@@ -5821,7 +5818,7 @@ const No = ({
|
|
|
5821
5818
|
p(t);
|
|
5822
5819
|
};
|
|
5823
5820
|
}, [o, t, i, p]), null;
|
|
5824
|
-
}, v2 = (t) => Ft() ? /* @__PURE__ */ a(i2, { ...t }) : /* @__PURE__ */ a("slot", {}), s2 = `*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\\!container{width:100%!important}.container{width:100%}@media(min-width:1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.\\!pointer-events-none{pointer-events:none!important}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.\\!absolute{position:absolute!important}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{left:0;right:0}.inset-x-1{left:4px;right:4px}.inset-y-1{top:4px;bottom:4px}.-left-px{left:-1px}.-right-px{right:-1px}.bottom-0{bottom:0}.bottom-1{bottom:4px}.left-0{left:0}.left-1{left:4px}.left-1\\/2{left:50%}.left-\\[-5px\\]{left:-5px}.right-0{right:0}.right-1{right:4px}.right-2{right:8px}.right-\\[-5px\\]{right:-5px}.top-0{top:0}.top-1{top:4px}.top-1\\/2{top:50%}.top-2{top:8px}.top-px{top:1px}.-z-10{z-index:-10}.-z-20{z-index:-20}.z-1{z-index:1}.z-10,.z-hotspot{z-index:10}.z-overlay{z-index:30}.z-zoomed-image{z-index:20}.col-start-3{grid-column-start:3}.mx-1{margin-left:4px;margin-right:4px}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:8px;margin-bottom:8px}.-ml-px{margin-left:-1px}.-mt-px{margin-top:-1px}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.aspect-\\[4\\/3\\]{aspect-ratio:4/3}.aspect-square{aspect-ratio:1 / 1}.aspect-video{aspect-ratio:16 / 9}.size-1{width:4px;height:4px}.size-12{width:48px;height:48px}.size-20{width:80px;height:80px}.size-4{width:16px;height:16px}.size-5{width:20px;height:20px}.size-7{width:28px;height:28px}.size-8{width:32px;height:32px}.size-full{width:100%;height:100%}.h-1{height:4px}.h-10{height:40px}.h-20{height:80px}.h-3\\/4{height:75%}.h-5{height:20px}.h-8{height:32px}.h-\\[15\\%\\]{height:15%}.h-\\[85\\%\\]{height:85%}.h-full{height:100%}.h-px{height:1px}.max-h-\\[50\\%\\]{max-height:50%}.min-h-0{min-height:0}.min-h-\\[15\\%\\]{min-height:15%}.w-12{width:48px}.w-3\\/5{width:60%}.w-8{width:32px}.w-\\[calc\\(100\\%\\+1024px\\)\\]{width:calc(100% + 1024px)}.w-\\[calc\\(100\\%\\+2px\\)\\]{width:calc(100% + 2px)}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-px{width:1px}.min-w-0{min-width:0}.max-w-60{max-width:240px}.max-w-\\[1600px\\]{max-width:1600px}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.origin-top-left{transform-origin:top left}.-translate-x-1\\.5{--tw-translate-x: -6px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-1\\.5{--tw-translate-x: 6px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-105{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-scale-x-100{--tw-scale-x: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes hotspot-ping{0%{transform:scale(0)}25%{opacity:1}75%,to{transform:scale(1.5);opacity:0}}.animate-hotspot-ping{animation:hotspot-ping 3s cubic-bezier(0,0,.2,1) infinite}@keyframes pulse{50%{opacity:1}0%,to{opacity:0}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-rotation{animation:rotation 1s linear infinite}.cursor-auto{cursor:auto}.cursor-default{cursor:default}.cursor-grab{cursor:grab}.cursor-grabbing{cursor:grabbing}.cursor-move{cursor:move}.cursor-pointer{cursor:pointer}.resize{resize:both}.grid-cols-\\[auto\\,1fr\\,auto\\]{grid-template-columns:auto 1fr auto}.grid-cols-\\[repeat\\(var\\(--max-items\\)\\,1fr\\)\\]{grid-template-columns:repeat(var(--max-items),1fr)}.flex-col{flex-direction:column}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-1\\.5{gap:6px}.gap-4{gap:16px}.gap-x-1{-moz-column-gap:4px;column-gap:4px}.gap-x-2{-moz-column-gap:8px;column-gap:8px}.gap-x-4{-moz-column-gap:16px;column-gap:16px}.gap-y-1{row-gap:4px}.gap-y-2{row-gap:8px}.gap-y-4{row-gap:16px}.space-x-0\\.5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2px * var(--tw-space-x-reverse));margin-left:calc(2px * calc(1 - var(--tw-space-x-reverse)))}.space-y-0\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2px * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(4px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(4px * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(8px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(8px * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-scroll{overflow-x:scroll}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded-carrousel{border-radius:var(--radius-carrousel)}.rounded-full{border-radius:9999px}.rounded-gallery{border-radius:var(--radius-gallery)}.rounded-ui{border-radius:var(--radius-ui)}.rounded-ui-md{border-radius:calc(var(--radius-ui) + 2px)}.rounded-ui-sm{border-radius:calc(var(--radius-ui) - 2px)}.rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.rounded-t-full{border-top-left-radius:9999px;border-top-right-radius:9999px}.rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.rounded-bl-\\[10px\\]{border-bottom-left-radius:10px}.rounded-bl-\\[8px\\]{border-bottom-left-radius:8px}.rounded-bl-full{border-bottom-left-radius:9999px}.rounded-br-\\[10px\\]{border-bottom-right-radius:10px}.rounded-br-\\[8px\\]{border-bottom-right-radius:8px}.rounded-br-full{border-bottom-right-radius:9999px}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-4{border-width:4px}.border-background{border-color:hsl(var(--background))}.border-foreground{border-color:hsl(var(--foreground))}.border-primary{border-color:hsl(var(--primary))}.border-b-transparent{border-bottom-color:transparent}.bg-background{background-color:hsl(var(--background))}.bg-background\\/25{background-color:hsl(var(--background) / .25)}.bg-background\\/50{background-color:hsl(var(--background) / .5)}.bg-background\\/60{background-color:hsl(var(--background) / .6)}.bg-foreground{background-color:hsl(var(--foreground))}.bg-foreground\\/10{background-color:hsl(var(--foreground) / .1)}.bg-foreground\\/25{background-color:hsl(var(--foreground) / .25)}.bg-foreground\\/30{background-color:hsl(var(--foreground) / .3)}.bg-foreground\\/35{background-color:hsl(var(--foreground) / .35)}.bg-foreground\\/40{background-color:hsl(var(--foreground) / .4)}.bg-foreground\\/50{background-color:hsl(var(--foreground) / .5)}.bg-foreground\\/60{background-color:hsl(var(--foreground) / .6)}.bg-foreground\\/65{background-color:hsl(var(--foreground) / .65)}.bg-foreground\\/75{background-color:hsl(var(--foreground) / .75)}.bg-navy{background-color:hsl(var(--details-background))}.bg-neutral\\/50{background-color:hsl(var(--neutral) / .5)}.bg-primary{background-color:hsl(var(--primary))}.bg-primary-foreground{background-color:hsl(var(--primary-foreground))}.bg-primary\\/50{background-color:hsl(var(--primary) / .5)}.bg-transparent{background-color:transparent}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-foreground{--tw-gradient-from: hsl(var(--foreground)) var(--tw-gradient-from-position);--tw-gradient-to: hsl(var(--foreground) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-0\\.5{padding:2px}.p-1{padding:4px}.p-2{padding:8px}.p-4{padding:16px}.px-1\\.5{padding-left:6px;padding-right:6px}.px-2{padding-left:8px;padding-right:8px}.py-0\\.5{padding-top:2px;padding-bottom:2px}.py-1{padding-top:4px;padding-bottom:4px}.py-1\\.5{padding-top:6px;padding-bottom:6px}.pl-2\\.5{padding-left:10px}.pl-5{padding-left:20px}.pl-6{padding-left:24px}.pr-12{padding-right:48px}.pr-2\\.5{padding-right:10px}.pr-5{padding-right:20px}.pr-6{padding-right:24px}.pt-8{padding-top:32px}.text-2xl{font-size:24px;line-height:32px}.text-\\[clamp\\(0\\.625rem\\,0\\.4rem\\+1\\.5cqw\\,0\\.875rem\\)\\]{font-size:clamp(.625rem,.4rem + 1.5cqw,.875rem)}.text-\\[clamp\\(0\\.75rem\\,0\\.45rem\\+1\\.8cqw\\,1\\.125rem\\)\\]{font-size:clamp(.75rem,.45rem + 1.8cqw,1.125rem)}.text-\\[clamp\\(0\\.75rem\\,0\\.55rem\\+1\\.3cqw\\,0\\.875rem\\)\\]{font-size:clamp(.75rem,.55rem + 1.3cqw,.875rem)}.text-\\[clamp\\(0\\.875rem\\,0\\.6rem\\+1\\.6cqw\\,1\\.125rem\\)\\]{font-size:clamp(.875rem,.6rem + 1.6cqw,1.125rem)}.text-sm{font-size:14px;line-height:20px}.text-xl{font-size:20px;line-height:28px}.text-xs{font-size:12px;line-height:16px}.font-bold{font-weight:700}.font-normal{font-weight:400}.font-semibold{font-weight:600}.leading-tight{line-height:1.25}.text-background{color:hsl(var(--background))}.text-background\\/75{color:hsl(var(--background) / .75)}.text-foreground{color:hsl(var(--foreground))}.text-foreground\\/65{color:hsl(var(--foreground) / .65)}.text-foreground\\/70{color:hsl(var(--foreground) / .7)}.text-neutral-foreground{color:hsl(var(--neutral-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-white{color:hsl(var(--details-text))}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[opacity\\,transform\\]{transition-property:opacity,transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[width\\]{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-radius{transition-property:border-radius;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-details{transition-duration:.35s}.no-scrollbar{scrollbar-width:none;-ms-overflow-style:none}.no-scrollbar::-webkit-scrollbar{display:none}.\\[mask-image\\:linear-gradient\\(to_left\\,transparent_0px\\,black_4px\\,black_calc\\(100\\%-4px\\)\\,transparent_100\\%\\)\\]{-webkit-mask-image:linear-gradient(to left,transparent 0px,black 4px,black calc(100% - 4px),transparent 100%);mask-image:linear-gradient(to left,transparent 0px,black 4px,black calc(100% - 4px),transparent 100%)}.pnlm-load-button,.pnlm-load-box{display:none!important}.pnlm-container{background-image:none!important}.pnlm-about-msg{width:0;height:0;padding:0;visibility:hidden}.pnlm-about-msg a{display:none;visibility:hidden}.\\*\\:pointer-events-auto>*{pointer-events:auto}.\\*\\:size-full>*{width:100%;height:100%}.\\*\\:snap-start>*{scroll-snap-align:start}.\\*\\:snap-always>*{scroll-snap-stop:always}.\\*\\:object-cover>*{-o-object-fit:cover;object-fit:cover}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:inset-0:after{content:var(--tw-content);inset:0}.after\\:rounded-gallery:after{content:var(--tw-content);border-radius:var(--radius-gallery)}.after\\:border-2:after{content:var(--tw-content);border-width:2px}.after\\:border-primary:after{content:var(--tw-content);border-color:hsl(var(--primary))}.after\\:opacity-0:after{content:var(--tw-content);opacity:0}.after\\:opacity-100:after{content:var(--tw-content);opacity:1}.after\\:transition-all:after{content:var(--tw-content);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hover\\:z-hotspot-hover:hover{z-index:11}.hover\\:bg-foreground\\/25:hover{background-color:hsl(var(--foreground) / .25)}.hover\\:bg-primary\\/25:hover{background-color:hsl(var(--primary) / .25)}.hover\\:bg-primary\\/30:hover{background-color:hsl(var(--primary) / .3)}.hover\\:bg-transparent:hover{background-color:transparent}.hover\\:opacity-80:hover{opacity:.8}.hover\\:after\\:opacity-70:hover:after{content:var(--tw-content);opacity:.7}.disabled\\:opacity-60:disabled{opacity:.6}.group:hover .group-hover\\:pointer-events-auto{pointer-events:auto}.group:hover .group-hover\\:-translate-x-1{--tw-translate-x: -4px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\\:translate-x-1{--tw-translate-x: 4px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group\\/volume:hover .group-hover\\/volume\\:opacity-100{opacity:1}.group\\/volume:hover .group-hover\\/volume\\:opacity-50{opacity:.5}.group:hover .group-hover\\:opacity-100{opacity:1}@media((orientation:portrait)and (max-width:767px))or ((orientation:landscape)and (max-width:1023px)){.max-small\\:hidden{display:none}}@media((orientation:portrait)and (min-width:768px))or ((orientation:landscape)and (min-width:1024px)){.small\\:inset-x-2{left:8px;right:8px}.small\\:inset-y-2{top:8px;bottom:8px}.small\\:bottom-2{bottom:8px}.small\\:left-2{left:8px}.small\\:right-2{right:8px}.small\\:right-4{right:16px}.small\\:top-2{top:8px}.small\\:top-4{top:16px}.small\\:my-4{margin-top:16px;margin-bottom:16px}.small\\:hidden{display:none}.small\\:h-12{height:48px}.small\\:h-28{height:112px}.small\\:max-w-64{max-width:256px}.small\\:gap-2{gap:8px}.small\\:gap-x-2{-moz-column-gap:8px;column-gap:8px}.small\\:gap-y-2{row-gap:8px}.small\\:gap-y-4{row-gap:16px}.small\\:space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(4px * var(--tw-space-x-reverse));margin-left:calc(4px * calc(1 - var(--tw-space-x-reverse)))}.small\\:p-3{padding:12px}.small\\:px-2{padding-left:8px;padding-right:8px}.small\\:py-1{padding-top:4px;padding-bottom:4px}.small\\:pl-3{padding-left:12px}.small\\:pl-6{padding-left:24px}.small\\:pl-7{padding-left:28px}.small\\:pr-3{padding-right:12px}.small\\:pr-6{padding-right:24px}.small\\:pr-7{padding-right:28px}.small\\:text-sm{font-size:14px;line-height:20px}.small\\:font-bold{font-weight:700}}@media(min-width:1280px){.large\\:h-20{height:80px}.large\\:h-3\\/5{height:60%}.large\\:max-w-72{max-width:288px}.large\\:gap-4{gap:16px}.large\\:p-2{padding:8px}.large\\:p-4{padding:16px}.large\\:text-lg{font-size:18px;line-height:28px}.large\\:text-sm{font-size:14px;line-height:20px}}.\\[\\&_\\*\\]\\:size-4 *{width:16px;height:16px}.pnlm-container{margin:0;padding:0;overflow:hidden;position:relative;cursor:default;width:100%;height:100%;font-family:Helvetica,Nimbus Sans L,Liberation Sans,Arial,sans-serif;background:#f4f4f4 url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='67'%20height='100'%20viewBox='0%200%2067%20100'%3e%3cpath%20stroke='%23ccc'%20fill='none'%20d='M33.5,50,0,63,33.5,75,67,63,33.5,50m-33.5-50,67,25m-0.5,0,0,75m-66.5-75,67-25m-33.5,75,0,25m0-100,0,50'/%3e%3c/svg%3e") repeat;-webkit-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none;outline:0;line-height:1.4;contain:content;touch-action:none}.pnlm-container *{box-sizing:content-box}.pnlm-ui{position:absolute;width:100%;height:100%;z-index:1}.pnlm-grab{cursor:grab;cursor:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='26'%20width='26'%3e%3cpath%20stroke='%23000'%20stroke-width='1px'%20fill='%23fff'%20d='m15.3%2020.5s6.38-6.73%204.64-8.24-3.47%201.01-3.47%201.01%203.61-5.72%201.41-6.49c-2.2-0.769-3.33%204.36-3.33%204.36s0.873-5.76-1.06-5.76-1.58%205.39-1.58%205.39-0.574-4.59-2.18-4.12c-1.61%200.468-0.572%205.51-0.572%205.51s-1.58-4.89-2.93-3.79c-1.35%201.11%200.258%205.25%200.572%206.62%200.836%202.43%202.03%202.94%202.17%205.55'/%3e%3c/svg%3e") 12 8,default}.pnlm-grabbing{cursor:grabbing;cursor:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='26'%20width='26'%3e%3cpath%20stroke='%23000'%20stroke-width='1px'%20fill='%23fff'%20d='m15.3%2020.5s5.07-5.29%203.77-6.74c-1.31-1.45-2.53%200.14-2.53%200.14s2.74-3.29%200.535-4.06c-2.2-0.769-2.52%201.3-2.52%201.3s0.81-2.13-1.12-2.13-1.52%201.77-1.52%201.77-0.261-1.59-1.87-1.12c-1.61%200.468-0.874%202.17-0.874%202.17s-0.651-1.55-2-0.445c-1.35%201.11-0.68%202.25-0.365%203.62%200.836%202.43%202.03%202.94%202.17%205.55'/%3e%3c/svg%3e") 12 8,default}.pnlm-sprite{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='26'%20height='208'%3e%3ccircle%20fill-opacity='.78'%20cy='117'%20cx='13'%20r='11'%20fill='%23fff'/%3e%3ccircle%20fill-opacity='.78'%20cy='143'%20cx='13'%20r='11'%20fill='%23fff'/%3e%3ccircle%20cy='169'%20cx='13'%20r='7'%20fill='none'%20stroke='%23000'%20stroke-width='2'/%3e%3ccircle%20cy='195'%20cx='13'%20r='7'%20fill='none'%20stroke='%23000'%20stroke-width='2'/%3e%3ccircle%20cx='13'%20cy='195'%20r='2.5'/%3e%3cpath%20d='m5%2083v6h2v-4h4v-2zm10%200v2h4v4h2v-6zm-5%205v6h6v-6zm-5%205v6h6v-2h-4v-4zm14%200v4h-4v2h6v-6z'/%3e%3cpath%20d='m13%20110a7%207%200%200%200%20-7%207%207%207%200%200%200%207%207%207%207%200%200%200%207%20-7%207%207%200%200%200%20-7%20-7zm-1%203h2v2h-2zm0%203h2v5h-2z'/%3e%3cpath%20d='m5%2057v6h2v-4h4v-2zm10%200v2h4v4h2v-6zm-10%2010v6h6v-2h-4v-4zm14%200v4h-4v2h6v-6z'/%3e%3cpath%20d='m17%2038v2h-8v-2z'/%3e%3cpath%20d='m12%209v3h-3v2h3v3h2v-3h3v-2h-3v-3z'/%3e%3cpath%20d='m13%20136-6.125%206.125h4.375v7.875h3.5v-7.875h4.375z'/%3e%3cpath%20d='m10.428%20173.33v-5.77l5-2.89v5.77zm1-1.73%203-1.73-3.001-1.74z'/%3e%3c/svg%3e")}.pnlm-container:fullscreen{height:100%!important;width:100%!important;position:static!important}.pnlm-render-container{cursor:inherit;position:absolute;height:100%;width:100%}.pnlm-controls{margin-top:4px;background-color:#fff;border:1px solid #999;border-color:#0006;border-radius:3px;cursor:pointer;z-index:2;transform:translateZ(9999px)}.pnlm-control:hover{background-color:#f8f8f8}.pnlm-controls-container{position:absolute;top:0;left:4px;z-index:1}.pnlm-zoom-controls{width:26px;height:52px}.pnlm-zoom-in{width:100%;height:50%;position:absolute;top:0;border-radius:3px 3px 0 0}.pnlm-zoom-out{width:100%;height:50%;position:absolute;bottom:0;background-position:0 -26px;border-top:1px solid #ddd;border-top-color:#0000001a;border-radius:0 0 3px 3px}.pnlm-fullscreen-toggle-button,.pnlm-orientation-button,.pnlm-hot-spot-debug-indicator{width:26px;height:26px}.pnlm-hot-spot-debug-indicator{position:absolute;top:50%;left:50%;width:26px;height:26px;margin:-13px 0 0 -13px;background-color:#ffffff80;border-radius:13px;display:none}.pnlm-orientation-button-inactive{background-position:0 -156px}.pnlm-orientation-button-active{background-position:0 -182px}.pnlm-fullscreen-toggle-button-inactive{background-position:0 -52px}.pnlm-fullscreen-toggle-button-active{background-position:0 -78px}.pnlm-panorama-info{position:absolute;bottom:4px;background-color:#000000b3;border-radius:0 3px 3px 0;padding-right:10px;color:#fff;text-align:left;display:none;z-index:2;transform:translateZ(9999px)}.pnlm-title-box{position:relative;font-size:20px;display:table;padding-left:5px;margin-bottom:3px}.pnlm-author-box{position:relative;font-size:12px;display:table;padding-left:5px}.pnlm-load-box{position:absolute;top:50%;left:50%;width:200px;height:150px;margin:-75px 0 0 -100px;background-color:#000000b3;border-radius:3px;text-align:center;font-size:20px;display:none;color:#fff}.pnlm-load-box p{margin:20px 0}.pnlm-lbox{position:absolute;top:50%;left:50%;width:20px;height:20px;margin:-10px 0 0 -10px;display:none}.pnlm-loading{animation-duration:1.5s;-webkit-animation-duration:1.5s;animation-name:pnlm-mv;-webkit-animation-name:pnlm-mv;animation-iteration-count:infinite;-webkit-animation-iteration-count:infinite;animation-timing-function:linear;-webkit-animation-timing-function:linear;height:10px;width:10px;background-color:#fff;position:relative}@keyframes pnlm-mv{0%{left:0;top:0}25%{left:10px;top:0}50%{left:10px;top:10px}75%{left:0;top:10px}to{left:0;top:0}}.pnlm-load-button{position:absolute;top:50%;left:50%;width:200px;height:100px;margin:-50px 0 0 -100px;background-color:#000000b3;border-radius:3px;text-align:center;font-size:20px;display:table;color:#fff;cursor:pointer}.pnlm-load-button:hover{background-color:#000c}.pnlm-load-button p{display:table-cell;vertical-align:middle}.pnlm-info-box{font-size:15px;position:absolute;top:50%;left:50%;width:200px;height:150px;margin:-75px 0 0 -100px;background-color:#000;border-radius:3px;display:table;text-align:center;color:#fff;table-layout:fixed}.pnlm-info-box a{color:#fff;word-wrap:break-word;overflow-wrap:break-word}.pnlm-info-box p{display:table-cell;vertical-align:middle;padding:0 5px}.pnlm-error-msg{display:none}.pnlm-about-msg{font-size:11px;line-height:11px;color:#fff;padding:5px 8px;background:#000000b3;border-radius:3px;position:absolute;top:50px;left:50px;display:none;opacity:0;transition:opacity .3s ease-in-out;z-index:1}.pnlm-about-msg a:link,.pnlm-about-msg a:visited{color:#fff}.pnlm-about-msg a:hover,.pnlm-about-msg a:active{color:#eee}.pnlm-hotspot-base{position:absolute;visibility:hidden;cursor:default;vertical-align:middle;top:0;z-index:1}.pnlm-hotspot{height:26px;width:26px;border-radius:13px}.pnlm-hotspot:hover{background-color:#fff3}.pnlm-hotspot.pnlm-info{background-position:0 -104px}.pnlm-hotspot.pnlm-scene{background-position:0 -130px}div.pnlm-tooltip span{visibility:hidden;position:absolute;border-radius:3px;background-color:#000000b3;color:#fff;text-align:center;max-width:200px;padding:5px 10px;margin-left:-220px;cursor:default}div.pnlm-tooltip:hover span{visibility:visible}div.pnlm-tooltip:hover span:after{content:"";position:absolute;width:0;height:0;border-width:10px;border-style:solid;border-color:rgba(0,0,0,.7) transparent transparent transparent;bottom:-20px;left:-10px;margin:0 50%}.pnlm-compass{position:absolute;width:50px;height:50px;right:4px;bottom:4px;border-radius:25px;background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='50'%20width='50'%3e%3cpath%20d='m24.5078%206-3.2578%2018h7.5l-3.25781-18h-0.984376zm-3.2578%2020%203.2578%2018h0.9844l3.2578-18h-7.5zm1.19531%200.9941h5.10938l-2.5547%2014.1075-2.5547-14.1075z'/%3e%3c/svg%3e");cursor:default;display:none}.pnlm-world{position:absolute;left:50%;top:50%}.pnlm-face{position:absolute;transform-origin:0 0 0}.pnlm-dragfix,.pnlm-preview-img{position:absolute;height:100%;width:100%}.pnlm-preview-img{background-size:cover;background-position:center}.pnlm-lbar{width:150px;margin:0 auto;border:#fff 1px solid;height:6px}.pnlm-lbar-fill{background:#fff;height:100%;width:0}.pnlm-lmsg{font-size:12px}.pnlm-fade-img{position:absolute;top:0;left:0}.pnlm-pointer{cursor:pointer}#textInfo .tooltip-content{font-size:1.6em;position:absolute;left:-70px;bottom:80px;width:200px;pointer-events:none;background-color:#333;color:#fff;line-height:1.2em;padding:.8em;opacity:0;transform-origin:50% calc(100% + 6em);transform:rotate3d(0,0,1,15deg);transition:opacity .5s,transform .5s;transition-timing-function:ease,cubic-bezier(.17,.67,.4,1.39)}#textInfo:hover{z-index:3}#textInfo:hover .tooltip-content{opacity:1;pointer-events:all;transform:translateZ(0) rotate3d(0,0,0,0)}#textInfo .hotspot{cursor:pointer;box-sizing:border-box}#textInfo .hotspot .out:before{speak:none;font-size:48px;line-height:90px;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;display:block;-webkit-font-smoothing:antialiased}#textInfo .hotspot .out{width:60px;height:60px;border-radius:50%;border:5px solid rgba(255,255,255,.8);transition:transform ease-out .1s,border .2s;box-sizing:border-box}#textInfo .hotspot .in{width:40px;height:40px;position:absolute;top:10px;left:10px;background-color:#fffc;border-radius:50%;transition:transform ease-out .1s,background .2s}#textInfo .hotspot .out:after{top:0;left:0;padding:0;z-index:-1;box-shadow:0 0 0 2px #ffffff1a;opacity:0;pointer-events:none;position:absolute;width:100%;height:100%;border-radius:50%;content:"";box-sizing:content-box;transform:scale(.9)}#textInfo .hotspot:hover .out{border:5px solid rgba(255,255,255,1);transform:scale(.9);color:#fff}#textInfo .hotspot:hover .in{background-color:#fff;transform:scale(.8)}#textInfo .hotspot:hover .out:after{animation:sonarEffect 1.2s ease-out}@keyframes sonarEffect{0%{opacity:.5}20%{opacity:.8;box-shadow:0 0 0 2px #ffffff1a,0 0 10px 10px #25aae1cc,0 0 0 10px #ffffff80}to{box-shadow:0 0 0 2px #ffffff1a,0 0 10px 10px #25aae1cc,0 0 0 10px #ffffff80;transform:scale(1.5);opacity:0}}`;
|
|
5821
|
+
}, v2 = (t) => Ft() ? /* @__PURE__ */ a(i2, { ...t }) : /* @__PURE__ */ a("slot", {}), s2 = `*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\\!container{width:100%!important}.container{width:100%}@media(min-width:1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.\\!pointer-events-none{pointer-events:none!important}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.\\!absolute{position:absolute!important}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{left:0;right:0}.inset-x-1{left:4px;right:4px}.inset-y-1{top:4px;bottom:4px}.-left-px{left:-1px}.-right-px{right:-1px}.bottom-0{bottom:0}.bottom-1{bottom:4px}.left-0{left:0}.left-1{left:4px}.left-1\\/2{left:50%}.left-\\[-5px\\]{left:-5px}.right-0{right:0}.right-1{right:4px}.right-2{right:8px}.right-\\[-5px\\]{right:-5px}.top-0{top:0}.top-1{top:4px}.top-1\\/2{top:50%}.top-2{top:8px}.top-px{top:1px}.-z-10{z-index:-10}.-z-20{z-index:-20}.z-1{z-index:1}.z-10,.z-hotspot{z-index:10}.z-overlay{z-index:30}.z-zoomed-image{z-index:20}.col-start-3{grid-column-start:3}.mx-1{margin-left:4px;margin-right:4px}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:8px;margin-bottom:8px}.-ml-px{margin-left:-1px}.-mt-px{margin-top:-1px}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.aspect-\\[4\\/3\\]{aspect-ratio:4/3}.aspect-square{aspect-ratio:1 / 1}.size-1{width:4px;height:4px}.size-12{width:48px;height:48px}.size-20{width:80px;height:80px}.size-4{width:16px;height:16px}.size-5{width:20px;height:20px}.size-7{width:28px;height:28px}.size-8{width:32px;height:32px}.size-full{width:100%;height:100%}.h-1{height:4px}.h-10{height:40px}.h-20{height:80px}.h-3\\/4{height:75%}.h-5{height:20px}.h-8{height:32px}.h-\\[15\\%\\]{height:15%}.h-\\[85\\%\\]{height:85%}.h-full{height:100%}.h-px{height:1px}.max-h-\\[50\\%\\]{max-height:50%}.min-h-0{min-height:0}.min-h-\\[15\\%\\]{min-height:15%}.w-12{width:48px}.w-3\\/5{width:60%}.w-8{width:32px}.w-\\[calc\\(100\\%\\+1024px\\)\\]{width:calc(100% + 1024px)}.w-\\[calc\\(100\\%\\+2px\\)\\]{width:calc(100% + 2px)}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-px{width:1px}.min-w-0{min-width:0}.max-w-60{max-width:240px}.max-w-\\[1600px\\]{max-width:1600px}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.origin-top-left{transform-origin:top left}.-translate-x-1\\.5{--tw-translate-x: -6px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-1\\.5{--tw-translate-x: 6px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-105{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-scale-x-100{--tw-scale-x: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes hotspot-ping{0%{transform:scale(0)}25%{opacity:1}75%,to{transform:scale(1.5);opacity:0}}.animate-hotspot-ping{animation:hotspot-ping 3s cubic-bezier(0,0,.2,1) infinite}@keyframes pulse{50%{opacity:1}0%,to{opacity:0}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-rotation{animation:rotation 1s linear infinite}.cursor-auto{cursor:auto}.cursor-default{cursor:default}.cursor-grab{cursor:grab}.cursor-grabbing{cursor:grabbing}.cursor-move{cursor:move}.cursor-pointer{cursor:pointer}.resize{resize:both}.grid-cols-\\[auto\\,1fr\\,auto\\]{grid-template-columns:auto 1fr auto}.grid-cols-\\[repeat\\(var\\(--max-items\\)\\,1fr\\)\\]{grid-template-columns:repeat(var(--max-items),1fr)}.flex-col{flex-direction:column}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-1\\.5{gap:6px}.gap-4{gap:16px}.gap-x-1{-moz-column-gap:4px;column-gap:4px}.gap-x-2{-moz-column-gap:8px;column-gap:8px}.gap-x-4{-moz-column-gap:16px;column-gap:16px}.gap-y-1{row-gap:4px}.gap-y-2{row-gap:8px}.gap-y-4{row-gap:16px}.space-x-0\\.5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2px * var(--tw-space-x-reverse));margin-left:calc(2px * calc(1 - var(--tw-space-x-reverse)))}.space-y-0\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2px * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(4px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(4px * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(8px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(8px * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-scroll{overflow-x:scroll}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded-carrousel{border-radius:var(--radius-carrousel)}.rounded-full{border-radius:9999px}.rounded-gallery{border-radius:var(--radius-gallery)}.rounded-ui{border-radius:var(--radius-ui)}.rounded-ui-md{border-radius:calc(var(--radius-ui) + 2px)}.rounded-ui-sm{border-radius:calc(var(--radius-ui) - 2px)}.rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.rounded-t-full{border-top-left-radius:9999px;border-top-right-radius:9999px}.rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.rounded-bl-\\[10px\\]{border-bottom-left-radius:10px}.rounded-bl-\\[8px\\]{border-bottom-left-radius:8px}.rounded-bl-full{border-bottom-left-radius:9999px}.rounded-br-\\[10px\\]{border-bottom-right-radius:10px}.rounded-br-\\[8px\\]{border-bottom-right-radius:8px}.rounded-br-full{border-bottom-right-radius:9999px}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-4{border-width:4px}.border-background{border-color:hsl(var(--background))}.border-foreground{border-color:hsl(var(--foreground))}.border-primary{border-color:hsl(var(--primary))}.border-b-transparent{border-bottom-color:transparent}.bg-background{background-color:hsl(var(--background))}.bg-background\\/25{background-color:hsl(var(--background) / .25)}.bg-background\\/50{background-color:hsl(var(--background) / .5)}.bg-background\\/60{background-color:hsl(var(--background) / .6)}.bg-foreground{background-color:hsl(var(--foreground))}.bg-foreground\\/10{background-color:hsl(var(--foreground) / .1)}.bg-foreground\\/25{background-color:hsl(var(--foreground) / .25)}.bg-foreground\\/30{background-color:hsl(var(--foreground) / .3)}.bg-foreground\\/35{background-color:hsl(var(--foreground) / .35)}.bg-foreground\\/40{background-color:hsl(var(--foreground) / .4)}.bg-foreground\\/50{background-color:hsl(var(--foreground) / .5)}.bg-foreground\\/60{background-color:hsl(var(--foreground) / .6)}.bg-foreground\\/65{background-color:hsl(var(--foreground) / .65)}.bg-foreground\\/75{background-color:hsl(var(--foreground) / .75)}.bg-navy{background-color:hsl(var(--details-background))}.bg-neutral\\/50{background-color:hsl(var(--neutral) / .5)}.bg-primary{background-color:hsl(var(--primary))}.bg-primary-foreground{background-color:hsl(var(--primary-foreground))}.bg-primary\\/50{background-color:hsl(var(--primary) / .5)}.bg-transparent{background-color:transparent}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-foreground{--tw-gradient-from: hsl(var(--foreground)) var(--tw-gradient-from-position);--tw-gradient-to: hsl(var(--foreground) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-0\\.5{padding:2px}.p-1{padding:4px}.p-2{padding:8px}.p-4{padding:16px}.px-1\\.5{padding-left:6px;padding-right:6px}.px-2{padding-left:8px;padding-right:8px}.py-0\\.5{padding-top:2px;padding-bottom:2px}.py-1{padding-top:4px;padding-bottom:4px}.py-1\\.5{padding-top:6px;padding-bottom:6px}.pl-2\\.5{padding-left:10px}.pl-5{padding-left:20px}.pl-6{padding-left:24px}.pr-12{padding-right:48px}.pr-2\\.5{padding-right:10px}.pr-5{padding-right:20px}.pr-6{padding-right:24px}.pt-8{padding-top:32px}.text-2xl{font-size:24px;line-height:32px}.text-\\[clamp\\(0\\.625rem\\,0\\.4rem\\+1\\.5cqw\\,0\\.875rem\\)\\]{font-size:clamp(.625rem,.4rem + 1.5cqw,.875rem)}.text-\\[clamp\\(0\\.75rem\\,0\\.45rem\\+1\\.8cqw\\,1\\.125rem\\)\\]{font-size:clamp(.75rem,.45rem + 1.8cqw,1.125rem)}.text-\\[clamp\\(0\\.75rem\\,0\\.55rem\\+1\\.3cqw\\,0\\.875rem\\)\\]{font-size:clamp(.75rem,.55rem + 1.3cqw,.875rem)}.text-\\[clamp\\(0\\.875rem\\,0\\.6rem\\+1\\.6cqw\\,1\\.125rem\\)\\]{font-size:clamp(.875rem,.6rem + 1.6cqw,1.125rem)}.text-sm{font-size:14px;line-height:20px}.text-xl{font-size:20px;line-height:28px}.text-xs{font-size:12px;line-height:16px}.font-bold{font-weight:700}.font-normal{font-weight:400}.font-semibold{font-weight:600}.leading-tight{line-height:1.25}.text-background{color:hsl(var(--background))}.text-background\\/75{color:hsl(var(--background) / .75)}.text-foreground{color:hsl(var(--foreground))}.text-foreground\\/65{color:hsl(var(--foreground) / .65)}.text-foreground\\/70{color:hsl(var(--foreground) / .7)}.text-neutral-foreground{color:hsl(var(--neutral-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-white{color:hsl(var(--details-text))}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[opacity\\,transform\\]{transition-property:opacity,transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[width\\]{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-radius{transition-property:border-radius;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-details{transition-duration:.35s}.no-scrollbar{scrollbar-width:none;-ms-overflow-style:none}.no-scrollbar::-webkit-scrollbar{display:none}.\\[mask-image\\:linear-gradient\\(to_left\\,transparent_0px\\,black_4px\\,black_calc\\(100\\%-4px\\)\\,transparent_100\\%\\)\\]{-webkit-mask-image:linear-gradient(to left,transparent 0px,black 4px,black calc(100% - 4px),transparent 100%);mask-image:linear-gradient(to left,transparent 0px,black 4px,black calc(100% - 4px),transparent 100%)}.pnlm-load-button,.pnlm-load-box{display:none!important}.pnlm-container{background-image:none!important}.pnlm-about-msg{width:0;height:0;padding:0;visibility:hidden}.pnlm-about-msg a{display:none;visibility:hidden}.\\*\\:pointer-events-auto>*{pointer-events:auto}.\\*\\:size-full>*{width:100%;height:100%}.\\*\\:snap-start>*{scroll-snap-align:start}.\\*\\:snap-always>*{scroll-snap-stop:always}.\\*\\:object-cover>*{-o-object-fit:cover;object-fit:cover}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:inset-0:after{content:var(--tw-content);inset:0}.after\\:rounded-gallery:after{content:var(--tw-content);border-radius:var(--radius-gallery)}.after\\:border-2:after{content:var(--tw-content);border-width:2px}.after\\:border-primary:after{content:var(--tw-content);border-color:hsl(var(--primary))}.after\\:opacity-0:after{content:var(--tw-content);opacity:0}.after\\:opacity-100:after{content:var(--tw-content);opacity:1}.after\\:transition-all:after{content:var(--tw-content);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hover\\:z-hotspot-hover:hover{z-index:11}.hover\\:bg-foreground\\/25:hover{background-color:hsl(var(--foreground) / .25)}.hover\\:bg-primary\\/25:hover{background-color:hsl(var(--primary) / .25)}.hover\\:bg-primary\\/30:hover{background-color:hsl(var(--primary) / .3)}.hover\\:bg-transparent:hover{background-color:transparent}.hover\\:opacity-80:hover{opacity:.8}.hover\\:after\\:opacity-70:hover:after{content:var(--tw-content);opacity:.7}.disabled\\:opacity-60:disabled{opacity:.6}.group:hover .group-hover\\:pointer-events-auto{pointer-events:auto}.group:hover .group-hover\\:-translate-x-1{--tw-translate-x: -4px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\\:translate-x-1{--tw-translate-x: 4px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group\\/volume:hover .group-hover\\/volume\\:opacity-100{opacity:1}.group\\/volume:hover .group-hover\\/volume\\:opacity-50{opacity:.5}.group:hover .group-hover\\:opacity-100{opacity:1}@media((orientation:portrait)and (max-width:767px))or ((orientation:landscape)and (max-width:1023px)){.max-small\\:hidden{display:none}}@media((orientation:portrait)and (min-width:768px))or ((orientation:landscape)and (min-width:1024px)){.small\\:inset-x-2{left:8px;right:8px}.small\\:inset-y-2{top:8px;bottom:8px}.small\\:bottom-2{bottom:8px}.small\\:left-2{left:8px}.small\\:right-2{right:8px}.small\\:right-4{right:16px}.small\\:top-2{top:8px}.small\\:top-4{top:16px}.small\\:my-4{margin-top:16px;margin-bottom:16px}.small\\:hidden{display:none}.small\\:h-12{height:48px}.small\\:h-28{height:112px}.small\\:max-w-64{max-width:256px}.small\\:gap-2{gap:8px}.small\\:gap-x-2{-moz-column-gap:8px;column-gap:8px}.small\\:gap-y-2{row-gap:8px}.small\\:gap-y-4{row-gap:16px}.small\\:space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(4px * var(--tw-space-x-reverse));margin-left:calc(4px * calc(1 - var(--tw-space-x-reverse)))}.small\\:p-3{padding:12px}.small\\:px-2{padding-left:8px;padding-right:8px}.small\\:py-1{padding-top:4px;padding-bottom:4px}.small\\:pl-3{padding-left:12px}.small\\:pl-6{padding-left:24px}.small\\:pl-7{padding-left:28px}.small\\:pr-3{padding-right:12px}.small\\:pr-6{padding-right:24px}.small\\:pr-7{padding-right:28px}.small\\:text-sm{font-size:14px;line-height:20px}.small\\:font-bold{font-weight:700}}@media(min-width:1280px){.large\\:h-20{height:80px}.large\\:h-3\\/5{height:60%}.large\\:max-w-72{max-width:288px}.large\\:gap-4{gap:16px}.large\\:p-2{padding:8px}.large\\:p-4{padding:16px}.large\\:text-lg{font-size:18px;line-height:28px}.large\\:text-sm{font-size:14px;line-height:20px}}.\\[\\&_\\*\\]\\:size-4 *{width:16px;height:16px}.pnlm-container{margin:0;padding:0;overflow:hidden;position:relative;cursor:default;width:100%;height:100%;font-family:Helvetica,Nimbus Sans L,Liberation Sans,Arial,sans-serif;background:#f4f4f4 url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='67'%20height='100'%20viewBox='0%200%2067%20100'%3e%3cpath%20stroke='%23ccc'%20fill='none'%20d='M33.5,50,0,63,33.5,75,67,63,33.5,50m-33.5-50,67,25m-0.5,0,0,75m-66.5-75,67-25m-33.5,75,0,25m0-100,0,50'/%3e%3c/svg%3e") repeat;-webkit-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none;outline:0;line-height:1.4;contain:content;touch-action:none}.pnlm-container *{box-sizing:content-box}.pnlm-ui{position:absolute;width:100%;height:100%;z-index:1}.pnlm-grab{cursor:grab;cursor:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='26'%20width='26'%3e%3cpath%20stroke='%23000'%20stroke-width='1px'%20fill='%23fff'%20d='m15.3%2020.5s6.38-6.73%204.64-8.24-3.47%201.01-3.47%201.01%203.61-5.72%201.41-6.49c-2.2-0.769-3.33%204.36-3.33%204.36s0.873-5.76-1.06-5.76-1.58%205.39-1.58%205.39-0.574-4.59-2.18-4.12c-1.61%200.468-0.572%205.51-0.572%205.51s-1.58-4.89-2.93-3.79c-1.35%201.11%200.258%205.25%200.572%206.62%200.836%202.43%202.03%202.94%202.17%205.55'/%3e%3c/svg%3e") 12 8,default}.pnlm-grabbing{cursor:grabbing;cursor:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='26'%20width='26'%3e%3cpath%20stroke='%23000'%20stroke-width='1px'%20fill='%23fff'%20d='m15.3%2020.5s5.07-5.29%203.77-6.74c-1.31-1.45-2.53%200.14-2.53%200.14s2.74-3.29%200.535-4.06c-2.2-0.769-2.52%201.3-2.52%201.3s0.81-2.13-1.12-2.13-1.52%201.77-1.52%201.77-0.261-1.59-1.87-1.12c-1.61%200.468-0.874%202.17-0.874%202.17s-0.651-1.55-2-0.445c-1.35%201.11-0.68%202.25-0.365%203.62%200.836%202.43%202.03%202.94%202.17%205.55'/%3e%3c/svg%3e") 12 8,default}.pnlm-sprite{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='26'%20height='208'%3e%3ccircle%20fill-opacity='.78'%20cy='117'%20cx='13'%20r='11'%20fill='%23fff'/%3e%3ccircle%20fill-opacity='.78'%20cy='143'%20cx='13'%20r='11'%20fill='%23fff'/%3e%3ccircle%20cy='169'%20cx='13'%20r='7'%20fill='none'%20stroke='%23000'%20stroke-width='2'/%3e%3ccircle%20cy='195'%20cx='13'%20r='7'%20fill='none'%20stroke='%23000'%20stroke-width='2'/%3e%3ccircle%20cx='13'%20cy='195'%20r='2.5'/%3e%3cpath%20d='m5%2083v6h2v-4h4v-2zm10%200v2h4v4h2v-6zm-5%205v6h6v-6zm-5%205v6h6v-2h-4v-4zm14%200v4h-4v2h6v-6z'/%3e%3cpath%20d='m13%20110a7%207%200%200%200%20-7%207%207%207%200%200%200%207%207%207%207%200%200%200%207%20-7%207%207%200%200%200%20-7%20-7zm-1%203h2v2h-2zm0%203h2v5h-2z'/%3e%3cpath%20d='m5%2057v6h2v-4h4v-2zm10%200v2h4v4h2v-6zm-10%2010v6h6v-2h-4v-4zm14%200v4h-4v2h6v-6z'/%3e%3cpath%20d='m17%2038v2h-8v-2z'/%3e%3cpath%20d='m12%209v3h-3v2h3v3h2v-3h3v-2h-3v-3z'/%3e%3cpath%20d='m13%20136-6.125%206.125h4.375v7.875h3.5v-7.875h4.375z'/%3e%3cpath%20d='m10.428%20173.33v-5.77l5-2.89v5.77zm1-1.73%203-1.73-3.001-1.74z'/%3e%3c/svg%3e")}.pnlm-container:fullscreen{height:100%!important;width:100%!important;position:static!important}.pnlm-render-container{cursor:inherit;position:absolute;height:100%;width:100%}.pnlm-controls{margin-top:4px;background-color:#fff;border:1px solid #999;border-color:#0006;border-radius:3px;cursor:pointer;z-index:2;transform:translateZ(9999px)}.pnlm-control:hover{background-color:#f8f8f8}.pnlm-controls-container{position:absolute;top:0;left:4px;z-index:1}.pnlm-zoom-controls{width:26px;height:52px}.pnlm-zoom-in{width:100%;height:50%;position:absolute;top:0;border-radius:3px 3px 0 0}.pnlm-zoom-out{width:100%;height:50%;position:absolute;bottom:0;background-position:0 -26px;border-top:1px solid #ddd;border-top-color:#0000001a;border-radius:0 0 3px 3px}.pnlm-fullscreen-toggle-button,.pnlm-orientation-button,.pnlm-hot-spot-debug-indicator{width:26px;height:26px}.pnlm-hot-spot-debug-indicator{position:absolute;top:50%;left:50%;width:26px;height:26px;margin:-13px 0 0 -13px;background-color:#ffffff80;border-radius:13px;display:none}.pnlm-orientation-button-inactive{background-position:0 -156px}.pnlm-orientation-button-active{background-position:0 -182px}.pnlm-fullscreen-toggle-button-inactive{background-position:0 -52px}.pnlm-fullscreen-toggle-button-active{background-position:0 -78px}.pnlm-panorama-info{position:absolute;bottom:4px;background-color:#000000b3;border-radius:0 3px 3px 0;padding-right:10px;color:#fff;text-align:left;display:none;z-index:2;transform:translateZ(9999px)}.pnlm-title-box{position:relative;font-size:20px;display:table;padding-left:5px;margin-bottom:3px}.pnlm-author-box{position:relative;font-size:12px;display:table;padding-left:5px}.pnlm-load-box{position:absolute;top:50%;left:50%;width:200px;height:150px;margin:-75px 0 0 -100px;background-color:#000000b3;border-radius:3px;text-align:center;font-size:20px;display:none;color:#fff}.pnlm-load-box p{margin:20px 0}.pnlm-lbox{position:absolute;top:50%;left:50%;width:20px;height:20px;margin:-10px 0 0 -10px;display:none}.pnlm-loading{animation-duration:1.5s;-webkit-animation-duration:1.5s;animation-name:pnlm-mv;-webkit-animation-name:pnlm-mv;animation-iteration-count:infinite;-webkit-animation-iteration-count:infinite;animation-timing-function:linear;-webkit-animation-timing-function:linear;height:10px;width:10px;background-color:#fff;position:relative}@keyframes pnlm-mv{0%{left:0;top:0}25%{left:10px;top:0}50%{left:10px;top:10px}75%{left:0;top:10px}to{left:0;top:0}}.pnlm-load-button{position:absolute;top:50%;left:50%;width:200px;height:100px;margin:-50px 0 0 -100px;background-color:#000000b3;border-radius:3px;text-align:center;font-size:20px;display:table;color:#fff;cursor:pointer}.pnlm-load-button:hover{background-color:#000c}.pnlm-load-button p{display:table-cell;vertical-align:middle}.pnlm-info-box{font-size:15px;position:absolute;top:50%;left:50%;width:200px;height:150px;margin:-75px 0 0 -100px;background-color:#000;border-radius:3px;display:table;text-align:center;color:#fff;table-layout:fixed}.pnlm-info-box a{color:#fff;word-wrap:break-word;overflow-wrap:break-word}.pnlm-info-box p{display:table-cell;vertical-align:middle;padding:0 5px}.pnlm-error-msg{display:none}.pnlm-about-msg{font-size:11px;line-height:11px;color:#fff;padding:5px 8px;background:#000000b3;border-radius:3px;position:absolute;top:50px;left:50px;display:none;opacity:0;transition:opacity .3s ease-in-out;z-index:1}.pnlm-about-msg a:link,.pnlm-about-msg a:visited{color:#fff}.pnlm-about-msg a:hover,.pnlm-about-msg a:active{color:#eee}.pnlm-hotspot-base{position:absolute;visibility:hidden;cursor:default;vertical-align:middle;top:0;z-index:1}.pnlm-hotspot{height:26px;width:26px;border-radius:13px}.pnlm-hotspot:hover{background-color:#fff3}.pnlm-hotspot.pnlm-info{background-position:0 -104px}.pnlm-hotspot.pnlm-scene{background-position:0 -130px}div.pnlm-tooltip span{visibility:hidden;position:absolute;border-radius:3px;background-color:#000000b3;color:#fff;text-align:center;max-width:200px;padding:5px 10px;margin-left:-220px;cursor:default}div.pnlm-tooltip:hover span{visibility:visible}div.pnlm-tooltip:hover span:after{content:"";position:absolute;width:0;height:0;border-width:10px;border-style:solid;border-color:rgba(0,0,0,.7) transparent transparent transparent;bottom:-20px;left:-10px;margin:0 50%}.pnlm-compass{position:absolute;width:50px;height:50px;right:4px;bottom:4px;border-radius:25px;background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='50'%20width='50'%3e%3cpath%20d='m24.5078%206-3.2578%2018h7.5l-3.25781-18h-0.984376zm-3.2578%2020%203.2578%2018h0.9844l3.2578-18h-7.5zm1.19531%200.9941h5.10938l-2.5547%2014.1075-2.5547-14.1075z'/%3e%3c/svg%3e");cursor:default;display:none}.pnlm-world{position:absolute;left:50%;top:50%}.pnlm-face{position:absolute;transform-origin:0 0 0}.pnlm-dragfix,.pnlm-preview-img{position:absolute;height:100%;width:100%}.pnlm-preview-img{background-size:cover;background-position:center}.pnlm-lbar{width:150px;margin:0 auto;border:#fff 1px solid;height:6px}.pnlm-lbar-fill{background:#fff;height:100%;width:0}.pnlm-lmsg{font-size:12px}.pnlm-fade-img{position:absolute;top:0;left:0}.pnlm-pointer{cursor:pointer}#textInfo .tooltip-content{font-size:1.6em;position:absolute;left:-70px;bottom:80px;width:200px;pointer-events:none;background-color:#333;color:#fff;line-height:1.2em;padding:.8em;opacity:0;transform-origin:50% calc(100% + 6em);transform:rotate3d(0,0,1,15deg);transition:opacity .5s,transform .5s;transition-timing-function:ease,cubic-bezier(.17,.67,.4,1.39)}#textInfo:hover{z-index:3}#textInfo:hover .tooltip-content{opacity:1;pointer-events:all;transform:translateZ(0) rotate3d(0,0,0,0)}#textInfo .hotspot{cursor:pointer;box-sizing:border-box}#textInfo .hotspot .out:before{speak:none;font-size:48px;line-height:90px;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;display:block;-webkit-font-smoothing:antialiased}#textInfo .hotspot .out{width:60px;height:60px;border-radius:50%;border:5px solid rgba(255,255,255,.8);transition:transform ease-out .1s,border .2s;box-sizing:border-box}#textInfo .hotspot .in{width:40px;height:40px;position:absolute;top:10px;left:10px;background-color:#fffc;border-radius:50%;transition:transform ease-out .1s,background .2s}#textInfo .hotspot .out:after{top:0;left:0;padding:0;z-index:-1;box-shadow:0 0 0 2px #ffffff1a;opacity:0;pointer-events:none;position:absolute;width:100%;height:100%;border-radius:50%;content:"";box-sizing:content-box;transform:scale(.9)}#textInfo .hotspot:hover .out{border:5px solid rgba(255,255,255,1);transform:scale(.9);color:#fff}#textInfo .hotspot:hover .in{background-color:#fff;transform:scale(.8)}#textInfo .hotspot:hover .out:after{animation:sonarEffect 1.2s ease-out}@keyframes sonarEffect{0%{opacity:.5}20%{opacity:.8;box-shadow:0 0 0 2px #ffffff1a,0 0 10px 10px #25aae1cc,0 0 0 10px #ffffff80}to{box-shadow:0 0 0 2px #ffffff1a,0 0 10px 10px #25aae1cc,0 0 0 10px #ffffff80;transform:scale(1.5);opacity:0}}`;
|
|
5825
5822
|
function l2(t) {
|
|
5826
5823
|
return t.replace(
|
|
5827
5824
|
/([a-z0-9])([A-Z])/g,
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
`),L=x+["lambda = mod(lambda + PI, PI * 2.0) - PI;","vec2 coord = vec2(lambda / PI, phi / (PI / 2.0));","if(coord.x < -u_h || coord.x > u_h || coord.y < -u_v + u_vo || coord.y > u_v + u_vo)","gl_FragColor = u_backgroundColor;","else","gl_FragColor = texture2D(u_image, vec2((coord.x + u_h) / (u_h * 2.0), (-coord.y + u_v + u_vo) / (u_v * 2.0)));","}"].join(`
|
|
4
4
|
`),I=["varying mediump vec2 v_texCoord;","uniform sampler2D u_sampler;","void main(void) {","gl_FragColor = texture2D(u_sampler, v_texCoord);","}"].join("");return{renderer:function(M,h,o,E){return new p(M)}}})(window,document);window.pannellum=(function(t,s,a){function p(d,u){var x=this,e,L,I,R=!1,M=Date.now(),h=0,o=0,E=-1,N=0,_=0,w=new Array(10),y=!1,C,m=!1,b=!1,P,$,S={yaw:0,pitch:0,hfov:0},z=!1,Y=!1,j=0,A,k=0,G,oe,H={},U={},J=[],O=!1,X=!1,se={hfov:100,minHfov:50,maxHfov:120,pitch:0,minPitch:a,maxPitch:a,yaw:0,minYaw:-180,maxYaw:180,roll:0,haov:360,vaov:180,vOffset:0,autoRotate:!1,autoRotateInactivityDelay:-1,autoRotateStopDelay:a,type:"equirectangular",northOffset:0,showFullscreenCtrl:!0,dynamic:!1,doubleClickZoom:!0,keyboardZoom:!0,mouseZoom:!0,showZoomCtrl:!0,autoLoad:!1,showControls:!0,orientationOnByDefault:!1,hotSpotDebug:!1,backgroundColor:[0,0,0],avoidShowingBackground:!1,animationTimingFunction:D,draggable:!0,disableKeyboardCtrl:!1,crossOrigin:"anonymous",touchPanSpeedCoeffFactor:1,capturedKeyNumbers:[16,17,27,37,38,39,40,61,65,68,83,87,107,109,173,187,189]};se.strings={loadButtonLabel:"Click to<br>Load<br>Panorama",loadingLabel:"Loading...",bylineLabel:"by %s",noPanoramaError:"No panorama image was specified.",fileAccessError:"The file %s could not be accessed.",malformedURLError:"There is something wrong with the panorama URL.",iOS8WebGLError:"Due to iOS 8's broken WebGL implementation, only progressive encoded JPEGs work for your device (this panorama uses standard encoding).",genericWebGLError:"Your browser does not have the necessary WebGL support to display this panorama.",textureSizeError:"This panorama is too big for your device! It's %spx wide, but your device only supports images up to %spx wide. Try another device. (If you're the author, try scaling down the image.)",unknownError:"Unknown error. Check developer console."},d=typeof d=="string"?s.getElementById(d):d,d.classList.add("pnlm-container"),d.tabIndex=0;var F=s.createElement("div");F.className="pnlm-ui",d.appendChild(F);var he=s.createElement("div");he.className="pnlm-render-container",d.appendChild(he);var ue=s.createElement("div");ue.className="pnlm-dragfix",F.appendChild(ue);var ae=s.createElement("span");ae.className="pnlm-about-msg",ae.innerHTML='<a href="https://pannellum.org/" target="_blank">Pannellum</a>',F.appendChild(ae),ue.addEventListener("contextmenu",ne);var T={},me=s.createElement("div");me.className="pnlm-sprite pnlm-hot-spot-debug-indicator",F.appendChild(me),T.container=s.createElement("div"),T.container.className="pnlm-panorama-info",T.title=s.createElement("div"),T.title.className="pnlm-title-box",T.container.appendChild(T.title),T.author=s.createElement("div"),T.author.className="pnlm-author-box",T.container.appendChild(T.author),F.appendChild(T.container),T.load={},T.load.box=s.createElement("div"),T.load.box.className="pnlm-load-box",T.load.boxp=s.createElement("p"),T.load.box.appendChild(T.load.boxp),T.load.lbox=s.createElement("div"),T.load.lbox.className="pnlm-lbox",T.load.lbox.innerHTML='<div class="pnlm-loading"></div>',T.load.box.appendChild(T.load.lbox),T.load.lbar=s.createElement("div"),T.load.lbar.className="pnlm-lbar",T.load.lbarFill=s.createElement("div"),T.load.lbarFill.className="pnlm-lbar-fill",T.load.lbar.appendChild(T.load.lbarFill),T.load.box.appendChild(T.load.lbar),T.load.msg=s.createElement("p"),T.load.msg.className="pnlm-lmsg",T.load.box.appendChild(T.load.msg),F.appendChild(T.load.box),T.errorMsg=s.createElement("div"),T.errorMsg.className="pnlm-error-msg pnlm-info-box",F.appendChild(T.errorMsg);var Z={};Z.container=s.createElement("div"),Z.container.className="pnlm-controls-container",F.appendChild(Z.container),Z.load=s.createElement("div"),Z.load.className="pnlm-load-button",Z.load.addEventListener("click",function(){yt(),Kt()}),F.appendChild(Z.load),Z.zoom=s.createElement("div"),Z.zoom.className="pnlm-zoom-controls pnlm-controls",Z.zoomIn=s.createElement("div"),Z.zoomIn.className="pnlm-zoom-in pnlm-sprite pnlm-control",Z.zoomIn.addEventListener("click",Rr),Z.zoom.appendChild(Z.zoomIn),Z.zoomOut=s.createElement("div"),Z.zoomOut.className="pnlm-zoom-out pnlm-sprite pnlm-control",Z.zoomOut.addEventListener("click",jr),Z.zoom.appendChild(Z.zoomOut),Z.container.appendChild(Z.zoom),Z.fullscreen=s.createElement("div"),Z.fullscreen.addEventListener("click",Et),Z.fullscreen.className="pnlm-fullscreen-toggle-button pnlm-sprite pnlm-fullscreen-toggle-button-inactive pnlm-controls pnlm-control",(s.fullscreenEnabled||s.mozFullScreenEnabled||s.webkitFullscreenEnabled||s.msFullscreenEnabled)&&Z.container.appendChild(Z.fullscreen),Z.orientation=s.createElement("div"),Z.orientation.addEventListener("click",function(r){Y?lt():mt()}),Z.orientation.addEventListener("mousedown",function(r){r.stopPropagation()}),Z.orientation.addEventListener("touchstart",function(r){r.stopPropagation()}),Z.orientation.addEventListener("pointerdown",function(r){r.stopPropagation()}),Z.orientation.className="pnlm-orientation-button pnlm-orientation-button-inactive pnlm-sprite pnlm-controls pnlm-control";var be,Re=!1;function Te(r){t.removeEventListener("deviceorientation",Te),r&&r.alpha!==null&&r.beta!==null&&r.gamma!==null?(Z.container.appendChild(Z.orientation),be=!0,Re&&mt()):be=!1}t.DeviceOrientationEvent?t.addEventListener("deviceorientation",Te):be=!1;var Q=s.createElement("div");Q.className="pnlm-compass pnlm-controls pnlm-control",F.appendChild(Q),u.firstScene?pt(u.firstScene):u.default&&u.default.firstScene?pt(u.default.firstScene):pt(null),yt(!0);function c(){var r=s.createElement("div");if(r.innerHTML="<!--[if lte IE 9]><i></i><![endif]-->",r.getElementsByTagName("i").length==1){ee();return}G=e.hfov,oe=e.pitch;var l,v;if(e.type=="cubemap"){for(P=[],l=0;l<6;l++)P.push(new Image),P[l].crossOrigin=e.crossOrigin;T.load.lbox.style.display="block",T.load.lbar.style.display="none"}else if(e.type=="multires"){var W=JSON.parse(JSON.stringify(e.multiRes));e.basePath&&e.multiRes.basePath&&!/^(?:[a-z]+:)?\/\//i.test(e.multiRes.basePath)?W.basePath=e.basePath+e.multiRes.basePath:e.multiRes.basePath?W.basePath=e.multiRes.basePath:e.basePath&&(W.basePath=e.basePath),P=W}else if(e.dynamic===!0)P=e.panorama;else{if(e.panorama===a){ee(e.strings.noPanoramaError);return}P=new Image}if(e.type=="cubemap"){var q=6,V=function(){q--,q===0&&K()},ve=function(ke){var ye=s.createElement("a");ye.href=ke.target.src,ye.textContent=ye.href,ee(e.strings.fileAccessError.replace("%s",ye.outerHTML))};for(l=0;l<P.length;l++)v=e.cubeMap[l],v=="null"?(console.log("Will use background instead of missing cubemap face "+l),V()):(e.basePath&&!f(v)&&(v=e.basePath+v),P[l].onload=V,P[l].onerror=ve,P[l].src=ot(v))}else if(e.type=="multires")K();else if(v="",e.basePath&&(v=e.basePath),e.dynamic!==!0){v=f(e.panorama)?e.panorama:v+e.panorama,P.onload=function(){t.URL.revokeObjectURL(this.src),K()};var fe=new XMLHttpRequest;fe.onloadend=function(){if(fe.status!=200){var we=s.createElement("a");we.href=v,we.textContent=we.href,ee(e.strings.fileAccessError.replace("%s",we.outerHTML))}var ke=this.response;te(ke),T.load.msg.innerHTML=""},fe.onprogress=function(we){if(we.lengthComputable){var ke=we.loaded/we.total*100;T.load.lbarFill.style.width=ke+"%";var ye,Ze,Xe;we.total>1e6?(ye="MB",Ze=(we.loaded/1e6).toFixed(2),Xe=(we.total/1e6).toFixed(2)):we.total>1e3?(ye="kB",Ze=(we.loaded/1e3).toFixed(1),Xe=(we.total/1e3).toFixed(1)):(ye="B",Ze=we.loaded,Xe=we.total),T.load.msg.innerHTML=Ze+" / "+Xe+" "+ye}else T.load.lbox.style.display="block",T.load.lbar.style.display="none"};try{fe.open("GET",v,!0)}catch{ee(e.strings.malformedURLError)}fe.responseType="blob",fe.setRequestHeader("Accept","image/*,*/*;q=0.9"),fe.withCredentials=e.crossOrigin==="use-credentials",fe.send()}e.draggable&&F.classList.add("pnlm-grab"),F.classList.remove("pnlm-grabbing")}function f(r){return new RegExp("^(?:[a-z]+:)?//","i").test(r)||r[0]=="/"||r.slice(0,5)=="blob:"}function K(){L||(L=new libpannellum.renderer(he)),b||(b=!0,ue.addEventListener("mousedown",ge,!1),s.addEventListener("mousemove",Pe,!1),s.addEventListener("mouseup",He,!1),e.mouseZoom&&(F.addEventListener("mousewheel",Ae,!1),F.addEventListener("DOMMouseScroll",Ae,!1)),e.doubleClickZoom&&ue.addEventListener("dblclick",de,!1),F.addEventListener("mozfullscreenchange",Je,!1),F.addEventListener("webkitfullscreenchange",Je,!1),F.addEventListener("msfullscreenchange",Je,!1),F.addEventListener("fullscreenchange",Je,!1),t.addEventListener("resize",pe,!1),t.addEventListener("orientationchange",pe,!1),e.disableKeyboardCtrl||(d.addEventListener("keydown",Se,!1),d.addEventListener("keyup",ze,!1),d.addEventListener("blur",Ue,!1)),s.addEventListener("mouseleave",He,!1),s.documentElement.style.pointerAction===""&&s.documentElement.style.touchAction===""?(ue.addEventListener("pointerdown",Oe,!1),ue.addEventListener("pointermove",_e,!1),ue.addEventListener("pointerup",Le,!1),ue.addEventListener("pointerleave",Le,!1)):(ue.addEventListener("touchstart",Ve,!1),ue.addEventListener("touchmove",Ye,!1),ue.addEventListener("touchend",je,!1)),t.navigator.pointerEnabled&&(d.style.touchAction="none")),Tr(),qe(e.hfov),setTimeout(function(){},500)}function te(r){var l=new FileReader;l.addEventListener("loadend",function(){var v=l.result;if(navigator.userAgent.toLowerCase().match(/(iphone|ipod|ipad).* os 8_/)){var W=v.indexOf("ÿÂ");(W<0||W>65536)&&ee(e.strings.iOS8WebGLError)}var q=v.indexOf("<x:xmpmeta");if(q>-1&&e.ignoreGPanoXMP!==!0){var V=v.substring(q,v.indexOf("</x:xmpmeta>")+12),ve=function(ke){var ye;return V.indexOf(ke+'="')>=0?(ye=V.substring(V.indexOf(ke+'="')+ke.length+2),ye=ye.substring(0,ye.indexOf('"'))):V.indexOf(ke+">")>=0&&(ye=V.substring(V.indexOf(ke+">")+ke.length+1),ye=ye.substring(0,ye.indexOf("<"))),ye!==a?Number(ye):null},fe={fullWidth:ve("GPano:FullPanoWidthPixels"),croppedWidth:ve("GPano:CroppedAreaImageWidthPixels"),fullHeight:ve("GPano:FullPanoHeightPixels"),croppedHeight:ve("GPano:CroppedAreaImageHeightPixels"),topPixels:ve("GPano:CroppedAreaTopPixels"),heading:ve("GPano:PoseHeadingDegrees"),horizonPitch:ve("GPano:PosePitchDegrees"),horizonRoll:ve("GPano:PoseRollDegrees")};fe.fullWidth!==null&&fe.croppedWidth!==null&&fe.fullHeight!==null&&fe.croppedHeight!==null&&fe.topPixels!==null&&(J.indexOf("haov")<0&&(e.haov=fe.croppedWidth/fe.fullWidth*360),J.indexOf("vaov")<0&&(e.vaov=fe.croppedHeight/fe.fullHeight*180),J.indexOf("vOffset")<0&&(e.vOffset=((fe.topPixels+fe.croppedHeight/2)/fe.fullHeight-.5)*-180),fe.heading!==null&&J.indexOf("northOffset")<0&&(e.northOffset=fe.heading,e.compass!==!1&&(e.compass=!0)),fe.horizonPitch!==null&&fe.horizonRoll!==null&&(J.indexOf("horizonPitch")<0&&(e.horizonPitch=fe.horizonPitch),J.indexOf("horizonRoll")<0&&(e.horizonRoll=fe.horizonRoll)))}P.src=t.URL.createObjectURL(r)}),l.readAsBinaryString!==a?l.readAsBinaryString(r):l.readAsText(r)}function ee(r){r===a&&(r=e.strings.genericWebGLError),T.errorMsg.innerHTML="<p>"+r+"</p>",Z.load.style.display="none",T.load.box.style.display="none",T.errorMsg.style.display="table",m=!0,he.style.display="none",Qe("error",r)}function g(){m&&(T.load.box.style.display="none",T.errorMsg.style.display="none",m=!1,Qe("errorcleared"))}function ne(r){var l=re(r);ae.style.left=l.x+"px",ae.style.top=l.y+"px",clearTimeout(ne.t1),clearTimeout(ne.t2),ae.style.display="block",ae.style.opacity=1,ne.t1=setTimeout(function(){ae.style.opacity=0},2e3),ne.t2=setTimeout(function(){ae.style.display="none"},2500),r.preventDefault()}function re(r){var l=d.getBoundingClientRect(),v={};return v.x=r.clientX-l.left,v.y=r.clientY-l.top,v}function ge(r){if(r.preventDefault(),d.focus(),!(!C||!e.draggable)){var l=re(r);if(e.hotSpotDebug){var v=De(r);console.log("Pitch: "+v[0]+", Yaw: "+v[1]+", Center Pitch: "+e.pitch+", Center Yaw: "+e.yaw+", HFOV: "+e.hfov)}ht(),lt(),e.roll=0,S.hfov=0,R=!0,M=Date.now(),h=l.x,o=l.y,N=e.yaw,_=e.pitch,F.classList.add("pnlm-grabbing"),F.classList.remove("pnlm-grab"),Qe("mousedown",r),Ce()}}function de(r){if(e.minHfov===e.hfov)x.setHfov(G,1e3);else{var l=De(r);x.lookAt(l[0],l[1],e.minHfov,1e3)}}function De(r){var l=re(r),v=L.getCanvas(),W=v.clientWidth,q=v.clientHeight,V=l.x/W*2-1,ve=(1-l.y/q*2)*q/W,fe=1/Math.tan(e.hfov*Math.PI/360),we=Math.sin(e.pitch*Math.PI/180),ke=Math.cos(e.pitch*Math.PI/180),ye=fe*ke-ve*we,Ze=Math.sqrt(V*V+ye*ye),Xe=Math.atan((ve*ke+fe*we)/Ze)*180/Math.PI,et=Math.atan2(V/Ze,ye/Ze)*180/Math.PI+e.yaw;return et<-180&&(et+=360),et>180&&(et-=360),[Xe,et]}function Pe(r){if(R&&C){M=Date.now();var l=L.getCanvas(),v=l.clientWidth,W=l.clientHeight,q=re(r),V=(Math.atan(h/v*2-1)-Math.atan(q.x/v*2-1))*180/Math.PI*e.hfov/90+N;S.yaw=(V-e.yaw)%360*.2,e.yaw=V;var ve=2*Math.atan(Math.tan(e.hfov/360*Math.PI)*W/v)*180/Math.PI,fe=(Math.atan(q.y/W*2-1)-Math.atan(o/W*2-1))*180/Math.PI*ve/90+_;S.pitch=(fe-e.pitch)*.2,e.pitch=fe}}function He(r){R&&(R=!1,Date.now()-M>15&&(S.pitch=S.yaw=0),F.classList.add("pnlm-grab"),F.classList.remove("pnlm-grabbing"),M=Date.now(),Qe("mouseup",r))}function Ve(r){if(!(!C||!e.draggable)){ht(),lt(),e.roll=0,S.hfov=0;var l=re(r.targetTouches[0]);if(h=l.x,o=l.y,r.targetTouches.length==2){var v=re(r.targetTouches[1]);h+=(v.x-l.x)*.5,o+=(v.y-l.y)*.5,E=Math.sqrt((l.x-v.x)*(l.x-v.x)+(l.y-v.y)*(l.y-v.y))}R=!0,M=Date.now(),N=e.yaw,_=e.pitch,Qe("touchstart",r),Ce()}}function Ye(r){if(e.draggable&&(r.preventDefault(),C&&(M=Date.now()),R&&C)){var l=re(r.targetTouches[0]),v=l.x,W=l.y;if(r.targetTouches.length==2&&E!=-1){var q=re(r.targetTouches[1]);v+=(q.x-l.x)*.5,W+=(q.y-l.y)*.5;var V=Math.sqrt((l.x-q.x)*(l.x-q.x)+(l.y-q.y)*(l.y-q.y));qe(e.hfov+(E-V)*.1),E=V}var ve=e.hfov/360*e.touchPanSpeedCoeffFactor,fe=(h-v)*ve+N;S.yaw=(fe-e.yaw)%360*.2,e.yaw=fe;var we=(W-o)*ve+_;S.pitch=(we-e.pitch)*.2,e.pitch=we}}function je(){R=!1,Date.now()-M>150&&(S.pitch=S.yaw=0),E=-1,M=Date.now(),Qe("touchend",event)}var Ee=[],Ne=[];function Oe(r){r.pointerType=="touch"&&(Ee.push(r.pointerId),Ne.push({clientX:r.clientX,clientY:r.clientY}),r.targetTouches=Ne,Ve(r),r.preventDefault())}function _e(r){if(r.pointerType=="touch"){for(var l=0;l<Ee.length;l++)if(r.pointerId==Ee[l]){Ne[l].clientX=r.clientX,Ne[l].clientY=r.clientY,r.targetTouches=Ne,Ye(r),r.preventDefault();return}}}function Le(r){if(r.pointerType=="touch"){for(var l=!1,v=0;v<Ee.length;v++)r.pointerId==Ee[v]&&(Ee[v]=a),Ee[v]&&(l=!0);l||(Ee=[],Ne=[],je()),r.preventDefault()}}function Ae(r){!C||e.mouseZoom=="fullscreenonly"&&!y||(r.preventDefault(),ht(),M=Date.now(),r.wheelDeltaY?(qe(e.hfov-r.wheelDeltaY*.05),S.hfov=r.wheelDelta<0?1:-1):r.wheelDelta?(qe(e.hfov-r.wheelDelta*.05),S.hfov=r.wheelDelta<0?1:-1):r.detail&&(qe(e.hfov+r.detail*1.5),S.hfov=r.detail>0?1:-1),Ce())}function Se(r){ht(),M=Date.now(),lt(),e.roll=0;var l=r.which||r.keycode;e.capturedKeyNumbers.indexOf(l)<0||(r.preventDefault(),l==27?y&&Et():Ie(l,!0))}function Ue(){for(var r=0;r<10;r++)w[r]=!1}function ze(r){var l=r.which||r.keycode;e.capturedKeyNumbers.indexOf(l)<0||(r.preventDefault(),Ie(l,!1))}function Ie(r,l){var v=!1;switch(r){case 109:case 189:case 17:case 173:w[0]!=l&&(v=!0),w[0]=l;break;case 107:case 187:case 16:case 61:w[1]!=l&&(v=!0),w[1]=l;break;case 38:w[2]!=l&&(v=!0),w[2]=l;break;case 87:w[6]!=l&&(v=!0),w[6]=l;break;case 40:w[3]!=l&&(v=!0),w[3]=l;break;case 83:w[7]!=l&&(v=!0),w[7]=l;break;case 37:w[4]!=l&&(v=!0),w[4]=l;break;case 65:w[8]!=l&&(v=!0),w[8]=l;break;case 39:w[5]!=l&&(v=!0),w[5]=l;break;case 68:w[9]!=l&&(v=!0),w[9]=l}v&&l&&(typeof performance<"u"&&performance.now()?$=performance.now():$=Date.now(),Ce())}function B(){if(C){var r=!1,l=e.pitch,v=e.yaw,W=e.hfov,q;typeof performance<"u"&&performance.now()?q=performance.now():q=Date.now(),$===a&&($=q);var V=(q-$)*e.hfov/1700;if(V=Math.min(V,1),w[0]&&e.keyboardZoom===!0&&(qe(e.hfov+(S.hfov*.8+.5)*V),r=!0),w[1]&&e.keyboardZoom===!0&&(qe(e.hfov+(S.hfov*.8-.2)*V),r=!0),(w[2]||w[6])&&(e.pitch+=(S.pitch*.8+.2)*V,r=!0),(w[3]||w[7])&&(e.pitch+=(S.pitch*.8-.2)*V,r=!0),(w[4]||w[8])&&(e.yaw+=(S.yaw*.8-.2)*V,r=!0),(w[5]||w[9])&&(e.yaw+=(S.yaw*.8+.2)*V,r=!0),r&&(M=Date.now()),e.autoRotate){if(q-$>.001){var ve=(q-$)/1e3,fe=(S.yaw/ve*V-e.autoRotate*.2)*ve;fe=(-e.autoRotate>0?1:-1)*Math.min(Math.abs(e.autoRotate*ve),Math.abs(fe)),e.yaw+=fe}e.autoRotateStopDelay&&(e.autoRotateStopDelay-=q-$,e.autoRotateStopDelay<=0&&(e.autoRotateStopDelay=!1,k=e.autoRotate,e.autoRotate=0))}if(H.pitch&&(ie("pitch"),l=e.pitch),H.yaw&&(ie("yaw"),v=e.yaw),H.hfov&&(ie("hfov"),W=e.hfov),V>0&&!e.autoRotate){var we=.85;!w[4]&&!w[5]&&!w[8]&&!w[9]&&!H.yaw&&(e.yaw+=S.yaw*V*we),!w[2]&&!w[3]&&!w[6]&&!w[7]&&!H.pitch&&(e.pitch+=S.pitch*V*we),!w[0]&&!w[1]&&!H.hfov&&qe(e.hfov+S.hfov*V*we)}if($=q,V>0){S.yaw=S.yaw*.8+(e.yaw-v)/V*.2,S.pitch=S.pitch*.8+(e.pitch-l)/V*.2,S.hfov=S.hfov*.8+(e.hfov-W)/V*.2;var ke=e.autoRotate?Math.abs(e.autoRotate):5;S.yaw=Math.min(ke,Math.max(S.yaw,-ke)),S.pitch=Math.min(ke,Math.max(S.pitch,-ke)),S.hfov=Math.min(ke,Math.max(S.hfov,-ke))}w[0]&&w[1]&&(S.hfov=0),(w[2]||w[6])&&(w[3]||w[7])&&(S.pitch=0),(w[4]||w[8])&&(w[5]||w[9])&&(S.yaw=0)}}function ie(r){var l=H[r],v=Math.min(1,Math.max((Date.now()-l.startTime)/1e3/(l.duration/1e3),0)),W=l.startPosition+e.animationTimingFunction(v)*(l.endPosition-l.startPosition);if(l.endPosition>l.startPosition&&W>=l.endPosition||l.endPosition<l.startPosition&&W<=l.endPosition||l.endPosition===l.startPosition){W=l.endPosition,S[r]=0;var q=H[r].callback,V=H[r].callbackArgs;delete H[r],typeof q=="function"&&q(V)}e[r]=W}function D(r){return r<.5?2*r*r:-1+(4-2*r)*r}function pe(){Je()}function Ce(){z||(z=!0,xe())}function xe(){if(Me(),A&&clearTimeout(A),R||Y===!0)requestAnimationFrame(xe);else if(w[0]||w[1]||w[2]||w[3]||w[4]||w[5]||w[6]||w[7]||w[8]||w[9]||e.autoRotate||H.pitch||H.yaw||H.hfov||Math.abs(S.yaw)>.01||Math.abs(S.pitch)>.01||Math.abs(S.hfov)>.01)B(),e.autoRotateInactivityDelay>=0&&k&&Date.now()-M>e.autoRotateInactivityDelay&&!e.autoRotate&&(e.autoRotate=k,x.lookAt(oe,a,G,3e3)),requestAnimationFrame(xe);else if(L&&(L.isLoading()||e.dynamic===!0&&O))requestAnimationFrame(xe);else{z=!1,$=a;var r=e.autoRotateInactivityDelay-(Date.now()-M);r>0?A=setTimeout(function(){e.autoRotate=k,x.lookAt(oe,a,G,3e3),Ce()},r):e.autoRotateInactivityDelay>=0&&k&&(e.autoRotate=k,x.lookAt(oe,a,G,3e3),Ce())}}function Me(){var r;if(C){e.yaw>180?e.yaw-=360:e.yaw<-180&&(e.yaw+=360),r=e.yaw;var l=0;if(e.avoidShowingBackground){var we=L.getCanvas(),v=e.hfov/2,W=Math.atan2(Math.tan(v/180*Math.PI),we.width/we.height)*180/Math.PI,q=e.vaov>e.haov;q?W*(1-Math.min(Math.cos((e.pitch-v)/180*Math.PI),Math.cos((e.pitch+v)/180*Math.PI))):l=v*(1-Math.min(Math.cos((e.pitch-W)/180*Math.PI),Math.cos((e.pitch+W)/180*Math.PI)))}var V=e.maxYaw-e.minYaw,ve=-180,fe=180;V<360&&(ve=e.minYaw+e.hfov/2+l,fe=e.maxYaw-e.hfov/2-l,V<e.hfov&&(ve=fe=(ve+fe)/2),e.yaw=Math.max(ve,Math.min(fe,e.yaw))),e.autoRotate!==!1&&r!=e.yaw&&$!==a&&(e.autoRotate*=-1);var we=L.getCanvas(),ke=2*Math.atan(Math.tan(e.hfov/180*Math.PI*.5)/(we.width/we.height))/Math.PI*180,ye=e.minPitch+ke/2,Ze=e.maxPitch-ke/2,Xe=e.maxPitch-e.minPitch;Xe<ke&&(ye=Ze=(ye+Ze)/2),isNaN(ye)&&(ye=-90),isNaN(Ze)&&(Ze=90),e.pitch=Math.max(ye,Math.min(Ze,e.pitch)),L.render(e.pitch*Math.PI/180,e.yaw*Math.PI/180,e.hfov*Math.PI/180,{roll:e.roll*Math.PI/180}),Gt(),e.compass&&(Q.style.transform="rotate("+(-e.yaw-e.northOffset)+"deg)",Q.style.webkitTransform="rotate("+(-e.yaw-e.northOffset)+"deg)"),e.onRender&&e.onRender()}}function ce(r,l,v,W){this.w=r,this.x=l,this.y=v,this.z=W}ce.prototype.multiply=function(r){return new ce(this.w*r.w-this.x*r.x-this.y*r.y-this.z*r.z,this.x*r.w+this.w*r.x+this.y*r.z-this.z*r.y,this.y*r.w+this.w*r.y+this.z*r.x-this.x*r.z,this.z*r.w+this.w*r.z+this.x*r.y-this.y*r.x)},ce.prototype.toEulerAngles=function(){var r=Math.atan2(2*(this.w*this.x+this.y*this.z),1-2*(this.x*this.x+this.y*this.y)),l=Math.asin(2*(this.w*this.y-this.z*this.x)),v=Math.atan2(2*(this.w*this.z+this.x*this.y),1-2*(this.y*this.y+this.z*this.z));return[r,l,v]};function Ir(r,l,v){var W=[l?l*Math.PI/180/2:0,v?v*Math.PI/180/2:0,r?r*Math.PI/180/2:0],q=[Math.cos(W[0]),Math.cos(W[1]),Math.cos(W[2])],V=[Math.sin(W[0]),Math.sin(W[1]),Math.sin(W[2])];return new ce(q[0]*q[1]*q[2]-V[0]*V[1]*V[2],V[0]*q[1]*q[2]-q[0]*V[1]*V[2],q[0]*V[1]*q[2]+V[0]*q[1]*V[2],q[0]*q[1]*V[2]+V[0]*V[1]*q[2])}function _r(r,l,v){var W=Ir(r,l,v);W=W.multiply(new ce(Math.sqrt(.5),-Math.sqrt(.5),0,0));var q=t.orientation?-t.orientation*Math.PI/180/2:0;return W.multiply(new ce(Math.cos(q),0,-Math.sin(q),0))}function Xt(r){var l=_r(r.alpha,r.beta,r.gamma).toEulerAngles();typeof Y=="number"&&Y<10?Y+=1:Y===10?(j=l[2]/Math.PI*180+e.yaw,Y=!0,requestAnimationFrame(xe)):(e.pitch=l[0]/Math.PI*180,e.roll=-l[1]/Math.PI*180,e.yaw=-l[2]/Math.PI*180+j)}function Tr(){try{var r={};e.horizonPitch!==a&&(r.horizonPitch=e.horizonPitch*Math.PI/180),e.horizonRoll!==a&&(r.horizonRoll=e.horizonRoll*Math.PI/180),e.backgroundColor!==a&&(r.backgroundColor=e.backgroundColor),L.init(P,e.type,e.dynamic,e.haov*Math.PI/180,e.vaov*Math.PI/180,e.vOffset*Math.PI/180,Sr,r),e.dynamic!==!0&&(P=a)}catch(l){if(l.type=="webgl error"||l.type=="no webgl")ee();else if(l.type=="webgl size error")ee(e.strings.textureSizeError.replace("%s",l.width).replace("%s",l.maxWidth));else throw ee(e.strings.unknownError),l}}function Sr(){if(e.sceneFadeDuration&&L.fadeImg!==a){L.fadeImg.style.opacity=0;var r=L.fadeImg;delete L.fadeImg,setTimeout(function(){he.removeChild(r),Qe("scenechangefadedone")},e.sceneFadeDuration)}e.compass?Q.style.display="inline":Q.style.display="none",Pr(),T.load.box.style.display="none",I!==a&&(he.removeChild(I),I=a),C=!0,Qe("load"),Ce()}function Yt(r){r.pitch=Number(r.pitch)||0,r.yaw=Number(r.yaw)||0;var l=s.createElement("div");l.className="pnlm-hotspot-base",r.cssClass?l.className+=" "+r.cssClass:l.className+=" pnlm-hotspot pnlm-sprite pnlm-"+nt(r.type);var v=s.createElement("span");r.text&&(v.innerHTML=nt(r.text));var W;if(r.video){var q=s.createElement("video"),V=r.video;e.basePath&&!f(V)&&(V=e.basePath+V),q.src=ot(V),q.controls=!0,q.style.width=r.width+"px",he.appendChild(l),v.appendChild(q)}else if(r.image){var V=r.image;e.basePath&&!f(V)&&(V=e.basePath+V),W=s.createElement("a"),W.href=ot(r.URL?r.URL:V),W.target="_blank",v.appendChild(W);var ve=s.createElement("img");ve.src=ot(V),ve.style.width=r.width+"px",ve.style.paddingTop="5px",he.appendChild(l),W.appendChild(ve),v.style.maxWidth="initial"}else r.URL?(W=s.createElement("a"),W.href=ot(r.URL),W.target="_blank",he.appendChild(W),l.className+=" pnlm-pointer",v.className+=" pnlm-pointer",W.appendChild(l)):(r.sceneId&&(l.onclick=l.ontouchend=function(){return l.clicked||(l.clicked=!0,Lt(r.sceneId,r.targetPitch,r.targetYaw,r.targetHfov)),!1},l.className+=" pnlm-pointer",v.className+=" pnlm-pointer"),he.appendChild(l));r.createTooltipFunc?r.createTooltipFunc(l,r.createTooltipArgs):(r.text||r.video||r.image)&&(l.classList.add("pnlm-tooltip"),l.appendChild(v),v.style.width=v.scrollWidth-20+"px",v.style.marginLeft=-(v.scrollWidth-l.offsetWidth)/2+"px",v.style.marginTop=-v.scrollHeight-12+"px"),r.clickHandlerFunc&&(l.addEventListener("click",function(fe){r.clickHandlerFunc(fe,r.clickHandlerArgs)},"false"),l.className+=" pnlm-pointer",v.className+=" pnlm-pointer"),r.div=l}function Pr(){X||(e.hotSpots?(e.hotSpots=e.hotSpots.sort(function(r,l){return r.pitch<l.pitch}),e.hotSpots.forEach(Yt)):e.hotSpots=[],X=!0,Gt())}function Nr(){var r=e.hotSpots;if(X=!1,delete e.hotSpots,r)for(var l=0;l<r.length;l++){for(var v=r[l].div;v.parentNode!=he;)v=v.parentNode;he.removeChild(v),delete r[l].div}}function Zt(r){var l=Math.sin(r.pitch*Math.PI/180),v=Math.cos(r.pitch*Math.PI/180),W=Math.sin(e.pitch*Math.PI/180),q=Math.cos(e.pitch*Math.PI/180),V=Math.cos((-r.yaw+e.yaw)*Math.PI/180),ve=l*W+v*V*q;if(r.yaw<=90&&r.yaw>-90&&ve<=0||(r.yaw>90||r.yaw<=-90)&&ve<=0)r.div.style.visibility="hidden";else{var fe=Math.sin((-r.yaw+e.yaw)*Math.PI/180),we=Math.tan(e.hfov*Math.PI/360);r.div.style.visibility="visible";var ke=L.getCanvas(),ye=ke.clientWidth,Ze=ke.clientHeight,Xe=[-ye/we*fe*v/ve/2,-ye/we*(l*q-v*V*W)/ve/2],et=Math.sin(e.roll*Math.PI/180),$t=Math.cos(e.roll*Math.PI/180);Xe=[Xe[0]*$t-Xe[1]*et,Xe[0]*et+Xe[1]*$t],Xe[0]+=(ye-r.div.offsetWidth)/2,Xe[1]+=(Ze-r.div.offsetHeight)/2;var Mt="translate("+Xe[0]+"px, "+Xe[1]+"px) translateZ(9999px) rotate("+e.roll+"deg)";r.div.style.webkitTransform=Mt,r.div.style.MozTransform=Mt,r.div.style.transform=Mt}}function Gt(){e.hotSpots.forEach(Zt)}function pt(r){e={};var l,v,W=["haov","vaov","vOffset","northOffset","horizonPitch","horizonRoll"];J=[];for(l in se)se.hasOwnProperty(l)&&(e[l]=se[l]);for(l in u.default)if(u.default.hasOwnProperty(l))if(l=="strings")for(v in u.default.strings)u.default.strings.hasOwnProperty(v)&&(e.strings[v]=nt(u.default.strings[v]));else e[l]=u.default[l],W.indexOf(l)>=0&&J.push(l);if(r!==null&&r!==""&&u.scenes&&u.scenes[r]){var q=u.scenes[r];for(l in q)if(q.hasOwnProperty(l))if(l=="strings")for(v in q.strings)q.strings.hasOwnProperty(v)&&(e.strings[v]=nt(q.strings[v]));else e[l]=q[l],W.indexOf(l)>=0&&J.push(l);e.scene=r}for(l in u)if(u.hasOwnProperty(l))if(l=="strings")for(v in u.strings)u.strings.hasOwnProperty(v)&&(e.strings[v]=nt(u.strings[v]));else e[l]=u[l],W.indexOf(l)>=0&&J.push(l)}function yt(r){if(r=r||!1,r&&"preview"in e){var l=e.preview;e.basePath&&!f(l)&&(l=e.basePath+l),I=s.createElement("div"),I.className="pnlm-preview-img",I.style.backgroundImage="url('"+Ar(l)+"')",he.appendChild(I)}var v=e.title,W=e.author;r&&("previewTitle"in e&&(e.title=e.previewTitle),"previewAuthor"in e&&(e.author=e.previewAuthor)),e.hasOwnProperty("title")||(T.title.innerHTML=""),e.hasOwnProperty("author")||(T.author.innerHTML=""),!e.hasOwnProperty("title")&&!e.hasOwnProperty("author")&&(T.container.style.display="none"),Z.load.innerHTML="<p>"+e.strings.loadButtonLabel+"</p>",T.load.boxp.innerHTML=e.strings.loadingLabel;for(var q in e)if(e.hasOwnProperty(q))switch(q){case"title":T.title.innerHTML=nt(e[q]),T.container.style.display="inline";break;case"author":T.author.innerHTML=e.strings.bylineLabel.replace("%s",nt(e[q])),T.container.style.display="inline";break;case"fallback":var V=s.createElement("a");V.href=ot(e[q]),V.target="_blank",V.textContent="Click here to view this panorama in an alternative viewer.";var ve=s.createElement("p");ve.textContent="Your browser does not support WebGL.",ve.appendChild(s.createElement("br")),ve.appendChild(V),T.errorMsg.innerHTML="",T.errorMsg.appendChild(ve);break;case"hfov":qe(Number(e[q]));break;case"autoLoad":e[q]===!0&&L===a&&(T.load.box.style.display="inline",Z.load.style.display="none",c());break;case"showZoomCtrl":e[q]&&e.showControls!=!1?Z.zoom.style.display="block":Z.zoom.style.display="none";break;case"showFullscreenCtrl":e[q]&&e.showControls!=!1&&("fullscreen"in s||"mozFullScreen"in s||"webkitIsFullScreen"in s||"msFullscreenElement"in s)?Z.fullscreen.style.display="block":Z.fullscreen.style.display="none";break;case"hotSpotDebug":e[q]?me.style.display="block":me.style.display="none";break;case"showControls":e[q]||(Z.orientation.style.display="none",Z.zoom.style.display="none",Z.fullscreen.style.display="none");break;case"orientationOnByDefault":e[q]&&(be===a?Re=!0:be===!0&&mt());break}r&&(v?e.title=v:delete e.title,W?e.author=W:delete e.author)}function Et(){if(C&&!m)if(y)s.exitFullscreen?s.exitFullscreen():s.mozCancelFullScreen?s.mozCancelFullScreen():s.webkitCancelFullScreen?s.webkitCancelFullScreen():s.msExitFullscreen&&s.msExitFullscreen();else try{d.requestFullscreen?d.requestFullscreen():d.mozRequestFullScreen?d.mozRequestFullScreen():d.msRequestFullscreen?d.msRequestFullscreen():d.webkitRequestFullScreen()}catch{}}function Je(){var r=t.innerWidth==screen.width&&t.innerHeight==screen.height;s.fullscreen||s.mozFullScreen||s.webkitIsFullScreen||s.msFullscreenElement||r?(Z.fullscreen.classList.add("pnlm-fullscreen-toggle-button-active"),y=!0):(Z.fullscreen.classList.remove("pnlm-fullscreen-toggle-button-active"),y=!1),L.resize(),qe(e.hfov),Ce()}function Rr(){C&&(qe(e.hfov-5),Ce())}function jr(){C&&(qe(e.hfov+5),Ce())}function qt(r){var l=e.minHfov;if(e.type=="multires"&&L&&(l=Math.min(l,L.getCanvas().width/(e.multiRes.cubeResolution/90*.9))),l>e.maxHfov)return console.log("HFOV bounds do not make sense (minHfov > maxHfov)."),e.hfov;var v=e.hfov;if(r<l?v=l:r>e.maxHfov?v=e.maxHfov:v=r,e.avoidShowingBackground&&L){var W=L.getCanvas();v=Math.min(v,Math.atan(Math.tan((e.maxPitch-e.minPitch)/360*Math.PI)/W.height*W.width)*360/Math.PI)}return v}function qe(r){e.hfov=qt(r)}function ht(){H={},k=e.autoRotate?e.autoRotate:k,e.autoRotate=!1}function Kt(){g(),C=!1,Z.load.style.display="none",T.load.box.style.display="inline",c()}function Lt(r,l,v,W,q){C=!1,H={};var V,ve,fe,we;if(e.sceneFadeDuration&&!q){var ke=L.render(e.pitch*Math.PI/180,e.yaw*Math.PI/180,e.hfov*Math.PI/180,{returnImage:!0});if(ke!==a){V=new Image,V.className="pnlm-fade-img",V.style.transition="opacity "+e.sceneFadeDuration/1e3+"s",V.style.width="100%",V.style.height="100%",V.onload=function(){Lt(r,l,v,W,!0)},V.src=ke,he.appendChild(V),L.fadeImg=V;return}}l==="same"?ve=e.pitch:ve=l,v==="same"?fe=e.yaw:v==="sameAzimuth"?fe=e.yaw+(e.northOffset||0)-(u.scenes[r].northOffset||0):fe=v,W==="same"?we=e.hfov:we=W,Nr(),pt(r),S.yaw=S.pitch=S.hfov=0,yt(),ve!==a&&(e.pitch=ve),fe!==a&&(e.yaw=fe),we!==a&&(e.hfov=we),Qe("scenechange",r),Kt()}function lt(){t.removeEventListener("deviceorientation",Xt),Z.orientation.classList.remove("pnlm-orientation-button-active"),Y=!1}function mt(){Y=1,t.addEventListener("deviceorientation",Xt),Z.orientation.classList.add("pnlm-orientation-button-active")}function nt(r){return u.escapeHTML?String(r).split(/&/g).join("&").split('"').join(""").split("'").join("'").split("<").join("<").split(">").join(">").split("/").join("/").split(`
|
|
5
5
|
`).join("<br>"):String(r).split(`
|
|
6
|
-
`).join("<br>")}function ot(r){return r.trim().toLowerCase().indexOf("javascript:")===0?"about:blank":r}function Ar(r){return ot(r).replace(/"/g,"%22").replace(/'/g,"%27")}this.isLoaded=function(){return!!C},this.getPitch=function(){return e.pitch},this.setPitch=function(r,l,v,W){return l=l==a?1e3:Number(l),l?H.pitch={startTime:Date.now(),startPosition:e.pitch,endPosition:r,duration:l,callback:v,callbackArgs:W}:e.pitch=r,Ce(),this},this.getPitchBounds=function(){return[e.minPitch,e.maxPitch]},this.setPitchBounds=function(r){return e.minPitch=Math.max(-90,Math.min(r[0],90)),e.maxPitch=Math.max(-90,Math.min(r[1],90)),this},this.getYaw=function(){return e.yaw},this.setYaw=function(r,l,v,W){return l=l==a?1e3:Number(l),r=(r+180)%360-180,l?(e.yaw-r>180?r+=360:r-e.yaw>180&&(r-=360),H.yaw={startTime:Date.now(),startPosition:e.yaw,endPosition:r,duration:l,callback:v,callbackArgs:W}):e.yaw=r,Ce(),this},this.getYawBounds=function(){return[e.minYaw,e.maxYaw]},this.setYawBounds=function(r){return e.minYaw=Math.max(-180,Math.min(r[0],180)),e.maxYaw=Math.max(-180,Math.min(r[1],180)),this},this.getHfov=function(){return e.hfov},this.setHfov=function(r,l,v,W){return l=l==a?1e3:Number(l),l?H.hfov={startTime:Date.now(),startPosition:e.hfov,endPosition:qt(r),duration:l,callback:v,callbackArgs:W}:qe(r),Ce(),this},this.getHfovBounds=function(){return[e.minHfov,e.maxHfov]},this.setHfovBounds=function(r){return e.minHfov=Math.max(0,r[0]),e.maxHfov=Math.max(0,r[1]),this},this.lookAt=function(r,l,v,W,q,V){return W=W==a?1e3:Number(W),r!==a&&(this.setPitch(r,W,q,V),q=a),l!==a&&(this.setYaw(l,W,q,V),q=a),v!==a&&this.setHfov(v,W,q,V),this},this.getNorthOffset=function(){return e.northOffset},this.setNorthOffset=function(r){return e.northOffset=Math.min(360,Math.max(0,r)),Ce(),this},this.getHorizonRoll=function(){return e.horizonRoll},this.setHorizonRoll=function(r){return e.horizonRoll=Math.min(90,Math.max(-90,r)),L.setPose(e.horizonPitch*Math.PI/180,e.horizonRoll*Math.PI/180),Ce(),this},this.getHorizonPitch=function(){return e.horizonPitch},this.setHorizonPitch=function(r){return e.horizonPitch=Math.min(90,Math.max(-90,r)),L.setPose(e.horizonPitch*Math.PI/180,e.horizonRoll*Math.PI/180),Ce(),this},this.startAutoRotate=function(r){return r=r||k||1,e.autoRotate=r,x.lookAt(oe,a,G,3e3),Ce(),this},this.stopAutoRotate=function(){return k=e.autoRotate?e.autoRotate:k,e.autoRotate=!1,e.autoRotateInactivityDelay=-1,this},this.getRenderer=function(){return L},this.setUpdate=function(r){return O=r===!0,L===a?K():Ce(),this},this.mouseEventToCoords=function(r){return De(r)},this.loadScene=function(r,l,v,W){return C!==!1&&Lt(r,l,v,W),this},this.getScene=function(){return e.scene},this.addScene=function(r,l){return u.scenes[r]=l,this},this.removeScene=function(r){return e.scene===r||!u.scenes.hasOwnProperty(r)?!1:(delete u.scenes[r],!0)},this.toggleFullscreen=function(){return Et(),this},this.getConfig=function(){return e},this.getContainer=function(){return d},this.addHotSpot=function(r,l){if(l===a&&e.scene===a)e.hotSpots.push(r);else{var v=l!==a?l:e.scene;if(u.scenes.hasOwnProperty(v))u.scenes[v].hasOwnProperty("hotSpots")||(u.scenes[v].hotSpots=[],v==e.scene&&(e.hotSpots=u.scenes[v].hotSpots)),u.scenes[v].hotSpots.push(r);else throw"Invalid scene ID!"}return(l===a||e.scene==l)&&(Yt(r),C&&Zt(r)),this},this.removeHotSpot=function(r,l){if(l===a||e.scene==l){if(!e.hotSpots)return!1;for(var v=0;v<e.hotSpots.length;v++)if(e.hotSpots[v].hasOwnProperty("id")&&e.hotSpots[v].id===r){for(var W=e.hotSpots[v].div;W.parentNode!=he;)W=W.parentNode;return he.removeChild(W),delete e.hotSpots[v].div,e.hotSpots.splice(v,1),!0}}else if(u.scenes.hasOwnProperty(l)){if(!u.scenes[l].hasOwnProperty("hotSpots"))return!1;for(var v=0;v<u.scenes[l].hotSpots.length;v++)if(u.scenes[l].hotSpots[v].hasOwnProperty("id")&&u.scenes[l].hotSpots[v].id===r)return u.scenes[l].hotSpots.splice(v,1),!0}else return!1},this.resize=function(){L&&pe()},this.isLoaded=function(){return C},this.isOrientationSupported=function(){return be||!1},this.stopOrientation=function(){lt()},this.startOrientation=function(){be&&mt()},this.isOrientationActive=function(){return!!Y},this.on=function(r,l){return U[r]=U[r]||[],U[r].push(l),this},this.off=function(r,l){if(!r)return U={},this;if(l){var v=U[r].indexOf(l);v>=0&&U[r].splice(v,1),U[r].length==0&&delete U[r]}else delete U[r];return this};function Qe(r){if(r in U)for(var l=U[r].length;l>0;l--)U[r][U[r].length-l].apply(null,[].slice.call(arguments,1))}this.destroy=function(){L&&L.destroy(),b&&(ue.removeEventListener("mousedown",ge,!1),ue.removeEventListener("dblclick",de,!1),s.removeEventListener("mousemove",Pe,!1),s.removeEventListener("mouseup",He,!1),d.removeEventListener("mousewheel",Ae,!1),d.removeEventListener("DOMMouseScroll",Ae,!1),d.removeEventListener("mozfullscreenchange",Je,!1),d.removeEventListener("webkitfullscreenchange",Je,!1),d.removeEventListener("msfullscreenchange",Je,!1),d.removeEventListener("fullscreenchange",Je,!1),t.removeEventListener("resize",pe,!1),t.removeEventListener("orientationchange",pe,!1),d.removeEventListener("keydown",Se,!1),d.removeEventListener("keyup",ze,!1),d.removeEventListener("blur",Ue,!1),s.removeEventListener("mouseleave",He,!1),ue.removeEventListener("touchstart",Ve,!1),ue.removeEventListener("touchmove",Ye,!1),ue.removeEventListener("touchend",je,!1),ue.removeEventListener("pointerdown",Oe,!1),ue.removeEventListener("pointermove",_e,!1),ue.removeEventListener("pointerup",Le,!1),ue.removeEventListener("pointerleave",Le,!1)),d.innerHTML="",d.classList.remove("pnlm-container"),F.classList.remove("pnlm-grab"),F.classList.remove("pnlm-grabbing")}}return{viewer:function(u,x){return new p(u,x)}}})(window,document);window.requestAnimationFrame||(window.requestAnimationFrame=(function(){return window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t,s){window.setTimeout(t,1e3/60)}})());function Yn(t,s,a){const p=i.useRef(null),d=i.useRef(a);return d.current=a,i.useEffect(()=>{const u=t.current;if(!u)return;const x=window.pannellum;if(!x){console.error("[InteriorThreeSixty] pannellum global not available"),d.current.onError?.();return}const e=x.viewer(u,{type:"equirectangular",panorama:s.image,preview:s.preview,pitch:Bn,yaw:Vn,hfov:Wn,maxHfov:it,minHfov:ut,compass:!1,showControls:!1,keyboardZoom:!1,autoLoad:s.autoLoad});return p.current=e,e.on("load",()=>d.current.onLoad?.()),e.on("error",()=>d.current.onError?.()),e.on("mousedown",(...L)=>d.current.onMousedown?.(L[0])),e.on("mouseup",(...L)=>d.current.onMouseup?.(L[0])),e.on("touchstart",(...L)=>d.current.onTouchstart?.(L[0])),e.on("touchend",(...L)=>d.current.onTouchend?.(L[0])),()=>{p.current=null,e.destroy()}},[s.image,s.preview,s.autoLoad]),p}function Zn(t,s=50,a=200){let p=null,d=0;return(...u)=>{const x=Date.now();p&&(clearTimeout(p),p=null),x-d>=s&&(t(...u),d=x),p=setTimeout(()=>{t(...u)},a)}}const Gn=({className:t})=>n.jsx(We,{className:t,customizationKey:"UI_INTERIOR_360_PLAY",children:n.jsx("svg",{className:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:n.jsx("polygon",{points:"6 3 20 12 6 21 6 3"})})}),qn=({itemIndex:t,isPannellumLoaded:s,isLoading:a,progress:p,autoloadInterior360:d,loadScene:u})=>{const{emitAnalyticsEvent:x}=Fe(),{displayedCategoryId:e,displayedCategoryName:L}=Be(),I=i.useCallback(M=>{x({type:"interaction",current:{category_id:e,category_name:L,item_type:"interior-360",item_position:t},action:{name:"Interior 360 Play",field:"interior_360_play",value:M}})},[x,e,L,t]),R=i.useCallback(()=>{u(),I("click")},[u,I]);return i.useEffect(()=>{d&&(u(),I("auto"))},[d,u,I]),s?null:n.jsx("div",{className:"pointer-events-auto absolute inset-0 flex flex-col items-center justify-center gap-y-4",children:n.jsxs("div",{className:"pointer-events-auto absolute inset-0 flex flex-col items-center justify-center gap-y-4 bg-foreground/35",children:[n.jsx(Cr,{className:"size-20"}),n.jsx(Ge,{color:"neutral",shape:"icon",onClick:R,children:n.jsx(Gn,{className:"size-full"})}),n.jsx("div",{className:le("relative h-1 w-3/5 overflow-hidden rounded-full bg-background",!a&&"invisible"),children:n.jsx("div",{className:"h-full bg-primary transition-[width]",style:{width:`${p}%`}})})]})})},Kn=t=>{const{itemIndex:s,src:a,poster:p,onLoaded:d,onError:u,onlyPreload:x}=t,{autoLoadInterior360:e}=Fe(),{isShowingDetails:L,zoom:I,setZoom:R}=Be(),[M,h]=Xn(a),o=i.useRef(null),[E,N]=i.useState(!1),[_,w]=i.useState(e);i.useEffect(()=>{e&&w(!0)},[e]);const y=i.useCallback(()=>{d?.(),N(!0)},[d]),C=i.useCallback(P=>{P instanceof MouseEvent&&P.button!==0||(P.preventDefault(),P.stopPropagation(),P.stopImmediatePropagation())},[]),m=i.useCallback(()=>{w(!0)},[]),b=Yn(o,{image:a,preview:p,autoLoad:_},{onLoad:y,onError:u,onMousedown:C,onMouseup:C,onTouchstart:C,onTouchend:C});return i.useEffect(()=>{if(x)return;const P=b.current;if(!P||!E)return;const $=1,S=Ke((I-$)/(tt-$),0,1),z=Ke(it-S*(it-ut),ut,it);P.setHfov(z)},[I,E,b,x]),i.useEffect(()=>{if(x)return;const P=o.current;if(!P||!E)return;const S=Zn(Y=>{Y.preventDefault();const j=b.current;if(!j)return;const A=Jt(j.getHfov(),ut,it,tt,st),G=(Y.deltaY<0?"zoom-in":"zoom-out")==="zoom-in"?Math.min(A+st,tt):Math.max(A-st,1);R(G)},100,150),z=Y=>{Y.preventDefault();const j=b.current;if(!j)return;const A=Jt(j.getHfov(),ut,it,tt,st,!0);R(A)};return P.addEventListener("wheel",S),P.addEventListener("dblclick",z),()=>{P.removeEventListener("wheel",S),P.removeEventListener("dblclick",z)}},[E,R,b,x]),n.jsx("div",{className:le("relative aspect-[4/3] w-full overflow-hidden bg-transparent"),children:n.jsxs("div",{className:le("size-full",L?"scale-105":"scale-100"),children:[n.jsx("div",{ref:o,className:"size-full"}),n.jsx(qn,{isPannellumLoaded:E,isLoading:h,progress:M,autoloadInterior360:e,loadScene:m,itemIndex:s})]})})},$n=t=>{const{itemIndex:s}=t,{setItemInteraction:a}=Be(),[p,d]=i.useState(),u=i.useCallback(()=>{d("spin")},[]),x=i.useCallback(()=>{d("error")},[]);return i.useEffect(()=>{p===null||p==="error"||a(s,p==="spin"?"running":"ready")},[s,a,p]),p==="error"?n.jsx(bt,{className:"text-background",text:"Interior Spin could not be loaded"}):n.jsx(Kn,{...t,onLoaded:u,onError:x})},Mr="data:image/svg+xml,%3csvg%20width='90'%20height='57'%20viewBox='0%200%20138%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='137.164'%20height='48'%20rx='24'%20fill='white'%20fill-opacity='0.65'/%3e%3cpath%20d='M31%2030L25%2024L31%2018'%20stroke='%231B5DF5'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M51.1368%2034C47.4684%2034%2045.2139%2032.4218%2044.3068%2030.5385C44.0934%2030.1008%2044%2029.6764%2044%2029.2785C44%2028.244%2044.667%2027.5942%2045.7742%2027.5942C46.5746%2027.5942%2047.0815%2027.9125%2047.4817%2028.6419C48.162%2029.9814%2049.2026%2030.7772%2051.2035%2030.7772C53.1779%2030.7772%2054.5385%2029.6366%2054.5385%2028.0451C54.5519%2026.1883%2053.1779%2025.1538%2050.8434%2025.1538H50.003C49.0291%2025.1538%2048.4689%2024.5836%2048.4689%2023.7215C48.4689%2022.8859%2049.0291%2022.3024%2050.003%2022.3024H50.79C52.8043%2022.3024%2054.1116%2021.2149%2054.1116%2019.6499C54.1116%2018.1114%2053.0711%2017.0902%2051.1235%2017.0902C49.496%2017.0902%2048.5089%2017.7666%2047.8819%2019.1194C47.4417%2020.0212%2046.9748%2020.3528%2046.0677%2020.3528C44.9471%2020.3528%2044.3735%2019.7029%2044.3735%2018.7347C44.3735%2018.2838%2044.4669%2017.8992%2044.667%2017.4483C45.5207%2015.5782%2047.7085%2014.0133%2051.1102%2014.0133C55.1788%2014.0133%2057.9269%2016.0159%2057.9269%2019.0796C57.9269%2021.5066%2056.1793%2023.0981%2053.9115%2023.5623V23.6419C56.7796%2023.9072%2058.6339%2025.5782%2058.6339%2028.2175C58.6339%2031.6923%2055.6057%2034%2051.1368%2034Z'%20fill='%231B5DF5'/%3e%3cpath%20d='M68.7388%2034C65.684%2034%2063.2561%2032.5809%2061.8421%2029.7692C61.1084%2028.2838%2060.7082%2026.3873%2060.7082%2024.1592C60.7082%2017.8196%2063.7497%2014%2068.7522%2014C71.9404%2014%2074.2349%2015.3395%2075.142%2017.13C75.3287%2017.5013%2075.4221%2017.8462%2075.4221%2018.2042C75.4221%2019.0928%2074.7951%2019.7825%2073.7413%2019.7825C72.9409%2019.7825%2072.4606%2019.4377%2071.8737%2018.7613C70.9933%2017.6605%2070.0595%2017.1698%2068.7388%2017.1698C65.9908%2017.1698%2064.5901%2019.7692%2064.5634%2023.8541V24.0531H64.6435C65.3905%2022.2759%2067.2848%2020.9761%2069.886%2020.9761C73.6079%2020.9761%2076.1558%2023.6154%2076.1558%2027.2095C76.1558%2031.1751%2073.0343%2034%2068.7388%2034ZM68.6855%2030.817C70.6598%2030.817%2072.2205%2029.305%2072.2339%2027.382C72.2339%2025.366%2070.7531%2023.9337%2068.7255%2023.9337C66.6845%2023.9337%2065.1637%2025.3528%2065.1637%2027.3024C65.1637%2029.2785%2066.7111%2030.817%2068.6855%2030.817Z'%20fill='%231B5DF5'/%3e%3cpath%20d='M85.3201%2034C80.4377%2034%2077.4629%2030.1671%2077.4629%2023.9735C77.4629%2017.7931%2080.4644%2014%2085.3201%2014C90.1758%2014%2093.164%2017.7798%2093.164%2023.9602C93.164%2030.1406%2090.2025%2034%2085.3201%2034ZM85.3201%2030.7905C87.6946%2030.7905%2089.0686%2028.3634%2089.0686%2023.9735C89.0686%2019.6101%2087.6813%2017.2095%2085.3201%2017.2095C82.9723%2017.2095%2081.5583%2019.6233%2081.5583%2023.9735C81.5583%2028.3634%2082.9456%2030.7905%2085.3201%2030.7905Z'%20fill='%231B5DF5'/%3e%3cpath%20d='M106.164%2030L112.164%2024L106.164%2018'%20stroke='%231B5DF5'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",kr=({className:t})=>n.jsx(We,{className:t,customizationKey:"UI_360_PLAY",children:n.jsx("svg",{className:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:n.jsx("polygon",{points:"6 3 20 12 6 21 6 3"})})}),Jn=750,Qn=1250,eo=360,to=480,ro=(t,s,a)=>({cursor:`url("${t}") ${s.x} ${s.y}, ${a}`}),no=({images:t,onlyPreload:s})=>{const{demoSpin:a,reverse360:p,spinCursor:d,themeConfig:u}=Fe(),{isShowingDetails:x,isZooming:e}=Be(),L=i.useMemo(()=>ft(u),[u]),I=e||x,R=i.useRef(null),M=i.useRef(null),[h,o]=i.useState(!1),[E,N]=i.useState("default"),_=d==="grab"&&h?"grabbing":d,w=L?.cursor?(()=>{const A=E==="left"?"leftSpin":E==="right"?"rightSpin":"default",k=L.cursor[A];return ro(k.url,k.hotspot,_)})():_===Ft?{cursor:`url("${Mr}") 45 28, ew-resize`}:{cursor:_},y=i.useRef(a),C=i.useRef(null),m=i.useCallback(()=>{C.current&&(clearTimeout(C.current),C.current=null)},[]),b=i.useRef(null),P=()=>{b.current&&(cancelAnimationFrame(b.current),b.current=null)},[$,S]=i.useState(0),z=t.length,Y=i.useCallback(()=>{S(A=>(A-1+z)%z)},[z]),j=i.useCallback(()=>{S(A=>(A+1)%z)},[z]);return i.useEffect(()=>{if(I){m();return}const A=R.current,k=M.current;if(!A||!k)return;y.current&&(y.current=!1,C.current=setTimeout(()=>{const Q=Date.now(),c=()=>{const f=()=>{const te=(Date.now()-Q)/Qn,g=Math.round((re=>re*(2-re))(te)*z),ne=Ke(g%z,0,z-1);S(ne),!(g>=z)&&c()};b.current=requestAnimationFrame(f)};c()},Jn));const G=eo/z;let oe=null,H=[];const U=Q=>{H.push(Q),H.length>20&&H.shift()},J=()=>{const Q=(()=>{const ee=Date.now(),g=H.filter(ge=>ee-ge.timestamp<50);if(g.length<2)return 0;const ne=g[0],re=g[g.length-1];return(re.value-ne.value)/(.001*Math.max(re.timestamp-ne.timestamp,1))})(),c=Date.now();let f=0,K=c;const te=()=>{const ee=()=>{const g=Date.now(),ne=(g-c)/1e3,re=Math.pow(.05,ne),ge=Q*re,de=(g-K)/1e3;if(f+=ge*de,Math.abs(ge)<5*G&&Math.abs(f)<G){b.current=null;return}Math.abs(f)>=G&&(f>0!==p?j():Y(),f=0),K=g,te()};b.current=requestAnimationFrame(ee)};te()},O=()=>{m(),P()};o(!1);const X=Q=>{if(Q.button!==0)return;Q.preventDefault(),Q.stopPropagation(),O(),o(!0),N("default");const c=Q.clientX;oe=c,H=[{timestamp:Date.now(),value:c}]},se=Q=>{if(oe===null)return;Q.stopPropagation();const{clientX:c}=Q;U({timestamp:Date.now(),value:c});const f=c-oe;f!==0&&L?.cursor&&N(f<0?"left":"right"),!(Math.abs(f)<G)&&(f>0!==p?j():Y(),oe=c)},F=()=>{oe!==null&&(oe=null,o(!1),N("default"),J())};A.addEventListener("mousedown",X),document.addEventListener("mousemove",se),document.addEventListener("mouseleave",F),document.addEventListener("mouseup",F),document.addEventListener("contextmenu",F);const he=to/z,ue=()=>k.getBoundingClientRect().width,ae=()=>k.scrollWidth/2-ue()/2,T=()=>{const Q=ae();k.scrollLeft=Q};T();const me=()=>{const Q=k.scrollLeft-ae();Math.abs(Q)<he||(Q<0!==p?j():Y(),T())};k.addEventListener("scroll",me);let Z=null;const be=Q=>{if(Z!==null||Q.changedTouches.length!==1)return;O(),o(!0),N("default");const{identifier:c,clientX:f}=Q.changedTouches[0];Z=c,oe=f,H=[{timestamp:Date.now(),value:f}]},Re=Q=>{if(oe===null)return;const c=Array.from(Q.changedTouches).find(({identifier:te})=>te===Z);if(!c)return;Q.preventDefault();const{clientX:f}=c;U({timestamp:Date.now(),value:f});const K=f-oe;K!==0&&L?.cursor&&N(K<0?"left":"right"),!(Math.abs(K)<G)&&(K>0!==p?j():Y(),oe=f)},Te=Q=>{oe===null||!Array.from(Q.changedTouches).some(({identifier:f})=>f===Z)||(Z=null,oe=null,o(!1),N("default"),J())};return k.addEventListener("touchstart",be,{passive:!1}),k.addEventListener("touchmove",Re,{passive:!1}),k.addEventListener("touchend",Te),k.addEventListener("touchcancel",Te),()=>{m(),P(),o(!1),A.removeEventListener("mousedown",X),document.removeEventListener("mousemove",se),document.removeEventListener("mouseleave",F),document.removeEventListener("mouseup",F),document.removeEventListener("contextmenu",F),k.removeEventListener("scroll",me),k.removeEventListener("touchstart",be),k.removeEventListener("touchmove",Re),k.removeEventListener("touchend",Te),k.removeEventListener("touchcancel",Te)}},[m,j,Y,I,p,L,z]),n.jsx("div",{ref:R,style:w,children:n.jsxs("div",{ref:M,className:"overflow-x-scroll",children:[n.jsxs("div",{className:"sticky left-0 top-0",children:[t.map(A=>n.jsx($e,{src:A.src,className:"pointer-events-none !absolute left-0 top-0 -z-10"},A.src)),n.jsx(Bt,{...t[$],onlyPreload:s,itemIndex:-1})]}),n.jsx("div",{className:"pointer-events-none -mt-px h-px w-[calc(100%+1024px)]"})]})})},oo=({itemIndex:t,images:s,onPlaceholderImageLoaded:a,onSpinImagesLoaded:p,onError:d})=>{const{autoLoad360:u,emitAnalyticsEvent:x,themeConfig:e}=Fe(),{displayedCategoryId:L,displayedCategoryName:I}=Be(),R=i.useMemo(()=>ft(e),[e]),M=i.useMemo(()=>s.map(({src:y})=>y),[s]),[h,o]=i.useState(null),E=h?[...h.values()].filter(y=>y).length/s.length*100:null,N=i.useCallback(y=>{E===null&&(o(new Map(M.map(C=>[C,!1]))),x({type:"interaction",current:{category_id:L,category_name:I,item_type:"next360",item_position:t},action:{name:"Next 360 Play",field:"next360_play",value:y}}))},[E,M,x,L,I,t]),_=i.useCallback(()=>{N("click")},[N]),w=i.useCallback(y=>{o(C=>{const m=new Map(C);return m.set(y,!0),m})},[]);return i.useEffect(()=>{u&&N("auto")},[u,N]),i.useEffect(()=>{E===100&&p()},[E,p]),n.jsxs("div",{className:"relative aspect-[4/3] w-full",children:[E!==null&&E!==100&&n.jsx("div",{className:"hidden",children:M.map(y=>n.jsx($e,{src:y,onLoad:()=>w(y),onError:d},y))}),n.jsx($e,{className:"size-full",src:M[0],onLoad:a}),n.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center gap-y-4 bg-foreground/35",children:[n.jsx(Wt,{className:"size-20",isVisible:R?.threeSixtyIcon}),n.jsx(Ge,{"aria-label":"Play 360 view",className:R?.playButton?"border-0 bg-transparent p-0 shadow-none hover:bg-transparent":void 0,style:R?.playButton?{width:74,height:74,padding:0}:void 0,color:"neutral",shape:"icon",onClick:_,children:R?.playButton?n.jsx("img",{className:"size-full",src:R.playButton.default,alt:""}):n.jsx(kr,{className:"size-full"})}),n.jsx("div",{className:le("relative h-1 w-3/5 overflow-hidden rounded-full bg-background",E===null&&"invisible"),children:n.jsx("div",{className:"h-full bg-primary transition-[width]",style:{width:`${E??0}%`}})})]})]})},so=t=>{const{itemIndex:s}=t,{setItemInteraction:a}=Be(),[p,d]=i.useState(null);return i.useEffect(()=>{p===null||p==="error"||a(s,p==="spin"?"running":"ready")},[s,a,p]),p==="error"?n.jsx(bt,{className:"text-background",text:"Spin could not be loaded"}):p!=="spin"?n.jsx(oo,{...t,onPlaceholderImageLoaded:()=>d(u=>u===null?"placeholder":u),onSpinImagesLoaded:()=>d("spin"),onError:()=>d("error")}):n.jsx(no,{...t})},ao=750,io=1250,lo=360,co=480,uo=(t,s,a)=>({cursor:`url("${t}") ${s.x} ${s.y}, ${a}`}),fo=({images:t,onlyPreload:s})=>{const{demoSpin:a,reverse360:p,spinCursor:d,themeConfig:u}=Fe(),{isShowingDetails:x,isZooming:e}=Be(),L=i.useMemo(()=>ft(u),[u]),I=e||x,R=i.useRef(null),M=i.useRef(null),[h,o]=i.useState(!1),[E,N]=i.useState("default"),_=d==="grab"&&h?"grabbing":d,w=L?.cursor?(()=>{const A=E==="left"?"leftSpin":E==="right"?"rightSpin":"default",k=L.cursor[A];return uo(k.url,k.hotspot,_)})():_===Ft?{cursor:`url("${Mr}") 45 28, ew-resize`}:{cursor:_},y=i.useRef(a),C=i.useRef(null),m=i.useCallback(()=>{C.current&&(clearTimeout(C.current),C.current=null)},[]),b=i.useRef(null),P=()=>{b.current&&(cancelAnimationFrame(b.current),b.current=null)},[$,S]=i.useState(0),z=t.length,Y=i.useCallback(()=>{S(A=>(A-1+z)%z)},[z]),j=i.useCallback(()=>{S(A=>(A+1)%z)},[z]);return i.useEffect(()=>{if(I){m();return}const A=R.current,k=M.current;if(!A||!k)return;y.current&&(y.current=!1,C.current=setTimeout(()=>{const Q=Date.now(),c=()=>{const f=()=>{const te=(Date.now()-Q)/io,g=Math.round((re=>re*(2-re))(te)*z),ne=Ke(g%z,0,z-1);S(ne),!(g>=z)&&c()};b.current=requestAnimationFrame(f)};c()},ao));const G=lo/z;let oe=null,H=[];const U=Q=>{H.push(Q),H.length>20&&H.shift()},J=()=>{const Q=(()=>{const ee=Date.now(),g=H.filter(ge=>ee-ge.timestamp<50);if(g.length<2)return 0;const ne=g[0],re=g[g.length-1];return(re.value-ne.value)/(.001*Math.max(re.timestamp-ne.timestamp,1))})(),c=Date.now();let f=0,K=c;const te=()=>{const ee=()=>{const g=Date.now(),ne=(g-c)/1e3,re=Math.pow(.05,ne),ge=Q*re,de=(g-K)/1e3;if(f+=ge*de,Math.abs(ge)<5*G&&Math.abs(f)<G){b.current=null;return}Math.abs(f)>=G&&(f>0!==p?j():Y(),f=0),K=g,te()};b.current=requestAnimationFrame(ee)};te()},O=()=>{m(),P()};o(!1);const X=Q=>{if(Q.button!==0)return;Q.preventDefault(),Q.stopPropagation(),O(),o(!0),N("default");const c=Q.clientX;oe=c,H=[{timestamp:Date.now(),value:c}]},se=Q=>{if(oe===null)return;Q.stopPropagation();const{clientX:c}=Q;U({timestamp:Date.now(),value:c});const f=c-oe;f!==0&&L?.cursor&&N(f<0?"left":"right"),!(Math.abs(f)<G)&&(f>0!==p?j():Y(),oe=c)},F=()=>{oe!==null&&(oe=null,o(!1),N("default"),J())};A.addEventListener("mousedown",X),document.addEventListener("mousemove",se),document.addEventListener("mouseleave",F),document.addEventListener("mouseup",F),document.addEventListener("contextmenu",F);const he=co/z,ue=()=>k.getBoundingClientRect().width,ae=()=>k.scrollWidth/2-ue()/2,T=()=>{const Q=ae();k.scrollLeft=Q};T();const me=()=>{const Q=k.scrollLeft-ae();Math.abs(Q)<he||(Q<0!==p?j():Y(),T())};k.addEventListener("scroll",me);let Z=null;const be=Q=>{if(Z!==null||Q.changedTouches.length!==1)return;O(),o(!0),N("default");const{identifier:c,clientX:f}=Q.changedTouches[0];Z=c,oe=f,H=[{timestamp:Date.now(),value:f}]},Re=Q=>{if(!oe)return;const c=Array.from(Q.changedTouches).find(({identifier:te})=>te===Z);if(!c)return;Q.preventDefault();const{clientX:f}=c;U({timestamp:Date.now(),value:f});const K=f-oe;K!==0&&L?.cursor&&N(K<0?"left":"right"),!(Math.abs(K)<G)&&(K>0!==p?j():Y(),oe=f)},Te=Q=>{!oe||!Array.from(Q.changedTouches).some(({identifier:f})=>f===Z)||(Z=null,oe=null,o(!1),N("default"),J())};return k.addEventListener("touchstart",be),k.addEventListener("touchmove",Re),k.addEventListener("touchend",Te),k.addEventListener("touchcancel",Te),()=>{o(!1),A.removeEventListener("mousedown",X),document.removeEventListener("mousemove",se),document.removeEventListener("mouseleave",F),document.removeEventListener("mouseup",F),document.removeEventListener("contextmenu",F),k.removeEventListener("scroll",me),k.removeEventListener("touchstart",be),k.removeEventListener("touchmove",Re),k.removeEventListener("touchend",Te),k.removeEventListener("touchcancel",Te)}},[m,j,Y,I,p,L,z]),n.jsx("div",{ref:R,style:w,children:n.jsxs("div",{ref:M,className:"overflow-x-scroll",children:[n.jsxs("div",{className:"sticky left-0 top-0",children:[t.map(A=>n.jsx($e,{src:A.src,className:"pointer-events-none !absolute left-0 top-0 -z-10"},A.src)),n.jsx(Bt,{...t[$],onlyPreload:s,itemIndex:-1})]}),n.jsx("div",{className:"pointer-events-none -mt-px h-px w-[calc(100%+1024px)]"})]})})},po=({itemIndex:t,images:s,onPlaceholderImageLoaded:a,onSpinImagesLoaded:p,onError:d})=>{const{autoLoad360:u,emitAnalyticsEvent:x,themeConfig:e}=Fe(),{displayedCategoryId:L,displayedCategoryName:I}=Be(),R=i.useMemo(()=>ft(e),[e]),M=i.useMemo(()=>s.map(({src:y})=>y),[s]),[h,o]=i.useState(null),E=h?[...h.values()].filter(y=>y).length/s.length*100:null,N=i.useCallback(y=>{E===null&&(o(new Map(M.map(C=>[C,!1]))),x({type:"interaction",current:{category_id:L,category_name:I,item_type:"exterior-360",item_position:t},action:{name:"Exterior 360 Play",field:"exterior_360_play",value:y}}))},[E,M,x,L,I,t]),_=i.useCallback(()=>{N("click")},[N]),w=i.useCallback(y=>{o(C=>{const m=new Map(C);return m.set(y,!0),m})},[]);return i.useEffect(()=>{u&&N("auto")},[u,N]),i.useEffect(()=>{E===100&&p()},[E,p]),n.jsxs("div",{className:"relative aspect-[4/3] w-full",children:[E!==null&&E!==100&&n.jsx("div",{className:"hidden",children:M.map(y=>n.jsx($e,{src:y,onLoad:()=>w(y),onError:d},y))}),n.jsx($e,{className:"size-full",src:M[0],onLoad:a}),n.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center gap-y-4 bg-foreground/35",children:[n.jsx(Wt,{className:"size-20"}),n.jsx(Ge,{"aria-label":"Play 360 view",className:R?.playButton?"border-0 bg-transparent p-0 shadow-none hover:bg-transparent":void 0,style:R?.playButton?{width:74,height:74,padding:0}:void 0,color:"neutral",shape:"icon",onClick:_,children:R?.playButton?n.jsx("img",{className:"size-full",src:R.playButton.default,alt:""}):n.jsx(kr,{className:"size-full"})}),n.jsx("div",{className:le("relative h-1 w-3/5 overflow-hidden rounded-full bg-background",E===null&&"invisible"),children:n.jsx("div",{className:"h-full bg-primary transition-[width]",style:{width:`${E??0}%`}})})]})]})},ho=t=>{const{itemIndex:s}=t,{setItemInteraction:a}=Be(),[p,d]=i.useState();return i.useEffect(()=>{p===null||p==="error"||a(s,p==="spin"?"running":"ready")},[s,a,p]),p==="error"?n.jsx(bt,{className:"text-background",text:"Spin could not be loaded"}):p!=="spin"?n.jsx(po,{...t,onPlaceholderImageLoaded:()=>d(u=>u===null?"placeholder":u),onSpinImagesLoaded:()=>d("spin"),onError:()=>d("error")}):n.jsx(fo,{...t})},mo=t=>n.jsx(Ge,{color:"neutral",shape:"icon",...t,children:n.jsx(br,{className:"size-full"})}),go=({className:t})=>n.jsx(We,{className:t,customizationKey:"UI_PAUSE",children:n.jsx("svg",{className:t,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M4 12.6667H6.66667V3.33333H4V12.6667ZM9.33333 3.33333V12.6667H12V3.33333H9.33333Z",fill:"currentColor"})})}),vo=({className:t})=>n.jsx(We,{className:t,customizationKey:"UI_VOLUME",children:n.jsx("svg",{className:t,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M2 6V10H4.66667L8 13.3333V2.66667L4.66667 6H2ZM11 8C11 6.82 10.32 5.80667 9.33333 5.31334V10.68C10.32 10.1933 11 9.18 11 8ZM9.33333 2.15334V3.52667C11.26 4.1 12.6667 5.88667 12.6667 8C12.6667 10.1133 11.26 11.9 9.33333 12.4733V13.8467C12.0067 13.24 14 10.8533 14 8C14 5.14667 12.0067 2.76 9.33333 2.15334Z",fill:"currentColor"})})}),xo=({className:t})=>n.jsx(We,{className:t,customizationKey:"UI_VOLUME_OFF",children:n.jsx("svg",{className:t,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M11 8C11 6.82 10.32 5.80667 9.33333 5.31333V6.78667L10.9667 8.42C10.9867 8.28667 11 8.14667 11 8ZM12.6667 8C12.6667 8.62667 12.5333 9.21333 12.3067 9.76L13.3133 10.7667C13.7533 9.94 14 9 14 8C14 5.14667 12.0067 2.76 9.33333 2.15333V3.52667C11.26 4.1 12.6667 5.88667 12.6667 8ZM2.84667 2L2 2.84667L5.15333 6H2V10H4.66667L8 13.3333V8.84667L10.8333 11.68C10.3867 12.0267 9.88667 12.3 9.33333 12.4667V13.84C10.2533 13.6333 11.0867 13.2067 11.7933 12.6333L13.1533 14L14 13.1533L2.84667 2ZM8 2.66667L6.60667 4.06L8 5.45333V2.66667Z",fill:"currentColor"})})}),rr=({progress:t})=>n.jsx("div",{className:"h-1 w-full overflow-hidden rounded-ui-sm bg-background/25",children:n.jsx("div",{className:"size-full rounded-ui-sm bg-background transition-transform",style:{transform:`translateX(-${100*(1-t)}%)`}})}),wo=3e3,Co=({src:t,poster:s,itemIndex:a})=>{const{carrouselItemIndex:p,setItemInteraction:d}=Be(),u=i.useRef(null),x=i.useRef(null),e=i.useCallback(()=>{if(!x.current)throw new Error("videoRef.current is null");return x.current},[]);i.useEffect(()=>{d(a,"ready")},[a,d]);const L=i.useCallback(()=>{e().play()},[e]),I=i.useCallback(()=>{e().pause()},[e]);i.useEffect(()=>{p===a||I()},[p,a,I]);const[R,M]=i.useState(!1),[h,o]=i.useState(!0),E=()=>{M(!0),d(a,"running")},N=()=>{M(!1),d(a,"ready")},_=()=>{o(!1)},w=()=>{o(!0)},[y,C]=i.useState(null),m=H=>{const U=e(),J=H.currentTarget.getBoundingClientRect(),X=(H.clientX-J.left)/J.width,se=Math.min(1,Math.max(0,X));U.volume=se,U.muted=!1},b=H=>{const U=e();U.muted=H};i.useEffect(()=>{const H=x.current;if(!H)return;const U=()=>{C({volume:H.volume,isMuted:H.muted})};return U(),H.addEventListener("volumechange",U),()=>{H.removeEventListener("volumechange",U)}},[]);const[P,$]=i.useState(null),S=P?P.currentTime/P.duration:0;i.useEffect(()=>{const H=x.current;if(!H)return;const U=()=>{const J=H.currentTime,O=H.duration;isNaN(J)||isNaN(O)||$({currentTime:J,duration:O})};return U(),H.addEventListener("timeupdate",U),()=>{H.removeEventListener("timeupdate",U)}},[]);const z=H=>{const U=e(),J=H.currentTarget.getBoundingClientRect(),X=(H.clientX-J.left)/J.width,se=U.duration*X;U.currentTime=se},Y=H=>{const U=Math.floor(H%3600/60),J=Math.floor(H%60);return`${U}:${J.toString().padStart(2,"0")}`},[j,A]=i.useState(!1),k=i.useRef(void 0),G=i.useCallback(()=>clearTimeout(k.current),[]),oe=i.useCallback(()=>{G(),k.current=setTimeout(()=>{A(!1)},wo)},[G]);return i.useEffect(()=>{const H=u.current,U=x.current;if(!H||!U)return;const J=()=>{oe(),A(!0)},O=()=>{G(),A(!1)};let X=!1;const se=()=>{X=!0},F=()=>{X&&(X=!1,I())},he=()=>{X=!1,J()},ue=ae=>{ae.preventDefault(),ae.touches.length===1&&(oe(),A(me=>!me))};return H.addEventListener("mousedown",se),H.addEventListener("mouseup",F),H.addEventListener("mouseenter",J),H.addEventListener("mousemove",he),H.addEventListener("mouseleave",O),U.addEventListener("touchstart",ue,{passive:!0}),()=>{H.removeEventListener("mousedown",se),H.removeEventListener("mouseup",F),H.removeEventListener("mouseenter",J),H.removeEventListener("mousemove",J),H.removeEventListener("mouseleave",O),U.removeEventListener("touchstart",ue)}},[G,I,oe]),n.jsxs("div",{ref:u,className:"relative aspect-[4/3] w-full",children:[n.jsx("video",{ref:x,className:"size-full",src:t,poster:s,disablePictureInPicture:!0,playsInline:!0,onPlay:E,onPause:N,onEnded:N,onCanPlay:_,onWaiting:w}),R?n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:le("absolute inset-x-0 bottom-0 cursor-auto space-y-2 bg-gradient-to-t from-foreground to-transparent p-4 pr-12 pt-8 transition-opacity duration-300",j?"pointer-events-auto opacity-100":"pointer-events-none opacity-0"),onMouseDownCapture:H=>H.stopPropagation(),children:[n.jsxs("div",{className:"flex items-center justify-between text-background",children:[n.jsxs("div",{className:"flex items-center gap-x-4",children:[n.jsx(Ge,{shape:"icon",variant:"ghost",color:"neutral",onClick:I,children:n.jsx(go,{className:"size-full"})}),P&&n.jsxs("span",{className:"text-sm",children:[Y(P.currentTime)," /"," ",Y(P.duration)]})]}),y&&n.jsxs("div",{className:"group/volume flex items-center gap-x-4 rounded-ui-md p-2 transition-colors hover:bg-foreground/25",children:[n.jsx("div",{className:`w-12 cursor-pointer py-1 opacity-0 transition-opacity ${y.isMuted?"group-hover/volume:opacity-50":"group-hover/volume:opacity-100"}`,onClick:m,children:n.jsx(rr,{progress:y.volume})}),n.jsx("div",{className:"size-5 cursor-pointer",onClick:()=>b(!y.isMuted),children:y.isMuted?n.jsx(xo,{className:"size-full"}):n.jsx(vo,{className:"size-full"})})]})]}),n.jsx("div",{className:"cursor-pointer py-1",onClick:z,children:n.jsx(rr,{progress:S})})]}),h&&n.jsx("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center bg-foreground/25",children:n.jsx(xr,{size:"lg",color:"background"})})]}):n.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-foreground/25",children:n.jsx(mo,{onClick:L})})]})},bo=({index:t,item:s,isShown:a})=>{const{type:p}=s;let d;switch(p){case"image":d=n.jsx(Bt,{itemIndex:t,onlyPreload:!a,...s});break;case"video":d=n.jsx(Co,{itemIndex:t,...s});break;case"360":d=n.jsx(ho,{itemIndex:t,onlyPreload:!a,...s});break;case"next360":d=n.jsx(so,{itemIndex:t,onlyPreload:!a,...s});break;case"interior-360":d=n.jsx($n,{itemIndex:t,onlyPreload:!a,...s});break;case"custom":d=n.jsx(Dn,{itemIndex:t,...s})}return d=n.jsx("div",{className:"grid grid-cols-[repeat(var(--max-items),1fr)]",children:d}),d},yo=t=>{i.useEffect(()=>{const s=a=>{a.key==="Escape"&&t()};return addEventListener("keydown",s),()=>{removeEventListener("keydown",s)}},[t])};function Eo(t){return t.target===t.currentTarget}const Lo=({className:t,children:s,isVisible:a,url:p,title:d,description:u,clickHandler:x,extendMode:e,variant:L,aspectRatioStyle:I,maxItemsShown:R=1})=>{const{isFullScreen:M,integration:h}=Fe(),o=()=>L||(!h||M?"centered":"aside"),E=()=>!!(d||u),N=()=>!!p,_=()=>N()&&!E(),w=o(),y=C=>{if(!I)return{};switch(C){case"centered":return{...I,aspectRatio:"4 / 3",maxHeight:E()?"50%":"100%"};case"aside":return{...I,minHeight:0,flex:"1 1 auto"};case"fullwidth":return{...I,height:"85%"};default:return I}};return _()?n.jsxs("div",{className:le(t,"absolute inset-0 z-overlay flex items-center justify-center overflow-hidden bg-foreground/60 transition-opacity duration-details",a?"opacity-100":"pointer-events-none opacity-0"),onClick:x,children:[s,a&&n.jsx($e,{className:"size-full bg-foreground/65 object-contain",src:p||"",style:I,imgInPlayerWidthRatio:1})]}):w==="centered"?n.jsx("div",{className:le(t,"absolute inset-0 z-overlay flex justify-end overflow-hidden bg-foreground/10 transition-opacity duration-details",a?"opacity-100":"pointer-events-none opacity-0"),onClick:x,children:n.jsxs("div",{className:le("flex h-full flex-col bg-navy text-white transition-transform duration-details",a?"translate-x-0":"translate-x-full","w-3/5"),style:{containerType:"inline-size"},children:[s,a&&n.jsxs(n.Fragment,{children:[N()&&n.jsx($e,{className:le(E()?"max-h-[50%]":"h-full","w-full bg-foreground/65 object-cover"),src:p||"",style:y("centered"),imgInPlayerWidthRatio:.6}),E()&&n.jsxs("div",{className:le("flex flex-1 flex-col gap-4 overflow-y-auto p-4 small:p-3",e&&"large:p-4"),children:[d&&n.jsx("h3",{className:le("text-[clamp(0.875rem,0.6rem+1.6cqw,1.125rem)] font-semibold text-white small:font-bold",e&&"large:text-lg"),children:d}),u&&n.jsx("p",{className:le("text-[clamp(0.75rem,0.55rem+1.3cqw,0.875rem)] text-white",e&&"large:text-sm"),children:u})]})]})]})}):w==="aside"?n.jsx("div",{className:le(t,"absolute inset-0 z-overlay flex items-center justify-center overflow-hidden bg-foreground/60 transition-opacity duration-details",a?"opacity-100":"pointer-events-none opacity-0"),onClick:x,children:n.jsxs("div",{className:le("relative flex h-full flex-col bg-background transition-transform duration-details",a?"translate-y-0":"translate-y-full"),style:{containerType:"inline-size",width:h?`${100/(M?1:R)}%`:`${100/R}%`},children:[s,a&&n.jsxs(n.Fragment,{children:[N()&&n.jsx($e,{className:"min-h-0 w-full flex-1 bg-foreground/65 object-contain",src:p||"",style:y("aside"),imgInPlayerWidthRatio:.6}),n.jsxs("div",{className:le("space-y-1 p-2 small:p-3",N()?"min-h-[15%] shrink-0":"flex-1 overflow-y-auto"),children:[d&&n.jsx("span",{className:le("block text-[clamp(0.75rem,0.45rem+1.8cqw,1.125rem)] font-semibold leading-tight small:font-bold",e&&"large:text-lg"),children:d}),u&&n.jsx("p",{className:le("text-[clamp(0.625rem,0.4rem+1.5cqw,0.875rem)] leading-tight text-foreground/65",e&&"large:text-sm"),children:u})]})]})]})}):n.jsx("div",{className:le(t,"absolute inset-0 z-overlay flex items-center justify-center overflow-hidden bg-foreground/60 transition-opacity duration-details",a?"opacity-100":"pointer-events-none opacity-0"),onClick:x,children:n.jsxs("div",{className:le("relative flex aspect-[4/3] flex-col bg-background transition-transform duration-details",a?"translate-y-0":"translate-y-full"),style:{containerType:"inline-size",width:h?`${100/(M?1:R)}%`:`${100/R}%`},children:[s,a&&p&&n.jsxs(n.Fragment,{children:[n.jsx($e,{className:"h-[85%] w-full bg-foreground/65 object-contain",src:p,style:y("fullwidth"),imgInPlayerWidthRatio:.6}),n.jsxs("div",{className:"h-[15%] space-y-1 overflow-y-auto px-2 py-1 small:p-3",children:[d&&n.jsx("span",{className:le("text-[clamp(0.75rem,0.45rem+1.8cqw,1.125rem)] font-semibold small:font-bold",e&&"large:text-lg"),children:d}),u&&n.jsx("p",{className:le("text-[clamp(0.625rem,0.4rem+1.5cqw,0.875rem)] text-foreground/65",e&&"large:text-sm"),children:u})]})]})]})})},Mo=({currentIndex:t,maxIndex:s})=>n.jsxs("div",{className:"space-x-0.5 rounded-ui bg-foreground/40 px-1.5 py-0.5 text-xs text-background/75 transition-radius small:space-x-1 small:px-2 small:py-1 small:text-sm",children:[n.jsx("span",{children:t+1}),n.jsx("span",{children:"/"}),n.jsx("span",{children:s+1})]}),ko=({className:t})=>n.jsx(We,{className:t,customizationKey:"UI_EXTEND",children:n.jsx("svg",{className:t,viewBox:"0 0 20 20",fill:"none",children:n.jsx("path",{d:"M2.5 5.83333V4.16667C2.5 3.72464 2.67559 3.30072 2.98816 2.98816C3.30072 2.67559 3.72464 2.5 4.16667 2.5H5.83333M14.1667 2.5H15.8333C16.2754 2.5 16.6993 2.67559 17.0118 2.98816C17.3244 3.30072 17.5 3.72464 17.5 4.16667V5.83333M17.5 14.1667V15.8333C17.5 16.2754 17.3244 16.6993 17.0118 17.0118C16.6993 17.3244 16.2754 17.5 15.8333 17.5H14.1667M5.83333 17.5H4.16667C3.72464 17.5 3.30072 17.3244 2.98816 17.0118C2.67559 16.6993 2.5 16.2754 2.5 15.8333V14.1667M6.66667 6.66667H13.3333C13.7936 6.66667 14.1667 7.03976 14.1667 7.5V12.5C14.1667 12.9602 13.7936 13.3333 13.3333 13.3333H6.66667C6.20643 13.3333 5.83333 12.9602 5.83333 12.5V7.5C5.83333 7.03976 6.20643 6.66667 6.66667 6.66667Z",stroke:"currentColor",strokeWidth:"1.04167",strokeLinecap:"round",strokeLinejoin:"round"})})}),Io=({className:t})=>n.jsx(We,{className:t,customizationKey:"UI_GALLERY",children:n.jsx("svg",{className:t,viewBox:"0 0 20 20",fill:"none",children:n.jsx("path",{d:"M15 18.3334H3.33335C2.89133 18.3334 2.4674 18.1578 2.15484 17.8453C1.84228 17.5327 1.66669 17.1088 1.66669 16.6667V5.00008M18.3334 10.8334L17.2534 9.75345C16.8767 9.37688 16.3659 9.16532 15.8334 9.16532C15.3008 9.16532 14.79 9.37688 14.4134 9.75345L9.16669 15.0001M11.6667 6.66675C11.6667 7.58722 10.9205 8.33342 10 8.33342C9.07955 8.33342 8.33335 7.58722 8.33335 6.66675C8.33335 5.74627 9.07955 5.00008 10 5.00008C10.9205 5.00008 11.6667 5.74627 11.6667 6.66675ZM6.66669 1.66675H16.6667C17.5872 1.66675 18.3334 2.41294 18.3334 3.33341V13.3334C18.3334 14.2539 17.5872 15.0001 16.6667 15.0001H6.66669C5.74621 15.0001 5.00002 14.2539 5.00002 13.3334V3.33341C5.00002 2.41294 5.74621 1.66675 6.66669 1.66675Z",stroke:"currentColor",strokeWidth:"1.04167",strokeLinecap:"round",strokeLinejoin:"round"})})}),_o=({className:t})=>n.jsx(We,{className:t,customizationKey:"UI_HOTSPOTS",children:n.jsx("svg",{className:t,viewBox:"0 0 11 11",fill:"none",children:n.jsx("path",{d:"M0.400024 5.3999H1.90002M1.90002 5.3999C1.90002 7.3329 3.46703 8.8999 5.40002 8.8999M1.90002 5.3999C1.90002 3.46691 3.46703 1.8999 5.40002 1.8999M8.90002 5.3999H10.4M8.90002 5.3999C8.90002 7.3329 7.33302 8.8999 5.40002 8.8999M8.90002 5.3999C8.90002 3.46691 7.33302 1.8999 5.40002 1.8999M5.40002 0.399902V1.8999M5.40002 8.8999V10.3999M6.90002 5.3999C6.90002 6.22833 6.22845 6.8999 5.40002 6.8999C4.5716 6.8999 3.90002 6.22833 3.90002 5.3999C3.90002 4.57148 4.5716 3.8999 5.40002 3.8999C6.22845 3.8999 6.90002 4.57148 6.90002 5.3999Z",stroke:"currentColor",strokeWidth:"0.8",strokeLinecap:"round",strokeLinejoin:"round"})})}),To=({className:t})=>n.jsx(We,{className:t,customizationKey:"UI_MINUS",children:n.jsx("svg",{className:t,viewBox:"0 0 13 2",fill:"none",children:n.jsx("path",{d:"M0.520874 0.520752H12.1875",stroke:"currentColor",strokeWidth:"1.04167",strokeLinecap:"round",strokeLinejoin:"round"})})}),So=({className:t})=>n.jsx(We,{className:t,customizationKey:"UI_PLUS",children:n.jsx("svg",{className:t,viewBox:"0 0 13 13",fill:"none",children:n.jsx("path",{d:"M0.520874 6.35409H12.1875M6.35421 0.520752V12.1874",stroke:"currentColor",strokeWidth:"1.04167",strokeLinecap:"round",strokeLinejoin:"round"})})}),Po=({enabled:t,onToggle:s,label:a,className:p,children:d})=>n.jsxs("label",{className:le("flex cursor-pointer items-center justify-center gap-x-2",p),children:[n.jsx("input",{type:"checkbox",className:"sr-only",checked:t,onChange:s}),a&&n.jsx("div",{className:"text-xs text-background",children:a}),n.jsx("div",{className:le("flex h-5 w-8 items-center justify-center rounded-full transition-colors",t?"bg-primary":"bg-background/60"),children:n.jsx("div",{className:le("flex size-4 items-center justify-center rounded-full p-0.5 transition",t?"translate-x-1.5 bg-primary-foreground text-primary":"-translate-x-1.5 bg-background text-foreground"),children:d})})]}),No=({className:t})=>n.jsx(We,{className:t,customizationKey:"UI_BURGER",children:n.jsx("svg",{className:t,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M2 12H14V10.6667H2V12ZM2 8.66667H14V7.33333H2V8.66667ZM2 4V5.33333H14V4H2Z",fill:"currentColor"})})}),Ro=({sharedClassName:t})=>{const{categories:s}=rt(),{displayedCategoryId:a,changeCategory:p}=Be(),[d,u]=i.useState(!1),x=()=>{u(!d)},e=()=>{u(!1)};return n.jsxs(n.Fragment,{children:[d&&n.jsx("div",{className:le(t,"inset-0 small:hidden"),onClick:e}),n.jsxs("div",{className:le(t,at("top-left"),"flex gap-x-2 small:hidden"),children:[n.jsx(Ge,{shape:"icon",color:d?"primary":"neutral",onClick:x,children:n.jsx(No,{})}),d&&n.jsx("div",{className:"rounded-ui-md bg-background transition-radius",children:n.jsx("ul",{className:"space-y-0.5 p-1",children:s.map(({id:L,title:I})=>n.jsx("li",{className:le("cursor-pointer rounded-ui px-2 py-1 text-sm font-bold transition-all hover:bg-primary/30",L===a&&"bg-primary/50"),onClick:()=>{p(L),u(!1)},children:I},L))})})]}),n.jsx("div",{className:le(t,vr("top"),"w-full overflow-x-auto max-small:hidden"),children:n.jsx("div",{className:"mx-auto flex w-fit gap-x-1 rounded-ui-md bg-background p-1 shadow",children:s.map(({id:L,title:I})=>n.jsx(Ge,{variant:L===a?"fill":"ghost",onClick:()=>p(L),children:I},L))})})]})},jo=()=>{const{hideCategoriesNav:t,infiniteCarrousel:s,permanentGallery:a,extendBehavior:p,maxItemsShown:d,isFullScreen:u,integration:x}=Fe(),{aspectRatioStyle:e,categories:{length:L}}=rt(),{items:{length:I},slidable:R,carrouselItemIndex:M,masterItemIndex:h,prevItem:o,nextItem:E,showGalleryControls:N,enableHotspotsControl:_,currentItemHotspotsVisible:w,toggleHotspots:y,showGallery:C,toggleGallery:m,extendMode:b,toggleExtendMode:P,shownDetails:$,isShowingDetails:S,resetShownDetails:z,showZoomControls:Y,isZooming:j,canZoomIn:A,zoomIn:k,canZoomOut:G,zoomOut:oe,resetView:H}=Be(),U=i.useCallback(se=>{Eo(se)&&z()},[z]);yo(z);const J="absolute z-overlay",O=()=>{if(d===1)return M;const F=Math.floor(d)-1;return M+F},X=()=>{if(!x)return h;const F=Math.floor(d)-1;return h+F};return n.jsxs(n.Fragment,{children:[!t&&L>1&&n.jsx(Ro,{sharedClassName:le(J,"transition-opacity",j?"!pointer-events-none opacity-0":"opacity-100")}),R&&!j&&n.jsx("div",{className:le(J,at("top-right")),children:n.jsx(Mo,{currentIndex:!x||u?M:O(),maxIndex:I-1})}),R&&n.jsxs(n.Fragment,{children:[n.jsx(Ge,{shape:"icon",color:"neutral",className:le(J,at("middle-left"),j?"!pointer-events-none opacity-0":"opacity-100"),onClick:o,disabled:!s&&h<=0,children:n.jsx(We,{customizationKey:"CONTROLS_PREV",children:n.jsx(It,{className:"size-full -scale-x-100"})})}),n.jsx(Ge,{shape:"icon",color:"neutral",className:le(J,at("middle-right"),j?"!pointer-events-none opacity-0":"opacity-100"),onClick:E,disabled:!s&&X()>=I-1,children:n.jsx(We,{customizationKey:"CONTROLS_NEXT",children:n.jsx(It,{className:"size-full"})})})]}),n.jsxs("div",{className:le(J,at("bottom-fullW"),"pointer-events-none grid grid-cols-[auto,1fr,auto] items-end *:pointer-events-auto small:gap-x-2"),children:[!a&&R&&n.jsxs(n.Fragment,{children:[n.jsx(Ge,{className:N&&!j?"opacity-100":"!pointer-events-none opacity-0",variant:"fill",color:C?"primary":"neutral",shape:"icon",onClick:m,children:n.jsx(Io,{className:"size-full"})}),C&&n.jsx(Er,{className:le("transition-opacity",N&&!j?"opacity-100":"!pointer-events-none opacity-0","[mask-image:linear-gradient(to_left,transparent_0px,black_4px,black_calc(100%-4px),transparent_100%)]"),containerClassName:"mx-1"})]}),n.jsxs("div",{className:"col-start-3 flex flex-col items-end gap-y-1 small:gap-y-2",children:[_&&n.jsx(Po,{className:le("transition-opacity",j?"!pointer-events-none opacity-0":"opacity-100"),enabled:w,onToggle:y,children:n.jsx(_o,{className:"size-full"})}),Y&&(!x||u)&&n.jsxs("div",{className:"max-small:hidden",children:[n.jsx(Ge,{className:"rounded-b-none",color:"neutral",shape:"icon",disabled:!A,onClick:k,children:n.jsx(So,{className:"size-full"})}),n.jsx(yr,{color:"background"}),n.jsx(Ge,{className:"rounded-t-none",color:"neutral",shape:"icon",disabled:!G,onClick:oe,children:n.jsx(To,{className:"size-full"})})]}),p!=="none"&&n.jsx(Ge,{variant:"fill",color:b?"primary":"neutral",shape:"icon",onClick:P,children:n.jsx(ko,{className:"size-full"})})]})]}),n.jsx(Lo,{isVisible:S,className:J,url:$?.src,title:$?.title,description:$?.text,clickHandler:U,extendMode:b,maxItemsShown:d,aspectRatioStyle:e,children:n.jsx(kt,{className:"absolute right-2 top-2 z-10",onClick:z})}),j&&n.jsx(kt,{className:le(J,at("top-right")),onClick:H})]})},Ao=({className:t=""})=>{const{infiniteCarrousel:s,preloadRange:a,isFullScreen:p,maxItemsShown:d,integration:u}=Fe(),{aspectRatioStyle:x}=rt(),{items:e,slidable:L,carrouselItemIndex:I,setCarrouselItemIndex:R,itemIndexCommand:M,setItemIndexCommand:h,specialCommand:o,isRunningSpecialCommand:E,finishSpecialCommand:N,extendMode:_,extendTransition:w}=Be(),{effectiveMaxItemsShown:y}=fr(),C=i.useRef(null),m=i.useCallback(O=>{if(!C.current)throw new Error(`[${O??"sliderOrThrow"}] slider.current is null`);return C.current},[]),b=i.useRef(!1),P=i.useRef(null),$=i.useRef(null),S=i.useRef(null),z=i.useCallback(()=>{S.current&&cancelAnimationFrame(S.current)},[]),Y=i.useCallback(()=>{const O=m("computeClosestSnapIndex"),X=Array.from(O.children),se=O.scrollLeft;let F=0,he=1/0;if(X.forEach((ue,ae)=>{const T=ue.offsetLeft,me=Math.abs(T-se);me<he&&(he=me,F=ae)}),y>1){const ue=Math.ceil(y),ae=e.length+(u&&!s&&y%1!==0?1:0),T=Math.max(0,ae-ue);if(F=Math.min(F,T),u&&!s&&y%1!==0){const me=e.length-1;F=Math.min(F,me)}}return F},[m,y,e.length,s,u]),j=i.useCallback(O=>{const X=m("setStyleCursor");X.style.cursor=O},[m]),A=i.useCallback(O=>{const X=m("setStyleSnapState");O==="mandatory"?X.style.scrollSnapType="x mandatory":X.style.scrollSnapType="none"},[m]),k=i.useCallback((O,X,se)=>{z();const F=m("scrollToIndex"),he=Array.from(F.children),ue=F.scrollLeft;let ae=he[O].offsetLeft;const T=F.clientWidth,me=F.scrollWidth-T;if(y>1){const f=Math.ceil(y),K=e.length+(u&&!s&&y%1!==0?1:0);O>=K-f&&(ae=Math.min(ae,me))}const Z=f=>{F.scrollTo({left:f,behavior:"instant"})},be=()=>{Z(ae),A("mandatory"),se?.()},Re=Math.abs(ue-ae);if(Re<1||X==="instant"){be();return}const Te=Ke(Re/2.5,300,1e3),Q=new Date().getTime();A("none");const c=()=>{const f=()=>{const te=new Date().getTime()-Q;if(te>=Te){be();return}const ee=Math.min(te/Te,1),g=Lr(ee),ne=vt(ue,ae,g);Z(ne),c()};S.current=requestAnimationFrame(f)};c()},[z,m,y,A,e.length,u,s]),[G,oe]=i.useState(),H=!!G;i.useEffect(()=>{const O=()=>{clearTimeout(G);const X=setTimeout(()=>{oe(void 0)},dr);oe(X)};return addEventListener("resize",O),document.addEventListener("fullscreenchange",O),()=>{removeEventListener("resize",O),document.removeEventListener("fullscreenchange",O)}},[G]),i.useEffect(()=>{if(o)return;const O=Y();Number.isNaN(O)||O!==I&&k(I,"instant")},[I,Y,k,o,e,G,p,_,w]),i.useEffect(()=>{if(!L||E){j("auto");return}const O=C.current;if(!O)return;j("grab"),A("mandatory");const X=he=>{he.button===0&&(he.preventDefault(),he.stopPropagation(),z(),b.current=!0,P.current=he.pageX-O.offsetLeft,$.current=O.scrollLeft,j("grabbing"))},se=he=>{if(!b.current)return;if(P.current===null)throw new Error("[onMouseMove] startX is null");A("none");const ae=he.pageX-O.offsetLeft-P.current;requestAnimationFrame(()=>{if($.current===null)throw new Error("[onMouseMove] scrollLeft is null");let T=$.current-ae;if(!s){const me=O.scrollWidth-O.clientWidth;T>me&&(T=me)}O.scrollLeft=T})},F=()=>{if(!b.current)return;b.current=!1,j("grab");const he=Y();k(he,"smooth")};return O.addEventListener("mousedown",X),document.addEventListener("mousemove",se),document.addEventListener("mouseleave",F),document.addEventListener("mouseup",F),document.addEventListener("contextmenu",F),()=>{O.removeEventListener("mousedown",X),document.removeEventListener("mousemove",se),document.removeEventListener("mouseleave",F),document.removeEventListener("mouseup",F),document.removeEventListener("contextmenu",F)}},[z,Y,s,E,k,j,A,L]),i.useEffect(()=>{if(w||H)return;const O=C.current;if(!O)return;const X=()=>{const se=Y();Number.isNaN(se)||(R(se),se===M&&h(null))};return O.addEventListener("scroll",X),()=>{O.removeEventListener("scroll",X)}},[Y,w,H,M,d,R,h]),i.useEffect(()=>{if(M===null)return;const O=()=>{setTimeout(()=>{h(null),N()},75)};switch(o){case"first_to_last":{const X=Math.ceil(y),se=e.length+(u&&!s&&y%1!==0?1:0),F=y>1?Math.max(0,se-X):e.length-1;k(F,"instant",O);break}case"last_to_first":k(0,"instant",O);break;case"instant":k(M,"instant",O);break;default:k(M,"smooth");break}},[o,N,M,e.length,k,h,y,s,u]);const U=i.useMemo(()=>!u||p?x:{aspectRatio:"auto"},[u,p,x]),J=i.useMemo(()=>({...x,minWidth:`${100/y}%`,width:`${100/y}%`,flexShrink:0}),[x,y]);return n.jsxs("div",{className:le("relative overflow-hidden rounded-carrousel transition-radius",t),style:U,children:[n.jsxs("div",{ref:C,className:`flex size-full ${L?"overflow-x-auto no-scrollbar *:snap-start *:snap-always":"justify-center"}`,children:[e.map((O,X)=>{const se=X===I,F=X===0,he=X===e.length-1,ue=(()=>{const be=Math.ceil(y);if(o==="first_to_last"&&F)return{transform:`translateX(${100*e.length/be}%)`};if(o==="last_to_first"&&he)return{transform:`translateX(-${100*e.length/be}%)`}})(),ae=Math.ceil(y),T=Math.max(a,ae);let me=Math.abs(X-I)<=T;me||=X===M,me||=X>=I&&X<I+ae,s&&(me||=I<T&&e.length-X<=T-I,me||=I>=e.length-T&&X<=T-(e.length-I));const Z=(()=>{let be;switch(O.type){case"360":be=O.images[0].src;break;case"interior-360":be=O.poster??"interior-360";break;case"image":be=O.src;break;case"video":be=O.poster??"video";break;case"custom":be="custom";break;default:be="unknown"}return`${X}_${be}`})();return n.jsx("div",{className:le("h-full bg-foreground/35",I===X&&"z-1"),style:{...J,...ue},children:me&&n.jsx(bo,{index:X,item:O,isShown:se})},Z)}),u&&!s&&!p&&d%1!==0&&n.jsx("div",{className:"h-full",style:J},"empty-slide")]}),n.jsx(jo,{})]})},zo=()=>{const{permanentGallery:t,integration:s}=Fe(),{aspectRatioStyle:a}=rt(),{isShowingDetails:p,resetShownDetails:d,extendMode:u,disableExtendMode:x,isZooming:e,resetZoom:L,fakeFullScreen:I}=Be(),R=i.useRef(null),M=i.useRef(null),h=i.useRef(null);return i.useEffect(()=>{if(!u)return;const o=R.current,E=M.current,N=h.current;if(!o||!E||!N)return;let _=!1;const w=m=>[o,E,N].includes(m.target),y=m=>{_=w(m)},C=m=>{_&&(w(m)&&x(),_=!1)};return o.addEventListener("mousedown",y),o.addEventListener("mouseup",C),()=>{o.removeEventListener("mousedown",y),o.removeEventListener("mouseup",C)}},[x,u]),i.useEffect(()=>{const o=E=>{E.key==="Escape"&&(e?L():p?d():x())};return addEventListener("keydown",o),()=>{removeEventListener("keydown",o)}},[x,p,e,d,L]),n.jsxs("div",{ref:R,className:le("relative",u&&"flex size-full items-center justify-center",I&&"fixed inset-0 z-overlay bg-foreground/75"),children:[n.jsxs("div",{ref:M,className:u?"flex size-full flex-col justify-center gap-y-2 small:gap-y-4":"space-y-2",children:[n.jsx("div",{ref:h,className:le(u&&"mx-auto flex min-h-0 w-full max-w-[1600px] justify-center"),style:s?{}:a,children:n.jsx(Ao,{className:le(u&&"h-full min-w-0")})}),t&&n.jsx(Er,{className:le(u&&"my-2 shrink-0 small:my-4")})]}),u&&n.jsx(kt,{className:"absolute right-2 top-2 small:right-4 small:top-4",onClick:x})]})},Do=()=>{const{emitEvent:t,emitAnalyticsEvent:s,compositionUrl:a}=Fe(),{data:p,status:d,isSuccess:u,error:x}=cn(a);return i.useEffect(()=>{if(x){t(Nt,x);const e={type:"error",error:x instanceof Error?{name:x.name||"CompositionLoadError",message:x.message,stack:x.stack}:{name:"NonError",message:(()=>{try{return JSON.stringify(x)}catch{return String(x)}})()}};s(e)}else d==="fetching"?t(St,a):u&&t(Pt,p)},[p,a,t,s,x,u,d]),x?n.jsx(bt,{className:"aspect-video text-foreground/70",text:"Player could not be loaded"}):u?n.jsx(dn,{composition:p,children:n.jsx(hn,{children:n.jsx(zo,{})})}):n.jsxs("div",{className:"flex aspect-video size-full flex-col items-center justify-center gap-y-4",children:[n.jsx("div",{className:"animate-pulse text-xl",children:"Loading Player"}),n.jsx(xr,{color:"foreground"})]})},Oo={hideCategoriesNav:!0,infiniteCarrousel:!1,permanentGallery:!1},Fo=[1,1.5,2,2.5],Ho=()=>i.useMemo(()=>nn(),[]),Uo=()=>i.useMemo(()=>on(),[]),Wo=()=>i.useMemo(()=>sn(),[]),Bo="https://analytics.eu.car-cutter.com",Vo={load:"/webplayer/load",display:"/webplayer/display",interaction:"/webplayer/interaction",error:"/webplayer/error"},Xo=t=>{const s=Vo[t];return new URL(s,Bo).toString()},Yo=t=>{const s=new Headers;return s.append("Content-Type","application/json"),s.append("Authorization",`Bearer ${t}`),s},Zo=t=>{const{type:s,...a}=t;return JSON.stringify(a)},Go=1e4,qo=async(t,s=Go)=>{const{payload:a,compositionUrl:p}=t,d=Yo(p),u=Zo(a),x=Xo(a.type),e=new AbortController,L=setTimeout(()=>e.abort(),s);try{const I=await fetch(x,{method:"POST",headers:d,body:u,signal:e.signal});if(!I.ok)throw new Error(`Monitoring request failed: ${I.status} ${I.statusText} (${x})`)}finally{clearTimeout(L)}},Ko=({compositionUrl:t,integration:s=qr,maxItemsShown:a=ir,hideCategoriesNav:p=zr,infiniteCarrousel:d=Dr,permanentGallery:u=Or,mediaLoadStrategy:x=Fr,minMediaWidth:e=Hr,maxMediaWidth:L=Ur,preloadRange:I=Wr,autoLoad360:R=Br,autoLoadInterior360:M=Vr,categoriesFilter:h=Xr,extendBehavior:o=Yr,eventPrefix:E=Ot,demoSpin:N=Zr,reverse360:_=Gr,analyticsEventPrefix:w=lr,analyticsUrl:y=Kr,analyticsBearer:C=$r,analyticsSimpleRequestsOnly:m=Jr,analyticsDryRun:b=Qr,analyticsDebug:P=en,spinCursor:$=Ft,monitoring:S,themeConfig:z,children:Y})=>{const j=S!==void 0?S:!y;a=fn(a,Fo);const A=i.useRef(null),[k,G]=i.useState(.5),[oe,H]=i.useState(!1),U=i.useCallback((ae,T)=>{const me=E+ae,Z=new CustomEvent(me,{detail:T});document.dispatchEvent(Z)},[E]),J=Ho(),O=Uo(),X=Wo(),se=i.useCallback(async ae=>{try{const T={instance_id:X,browser_id:J,session_id:O,from_url:window.location.href},me={...ae,timestamp:new Date().toISOString(),instance:T};if(b){console.log("[DRY RUN] AnalyticsEvent:",me);return}const Z=w+ae.type,be=new CustomEvent(Z,{detail:me});if(document.dispatchEvent(be),y||j){const Re="POST",Te=new Headers;m||(Te.append("Content-Type","application/json"),Te.append("Cache-Control","no-cache"),C&&Te.append("Authorization",`Bearer ${C}`));const Q=JSON.stringify(me),c=[];y&&c.push(fetch(y,{method:Re,headers:Te,body:Q})),j&&c.push(qo({payload:me,compositionUrl:t}));const f=await Promise.allSettled(c);if(P)for(const K of f)K.status==="rejected"&&console.error("Analytics request failed:",K.reason)}}catch(T){if(!P)return;console.error("Error while sending analytics event:",T)}},[w,y,C,m,b,P,X,J,O,t,j]),[F]=i.useState({type:"load",config:{composition_url:t,integration:s,max_items_shown:a,hide_categories_nav:p,infinite_carrousel:d,permanent_gallery:u,media_load_strategy:x,min_media_width:e,preload_range:I,auto_load_360:R,auto_load_interior_360:M,categories_filter:h,extend_behavior:o,event_prefix:E,demo_spin:N,reverse_360:_}});i.useEffect(()=>{const ae=setTimeout(()=>se(F),0);return()=>clearTimeout(ae)},[se,F]),i.useEffect(()=>{if(oe){G(1);return}if(!A.current)return;const ae=A.current,T=()=>{const me=window.innerWidth,Z=ae.clientWidth;G(Z/me)};return T(),addEventListener("resize",T),()=>{removeEventListener("resize",T)}},[oe]),i.useEffect(()=>{if(o!=="full_screen")return;const ae=A.current;if(!ae)throw new Error("Wrapper not found");const T=()=>{const{fullscreenElement:me}=document;H(me===ae||me?.localName===Ct)};return document.addEventListener("fullscreenchange",T),()=>{document.removeEventListener("fullscreenchange",T)}},[o]);const he=i.useCallback(async()=>{const ae=A.current;if(!ae)throw new Error("Wrapper not found");try{return await ae.requestFullscreen(),!0}catch{return!1}},[]),ue=i.useCallback(async()=>{try{return await document.exitFullscreen(),!0}catch{return!1}},[]);return n.jsx(un,{compositionUrl:t,integration:s,hideCategoriesNav:p,infiniteCarrousel:d,permanentGallery:u,maxItemsShown:a,mediaLoadStrategy:x,minMediaWidth:e,maxMediaWidth:L,preloadRange:I,categoriesFilter:h,autoLoad360:R,autoLoadInterior360:M,extendBehavior:o,demoSpin:N,reverse360:_,spinCursor:$,themeConfig:z,emitEvent:U,emitAnalyticsEvent:se,playerInViewportWidthRatio:k,isFullScreen:oe,requestFullscreen:he,exitFullscreen:ue,...s?Oo:{},children:n.jsxs(pn,{children:[n.jsx("div",{ref:A,className:"select-none text-foreground",style:{"--background":"var(--cc-webplayer-background, 0 0% 100%)","--details-background":"var(--cc-webplayer-details-background, 216 47% 11%)","--details-text":"var(--cc-webplayer-details-text, 0 0% 100%)","--foreground":"var(--cc-webplayer-foreground, 240 10% 3.9%)","--primary":"var(--cc-webplayer-primary, 216 100% 52%)","--primary-foreground":"var(--cc-webplayer-primary-foreground, var(--background))","--primary-light":"var(--cc-webplayer-primary-light, var(--primary))","--neutral":"var(--cc-webplayer-neutral, 0 0% 39%)","--neutral-foreground":"var(--cc-webplayer-neutral-foreground, var(--foreground))","--radius-ui":"var(--cc-webplayer-radius-ui, 16px)","--radius-carrousel":"var(--cc-webplayer-radius-carrousel, 0)","--radius-gallery":"var(--cc-webplayer-radius-gallery, 0)","--hotspot-damage-color":"hsl(var(--cc-webplayer-hotspot-damage-color, 37 89% 52%))","--hotspot-feature-color":"hsl(var(--cc-webplayer-hotspot-feature-color, var(--primary)))"},children:n.jsx(Do,{})}),Y]})})},$o=({children:t,index:s,thumbnailSrc:a})=>{const{registerCustomMedia:p,unregisterCustomMedia:d}=dt();return i.useEffect(()=>{if(!t)return;const u=p({Media:t,index:s,thumbnailSrc:a});return()=>{d(u)}},[t,d,s,p,a]),null},Jo=t=>Ut()?n.jsx($o,{...t}):n.jsx("slot",{}),Qo=({name:t,children:s})=>{const{registerIconConfig:a,unregisterIconConfig:p}=dt();return i.useEffect(()=>{if(s)return a(t,{Icon:s}),()=>{p(t)}},[s,t,a,p]),null},e2=t=>Ut()?n.jsx(Qo,{...t}):n.jsx("slot",{}),t2=`*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\\!container{width:100%!important}.container{width:100%}@media(min-width:1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.\\!pointer-events-none{pointer-events:none!important}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.\\!absolute{position:absolute!important}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{left:0;right:0}.inset-x-1{left:4px;right:4px}.inset-y-1{top:4px;bottom:4px}.-left-px{left:-1px}.-right-px{right:-1px}.bottom-0{bottom:0}.bottom-1{bottom:4px}.left-0{left:0}.left-1{left:4px}.left-1\\/2{left:50%}.left-\\[-5px\\]{left:-5px}.right-0{right:0}.right-1{right:4px}.right-2{right:8px}.right-\\[-5px\\]{right:-5px}.top-0{top:0}.top-1{top:4px}.top-1\\/2{top:50%}.top-2{top:8px}.top-px{top:1px}.-z-10{z-index:-10}.-z-20{z-index:-20}.z-1{z-index:1}.z-10,.z-hotspot{z-index:10}.z-overlay{z-index:30}.z-zoomed-image{z-index:20}.col-start-3{grid-column-start:3}.mx-1{margin-left:4px;margin-right:4px}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:8px;margin-bottom:8px}.-ml-px{margin-left:-1px}.-mt-px{margin-top:-1px}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.aspect-\\[4\\/3\\]{aspect-ratio:4/3}.aspect-square{aspect-ratio:1 / 1}.aspect-video{aspect-ratio:16 / 9}.size-1{width:4px;height:4px}.size-12{width:48px;height:48px}.size-20{width:80px;height:80px}.size-4{width:16px;height:16px}.size-5{width:20px;height:20px}.size-7{width:28px;height:28px}.size-8{width:32px;height:32px}.size-full{width:100%;height:100%}.h-1{height:4px}.h-10{height:40px}.h-20{height:80px}.h-3\\/4{height:75%}.h-5{height:20px}.h-8{height:32px}.h-\\[15\\%\\]{height:15%}.h-\\[85\\%\\]{height:85%}.h-full{height:100%}.h-px{height:1px}.max-h-\\[50\\%\\]{max-height:50%}.min-h-0{min-height:0}.min-h-\\[15\\%\\]{min-height:15%}.w-12{width:48px}.w-3\\/5{width:60%}.w-8{width:32px}.w-\\[calc\\(100\\%\\+1024px\\)\\]{width:calc(100% + 1024px)}.w-\\[calc\\(100\\%\\+2px\\)\\]{width:calc(100% + 2px)}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-px{width:1px}.min-w-0{min-width:0}.max-w-60{max-width:240px}.max-w-\\[1600px\\]{max-width:1600px}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.origin-top-left{transform-origin:top left}.-translate-x-1\\.5{--tw-translate-x: -6px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-1\\.5{--tw-translate-x: 6px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-105{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-scale-x-100{--tw-scale-x: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes hotspot-ping{0%{transform:scale(0)}25%{opacity:1}75%,to{transform:scale(1.5);opacity:0}}.animate-hotspot-ping{animation:hotspot-ping 3s cubic-bezier(0,0,.2,1) infinite}@keyframes pulse{50%{opacity:1}0%,to{opacity:0}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-rotation{animation:rotation 1s linear infinite}.cursor-auto{cursor:auto}.cursor-default{cursor:default}.cursor-grab{cursor:grab}.cursor-grabbing{cursor:grabbing}.cursor-move{cursor:move}.cursor-pointer{cursor:pointer}.resize{resize:both}.grid-cols-\\[auto\\,1fr\\,auto\\]{grid-template-columns:auto 1fr auto}.grid-cols-\\[repeat\\(var\\(--max-items\\)\\,1fr\\)\\]{grid-template-columns:repeat(var(--max-items),1fr)}.flex-col{flex-direction:column}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-1\\.5{gap:6px}.gap-4{gap:16px}.gap-x-1{-moz-column-gap:4px;column-gap:4px}.gap-x-2{-moz-column-gap:8px;column-gap:8px}.gap-x-4{-moz-column-gap:16px;column-gap:16px}.gap-y-1{row-gap:4px}.gap-y-2{row-gap:8px}.gap-y-4{row-gap:16px}.space-x-0\\.5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2px * var(--tw-space-x-reverse));margin-left:calc(2px * calc(1 - var(--tw-space-x-reverse)))}.space-y-0\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2px * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(4px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(4px * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(8px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(8px * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-scroll{overflow-x:scroll}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded-carrousel{border-radius:var(--radius-carrousel)}.rounded-full{border-radius:9999px}.rounded-gallery{border-radius:var(--radius-gallery)}.rounded-ui{border-radius:var(--radius-ui)}.rounded-ui-md{border-radius:calc(var(--radius-ui) + 2px)}.rounded-ui-sm{border-radius:calc(var(--radius-ui) - 2px)}.rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.rounded-t-full{border-top-left-radius:9999px;border-top-right-radius:9999px}.rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.rounded-bl-\\[10px\\]{border-bottom-left-radius:10px}.rounded-bl-\\[8px\\]{border-bottom-left-radius:8px}.rounded-bl-full{border-bottom-left-radius:9999px}.rounded-br-\\[10px\\]{border-bottom-right-radius:10px}.rounded-br-\\[8px\\]{border-bottom-right-radius:8px}.rounded-br-full{border-bottom-right-radius:9999px}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-4{border-width:4px}.border-background{border-color:hsl(var(--background))}.border-foreground{border-color:hsl(var(--foreground))}.border-primary{border-color:hsl(var(--primary))}.border-b-transparent{border-bottom-color:transparent}.bg-background{background-color:hsl(var(--background))}.bg-background\\/25{background-color:hsl(var(--background) / .25)}.bg-background\\/50{background-color:hsl(var(--background) / .5)}.bg-background\\/60{background-color:hsl(var(--background) / .6)}.bg-foreground{background-color:hsl(var(--foreground))}.bg-foreground\\/10{background-color:hsl(var(--foreground) / .1)}.bg-foreground\\/25{background-color:hsl(var(--foreground) / .25)}.bg-foreground\\/30{background-color:hsl(var(--foreground) / .3)}.bg-foreground\\/35{background-color:hsl(var(--foreground) / .35)}.bg-foreground\\/40{background-color:hsl(var(--foreground) / .4)}.bg-foreground\\/50{background-color:hsl(var(--foreground) / .5)}.bg-foreground\\/60{background-color:hsl(var(--foreground) / .6)}.bg-foreground\\/65{background-color:hsl(var(--foreground) / .65)}.bg-foreground\\/75{background-color:hsl(var(--foreground) / .75)}.bg-navy{background-color:hsl(var(--details-background))}.bg-neutral\\/50{background-color:hsl(var(--neutral) / .5)}.bg-primary{background-color:hsl(var(--primary))}.bg-primary-foreground{background-color:hsl(var(--primary-foreground))}.bg-primary\\/50{background-color:hsl(var(--primary) / .5)}.bg-transparent{background-color:transparent}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-foreground{--tw-gradient-from: hsl(var(--foreground)) var(--tw-gradient-from-position);--tw-gradient-to: hsl(var(--foreground) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-0\\.5{padding:2px}.p-1{padding:4px}.p-2{padding:8px}.p-4{padding:16px}.px-1\\.5{padding-left:6px;padding-right:6px}.px-2{padding-left:8px;padding-right:8px}.py-0\\.5{padding-top:2px;padding-bottom:2px}.py-1{padding-top:4px;padding-bottom:4px}.py-1\\.5{padding-top:6px;padding-bottom:6px}.pl-2\\.5{padding-left:10px}.pl-5{padding-left:20px}.pl-6{padding-left:24px}.pr-12{padding-right:48px}.pr-2\\.5{padding-right:10px}.pr-5{padding-right:20px}.pr-6{padding-right:24px}.pt-8{padding-top:32px}.text-2xl{font-size:24px;line-height:32px}.text-\\[clamp\\(0\\.625rem\\,0\\.4rem\\+1\\.5cqw\\,0\\.875rem\\)\\]{font-size:clamp(.625rem,.4rem + 1.5cqw,.875rem)}.text-\\[clamp\\(0\\.75rem\\,0\\.45rem\\+1\\.8cqw\\,1\\.125rem\\)\\]{font-size:clamp(.75rem,.45rem + 1.8cqw,1.125rem)}.text-\\[clamp\\(0\\.75rem\\,0\\.55rem\\+1\\.3cqw\\,0\\.875rem\\)\\]{font-size:clamp(.75rem,.55rem + 1.3cqw,.875rem)}.text-\\[clamp\\(0\\.875rem\\,0\\.6rem\\+1\\.6cqw\\,1\\.125rem\\)\\]{font-size:clamp(.875rem,.6rem + 1.6cqw,1.125rem)}.text-sm{font-size:14px;line-height:20px}.text-xl{font-size:20px;line-height:28px}.text-xs{font-size:12px;line-height:16px}.font-bold{font-weight:700}.font-normal{font-weight:400}.font-semibold{font-weight:600}.leading-tight{line-height:1.25}.text-background{color:hsl(var(--background))}.text-background\\/75{color:hsl(var(--background) / .75)}.text-foreground{color:hsl(var(--foreground))}.text-foreground\\/65{color:hsl(var(--foreground) / .65)}.text-foreground\\/70{color:hsl(var(--foreground) / .7)}.text-neutral-foreground{color:hsl(var(--neutral-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-white{color:hsl(var(--details-text))}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[opacity\\,transform\\]{transition-property:opacity,transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[width\\]{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-radius{transition-property:border-radius;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-details{transition-duration:.35s}.no-scrollbar{scrollbar-width:none;-ms-overflow-style:none}.no-scrollbar::-webkit-scrollbar{display:none}.\\[mask-image\\:linear-gradient\\(to_left\\,transparent_0px\\,black_4px\\,black_calc\\(100\\%-4px\\)\\,transparent_100\\%\\)\\]{-webkit-mask-image:linear-gradient(to left,transparent 0px,black 4px,black calc(100% - 4px),transparent 100%);mask-image:linear-gradient(to left,transparent 0px,black 4px,black calc(100% - 4px),transparent 100%)}.pnlm-load-button,.pnlm-load-box{display:none!important}.pnlm-container{background-image:none!important}.pnlm-about-msg{width:0;height:0;padding:0;visibility:hidden}.pnlm-about-msg a{display:none;visibility:hidden}.\\*\\:pointer-events-auto>*{pointer-events:auto}.\\*\\:size-full>*{width:100%;height:100%}.\\*\\:snap-start>*{scroll-snap-align:start}.\\*\\:snap-always>*{scroll-snap-stop:always}.\\*\\:object-cover>*{-o-object-fit:cover;object-fit:cover}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:inset-0:after{content:var(--tw-content);inset:0}.after\\:rounded-gallery:after{content:var(--tw-content);border-radius:var(--radius-gallery)}.after\\:border-2:after{content:var(--tw-content);border-width:2px}.after\\:border-primary:after{content:var(--tw-content);border-color:hsl(var(--primary))}.after\\:opacity-0:after{content:var(--tw-content);opacity:0}.after\\:opacity-100:after{content:var(--tw-content);opacity:1}.after\\:transition-all:after{content:var(--tw-content);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hover\\:z-hotspot-hover:hover{z-index:11}.hover\\:bg-foreground\\/25:hover{background-color:hsl(var(--foreground) / .25)}.hover\\:bg-primary\\/25:hover{background-color:hsl(var(--primary) / .25)}.hover\\:bg-primary\\/30:hover{background-color:hsl(var(--primary) / .3)}.hover\\:bg-transparent:hover{background-color:transparent}.hover\\:opacity-80:hover{opacity:.8}.hover\\:after\\:opacity-70:hover:after{content:var(--tw-content);opacity:.7}.disabled\\:opacity-60:disabled{opacity:.6}.group:hover .group-hover\\:pointer-events-auto{pointer-events:auto}.group:hover .group-hover\\:-translate-x-1{--tw-translate-x: -4px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\\:translate-x-1{--tw-translate-x: 4px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group\\/volume:hover .group-hover\\/volume\\:opacity-100{opacity:1}.group\\/volume:hover .group-hover\\/volume\\:opacity-50{opacity:.5}.group:hover .group-hover\\:opacity-100{opacity:1}@media((orientation:portrait)and (max-width:767px))or ((orientation:landscape)and (max-width:1023px)){.max-small\\:hidden{display:none}}@media((orientation:portrait)and (min-width:768px))or ((orientation:landscape)and (min-width:1024px)){.small\\:inset-x-2{left:8px;right:8px}.small\\:inset-y-2{top:8px;bottom:8px}.small\\:bottom-2{bottom:8px}.small\\:left-2{left:8px}.small\\:right-2{right:8px}.small\\:right-4{right:16px}.small\\:top-2{top:8px}.small\\:top-4{top:16px}.small\\:my-4{margin-top:16px;margin-bottom:16px}.small\\:hidden{display:none}.small\\:h-12{height:48px}.small\\:h-28{height:112px}.small\\:max-w-64{max-width:256px}.small\\:gap-2{gap:8px}.small\\:gap-x-2{-moz-column-gap:8px;column-gap:8px}.small\\:gap-y-2{row-gap:8px}.small\\:gap-y-4{row-gap:16px}.small\\:space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(4px * var(--tw-space-x-reverse));margin-left:calc(4px * calc(1 - var(--tw-space-x-reverse)))}.small\\:p-3{padding:12px}.small\\:px-2{padding-left:8px;padding-right:8px}.small\\:py-1{padding-top:4px;padding-bottom:4px}.small\\:pl-3{padding-left:12px}.small\\:pl-6{padding-left:24px}.small\\:pl-7{padding-left:28px}.small\\:pr-3{padding-right:12px}.small\\:pr-6{padding-right:24px}.small\\:pr-7{padding-right:28px}.small\\:text-sm{font-size:14px;line-height:20px}.small\\:font-bold{font-weight:700}}@media(min-width:1280px){.large\\:h-20{height:80px}.large\\:h-3\\/5{height:60%}.large\\:max-w-72{max-width:288px}.large\\:gap-4{gap:16px}.large\\:p-2{padding:8px}.large\\:p-4{padding:16px}.large\\:text-lg{font-size:18px;line-height:28px}.large\\:text-sm{font-size:14px;line-height:20px}}.\\[\\&_\\*\\]\\:size-4 *{width:16px;height:16px}.pnlm-container{margin:0;padding:0;overflow:hidden;position:relative;cursor:default;width:100%;height:100%;font-family:Helvetica,Nimbus Sans L,Liberation Sans,Arial,sans-serif;background:#f4f4f4 url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='67'%20height='100'%20viewBox='0%200%2067%20100'%3e%3cpath%20stroke='%23ccc'%20fill='none'%20d='M33.5,50,0,63,33.5,75,67,63,33.5,50m-33.5-50,67,25m-0.5,0,0,75m-66.5-75,67-25m-33.5,75,0,25m0-100,0,50'/%3e%3c/svg%3e") repeat;-webkit-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none;outline:0;line-height:1.4;contain:content;touch-action:none}.pnlm-container *{box-sizing:content-box}.pnlm-ui{position:absolute;width:100%;height:100%;z-index:1}.pnlm-grab{cursor:grab;cursor:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='26'%20width='26'%3e%3cpath%20stroke='%23000'%20stroke-width='1px'%20fill='%23fff'%20d='m15.3%2020.5s6.38-6.73%204.64-8.24-3.47%201.01-3.47%201.01%203.61-5.72%201.41-6.49c-2.2-0.769-3.33%204.36-3.33%204.36s0.873-5.76-1.06-5.76-1.58%205.39-1.58%205.39-0.574-4.59-2.18-4.12c-1.61%200.468-0.572%205.51-0.572%205.51s-1.58-4.89-2.93-3.79c-1.35%201.11%200.258%205.25%200.572%206.62%200.836%202.43%202.03%202.94%202.17%205.55'/%3e%3c/svg%3e") 12 8,default}.pnlm-grabbing{cursor:grabbing;cursor:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='26'%20width='26'%3e%3cpath%20stroke='%23000'%20stroke-width='1px'%20fill='%23fff'%20d='m15.3%2020.5s5.07-5.29%203.77-6.74c-1.31-1.45-2.53%200.14-2.53%200.14s2.74-3.29%200.535-4.06c-2.2-0.769-2.52%201.3-2.52%201.3s0.81-2.13-1.12-2.13-1.52%201.77-1.52%201.77-0.261-1.59-1.87-1.12c-1.61%200.468-0.874%202.17-0.874%202.17s-0.651-1.55-2-0.445c-1.35%201.11-0.68%202.25-0.365%203.62%200.836%202.43%202.03%202.94%202.17%205.55'/%3e%3c/svg%3e") 12 8,default}.pnlm-sprite{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='26'%20height='208'%3e%3ccircle%20fill-opacity='.78'%20cy='117'%20cx='13'%20r='11'%20fill='%23fff'/%3e%3ccircle%20fill-opacity='.78'%20cy='143'%20cx='13'%20r='11'%20fill='%23fff'/%3e%3ccircle%20cy='169'%20cx='13'%20r='7'%20fill='none'%20stroke='%23000'%20stroke-width='2'/%3e%3ccircle%20cy='195'%20cx='13'%20r='7'%20fill='none'%20stroke='%23000'%20stroke-width='2'/%3e%3ccircle%20cx='13'%20cy='195'%20r='2.5'/%3e%3cpath%20d='m5%2083v6h2v-4h4v-2zm10%200v2h4v4h2v-6zm-5%205v6h6v-6zm-5%205v6h6v-2h-4v-4zm14%200v4h-4v2h6v-6z'/%3e%3cpath%20d='m13%20110a7%207%200%200%200%20-7%207%207%207%200%200%200%207%207%207%207%200%200%200%207%20-7%207%207%200%200%200%20-7%20-7zm-1%203h2v2h-2zm0%203h2v5h-2z'/%3e%3cpath%20d='m5%2057v6h2v-4h4v-2zm10%200v2h4v4h2v-6zm-10%2010v6h6v-2h-4v-4zm14%200v4h-4v2h6v-6z'/%3e%3cpath%20d='m17%2038v2h-8v-2z'/%3e%3cpath%20d='m12%209v3h-3v2h3v3h2v-3h3v-2h-3v-3z'/%3e%3cpath%20d='m13%20136-6.125%206.125h4.375v7.875h3.5v-7.875h4.375z'/%3e%3cpath%20d='m10.428%20173.33v-5.77l5-2.89v5.77zm1-1.73%203-1.73-3.001-1.74z'/%3e%3c/svg%3e")}.pnlm-container:fullscreen{height:100%!important;width:100%!important;position:static!important}.pnlm-render-container{cursor:inherit;position:absolute;height:100%;width:100%}.pnlm-controls{margin-top:4px;background-color:#fff;border:1px solid #999;border-color:#0006;border-radius:3px;cursor:pointer;z-index:2;transform:translateZ(9999px)}.pnlm-control:hover{background-color:#f8f8f8}.pnlm-controls-container{position:absolute;top:0;left:4px;z-index:1}.pnlm-zoom-controls{width:26px;height:52px}.pnlm-zoom-in{width:100%;height:50%;position:absolute;top:0;border-radius:3px 3px 0 0}.pnlm-zoom-out{width:100%;height:50%;position:absolute;bottom:0;background-position:0 -26px;border-top:1px solid #ddd;border-top-color:#0000001a;border-radius:0 0 3px 3px}.pnlm-fullscreen-toggle-button,.pnlm-orientation-button,.pnlm-hot-spot-debug-indicator{width:26px;height:26px}.pnlm-hot-spot-debug-indicator{position:absolute;top:50%;left:50%;width:26px;height:26px;margin:-13px 0 0 -13px;background-color:#ffffff80;border-radius:13px;display:none}.pnlm-orientation-button-inactive{background-position:0 -156px}.pnlm-orientation-button-active{background-position:0 -182px}.pnlm-fullscreen-toggle-button-inactive{background-position:0 -52px}.pnlm-fullscreen-toggle-button-active{background-position:0 -78px}.pnlm-panorama-info{position:absolute;bottom:4px;background-color:#000000b3;border-radius:0 3px 3px 0;padding-right:10px;color:#fff;text-align:left;display:none;z-index:2;transform:translateZ(9999px)}.pnlm-title-box{position:relative;font-size:20px;display:table;padding-left:5px;margin-bottom:3px}.pnlm-author-box{position:relative;font-size:12px;display:table;padding-left:5px}.pnlm-load-box{position:absolute;top:50%;left:50%;width:200px;height:150px;margin:-75px 0 0 -100px;background-color:#000000b3;border-radius:3px;text-align:center;font-size:20px;display:none;color:#fff}.pnlm-load-box p{margin:20px 0}.pnlm-lbox{position:absolute;top:50%;left:50%;width:20px;height:20px;margin:-10px 0 0 -10px;display:none}.pnlm-loading{animation-duration:1.5s;-webkit-animation-duration:1.5s;animation-name:pnlm-mv;-webkit-animation-name:pnlm-mv;animation-iteration-count:infinite;-webkit-animation-iteration-count:infinite;animation-timing-function:linear;-webkit-animation-timing-function:linear;height:10px;width:10px;background-color:#fff;position:relative}@keyframes pnlm-mv{0%{left:0;top:0}25%{left:10px;top:0}50%{left:10px;top:10px}75%{left:0;top:10px}to{left:0;top:0}}.pnlm-load-button{position:absolute;top:50%;left:50%;width:200px;height:100px;margin:-50px 0 0 -100px;background-color:#000000b3;border-radius:3px;text-align:center;font-size:20px;display:table;color:#fff;cursor:pointer}.pnlm-load-button:hover{background-color:#000c}.pnlm-load-button p{display:table-cell;vertical-align:middle}.pnlm-info-box{font-size:15px;position:absolute;top:50%;left:50%;width:200px;height:150px;margin:-75px 0 0 -100px;background-color:#000;border-radius:3px;display:table;text-align:center;color:#fff;table-layout:fixed}.pnlm-info-box a{color:#fff;word-wrap:break-word;overflow-wrap:break-word}.pnlm-info-box p{display:table-cell;vertical-align:middle;padding:0 5px}.pnlm-error-msg{display:none}.pnlm-about-msg{font-size:11px;line-height:11px;color:#fff;padding:5px 8px;background:#000000b3;border-radius:3px;position:absolute;top:50px;left:50px;display:none;opacity:0;transition:opacity .3s ease-in-out;z-index:1}.pnlm-about-msg a:link,.pnlm-about-msg a:visited{color:#fff}.pnlm-about-msg a:hover,.pnlm-about-msg a:active{color:#eee}.pnlm-hotspot-base{position:absolute;visibility:hidden;cursor:default;vertical-align:middle;top:0;z-index:1}.pnlm-hotspot{height:26px;width:26px;border-radius:13px}.pnlm-hotspot:hover{background-color:#fff3}.pnlm-hotspot.pnlm-info{background-position:0 -104px}.pnlm-hotspot.pnlm-scene{background-position:0 -130px}div.pnlm-tooltip span{visibility:hidden;position:absolute;border-radius:3px;background-color:#000000b3;color:#fff;text-align:center;max-width:200px;padding:5px 10px;margin-left:-220px;cursor:default}div.pnlm-tooltip:hover span{visibility:visible}div.pnlm-tooltip:hover span:after{content:"";position:absolute;width:0;height:0;border-width:10px;border-style:solid;border-color:rgba(0,0,0,.7) transparent transparent transparent;bottom:-20px;left:-10px;margin:0 50%}.pnlm-compass{position:absolute;width:50px;height:50px;right:4px;bottom:4px;border-radius:25px;background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='50'%20width='50'%3e%3cpath%20d='m24.5078%206-3.2578%2018h7.5l-3.25781-18h-0.984376zm-3.2578%2020%203.2578%2018h0.9844l3.2578-18h-7.5zm1.19531%200.9941h5.10938l-2.5547%2014.1075-2.5547-14.1075z'/%3e%3c/svg%3e");cursor:default;display:none}.pnlm-world{position:absolute;left:50%;top:50%}.pnlm-face{position:absolute;transform-origin:0 0 0}.pnlm-dragfix,.pnlm-preview-img{position:absolute;height:100%;width:100%}.pnlm-preview-img{background-size:cover;background-position:center}.pnlm-lbar{width:150px;margin:0 auto;border:#fff 1px solid;height:6px}.pnlm-lbar-fill{background:#fff;height:100%;width:0}.pnlm-lmsg{font-size:12px}.pnlm-fade-img{position:absolute;top:0;left:0}.pnlm-pointer{cursor:pointer}#textInfo .tooltip-content{font-size:1.6em;position:absolute;left:-70px;bottom:80px;width:200px;pointer-events:none;background-color:#333;color:#fff;line-height:1.2em;padding:.8em;opacity:0;transform-origin:50% calc(100% + 6em);transform:rotate3d(0,0,1,15deg);transition:opacity .5s,transform .5s;transition-timing-function:ease,cubic-bezier(.17,.67,.4,1.39)}#textInfo:hover{z-index:3}#textInfo:hover .tooltip-content{opacity:1;pointer-events:all;transform:translateZ(0) rotate3d(0,0,0,0)}#textInfo .hotspot{cursor:pointer;box-sizing:border-box}#textInfo .hotspot .out:before{speak:none;font-size:48px;line-height:90px;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;display:block;-webkit-font-smoothing:antialiased}#textInfo .hotspot .out{width:60px;height:60px;border-radius:50%;border:5px solid rgba(255,255,255,.8);transition:transform ease-out .1s,border .2s;box-sizing:border-box}#textInfo .hotspot .in{width:40px;height:40px;position:absolute;top:10px;left:10px;background-color:#fffc;border-radius:50%;transition:transform ease-out .1s,background .2s}#textInfo .hotspot .out:after{top:0;left:0;padding:0;z-index:-1;box-shadow:0 0 0 2px #ffffff1a;opacity:0;pointer-events:none;position:absolute;width:100%;height:100%;border-radius:50%;content:"";box-sizing:content-box;transform:scale(.9)}#textInfo .hotspot:hover .out{border:5px solid rgba(255,255,255,1);transform:scale(.9);color:#fff}#textInfo .hotspot:hover .in{background-color:#fff;transform:scale(.8)}#textInfo .hotspot:hover .out:after{animation:sonarEffect 1.2s ease-out}@keyframes sonarEffect{0%{opacity:.5}20%{opacity:.8;box-shadow:0 0 0 2px #ffffff1a,0 0 10px 10px #25aae1cc,0 0 0 10px #ffffff80}to{box-shadow:0 0 0 2px #ffffff1a,0 0 10px 10px #25aae1cc,0 0 0 10px #ffffff80;transform:scale(1.5);opacity:0}}`;function r2(t){return t.replace(/([a-z0-9])([A-Z])/g,(s,a,p)=>`${a}-${p.toLowerCase()}`)}function Vt(t){return Object.entries(t).reduce((s,[a,p])=>{if(p!==void 0){const d=r2(a);s[d]=p.toString()}return s},{})}const n2=t=>n.jsxs(n.Fragment,{children:[n.jsx("style",{children:t2}),n.jsx(Ko,{...t})]}),o2=t=>Vt(t),s2=t=>Vt(t),a2=t=>Vt(t),i2=({onCompositionLoading:t,onCompositionLoaded:s,onCompositionLoadError:a,onItemChange:p,onExtendModeOn:d,onExtendModeOff:u,onHotspotsOn:x,onHotspotsOff:e,onGalleryOpen:L,onGalleryClose:I,onAnalyticsLoad:R,onAnalyticsDisplay:M,onAnalyticsInteraction:h,onAnalyticsError:o,className:E,style:N={},children:_,...w})=>{const y=i.useMemo(()=>{const C=o2(w);return E&&Object.assign(C,{class:E}),C},[E,w]);return i.useEffect(()=>{const C=w.eventPrefix??Ot,m=w.analyticsEventPrefix??lr,b=j=>`${C}${j}`,P=j=>`${m}${j}`,$={[St]:t,[Pt]:s,[Nt]:a,[Rt]:p,[jt]:d,[At]:u,[xt]:x,[wt]:e,[zt]:L,[Dt]:I},S={[nr]:R,[or]:M,[sr]:h,[ar]:o},z=new Map,Y=new Map;return Object.entries($).forEach(([j,A])=>{if(!A)return;const k=b(j),G=oe=>A(oe.detail);z.set(k,G),document.addEventListener(k,G)}),Object.entries(S).forEach(([j,A])=>{if(!A)return;const k=P(j),G=oe=>A(oe.detail);Y.set(k,G),document.addEventListener(k,G)}),()=>{z.forEach((j,A)=>{document.removeEventListener(A,j)}),Y.forEach((j,A)=>{document.removeEventListener(A,j)})}},[w.eventPrefix,t,s,a,p,d,u,x,e,L,I,w.analyticsEventPrefix,R,M,h,o]),n.jsx("cc-webplayer",{style:{display:"block",...N},...y,children:_})},l2=({children:t,...s})=>{const a=s2(s);return n.jsx("cc-webplayer-custom-media",{...a,children:t})},c2=({children:t,...s})=>{const a=a2(s);return n.jsx("cc-webplayer-icon",{...a,children:t})};exports.ANALYTICS_EVENT_DISPLAY=or;exports.ANALYTICS_EVENT_ERROR=ar;exports.ANALYTICS_EVENT_INTERACTION=sr;exports.ANALYTICS_EVENT_LOAD=nr;exports.DEFAULT_EVENT_PREFIX=Ot;exports.EVENT_COMPOSITION_LOADED=Pt;exports.EVENT_COMPOSITION_LOADING=St;exports.EVENT_COMPOSITION_LOAD_ERROR=Nt;exports.EVENT_EXTEND_MODE_OFF=At;exports.EVENT_EXTEND_MODE_ON=jt;exports.EVENT_GALLERY_CLOSE=Dt;exports.EVENT_GALLERY_OPEN=zt;exports.EVENT_HOTSPOTS_OFF=wt;exports.EVENT_HOTSPOTS_ON=xt;exports.EVENT_ITEM_CHANGE=Rt;exports.WEB_PLAYER_CUSTOM_MEDIA_WC_TAG=_t;exports.WEB_PLAYER_ICON_WC_TAG=Tt;exports.WEB_PLAYER_WC_TAG=Ct;exports.WebPlayer=i2;exports.WebPlayerCustomMedia=Jo;exports.WebPlayerCustomMedia$1=l2;exports.WebPlayerIcon=e2;exports.WebPlayerIcon$1=c2;exports.WebPlayerWithInjectedStyles=n2;exports.checkCustomElementsDefinition=an;exports.generateCompositionUrl=tn;
|
|
6
|
+
`).join("<br>")}function ot(r){return r.trim().toLowerCase().indexOf("javascript:")===0?"about:blank":r}function Ar(r){return ot(r).replace(/"/g,"%22").replace(/'/g,"%27")}this.isLoaded=function(){return!!C},this.getPitch=function(){return e.pitch},this.setPitch=function(r,l,v,W){return l=l==a?1e3:Number(l),l?H.pitch={startTime:Date.now(),startPosition:e.pitch,endPosition:r,duration:l,callback:v,callbackArgs:W}:e.pitch=r,Ce(),this},this.getPitchBounds=function(){return[e.minPitch,e.maxPitch]},this.setPitchBounds=function(r){return e.minPitch=Math.max(-90,Math.min(r[0],90)),e.maxPitch=Math.max(-90,Math.min(r[1],90)),this},this.getYaw=function(){return e.yaw},this.setYaw=function(r,l,v,W){return l=l==a?1e3:Number(l),r=(r+180)%360-180,l?(e.yaw-r>180?r+=360:r-e.yaw>180&&(r-=360),H.yaw={startTime:Date.now(),startPosition:e.yaw,endPosition:r,duration:l,callback:v,callbackArgs:W}):e.yaw=r,Ce(),this},this.getYawBounds=function(){return[e.minYaw,e.maxYaw]},this.setYawBounds=function(r){return e.minYaw=Math.max(-180,Math.min(r[0],180)),e.maxYaw=Math.max(-180,Math.min(r[1],180)),this},this.getHfov=function(){return e.hfov},this.setHfov=function(r,l,v,W){return l=l==a?1e3:Number(l),l?H.hfov={startTime:Date.now(),startPosition:e.hfov,endPosition:qt(r),duration:l,callback:v,callbackArgs:W}:qe(r),Ce(),this},this.getHfovBounds=function(){return[e.minHfov,e.maxHfov]},this.setHfovBounds=function(r){return e.minHfov=Math.max(0,r[0]),e.maxHfov=Math.max(0,r[1]),this},this.lookAt=function(r,l,v,W,q,V){return W=W==a?1e3:Number(W),r!==a&&(this.setPitch(r,W,q,V),q=a),l!==a&&(this.setYaw(l,W,q,V),q=a),v!==a&&this.setHfov(v,W,q,V),this},this.getNorthOffset=function(){return e.northOffset},this.setNorthOffset=function(r){return e.northOffset=Math.min(360,Math.max(0,r)),Ce(),this},this.getHorizonRoll=function(){return e.horizonRoll},this.setHorizonRoll=function(r){return e.horizonRoll=Math.min(90,Math.max(-90,r)),L.setPose(e.horizonPitch*Math.PI/180,e.horizonRoll*Math.PI/180),Ce(),this},this.getHorizonPitch=function(){return e.horizonPitch},this.setHorizonPitch=function(r){return e.horizonPitch=Math.min(90,Math.max(-90,r)),L.setPose(e.horizonPitch*Math.PI/180,e.horizonRoll*Math.PI/180),Ce(),this},this.startAutoRotate=function(r){return r=r||k||1,e.autoRotate=r,x.lookAt(oe,a,G,3e3),Ce(),this},this.stopAutoRotate=function(){return k=e.autoRotate?e.autoRotate:k,e.autoRotate=!1,e.autoRotateInactivityDelay=-1,this},this.getRenderer=function(){return L},this.setUpdate=function(r){return O=r===!0,L===a?K():Ce(),this},this.mouseEventToCoords=function(r){return De(r)},this.loadScene=function(r,l,v,W){return C!==!1&&Lt(r,l,v,W),this},this.getScene=function(){return e.scene},this.addScene=function(r,l){return u.scenes[r]=l,this},this.removeScene=function(r){return e.scene===r||!u.scenes.hasOwnProperty(r)?!1:(delete u.scenes[r],!0)},this.toggleFullscreen=function(){return Et(),this},this.getConfig=function(){return e},this.getContainer=function(){return d},this.addHotSpot=function(r,l){if(l===a&&e.scene===a)e.hotSpots.push(r);else{var v=l!==a?l:e.scene;if(u.scenes.hasOwnProperty(v))u.scenes[v].hasOwnProperty("hotSpots")||(u.scenes[v].hotSpots=[],v==e.scene&&(e.hotSpots=u.scenes[v].hotSpots)),u.scenes[v].hotSpots.push(r);else throw"Invalid scene ID!"}return(l===a||e.scene==l)&&(Yt(r),C&&Zt(r)),this},this.removeHotSpot=function(r,l){if(l===a||e.scene==l){if(!e.hotSpots)return!1;for(var v=0;v<e.hotSpots.length;v++)if(e.hotSpots[v].hasOwnProperty("id")&&e.hotSpots[v].id===r){for(var W=e.hotSpots[v].div;W.parentNode!=he;)W=W.parentNode;return he.removeChild(W),delete e.hotSpots[v].div,e.hotSpots.splice(v,1),!0}}else if(u.scenes.hasOwnProperty(l)){if(!u.scenes[l].hasOwnProperty("hotSpots"))return!1;for(var v=0;v<u.scenes[l].hotSpots.length;v++)if(u.scenes[l].hotSpots[v].hasOwnProperty("id")&&u.scenes[l].hotSpots[v].id===r)return u.scenes[l].hotSpots.splice(v,1),!0}else return!1},this.resize=function(){L&&pe()},this.isLoaded=function(){return C},this.isOrientationSupported=function(){return be||!1},this.stopOrientation=function(){lt()},this.startOrientation=function(){be&&mt()},this.isOrientationActive=function(){return!!Y},this.on=function(r,l){return U[r]=U[r]||[],U[r].push(l),this},this.off=function(r,l){if(!r)return U={},this;if(l){var v=U[r].indexOf(l);v>=0&&U[r].splice(v,1),U[r].length==0&&delete U[r]}else delete U[r];return this};function Qe(r){if(r in U)for(var l=U[r].length;l>0;l--)U[r][U[r].length-l].apply(null,[].slice.call(arguments,1))}this.destroy=function(){L&&L.destroy(),b&&(ue.removeEventListener("mousedown",ge,!1),ue.removeEventListener("dblclick",de,!1),s.removeEventListener("mousemove",Pe,!1),s.removeEventListener("mouseup",He,!1),d.removeEventListener("mousewheel",Ae,!1),d.removeEventListener("DOMMouseScroll",Ae,!1),d.removeEventListener("mozfullscreenchange",Je,!1),d.removeEventListener("webkitfullscreenchange",Je,!1),d.removeEventListener("msfullscreenchange",Je,!1),d.removeEventListener("fullscreenchange",Je,!1),t.removeEventListener("resize",pe,!1),t.removeEventListener("orientationchange",pe,!1),d.removeEventListener("keydown",Se,!1),d.removeEventListener("keyup",ze,!1),d.removeEventListener("blur",Ue,!1),s.removeEventListener("mouseleave",He,!1),ue.removeEventListener("touchstart",Ve,!1),ue.removeEventListener("touchmove",Ye,!1),ue.removeEventListener("touchend",je,!1),ue.removeEventListener("pointerdown",Oe,!1),ue.removeEventListener("pointermove",_e,!1),ue.removeEventListener("pointerup",Le,!1),ue.removeEventListener("pointerleave",Le,!1)),d.innerHTML="",d.classList.remove("pnlm-container"),F.classList.remove("pnlm-grab"),F.classList.remove("pnlm-grabbing")}}return{viewer:function(u,x){return new p(u,x)}}})(window,document);window.requestAnimationFrame||(window.requestAnimationFrame=(function(){return window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(t,s){window.setTimeout(t,1e3/60)}})());function Yn(t,s,a){const p=i.useRef(null),d=i.useRef(a);return d.current=a,i.useEffect(()=>{const u=t.current;if(!u)return;const x=window.pannellum;if(!x){console.error("[InteriorThreeSixty] pannellum global not available"),d.current.onError?.();return}const e=x.viewer(u,{type:"equirectangular",panorama:s.image,preview:s.preview,pitch:Bn,yaw:Vn,hfov:Wn,maxHfov:it,minHfov:ut,compass:!1,showControls:!1,keyboardZoom:!1,autoLoad:s.autoLoad});return p.current=e,e.on("load",()=>d.current.onLoad?.()),e.on("error",()=>d.current.onError?.()),e.on("mousedown",(...L)=>d.current.onMousedown?.(L[0])),e.on("mouseup",(...L)=>d.current.onMouseup?.(L[0])),e.on("touchstart",(...L)=>d.current.onTouchstart?.(L[0])),e.on("touchend",(...L)=>d.current.onTouchend?.(L[0])),()=>{p.current=null,e.destroy()}},[s.image,s.preview,s.autoLoad]),p}function Zn(t,s=50,a=200){let p=null,d=0;return(...u)=>{const x=Date.now();p&&(clearTimeout(p),p=null),x-d>=s&&(t(...u),d=x),p=setTimeout(()=>{t(...u)},a)}}const Gn=({className:t})=>n.jsx(We,{className:t,customizationKey:"UI_INTERIOR_360_PLAY",children:n.jsx("svg",{className:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:n.jsx("polygon",{points:"6 3 20 12 6 21 6 3"})})}),qn=({itemIndex:t,isPannellumLoaded:s,isLoading:a,progress:p,autoloadInterior360:d,loadScene:u})=>{const{emitAnalyticsEvent:x}=Fe(),{displayedCategoryId:e,displayedCategoryName:L}=Be(),I=i.useCallback(M=>{x({type:"interaction",current:{category_id:e,category_name:L,item_type:"interior-360",item_position:t},action:{name:"Interior 360 Play",field:"interior_360_play",value:M}})},[x,e,L,t]),R=i.useCallback(()=>{u(),I("click")},[u,I]);return i.useEffect(()=>{d&&(u(),I("auto"))},[d,u,I]),s?null:n.jsx("div",{className:"pointer-events-auto absolute inset-0 flex flex-col items-center justify-center gap-y-4",children:n.jsxs("div",{className:"pointer-events-auto absolute inset-0 flex flex-col items-center justify-center gap-y-4 bg-foreground/35",children:[n.jsx(Cr,{className:"size-20"}),n.jsx(Ge,{color:"neutral",shape:"icon",onClick:R,children:n.jsx(Gn,{className:"size-full"})}),n.jsx("div",{className:le("relative h-1 w-3/5 overflow-hidden rounded-full bg-background",!a&&"invisible"),children:n.jsx("div",{className:"h-full bg-primary transition-[width]",style:{width:`${p}%`}})})]})})},Kn=t=>{const{itemIndex:s,src:a,poster:p,onLoaded:d,onError:u,onlyPreload:x}=t,{autoLoadInterior360:e}=Fe(),{isShowingDetails:L,zoom:I,setZoom:R}=Be(),[M,h]=Xn(a),o=i.useRef(null),[E,N]=i.useState(!1),[_,w]=i.useState(e);i.useEffect(()=>{e&&w(!0)},[e]);const y=i.useCallback(()=>{d?.(),N(!0)},[d]),C=i.useCallback(P=>{P instanceof MouseEvent&&P.button!==0||(P.preventDefault(),P.stopPropagation(),P.stopImmediatePropagation())},[]),m=i.useCallback(()=>{w(!0)},[]),b=Yn(o,{image:a,preview:p,autoLoad:_},{onLoad:y,onError:u,onMousedown:C,onMouseup:C,onTouchstart:C,onTouchend:C});return i.useEffect(()=>{if(x)return;const P=b.current;if(!P||!E)return;const $=1,S=Ke((I-$)/(tt-$),0,1),z=Ke(it-S*(it-ut),ut,it);P.setHfov(z)},[I,E,b,x]),i.useEffect(()=>{if(x)return;const P=o.current;if(!P||!E)return;const S=Zn(Y=>{Y.preventDefault();const j=b.current;if(!j)return;const A=Jt(j.getHfov(),ut,it,tt,st),G=(Y.deltaY<0?"zoom-in":"zoom-out")==="zoom-in"?Math.min(A+st,tt):Math.max(A-st,1);R(G)},100,150),z=Y=>{Y.preventDefault();const j=b.current;if(!j)return;const A=Jt(j.getHfov(),ut,it,tt,st,!0);R(A)};return P.addEventListener("wheel",S),P.addEventListener("dblclick",z),()=>{P.removeEventListener("wheel",S),P.removeEventListener("dblclick",z)}},[E,R,b,x]),n.jsx("div",{className:le("relative aspect-[4/3] w-full overflow-hidden bg-transparent"),children:n.jsxs("div",{className:le("size-full",L?"scale-105":"scale-100"),children:[n.jsx("div",{ref:o,className:"size-full"}),n.jsx(qn,{isPannellumLoaded:E,isLoading:h,progress:M,autoloadInterior360:e,loadScene:m,itemIndex:s})]})})},$n=t=>{const{itemIndex:s}=t,{setItemInteraction:a}=Be(),[p,d]=i.useState(),u=i.useCallback(()=>{d("spin")},[]),x=i.useCallback(()=>{d("error")},[]);return i.useEffect(()=>{p===null||p==="error"||a(s,p==="spin"?"running":"ready")},[s,a,p]),p==="error"?n.jsx(bt,{className:"text-background",text:"Interior Spin could not be loaded"}):n.jsx(Kn,{...t,onLoaded:u,onError:x})},Mr="data:image/svg+xml,%3csvg%20width='90'%20height='57'%20viewBox='0%200%20138%2048'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='137.164'%20height='48'%20rx='24'%20fill='white'%20fill-opacity='0.65'/%3e%3cpath%20d='M31%2030L25%2024L31%2018'%20stroke='%231B5DF5'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M51.1368%2034C47.4684%2034%2045.2139%2032.4218%2044.3068%2030.5385C44.0934%2030.1008%2044%2029.6764%2044%2029.2785C44%2028.244%2044.667%2027.5942%2045.7742%2027.5942C46.5746%2027.5942%2047.0815%2027.9125%2047.4817%2028.6419C48.162%2029.9814%2049.2026%2030.7772%2051.2035%2030.7772C53.1779%2030.7772%2054.5385%2029.6366%2054.5385%2028.0451C54.5519%2026.1883%2053.1779%2025.1538%2050.8434%2025.1538H50.003C49.0291%2025.1538%2048.4689%2024.5836%2048.4689%2023.7215C48.4689%2022.8859%2049.0291%2022.3024%2050.003%2022.3024H50.79C52.8043%2022.3024%2054.1116%2021.2149%2054.1116%2019.6499C54.1116%2018.1114%2053.0711%2017.0902%2051.1235%2017.0902C49.496%2017.0902%2048.5089%2017.7666%2047.8819%2019.1194C47.4417%2020.0212%2046.9748%2020.3528%2046.0677%2020.3528C44.9471%2020.3528%2044.3735%2019.7029%2044.3735%2018.7347C44.3735%2018.2838%2044.4669%2017.8992%2044.667%2017.4483C45.5207%2015.5782%2047.7085%2014.0133%2051.1102%2014.0133C55.1788%2014.0133%2057.9269%2016.0159%2057.9269%2019.0796C57.9269%2021.5066%2056.1793%2023.0981%2053.9115%2023.5623V23.6419C56.7796%2023.9072%2058.6339%2025.5782%2058.6339%2028.2175C58.6339%2031.6923%2055.6057%2034%2051.1368%2034Z'%20fill='%231B5DF5'/%3e%3cpath%20d='M68.7388%2034C65.684%2034%2063.2561%2032.5809%2061.8421%2029.7692C61.1084%2028.2838%2060.7082%2026.3873%2060.7082%2024.1592C60.7082%2017.8196%2063.7497%2014%2068.7522%2014C71.9404%2014%2074.2349%2015.3395%2075.142%2017.13C75.3287%2017.5013%2075.4221%2017.8462%2075.4221%2018.2042C75.4221%2019.0928%2074.7951%2019.7825%2073.7413%2019.7825C72.9409%2019.7825%2072.4606%2019.4377%2071.8737%2018.7613C70.9933%2017.6605%2070.0595%2017.1698%2068.7388%2017.1698C65.9908%2017.1698%2064.5901%2019.7692%2064.5634%2023.8541V24.0531H64.6435C65.3905%2022.2759%2067.2848%2020.9761%2069.886%2020.9761C73.6079%2020.9761%2076.1558%2023.6154%2076.1558%2027.2095C76.1558%2031.1751%2073.0343%2034%2068.7388%2034ZM68.6855%2030.817C70.6598%2030.817%2072.2205%2029.305%2072.2339%2027.382C72.2339%2025.366%2070.7531%2023.9337%2068.7255%2023.9337C66.6845%2023.9337%2065.1637%2025.3528%2065.1637%2027.3024C65.1637%2029.2785%2066.7111%2030.817%2068.6855%2030.817Z'%20fill='%231B5DF5'/%3e%3cpath%20d='M85.3201%2034C80.4377%2034%2077.4629%2030.1671%2077.4629%2023.9735C77.4629%2017.7931%2080.4644%2014%2085.3201%2014C90.1758%2014%2093.164%2017.7798%2093.164%2023.9602C93.164%2030.1406%2090.2025%2034%2085.3201%2034ZM85.3201%2030.7905C87.6946%2030.7905%2089.0686%2028.3634%2089.0686%2023.9735C89.0686%2019.6101%2087.6813%2017.2095%2085.3201%2017.2095C82.9723%2017.2095%2081.5583%2019.6233%2081.5583%2023.9735C81.5583%2028.3634%2082.9456%2030.7905%2085.3201%2030.7905Z'%20fill='%231B5DF5'/%3e%3cpath%20d='M106.164%2030L112.164%2024L106.164%2018'%20stroke='%231B5DF5'%20stroke-width='1.25'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e",kr=({className:t})=>n.jsx(We,{className:t,customizationKey:"UI_360_PLAY",children:n.jsx("svg",{className:t,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",children:n.jsx("polygon",{points:"6 3 20 12 6 21 6 3"})})}),Jn=750,Qn=1250,eo=360,to=480,ro=(t,s,a)=>({cursor:`url("${t}") ${s.x} ${s.y}, ${a}`}),no=({images:t,onlyPreload:s})=>{const{demoSpin:a,reverse360:p,spinCursor:d,themeConfig:u}=Fe(),{isShowingDetails:x,isZooming:e}=Be(),L=i.useMemo(()=>ft(u),[u]),I=e||x,R=i.useRef(null),M=i.useRef(null),[h,o]=i.useState(!1),[E,N]=i.useState("default"),_=d==="grab"&&h?"grabbing":d,w=L?.cursor?(()=>{const A=E==="left"?"leftSpin":E==="right"?"rightSpin":"default",k=L.cursor[A];return ro(k.url,k.hotspot,_)})():_===Ft?{cursor:`url("${Mr}") 45 28, ew-resize`}:{cursor:_},y=i.useRef(a),C=i.useRef(null),m=i.useCallback(()=>{C.current&&(clearTimeout(C.current),C.current=null)},[]),b=i.useRef(null),P=()=>{b.current&&(cancelAnimationFrame(b.current),b.current=null)},[$,S]=i.useState(0),z=t.length,Y=i.useCallback(()=>{S(A=>(A-1+z)%z)},[z]),j=i.useCallback(()=>{S(A=>(A+1)%z)},[z]);return i.useEffect(()=>{if(I){m();return}const A=R.current,k=M.current;if(!A||!k)return;y.current&&(y.current=!1,C.current=setTimeout(()=>{const Q=Date.now(),c=()=>{const f=()=>{const te=(Date.now()-Q)/Qn,g=Math.round((re=>re*(2-re))(te)*z),ne=Ke(g%z,0,z-1);S(ne),!(g>=z)&&c()};b.current=requestAnimationFrame(f)};c()},Jn));const G=eo/z;let oe=null,H=[];const U=Q=>{H.push(Q),H.length>20&&H.shift()},J=()=>{const Q=(()=>{const ee=Date.now(),g=H.filter(ge=>ee-ge.timestamp<50);if(g.length<2)return 0;const ne=g[0],re=g[g.length-1];return(re.value-ne.value)/(.001*Math.max(re.timestamp-ne.timestamp,1))})(),c=Date.now();let f=0,K=c;const te=()=>{const ee=()=>{const g=Date.now(),ne=(g-c)/1e3,re=Math.pow(.05,ne),ge=Q*re,de=(g-K)/1e3;if(f+=ge*de,Math.abs(ge)<5*G&&Math.abs(f)<G){b.current=null;return}Math.abs(f)>=G&&(f>0!==p?j():Y(),f=0),K=g,te()};b.current=requestAnimationFrame(ee)};te()},O=()=>{m(),P()};o(!1);const X=Q=>{if(Q.button!==0)return;Q.preventDefault(),Q.stopPropagation(),O(),o(!0),N("default");const c=Q.clientX;oe=c,H=[{timestamp:Date.now(),value:c}]},se=Q=>{if(oe===null)return;Q.stopPropagation();const{clientX:c}=Q;U({timestamp:Date.now(),value:c});const f=c-oe;f!==0&&L?.cursor&&N(f<0?"left":"right"),!(Math.abs(f)<G)&&(f>0!==p?j():Y(),oe=c)},F=()=>{oe!==null&&(oe=null,o(!1),N("default"),J())};A.addEventListener("mousedown",X),document.addEventListener("mousemove",se),document.addEventListener("mouseleave",F),document.addEventListener("mouseup",F),document.addEventListener("contextmenu",F);const he=to/z,ue=()=>k.getBoundingClientRect().width,ae=()=>k.scrollWidth/2-ue()/2,T=()=>{const Q=ae();k.scrollLeft=Q};T();const me=()=>{const Q=k.scrollLeft-ae();Math.abs(Q)<he||(Q<0!==p?j():Y(),T())};k.addEventListener("scroll",me);let Z=null;const be=Q=>{if(Z!==null||Q.changedTouches.length!==1)return;O(),o(!0),N("default");const{identifier:c,clientX:f}=Q.changedTouches[0];Z=c,oe=f,H=[{timestamp:Date.now(),value:f}]},Re=Q=>{if(oe===null)return;const c=Array.from(Q.changedTouches).find(({identifier:te})=>te===Z);if(!c)return;Q.preventDefault();const{clientX:f}=c;U({timestamp:Date.now(),value:f});const K=f-oe;K!==0&&L?.cursor&&N(K<0?"left":"right"),!(Math.abs(K)<G)&&(K>0!==p?j():Y(),oe=f)},Te=Q=>{oe===null||!Array.from(Q.changedTouches).some(({identifier:f})=>f===Z)||(Z=null,oe=null,o(!1),N("default"),J())};return k.addEventListener("touchstart",be,{passive:!1}),k.addEventListener("touchmove",Re,{passive:!1}),k.addEventListener("touchend",Te),k.addEventListener("touchcancel",Te),()=>{m(),P(),o(!1),A.removeEventListener("mousedown",X),document.removeEventListener("mousemove",se),document.removeEventListener("mouseleave",F),document.removeEventListener("mouseup",F),document.removeEventListener("contextmenu",F),k.removeEventListener("scroll",me),k.removeEventListener("touchstart",be),k.removeEventListener("touchmove",Re),k.removeEventListener("touchend",Te),k.removeEventListener("touchcancel",Te)}},[m,j,Y,I,p,L,z]),n.jsx("div",{ref:R,style:w,children:n.jsxs("div",{ref:M,className:"overflow-x-scroll",children:[n.jsxs("div",{className:"sticky left-0 top-0",children:[t.map(A=>n.jsx($e,{src:A.src,className:"pointer-events-none !absolute left-0 top-0 -z-10"},A.src)),n.jsx(Bt,{...t[$],onlyPreload:s,itemIndex:-1})]}),n.jsx("div",{className:"pointer-events-none -mt-px h-px w-[calc(100%+1024px)]"})]})})},oo=({itemIndex:t,images:s,onPlaceholderImageLoaded:a,onSpinImagesLoaded:p,onError:d})=>{const{autoLoad360:u,emitAnalyticsEvent:x,themeConfig:e}=Fe(),{displayedCategoryId:L,displayedCategoryName:I}=Be(),R=i.useMemo(()=>ft(e),[e]),M=i.useMemo(()=>s.map(({src:y})=>y),[s]),[h,o]=i.useState(null),E=h?[...h.values()].filter(y=>y).length/s.length*100:null,N=i.useCallback(y=>{E===null&&(o(new Map(M.map(C=>[C,!1]))),x({type:"interaction",current:{category_id:L,category_name:I,item_type:"next360",item_position:t},action:{name:"Next 360 Play",field:"next360_play",value:y}}))},[E,M,x,L,I,t]),_=i.useCallback(()=>{N("click")},[N]),w=i.useCallback(y=>{o(C=>{const m=new Map(C);return m.set(y,!0),m})},[]);return i.useEffect(()=>{u&&N("auto")},[u,N]),i.useEffect(()=>{E===100&&p()},[E,p]),n.jsxs("div",{className:"relative aspect-[4/3] w-full",children:[E!==null&&E!==100&&n.jsx("div",{className:"hidden",children:M.map(y=>n.jsx($e,{src:y,onLoad:()=>w(y),onError:d},y))}),n.jsx($e,{className:"size-full",src:M[0],onLoad:a}),n.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center gap-y-4 bg-foreground/35",children:[n.jsx(Wt,{className:"size-20",isVisible:R?.threeSixtyIcon}),n.jsx(Ge,{"aria-label":"Play 360 view",className:R?.playButton?"border-0 bg-transparent p-0 shadow-none hover:bg-transparent":void 0,style:R?.playButton?{width:74,height:74,padding:0}:void 0,color:"neutral",shape:"icon",onClick:_,children:R?.playButton?n.jsx("img",{className:"size-full",src:R.playButton.default,alt:""}):n.jsx(kr,{className:"size-full"})}),n.jsx("div",{className:le("relative h-1 w-3/5 overflow-hidden rounded-full bg-background",E===null&&"invisible"),children:n.jsx("div",{className:"h-full bg-primary transition-[width]",style:{width:`${E??0}%`}})})]})]})},so=t=>{const{itemIndex:s}=t,{setItemInteraction:a}=Be(),[p,d]=i.useState(null);return i.useEffect(()=>{p===null||p==="error"||a(s,p==="spin"?"running":"ready")},[s,a,p]),p==="error"?n.jsx(bt,{className:"text-background",text:"Spin could not be loaded"}):p!=="spin"?n.jsx(oo,{...t,onPlaceholderImageLoaded:()=>d(u=>u===null?"placeholder":u),onSpinImagesLoaded:()=>d("spin"),onError:()=>d("error")}):n.jsx(no,{...t})},ao=750,io=1250,lo=360,co=480,uo=(t,s,a)=>({cursor:`url("${t}") ${s.x} ${s.y}, ${a}`}),fo=({images:t,onlyPreload:s})=>{const{demoSpin:a,reverse360:p,spinCursor:d,themeConfig:u}=Fe(),{isShowingDetails:x,isZooming:e}=Be(),L=i.useMemo(()=>ft(u),[u]),I=e||x,R=i.useRef(null),M=i.useRef(null),[h,o]=i.useState(!1),[E,N]=i.useState("default"),_=d==="grab"&&h?"grabbing":d,w=L?.cursor?(()=>{const A=E==="left"?"leftSpin":E==="right"?"rightSpin":"default",k=L.cursor[A];return uo(k.url,k.hotspot,_)})():_===Ft?{cursor:`url("${Mr}") 45 28, ew-resize`}:{cursor:_},y=i.useRef(a),C=i.useRef(null),m=i.useCallback(()=>{C.current&&(clearTimeout(C.current),C.current=null)},[]),b=i.useRef(null),P=()=>{b.current&&(cancelAnimationFrame(b.current),b.current=null)},[$,S]=i.useState(0),z=t.length,Y=i.useCallback(()=>{S(A=>(A-1+z)%z)},[z]),j=i.useCallback(()=>{S(A=>(A+1)%z)},[z]);return i.useEffect(()=>{if(I){m();return}const A=R.current,k=M.current;if(!A||!k)return;y.current&&(y.current=!1,C.current=setTimeout(()=>{const Q=Date.now(),c=()=>{const f=()=>{const te=(Date.now()-Q)/io,g=Math.round((re=>re*(2-re))(te)*z),ne=Ke(g%z,0,z-1);S(ne),!(g>=z)&&c()};b.current=requestAnimationFrame(f)};c()},ao));const G=lo/z;let oe=null,H=[];const U=Q=>{H.push(Q),H.length>20&&H.shift()},J=()=>{const Q=(()=>{const ee=Date.now(),g=H.filter(ge=>ee-ge.timestamp<50);if(g.length<2)return 0;const ne=g[0],re=g[g.length-1];return(re.value-ne.value)/(.001*Math.max(re.timestamp-ne.timestamp,1))})(),c=Date.now();let f=0,K=c;const te=()=>{const ee=()=>{const g=Date.now(),ne=(g-c)/1e3,re=Math.pow(.05,ne),ge=Q*re,de=(g-K)/1e3;if(f+=ge*de,Math.abs(ge)<5*G&&Math.abs(f)<G){b.current=null;return}Math.abs(f)>=G&&(f>0!==p?j():Y(),f=0),K=g,te()};b.current=requestAnimationFrame(ee)};te()},O=()=>{m(),P()};o(!1);const X=Q=>{if(Q.button!==0)return;Q.preventDefault(),Q.stopPropagation(),O(),o(!0),N("default");const c=Q.clientX;oe=c,H=[{timestamp:Date.now(),value:c}]},se=Q=>{if(oe===null)return;Q.stopPropagation();const{clientX:c}=Q;U({timestamp:Date.now(),value:c});const f=c-oe;f!==0&&L?.cursor&&N(f<0?"left":"right"),!(Math.abs(f)<G)&&(f>0!==p?j():Y(),oe=c)},F=()=>{oe!==null&&(oe=null,o(!1),N("default"),J())};A.addEventListener("mousedown",X),document.addEventListener("mousemove",se),document.addEventListener("mouseleave",F),document.addEventListener("mouseup",F),document.addEventListener("contextmenu",F);const he=co/z,ue=()=>k.getBoundingClientRect().width,ae=()=>k.scrollWidth/2-ue()/2,T=()=>{const Q=ae();k.scrollLeft=Q};T();const me=()=>{const Q=k.scrollLeft-ae();Math.abs(Q)<he||(Q<0!==p?j():Y(),T())};k.addEventListener("scroll",me);let Z=null;const be=Q=>{if(Z!==null||Q.changedTouches.length!==1)return;O(),o(!0),N("default");const{identifier:c,clientX:f}=Q.changedTouches[0];Z=c,oe=f,H=[{timestamp:Date.now(),value:f}]},Re=Q=>{if(!oe)return;const c=Array.from(Q.changedTouches).find(({identifier:te})=>te===Z);if(!c)return;Q.preventDefault();const{clientX:f}=c;U({timestamp:Date.now(),value:f});const K=f-oe;K!==0&&L?.cursor&&N(K<0?"left":"right"),!(Math.abs(K)<G)&&(K>0!==p?j():Y(),oe=f)},Te=Q=>{!oe||!Array.from(Q.changedTouches).some(({identifier:f})=>f===Z)||(Z=null,oe=null,o(!1),N("default"),J())};return k.addEventListener("touchstart",be),k.addEventListener("touchmove",Re),k.addEventListener("touchend",Te),k.addEventListener("touchcancel",Te),()=>{o(!1),A.removeEventListener("mousedown",X),document.removeEventListener("mousemove",se),document.removeEventListener("mouseleave",F),document.removeEventListener("mouseup",F),document.removeEventListener("contextmenu",F),k.removeEventListener("scroll",me),k.removeEventListener("touchstart",be),k.removeEventListener("touchmove",Re),k.removeEventListener("touchend",Te),k.removeEventListener("touchcancel",Te)}},[m,j,Y,I,p,L,z]),n.jsx("div",{ref:R,style:w,children:n.jsxs("div",{ref:M,className:"overflow-x-scroll",children:[n.jsxs("div",{className:"sticky left-0 top-0",children:[t.map(A=>n.jsx($e,{src:A.src,className:"pointer-events-none !absolute left-0 top-0 -z-10"},A.src)),n.jsx(Bt,{...t[$],onlyPreload:s,itemIndex:-1})]}),n.jsx("div",{className:"pointer-events-none -mt-px h-px w-[calc(100%+1024px)]"})]})})},po=({itemIndex:t,images:s,onPlaceholderImageLoaded:a,onSpinImagesLoaded:p,onError:d})=>{const{autoLoad360:u,emitAnalyticsEvent:x,themeConfig:e}=Fe(),{displayedCategoryId:L,displayedCategoryName:I}=Be(),R=i.useMemo(()=>ft(e),[e]),M=i.useMemo(()=>s.map(({src:y})=>y),[s]),[h,o]=i.useState(null),E=h?[...h.values()].filter(y=>y).length/s.length*100:null,N=i.useCallback(y=>{E===null&&(o(new Map(M.map(C=>[C,!1]))),x({type:"interaction",current:{category_id:L,category_name:I,item_type:"exterior-360",item_position:t},action:{name:"Exterior 360 Play",field:"exterior_360_play",value:y}}))},[E,M,x,L,I,t]),_=i.useCallback(()=>{N("click")},[N]),w=i.useCallback(y=>{o(C=>{const m=new Map(C);return m.set(y,!0),m})},[]);return i.useEffect(()=>{u&&N("auto")},[u,N]),i.useEffect(()=>{E===100&&p()},[E,p]),n.jsxs("div",{className:"relative aspect-[4/3] w-full",children:[E!==null&&E!==100&&n.jsx("div",{className:"hidden",children:M.map(y=>n.jsx($e,{src:y,onLoad:()=>w(y),onError:d},y))}),n.jsx($e,{className:"size-full",src:M[0],onLoad:a}),n.jsxs("div",{className:"absolute inset-0 flex flex-col items-center justify-center gap-y-4 bg-foreground/35",children:[n.jsx(Wt,{className:"size-20"}),n.jsx(Ge,{"aria-label":"Play 360 view",className:R?.playButton?"border-0 bg-transparent p-0 shadow-none hover:bg-transparent":void 0,style:R?.playButton?{width:74,height:74,padding:0}:void 0,color:"neutral",shape:"icon",onClick:_,children:R?.playButton?n.jsx("img",{className:"size-full",src:R.playButton.default,alt:""}):n.jsx(kr,{className:"size-full"})}),n.jsx("div",{className:le("relative h-1 w-3/5 overflow-hidden rounded-full bg-background",E===null&&"invisible"),children:n.jsx("div",{className:"h-full bg-primary transition-[width]",style:{width:`${E??0}%`}})})]})]})},ho=t=>{const{itemIndex:s}=t,{setItemInteraction:a}=Be(),[p,d]=i.useState();return i.useEffect(()=>{p===null||p==="error"||a(s,p==="spin"?"running":"ready")},[s,a,p]),p==="error"?n.jsx(bt,{className:"text-background",text:"Spin could not be loaded"}):p!=="spin"?n.jsx(po,{...t,onPlaceholderImageLoaded:()=>d(u=>u===null?"placeholder":u),onSpinImagesLoaded:()=>d("spin"),onError:()=>d("error")}):n.jsx(fo,{...t})},mo=t=>n.jsx(Ge,{color:"neutral",shape:"icon",...t,children:n.jsx(br,{className:"size-full"})}),go=({className:t})=>n.jsx(We,{className:t,customizationKey:"UI_PAUSE",children:n.jsx("svg",{className:t,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M4 12.6667H6.66667V3.33333H4V12.6667ZM9.33333 3.33333V12.6667H12V3.33333H9.33333Z",fill:"currentColor"})})}),vo=({className:t})=>n.jsx(We,{className:t,customizationKey:"UI_VOLUME",children:n.jsx("svg",{className:t,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M2 6V10H4.66667L8 13.3333V2.66667L4.66667 6H2ZM11 8C11 6.82 10.32 5.80667 9.33333 5.31334V10.68C10.32 10.1933 11 9.18 11 8ZM9.33333 2.15334V3.52667C11.26 4.1 12.6667 5.88667 12.6667 8C12.6667 10.1133 11.26 11.9 9.33333 12.4733V13.8467C12.0067 13.24 14 10.8533 14 8C14 5.14667 12.0067 2.76 9.33333 2.15334Z",fill:"currentColor"})})}),xo=({className:t})=>n.jsx(We,{className:t,customizationKey:"UI_VOLUME_OFF",children:n.jsx("svg",{className:t,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M11 8C11 6.82 10.32 5.80667 9.33333 5.31333V6.78667L10.9667 8.42C10.9867 8.28667 11 8.14667 11 8ZM12.6667 8C12.6667 8.62667 12.5333 9.21333 12.3067 9.76L13.3133 10.7667C13.7533 9.94 14 9 14 8C14 5.14667 12.0067 2.76 9.33333 2.15333V3.52667C11.26 4.1 12.6667 5.88667 12.6667 8ZM2.84667 2L2 2.84667L5.15333 6H2V10H4.66667L8 13.3333V8.84667L10.8333 11.68C10.3867 12.0267 9.88667 12.3 9.33333 12.4667V13.84C10.2533 13.6333 11.0867 13.2067 11.7933 12.6333L13.1533 14L14 13.1533L2.84667 2ZM8 2.66667L6.60667 4.06L8 5.45333V2.66667Z",fill:"currentColor"})})}),rr=({progress:t})=>n.jsx("div",{className:"h-1 w-full overflow-hidden rounded-ui-sm bg-background/25",children:n.jsx("div",{className:"size-full rounded-ui-sm bg-background transition-transform",style:{transform:`translateX(-${100*(1-t)}%)`}})}),wo=3e3,Co=({src:t,poster:s,itemIndex:a})=>{const{carrouselItemIndex:p,setItemInteraction:d}=Be(),u=i.useRef(null),x=i.useRef(null),e=i.useCallback(()=>{if(!x.current)throw new Error("videoRef.current is null");return x.current},[]);i.useEffect(()=>{d(a,"ready")},[a,d]);const L=i.useCallback(()=>{e().play()},[e]),I=i.useCallback(()=>{e().pause()},[e]);i.useEffect(()=>{p===a||I()},[p,a,I]);const[R,M]=i.useState(!1),[h,o]=i.useState(!0),E=()=>{M(!0),d(a,"running")},N=()=>{M(!1),d(a,"ready")},_=()=>{o(!1)},w=()=>{o(!0)},[y,C]=i.useState(null),m=H=>{const U=e(),J=H.currentTarget.getBoundingClientRect(),X=(H.clientX-J.left)/J.width,se=Math.min(1,Math.max(0,X));U.volume=se,U.muted=!1},b=H=>{const U=e();U.muted=H};i.useEffect(()=>{const H=x.current;if(!H)return;const U=()=>{C({volume:H.volume,isMuted:H.muted})};return U(),H.addEventListener("volumechange",U),()=>{H.removeEventListener("volumechange",U)}},[]);const[P,$]=i.useState(null),S=P?P.currentTime/P.duration:0;i.useEffect(()=>{const H=x.current;if(!H)return;const U=()=>{const J=H.currentTime,O=H.duration;isNaN(J)||isNaN(O)||$({currentTime:J,duration:O})};return U(),H.addEventListener("timeupdate",U),()=>{H.removeEventListener("timeupdate",U)}},[]);const z=H=>{const U=e(),J=H.currentTarget.getBoundingClientRect(),X=(H.clientX-J.left)/J.width,se=U.duration*X;U.currentTime=se},Y=H=>{const U=Math.floor(H%3600/60),J=Math.floor(H%60);return`${U}:${J.toString().padStart(2,"0")}`},[j,A]=i.useState(!1),k=i.useRef(void 0),G=i.useCallback(()=>clearTimeout(k.current),[]),oe=i.useCallback(()=>{G(),k.current=setTimeout(()=>{A(!1)},wo)},[G]);return i.useEffect(()=>{const H=u.current,U=x.current;if(!H||!U)return;const J=()=>{oe(),A(!0)},O=()=>{G(),A(!1)};let X=!1;const se=()=>{X=!0},F=()=>{X&&(X=!1,I())},he=()=>{X=!1,J()},ue=ae=>{ae.preventDefault(),ae.touches.length===1&&(oe(),A(me=>!me))};return H.addEventListener("mousedown",se),H.addEventListener("mouseup",F),H.addEventListener("mouseenter",J),H.addEventListener("mousemove",he),H.addEventListener("mouseleave",O),U.addEventListener("touchstart",ue,{passive:!0}),()=>{H.removeEventListener("mousedown",se),H.removeEventListener("mouseup",F),H.removeEventListener("mouseenter",J),H.removeEventListener("mousemove",J),H.removeEventListener("mouseleave",O),U.removeEventListener("touchstart",ue)}},[G,I,oe]),n.jsxs("div",{ref:u,className:"relative aspect-[4/3] w-full",children:[n.jsx("video",{ref:x,className:"size-full",src:t,poster:s,disablePictureInPicture:!0,playsInline:!0,onPlay:E,onPause:N,onEnded:N,onCanPlay:_,onWaiting:w}),R?n.jsxs(n.Fragment,{children:[n.jsxs("div",{className:le("absolute inset-x-0 bottom-0 cursor-auto space-y-2 bg-gradient-to-t from-foreground to-transparent p-4 pr-12 pt-8 transition-opacity duration-300",j?"pointer-events-auto opacity-100":"pointer-events-none opacity-0"),onMouseDownCapture:H=>H.stopPropagation(),children:[n.jsxs("div",{className:"flex items-center justify-between text-background",children:[n.jsxs("div",{className:"flex items-center gap-x-4",children:[n.jsx(Ge,{shape:"icon",variant:"ghost",color:"neutral",onClick:I,children:n.jsx(go,{className:"size-full"})}),P&&n.jsxs("span",{className:"text-sm",children:[Y(P.currentTime)," /"," ",Y(P.duration)]})]}),y&&n.jsxs("div",{className:"group/volume flex items-center gap-x-4 rounded-ui-md p-2 transition-colors hover:bg-foreground/25",children:[n.jsx("div",{className:`w-12 cursor-pointer py-1 opacity-0 transition-opacity ${y.isMuted?"group-hover/volume:opacity-50":"group-hover/volume:opacity-100"}`,onClick:m,children:n.jsx(rr,{progress:y.volume})}),n.jsx("div",{className:"size-5 cursor-pointer",onClick:()=>b(!y.isMuted),children:y.isMuted?n.jsx(xo,{className:"size-full"}):n.jsx(vo,{className:"size-full"})})]})]}),n.jsx("div",{className:"cursor-pointer py-1",onClick:z,children:n.jsx(rr,{progress:S})})]}),h&&n.jsx("div",{className:"pointer-events-none absolute inset-0 flex items-center justify-center bg-foreground/25",children:n.jsx(xr,{size:"lg",color:"background"})})]}):n.jsx("div",{className:"absolute inset-0 flex items-center justify-center bg-foreground/25",children:n.jsx(mo,{onClick:L})})]})},bo=({index:t,item:s,isShown:a})=>{const{type:p}=s;let d;switch(p){case"image":d=n.jsx(Bt,{itemIndex:t,onlyPreload:!a,...s});break;case"video":d=n.jsx(Co,{itemIndex:t,...s});break;case"360":d=n.jsx(ho,{itemIndex:t,onlyPreload:!a,...s});break;case"next360":d=n.jsx(so,{itemIndex:t,onlyPreload:!a,...s});break;case"interior-360":d=n.jsx($n,{itemIndex:t,onlyPreload:!a,...s});break;case"custom":d=n.jsx(Dn,{itemIndex:t,...s})}return d=n.jsx("div",{className:"grid grid-cols-[repeat(var(--max-items),1fr)]",children:d}),d},yo=t=>{i.useEffect(()=>{const s=a=>{a.key==="Escape"&&t()};return addEventListener("keydown",s),()=>{removeEventListener("keydown",s)}},[t])};function Eo(t){return t.target===t.currentTarget}const Lo=({className:t,children:s,isVisible:a,url:p,title:d,description:u,clickHandler:x,extendMode:e,variant:L,aspectRatioStyle:I,maxItemsShown:R=1})=>{const{isFullScreen:M,integration:h}=Fe(),o=()=>L||(!h||M?"centered":"aside"),E=()=>!!(d||u),N=()=>!!p,_=()=>N()&&!E(),w=o(),y=C=>{if(!I)return{};switch(C){case"centered":return{...I,aspectRatio:"4 / 3",maxHeight:E()?"50%":"100%"};case"aside":return{...I,minHeight:0,flex:"1 1 auto"};case"fullwidth":return{...I,height:"85%"};default:return I}};return _()?n.jsxs("div",{className:le(t,"absolute inset-0 z-overlay flex items-center justify-center overflow-hidden bg-foreground/60 transition-opacity duration-details",a?"opacity-100":"pointer-events-none opacity-0"),onClick:x,children:[s,a&&n.jsx($e,{className:"size-full bg-foreground/65 object-contain",src:p||"",style:I,imgInPlayerWidthRatio:1})]}):w==="centered"?n.jsx("div",{className:le(t,"absolute inset-0 z-overlay flex justify-end overflow-hidden bg-foreground/10 transition-opacity duration-details",a?"opacity-100":"pointer-events-none opacity-0"),onClick:x,children:n.jsxs("div",{className:le("flex h-full flex-col bg-navy text-white transition-transform duration-details",a?"translate-x-0":"translate-x-full","w-3/5"),style:{containerType:"inline-size"},children:[s,a&&n.jsxs(n.Fragment,{children:[N()&&n.jsx($e,{className:le(E()?"max-h-[50%]":"h-full","w-full bg-foreground/65 object-cover"),src:p||"",style:y("centered"),imgInPlayerWidthRatio:.6}),E()&&n.jsxs("div",{className:le("flex flex-1 flex-col gap-4 overflow-y-auto p-4 small:p-3",e&&"large:p-4"),children:[d&&n.jsx("h3",{className:le("text-[clamp(0.875rem,0.6rem+1.6cqw,1.125rem)] font-semibold text-white small:font-bold",e&&"large:text-lg"),children:d}),u&&n.jsx("p",{className:le("text-[clamp(0.75rem,0.55rem+1.3cqw,0.875rem)] text-white",e&&"large:text-sm"),children:u})]})]})]})}):w==="aside"?n.jsx("div",{className:le(t,"absolute inset-0 z-overlay flex items-center justify-center overflow-hidden bg-foreground/60 transition-opacity duration-details",a?"opacity-100":"pointer-events-none opacity-0"),onClick:x,children:n.jsxs("div",{className:le("relative flex h-full flex-col bg-background transition-transform duration-details",a?"translate-y-0":"translate-y-full"),style:{containerType:"inline-size",width:h?`${100/(M?1:R)}%`:`${100/R}%`},children:[s,a&&n.jsxs(n.Fragment,{children:[N()&&n.jsx($e,{className:"min-h-0 w-full flex-1 bg-foreground/65 object-contain",src:p||"",style:y("aside"),imgInPlayerWidthRatio:.6}),n.jsxs("div",{className:le("space-y-1 p-2 small:p-3",N()?"min-h-[15%] shrink-0":"flex-1 overflow-y-auto"),children:[d&&n.jsx("span",{className:le("block text-[clamp(0.75rem,0.45rem+1.8cqw,1.125rem)] font-semibold leading-tight small:font-bold",e&&"large:text-lg"),children:d}),u&&n.jsx("p",{className:le("text-[clamp(0.625rem,0.4rem+1.5cqw,0.875rem)] leading-tight text-foreground/65",e&&"large:text-sm"),children:u})]})]})]})}):n.jsx("div",{className:le(t,"absolute inset-0 z-overlay flex items-center justify-center overflow-hidden bg-foreground/60 transition-opacity duration-details",a?"opacity-100":"pointer-events-none opacity-0"),onClick:x,children:n.jsxs("div",{className:le("relative flex aspect-[4/3] flex-col bg-background transition-transform duration-details",a?"translate-y-0":"translate-y-full"),style:{containerType:"inline-size",width:h?`${100/(M?1:R)}%`:`${100/R}%`},children:[s,a&&p&&n.jsxs(n.Fragment,{children:[n.jsx($e,{className:"h-[85%] w-full bg-foreground/65 object-contain",src:p,style:y("fullwidth"),imgInPlayerWidthRatio:.6}),n.jsxs("div",{className:"h-[15%] space-y-1 overflow-y-auto px-2 py-1 small:p-3",children:[d&&n.jsx("span",{className:le("text-[clamp(0.75rem,0.45rem+1.8cqw,1.125rem)] font-semibold small:font-bold",e&&"large:text-lg"),children:d}),u&&n.jsx("p",{className:le("text-[clamp(0.625rem,0.4rem+1.5cqw,0.875rem)] text-foreground/65",e&&"large:text-sm"),children:u})]})]})]})})},Mo=({currentIndex:t,maxIndex:s})=>n.jsxs("div",{className:"space-x-0.5 rounded-ui bg-foreground/40 px-1.5 py-0.5 text-xs text-background/75 transition-radius small:space-x-1 small:px-2 small:py-1 small:text-sm",children:[n.jsx("span",{children:t+1}),n.jsx("span",{children:"/"}),n.jsx("span",{children:s+1})]}),ko=({className:t})=>n.jsx(We,{className:t,customizationKey:"UI_EXTEND",children:n.jsx("svg",{className:t,viewBox:"0 0 20 20",fill:"none",children:n.jsx("path",{d:"M2.5 5.83333V4.16667C2.5 3.72464 2.67559 3.30072 2.98816 2.98816C3.30072 2.67559 3.72464 2.5 4.16667 2.5H5.83333M14.1667 2.5H15.8333C16.2754 2.5 16.6993 2.67559 17.0118 2.98816C17.3244 3.30072 17.5 3.72464 17.5 4.16667V5.83333M17.5 14.1667V15.8333C17.5 16.2754 17.3244 16.6993 17.0118 17.0118C16.6993 17.3244 16.2754 17.5 15.8333 17.5H14.1667M5.83333 17.5H4.16667C3.72464 17.5 3.30072 17.3244 2.98816 17.0118C2.67559 16.6993 2.5 16.2754 2.5 15.8333V14.1667M6.66667 6.66667H13.3333C13.7936 6.66667 14.1667 7.03976 14.1667 7.5V12.5C14.1667 12.9602 13.7936 13.3333 13.3333 13.3333H6.66667C6.20643 13.3333 5.83333 12.9602 5.83333 12.5V7.5C5.83333 7.03976 6.20643 6.66667 6.66667 6.66667Z",stroke:"currentColor",strokeWidth:"1.04167",strokeLinecap:"round",strokeLinejoin:"round"})})}),Io=({className:t})=>n.jsx(We,{className:t,customizationKey:"UI_GALLERY",children:n.jsx("svg",{className:t,viewBox:"0 0 20 20",fill:"none",children:n.jsx("path",{d:"M15 18.3334H3.33335C2.89133 18.3334 2.4674 18.1578 2.15484 17.8453C1.84228 17.5327 1.66669 17.1088 1.66669 16.6667V5.00008M18.3334 10.8334L17.2534 9.75345C16.8767 9.37688 16.3659 9.16532 15.8334 9.16532C15.3008 9.16532 14.79 9.37688 14.4134 9.75345L9.16669 15.0001M11.6667 6.66675C11.6667 7.58722 10.9205 8.33342 10 8.33342C9.07955 8.33342 8.33335 7.58722 8.33335 6.66675C8.33335 5.74627 9.07955 5.00008 10 5.00008C10.9205 5.00008 11.6667 5.74627 11.6667 6.66675ZM6.66669 1.66675H16.6667C17.5872 1.66675 18.3334 2.41294 18.3334 3.33341V13.3334C18.3334 14.2539 17.5872 15.0001 16.6667 15.0001H6.66669C5.74621 15.0001 5.00002 14.2539 5.00002 13.3334V3.33341C5.00002 2.41294 5.74621 1.66675 6.66669 1.66675Z",stroke:"currentColor",strokeWidth:"1.04167",strokeLinecap:"round",strokeLinejoin:"round"})})}),_o=({className:t})=>n.jsx(We,{className:t,customizationKey:"UI_HOTSPOTS",children:n.jsx("svg",{className:t,viewBox:"0 0 11 11",fill:"none",children:n.jsx("path",{d:"M0.400024 5.3999H1.90002M1.90002 5.3999C1.90002 7.3329 3.46703 8.8999 5.40002 8.8999M1.90002 5.3999C1.90002 3.46691 3.46703 1.8999 5.40002 1.8999M8.90002 5.3999H10.4M8.90002 5.3999C8.90002 7.3329 7.33302 8.8999 5.40002 8.8999M8.90002 5.3999C8.90002 3.46691 7.33302 1.8999 5.40002 1.8999M5.40002 0.399902V1.8999M5.40002 8.8999V10.3999M6.90002 5.3999C6.90002 6.22833 6.22845 6.8999 5.40002 6.8999C4.5716 6.8999 3.90002 6.22833 3.90002 5.3999C3.90002 4.57148 4.5716 3.8999 5.40002 3.8999C6.22845 3.8999 6.90002 4.57148 6.90002 5.3999Z",stroke:"currentColor",strokeWidth:"0.8",strokeLinecap:"round",strokeLinejoin:"round"})})}),To=({className:t})=>n.jsx(We,{className:t,customizationKey:"UI_MINUS",children:n.jsx("svg",{className:t,viewBox:"0 0 13 2",fill:"none",children:n.jsx("path",{d:"M0.520874 0.520752H12.1875",stroke:"currentColor",strokeWidth:"1.04167",strokeLinecap:"round",strokeLinejoin:"round"})})}),So=({className:t})=>n.jsx(We,{className:t,customizationKey:"UI_PLUS",children:n.jsx("svg",{className:t,viewBox:"0 0 13 13",fill:"none",children:n.jsx("path",{d:"M0.520874 6.35409H12.1875M6.35421 0.520752V12.1874",stroke:"currentColor",strokeWidth:"1.04167",strokeLinecap:"round",strokeLinejoin:"round"})})}),Po=({enabled:t,onToggle:s,label:a,className:p,children:d})=>n.jsxs("label",{className:le("flex cursor-pointer items-center justify-center gap-x-2",p),children:[n.jsx("input",{type:"checkbox",className:"sr-only",checked:t,onChange:s}),a&&n.jsx("div",{className:"text-xs text-background",children:a}),n.jsx("div",{className:le("flex h-5 w-8 items-center justify-center rounded-full transition-colors",t?"bg-primary":"bg-background/60"),children:n.jsx("div",{className:le("flex size-4 items-center justify-center rounded-full p-0.5 transition",t?"translate-x-1.5 bg-primary-foreground text-primary":"-translate-x-1.5 bg-background text-foreground"),children:d})})]}),No=({className:t})=>n.jsx(We,{className:t,customizationKey:"UI_BURGER",children:n.jsx("svg",{className:t,width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n.jsx("path",{d:"M2 12H14V10.6667H2V12ZM2 8.66667H14V7.33333H2V8.66667ZM2 4V5.33333H14V4H2Z",fill:"currentColor"})})}),Ro=({sharedClassName:t})=>{const{categories:s}=rt(),{displayedCategoryId:a,changeCategory:p}=Be(),[d,u]=i.useState(!1),x=()=>{u(!d)},e=()=>{u(!1)};return n.jsxs(n.Fragment,{children:[d&&n.jsx("div",{className:le(t,"inset-0 small:hidden"),onClick:e}),n.jsxs("div",{className:le(t,at("top-left"),"flex gap-x-2 small:hidden"),children:[n.jsx(Ge,{shape:"icon",color:d?"primary":"neutral",onClick:x,children:n.jsx(No,{})}),d&&n.jsx("div",{className:"rounded-ui-md bg-background transition-radius",children:n.jsx("ul",{className:"space-y-0.5 p-1",children:s.map(({id:L,title:I})=>n.jsx("li",{className:le("cursor-pointer rounded-ui px-2 py-1 text-sm font-bold transition-all hover:bg-primary/30",L===a&&"bg-primary/50"),onClick:()=>{p(L),u(!1)},children:I},L))})})]}),n.jsx("div",{className:le(t,vr("top"),"w-full overflow-x-auto max-small:hidden"),children:n.jsx("div",{className:"mx-auto flex w-fit gap-x-1 rounded-ui-md bg-background p-1 shadow",children:s.map(({id:L,title:I})=>n.jsx(Ge,{variant:L===a?"fill":"ghost",onClick:()=>p(L),children:I},L))})})]})},jo=()=>{const{hideCategoriesNav:t,infiniteCarrousel:s,permanentGallery:a,extendBehavior:p,maxItemsShown:d,isFullScreen:u,integration:x}=Fe(),{aspectRatioStyle:e,categories:{length:L}}=rt(),{items:{length:I},slidable:R,carrouselItemIndex:M,masterItemIndex:h,prevItem:o,nextItem:E,showGalleryControls:N,enableHotspotsControl:_,currentItemHotspotsVisible:w,toggleHotspots:y,showGallery:C,toggleGallery:m,extendMode:b,toggleExtendMode:P,shownDetails:$,isShowingDetails:S,resetShownDetails:z,showZoomControls:Y,isZooming:j,canZoomIn:A,zoomIn:k,canZoomOut:G,zoomOut:oe,resetView:H}=Be(),U=i.useCallback(se=>{Eo(se)&&z()},[z]);yo(z);const J="absolute z-overlay",O=()=>{if(d===1)return M;const F=Math.floor(d)-1;return M+F},X=()=>{if(!x)return h;const F=Math.floor(d)-1;return h+F};return n.jsxs(n.Fragment,{children:[!t&&L>1&&n.jsx(Ro,{sharedClassName:le(J,"transition-opacity",j?"!pointer-events-none opacity-0":"opacity-100")}),R&&!j&&n.jsx("div",{className:le(J,at("top-right")),children:n.jsx(Mo,{currentIndex:!x||u?M:O(),maxIndex:I-1})}),R&&n.jsxs(n.Fragment,{children:[n.jsx(Ge,{shape:"icon",color:"neutral",className:le(J,at("middle-left"),j?"!pointer-events-none opacity-0":"opacity-100"),onClick:o,disabled:!s&&h<=0,children:n.jsx(We,{customizationKey:"CONTROLS_PREV",children:n.jsx(It,{className:"size-full -scale-x-100"})})}),n.jsx(Ge,{shape:"icon",color:"neutral",className:le(J,at("middle-right"),j?"!pointer-events-none opacity-0":"opacity-100"),onClick:E,disabled:!s&&X()>=I-1,children:n.jsx(We,{customizationKey:"CONTROLS_NEXT",children:n.jsx(It,{className:"size-full"})})})]}),n.jsxs("div",{className:le(J,at("bottom-fullW"),"pointer-events-none grid grid-cols-[auto,1fr,auto] items-end *:pointer-events-auto small:gap-x-2"),children:[!a&&R&&n.jsxs(n.Fragment,{children:[n.jsx(Ge,{className:N&&!j?"opacity-100":"!pointer-events-none opacity-0",variant:"fill",color:C?"primary":"neutral",shape:"icon",onClick:m,children:n.jsx(Io,{className:"size-full"})}),C&&n.jsx(Er,{className:le("transition-opacity",N&&!j?"opacity-100":"!pointer-events-none opacity-0","[mask-image:linear-gradient(to_left,transparent_0px,black_4px,black_calc(100%-4px),transparent_100%)]"),containerClassName:"mx-1"})]}),n.jsxs("div",{className:"col-start-3 flex flex-col items-end gap-y-1 small:gap-y-2",children:[_&&n.jsx(Po,{className:le("transition-opacity",j?"!pointer-events-none opacity-0":"opacity-100"),enabled:w,onToggle:y,children:n.jsx(_o,{className:"size-full"})}),Y&&(!x||u)&&n.jsxs("div",{className:"max-small:hidden",children:[n.jsx(Ge,{className:"rounded-b-none",color:"neutral",shape:"icon",disabled:!A,onClick:k,children:n.jsx(So,{className:"size-full"})}),n.jsx(yr,{color:"background"}),n.jsx(Ge,{className:"rounded-t-none",color:"neutral",shape:"icon",disabled:!G,onClick:oe,children:n.jsx(To,{className:"size-full"})})]}),p!=="none"&&n.jsx(Ge,{variant:"fill",color:b?"primary":"neutral",shape:"icon",onClick:P,children:n.jsx(ko,{className:"size-full"})})]})]}),n.jsx(Lo,{isVisible:S,className:J,url:$?.src,title:$?.title,description:$?.text,clickHandler:U,extendMode:b,maxItemsShown:d,aspectRatioStyle:e,children:n.jsx(kt,{className:"absolute right-2 top-2 z-10",onClick:z})}),j&&n.jsx(kt,{className:le(J,at("top-right")),onClick:H})]})},Ao=({className:t=""})=>{const{infiniteCarrousel:s,preloadRange:a,isFullScreen:p,maxItemsShown:d,integration:u}=Fe(),{aspectRatioStyle:x}=rt(),{items:e,slidable:L,carrouselItemIndex:I,setCarrouselItemIndex:R,itemIndexCommand:M,setItemIndexCommand:h,specialCommand:o,isRunningSpecialCommand:E,finishSpecialCommand:N,extendMode:_,extendTransition:w}=Be(),{effectiveMaxItemsShown:y}=fr(),C=i.useRef(null),m=i.useCallback(O=>{if(!C.current)throw new Error(`[${O??"sliderOrThrow"}] slider.current is null`);return C.current},[]),b=i.useRef(!1),P=i.useRef(null),$=i.useRef(null),S=i.useRef(null),z=i.useCallback(()=>{S.current&&cancelAnimationFrame(S.current)},[]),Y=i.useCallback(()=>{const O=m("computeClosestSnapIndex"),X=Array.from(O.children),se=O.scrollLeft;let F=0,he=1/0;if(X.forEach((ue,ae)=>{const T=ue.offsetLeft,me=Math.abs(T-se);me<he&&(he=me,F=ae)}),y>1){const ue=Math.ceil(y),ae=e.length+(u&&!s&&y%1!==0?1:0),T=Math.max(0,ae-ue);if(F=Math.min(F,T),u&&!s&&y%1!==0){const me=e.length-1;F=Math.min(F,me)}}return F},[m,y,e.length,s,u]),j=i.useCallback(O=>{const X=m("setStyleCursor");X.style.cursor=O},[m]),A=i.useCallback(O=>{const X=m("setStyleSnapState");O==="mandatory"?X.style.scrollSnapType="x mandatory":X.style.scrollSnapType="none"},[m]),k=i.useCallback((O,X,se)=>{z();const F=m("scrollToIndex"),he=Array.from(F.children),ue=F.scrollLeft;let ae=he[O].offsetLeft;const T=F.clientWidth,me=F.scrollWidth-T;if(y>1){const f=Math.ceil(y),K=e.length+(u&&!s&&y%1!==0?1:0);O>=K-f&&(ae=Math.min(ae,me))}const Z=f=>{F.scrollTo({left:f,behavior:"instant"})},be=()=>{Z(ae),A("mandatory"),se?.()},Re=Math.abs(ue-ae);if(Re<1||X==="instant"){be();return}const Te=Ke(Re/2.5,300,1e3),Q=new Date().getTime();A("none");const c=()=>{const f=()=>{const te=new Date().getTime()-Q;if(te>=Te){be();return}const ee=Math.min(te/Te,1),g=Lr(ee),ne=vt(ue,ae,g);Z(ne),c()};S.current=requestAnimationFrame(f)};c()},[z,m,y,A,e.length,u,s]),[G,oe]=i.useState(),H=!!G;i.useEffect(()=>{const O=()=>{clearTimeout(G);const X=setTimeout(()=>{oe(void 0)},dr);oe(X)};return addEventListener("resize",O),document.addEventListener("fullscreenchange",O),()=>{removeEventListener("resize",O),document.removeEventListener("fullscreenchange",O)}},[G]),i.useEffect(()=>{if(o)return;const O=Y();Number.isNaN(O)||O!==I&&k(I,"instant")},[I,Y,k,o,e,G,p,_,w]),i.useEffect(()=>{if(!L||E){j("auto");return}const O=C.current;if(!O)return;j("grab"),A("mandatory");const X=he=>{he.button===0&&(he.preventDefault(),he.stopPropagation(),z(),b.current=!0,P.current=he.pageX-O.offsetLeft,$.current=O.scrollLeft,j("grabbing"))},se=he=>{if(!b.current)return;if(P.current===null)throw new Error("[onMouseMove] startX is null");A("none");const ae=he.pageX-O.offsetLeft-P.current;requestAnimationFrame(()=>{if($.current===null)throw new Error("[onMouseMove] scrollLeft is null");let T=$.current-ae;if(!s){const me=O.scrollWidth-O.clientWidth;T>me&&(T=me)}O.scrollLeft=T})},F=()=>{if(!b.current)return;b.current=!1,j("grab");const he=Y();k(he,"smooth")};return O.addEventListener("mousedown",X),document.addEventListener("mousemove",se),document.addEventListener("mouseleave",F),document.addEventListener("mouseup",F),document.addEventListener("contextmenu",F),()=>{O.removeEventListener("mousedown",X),document.removeEventListener("mousemove",se),document.removeEventListener("mouseleave",F),document.removeEventListener("mouseup",F),document.removeEventListener("contextmenu",F)}},[z,Y,s,E,k,j,A,L]),i.useEffect(()=>{if(w||H)return;const O=C.current;if(!O)return;const X=()=>{const se=Y();Number.isNaN(se)||(R(se),se===M&&h(null))};return O.addEventListener("scroll",X),()=>{O.removeEventListener("scroll",X)}},[Y,w,H,M,d,R,h]),i.useEffect(()=>{if(M===null)return;const O=()=>{setTimeout(()=>{h(null),N()},75)};switch(o){case"first_to_last":{const X=Math.ceil(y),se=e.length+(u&&!s&&y%1!==0?1:0),F=y>1?Math.max(0,se-X):e.length-1;k(F,"instant",O);break}case"last_to_first":k(0,"instant",O);break;case"instant":k(M,"instant",O);break;default:k(M,"smooth");break}},[o,N,M,e.length,k,h,y,s,u]);const U=i.useMemo(()=>!u||p?x:{aspectRatio:"auto"},[u,p,x]),J=i.useMemo(()=>({...x,minWidth:`${100/y}%`,width:`${100/y}%`,flexShrink:0}),[x,y]);return n.jsxs("div",{className:le("relative overflow-hidden rounded-carrousel transition-radius",t),style:U,children:[n.jsxs("div",{ref:C,className:`flex size-full ${L?"overflow-x-auto no-scrollbar *:snap-start *:snap-always":"justify-center"}`,children:[e.map((O,X)=>{const se=X===I,F=X===0,he=X===e.length-1,ue=(()=>{const be=Math.ceil(y);if(o==="first_to_last"&&F)return{transform:`translateX(${100*e.length/be}%)`};if(o==="last_to_first"&&he)return{transform:`translateX(-${100*e.length/be}%)`}})(),ae=Math.ceil(y),T=Math.max(a,ae);let me=Math.abs(X-I)<=T;me||=X===M,me||=X>=I&&X<I+ae,s&&(me||=I<T&&e.length-X<=T-I,me||=I>=e.length-T&&X<=T-(e.length-I));const Z=(()=>{let be;switch(O.type){case"360":be=O.images[0].src;break;case"interior-360":be=O.poster??"interior-360";break;case"image":be=O.src;break;case"video":be=O.poster??"video";break;case"custom":be="custom";break;default:be="unknown"}return`${X}_${be}`})();return n.jsx("div",{className:le("h-full bg-foreground/35",I===X&&"z-1"),style:{...J,...ue},children:me&&n.jsx(bo,{index:X,item:O,isShown:se})},Z)}),u&&!s&&!p&&d%1!==0&&n.jsx("div",{className:"h-full",style:J},"empty-slide")]}),n.jsx(jo,{})]})},zo=()=>{const{permanentGallery:t,integration:s}=Fe(),{aspectRatioStyle:a}=rt(),{isShowingDetails:p,resetShownDetails:d,extendMode:u,disableExtendMode:x,isZooming:e,resetZoom:L,fakeFullScreen:I}=Be(),R=i.useRef(null),M=i.useRef(null),h=i.useRef(null);return i.useEffect(()=>{if(!u)return;const o=R.current,E=M.current,N=h.current;if(!o||!E||!N)return;let _=!1;const w=m=>[o,E,N].includes(m.target),y=m=>{_=w(m)},C=m=>{_&&(w(m)&&x(),_=!1)};return o.addEventListener("mousedown",y),o.addEventListener("mouseup",C),()=>{o.removeEventListener("mousedown",y),o.removeEventListener("mouseup",C)}},[x,u]),i.useEffect(()=>{const o=E=>{E.key==="Escape"&&(e?L():p?d():x())};return addEventListener("keydown",o),()=>{removeEventListener("keydown",o)}},[x,p,e,d,L]),n.jsxs("div",{ref:R,className:le("relative",u&&"flex size-full items-center justify-center",I&&"fixed inset-0 z-overlay bg-foreground/75"),children:[n.jsxs("div",{ref:M,className:u?"flex size-full flex-col justify-center gap-y-2 small:gap-y-4":"space-y-2",children:[n.jsx("div",{ref:h,className:le(u&&"mx-auto flex min-h-0 w-full max-w-[1600px] justify-center"),style:s?{}:a,children:n.jsx(Ao,{className:le(u&&"h-full min-w-0")})}),t&&n.jsx(Er,{className:le(u&&"my-2 shrink-0 small:my-4")})]}),u&&n.jsx(kt,{className:"absolute right-2 top-2 small:right-4 small:top-4",onClick:x})]})},Do=()=>{const{emitEvent:t,emitAnalyticsEvent:s,compositionUrl:a}=Fe(),{data:p,status:d,isSuccess:u,error:x}=cn(a);return i.useEffect(()=>{if(x){t(Nt,x);const e={type:"error",error:x instanceof Error?{name:x.name||"CompositionLoadError",message:x.message,stack:x.stack}:{name:"NonError",message:(()=>{try{return JSON.stringify(x)}catch{return String(x)}})()}};s(e)}else d==="fetching"?t(St,a):u&&t(Pt,p)},[p,a,t,s,x,u,d]),x?n.jsx(bt,{className:"aspect-[4/3] text-foreground/70",text:"Player could not be loaded"}):u?n.jsx(dn,{composition:p,children:n.jsx(hn,{children:n.jsx(zo,{})})}):n.jsxs("div",{className:"flex aspect-[4/3] size-full flex-col items-center justify-center gap-y-4",children:[n.jsx("div",{className:"animate-pulse text-xl",children:"Loading Player"}),n.jsx(xr,{color:"foreground"})]})},Oo={hideCategoriesNav:!0,infiniteCarrousel:!1,permanentGallery:!1},Fo=[1,1.5,2,2.5],Ho=()=>i.useMemo(()=>nn(),[]),Uo=()=>i.useMemo(()=>on(),[]),Wo=()=>i.useMemo(()=>sn(),[]),Bo="https://analytics.eu.car-cutter.com",Vo={load:"/webplayer/load",display:"/webplayer/display",interaction:"/webplayer/interaction",error:"/webplayer/error"},Xo=t=>{const s=Vo[t];return new URL(s,Bo).toString()},Yo=t=>{const s=new Headers;return s.append("Content-Type","application/json"),s.append("Authorization",`Bearer ${t}`),s},Zo=t=>{const{type:s,...a}=t;return JSON.stringify(a)},Go=1e4,qo=async(t,s=Go)=>{const{payload:a,compositionUrl:p}=t,d=Yo(p),u=Zo(a),x=Xo(a.type),e=new AbortController,L=setTimeout(()=>e.abort(),s);try{const I=await fetch(x,{method:"POST",headers:d,body:u,signal:e.signal});if(!I.ok)throw new Error(`Monitoring request failed: ${I.status} ${I.statusText} (${x})`)}finally{clearTimeout(L)}},Ko=({compositionUrl:t,integration:s=qr,maxItemsShown:a=ir,hideCategoriesNav:p=zr,infiniteCarrousel:d=Dr,permanentGallery:u=Or,mediaLoadStrategy:x=Fr,minMediaWidth:e=Hr,maxMediaWidth:L=Ur,preloadRange:I=Wr,autoLoad360:R=Br,autoLoadInterior360:M=Vr,categoriesFilter:h=Xr,extendBehavior:o=Yr,eventPrefix:E=Ot,demoSpin:N=Zr,reverse360:_=Gr,analyticsEventPrefix:w=lr,analyticsUrl:y=Kr,analyticsBearer:C=$r,analyticsSimpleRequestsOnly:m=Jr,analyticsDryRun:b=Qr,analyticsDebug:P=en,spinCursor:$=Ft,monitoring:S,themeConfig:z,children:Y})=>{const j=S!==void 0?S:!y;a=fn(a,Fo);const A=i.useRef(null),[k,G]=i.useState(.5),[oe,H]=i.useState(!1),U=i.useCallback((ae,T)=>{const me=E+ae,Z=new CustomEvent(me,{detail:T});document.dispatchEvent(Z)},[E]),J=Ho(),O=Uo(),X=Wo(),se=i.useCallback(async ae=>{try{const T={instance_id:X,browser_id:J,session_id:O,from_url:window.location.href},me={...ae,timestamp:new Date().toISOString(),instance:T};if(b){console.log("[DRY RUN] AnalyticsEvent:",me);return}const Z=w+ae.type,be=new CustomEvent(Z,{detail:me});if(document.dispatchEvent(be),y||j){const Re="POST",Te=new Headers;m||(Te.append("Content-Type","application/json"),Te.append("Cache-Control","no-cache"),C&&Te.append("Authorization",`Bearer ${C}`));const Q=JSON.stringify(me),c=[];y&&c.push(fetch(y,{method:Re,headers:Te,body:Q})),j&&c.push(qo({payload:me,compositionUrl:t}));const f=await Promise.allSettled(c);if(P)for(const K of f)K.status==="rejected"&&console.error("Analytics request failed:",K.reason)}}catch(T){if(!P)return;console.error("Error while sending analytics event:",T)}},[w,y,C,m,b,P,X,J,O,t,j]),[F]=i.useState({type:"load",config:{composition_url:t,integration:s,max_items_shown:a,hide_categories_nav:p,infinite_carrousel:d,permanent_gallery:u,media_load_strategy:x,min_media_width:e,preload_range:I,auto_load_360:R,auto_load_interior_360:M,categories_filter:h,extend_behavior:o,event_prefix:E,demo_spin:N,reverse_360:_}});i.useEffect(()=>{const ae=setTimeout(()=>se(F),0);return()=>clearTimeout(ae)},[se,F]),i.useEffect(()=>{if(oe){G(1);return}if(!A.current)return;const ae=A.current,T=()=>{const me=window.innerWidth,Z=ae.clientWidth;G(Z/me)};return T(),addEventListener("resize",T),()=>{removeEventListener("resize",T)}},[oe]),i.useEffect(()=>{if(o!=="full_screen")return;const ae=A.current;if(!ae)throw new Error("Wrapper not found");const T=()=>{const{fullscreenElement:me}=document;H(me===ae||me?.localName===Ct)};return document.addEventListener("fullscreenchange",T),()=>{document.removeEventListener("fullscreenchange",T)}},[o]);const he=i.useCallback(async()=>{const ae=A.current;if(!ae)throw new Error("Wrapper not found");try{return await ae.requestFullscreen(),!0}catch{return!1}},[]),ue=i.useCallback(async()=>{try{return await document.exitFullscreen(),!0}catch{return!1}},[]);return n.jsx(un,{compositionUrl:t,integration:s,hideCategoriesNav:p,infiniteCarrousel:d,permanentGallery:u,maxItemsShown:a,mediaLoadStrategy:x,minMediaWidth:e,maxMediaWidth:L,preloadRange:I,categoriesFilter:h,autoLoad360:R,autoLoadInterior360:M,extendBehavior:o,demoSpin:N,reverse360:_,spinCursor:$,themeConfig:z,emitEvent:U,emitAnalyticsEvent:se,playerInViewportWidthRatio:k,isFullScreen:oe,requestFullscreen:he,exitFullscreen:ue,...s?Oo:{},children:n.jsxs(pn,{children:[n.jsx("div",{ref:A,className:"size-full select-none text-foreground",style:{"--background":"var(--cc-webplayer-background, 0 0% 100%)","--details-background":"var(--cc-webplayer-details-background, 216 47% 11%)","--details-text":"var(--cc-webplayer-details-text, 0 0% 100%)","--foreground":"var(--cc-webplayer-foreground, 240 10% 3.9%)","--primary":"var(--cc-webplayer-primary, 216 100% 52%)","--primary-foreground":"var(--cc-webplayer-primary-foreground, var(--background))","--primary-light":"var(--cc-webplayer-primary-light, var(--primary))","--neutral":"var(--cc-webplayer-neutral, 0 0% 39%)","--neutral-foreground":"var(--cc-webplayer-neutral-foreground, var(--foreground))","--radius-ui":"var(--cc-webplayer-radius-ui, 16px)","--radius-carrousel":"var(--cc-webplayer-radius-carrousel, 0)","--radius-gallery":"var(--cc-webplayer-radius-gallery, 0)","--hotspot-damage-color":"hsl(var(--cc-webplayer-hotspot-damage-color, 37 89% 52%))","--hotspot-feature-color":"hsl(var(--cc-webplayer-hotspot-feature-color, var(--primary)))"},children:n.jsx(Do,{})}),Y]})})},$o=({children:t,index:s,thumbnailSrc:a})=>{const{registerCustomMedia:p,unregisterCustomMedia:d}=dt();return i.useEffect(()=>{if(!t)return;const u=p({Media:t,index:s,thumbnailSrc:a});return()=>{d(u)}},[t,d,s,p,a]),null},Jo=t=>Ut()?n.jsx($o,{...t}):n.jsx("slot",{}),Qo=({name:t,children:s})=>{const{registerIconConfig:a,unregisterIconConfig:p}=dt();return i.useEffect(()=>{if(s)return a(t,{Icon:s}),()=>{p(t)}},[s,t,a,p]),null},e2=t=>Ut()?n.jsx(Qo,{...t}):n.jsx("slot",{}),t2=`*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}.\\!container{width:100%!important}.container{width:100%}@media(min-width:1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.\\!pointer-events-none{pointer-events:none!important}.pointer-events-none{pointer-events:none}.pointer-events-auto{pointer-events:auto}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.\\!absolute{position:absolute!important}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{inset:0}.inset-x-0{left:0;right:0}.inset-x-1{left:4px;right:4px}.inset-y-1{top:4px;bottom:4px}.-left-px{left:-1px}.-right-px{right:-1px}.bottom-0{bottom:0}.bottom-1{bottom:4px}.left-0{left:0}.left-1{left:4px}.left-1\\/2{left:50%}.left-\\[-5px\\]{left:-5px}.right-0{right:0}.right-1{right:4px}.right-2{right:8px}.right-\\[-5px\\]{right:-5px}.top-0{top:0}.top-1{top:4px}.top-1\\/2{top:50%}.top-2{top:8px}.top-px{top:1px}.-z-10{z-index:-10}.-z-20{z-index:-20}.z-1{z-index:1}.z-10,.z-hotspot{z-index:10}.z-overlay{z-index:30}.z-zoomed-image{z-index:20}.col-start-3{grid-column-start:3}.mx-1{margin-left:4px;margin-right:4px}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:8px;margin-bottom:8px}.-ml-px{margin-left:-1px}.-mt-px{margin-top:-1px}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.aspect-\\[4\\/3\\]{aspect-ratio:4/3}.aspect-square{aspect-ratio:1 / 1}.size-1{width:4px;height:4px}.size-12{width:48px;height:48px}.size-20{width:80px;height:80px}.size-4{width:16px;height:16px}.size-5{width:20px;height:20px}.size-7{width:28px;height:28px}.size-8{width:32px;height:32px}.size-full{width:100%;height:100%}.h-1{height:4px}.h-10{height:40px}.h-20{height:80px}.h-3\\/4{height:75%}.h-5{height:20px}.h-8{height:32px}.h-\\[15\\%\\]{height:15%}.h-\\[85\\%\\]{height:85%}.h-full{height:100%}.h-px{height:1px}.max-h-\\[50\\%\\]{max-height:50%}.min-h-0{min-height:0}.min-h-\\[15\\%\\]{min-height:15%}.w-12{width:48px}.w-3\\/5{width:60%}.w-8{width:32px}.w-\\[calc\\(100\\%\\+1024px\\)\\]{width:calc(100% + 1024px)}.w-\\[calc\\(100\\%\\+2px\\)\\]{width:calc(100% + 2px)}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-px{width:1px}.min-w-0{min-width:0}.max-w-60{max-width:240px}.max-w-\\[1600px\\]{max-width:1600px}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.origin-top-left{transform-origin:top left}.-translate-x-1\\.5{--tw-translate-x: -6px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-x-1\\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-1\\.5{--tw-translate-x: 6px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-full{--tw-translate-x: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-full{--tw-translate-y: 100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-105{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-scale-x-100{--tw-scale-x: -1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes hotspot-ping{0%{transform:scale(0)}25%{opacity:1}75%,to{transform:scale(1.5);opacity:0}}.animate-hotspot-ping{animation:hotspot-ping 3s cubic-bezier(0,0,.2,1) infinite}@keyframes pulse{50%{opacity:1}0%,to{opacity:0}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes rotation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.animate-rotation{animation:rotation 1s linear infinite}.cursor-auto{cursor:auto}.cursor-default{cursor:default}.cursor-grab{cursor:grab}.cursor-grabbing{cursor:grabbing}.cursor-move{cursor:move}.cursor-pointer{cursor:pointer}.resize{resize:both}.grid-cols-\\[auto\\,1fr\\,auto\\]{grid-template-columns:auto 1fr auto}.grid-cols-\\[repeat\\(var\\(--max-items\\)\\,1fr\\)\\]{grid-template-columns:repeat(var(--max-items),1fr)}.flex-col{flex-direction:column}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-1\\.5{gap:6px}.gap-4{gap:16px}.gap-x-1{-moz-column-gap:4px;column-gap:4px}.gap-x-2{-moz-column-gap:8px;column-gap:8px}.gap-x-4{-moz-column-gap:16px;column-gap:16px}.gap-y-1{row-gap:4px}.gap-y-2{row-gap:8px}.gap-y-4{row-gap:16px}.space-x-0\\.5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2px * var(--tw-space-x-reverse));margin-left:calc(2px * calc(1 - var(--tw-space-x-reverse)))}.space-y-0\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(2px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(2px * var(--tw-space-y-reverse))}.space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(4px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(4px * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(8px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(8px * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-scroll{overflow-x:scroll}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rounded-carrousel{border-radius:var(--radius-carrousel)}.rounded-full{border-radius:9999px}.rounded-gallery{border-radius:var(--radius-gallery)}.rounded-ui{border-radius:var(--radius-ui)}.rounded-ui-md{border-radius:calc(var(--radius-ui) + 2px)}.rounded-ui-sm{border-radius:calc(var(--radius-ui) - 2px)}.rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.rounded-t-full{border-top-left-radius:9999px;border-top-right-radius:9999px}.rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.rounded-bl-\\[10px\\]{border-bottom-left-radius:10px}.rounded-bl-\\[8px\\]{border-bottom-left-radius:8px}.rounded-bl-full{border-bottom-left-radius:9999px}.rounded-br-\\[10px\\]{border-bottom-right-radius:10px}.rounded-br-\\[8px\\]{border-bottom-right-radius:8px}.rounded-br-full{border-bottom-right-radius:9999px}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-4{border-width:4px}.border-background{border-color:hsl(var(--background))}.border-foreground{border-color:hsl(var(--foreground))}.border-primary{border-color:hsl(var(--primary))}.border-b-transparent{border-bottom-color:transparent}.bg-background{background-color:hsl(var(--background))}.bg-background\\/25{background-color:hsl(var(--background) / .25)}.bg-background\\/50{background-color:hsl(var(--background) / .5)}.bg-background\\/60{background-color:hsl(var(--background) / .6)}.bg-foreground{background-color:hsl(var(--foreground))}.bg-foreground\\/10{background-color:hsl(var(--foreground) / .1)}.bg-foreground\\/25{background-color:hsl(var(--foreground) / .25)}.bg-foreground\\/30{background-color:hsl(var(--foreground) / .3)}.bg-foreground\\/35{background-color:hsl(var(--foreground) / .35)}.bg-foreground\\/40{background-color:hsl(var(--foreground) / .4)}.bg-foreground\\/50{background-color:hsl(var(--foreground) / .5)}.bg-foreground\\/60{background-color:hsl(var(--foreground) / .6)}.bg-foreground\\/65{background-color:hsl(var(--foreground) / .65)}.bg-foreground\\/75{background-color:hsl(var(--foreground) / .75)}.bg-navy{background-color:hsl(var(--details-background))}.bg-neutral\\/50{background-color:hsl(var(--neutral) / .5)}.bg-primary{background-color:hsl(var(--primary))}.bg-primary-foreground{background-color:hsl(var(--primary-foreground))}.bg-primary\\/50{background-color:hsl(var(--primary) / .5)}.bg-transparent{background-color:transparent}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-foreground{--tw-gradient-from: hsl(var(--foreground)) var(--tw-gradient-from-position);--tw-gradient-to: hsl(var(--foreground) / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.to-transparent{--tw-gradient-to: transparent var(--tw-gradient-to-position)}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-0\\.5{padding:2px}.p-1{padding:4px}.p-2{padding:8px}.p-4{padding:16px}.px-1\\.5{padding-left:6px;padding-right:6px}.px-2{padding-left:8px;padding-right:8px}.py-0\\.5{padding-top:2px;padding-bottom:2px}.py-1{padding-top:4px;padding-bottom:4px}.py-1\\.5{padding-top:6px;padding-bottom:6px}.pl-2\\.5{padding-left:10px}.pl-5{padding-left:20px}.pl-6{padding-left:24px}.pr-12{padding-right:48px}.pr-2\\.5{padding-right:10px}.pr-5{padding-right:20px}.pr-6{padding-right:24px}.pt-8{padding-top:32px}.text-2xl{font-size:24px;line-height:32px}.text-\\[clamp\\(0\\.625rem\\,0\\.4rem\\+1\\.5cqw\\,0\\.875rem\\)\\]{font-size:clamp(.625rem,.4rem + 1.5cqw,.875rem)}.text-\\[clamp\\(0\\.75rem\\,0\\.45rem\\+1\\.8cqw\\,1\\.125rem\\)\\]{font-size:clamp(.75rem,.45rem + 1.8cqw,1.125rem)}.text-\\[clamp\\(0\\.75rem\\,0\\.55rem\\+1\\.3cqw\\,0\\.875rem\\)\\]{font-size:clamp(.75rem,.55rem + 1.3cqw,.875rem)}.text-\\[clamp\\(0\\.875rem\\,0\\.6rem\\+1\\.6cqw\\,1\\.125rem\\)\\]{font-size:clamp(.875rem,.6rem + 1.6cqw,1.125rem)}.text-sm{font-size:14px;line-height:20px}.text-xl{font-size:20px;line-height:28px}.text-xs{font-size:12px;line-height:16px}.font-bold{font-weight:700}.font-normal{font-weight:400}.font-semibold{font-weight:600}.leading-tight{line-height:1.25}.text-background{color:hsl(var(--background))}.text-background\\/75{color:hsl(var(--background) / .75)}.text-foreground{color:hsl(var(--foreground))}.text-foreground\\/65{color:hsl(var(--foreground) / .65)}.text-foreground\\/70{color:hsl(var(--foreground) / .7)}.text-neutral-foreground{color:hsl(var(--neutral-foreground))}.text-primary{color:hsl(var(--primary))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-white{color:hsl(var(--details-text))}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.invert{--tw-invert: invert(100%);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[opacity\\,transform\\]{transition-property:opacity,transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-\\[width\\]{transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-radius{transition-property:border-radius;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-details{transition-duration:.35s}.no-scrollbar{scrollbar-width:none;-ms-overflow-style:none}.no-scrollbar::-webkit-scrollbar{display:none}.\\[mask-image\\:linear-gradient\\(to_left\\,transparent_0px\\,black_4px\\,black_calc\\(100\\%-4px\\)\\,transparent_100\\%\\)\\]{-webkit-mask-image:linear-gradient(to left,transparent 0px,black 4px,black calc(100% - 4px),transparent 100%);mask-image:linear-gradient(to left,transparent 0px,black 4px,black calc(100% - 4px),transparent 100%)}.pnlm-load-button,.pnlm-load-box{display:none!important}.pnlm-container{background-image:none!important}.pnlm-about-msg{width:0;height:0;padding:0;visibility:hidden}.pnlm-about-msg a{display:none;visibility:hidden}.\\*\\:pointer-events-auto>*{pointer-events:auto}.\\*\\:size-full>*{width:100%;height:100%}.\\*\\:snap-start>*{scroll-snap-align:start}.\\*\\:snap-always>*{scroll-snap-stop:always}.\\*\\:object-cover>*{-o-object-fit:cover;object-fit:cover}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:inset-0:after{content:var(--tw-content);inset:0}.after\\:rounded-gallery:after{content:var(--tw-content);border-radius:var(--radius-gallery)}.after\\:border-2:after{content:var(--tw-content);border-width:2px}.after\\:border-primary:after{content:var(--tw-content);border-color:hsl(var(--primary))}.after\\:opacity-0:after{content:var(--tw-content);opacity:0}.after\\:opacity-100:after{content:var(--tw-content);opacity:1}.after\\:transition-all:after{content:var(--tw-content);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hover\\:z-hotspot-hover:hover{z-index:11}.hover\\:bg-foreground\\/25:hover{background-color:hsl(var(--foreground) / .25)}.hover\\:bg-primary\\/25:hover{background-color:hsl(var(--primary) / .25)}.hover\\:bg-primary\\/30:hover{background-color:hsl(var(--primary) / .3)}.hover\\:bg-transparent:hover{background-color:transparent}.hover\\:opacity-80:hover{opacity:.8}.hover\\:after\\:opacity-70:hover:after{content:var(--tw-content);opacity:.7}.disabled\\:opacity-60:disabled{opacity:.6}.group:hover .group-hover\\:pointer-events-auto{pointer-events:auto}.group:hover .group-hover\\:-translate-x-1{--tw-translate-x: -4px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group:hover .group-hover\\:translate-x-1{--tw-translate-x: 4px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group\\/volume:hover .group-hover\\/volume\\:opacity-100{opacity:1}.group\\/volume:hover .group-hover\\/volume\\:opacity-50{opacity:.5}.group:hover .group-hover\\:opacity-100{opacity:1}@media((orientation:portrait)and (max-width:767px))or ((orientation:landscape)and (max-width:1023px)){.max-small\\:hidden{display:none}}@media((orientation:portrait)and (min-width:768px))or ((orientation:landscape)and (min-width:1024px)){.small\\:inset-x-2{left:8px;right:8px}.small\\:inset-y-2{top:8px;bottom:8px}.small\\:bottom-2{bottom:8px}.small\\:left-2{left:8px}.small\\:right-2{right:8px}.small\\:right-4{right:16px}.small\\:top-2{top:8px}.small\\:top-4{top:16px}.small\\:my-4{margin-top:16px;margin-bottom:16px}.small\\:hidden{display:none}.small\\:h-12{height:48px}.small\\:h-28{height:112px}.small\\:max-w-64{max-width:256px}.small\\:gap-2{gap:8px}.small\\:gap-x-2{-moz-column-gap:8px;column-gap:8px}.small\\:gap-y-2{row-gap:8px}.small\\:gap-y-4{row-gap:16px}.small\\:space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(4px * var(--tw-space-x-reverse));margin-left:calc(4px * calc(1 - var(--tw-space-x-reverse)))}.small\\:p-3{padding:12px}.small\\:px-2{padding-left:8px;padding-right:8px}.small\\:py-1{padding-top:4px;padding-bottom:4px}.small\\:pl-3{padding-left:12px}.small\\:pl-6{padding-left:24px}.small\\:pl-7{padding-left:28px}.small\\:pr-3{padding-right:12px}.small\\:pr-6{padding-right:24px}.small\\:pr-7{padding-right:28px}.small\\:text-sm{font-size:14px;line-height:20px}.small\\:font-bold{font-weight:700}}@media(min-width:1280px){.large\\:h-20{height:80px}.large\\:h-3\\/5{height:60%}.large\\:max-w-72{max-width:288px}.large\\:gap-4{gap:16px}.large\\:p-2{padding:8px}.large\\:p-4{padding:16px}.large\\:text-lg{font-size:18px;line-height:28px}.large\\:text-sm{font-size:14px;line-height:20px}}.\\[\\&_\\*\\]\\:size-4 *{width:16px;height:16px}.pnlm-container{margin:0;padding:0;overflow:hidden;position:relative;cursor:default;width:100%;height:100%;font-family:Helvetica,Nimbus Sans L,Liberation Sans,Arial,sans-serif;background:#f4f4f4 url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='67'%20height='100'%20viewBox='0%200%2067%20100'%3e%3cpath%20stroke='%23ccc'%20fill='none'%20d='M33.5,50,0,63,33.5,75,67,63,33.5,50m-33.5-50,67,25m-0.5,0,0,75m-66.5-75,67-25m-33.5,75,0,25m0-100,0,50'/%3e%3c/svg%3e") repeat;-webkit-user-select:none;-moz-user-select:none;-o-user-select:none;user-select:none;outline:0;line-height:1.4;contain:content;touch-action:none}.pnlm-container *{box-sizing:content-box}.pnlm-ui{position:absolute;width:100%;height:100%;z-index:1}.pnlm-grab{cursor:grab;cursor:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='26'%20width='26'%3e%3cpath%20stroke='%23000'%20stroke-width='1px'%20fill='%23fff'%20d='m15.3%2020.5s6.38-6.73%204.64-8.24-3.47%201.01-3.47%201.01%203.61-5.72%201.41-6.49c-2.2-0.769-3.33%204.36-3.33%204.36s0.873-5.76-1.06-5.76-1.58%205.39-1.58%205.39-0.574-4.59-2.18-4.12c-1.61%200.468-0.572%205.51-0.572%205.51s-1.58-4.89-2.93-3.79c-1.35%201.11%200.258%205.25%200.572%206.62%200.836%202.43%202.03%202.94%202.17%205.55'/%3e%3c/svg%3e") 12 8,default}.pnlm-grabbing{cursor:grabbing;cursor:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='26'%20width='26'%3e%3cpath%20stroke='%23000'%20stroke-width='1px'%20fill='%23fff'%20d='m15.3%2020.5s5.07-5.29%203.77-6.74c-1.31-1.45-2.53%200.14-2.53%200.14s2.74-3.29%200.535-4.06c-2.2-0.769-2.52%201.3-2.52%201.3s0.81-2.13-1.12-2.13-1.52%201.77-1.52%201.77-0.261-1.59-1.87-1.12c-1.61%200.468-0.874%202.17-0.874%202.17s-0.651-1.55-2-0.445c-1.35%201.11-0.68%202.25-0.365%203.62%200.836%202.43%202.03%202.94%202.17%205.55'/%3e%3c/svg%3e") 12 8,default}.pnlm-sprite{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='26'%20height='208'%3e%3ccircle%20fill-opacity='.78'%20cy='117'%20cx='13'%20r='11'%20fill='%23fff'/%3e%3ccircle%20fill-opacity='.78'%20cy='143'%20cx='13'%20r='11'%20fill='%23fff'/%3e%3ccircle%20cy='169'%20cx='13'%20r='7'%20fill='none'%20stroke='%23000'%20stroke-width='2'/%3e%3ccircle%20cy='195'%20cx='13'%20r='7'%20fill='none'%20stroke='%23000'%20stroke-width='2'/%3e%3ccircle%20cx='13'%20cy='195'%20r='2.5'/%3e%3cpath%20d='m5%2083v6h2v-4h4v-2zm10%200v2h4v4h2v-6zm-5%205v6h6v-6zm-5%205v6h6v-2h-4v-4zm14%200v4h-4v2h6v-6z'/%3e%3cpath%20d='m13%20110a7%207%200%200%200%20-7%207%207%207%200%200%200%207%207%207%207%200%200%200%207%20-7%207%207%200%200%200%20-7%20-7zm-1%203h2v2h-2zm0%203h2v5h-2z'/%3e%3cpath%20d='m5%2057v6h2v-4h4v-2zm10%200v2h4v4h2v-6zm-10%2010v6h6v-2h-4v-4zm14%200v4h-4v2h6v-6z'/%3e%3cpath%20d='m17%2038v2h-8v-2z'/%3e%3cpath%20d='m12%209v3h-3v2h3v3h2v-3h3v-2h-3v-3z'/%3e%3cpath%20d='m13%20136-6.125%206.125h4.375v7.875h3.5v-7.875h4.375z'/%3e%3cpath%20d='m10.428%20173.33v-5.77l5-2.89v5.77zm1-1.73%203-1.73-3.001-1.74z'/%3e%3c/svg%3e")}.pnlm-container:fullscreen{height:100%!important;width:100%!important;position:static!important}.pnlm-render-container{cursor:inherit;position:absolute;height:100%;width:100%}.pnlm-controls{margin-top:4px;background-color:#fff;border:1px solid #999;border-color:#0006;border-radius:3px;cursor:pointer;z-index:2;transform:translateZ(9999px)}.pnlm-control:hover{background-color:#f8f8f8}.pnlm-controls-container{position:absolute;top:0;left:4px;z-index:1}.pnlm-zoom-controls{width:26px;height:52px}.pnlm-zoom-in{width:100%;height:50%;position:absolute;top:0;border-radius:3px 3px 0 0}.pnlm-zoom-out{width:100%;height:50%;position:absolute;bottom:0;background-position:0 -26px;border-top:1px solid #ddd;border-top-color:#0000001a;border-radius:0 0 3px 3px}.pnlm-fullscreen-toggle-button,.pnlm-orientation-button,.pnlm-hot-spot-debug-indicator{width:26px;height:26px}.pnlm-hot-spot-debug-indicator{position:absolute;top:50%;left:50%;width:26px;height:26px;margin:-13px 0 0 -13px;background-color:#ffffff80;border-radius:13px;display:none}.pnlm-orientation-button-inactive{background-position:0 -156px}.pnlm-orientation-button-active{background-position:0 -182px}.pnlm-fullscreen-toggle-button-inactive{background-position:0 -52px}.pnlm-fullscreen-toggle-button-active{background-position:0 -78px}.pnlm-panorama-info{position:absolute;bottom:4px;background-color:#000000b3;border-radius:0 3px 3px 0;padding-right:10px;color:#fff;text-align:left;display:none;z-index:2;transform:translateZ(9999px)}.pnlm-title-box{position:relative;font-size:20px;display:table;padding-left:5px;margin-bottom:3px}.pnlm-author-box{position:relative;font-size:12px;display:table;padding-left:5px}.pnlm-load-box{position:absolute;top:50%;left:50%;width:200px;height:150px;margin:-75px 0 0 -100px;background-color:#000000b3;border-radius:3px;text-align:center;font-size:20px;display:none;color:#fff}.pnlm-load-box p{margin:20px 0}.pnlm-lbox{position:absolute;top:50%;left:50%;width:20px;height:20px;margin:-10px 0 0 -10px;display:none}.pnlm-loading{animation-duration:1.5s;-webkit-animation-duration:1.5s;animation-name:pnlm-mv;-webkit-animation-name:pnlm-mv;animation-iteration-count:infinite;-webkit-animation-iteration-count:infinite;animation-timing-function:linear;-webkit-animation-timing-function:linear;height:10px;width:10px;background-color:#fff;position:relative}@keyframes pnlm-mv{0%{left:0;top:0}25%{left:10px;top:0}50%{left:10px;top:10px}75%{left:0;top:10px}to{left:0;top:0}}.pnlm-load-button{position:absolute;top:50%;left:50%;width:200px;height:100px;margin:-50px 0 0 -100px;background-color:#000000b3;border-radius:3px;text-align:center;font-size:20px;display:table;color:#fff;cursor:pointer}.pnlm-load-button:hover{background-color:#000c}.pnlm-load-button p{display:table-cell;vertical-align:middle}.pnlm-info-box{font-size:15px;position:absolute;top:50%;left:50%;width:200px;height:150px;margin:-75px 0 0 -100px;background-color:#000;border-radius:3px;display:table;text-align:center;color:#fff;table-layout:fixed}.pnlm-info-box a{color:#fff;word-wrap:break-word;overflow-wrap:break-word}.pnlm-info-box p{display:table-cell;vertical-align:middle;padding:0 5px}.pnlm-error-msg{display:none}.pnlm-about-msg{font-size:11px;line-height:11px;color:#fff;padding:5px 8px;background:#000000b3;border-radius:3px;position:absolute;top:50px;left:50px;display:none;opacity:0;transition:opacity .3s ease-in-out;z-index:1}.pnlm-about-msg a:link,.pnlm-about-msg a:visited{color:#fff}.pnlm-about-msg a:hover,.pnlm-about-msg a:active{color:#eee}.pnlm-hotspot-base{position:absolute;visibility:hidden;cursor:default;vertical-align:middle;top:0;z-index:1}.pnlm-hotspot{height:26px;width:26px;border-radius:13px}.pnlm-hotspot:hover{background-color:#fff3}.pnlm-hotspot.pnlm-info{background-position:0 -104px}.pnlm-hotspot.pnlm-scene{background-position:0 -130px}div.pnlm-tooltip span{visibility:hidden;position:absolute;border-radius:3px;background-color:#000000b3;color:#fff;text-align:center;max-width:200px;padding:5px 10px;margin-left:-220px;cursor:default}div.pnlm-tooltip:hover span{visibility:visible}div.pnlm-tooltip:hover span:after{content:"";position:absolute;width:0;height:0;border-width:10px;border-style:solid;border-color:rgba(0,0,0,.7) transparent transparent transparent;bottom:-20px;left:-10px;margin:0 50%}.pnlm-compass{position:absolute;width:50px;height:50px;right:4px;bottom:4px;border-radius:25px;background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20height='50'%20width='50'%3e%3cpath%20d='m24.5078%206-3.2578%2018h7.5l-3.25781-18h-0.984376zm-3.2578%2020%203.2578%2018h0.9844l3.2578-18h-7.5zm1.19531%200.9941h5.10938l-2.5547%2014.1075-2.5547-14.1075z'/%3e%3c/svg%3e");cursor:default;display:none}.pnlm-world{position:absolute;left:50%;top:50%}.pnlm-face{position:absolute;transform-origin:0 0 0}.pnlm-dragfix,.pnlm-preview-img{position:absolute;height:100%;width:100%}.pnlm-preview-img{background-size:cover;background-position:center}.pnlm-lbar{width:150px;margin:0 auto;border:#fff 1px solid;height:6px}.pnlm-lbar-fill{background:#fff;height:100%;width:0}.pnlm-lmsg{font-size:12px}.pnlm-fade-img{position:absolute;top:0;left:0}.pnlm-pointer{cursor:pointer}#textInfo .tooltip-content{font-size:1.6em;position:absolute;left:-70px;bottom:80px;width:200px;pointer-events:none;background-color:#333;color:#fff;line-height:1.2em;padding:.8em;opacity:0;transform-origin:50% calc(100% + 6em);transform:rotate3d(0,0,1,15deg);transition:opacity .5s,transform .5s;transition-timing-function:ease,cubic-bezier(.17,.67,.4,1.39)}#textInfo:hover{z-index:3}#textInfo:hover .tooltip-content{opacity:1;pointer-events:all;transform:translateZ(0) rotate3d(0,0,0,0)}#textInfo .hotspot{cursor:pointer;box-sizing:border-box}#textInfo .hotspot .out:before{speak:none;font-size:48px;line-height:90px;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;display:block;-webkit-font-smoothing:antialiased}#textInfo .hotspot .out{width:60px;height:60px;border-radius:50%;border:5px solid rgba(255,255,255,.8);transition:transform ease-out .1s,border .2s;box-sizing:border-box}#textInfo .hotspot .in{width:40px;height:40px;position:absolute;top:10px;left:10px;background-color:#fffc;border-radius:50%;transition:transform ease-out .1s,background .2s}#textInfo .hotspot .out:after{top:0;left:0;padding:0;z-index:-1;box-shadow:0 0 0 2px #ffffff1a;opacity:0;pointer-events:none;position:absolute;width:100%;height:100%;border-radius:50%;content:"";box-sizing:content-box;transform:scale(.9)}#textInfo .hotspot:hover .out{border:5px solid rgba(255,255,255,1);transform:scale(.9);color:#fff}#textInfo .hotspot:hover .in{background-color:#fff;transform:scale(.8)}#textInfo .hotspot:hover .out:after{animation:sonarEffect 1.2s ease-out}@keyframes sonarEffect{0%{opacity:.5}20%{opacity:.8;box-shadow:0 0 0 2px #ffffff1a,0 0 10px 10px #25aae1cc,0 0 0 10px #ffffff80}to{box-shadow:0 0 0 2px #ffffff1a,0 0 10px 10px #25aae1cc,0 0 0 10px #ffffff80;transform:scale(1.5);opacity:0}}`;function r2(t){return t.replace(/([a-z0-9])([A-Z])/g,(s,a,p)=>`${a}-${p.toLowerCase()}`)}function Vt(t){return Object.entries(t).reduce((s,[a,p])=>{if(p!==void 0){const d=r2(a);s[d]=p.toString()}return s},{})}const n2=t=>n.jsxs(n.Fragment,{children:[n.jsx("style",{children:t2}),n.jsx(Ko,{...t})]}),o2=t=>Vt(t),s2=t=>Vt(t),a2=t=>Vt(t),i2=({onCompositionLoading:t,onCompositionLoaded:s,onCompositionLoadError:a,onItemChange:p,onExtendModeOn:d,onExtendModeOff:u,onHotspotsOn:x,onHotspotsOff:e,onGalleryOpen:L,onGalleryClose:I,onAnalyticsLoad:R,onAnalyticsDisplay:M,onAnalyticsInteraction:h,onAnalyticsError:o,className:E,style:N={},children:_,...w})=>{const y=i.useMemo(()=>{const C=o2(w);return E&&Object.assign(C,{class:E}),C},[E,w]);return i.useEffect(()=>{const C=w.eventPrefix??Ot,m=w.analyticsEventPrefix??lr,b=j=>`${C}${j}`,P=j=>`${m}${j}`,$={[St]:t,[Pt]:s,[Nt]:a,[Rt]:p,[jt]:d,[At]:u,[xt]:x,[wt]:e,[zt]:L,[Dt]:I},S={[nr]:R,[or]:M,[sr]:h,[ar]:o},z=new Map,Y=new Map;return Object.entries($).forEach(([j,A])=>{if(!A)return;const k=b(j),G=oe=>A(oe.detail);z.set(k,G),document.addEventListener(k,G)}),Object.entries(S).forEach(([j,A])=>{if(!A)return;const k=P(j),G=oe=>A(oe.detail);Y.set(k,G),document.addEventListener(k,G)}),()=>{z.forEach((j,A)=>{document.removeEventListener(A,j)}),Y.forEach((j,A)=>{document.removeEventListener(A,j)})}},[w.eventPrefix,t,s,a,p,d,u,x,e,L,I,w.analyticsEventPrefix,R,M,h,o]),n.jsx("cc-webplayer",{style:{display:"block",...N},...y,children:_})},l2=({children:t,...s})=>{const a=s2(s);return n.jsx("cc-webplayer-custom-media",{...a,children:t})},c2=({children:t,...s})=>{const a=a2(s);return n.jsx("cc-webplayer-icon",{...a,children:t})};exports.ANALYTICS_EVENT_DISPLAY=or;exports.ANALYTICS_EVENT_ERROR=ar;exports.ANALYTICS_EVENT_INTERACTION=sr;exports.ANALYTICS_EVENT_LOAD=nr;exports.DEFAULT_EVENT_PREFIX=Ot;exports.EVENT_COMPOSITION_LOADED=Pt;exports.EVENT_COMPOSITION_LOADING=St;exports.EVENT_COMPOSITION_LOAD_ERROR=Nt;exports.EVENT_EXTEND_MODE_OFF=At;exports.EVENT_EXTEND_MODE_ON=jt;exports.EVENT_GALLERY_CLOSE=Dt;exports.EVENT_GALLERY_OPEN=zt;exports.EVENT_HOTSPOTS_OFF=wt;exports.EVENT_HOTSPOTS_ON=xt;exports.EVENT_ITEM_CHANGE=Rt;exports.WEB_PLAYER_CUSTOM_MEDIA_WC_TAG=_t;exports.WEB_PLAYER_ICON_WC_TAG=Tt;exports.WEB_PLAYER_WC_TAG=Ct;exports.WebPlayer=i2;exports.WebPlayerCustomMedia=Jo;exports.WebPlayerCustomMedia$1=l2;exports.WebPlayerIcon=e2;exports.WebPlayerIcon$1=c2;exports.WebPlayerWithInjectedStyles=n2;exports.checkCustomElementsDefinition=an;exports.generateCompositionUrl=tn;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@car-cutter/react-webplayer",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.6",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CarCutter",
|
|
@@ -50,10 +50,10 @@
|
|
|
50
50
|
"react-dom": ">=16.8"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@car-cutter/core": "3.2.
|
|
54
|
-
"@car-cutter/core-ui": "3.2.
|
|
55
|
-
"@car-cutter/core-wc-react-16-17": "3.2.
|
|
56
|
-
"@car-cutter/core-wc-react-18": "3.2.
|
|
53
|
+
"@car-cutter/core": "3.2.6",
|
|
54
|
+
"@car-cutter/core-ui": "3.2.6",
|
|
55
|
+
"@car-cutter/core-wc-react-16-17": "3.2.6",
|
|
56
|
+
"@car-cutter/core-wc-react-18": "3.2.6",
|
|
57
57
|
"@car-cutter/eslint-config": "*",
|
|
58
58
|
"@car-cutter/typescript-config": "*",
|
|
59
59
|
"@vitejs/plugin-react": "^5.0.0",
|