@bbl-digital/snorre 4.2.77 → 4.2.78

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.
@@ -1,4 +1,4 @@
1
- import { g as P, u as v, p as D } from "./index-Bh8FS9uH.mjs";
1
+ import { g as P, u as v, p as D } from "./index-CPxq1X5K.mjs";
2
2
  import O from "react";
3
3
  function b(t, e) {
4
4
  for (var r = 0; r < e.length; r++) {
@@ -1,4 +1,4 @@
1
- import { g as _, u as g, p as P } from "./index-Bh8FS9uH.mjs";
1
+ import { g as _, u as g, p as P } from "./index-CPxq1X5K.mjs";
2
2
  import m from "react";
3
3
  function v(t, e) {
4
4
  for (var r = 0; r < e.length; r++) {
@@ -1,4 +1,4 @@
1
- import { g as b, u as _, p as O } from "./index-Bh8FS9uH.mjs";
1
+ import { g as b, u as _, p as O } from "./index-CPxq1X5K.mjs";
2
2
  import A from "react";
3
3
  function R(s, e) {
4
4
  for (var t = 0; t < e.length; t++) {
@@ -1,4 +1,4 @@
1
- import { g as y, u as f, p as _ } from "./index-Bh8FS9uH.mjs";
1
+ import { g as y, u as f, p as _ } from "./index-CPxq1X5K.mjs";
2
2
  import m from "react";
3
3
  function P(r, e) {
4
4
  for (var t = 0; t < e.length; t++) {
@@ -1,4 +1,4 @@
1
- import { g as y, u as f, p as m } from "./index-Bh8FS9uH.mjs";
1
+ import { g as y, u as f, p as m } from "./index-CPxq1X5K.mjs";
2
2
  import g from "react";
3
3
  function v(t, e) {
4
4
  for (var r = 0; r < e.length; r++) {
@@ -1,4 +1,4 @@
1
- import { g as P, p as g } from "./index-Bh8FS9uH.mjs";
1
+ import { g as P, p as g } from "./index-CPxq1X5K.mjs";
2
2
  import E from "react";
3
3
  function b(r, e) {
4
4
  for (var t = 0; t < e.length; t++) {
@@ -1,4 +1,4 @@
1
- import { g as y } from "./index-Bh8FS9uH.mjs";
1
+ import { g as y } from "./index-CPxq1X5K.mjs";
2
2
  import v from "react";
3
3
  function w(r, e) {
4
4
  for (var t = 0; t < e.length; t++) {
@@ -1,4 +1,4 @@
1
- import { g as P, u as g, p as b } from "./index-Bh8FS9uH.mjs";
1
+ import { g as P, u as g, p as b } from "./index-CPxq1X5K.mjs";
2
2
  import v from "react";
3
3
  function O(t, e) {
4
4
  for (var r = 0; r < e.length; r++) {
@@ -1,4 +1,4 @@
1
- import { g as m, u as f, p as _ } from "./index-Bh8FS9uH.mjs";
1
+ import { g as m, u as f, p as _ } from "./index-CPxq1X5K.mjs";
2
2
  import b from "react";
3
3
  function P(t, e) {
4
4
  for (var r = 0; r < e.length; r++) {
@@ -1,4 +1,4 @@
1
- import { g as w, u as D, p as C } from "./index-Bh8FS9uH.mjs";
1
+ import { g as w, u as D, p as C } from "./index-CPxq1X5K.mjs";
2
2
  import N from "react";
3
3
  function I(t, e) {
4
4
  for (var r = 0; r < e.length; r++) {
@@ -1,4 +1,4 @@
1
- import { g, u as v, p as b } from "./index-Bh8FS9uH.mjs";
1
+ import { g, u as v, p as b } from "./index-CPxq1X5K.mjs";
2
2
  import O from "react";
3
3
  function V(t, e) {
4
4
  for (var r = 0; r < e.length; r++) {
@@ -1,4 +1,4 @@
1
- import { g as d, u as f, p as m } from "./index-Bh8FS9uH.mjs";
1
+ import { g as d, u as f, p as m } from "./index-CPxq1X5K.mjs";
2
2
  import _ from "react";
3
3
  function P(t, e) {
4
4
  for (var r = 0; r < e.length; r++) {
@@ -1,4 +1,4 @@
1
- import { g as m, u as g, p as v } from "./index-Bh8FS9uH.mjs";
1
+ import { g as m, u as g, p as v } from "./index-CPxq1X5K.mjs";
2
2
  import w from "react";
3
3
  function O(t, e) {
4
4
  for (var a = 0; a < e.length; a++) {
@@ -1,4 +1,4 @@
1
- import { g as U, u as I, p as L } from "./index-Bh8FS9uH.mjs";
1
+ import { g as U, u as I, p as L } from "./index-CPxq1X5K.mjs";
2
2
  import M from "react";
3
3
  function Y(a, e) {
4
4
  for (var t = 0; t < e.length; t++) {
@@ -8201,7 +8201,7 @@ var $V = BV(aS), Mn = w4, hn = SV, _V = [
8201
8201
  canPlay: hn.canPlay.youtube,
8202
8202
  lazyPlayer: (0, Mn.lazy)(() => import(
8203
8203
  /* webpackChunkName: 'reactPlayerYouTube' */
8204
- "./YouTube-Cbsf1SFY.mjs"
8204
+ "./YouTube-s8tUZmgu.mjs"
8205
8205
  ).then((e) => e.Y))
8206
8206
  },
8207
8207
  {
@@ -8210,7 +8210,7 @@ var $V = BV(aS), Mn = w4, hn = SV, _V = [
8210
8210
  canPlay: hn.canPlay.soundcloud,
8211
8211
  lazyPlayer: (0, Mn.lazy)(() => import(
8212
8212
  /* webpackChunkName: 'reactPlayerSoundCloud' */
8213
- "./SoundCloud-CVjdWTJc.mjs"
8213
+ "./SoundCloud-HPPCTAg3.mjs"
8214
8214
  ).then((e) => e.S))
8215
8215
  },
8216
8216
  {
@@ -8219,7 +8219,7 @@ var $V = BV(aS), Mn = w4, hn = SV, _V = [
8219
8219
  canPlay: hn.canPlay.vimeo,
8220
8220
  lazyPlayer: (0, Mn.lazy)(() => import(
8221
8221
  /* webpackChunkName: 'reactPlayerVimeo' */
8222
- "./Vimeo-DX4pmnwC.mjs"
8222
+ "./Vimeo-DcOaWrLi.mjs"
8223
8223
  ).then((e) => e.V))
8224
8224
  },
8225
8225
  {
@@ -8228,7 +8228,7 @@ var $V = BV(aS), Mn = w4, hn = SV, _V = [
8228
8228
  canPlay: hn.canPlay.mux,
8229
8229
  lazyPlayer: (0, Mn.lazy)(() => import(
8230
8230
  /* webpackChunkName: 'reactPlayerMux' */
8231
- "./Mux-DIZpBb_C.mjs"
8231
+ "./Mux-nI1OutS8.mjs"
8232
8232
  ).then((e) => e.M))
8233
8233
  },
8234
8234
  {
@@ -8237,7 +8237,7 @@ var $V = BV(aS), Mn = w4, hn = SV, _V = [
8237
8237
  canPlay: hn.canPlay.facebook,
8238
8238
  lazyPlayer: (0, Mn.lazy)(() => import(
8239
8239
  /* webpackChunkName: 'reactPlayerFacebook' */
8240
- "./Facebook-Rx0fx7el.mjs"
8240
+ "./Facebook-DkIsJJvJ.mjs"
8241
8241
  ).then((e) => e.F))
8242
8242
  },
8243
8243
  {
@@ -8246,7 +8246,7 @@ var $V = BV(aS), Mn = w4, hn = SV, _V = [
8246
8246
  canPlay: hn.canPlay.streamable,
8247
8247
  lazyPlayer: (0, Mn.lazy)(() => import(
8248
8248
  /* webpackChunkName: 'reactPlayerStreamable' */
8249
- "./Streamable-D99S_IT_.mjs"
8249
+ "./Streamable-Cv2sc92F.mjs"
8250
8250
  ).then((e) => e.S))
8251
8251
  },
8252
8252
  {
@@ -8255,7 +8255,7 @@ var $V = BV(aS), Mn = w4, hn = SV, _V = [
8255
8255
  canPlay: hn.canPlay.wistia,
8256
8256
  lazyPlayer: (0, Mn.lazy)(() => import(
8257
8257
  /* webpackChunkName: 'reactPlayerWistia' */
8258
- "./Wistia-CmNMbzsA.mjs"
8258
+ "./Wistia-CwZqeVX_.mjs"
8259
8259
  ).then((e) => e.W))
8260
8260
  },
8261
8261
  {
@@ -8264,7 +8264,7 @@ var $V = BV(aS), Mn = w4, hn = SV, _V = [
8264
8264
  canPlay: hn.canPlay.twitch,
8265
8265
  lazyPlayer: (0, Mn.lazy)(() => import(
8266
8266
  /* webpackChunkName: 'reactPlayerTwitch' */
8267
- "./Twitch-BAgXAshD.mjs"
8267
+ "./Twitch-DEm8cc8v.mjs"
8268
8268
  ).then((e) => e.T))
8269
8269
  },
8270
8270
  {
@@ -8273,7 +8273,7 @@ var $V = BV(aS), Mn = w4, hn = SV, _V = [
8273
8273
  canPlay: hn.canPlay.dailymotion,
8274
8274
  lazyPlayer: (0, Mn.lazy)(() => import(
8275
8275
  /* webpackChunkName: 'reactPlayerDailyMotion' */
8276
- "./DailyMotion-MUwmvK7-.mjs"
8276
+ "./DailyMotion-BYDrti5R.mjs"
8277
8277
  ).then((e) => e.D))
8278
8278
  },
8279
8279
  {
@@ -8282,7 +8282,7 @@ var $V = BV(aS), Mn = w4, hn = SV, _V = [
8282
8282
  canPlay: hn.canPlay.mixcloud,
8283
8283
  lazyPlayer: (0, Mn.lazy)(() => import(
8284
8284
  /* webpackChunkName: 'reactPlayerMixcloud' */
8285
- "./Mixcloud-Ca7m3jQI.mjs"
8285
+ "./Mixcloud-ZsJDvcnp.mjs"
8286
8286
  ).then((e) => e.M))
8287
8287
  },
8288
8288
  {
@@ -8291,7 +8291,7 @@ var $V = BV(aS), Mn = w4, hn = SV, _V = [
8291
8291
  canPlay: hn.canPlay.vidyard,
8292
8292
  lazyPlayer: (0, Mn.lazy)(() => import(
8293
8293
  /* webpackChunkName: 'reactPlayerVidyard' */
8294
- "./Vidyard-BjF4yOTS.mjs"
8294
+ "./Vidyard-CJImjLD6.mjs"
8295
8295
  ).then((e) => e.V))
8296
8296
  },
8297
8297
  {
@@ -8300,7 +8300,7 @@ var $V = BV(aS), Mn = w4, hn = SV, _V = [
8300
8300
  canPlay: hn.canPlay.kaltura,
8301
8301
  lazyPlayer: (0, Mn.lazy)(() => import(
8302
8302
  /* webpackChunkName: 'reactPlayerKaltura' */
8303
- "./Kaltura-CqwBJII4.mjs"
8303
+ "./Kaltura-CETBOwkg.mjs"
8304
8304
  ).then((e) => e.K))
8305
8305
  },
8306
8306
  {
@@ -8310,7 +8310,7 @@ var $V = BV(aS), Mn = w4, hn = SV, _V = [
8310
8310
  canEnablePIP: (e) => hn.canPlay.file(e) && (document.pictureInPictureEnabled || (0, Mn.supportsWebKitPresentationMode)()) && !hn.AUDIO_EXTENSIONS.test(e),
8311
8311
  lazyPlayer: (0, Mn.lazy)(() => import(
8312
8312
  /* webpackChunkName: 'reactPlayerFilePlayer' */
8313
- "./FilePlayer-BEJfPShW.mjs"
8313
+ "./FilePlayer-Bq7e_if4.mjs"
8314
8314
  ).then((e) => e.F))
8315
8315
  }
8316
8316
  ], sb = Number.isNaN || function(t) {
@@ -9449,7 +9449,7 @@ MU(yS, {
9449
9449
  var PU = TU(yS), Xs = jf(S), kU = jf(RF), Ep = jf(WV), Cb = jf(Qg), B1 = fS, vS = w4, IU = jf(xU);
9450
9450
  const BU = (0, vS.lazy)(() => import(
9451
9451
  /* webpackChunkName: 'reactPlayerPreview' */
9452
- "./Preview-D8MqNaWU.mjs"
9452
+ "./Preview-BXJ1Mob4.mjs"
9453
9453
  ).then((e) => e.P)), $U = typeof window < "u" && window.document && typeof document < "u", _U = typeof lt < "u" && lt.window && lt.window.document, RU = Object.keys(B1.propTypes), jU = $U || _U ? Xs.Suspense : () => null, a1 = [], HU = (e, t) => {
9454
9454
  var r;
9455
9455
  return r = class extends Xs.Component {
@@ -64290,6 +64290,7 @@ const jVe = ({
64290
64290
  children: /* @__PURE__ */ o(N0, { size: 18, color: u.btnDefaultFontColor })
64291
64291
  }
64292
64292
  ),
64293
+ renderAnnounceSlideMessage: ({ currentSlide: h }) => `${h + 1} av ${e.length}`,
64293
64294
  renderBottomCenterControls: ({ currentSlide: h }) => /* @__PURE__ */ o(z7e, { children: /* @__PURE__ */ D(Le, { color: u.btnDefaultFontColor, size: "14px", children: [
64294
64295
  h + 1,
64295
64296
  " / ",
package/dist/snorre.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { c as o, b as e, W as n, A as t, e1 as c, dM as i, a8 as l, a9 as r, dz as I, dI as d, B as u, dN as m, C as b, G as p, f as C, dK as g, dL as F, dD as S, dC as h, t as M, P as y, Q as B, D as k, dJ as T, d as H, dP as D, dQ as L, K as P, F as A, r as f, m as O, n as w, o as E, q as R, e2 as v, H as x, dE as W, dU as N, s as U, dj as G, ad as V, ae as J, af as z, ak as K, al as j, am as q, an as Q, ao as Y, dt as Z, du as X, ap as _, di as $, aq as aa, dl as sa, dn as oa, dm as ea, cc as na, av as ta, ar as ca, at as ia, as as la, au as ra, ci as Ia, cl as da, aw as ua, ax as ma, ay as ba, aB as pa, az as Ca, aA as ga, aC as Fa, aE as Sa, aD as ha, aH as Ma, aF as ya, aG as Ba, ag as ka, aI as Ta, aJ as Ha, aK as Da, cX as La, cY as Pa, aL as Aa, c_ as fa, cZ as Oa, c$ as wa, d0 as Ea, aM as Ra, d9 as va, da as xa, aN as Wa, aO as Na, aP as Ua, aQ as Ga, aR as Va, db as Ja, d1 as za, d2 as Ka, dc as ja, aS as qa, by as Qa, aU as Ya, aT as Za, aV as Xa, aW as _a, aX as $a, aY as as, aZ as ss, a_ as os, b0 as es, dk as ns, a$ as ts, b1 as cs, b2 as is, b3 as ls, b4 as rs, cb as Is, b5 as ds, aj as us, dq as ms, dp as bs, b6 as ps, dr as Cs, b7 as gs, b8 as Fs, b9 as Ss, ba as hs, bb as Ms, bc as ys, be as Bs, bf as ks, bd as Ts, bg as Hs, bh as Ds, cf as Ls, bi as Ps, bj as As, bk as fs, ck as Os, cj as ws, dv as Es, dw as Rs, bm as vs, bn as xs, bo as Ws, bp as Ns, bl as Us, bq as Gs, br as Vs, bs as Js, bt as zs, bu as Ks, bv as js, d7 as qs, d8 as Qs, bx as Ys, bw as Zs, dh as Xs, ab as _s, cg as $s, ch as ao, bz as so, bA as oo, dd as eo, de as no, bB as to, ds as co, bD as io, bE as lo, ac as ro, ce as Io, bC as uo, bF as mo, cd as bo, bG as po, b_ as Co, d5 as go, d6 as Fo, bH as So, bI as ho, bJ as Mo, ah as yo, ai as Bo, bK as ko, bL as To, bM as Ho, bN as Do, bO as Lo, bP as Po, bQ as Ao, bX as fo, ca as Oo, bR as wo, bS as Eo, bT as Ro, bU as vo, bV as xo, bW as Wo, bY as No, bZ as Uo, b$ as Go, c0 as Vo, c1 as Jo, df as zo, c2 as Ko, c3 as jo, c4 as qo, dg as Qo, c5 as Yo, c6 as Zo, c7 as Xo, c8 as _o, d3 as $o, d4 as ae, c9 as se, cm as oe, cE as ee, cF as ne, cp as te, co as ce, cn as ie, cq as le, cD as re, cB as Ie, cC as de, cr as ue, cs as me, cP as be, cU as pe, cI as Ce, cJ as ge, cK as Fe, cQ as Se, cO as he, cL as Me, cT as ye, cR as Be, cM as ke, cN as Te, cS as He, cG as De, cH as Le, ct as Pe, cu as Ae, cW as fe, cv as Oe, cw as we, cV as Ee, cx as Re, cy as ve, cz as xe, cA as We, e as Ne, e5 as Ue, e7 as Ge, dB as Ve, I as Je, ea as ze, L as Ke, a as je, h as qe, i as Qe, j as Ye, d$ as Ze, X as Xe, y as _e, V as $e, Y as an, a0 as sn, Z as on, M as en, d_ as nn, e3 as tn, z as cn, N as ln, O as rn, a5 as In, a3 as dn, a4 as un, aa as mn, R as bn, J as pn, dF as Cn, e4 as gn, w as Fn, _ as Sn, $ as hn, v as Mn, a6 as yn, a7 as Bn, S as kn, e0 as Tn, e8 as Hn, a1 as Dn, a2 as Ln, dV as Pn, dW as An, dX as fn, dZ as On, E as wn, dG as En, dH as Rn, k as vn, l as xn, dA as Wn, dR as Nn, dT as Un, dS as Gn, e6 as Vn, T as Jn, U as zn, x as Kn, dY as jn, dx as qn, dO as Qn, ec as Yn, ed as Zn, eC as Xn, ek as _n, ee as $n, eh as at, el as st, ej as ot, eg as et, ex as nt, ev as tt, eA as ct, ez as it, et as lt, eu as rt, ey as It, eB as dt, em as ut, en as mt, e9 as bt, eo as pt, er as Ct, es as gt, ew as Ft, ei as St, ep as ht, eq as Mt, eD as yt, ef as Bt, eb as kt, dy as Tt } from "./index-Bh8FS9uH.mjs";
1
+ import { c as o, b as e, W as n, A as t, e1 as c, dM as i, a8 as l, a9 as r, dz as I, dI as d, B as u, dN as m, C as b, G as p, f as C, dK as g, dL as F, dD as S, dC as h, t as M, P as y, Q as B, D as k, dJ as T, d as H, dP as D, dQ as L, K as P, F as A, r as f, m as O, n as w, o as E, q as R, e2 as v, H as x, dE as W, dU as N, s as U, dj as G, ad as V, ae as J, af as z, ak as K, al as j, am as q, an as Q, ao as Y, dt as Z, du as X, ap as _, di as $, aq as aa, dl as sa, dn as oa, dm as ea, cc as na, av as ta, ar as ca, at as ia, as as la, au as ra, ci as Ia, cl as da, aw as ua, ax as ma, ay as ba, aB as pa, az as Ca, aA as ga, aC as Fa, aE as Sa, aD as ha, aH as Ma, aF as ya, aG as Ba, ag as ka, aI as Ta, aJ as Ha, aK as Da, cX as La, cY as Pa, aL as Aa, c_ as fa, cZ as Oa, c$ as wa, d0 as Ea, aM as Ra, d9 as va, da as xa, aN as Wa, aO as Na, aP as Ua, aQ as Ga, aR as Va, db as Ja, d1 as za, d2 as Ka, dc as ja, aS as qa, by as Qa, aU as Ya, aT as Za, aV as Xa, aW as _a, aX as $a, aY as as, aZ as ss, a_ as os, b0 as es, dk as ns, a$ as ts, b1 as cs, b2 as is, b3 as ls, b4 as rs, cb as Is, b5 as ds, aj as us, dq as ms, dp as bs, b6 as ps, dr as Cs, b7 as gs, b8 as Fs, b9 as Ss, ba as hs, bb as Ms, bc as ys, be as Bs, bf as ks, bd as Ts, bg as Hs, bh as Ds, cf as Ls, bi as Ps, bj as As, bk as fs, ck as Os, cj as ws, dv as Es, dw as Rs, bm as vs, bn as xs, bo as Ws, bp as Ns, bl as Us, bq as Gs, br as Vs, bs as Js, bt as zs, bu as Ks, bv as js, d7 as qs, d8 as Qs, bx as Ys, bw as Zs, dh as Xs, ab as _s, cg as $s, ch as ao, bz as so, bA as oo, dd as eo, de as no, bB as to, ds as co, bD as io, bE as lo, ac as ro, ce as Io, bC as uo, bF as mo, cd as bo, bG as po, b_ as Co, d5 as go, d6 as Fo, bH as So, bI as ho, bJ as Mo, ah as yo, ai as Bo, bK as ko, bL as To, bM as Ho, bN as Do, bO as Lo, bP as Po, bQ as Ao, bX as fo, ca as Oo, bR as wo, bS as Eo, bT as Ro, bU as vo, bV as xo, bW as Wo, bY as No, bZ as Uo, b$ as Go, c0 as Vo, c1 as Jo, df as zo, c2 as Ko, c3 as jo, c4 as qo, dg as Qo, c5 as Yo, c6 as Zo, c7 as Xo, c8 as _o, d3 as $o, d4 as ae, c9 as se, cm as oe, cE as ee, cF as ne, cp as te, co as ce, cn as ie, cq as le, cD as re, cB as Ie, cC as de, cr as ue, cs as me, cP as be, cU as pe, cI as Ce, cJ as ge, cK as Fe, cQ as Se, cO as he, cL as Me, cT as ye, cR as Be, cM as ke, cN as Te, cS as He, cG as De, cH as Le, ct as Pe, cu as Ae, cW as fe, cv as Oe, cw as we, cV as Ee, cx as Re, cy as ve, cz as xe, cA as We, e as Ne, e5 as Ue, e7 as Ge, dB as Ve, I as Je, ea as ze, L as Ke, a as je, h as qe, i as Qe, j as Ye, d$ as Ze, X as Xe, y as _e, V as $e, Y as an, a0 as sn, Z as on, M as en, d_ as nn, e3 as tn, z as cn, N as ln, O as rn, a5 as In, a3 as dn, a4 as un, aa as mn, R as bn, J as pn, dF as Cn, e4 as gn, w as Fn, _ as Sn, $ as hn, v as Mn, a6 as yn, a7 as Bn, S as kn, e0 as Tn, e8 as Hn, a1 as Dn, a2 as Ln, dV as Pn, dW as An, dX as fn, dZ as On, E as wn, dG as En, dH as Rn, k as vn, l as xn, dA as Wn, dR as Nn, dT as Un, dS as Gn, e6 as Vn, T as Jn, U as zn, x as Kn, dY as jn, dx as qn, dO as Qn, ec as Yn, ed as Zn, eC as Xn, ek as _n, ee as $n, eh as at, el as st, ej as ot, eg as et, ex as nt, ev as tt, eA as ct, ez as it, et as lt, eu as rt, ey as It, eB as dt, em as ut, en as mt, e9 as bt, eo as pt, er as Ct, es as gt, ew as Ft, ei as St, ep as ht, eq as Mt, eD as yt, ef as Bt, eb as kt, dy as Tt } from "./index-CPxq1X5K.mjs";
2
2
  export {
3
3
  o as Alert,
4
4
  e as AppLoader,
@@ -2142,7 +2142,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
2142
2142
  max-height: ${e};
2143
2143
  scale: ${t};
2144
2144
  }
2145
- `);var oAe=Object.defineProperty,lAe=Object.defineProperties,cAe=Object.getOwnPropertyDescriptors,vP=Object.getOwnPropertySymbols,fAe=Object.prototype.hasOwnProperty,dAe=Object.prototype.propertyIsEnumerable,uAe=Math.pow,xP=(e,t,r)=>t in e?oAe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Sr=(e,t)=>{for(var r in t||(t={}))fAe.call(t,r)&&xP(e,r,t[r]);if(vP)for(var r of vP(t))dAe.call(t,r)&&xP(e,r,t[r]);return e},_4=(e,t)=>lAe(e,cAe(t)),hAe=(e,t,r)=>{const[n,i]=x.useState(),s=x.useRef(r);return x.useEffect(()=>{s.current=r},[r]),x.useEffect(()=>{const o=e==null?void 0:e.current,l=t==null?void 0:t.current;if(!window.IntersectionObserver||!o||!l)return;const c=new IntersectionObserver(f=>{f.forEach(d=>{i(d),s.current(d)})},{threshold:[.05,.95],root:l});return c.observe(o),()=>c.disconnect()},[e,t]),n},pAe=(e,t)=>`${t?100/(3*e):100/e}%`,gAe=(e,t,r,n,i,s,o,l,c,f,d)=>{const u=d??pAe(e,n),h=r?1:0,p=s==="fade"?200:500;let g="auto";return c&&(f?g="100%":r?g="auto":g="0"),{width:u,height:g,padding:`0 ${i?i/2:0}px`,transition:s?`${o||p}ms ease 0s`:void 0,transform:s==="zoom"?`scale(${t&&r?1:l||.85})`:void 0,opacity:s==="fade"?h:1}},yAe=(e,t,r)=>r==="prev-cloned"?e-t:r==="next-cloned"?e+t:e,mAe=({count:e,children:t,index:r,isCurrentSlide:n,typeOfSlide:i,wrapAround:s,cellSpacing:o,slideWidth:l,animation:c,speed:f,zoomScale:d,onVisibleSlideHeightChange:u,adaptiveHeight:h,initializedAdaptiveHeight:p,updateIOEntry:g,id:y,carouselRef:m,carouselId:v,tabbed:C})=>{var w;const j=s?yAe(r,e,i):r,b=x.useRef(null),A=hAe(b,m,F=>{g(y,(F==null?void 0:F.intersectionRatio)>=.95)}),L=!!(A!=null&&A.isIntersecting),D=((w=A==null?void 0:A.intersectionRatio)!=null?w:1)>=.95,N=x.useRef(!1);x.useEffect(()=>{var F;const M=b.current;if(M){const k=(F=M.getBoundingClientRect())==null?void 0:F.height,z=N.current;L&&!z?u(j,k):!L&&z&&u(j,null),N.current=L}},[j,L,u]);const I=n&&D?" slide-current":"";return a.jsx("div",_4(Sr({ref:b},{inert:D?void 0:"true"}),{className:`slide${I}${i?` ${i}`:""}${D?" slide-visible":""}`,style:gAe(e,n,D,s,o,c,f,d,h,p,l),id:i?void 0:`${v}-slide-${r+1}`,role:C?"tabpanel":"group","aria-roledescription":C?void 0:"slide",children:t}))},vAe=mAe,xAe={position:"absolute",width:"1px",height:"1px",overflow:"hidden",padding:0,margin:"-1px",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},bAe=({message:e,ariaLive:t="polite"})=>a.jsx("div",{"aria-live":t,"aria-atomic":"true",style:xAe,tabIndex:-1,children:e}),CAe=({currentSlide:e,count:t})=>`Slide ${e+1} of ${t}`,wAe=bAe,bP=(e,t,r,n,i,s,o)=>t?r+i:r>=n-1||o==="left"&&r>=n-s?r:e==="remainder"&&o==="left"?Math.min(r+i,n-s):Math.min(r+i,n-1),CP=(e,t,r,n,i,s)=>t?r-n:r<=0||s==="right"&&r<=i-1?r:e==="remainder"&&s==="right"?Math.max(r-n,i-1):Math.max(r-n,0),AAe=(e,t,r,n,i,s,o)=>{if(e!==void 0)return e;const l=H4(t,n,o,r,!1,i);return s?l[l.length-1]:l[0]},wP=(e,t)=>(e%t+t)%t,AP=e=>({border:0,background:"rgba(0,0,0,0.4)",color:"white",padding:10,textTransform:"uppercase",opacity:e?.3:1,cursor:e?"not-allowed":"pointer"}),jAe=({cellAlign:e,currentSlide:t,slidesToShow:r,wrapAround:n})=>n?!1:t===0||e==="right"&&t<=r-1,LAe=({previousSlide:e,defaultControlsConfig:{prevButtonClassName:t,prevButtonStyle:r={},prevButtonText:n,prevButtonOnClick:i},onUserNavigation:s,carouselId:o,previousDisabled:l})=>{const c=f=>{i==null||i(f),!f.defaultPrevented&&(s(f),f.preventDefault(),e())};return a.jsx("button",{className:t,style:Sr(Sr({},AP(l)),r),disabled:l,onClick:c,"aria-label":"previous","aria-controls":`${o}-slider-frame`,type:"button",children:n||"Prev"})},EAe=({cellAlign:e,currentSlide:t,slideCount:r,slidesToShow:n,wrapAround:i})=>i?!1:t>=r-1||e==="left"&&t>=r-n,DAe=({nextSlide:e,defaultControlsConfig:{nextButtonClassName:t,nextButtonStyle:r={},nextButtonText:n,nextButtonOnClick:i},carouselId:s,nextDisabled:o,onUserNavigation:l})=>{const c=f=>{i==null||i(f),!f.defaultPrevented&&(l(f),f.preventDefault(),e())};return a.jsx("button",{className:t,style:Sr(Sr({},AP(o)),r),disabled:o,onClick:c,"aria-label":"next","aria-controls":`${s}-slider-frame`,type:"button",children:n||"Next"})},H4=(e,t,r,n,i,s)=>{const o=[],l=t<=0?1:t;if(i){for(let c=0;c<e;c+=l)o.push(c);return o}if(s==="center"){for(let c=0;c<e-1;c+=l)o.push(c);return e>0&&o.push(e-1),o}if(s==="left"){if(n>=e)return[0];const c=e-n;for(let f=0;f<c;f+=l)o.push(f);return r==="remainder"?o.push(c):o.push(o[o.length-1]+l),o}if(s==="right"){if(n>=e)return[e-1];const c=n-1;if(r==="remainder"){for(let f=c;f<e-1;f+=l)o.push(f);o.push(e-1)}else{for(let f=e-1;f>c;f-=l)o.push(f);o.push(o[o.length-1]-l),o.reverse()}return o}return o},NAe=({pagingDotsIndices:e,defaultControlsConfig:{pagingDotsContainerClassName:t,pagingDotsClassName:r,pagingDotsStyle:n={},pagingDotsOnClick:i},carouselId:s,currentSlide:o,onUserNavigation:l,slideCount:c,goToSlide:f,tabbed:d})=>{const u={position:"relative",top:-10,display:"flex",margin:0,padding:0,listStyleType:"none"},h=x.useCallback(g=>({cursor:"pointer",opacity:g?1:.5,background:"transparent",border:"none",fill:"black"}),[]),p=wP(o,c);return d?a.jsx("div",{className:t,style:u,role:"tablist","aria-label":"Choose slide to display.",children:e.map((g,y)=>{const m=p===g||p<g&&(y===0||p>e[y-1]);return a.jsx("button",{className:["paging-item",r,m?"active":null].join(" "),type:"button",style:Sr(Sr({},h(m)),n),onClick:v=>{i==null||i(v),!v.defaultPrevented&&(l(v),f(g))},"aria-label":`slide ${g+1}`,"aria-selected":m,"aria-controls":`${s}-slide-${g+1}`,role:"tab",children:a.jsx("svg",{className:"paging-dot",width:"6",height:"6","aria-hidden":"true",focusable:"false",viewBox:"0 0 6 6",children:a.jsx("circle",{cx:"3",cy:"3",r:"3"})})},g)})}):null},FAe=(e,t,r,n)=>{const[i,s]=x.useState(1),o=x.useRef(Date.now()),l=x.useRef(),c=x.useRef(!0),f=x.useRef(null),d=f.current===null||f.current===r||n?i:0;return x.useEffect(()=>{if(f.current=r,c.current){c.current=!1;return}if(n)return;o.current=Date.now(),s(0);const u=()=>{l.current=requestAnimationFrame(()=>{const h=Date.now(),p=Math.min(1,(h-o.current)/e);s(p),p<1?u():l.current=void 0})};return u(),()=>{l.current!==void 0&&(cancelAnimationFrame(l.current),s(1))}},[r,e,n]),{isAnimating:d!==1,value:t(d)}},d9=(e,t,r,n,i)=>{const s=i?3*t:t,o=100/s;let l=i?-100/3:0;if(n==="right"&&r>1){const f=r-1;l+=o*f}if(n==="center"&&r>1){const d=(r-1)/2;l+=o*d}const c=100/s*e;return l-c},jP=x.forwardRef(({animation:e,animationDistance:t,cellAlign:r,children:n,currentSlide:i,disableAnimation:s,disableEdgeSwiping:o,draggedOffset:l,easing:c,edgeEasing:f,isDragging:d,scrollMode:u,slideCount:h,slidesToScroll:p,slidesToShow:g,speed:y,wrapAround:m,slideWidth:v,setIsAnimating:C},w)=>{const j=m?3*h:h,b=v?`calc(${v} * ${j})`:`${j*100/g}%`,A=[h,g,r,m],L=H4(h,p,u,g,m,r);let D=`${l}px`;if(d&&o&&!m){const z=[L[0],L[L.length-1]].map(Z=>d9(Z,...A));D=`clamp(${z[1]}%, ${l}px, ${z[0]}%)`}const N=d9(i,...A),I=!o&&!m&&(i===L[0]&&t<0||i===L[L.length-1]&&t>0),{value:F,isAnimating:M}=FAe(y,I?f:c,i+t,d||s||e==="fade");let k;if(d||N!==0||M)if(d)k=`translateX(${D})`;else{const z=M?(1-F)*t:0;k=`translateX(calc(${N}% - ${z}px))`}return x.useEffect(()=>{C(M)},[M,C]),a.jsx("div",{ref:w,className:"slider-list",style:{width:b,textAlign:"left",userSelect:"auto",transform:k,display:"flex"},children:n})});jP.displayName="SliderList";var OAe={position:"absolute",display:"flex",zIndex:1,top:0,left:0,bottom:0,right:0},MAe=e=>{let t;switch(e){case"TopLeft":case"TopCenter":case"TopRight":t="flex-start";break;case"CenterLeft":case"CenterCenter":case"CenterRight":t="center";break;case"BottomLeft":case"BottomCenter":case"BottomRight":t="flex-end";break}let r;switch(e){case"TopLeft":case"CenterLeft":case"BottomLeft":r="flex-start";break;case"TopCenter":case"CenterCenter":case"BottomCenter":r="center";break;case"TopRight":case"CenterRight":case"BottomRight":r="flex-end";break}return{alignItems:t,justifyContent:r}},PAe=e=>Sr(Sr({},MAe(e)),OAe),TAe=[{funcName:"renderTopLeftControls",key:"TopLeft"},{funcName:"renderTopCenterControls",key:"TopCenter"},{funcName:"renderTopRightControls",key:"TopRight"},{funcName:"renderCenterLeftControls",key:"CenterLeft"},{funcName:"renderCenterCenterControls",key:"CenterCenter"},{funcName:"renderCenterRightControls",key:"CenterRight"},{funcName:"renderBottomLeftControls",key:"BottomLeft"},{funcName:"renderBottomCenterControls",key:"BottomCenter"},{funcName:"renderBottomRightControls",key:"BottomRight"}],IAe=(e,t,r,n,i,s,o)=>{if(e.withoutControls)return null;const l=_4(Sr({},e),{currentSlide:r,slideCount:t}),c=EAe(l),f=jAe(l),d=H4(t,o,e.scrollMode,e.slidesToShow,e.wrapAround,e.cellAlign);return TAe.map(u=>{var h;return!e[u.funcName]||typeof e[u.funcName]!="function"?a.jsx(x.Fragment,{},u.funcName):a.jsx("div",{style:_4(Sr({},PAe(u.key)),{pointerEvents:"none"}),children:a.jsx("div",{className:[`slider-control-${u.key.toLowerCase()}`,e.defaultControlsConfig.containerClassName||""].join(" ").trim(),style:{pointerEvents:"auto"},children:(h=e[u.funcName])==null?void 0:h.call(e,{cellAlign:e.cellAlign,cellSpacing:e.cellSpacing,currentSlide:r,defaultControlsConfig:e.defaultControlsConfig||{},carouselId:e.carouselId,pagingDotsIndices:d,goToSlide:n,nextDisabled:c,nextSlide:i,onUserNavigation:e.onUserNavigation,previousDisabled:f,previousSlide:s,scrollMode:e.scrollMode,slideCount:t,slidesToScroll:o,slidesToShow:e.slidesToShow||1,tabbed:e.tabbed,vertical:e.vertical,wrapAround:e.wrapAround})})},u.funcName)})},kAe=IAe,LP=e=>uAe(e-1,3)+1,$Ae={adaptiveHeight:!1,adaptiveHeightAnimation:!0,afterSlide:()=>{},autoplay:!1,autoplayInterval:3e3,autoplayReverse:!1,beforeSlide:()=>{},cellAlign:"left",cellSpacing:0,defaultControlsConfig:{},disableAnimation:!1,disableEdgeSwiping:!1,dragging:!0,dragThreshold:.5,easing:LP,edgeEasing:LP,enableKeyboardControls:!1,frameAriaLabel:"Slider",keyCodeConfig:{nextSlide:[39,68,38,87],previousSlide:[37,65,40,83],firstSlide:[81],lastSlide:[69],pause:[32]},landmark:!1,onDragStart:()=>{},onDrag:()=>{},onDragEnd:()=>{},onUserNavigation:()=>{},pauseOnHover:!0,renderAnnounceSlideMessage:CAe,renderBottomCenterControls:e=>a.jsx(NAe,Sr({},e)),renderCenterLeftControls:e=>a.jsx(LAe,Sr({},e)),renderCenterRightControls:e=>a.jsx(DAe,Sr({},e)),scrollMode:"page",slidesToScroll:1,slidesToShow:1,speed:500,style:{},swiping:!0,tabbed:!0,vertical:!1,withoutControls:!1,wrapAround:!1,children:a.jsx(a.Fragment,{})},BAe=$Ae,_Ae=e=>{const[t,r]=x.useState(e),n=x.useRef(e),i=x.useCallback(s=>{n.current=s,r(s)},[]);return[t,i,n]},HAe=(e,t,r)=>{const[n,i,s]=_Ae([]),[o,l]=x.useState(!1),c=x.useCallback((d,u)=>{const h=s.current;let p;u===null?p=h.filter(g=>g.slideIndex!==d):p=[...h,{slideIndex:d,height:u}],i(p),p.length>=Math.min(r,Math.ceil(t))&&l(!0)},[r,i,t,s]),f=x.useMemo(()=>e&&o?`${Math.max(0,...n.map(u=>u.height))}px`:"auto",[e,o,n]);return{handleVisibleSlideHeightChange:c,frameHeight:f,initializedAdaptiveHeight:o}},WAe=e=>{const t=x.useRef(null);return x.useEffect(()=>{e&&(typeof e=="function"?e(t.current):e.current=t.current)},[e]),t},W4=x.forwardRef((e,t)=>{const r=e,n=x.useId(),{adaptiveHeight:i,adaptiveHeightAnimation:s,afterSlide:o,animation:l,autoplay:c,autoplayInterval:f,autoplayReverse:d,beforeSlide:u,carouselId:h=n,cellAlign:p,cellSpacing:g,children:y,className:m,disableAnimation:v,dragging:C,dragThreshold:w,enableKeyboardControls:j,frameAriaLabel:b,keyCodeConfig:A,landmark:L,onDrag:D,onDragEnd:N,onDragStart:I,onUserNavigation:F,pauseOnHover:M,renderAnnounceSlideMessage:k,scrollMode:z,slideIndex:Z,slidesToScroll:U,slidesToShow:W,slideWidth:R,speed:te,style:H,swiping:S,tabbed:ee,wrapAround:Y,zoomScale:ce}=r,X=x.Children.toArray(y).filter(Boolean),Q=X.length,fe=R||U==="auto"?"left":p,le=U==="auto"?"remainder":z,[re,ie]=x.useState(new Map),J=Array.from(re).filter(([,me])=>me).length,[B,ye]=x.useState(J),ne=R?B:W,Ee=l==="fade"?ne:U==="auto"?Math.max(B,1):U,[we,He]=x.useState(()=>AAe(Z,Q,ne,Ee,fe,d,le)),[rt,Bt]=x.useState(!1),[Ge,dt]=x.useState(!1),[At,_t]=x.useState(0),[st,Zt]=x.useState(0),[nr,lr]=x.useState(!1),en=x.useCallback((me,ut)=>{!!re.get(me)!==ut&&ie(jt=>{const Ke=new Map(jt);return Ke.set(me,ut),Ke})},[re]),kn=x.useRef(!1);x.useEffect(()=>{Ge&&(kn.current=!0),Ge||nr||(kn.current||ye(J),kn.current=!1)},[nr,Ge,J]);const qt=x.useRef(null),$n=x.useRef(0),cr=x.useRef(null),We=x.useRef(null),qe=x.useRef(),_e=x.useRef(null),ir=x.useRef(!0),Gt=x.useCallback(me=>{me&&me.querySelectorAll(".slider-list img").forEach(ut=>ut.setAttribute("draggable","false")),cr.current=me},[]);x.useEffect(()=>(ir.current=!0,()=>{ir.current=!1}),[]);const Oe=WAe(t)||We,Je=x.useCallback(me=>{if(!cr.current||!Oe.current)return;const ut=wP(me,Q),jt=me!==we;jt&&u(we,ut);const Ke=cr.current.getBoundingClientRect().left-Oe.current.getBoundingClientRect().left,Cn=cr.current.offsetWidth;let Va=d9(ut,Q,ne,fe,Y)/100*Cn;if(Y){const Ce=Cn/3;me<0&&(Va+=Ce),me>=Q&&(Va-=Ce)}Zt(Va-Ke),jt&&(He(ut),setTimeout(()=>{ir.current&&o(ut)},v?40:te||500))},[o,u,Oe,fe,we,v,te,Q,ne,Y]),Ze=x.useCallback(()=>{const me=bP(le,Y,we,Q,Ee,ne,fe);we!==me&&Je(me)},[fe,we,Je,Ee,le,Q,ne,Y]),fr=x.useCallback(()=>{const me=CP(le,Y,we,Ee,ne,fe);we!==me&&Je(me)},[fe,we,Je,Ee,le,ne,Y]),Ti=x.useRef(Z);x.useEffect(()=>{Z!==void 0&&Z!==Ti.current&&!d&&(Je(Z),Ti.current=Z)},[Z,d,Je]),x.useEffect(()=>{let me=null;return rt&&(me=Date.now()),()=>{me!==null&&_e.current!==null&&(_e.current+=Date.now()-me)}},[rt]),x.useEffect(()=>{if(c&&!rt){const me=_e.current!==null?f-(Date.now()-_e.current):f;qe.current=setTimeout(()=>{_e.current=Date.now(),d?fr():Ze()},me)}return c&&rt&&clearTimeout(qe.current),()=>{clearTimeout(qe.current)}},[rt,c,f,d,fr,Ze]);const ri=me=>{let ut=null;if(Object.keys(A).forEach(jt=>{var Ke;(Ke=A[jt])!=null&&Ke.includes(me.keyCode)&&(ut=jt)}),ut!==null)switch(me.preventDefault(),me.stopPropagation(),ut){case"nextSlide":F(me),Ze();break;case"previousSlide":F(me),fr();break;case"firstSlide":case"lastSlide":{F(me);const jt=H4(Q,Ee,le,ne,Y,fe);Je(ut==="firstSlide"?jt[0]:jt[jt.length-1]);break}case"pause":Bt(jt=>!jt);break}},Ye=x.useRef([]),Cr=me=>{if(!Ge||!Oe.current)return;dt(!1);let ut=0;if(Ye.current.length>1){const de=Ye.current[0],he=Ye.current[Ye.current.length-1],xt=he.time-de.time,Rt=9,St=.92;let Or=Rt*Math.abs((he.pos-de.pos)/xt);for(;Math.abs(Or)>1;)ut+=Or,Or*=St}Ye.current=[];const jt=Math.abs(At)+Math.abs(ut);N(me),qt.current=null,_t(0);const Ke=Oe.current.offsetWidth*Math.min(1,Ee/ne),Cn=Ke*w;if(jt<Cn){Je(we);return}const Ce=ne>=2*Ee?1+Math.floor((jt-Cn)/Ke):1;let q=we;for(let de=0;de<Ce;de+=1)At>0?q=bP(le,Y,q,Q,Ee,ne,fe):q=CP(le,Y,q,Ee,ne,fe);q!==we&&F(me),Je(q)},Es=x.useCallback(me=>{!S||!cr.current||!Oe.current||(dt(!0),$n.current=cr.current.getBoundingClientRect().left-Oe.current.getBoundingClientRect().left,I(me))},[Oe,I,S]),tn=x.useCallback(me=>{if(!Ge)return;const ut=qt.current===null,jt=qt.current!==null?me-qt.current:0,Ke=At+jt,Cn=Date.now();for(;Ye.current.length>0&&!(Cn-Ye.current[0].time<=100);)Ye.current.shift();Ye.current.push({pos:Ke,time:Cn}),ut||_t(Ke),qt.current=me},[Ge,At]),_a=x.useCallback(me=>{if(!Ge||!Oe.current)return;I(me);const ut=Oe.current.offsetWidth-me.touches[0].pageX;tn(ut)},[Ge,Oe,tn,I]),Bn=x.useCallback(me=>{!C||!cr.current||!Oe.current||(dt(!0),$n.current=cr.current.getBoundingClientRect().left-Oe.current.getBoundingClientRect().left,I(me))},[Oe,C,I]),jo=x.useCallback(me=>{if(!Ge||!Oe.current)return;D(me);const ut=me.clientX-Oe.current.getBoundingClientRect().left,jt=Oe.current.offsetWidth-ut;tn(jt)},[Oe,Ge,tn,D]),Lo=me=>{me.preventDefault(),Cr(me)},rn=x.useCallback(()=>{M&&Bt(!0)},[M]),ra=x.useCallback(()=>{M&&Bt(!1)},[M]),{frameHeight:Ha,handleVisibleSlideHeightChange:Jt,initializedAdaptiveHeight:Ds}=HAe(i,ne,Q),Wa=me=>X.map((jt,Ke)=>a.jsx(vAe,{id:`${me}-${Ke}`,carouselId:h,count:Q,index:Ke,isCurrentSlide:we===Ke,typeOfSlide:me,wrapAround:Y,cellSpacing:g,animation:l,speed:te,zoomScale:ce,onVisibleSlideHeightChange:Jt,slideWidth:R,updateIOEntry:en,adaptiveHeight:i,initializedAdaptiveHeight:Ds,carouselRef:Oe,tabbed:ee,children:jt},`${me}-${Ke}`));return a.jsxs("div",{className:"slider-container",style:{position:"relative"},onMouseEnter:rn,onMouseLeave:ra,"aria-label":b,role:L?"region":"group","aria-roledescription":"carousel",id:h,"data-testid":h,children:[a.jsx(wAe,{ariaLive:c&&!rt?"off":"polite",message:k({currentSlide:we,count:Q})}),kAe(_4(Sr({},r),{carouselId:h}),Q,we,Je,Ze,fr,Ee),a.jsx("div",{className:["slider-frame",m||""].join(" ").trim(),style:Sr({overflow:"hidden",width:"100%",position:"relative",outline:"none",touchAction:"pan-y",height:Ha,transition:s?"height 300ms ease-in-out":void 0,willChange:"height",userSelect:"none"},H),tabIndex:j?0:-1,onKeyDown:j?ri:void 0,ref:Oe,onMouseUp:Lo,onMouseDown:Bn,onMouseMove:jo,onMouseLeave:Lo,onTouchStart:Es,onTouchEnd:Cr,onTouchMove:_a,id:`${h}-slider-frame`,"data-testid":`${h}-slider-frame`,children:a.jsxs(jP,{animationDistance:st,cellAlign:fe,currentSlide:we,disableEdgeSwiping:r.disableEdgeSwiping,draggedOffset:$n.current-At,disableAnimation:v,easing:r.easing,edgeEasing:r.edgeEasing,isDragging:Ge,ref:Gt,scrollMode:le,animation:l,slideCount:Q,slidesToScroll:Ee,slidesToShow:ne,speed:te,slideWidth:R,wrapAround:Y,setIsAnimating:lr,children:[Y?Wa("prev-cloned"):null,Wa(),Y?Wa("next-cloned"):null]})})]})});W4.defaultProps=BAe,W4.displayName="Carousel";const VAe=({media:e,autoPlay:t=!1,objectFit:r="contain",height:n="100%",scale:i=1.015,className:s,radius:o,withShadow:l,altText:c="Karusellbilde"})=>{const f=ft(),d=(e==null?void 0:e.length)>1,u=({mediaItem:h})=>{var g;const p=!!((g=h.mimeType)!=null&&g.includes("video"));return a.jsx(sAe,{height:n,scale:i,children:p?a.jsx(dA,{src:h.src,autoPlay:t,intersectionObserver:!0}):a.jsx(i0,{src:h.src,alt:c,objectFit:r})})};return a.jsx(iAe,{height:n,theme:f,className:s,radius:o,withShadow:l,"aria-label":"Mediakarusell",children:a.jsx(W4,{enableKeyboardControls:!0,swiping:d,dragging:d,wrapAround:!0,cellSpacing:15,renderCenterRightControls:({nextSlide:h})=>d&&a.jsx(mP,{onClick:h,direction:"right","aria-label":"Neste bilde",children:a.jsx(Fo,{size:18,color:f.btnDefaultFontColor,flip:!0})}),renderCenterLeftControls:({previousSlide:h})=>d&&a.jsx(mP,{onClick:h,direction:"left","aria-label":"Forrige bilde",children:a.jsx(Fo,{size:18,color:f.btnDefaultFontColor})}),renderBottomCenterControls:({currentSlide:h})=>a.jsx(aAe,{children:a.jsxs(ve,{color:f.btnDefaultFontColor,size:"14px",children:[h+1," / ",e.length]})}),children:e.map((h,p)=>a.jsx(u,{mediaItem:h},p))})})},zAe=_.table`
2145
+ `);var oAe=Object.defineProperty,lAe=Object.defineProperties,cAe=Object.getOwnPropertyDescriptors,vP=Object.getOwnPropertySymbols,fAe=Object.prototype.hasOwnProperty,dAe=Object.prototype.propertyIsEnumerable,uAe=Math.pow,xP=(e,t,r)=>t in e?oAe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Sr=(e,t)=>{for(var r in t||(t={}))fAe.call(t,r)&&xP(e,r,t[r]);if(vP)for(var r of vP(t))dAe.call(t,r)&&xP(e,r,t[r]);return e},_4=(e,t)=>lAe(e,cAe(t)),hAe=(e,t,r)=>{const[n,i]=x.useState(),s=x.useRef(r);return x.useEffect(()=>{s.current=r},[r]),x.useEffect(()=>{const o=e==null?void 0:e.current,l=t==null?void 0:t.current;if(!window.IntersectionObserver||!o||!l)return;const c=new IntersectionObserver(f=>{f.forEach(d=>{i(d),s.current(d)})},{threshold:[.05,.95],root:l});return c.observe(o),()=>c.disconnect()},[e,t]),n},pAe=(e,t)=>`${t?100/(3*e):100/e}%`,gAe=(e,t,r,n,i,s,o,l,c,f,d)=>{const u=d??pAe(e,n),h=r?1:0,p=s==="fade"?200:500;let g="auto";return c&&(f?g="100%":r?g="auto":g="0"),{width:u,height:g,padding:`0 ${i?i/2:0}px`,transition:s?`${o||p}ms ease 0s`:void 0,transform:s==="zoom"?`scale(${t&&r?1:l||.85})`:void 0,opacity:s==="fade"?h:1}},yAe=(e,t,r)=>r==="prev-cloned"?e-t:r==="next-cloned"?e+t:e,mAe=({count:e,children:t,index:r,isCurrentSlide:n,typeOfSlide:i,wrapAround:s,cellSpacing:o,slideWidth:l,animation:c,speed:f,zoomScale:d,onVisibleSlideHeightChange:u,adaptiveHeight:h,initializedAdaptiveHeight:p,updateIOEntry:g,id:y,carouselRef:m,carouselId:v,tabbed:C})=>{var w;const j=s?yAe(r,e,i):r,b=x.useRef(null),A=hAe(b,m,F=>{g(y,(F==null?void 0:F.intersectionRatio)>=.95)}),L=!!(A!=null&&A.isIntersecting),D=((w=A==null?void 0:A.intersectionRatio)!=null?w:1)>=.95,N=x.useRef(!1);x.useEffect(()=>{var F;const M=b.current;if(M){const k=(F=M.getBoundingClientRect())==null?void 0:F.height,z=N.current;L&&!z?u(j,k):!L&&z&&u(j,null),N.current=L}},[j,L,u]);const I=n&&D?" slide-current":"";return a.jsx("div",_4(Sr({ref:b},{inert:D?void 0:"true"}),{className:`slide${I}${i?` ${i}`:""}${D?" slide-visible":""}`,style:gAe(e,n,D,s,o,c,f,d,h,p,l),id:i?void 0:`${v}-slide-${r+1}`,role:C?"tabpanel":"group","aria-roledescription":C?void 0:"slide",children:t}))},vAe=mAe,xAe={position:"absolute",width:"1px",height:"1px",overflow:"hidden",padding:0,margin:"-1px",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},bAe=({message:e,ariaLive:t="polite"})=>a.jsx("div",{"aria-live":t,"aria-atomic":"true",style:xAe,tabIndex:-1,children:e}),CAe=({currentSlide:e,count:t})=>`Slide ${e+1} of ${t}`,wAe=bAe,bP=(e,t,r,n,i,s,o)=>t?r+i:r>=n-1||o==="left"&&r>=n-s?r:e==="remainder"&&o==="left"?Math.min(r+i,n-s):Math.min(r+i,n-1),CP=(e,t,r,n,i,s)=>t?r-n:r<=0||s==="right"&&r<=i-1?r:e==="remainder"&&s==="right"?Math.max(r-n,i-1):Math.max(r-n,0),AAe=(e,t,r,n,i,s,o)=>{if(e!==void 0)return e;const l=H4(t,n,o,r,!1,i);return s?l[l.length-1]:l[0]},wP=(e,t)=>(e%t+t)%t,AP=e=>({border:0,background:"rgba(0,0,0,0.4)",color:"white",padding:10,textTransform:"uppercase",opacity:e?.3:1,cursor:e?"not-allowed":"pointer"}),jAe=({cellAlign:e,currentSlide:t,slidesToShow:r,wrapAround:n})=>n?!1:t===0||e==="right"&&t<=r-1,LAe=({previousSlide:e,defaultControlsConfig:{prevButtonClassName:t,prevButtonStyle:r={},prevButtonText:n,prevButtonOnClick:i},onUserNavigation:s,carouselId:o,previousDisabled:l})=>{const c=f=>{i==null||i(f),!f.defaultPrevented&&(s(f),f.preventDefault(),e())};return a.jsx("button",{className:t,style:Sr(Sr({},AP(l)),r),disabled:l,onClick:c,"aria-label":"previous","aria-controls":`${o}-slider-frame`,type:"button",children:n||"Prev"})},EAe=({cellAlign:e,currentSlide:t,slideCount:r,slidesToShow:n,wrapAround:i})=>i?!1:t>=r-1||e==="left"&&t>=r-n,DAe=({nextSlide:e,defaultControlsConfig:{nextButtonClassName:t,nextButtonStyle:r={},nextButtonText:n,nextButtonOnClick:i},carouselId:s,nextDisabled:o,onUserNavigation:l})=>{const c=f=>{i==null||i(f),!f.defaultPrevented&&(l(f),f.preventDefault(),e())};return a.jsx("button",{className:t,style:Sr(Sr({},AP(o)),r),disabled:o,onClick:c,"aria-label":"next","aria-controls":`${s}-slider-frame`,type:"button",children:n||"Next"})},H4=(e,t,r,n,i,s)=>{const o=[],l=t<=0?1:t;if(i){for(let c=0;c<e;c+=l)o.push(c);return o}if(s==="center"){for(let c=0;c<e-1;c+=l)o.push(c);return e>0&&o.push(e-1),o}if(s==="left"){if(n>=e)return[0];const c=e-n;for(let f=0;f<c;f+=l)o.push(f);return r==="remainder"?o.push(c):o.push(o[o.length-1]+l),o}if(s==="right"){if(n>=e)return[e-1];const c=n-1;if(r==="remainder"){for(let f=c;f<e-1;f+=l)o.push(f);o.push(e-1)}else{for(let f=e-1;f>c;f-=l)o.push(f);o.push(o[o.length-1]-l),o.reverse()}return o}return o},NAe=({pagingDotsIndices:e,defaultControlsConfig:{pagingDotsContainerClassName:t,pagingDotsClassName:r,pagingDotsStyle:n={},pagingDotsOnClick:i},carouselId:s,currentSlide:o,onUserNavigation:l,slideCount:c,goToSlide:f,tabbed:d})=>{const u={position:"relative",top:-10,display:"flex",margin:0,padding:0,listStyleType:"none"},h=x.useCallback(g=>({cursor:"pointer",opacity:g?1:.5,background:"transparent",border:"none",fill:"black"}),[]),p=wP(o,c);return d?a.jsx("div",{className:t,style:u,role:"tablist","aria-label":"Choose slide to display.",children:e.map((g,y)=>{const m=p===g||p<g&&(y===0||p>e[y-1]);return a.jsx("button",{className:["paging-item",r,m?"active":null].join(" "),type:"button",style:Sr(Sr({},h(m)),n),onClick:v=>{i==null||i(v),!v.defaultPrevented&&(l(v),f(g))},"aria-label":`slide ${g+1}`,"aria-selected":m,"aria-controls":`${s}-slide-${g+1}`,role:"tab",children:a.jsx("svg",{className:"paging-dot",width:"6",height:"6","aria-hidden":"true",focusable:"false",viewBox:"0 0 6 6",children:a.jsx("circle",{cx:"3",cy:"3",r:"3"})})},g)})}):null},FAe=(e,t,r,n)=>{const[i,s]=x.useState(1),o=x.useRef(Date.now()),l=x.useRef(),c=x.useRef(!0),f=x.useRef(null),d=f.current===null||f.current===r||n?i:0;return x.useEffect(()=>{if(f.current=r,c.current){c.current=!1;return}if(n)return;o.current=Date.now(),s(0);const u=()=>{l.current=requestAnimationFrame(()=>{const h=Date.now(),p=Math.min(1,(h-o.current)/e);s(p),p<1?u():l.current=void 0})};return u(),()=>{l.current!==void 0&&(cancelAnimationFrame(l.current),s(1))}},[r,e,n]),{isAnimating:d!==1,value:t(d)}},d9=(e,t,r,n,i)=>{const s=i?3*t:t,o=100/s;let l=i?-100/3:0;if(n==="right"&&r>1){const f=r-1;l+=o*f}if(n==="center"&&r>1){const d=(r-1)/2;l+=o*d}const c=100/s*e;return l-c},jP=x.forwardRef(({animation:e,animationDistance:t,cellAlign:r,children:n,currentSlide:i,disableAnimation:s,disableEdgeSwiping:o,draggedOffset:l,easing:c,edgeEasing:f,isDragging:d,scrollMode:u,slideCount:h,slidesToScroll:p,slidesToShow:g,speed:y,wrapAround:m,slideWidth:v,setIsAnimating:C},w)=>{const j=m?3*h:h,b=v?`calc(${v} * ${j})`:`${j*100/g}%`,A=[h,g,r,m],L=H4(h,p,u,g,m,r);let D=`${l}px`;if(d&&o&&!m){const z=[L[0],L[L.length-1]].map(Z=>d9(Z,...A));D=`clamp(${z[1]}%, ${l}px, ${z[0]}%)`}const N=d9(i,...A),I=!o&&!m&&(i===L[0]&&t<0||i===L[L.length-1]&&t>0),{value:F,isAnimating:M}=FAe(y,I?f:c,i+t,d||s||e==="fade");let k;if(d||N!==0||M)if(d)k=`translateX(${D})`;else{const z=M?(1-F)*t:0;k=`translateX(calc(${N}% - ${z}px))`}return x.useEffect(()=>{C(M)},[M,C]),a.jsx("div",{ref:w,className:"slider-list",style:{width:b,textAlign:"left",userSelect:"auto",transform:k,display:"flex"},children:n})});jP.displayName="SliderList";var OAe={position:"absolute",display:"flex",zIndex:1,top:0,left:0,bottom:0,right:0},MAe=e=>{let t;switch(e){case"TopLeft":case"TopCenter":case"TopRight":t="flex-start";break;case"CenterLeft":case"CenterCenter":case"CenterRight":t="center";break;case"BottomLeft":case"BottomCenter":case"BottomRight":t="flex-end";break}let r;switch(e){case"TopLeft":case"CenterLeft":case"BottomLeft":r="flex-start";break;case"TopCenter":case"CenterCenter":case"BottomCenter":r="center";break;case"TopRight":case"CenterRight":case"BottomRight":r="flex-end";break}return{alignItems:t,justifyContent:r}},PAe=e=>Sr(Sr({},MAe(e)),OAe),TAe=[{funcName:"renderTopLeftControls",key:"TopLeft"},{funcName:"renderTopCenterControls",key:"TopCenter"},{funcName:"renderTopRightControls",key:"TopRight"},{funcName:"renderCenterLeftControls",key:"CenterLeft"},{funcName:"renderCenterCenterControls",key:"CenterCenter"},{funcName:"renderCenterRightControls",key:"CenterRight"},{funcName:"renderBottomLeftControls",key:"BottomLeft"},{funcName:"renderBottomCenterControls",key:"BottomCenter"},{funcName:"renderBottomRightControls",key:"BottomRight"}],IAe=(e,t,r,n,i,s,o)=>{if(e.withoutControls)return null;const l=_4(Sr({},e),{currentSlide:r,slideCount:t}),c=EAe(l),f=jAe(l),d=H4(t,o,e.scrollMode,e.slidesToShow,e.wrapAround,e.cellAlign);return TAe.map(u=>{var h;return!e[u.funcName]||typeof e[u.funcName]!="function"?a.jsx(x.Fragment,{},u.funcName):a.jsx("div",{style:_4(Sr({},PAe(u.key)),{pointerEvents:"none"}),children:a.jsx("div",{className:[`slider-control-${u.key.toLowerCase()}`,e.defaultControlsConfig.containerClassName||""].join(" ").trim(),style:{pointerEvents:"auto"},children:(h=e[u.funcName])==null?void 0:h.call(e,{cellAlign:e.cellAlign,cellSpacing:e.cellSpacing,currentSlide:r,defaultControlsConfig:e.defaultControlsConfig||{},carouselId:e.carouselId,pagingDotsIndices:d,goToSlide:n,nextDisabled:c,nextSlide:i,onUserNavigation:e.onUserNavigation,previousDisabled:f,previousSlide:s,scrollMode:e.scrollMode,slideCount:t,slidesToScroll:o,slidesToShow:e.slidesToShow||1,tabbed:e.tabbed,vertical:e.vertical,wrapAround:e.wrapAround})})},u.funcName)})},kAe=IAe,LP=e=>uAe(e-1,3)+1,$Ae={adaptiveHeight:!1,adaptiveHeightAnimation:!0,afterSlide:()=>{},autoplay:!1,autoplayInterval:3e3,autoplayReverse:!1,beforeSlide:()=>{},cellAlign:"left",cellSpacing:0,defaultControlsConfig:{},disableAnimation:!1,disableEdgeSwiping:!1,dragging:!0,dragThreshold:.5,easing:LP,edgeEasing:LP,enableKeyboardControls:!1,frameAriaLabel:"Slider",keyCodeConfig:{nextSlide:[39,68,38,87],previousSlide:[37,65,40,83],firstSlide:[81],lastSlide:[69],pause:[32]},landmark:!1,onDragStart:()=>{},onDrag:()=>{},onDragEnd:()=>{},onUserNavigation:()=>{},pauseOnHover:!0,renderAnnounceSlideMessage:CAe,renderBottomCenterControls:e=>a.jsx(NAe,Sr({},e)),renderCenterLeftControls:e=>a.jsx(LAe,Sr({},e)),renderCenterRightControls:e=>a.jsx(DAe,Sr({},e)),scrollMode:"page",slidesToScroll:1,slidesToShow:1,speed:500,style:{},swiping:!0,tabbed:!0,vertical:!1,withoutControls:!1,wrapAround:!1,children:a.jsx(a.Fragment,{})},BAe=$Ae,_Ae=e=>{const[t,r]=x.useState(e),n=x.useRef(e),i=x.useCallback(s=>{n.current=s,r(s)},[]);return[t,i,n]},HAe=(e,t,r)=>{const[n,i,s]=_Ae([]),[o,l]=x.useState(!1),c=x.useCallback((d,u)=>{const h=s.current;let p;u===null?p=h.filter(g=>g.slideIndex!==d):p=[...h,{slideIndex:d,height:u}],i(p),p.length>=Math.min(r,Math.ceil(t))&&l(!0)},[r,i,t,s]),f=x.useMemo(()=>e&&o?`${Math.max(0,...n.map(u=>u.height))}px`:"auto",[e,o,n]);return{handleVisibleSlideHeightChange:c,frameHeight:f,initializedAdaptiveHeight:o}},WAe=e=>{const t=x.useRef(null);return x.useEffect(()=>{e&&(typeof e=="function"?e(t.current):e.current=t.current)},[e]),t},W4=x.forwardRef((e,t)=>{const r=e,n=x.useId(),{adaptiveHeight:i,adaptiveHeightAnimation:s,afterSlide:o,animation:l,autoplay:c,autoplayInterval:f,autoplayReverse:d,beforeSlide:u,carouselId:h=n,cellAlign:p,cellSpacing:g,children:y,className:m,disableAnimation:v,dragging:C,dragThreshold:w,enableKeyboardControls:j,frameAriaLabel:b,keyCodeConfig:A,landmark:L,onDrag:D,onDragEnd:N,onDragStart:I,onUserNavigation:F,pauseOnHover:M,renderAnnounceSlideMessage:k,scrollMode:z,slideIndex:Z,slidesToScroll:U,slidesToShow:W,slideWidth:R,speed:te,style:H,swiping:S,tabbed:ee,wrapAround:Y,zoomScale:ce}=r,X=x.Children.toArray(y).filter(Boolean),Q=X.length,fe=R||U==="auto"?"left":p,le=U==="auto"?"remainder":z,[re,ie]=x.useState(new Map),J=Array.from(re).filter(([,me])=>me).length,[B,ye]=x.useState(J),ne=R?B:W,Ee=l==="fade"?ne:U==="auto"?Math.max(B,1):U,[we,He]=x.useState(()=>AAe(Z,Q,ne,Ee,fe,d,le)),[rt,Bt]=x.useState(!1),[Ge,dt]=x.useState(!1),[At,_t]=x.useState(0),[st,Zt]=x.useState(0),[nr,lr]=x.useState(!1),en=x.useCallback((me,ut)=>{!!re.get(me)!==ut&&ie(jt=>{const Ke=new Map(jt);return Ke.set(me,ut),Ke})},[re]),kn=x.useRef(!1);x.useEffect(()=>{Ge&&(kn.current=!0),Ge||nr||(kn.current||ye(J),kn.current=!1)},[nr,Ge,J]);const qt=x.useRef(null),$n=x.useRef(0),cr=x.useRef(null),We=x.useRef(null),qe=x.useRef(),_e=x.useRef(null),ir=x.useRef(!0),Gt=x.useCallback(me=>{me&&me.querySelectorAll(".slider-list img").forEach(ut=>ut.setAttribute("draggable","false")),cr.current=me},[]);x.useEffect(()=>(ir.current=!0,()=>{ir.current=!1}),[]);const Oe=WAe(t)||We,Je=x.useCallback(me=>{if(!cr.current||!Oe.current)return;const ut=wP(me,Q),jt=me!==we;jt&&u(we,ut);const Ke=cr.current.getBoundingClientRect().left-Oe.current.getBoundingClientRect().left,Cn=cr.current.offsetWidth;let Va=d9(ut,Q,ne,fe,Y)/100*Cn;if(Y){const Ce=Cn/3;me<0&&(Va+=Ce),me>=Q&&(Va-=Ce)}Zt(Va-Ke),jt&&(He(ut),setTimeout(()=>{ir.current&&o(ut)},v?40:te||500))},[o,u,Oe,fe,we,v,te,Q,ne,Y]),Ze=x.useCallback(()=>{const me=bP(le,Y,we,Q,Ee,ne,fe);we!==me&&Je(me)},[fe,we,Je,Ee,le,Q,ne,Y]),fr=x.useCallback(()=>{const me=CP(le,Y,we,Ee,ne,fe);we!==me&&Je(me)},[fe,we,Je,Ee,le,ne,Y]),Ti=x.useRef(Z);x.useEffect(()=>{Z!==void 0&&Z!==Ti.current&&!d&&(Je(Z),Ti.current=Z)},[Z,d,Je]),x.useEffect(()=>{let me=null;return rt&&(me=Date.now()),()=>{me!==null&&_e.current!==null&&(_e.current+=Date.now()-me)}},[rt]),x.useEffect(()=>{if(c&&!rt){const me=_e.current!==null?f-(Date.now()-_e.current):f;qe.current=setTimeout(()=>{_e.current=Date.now(),d?fr():Ze()},me)}return c&&rt&&clearTimeout(qe.current),()=>{clearTimeout(qe.current)}},[rt,c,f,d,fr,Ze]);const ri=me=>{let ut=null;if(Object.keys(A).forEach(jt=>{var Ke;(Ke=A[jt])!=null&&Ke.includes(me.keyCode)&&(ut=jt)}),ut!==null)switch(me.preventDefault(),me.stopPropagation(),ut){case"nextSlide":F(me),Ze();break;case"previousSlide":F(me),fr();break;case"firstSlide":case"lastSlide":{F(me);const jt=H4(Q,Ee,le,ne,Y,fe);Je(ut==="firstSlide"?jt[0]:jt[jt.length-1]);break}case"pause":Bt(jt=>!jt);break}},Ye=x.useRef([]),Cr=me=>{if(!Ge||!Oe.current)return;dt(!1);let ut=0;if(Ye.current.length>1){const de=Ye.current[0],he=Ye.current[Ye.current.length-1],xt=he.time-de.time,Rt=9,St=.92;let Or=Rt*Math.abs((he.pos-de.pos)/xt);for(;Math.abs(Or)>1;)ut+=Or,Or*=St}Ye.current=[];const jt=Math.abs(At)+Math.abs(ut);N(me),qt.current=null,_t(0);const Ke=Oe.current.offsetWidth*Math.min(1,Ee/ne),Cn=Ke*w;if(jt<Cn){Je(we);return}const Ce=ne>=2*Ee?1+Math.floor((jt-Cn)/Ke):1;let q=we;for(let de=0;de<Ce;de+=1)At>0?q=bP(le,Y,q,Q,Ee,ne,fe):q=CP(le,Y,q,Ee,ne,fe);q!==we&&F(me),Je(q)},Es=x.useCallback(me=>{!S||!cr.current||!Oe.current||(dt(!0),$n.current=cr.current.getBoundingClientRect().left-Oe.current.getBoundingClientRect().left,I(me))},[Oe,I,S]),tn=x.useCallback(me=>{if(!Ge)return;const ut=qt.current===null,jt=qt.current!==null?me-qt.current:0,Ke=At+jt,Cn=Date.now();for(;Ye.current.length>0&&!(Cn-Ye.current[0].time<=100);)Ye.current.shift();Ye.current.push({pos:Ke,time:Cn}),ut||_t(Ke),qt.current=me},[Ge,At]),_a=x.useCallback(me=>{if(!Ge||!Oe.current)return;I(me);const ut=Oe.current.offsetWidth-me.touches[0].pageX;tn(ut)},[Ge,Oe,tn,I]),Bn=x.useCallback(me=>{!C||!cr.current||!Oe.current||(dt(!0),$n.current=cr.current.getBoundingClientRect().left-Oe.current.getBoundingClientRect().left,I(me))},[Oe,C,I]),jo=x.useCallback(me=>{if(!Ge||!Oe.current)return;D(me);const ut=me.clientX-Oe.current.getBoundingClientRect().left,jt=Oe.current.offsetWidth-ut;tn(jt)},[Oe,Ge,tn,D]),Lo=me=>{me.preventDefault(),Cr(me)},rn=x.useCallback(()=>{M&&Bt(!0)},[M]),ra=x.useCallback(()=>{M&&Bt(!1)},[M]),{frameHeight:Ha,handleVisibleSlideHeightChange:Jt,initializedAdaptiveHeight:Ds}=HAe(i,ne,Q),Wa=me=>X.map((jt,Ke)=>a.jsx(vAe,{id:`${me}-${Ke}`,carouselId:h,count:Q,index:Ke,isCurrentSlide:we===Ke,typeOfSlide:me,wrapAround:Y,cellSpacing:g,animation:l,speed:te,zoomScale:ce,onVisibleSlideHeightChange:Jt,slideWidth:R,updateIOEntry:en,adaptiveHeight:i,initializedAdaptiveHeight:Ds,carouselRef:Oe,tabbed:ee,children:jt},`${me}-${Ke}`));return a.jsxs("div",{className:"slider-container",style:{position:"relative"},onMouseEnter:rn,onMouseLeave:ra,"aria-label":b,role:L?"region":"group","aria-roledescription":"carousel",id:h,"data-testid":h,children:[a.jsx(wAe,{ariaLive:c&&!rt?"off":"polite",message:k({currentSlide:we,count:Q})}),kAe(_4(Sr({},r),{carouselId:h}),Q,we,Je,Ze,fr,Ee),a.jsx("div",{className:["slider-frame",m||""].join(" ").trim(),style:Sr({overflow:"hidden",width:"100%",position:"relative",outline:"none",touchAction:"pan-y",height:Ha,transition:s?"height 300ms ease-in-out":void 0,willChange:"height",userSelect:"none"},H),tabIndex:j?0:-1,onKeyDown:j?ri:void 0,ref:Oe,onMouseUp:Lo,onMouseDown:Bn,onMouseMove:jo,onMouseLeave:Lo,onTouchStart:Es,onTouchEnd:Cr,onTouchMove:_a,id:`${h}-slider-frame`,"data-testid":`${h}-slider-frame`,children:a.jsxs(jP,{animationDistance:st,cellAlign:fe,currentSlide:we,disableEdgeSwiping:r.disableEdgeSwiping,draggedOffset:$n.current-At,disableAnimation:v,easing:r.easing,edgeEasing:r.edgeEasing,isDragging:Ge,ref:Gt,scrollMode:le,animation:l,slideCount:Q,slidesToScroll:Ee,slidesToShow:ne,speed:te,slideWidth:R,wrapAround:Y,setIsAnimating:lr,children:[Y?Wa("prev-cloned"):null,Wa(),Y?Wa("next-cloned"):null]})})]})});W4.defaultProps=BAe,W4.displayName="Carousel";const VAe=({media:e,autoPlay:t=!1,objectFit:r="contain",height:n="100%",scale:i=1.015,className:s,radius:o,withShadow:l,altText:c="Karusellbilde"})=>{const f=ft(),d=(e==null?void 0:e.length)>1,u=({mediaItem:h})=>{var g;const p=!!((g=h.mimeType)!=null&&g.includes("video"));return a.jsx(sAe,{height:n,scale:i,children:p?a.jsx(dA,{src:h.src,autoPlay:t,intersectionObserver:!0}):a.jsx(i0,{src:h.src,alt:c,objectFit:r})})};return a.jsx(iAe,{height:n,theme:f,className:s,radius:o,withShadow:l,"aria-label":"Mediakarusell",children:a.jsx(W4,{enableKeyboardControls:!0,swiping:d,dragging:d,wrapAround:!0,cellSpacing:15,renderCenterRightControls:({nextSlide:h})=>d&&a.jsx(mP,{onClick:h,direction:"right","aria-label":"Neste bilde",children:a.jsx(Fo,{size:18,color:f.btnDefaultFontColor,flip:!0})}),renderCenterLeftControls:({previousSlide:h})=>d&&a.jsx(mP,{onClick:h,direction:"left","aria-label":"Forrige bilde",children:a.jsx(Fo,{size:18,color:f.btnDefaultFontColor})}),renderAnnounceSlideMessage:({currentSlide:h})=>`${h+1} av ${e.length}`,renderBottomCenterControls:({currentSlide:h})=>a.jsx(aAe,{children:a.jsxs(ve,{color:f.btnDefaultFontColor,size:"14px",children:[h+1," / ",e.length]})}),children:e.map((h,p)=>a.jsx(u,{mediaItem:h},p))})})},zAe=_.table`
2146
2146
  border-collapse: collapse;
2147
2147
  `;_.tbody``;const Kn={cell_defaults:P`
2148
2148
  text-align: left;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bbl-digital/snorre",
3
- "version": "4.2.77",
3
+ "version": "4.2.78",
4
4
  "description": "Design library for BBL Digital",
5
5
  "license": "MIT",
6
6
  "main": "./lib/index.js",