pptx-svelte-viewer 4.1.0 → 4.1.2

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 { $ as Vo, $a as Mv, $c as Fn, $d as Av, $f as zv, $g as bi, $h as Dv, $i as Ov, $l as xi, $m as Ko, $n as qv, $o as Rv, $p as Nv, $r as Fv, $s as Wo, $t as yi, $u as wi, A as Lv, Aa as Bv, Ac as jv, Ad as Uv, Ag as Hv, Ah as Vv, Ai as Kv, Al as Wv, Am as Zv, An as Ln, Ao as Zo, Ap as Go, Ar as Gv, As as Vr, At as Xv, Au as Yv, B as Jv, Ba as Qv, Bc as $v, Bd as ep, Bf as tp, Bg as ap, Bh as Kr, Bi as np, Bl as ip, Bm as Ot, Bo as rp, Bp as sp, Br as lp, Bs as op, Bt as dp, Bu as cp, C as up, Ca as vp, Cc as pp, Cd as hp, Cf as gp, Cg as fp, Ci as mp, Cm as Xo, Cn as _p, Co as bp, Cp as xp, Cr as yp, Cs as wp, Ct as Sp, Cu as Bn, D as kp, Da as Tp, Dc as Cp, Dd as Ep, Df as Pp, Dg as Si, Dh as Ip, Di as Mp, Dm as Ap, Dn as zp, Do as Dp, Dp as jn, Dr as Op, Ds as qp, Dt as Rp, Du as Np, E as Fp, Ea as Lp, Ed as At, Ef as Bp, Eg as ki, Eh as jp, Ei as Up, El as Hp, Em as Vp, En as Kp, Eo as Wp, Ep as Zp, Er as Gp, Es as Xp, Et as Yp, Eu as Jp, F as oe, Fa as Qp, Fc as $p, Fd as eh, Ff as th, Fg as ah, Fh as nh, Fi as ih, Fl as rh, Fm as sh, Fn as Yo, Fo as lh, Fp as oh, Fr as dh, Fs as Ja, Ft as ch, Fu as uh, G as vh, Ga as ph, Gc as hh, Gd as nr, Gf as gh, Gg as fh, Gh as Ea, Gi as mh, Gl as _h, Gm as bh, Gn as xh, Go as Jo, Gp as yh, Gr as ia, Gs as wh, Gu as Sh, H as Un, Ha as Qo, Hc as kh, Hd as Ti, Hf as Th, Hg as Wr, Hi as Ch, Hl as Eh, Hm as Ph, Hn as Ih, Ho as Zr, Hp as Mh, Hr as Ah, Hs as zh, Ht as Dh, Hu as Oh, I as qh, Ia as Rh, Ic as Nh, Id as Fh, If as Lh, Ig as Ci, Ih as Bh, Ii as $o, Im as jh, In as Uh, Io as Gr, Ip as Hh, Ir as Vh, Is as Kh, It as Wh, Iu as Zh, J as Gh, Ja as Xh, Jc as Yh, Jd as Jh, Jf as Qa, Jg as Qh, Jh as ed, Ji as td, Jl as Xr, Jm as $h, Jn as eg, Jo as tg, Jp as ag, Jr as ng, Js as ig, Jt as rg, Ju as sg, K as lg, Ka as ad, Kc as Yr, Kf as og, Kg as dg, Kh as cg, Ki as ug, Kl as vg, Km as pg, Kn as hg, Ko as gg, Kp as fg, Kr as mg, Ks as Jr, Kt as _g, Ku as bg, L as xg, La as Qr, Lc as nd, Ld as yg, Lf as wg, Lg as Sg, Lh as kg, Li as Tg, Lm as id, Ln as $r, Lo as Cg, Lp as Eg, Lr as Pg, Ls as rd, Lt as sd, Lu as Ig, M as Mg, Ma as Ag, Mc as zg, Md as ir, Mf as Dg, Mg as ld, Mh as Og, Mi as qg, Ml as Rg, Mm as Ng, Mn as Fg, Mo as Lg, Mp as Bg, Mr as jg, Ms as Ug, Mt as Hg, Mu as Vg, N as Kg, Na as Wg, Nd as Zg, Nf as Gg, Ng as tt, Nh as Xg, Ni as Yg, Nl as Jg, Nm as Qg, Nn as $g, No as ef, Np as tf, Nr as af, Ns as nf, Nt as rf, Nu as sf, O as rr, Oa as lf, Oc as of, Od as df, Of as cf, Og as uf, Oh as vf, Oi as sr, Ol as es, Om as pf, On as hf, Oo as gf, Op as ff, Or as mf, Os as _f, Ot as bf, Ou as xf, P as yf, Pa as ts, Pc as wf, Pd as Ei, Pf as Pa, Pg as Fe, Ph as Sf, Pi as kf, Pl as Tf, Pm as od, Pn as Ht, Po as Cf, Pp as Ef, Pr as Pf, Ps as If, Pt as as, Pu as Mf, Q as Af, Qa as dd, Qc as cd, Qd as zf, Qf as Df, Qg as Of, Qh as Hn, Qi as qf, Ql as Rf, Qm as Nf, Qn as Ff, Qo as ud, Qp as Lf, Qr as Bf, Qs as jf, Qt as Uf, Qu as Hf, R as Vf, Ra as Kf, Rc as Pi, Rd as Wf, Rf as Zf, Rg as Ii, Rh as Gf, Ri as Xf, Rl as vd, Rm as Yf, Rn as ns, Ro as Mi, Rp as Jf, Rr as Qf, Rs as $f, Rt as pd, Ru as hd, S as em, Sa as dt, Sc as gd, Sd as tm, Sf as am, Sg as nm, Sh as im, Si as rm, Sl as sm, Sm as fd, Sn as lm, So as om, Sp as dm, Sr as cm, Ss as md, St as um, Su as vm, T as _t, Ta as pm, Tc as hm, Td as is, Tf as gm, Tg as fm, Th as mm, Ti as _m, Tl as bm, Tm as xm, Tn as ym, To as wm, Tp as Sm, Tr as km, Ts as Tm, Tt as Cm, Tu as lr, U as Em, Ua as Pm, Uc as Im, Ud as Mm, Uf as Am, Ug as _d, Uh as Vn, Ui as zm, Ul as Dm, Um as Om, Un as qm, Uo as Rm, Up as Nm, Ur as Fm, Us as bd, Uu as rs, V as Lm, Va as ss, Vc as xd, Vd as Bm, Vf as jm, Vg as Um, Vi as Hm, Vl as Vm, Vm as Km, Vn as Wm, Vo as ls, Vp as Zm, Vr as Gm, Vs as Xm, Vt as os, Vu as or, W as Ym, Wa as Jm, Wc as Qm, Wd as $m, Wg as e_, Wh as t_, Wi as a_, Wl as qt, Wm as n_, Wn as i_, Wo as r_, Wp as s_, Wr as l_, Ws as yd, Wt as o_, Wu as d_, X as c_, Xa as u_, Xc as v_, Xd as p_, Xf as h_, Xg as g_, Xh as wd, Xi as f_, Xl as m_, Xm as __, Xn as b_, Xo as Sd, Xp as x_, Xr as kd, Xs as y_, Xt as Td, Xu as Kn, Y as w_, Ya as S_, Yc as k_, Yd as T_, Yg as C_, Yh as E_, Yi as P_, Yl as I_, Ym as M_, Yn as A_, Yo as z_, Yp as D_, Yr as O_, Ys as q_, Yt as R_, Yu as N_, Z as F_, Za as L_, Zc as Cd, Zd as B_, Zf as j_, Zg as Ed, Zh as Pd, Zi as vn, Zl as Id, Zm as U_, Zn as H_, Zo as V_, Zp as K_, Zr as W_, Zs as Ai, Zt as Wn, Zu as Z_, _ as G_, __ as Md, _a as X_, _c as Ad, _d as Y_, _f as J_, _g as Q_, _h as $_, _i as eb, _l as ra, _m as Ia, _n as wt, _o as zd, _p as ds, _r as tb, _s as ab, _t as cs, _u as nb, a as ib, a_ as rb, aa as sb, ac as lb, ad as Dd, af as dr, ag as ob, ah as Zn, ai as db, al as cb, am as Od, an as ub, ao as vb, ap as pb, ar as hb, as as gb, at as fb, au as mb, b as _b, b_ as $a, ba as bb, bc as qd, bd as xb, bf as Rd, bg as Nd, bh as yb, bi as wb, bl as Sb, bm as kb, bn as zi, bo as Tb, bp as Cb, br as Eb, bs as Pb, bt as Ib, bu as Mb, c as Ab, c_ as zb, ca as Db, cc as Ob, cd as qb, cf as Rb, cg as Fd, ch as Ft, ci as Nb, cl as Di, cm as Fb, cn as Lb, co as Bb, cp as Ld, cs as jb, ct as Ub, cu as Hb, d as Vb, d_ as Kb, da as Wb, dc as us, dd as Zb, df as Gb, dg as Xb, dh as Yb, di as Jb, dl as Qb, dm as $b, dn as Gn, do as ex, dp as tx, dr as ax, dt as vs, du as Bd, e_ as jd, ea as nx, ed as ix, ef as rx, eg as Ud, eh as sx, ei as lx, el as ox, em as dx, en as cx, eo as ux, ep as vx, er as px, es as hx, et as gx, eu as fx, f as mx, f_ as _x, fa as Hd, fc as bx, fd as xx, ff as yx, fg as wx, fh as ps, fi as Sx, fl as kx, fm as Tx, fo as Cx, fp as Ex, fr as Px, fs as hs, fu as Ix, g as Mx, g_ as Ax, ga as zx, gc as Dx, gd as Ox, gf as qx, gg as Rx, gh as Nx, gi as Fx, gl as Vd, gm as Lx, gn as Bx, go as jx, gp as Ux, gs as Hx, gt as Vx, gu as Kx, h as Wx, h_ as Kd, ha as Zx, hd as Gx, hf as Xx, hg as Wd, hh as Yx, hi as Jx, hl as Qx, hm as $x, hn as Ma, ho as e1, hp as Oi, hr as t1, hs as a1, hu as Zd, i as Gd, i_ as qi, ia as Xd, ic as cr, id as n1, if as ur, ig as Yd, ih as i1, ii as r1, il as vr, im as s1, io as l1, ip as o1, ir as d1, it as c1, iu as u1, j as Rt, ja as v1, jc as p1, jd as h1, jf as g1, jg as f1, jh as m1, ji as _1, jl as b1, jm as x1, jn as gs, jo as Jd, jp as y1, jr as Qd, js as w1, jt as S1, ju as k1, k as $d, ka as ec, kc as T1, kd as C1, kg as Ri, kh as E1, ki as P1, kl as I1, km as M1, kn as A1, ko as z1, kp as D1, kr as O1, ks as q1, kt as R1, ku as N1, l as F1, l_ as L1, la as B1, lc as j1, ld as U1, lf as H1, lg as tc, lh as sa, li as V1, ll as nt, lm as K1, ln as W1, lo as Z1, lp as G1, lr as X1, ls as Y1, lu as J1, m as Q1, m_ as $1, ma as ey, mc as ty, md as ay, mf as ny, mg as ac, mh as iy, mi as ry, ml as sy, mm as ly, mn as pr, mo as nc, mp as oy, mr as dy, ms as cy, mt as uy, mu as Ni, n as lt, n_ as vy, na as py, nc as hr, nd as hy, nf as gy, ng as fy, nh as my, ni as ic, nl as _y, nm as by, no as rc, nr as xy, ns as yy, nt as wy, nu as Sy, o as ky, o_ as Ty, oa as Cy, oc as sc, od as fs, of as Ey, og as Py, oh as Xn, oi as Iy, ol as My, om as Ay, on as zy, oo as Dy, ot as Oy, ou as qy, p as Ry, p_ as Ny, pa as Fy, pc as Ly, pd as By, pf as jy, pg as lc, ph as Uy, pi as Hy, pl as Vy, pm as Yn, pn as Ky, po as Wy, pp as ms, pr as Jn, ps as Zy, pt as Gy, pu as Xy, q as Yy, qa as Jy, qc as Qy, qd as $y, qf as oc, qg as e2, qh as dc, qi as t2, ql as a2, qm as n2, qn as i2, qo as r2, qp as s2, qr as l2, qs as o2, qt as d2, qu as c2, r as u2, r_ as v2, ra as p2, rc as cc, rf as h2, rg as g2, rh as f2, ri as m2, rl as _2, rm as b2, ro as x2, rp as gr, rr as _s, rt as Aa, ru as y2, s as w2, s_ as S2, sa as k2, sc as T2, sd as C2, sf as uc, sg as vc, sh as la, si as E2, sl as Fi, sm as P2, so as pc, sp as I2, ss as Li, st as M2, su as A2, t as z2, t_ as D2, ta as O2, tc as q2, td as R2, tf as N2, tg as F2, th as L2, ti as B2, tl as j2, tm as U2, tn as H2, to as V2, tp as bs, tr as K2, ts as W2, tu as Z2, u as G2, u_ as X2, ua as Y2, uc as J2, ud as Q2, uf as $2, ug as ew, uh as gt, ui as tw, ul as aw, um as nw, un as iw, uo as rw, ur as sw, us as lw, ut as ow, uu as dw, v as cw, v_ as uw, va as xs, vc as ka, vd as vw, vf as pw, vg as hw, vh as gw, vi as fw, vl as mw, vm as _w, vn as Qn, vo as hc, vp as bw, vr as gc, vs as xw, vt as yw, vu as ww, w as Sw, wa as kw, wc as Tw, wd as Cw, wf as Ew, wg as Pw, wh as Iw, wi as Mw, wl as Aw, wm as zw, wo as Dw, wp as Ow, wr as qw, ws as Rw, wt as Nw, wu as fc, x as Fw, xa as Lw, xc as Bw, xd as jw, xf as mc, xg as Uw, xi as Hw, xl as Vw, xm as Kw, xn as Ww, xo as _c, xp as Qe, xr as Zw, xs as Gt, xu as Gw, y as Xw, y_ as Yw, ya as Jw, yc as Qw, yd as $w, yf as e0, yg as t0, yi as a0, yl as n0, ym as i0, yn as bc, yo as ys, yp as r0, yr as xc, ys as s0, yt as l0, yu as o0, z as d0, za as c0, zc as u0, zd as v0, zf as p0, zg as h0, zh as g0, zi as f0, zl as ba, zm as m0, zn as _0, zp as b0, zr as yc, zs as wc, zt as Sc, zu as x0 } from "./transition-overlay-Dvef1UAZ.js";
1
+ import { $ as Vo, $a as Mv, $c as Fn, $d as Av, $f as zv, $g as bi, $h as Dv, $i as Ov, $l as xi, $m as Ko, $n as qv, $o as Rv, $p as Nv, $r as Fv, $s as Wo, $t as yi, $u as wi, A as Lv, Aa as Bv, Ac as jv, Ad as Uv, Ag as Hv, Ah as Vv, Ai as Kv, Al as Wv, Am as Zv, An as Ln, Ao as Zo, Ap as Go, Ar as Gv, As as Vr, At as Xv, Au as Yv, B as Jv, Ba as Qv, Bc as $v, Bd as ep, Bf as tp, Bg as ap, Bh as Kr, Bi as np, Bl as ip, Bm as Ot, Bo as rp, Bp as sp, Br as lp, Bs as op, Bt as dp, Bu as cp, C as up, Ca as vp, Cc as pp, Cd as hp, Cf as gp, Cg as fp, Ci as mp, Cm as Xo, Cn as _p, Co as bp, Cp as xp, Cr as yp, Cs as wp, Ct as Sp, Cu as Bn, D as kp, Da as Tp, Dc as Cp, Dd as Ep, Df as Pp, Dg as Si, Dh as Ip, Di as Mp, Dm as Ap, Dn as zp, Do as Dp, Dp as jn, Dr as Op, Ds as qp, Dt as Rp, Du as Np, E as Fp, Ea as Lp, Ed as At, Ef as Bp, Eg as ki, Eh as jp, Ei as Up, El as Hp, Em as Vp, En as Kp, Eo as Wp, Ep as Zp, Er as Gp, Es as Xp, Et as Yp, Eu as Jp, F as oe, Fa as Qp, Fc as $p, Fd as eh, Ff as th, Fg as ah, Fh as nh, Fi as ih, Fl as rh, Fm as sh, Fn as Yo, Fo as lh, Fp as oh, Fr as dh, Fs as Ja, Ft as ch, Fu as uh, G as vh, Ga as ph, Gc as hh, Gd as nr, Gf as gh, Gg as fh, Gh as Ea, Gi as mh, Gl as _h, Gm as bh, Gn as xh, Go as Jo, Gp as yh, Gr as ia, Gs as wh, Gu as Sh, H as Un, Ha as Qo, Hc as kh, Hd as Ti, Hf as Th, Hg as Wr, Hi as Ch, Hl as Eh, Hm as Ph, Hn as Ih, Ho as Zr, Hp as Mh, Hr as Ah, Hs as zh, Ht as Dh, Hu as Oh, I as qh, Ia as Rh, Ic as Nh, Id as Fh, If as Lh, Ig as Ci, Ih as Bh, Ii as $o, Im as jh, In as Uh, Io as Gr, Ip as Hh, Ir as Vh, Is as Kh, It as Wh, Iu as Zh, J as Gh, Ja as Xh, Jc as Yh, Jd as Jh, Jf as Qa, Jg as Qh, Jh as ed, Ji as td, Jl as Xr, Jm as $h, Jn as eg, Jo as tg, Jp as ag, Jr as ng, Js as ig, Jt as rg, Ju as sg, K as lg, Ka as ad, Kc as Yr, Kf as og, Kg as dg, Kh as cg, Ki as ug, Kl as vg, Km as pg, Kn as hg, Ko as gg, Kp as fg, Kr as mg, Ks as Jr, Kt as _g, Ku as bg, L as xg, La as Qr, Lc as nd, Ld as yg, Lf as wg, Lg as Sg, Lh as kg, Li as Tg, Lm as id, Ln as $r, Lo as Cg, Lp as Eg, Lr as Pg, Ls as rd, Lt as sd, Lu as Ig, M as Mg, Ma as Ag, Mc as zg, Md as ir, Mf as Dg, Mg as ld, Mh as Og, Mi as qg, Ml as Rg, Mm as Ng, Mn as Fg, Mo as Lg, Mp as Bg, Mr as jg, Ms as Ug, Mt as Hg, Mu as Vg, N as Kg, Na as Wg, Nd as Zg, Nf as Gg, Ng as tt, Nh as Xg, Ni as Yg, Nl as Jg, Nm as Qg, Nn as $g, No as ef, Np as tf, Nr as af, Ns as nf, Nt as rf, Nu as sf, O as rr, Oa as lf, Oc as of, Od as df, Of as cf, Og as uf, Oh as vf, Oi as sr, Ol as es, Om as pf, On as hf, Oo as gf, Op as ff, Or as mf, Os as _f, Ot as bf, Ou as xf, P as yf, Pa as ts, Pc as wf, Pd as Ei, Pf as Pa, Pg as Fe, Ph as Sf, Pi as kf, Pl as Tf, Pm as od, Pn as Ht, Po as Cf, Pp as Ef, Pr as Pf, Ps as If, Pt as as, Pu as Mf, Q as Af, Qa as dd, Qc as cd, Qd as zf, Qf as Df, Qg as Of, Qh as Hn, Qi as qf, Ql as Rf, Qm as Nf, Qn as Ff, Qo as ud, Qp as Lf, Qr as Bf, Qs as jf, Qt as Uf, Qu as Hf, R as Vf, Ra as Kf, Rc as Pi, Rd as Wf, Rf as Zf, Rg as Ii, Rh as Gf, Ri as Xf, Rl as vd, Rm as Yf, Rn as ns, Ro as Mi, Rp as Jf, Rr as Qf, Rs as $f, Rt as pd, Ru as hd, S as em, Sa as dt, Sc as gd, Sd as tm, Sf as am, Sg as nm, Sh as im, Si as rm, Sl as sm, Sm as fd, Sn as lm, So as om, Sp as dm, Sr as cm, Ss as md, St as um, Su as vm, T as _t, Ta as pm, Tc as hm, Td as is, Tf as gm, Tg as fm, Th as mm, Ti as _m, Tl as bm, Tm as xm, Tn as ym, To as wm, Tp as Sm, Tr as km, Ts as Tm, Tt as Cm, Tu as lr, U as Em, Ua as Pm, Uc as Im, Ud as Mm, Uf as Am, Ug as _d, Uh as Vn, Ui as zm, Ul as Dm, Um as Om, Un as qm, Uo as Rm, Up as Nm, Ur as Fm, Us as bd, Uu as rs, V as Lm, Va as ss, Vc as xd, Vd as Bm, Vf as jm, Vg as Um, Vi as Hm, Vl as Vm, Vm as Km, Vn as Wm, Vo as ls, Vp as Zm, Vr as Gm, Vs as Xm, Vt as os, Vu as or, W as Ym, Wa as Jm, Wc as Qm, Wd as $m, Wg as e_, Wh as t_, Wi as a_, Wl as qt, Wm as n_, Wn as i_, Wo as r_, Wp as s_, Wr as l_, Ws as yd, Wt as o_, Wu as d_, X as c_, Xa as u_, Xc as v_, Xd as p_, Xf as h_, Xg as g_, Xh as wd, Xi as f_, Xl as m_, Xm as __, Xn as b_, Xo as Sd, Xp as x_, Xr as kd, Xs as y_, Xt as Td, Xu as Kn, Y as w_, Ya as S_, Yc as k_, Yd as T_, Yg as C_, Yh as E_, Yi as P_, Yl as I_, Ym as M_, Yn as A_, Yo as z_, Yp as D_, Yr as O_, Ys as q_, Yt as R_, Yu as N_, Z as F_, Za as L_, Zc as Cd, Zd as B_, Zf as j_, Zg as Ed, Zh as Pd, Zi as vn, Zl as Id, Zm as U_, Zn as H_, Zo as V_, Zp as K_, Zr as W_, Zs as Ai, Zt as Wn, Zu as Z_, _ as G_, __ as Md, _a as X_, _c as Ad, _d as Y_, _f as J_, _g as Q_, _h as $_, _i as eb, _l as ra, _m as Ia, _n as wt, _o as zd, _p as ds, _r as tb, _s as ab, _t as cs, _u as nb, a as ib, a_ as rb, aa as sb, ac as lb, ad as Dd, af as dr, ag as ob, ah as Zn, ai as db, al as cb, am as Od, an as ub, ao as vb, ap as pb, ar as hb, as as gb, at as fb, au as mb, b as _b, b_ as $a, ba as bb, bc as qd, bd as xb, bf as Rd, bg as Nd, bh as yb, bi as wb, bl as Sb, bm as kb, bn as zi, bo as Tb, bp as Cb, br as Eb, bs as Pb, bt as Ib, bu as Mb, c as Ab, c_ as zb, ca as Db, cc as Ob, cd as qb, cf as Rb, cg as Fd, ch as Ft, ci as Nb, cl as Di, cm as Fb, cn as Lb, co as Bb, cp as Ld, cs as jb, ct as Ub, cu as Hb, d as Vb, d_ as Kb, da as Wb, dc as us, dd as Zb, df as Gb, dg as Xb, dh as Yb, di as Jb, dl as Qb, dm as $b, dn as Gn, do as ex, dp as tx, dr as ax, dt as vs, du as Bd, e_ as jd, ea as nx, ed as ix, ef as rx, eg as Ud, eh as sx, ei as lx, el as ox, em as dx, en as cx, eo as ux, ep as vx, er as px, es as hx, et as gx, eu as fx, f as mx, f_ as _x, fa as Hd, fc as bx, fd as xx, ff as yx, fg as wx, fh as ps, fi as Sx, fl as kx, fm as Tx, fo as Cx, fp as Ex, fr as Px, fs as hs, fu as Ix, g as Mx, g_ as Ax, ga as zx, gc as Dx, gd as Ox, gf as qx, gg as Rx, gh as Nx, gi as Fx, gl as Vd, gm as Lx, gn as Bx, go as jx, gp as Ux, gs as Hx, gt as Vx, gu as Kx, h as Wx, h_ as Kd, ha as Zx, hd as Gx, hf as Xx, hg as Wd, hh as Yx, hi as Jx, hl as Qx, hm as $x, hn as Ma, ho as e1, hp as Oi, hr as t1, hs as a1, hu as Zd, i as Gd, i_ as qi, ia as Xd, ic as cr, id as n1, if as ur, ig as Yd, ih as i1, ii as r1, il as vr, im as s1, io as l1, ip as o1, ir as d1, it as c1, iu as u1, j as Rt, ja as v1, jc as p1, jd as h1, jf as g1, jg as f1, jh as m1, ji as _1, jl as b1, jm as x1, jn as gs, jo as Jd, jp as y1, jr as Qd, js as w1, jt as S1, ju as k1, k as $d, ka as ec, kc as T1, kd as C1, kg as Ri, kh as E1, ki as P1, kl as I1, km as M1, kn as A1, ko as z1, kp as D1, kr as O1, ks as q1, kt as R1, ku as N1, l as F1, l_ as L1, la as B1, lc as j1, ld as U1, lf as H1, lg as tc, lh as sa, li as V1, ll as nt, lm as K1, ln as W1, lo as Z1, lp as G1, lr as X1, ls as Y1, lu as J1, m as Q1, m_ as $1, ma as ey, mc as ty, md as ay, mf as ny, mg as ac, mh as iy, mi as ry, ml as sy, mm as ly, mn as pr, mo as nc, mp as oy, mr as dy, ms as cy, mt as uy, mu as Ni, n as lt, n_ as vy, na as py, nc as hr, nd as hy, nf as gy, ng as fy, nh as my, ni as ic, nl as _y, nm as by, no as rc, nr as xy, ns as yy, nt as wy, nu as Sy, o as ky, o_ as Ty, oa as Cy, oc as sc, od as fs, of as Ey, og as Py, oh as Xn, oi as Iy, ol as My, om as Ay, on as zy, oo as Dy, ot as Oy, ou as qy, p as Ry, p_ as Ny, pa as Fy, pc as Ly, pd as By, pf as jy, pg as lc, ph as Uy, pi as Hy, pl as Vy, pm as Yn, pn as Ky, po as Wy, pp as ms, pr as Jn, ps as Zy, pt as Gy, pu as Xy, q as Yy, qa as Jy, qc as Qy, qd as $y, qf as oc, qg as e2, qh as dc, qi as t2, ql as a2, qm as n2, qn as i2, qo as r2, qp as s2, qr as l2, qs as o2, qt as d2, qu as c2, r as u2, r_ as v2, ra as p2, rc as cc, rf as h2, rg as g2, rh as f2, ri as m2, rl as _2, rm as b2, ro as x2, rp as gr, rr as _s, rt as Aa, ru as y2, s as w2, s_ as S2, sa as k2, sc as T2, sd as C2, sf as uc, sg as vc, sh as la, si as E2, sl as Fi, sm as P2, so as pc, sp as I2, ss as Li, st as M2, su as A2, t as z2, t_ as D2, ta as O2, tc as q2, td as R2, tf as N2, tg as F2, th as L2, ti as B2, tl as j2, tm as U2, tn as H2, to as V2, tp as bs, tr as K2, ts as W2, tu as Z2, u as G2, u_ as X2, ua as Y2, uc as J2, ud as Q2, uf as $2, ug as ew, uh as gt, ui as tw, ul as aw, um as nw, un as iw, uo as rw, ur as sw, us as lw, ut as ow, uu as dw, v as cw, v_ as uw, va as xs, vc as ka, vd as vw, vf as pw, vg as hw, vh as gw, vi as fw, vl as mw, vm as _w, vn as Qn, vo as hc, vp as bw, vr as gc, vs as xw, vt as yw, vu as ww, w as Sw, wa as kw, wc as Tw, wd as Cw, wf as Ew, wg as Pw, wh as Iw, wi as Mw, wl as Aw, wm as zw, wo as Dw, wp as Ow, wr as qw, ws as Rw, wt as Nw, wu as fc, x as Fw, xa as Lw, xc as Bw, xd as jw, xf as mc, xg as Uw, xi as Hw, xl as Vw, xm as Kw, xn as Ww, xo as _c, xp as Qe, xr as Zw, xs as Gt, xu as Gw, y as Xw, y_ as Yw, ya as Jw, yc as Qw, yd as $w, yf as e0, yg as t0, yi as a0, yl as n0, ym as i0, yn as bc, yo as ys, yp as r0, yr as xc, ys as s0, yt as l0, yu as o0, z as d0, za as c0, zc as u0, zd as v0, zf as p0, zg as h0, zh as g0, zi as f0, zl as ba, zm as m0, zn as _0, zp as b0, zr as yc, zs as wc, zt as Sc, zu as x0 } from "./transition-overlay-CPN-2tva.js";
2
2
  import { n as y0, o as w0, t as S0 } from "./translator-D7duxy6A.js";
3
3
  import "svelte/internal/disclose-version";
4
4
  import * as e from "svelte/internal/client";
@@ -18,7 +18,7 @@ function E0() {
18
18
  var P0 = e.from_html('<div class="pptx-svelte-ai-dock svelte-1h57n9l"><!></div>');
19
19
  function I0(a, t) {
20
20
  var n = P0(), i = e.child(n);
21
- e.await(i, () => import("./AiChatPanel-B3SDtN1C.js"), null, (r, s) => {
21
+ e.await(i, () => import("./AiChatPanel-MJd0wjii.js"), null, (r, s) => {
22
22
  var l = e.derived(() => {
23
23
  var { default: u } = e.get(s);
24
24
  return { AiChatPanel: u };
@@ -1367,10 +1367,10 @@ function sk(a, t, n, i) {
1367
1367
  var Cs = 400, Es = 40, lk = class {
1368
1368
  #e;
1369
1369
  #t;
1370
- #a;
1370
+ #n;
1371
1371
  #i;
1372
1372
  #r;
1373
- #n;
1373
+ #a;
1374
1374
  #s;
1375
1375
  #l;
1376
1376
  #o;
@@ -1410,12 +1410,12 @@ var Cs = 400, Es = 40, lk = class {
1410
1410
  },
1411
1411
  getEditingId: () => this.editingId
1412
1412
  };
1413
- this.#a = WS(n), this.#i = GS(n), this.#r = XS(n), this.#n = YS(n), this.#s = ZS(n), this.#l = JS({
1413
+ this.#n = WS(n), this.#i = GS(n), this.#r = XS(n), this.#a = YS(n), this.#s = ZS(n), this.#l = JS({
1414
1414
  getSelectedId: () => a.selectedElementId,
1415
1415
  getSelectedElement: () => a.selectedElement,
1416
1416
  getInteractivity: () => this.interactivity,
1417
- gestures: this.#a,
1418
- beginCollectiveTransform: (i, r, s) => this.#n.beginTransform(i, r, s),
1417
+ gestures: this.#n,
1418
+ beginCollectiveTransform: (i, r, s) => this.#a.beginTransform(i, r, s),
1419
1419
  adjust: this.#s
1420
1420
  });
1421
1421
  }
@@ -1452,7 +1452,7 @@ var Cs = 400, Es = 40, lk = class {
1452
1452
  const t = bs(a.target, this.#t.getStageRoot()), n = t && this.#e.isElementInteractive(t) ? t : void 0;
1453
1453
  if (!(a.pointerType !== "mouse" && this.#_(a, n))) {
1454
1454
  if (!n) {
1455
- this.#e.formatPainter.cancel(), this.#n.beginMarquee(a);
1455
+ this.#e.formatPainter.cancel(), this.#a.beginMarquee(a);
1456
1456
  return;
1457
1457
  }
1458
1458
  if (sk(this.#e, n, a.target, a.shiftKey)) {
@@ -1463,7 +1463,7 @@ var Cs = 400, Es = 40, lk = class {
1463
1463
  this.#e.selection.toggle(n);
1464
1464
  return;
1465
1465
  }
1466
- this.#e.formatPainter.applyTo(n) || (this.#e.selection.has(n) || this.#e.select(n), tk(this.#e.elementById(n)) && (this.#n.beginTransform("move", a) || (a.preventDefault(), a.stopPropagation(), this.#a.begin("move", n, a))));
1466
+ this.#e.formatPainter.applyTo(n) || (this.#e.selection.has(n) || this.#e.select(n), tk(this.#e.elementById(n)) && (this.#a.beginTransform("move", a) || (a.preventDefault(), a.stopPropagation(), this.#n.begin("move", n, a))));
1467
1467
  }
1468
1468
  };
1469
1469
  onStagePointerMove = (a) => {
@@ -1485,7 +1485,7 @@ var Cs = 400, Es = 40, lk = class {
1485
1485
  onRotatePointerDown = (a) => this.#l.onRotatePointerDown(a);
1486
1486
  onAdjustPointerDown = (a, t) => this.#l.onAdjustPointerDown(a, t);
1487
1487
  hasActivePointerInteraction() {
1488
- return this.#a.isActive() || this.#i.isActive() || this.#n.isActive() || this.#s.isActive() || this.connectorEndpointDrag !== null;
1488
+ return this.#n.isActive() || this.#i.isActive() || this.#a.isActive() || this.#s.isActive() || this.connectorEndpointDrag !== null;
1489
1489
  }
1490
1490
  #f = e.state(null);
1491
1491
  get connectorEndpointDrag() {
@@ -1636,7 +1636,7 @@ var Cs = 400, Es = 40, lk = class {
1636
1636
  this.#o = void 0, this.#e.inlineListController = void 0, this.#e.cancelInlineListEdit = void 0, this.#e.readPendingInlineTextEdit = void 0, this.editingId = null;
1637
1637
  }
1638
1638
  destroy() {
1639
- this.#e.cancelInlineListEdit?.(), this.#e.cancelInlineListEdit = void 0, this.#e.inlineListController = void 0, this.#e.readPendingInlineTextEdit = void 0, this.#a.dispose(), this.#n.dispose(), this.#i.dispose(), this.#s.dispose();
1639
+ this.#e.cancelInlineListEdit?.(), this.#e.cancelInlineListEdit = void 0, this.#e.inlineListController = void 0, this.#e.readPendingInlineTextEdit = void 0, this.#n.dispose(), this.#a.dispose(), this.#i.dispose(), this.#s.dispose();
1640
1640
  }
1641
1641
  }, ok = class {
1642
1642
  #e;
@@ -2165,16 +2165,16 @@ var Pk = 800, Ik = class {
2165
2165
  var zk = class {
2166
2166
  #e = new as({ maxDepth: 100 });
2167
2167
  #t = 100;
2168
- #a = e.state(!1);
2168
+ #n = e.state(!1);
2169
2169
  #i = e.state(!1);
2170
2170
  get canUndo() {
2171
- return e.get(this.#a);
2171
+ return e.get(this.#n);
2172
2172
  }
2173
2173
  get canRedo() {
2174
2174
  return e.get(this.#i);
2175
2175
  }
2176
2176
  sync() {
2177
- e.set(this.#a, this.#e.canUndo, !0), e.set(this.#i, this.#e.canRedo, !0);
2177
+ e.set(this.#n, this.#e.canUndo, !0), e.set(this.#i, this.#e.canRedo, !0);
2178
2178
  }
2179
2179
  setDepth(a) {
2180
2180
  a !== this.#t && (this.#t = a, this.#e = new as({ maxDepth: a }), this.sync());
@@ -2207,12 +2207,12 @@ var Ok = "#000000", qk = 3, Rk = class {
2207
2207
  set tool(a) {
2208
2208
  e.set(this.#t, a, !0);
2209
2209
  }
2210
- #a = e.state(Ok);
2210
+ #n = e.state(Ok);
2211
2211
  get color() {
2212
- return e.get(this.#a);
2212
+ return e.get(this.#n);
2213
2213
  }
2214
2214
  set color(a) {
2215
- e.set(this.#a, a, !0);
2215
+ e.set(this.#n, a, !0);
2216
2216
  }
2217
2217
  #i = e.state(qk);
2218
2218
  get width() {
@@ -2228,12 +2228,12 @@ var Ok = "#000000", qk = 3, Rk = class {
2228
2228
  set livePathD(a) {
2229
2229
  e.set(this.#r, a, !0);
2230
2230
  }
2231
- #n = e.state(null);
2231
+ #a = e.state(null);
2232
2232
  get liveStrokeView() {
2233
- return e.get(this.#n);
2233
+ return e.get(this.#a);
2234
2234
  }
2235
2235
  set liveStrokeView(a) {
2236
- e.set(this.#n, a, !0);
2236
+ e.set(this.#a, a, !0);
2237
2237
  }
2238
2238
  constructor(a) {
2239
2239
  this.#e = a;
@@ -2408,12 +2408,12 @@ var Lk = class {
2408
2408
  set presentationProperties(t) {
2409
2409
  e.set(this.#t, t);
2410
2410
  }
2411
- #a = e.state([]);
2411
+ #n = e.state([]);
2412
2412
  get customShows() {
2413
- return e.get(this.#a);
2413
+ return e.get(this.#n);
2414
2414
  }
2415
2415
  set customShows(t) {
2416
- e.set(this.#a, t);
2416
+ e.set(this.#n, t);
2417
2417
  }
2418
2418
  constructor(t) {
2419
2419
  this.host = t;
@@ -2758,12 +2758,12 @@ var Xk = class {
2758
2758
  set anchor(a) {
2759
2759
  e.set(this.#t, a);
2760
2760
  }
2761
- #a = e.state(null);
2761
+ #n = e.state(null);
2762
2762
  get rect() {
2763
- return e.get(this.#a);
2763
+ return e.get(this.#n);
2764
2764
  }
2765
2765
  set rect(a) {
2766
- e.set(this.#a, a);
2766
+ e.set(this.#n, a);
2767
2767
  }
2768
2768
  get cells() {
2769
2769
  return this.rect ? ep(this.rect) : [];
@@ -2817,12 +2817,12 @@ var Xk = class {
2817
2817
  set templateElementsBySlideId(a) {
2818
2818
  e.set(this.#t, a);
2819
2819
  }
2820
- #a = e.state([]);
2820
+ #n = e.state([]);
2821
2821
  get slideMasters() {
2822
- return e.get(this.#a);
2822
+ return e.get(this.#n);
2823
2823
  }
2824
2824
  set slideMasters(a) {
2825
- e.set(this.#a, a);
2825
+ e.set(this.#n, a);
2826
2826
  }
2827
2827
  #i = e.state(void 0);
2828
2828
  get notesMaster() {
@@ -2838,12 +2838,12 @@ var Xk = class {
2838
2838
  set handoutMaster(a) {
2839
2839
  e.set(this.#r, a);
2840
2840
  }
2841
- #n = e.state([]);
2841
+ #a = e.state([]);
2842
2842
  get sections() {
2843
- return e.get(this.#n);
2843
+ return e.get(this.#a);
2844
2844
  }
2845
2845
  set sections(a) {
2846
- e.set(this.#n, a);
2846
+ e.set(this.#a, a);
2847
2847
  }
2848
2848
  presentationMetadata = new Bk(this);
2849
2849
  #s = e.state(void 0);
@@ -3172,12 +3172,12 @@ var Xk = class {
3172
3172
  set query(a) {
3173
3173
  e.set(this.#t, a, !0);
3174
3174
  }
3175
- #a = e.state("");
3175
+ #n = e.state("");
3176
3176
  get replacement() {
3177
- return e.get(this.#a);
3177
+ return e.get(this.#n);
3178
3178
  }
3179
3179
  set replacement(a) {
3180
- e.set(this.#a, a, !0);
3180
+ e.set(this.#n, a, !0);
3181
3181
  }
3182
3182
  #i = e.state(!1);
3183
3183
  get matchCase() {
@@ -3193,12 +3193,12 @@ var Xk = class {
3193
3193
  set results(a) {
3194
3194
  e.set(this.#r, a);
3195
3195
  }
3196
- #n = e.state(0);
3196
+ #a = e.state(0);
3197
3197
  get index() {
3198
- return e.get(this.#n);
3198
+ return e.get(this.#a);
3199
3199
  }
3200
3200
  set index(a) {
3201
- e.set(this.#n, a, !0);
3201
+ e.set(this.#a, a, !0);
3202
3202
  }
3203
3203
  #s;
3204
3204
  constructor(a) {
@@ -3765,7 +3765,7 @@ var qs = class {
3765
3765
  set mentions(a) {
3766
3766
  e.set(this.#t, a, !0);
3767
3767
  }
3768
- #a = e.state(0);
3768
+ #n = e.state(0);
3769
3769
  #i = e.state(null);
3770
3770
  #r = e.state(0);
3771
3771
  get highlightIndex() {
@@ -3775,17 +3775,17 @@ var qs = class {
3775
3775
  e.set(this.#r, a, !0);
3776
3776
  }
3777
3777
  get query() {
3778
- return e.get(this.#i) === e.get(this.#a) ? null : x2(this.text, e.get(this.#a))?.query ?? null;
3778
+ return e.get(this.#i) === e.get(this.#n) ? null : x2(this.text, e.get(this.#n))?.query ?? null;
3779
3779
  }
3780
3780
  suggestions(a) {
3781
3781
  const t = this.query;
3782
3782
  return t === null ? [] : Rf([...a], t);
3783
3783
  }
3784
3784
  reset() {
3785
- this.text = "", this.mentions = [], e.set(this.#a, 0), e.set(this.#i, null), this.highlightIndex = 0;
3785
+ this.text = "", this.mentions = [], e.set(this.#n, 0), e.set(this.#i, null), this.highlightIndex = 0;
3786
3786
  }
3787
3787
  onInput(a, t) {
3788
- this.text = a, e.set(this.#a, t, !0), e.set(this.#i, null), this.highlightIndex = 0;
3788
+ this.text = a, e.set(this.#n, t, !0), e.set(this.#i, null), this.highlightIndex = 0;
3789
3789
  }
3790
3790
  onKeydown(a, t) {
3791
3791
  const n = this.suggestions(t);
@@ -3801,11 +3801,11 @@ var qs = class {
3801
3801
  caret: this.accept(i)
3802
3802
  };
3803
3803
  }
3804
- return a.key === "Escape" ? (e.set(this.#i, e.get(this.#a), !0), { consumed: !0 }) : { consumed: !1 };
3804
+ return a.key === "Escape" ? (e.set(this.#i, e.get(this.#n), !0), { consumed: !0 }) : { consumed: !1 };
3805
3805
  }
3806
3806
  accept(a) {
3807
- const t = cb(this.text, this.mentions, e.get(this.#a), a);
3808
- return this.text = t.text, this.mentions = t.mentions, e.set(this.#a, t.caret, !0), e.set(this.#i, null), this.highlightIndex = 0, t.caret;
3807
+ const t = cb(this.text, this.mentions, e.get(this.#n), a);
3808
+ return this.text = t.text, this.mentions = t.mentions, e.set(this.#n, t.caret, !0), e.set(this.#i, null), this.highlightIndex = 0, t.caret;
3809
3809
  }
3810
3810
  }, HT = e.from_html('<li class="svelte-1ryl98f"><button type="button" role="option" data-testid="pptx-comment-mention-option"> </button></li>'), VT = e.from_html('<ul class="pptx-svelte-comment-mentions svelte-1ryl98f" role="listbox" data-testid="pptx-comment-mention-suggestions"></ul>');
3811
3811
  function Rs(a, t) {
@@ -7515,12 +7515,12 @@ e.delegate(["change"]);
7515
7515
  var ni = "Calibri Light", ii = "Calibri", ZI = class {
7516
7516
  #e;
7517
7517
  #t;
7518
- #a = e.state(e.proxy(zi[0].colorScheme));
7518
+ #n = e.state(e.proxy(zi[0].colorScheme));
7519
7519
  get colors() {
7520
- return e.get(this.#a);
7520
+ return e.get(this.#n);
7521
7521
  }
7522
7522
  set colors(a) {
7523
- e.set(this.#a, a, !0);
7523
+ e.set(this.#n, a, !0);
7524
7524
  }
7525
7525
  #i = e.state(ni);
7526
7526
  get majorFont() {
@@ -7536,12 +7536,12 @@ var ni = "Calibri Light", ii = "Calibri", ZI = class {
7536
7536
  set minorFont(a) {
7537
7537
  e.set(this.#r, a, !0);
7538
7538
  }
7539
- #n = e.state("Custom Theme");
7539
+ #a = e.state("Custom Theme");
7540
7540
  get name() {
7541
- return e.get(this.#n);
7541
+ return e.get(this.#a);
7542
7542
  }
7543
7543
  set name(a) {
7544
- e.set(this.#n, a, !0);
7544
+ e.set(this.#a, a, !0);
7545
7545
  }
7546
7546
  #s = e.state(null);
7547
7547
  get activePickerKey() {
@@ -11110,18 +11110,18 @@ var $c = class {
11110
11110
  set elapsedMs(a) {
11111
11111
  e.set(this.#t, a, !0);
11112
11112
  }
11113
- #a = e.state(null);
11113
+ #n = e.state(null);
11114
11114
  get palette() {
11115
- return e.get(this.#a);
11115
+ return e.get(this.#n);
11116
11116
  }
11117
11117
  set palette(a) {
11118
- e.set(this.#a, a, !0);
11118
+ e.set(this.#n, a, !0);
11119
11119
  }
11120
11120
  #i = null;
11121
11121
  #r = !1;
11122
- #n = Date.now();
11122
+ #a = Date.now();
11123
11123
  attach(a) {
11124
- this.#n = Date.now(), this.elapsedMs = 0;
11124
+ this.#a = Date.now(), this.elapsedMs = 0;
11125
11125
  const t = (r) => {
11126
11126
  if (a.popupToolbarEnabled?.() === !1) return;
11127
11127
  const s = a.getContainer();
@@ -11137,7 +11137,7 @@ var $c = class {
11137
11137
  const s = a.getToolbar();
11138
11138
  s && !s.contains(r.target) && (this.palette = null);
11139
11139
  }, i = window.setInterval(() => {
11140
- this.elapsedMs = Date.now() - this.#n;
11140
+ this.elapsedMs = Date.now() - this.#a;
11141
11141
  }, 1e3);
11142
11142
  return document.addEventListener("mousemove", t), document.addEventListener("mousedown", n), () => {
11143
11143
  document.removeEventListener("mousemove", t), document.removeEventListener("mousedown", n), window.clearInterval(i), this.#l();
@@ -13901,7 +13901,7 @@ function Q6(a, t) {
13901
13901
  var $6 = e.from_html('<button type="button"></button>'), vl = e.from_html('<p class="svelte-dgy1er"> </p>'), ez = e.from_html('<p class="notice svelte-dgy1er"> </p>'), tz = e.from_html('<p class="svelte-dgy1er"> </p> <button type="button" class="primary svelte-dgy1er"> </button>', 1), az = e.from_html('<section class="card svelte-dgy1er"><h2 class="svelte-dgy1er"> </h2> <!></section>'), nz = e.from_html('<div class="pptx-svelte-account svelte-dgy1er"><section class="card svelte-dgy1er"><h2 class="svelte-dgy1er"> </h2> <div class="profile-row svelte-dgy1er"><span class="avatar svelte-dgy1er"> </span> <label class="name-field svelte-dgy1er"><span> </span> <input type="text" class="svelte-dgy1er"/></label></div> <span class="swatches-label svelte-dgy1er"> </span> <div class="swatch-row svelte-dgy1er" role="group"></div></section> <section class="card svelte-dgy1er"><h2 class="svelte-dgy1er"> </h2> <!> <button type="button" class="secondary svelte-dgy1er"> </button> <!> <p class="muted svelte-dgy1er"> </p></section> <section class="card svelte-dgy1er"><h2 class="svelte-dgy1er"> </h2> <p class="svelte-dgy1er">pptx-svelte-viewer</p> <p class="muted svelte-dgy1er"> </p></section> <!></div>');
13902
13902
  function iz(a, t) {
13903
13903
  e.push(t, !0);
13904
- const n = oe(), i = "4.0.0";
13904
+ const n = oe(), i = "4.1.1";
13905
13905
  let r = e.state(e.proxy(Ei().profile ?? { ...cs })), s = e.state(void 0), l = e.state(!1);
13906
13906
  async function o() {
13907
13907
  e.set(s, await Tw(), !0);
@@ -22176,17 +22176,17 @@ function f9(a, t) {
22176
22176
  var m9 = class {
22177
22177
  #e = e.state(e.proxy(/* @__PURE__ */ new Map()));
22178
22178
  #t = e.state("");
22179
- #a = e.state(e.proxy(/* @__PURE__ */ new Set()));
22179
+ #n = e.state(e.proxy(/* @__PURE__ */ new Set()));
22180
22180
  #i = e.state(e.proxy(/* @__PURE__ */ new Set()));
22181
22181
  #r = e.state(!0);
22182
- #n;
22182
+ #a;
22183
22183
  #s = null;
22184
22184
  #l = [];
22185
22185
  #o = { current: null };
22186
22186
  #d = z1();
22187
22187
  #c;
22188
22188
  constructor(a) {
22189
- this.#n = a, this.#c = {
22189
+ this.#a = a, this.#c = {
22190
22190
  setStates: (t) => {
22191
22191
  e.set(this.#e, t(e.get(this.#e)), !0);
22192
22192
  },
@@ -22205,7 +22205,7 @@ var m9 = class {
22205
22205
  return e.get(this.#t);
22206
22206
  }
22207
22207
  get interactiveTriggerShapeIds() {
22208
- return e.get(this.#a);
22208
+ return e.get(this.#n);
22209
22209
  }
22210
22210
  get hoverTriggerShapeIds() {
22211
22211
  return e.get(this.#i);
@@ -22214,7 +22214,7 @@ var m9 = class {
22214
22214
  return e.get(this.#r);
22215
22215
  }
22216
22216
  #p() {
22217
- return this.#n.getShowWithAnimation?.() !== !1;
22217
+ return this.#a.getShowWithAnimation?.() !== !1;
22218
22218
  }
22219
22219
  #u() {
22220
22220
  e.set(this.#r, !this.#s || !this.#s.hasMoreSteps(), !0);
@@ -22228,18 +22228,18 @@ var m9 = class {
22228
22228
  }
22229
22229
  reset(a) {
22230
22230
  this.clearTimers(), this.#v = !1;
22231
- const t = this.#n.getSlide();
22231
+ const t = this.#a.getSlide();
22232
22232
  if (!t || !this.#p()) {
22233
- this.#s = null, this.#c.mediaTimeNodeElementIds = /* @__PURE__ */ new Map(), e.set(this.#e, /* @__PURE__ */ new Map(), !0), e.set(this.#t, ""), e.set(this.#a, /* @__PURE__ */ new Set(), !0), e.set(this.#i, /* @__PURE__ */ new Set(), !0), e.set(this.#r, !0);
22233
+ this.#s = null, this.#c.mediaTimeNodeElementIds = /* @__PURE__ */ new Map(), e.set(this.#e, /* @__PURE__ */ new Map(), !0), e.set(this.#t, ""), e.set(this.#n, /* @__PURE__ */ new Set(), !0), e.set(this.#i, /* @__PURE__ */ new Set(), !0), e.set(this.#r, !0);
22234
22234
  return;
22235
22235
  }
22236
- const n = this.#n.getCanvasSize?.(), i = Ww.fromSlide(t, {
22236
+ const n = this.#a.getCanvasSize?.(), i = Ww.fromSlide(t, {
22237
22237
  slideHeightPx: n?.height,
22238
22238
  slideWidthPx: n?.width,
22239
- themeColorMap: this.#n.getThemeColorMap?.(),
22240
- pixelateMosaic: this.#n.getPixelateMosaicAnimation?.()
22239
+ themeColorMap: this.#a.getThemeColorMap?.(),
22240
+ pixelateMosaic: this.#a.getPixelateMosaicAnimation?.()
22241
22241
  });
22242
- if (this.#s = i, this.#c.mediaTimeNodeElementIds = tp(t.nativeAnimations ?? []), e.set(this.#t, i.keyframesCss, !0), e.set(this.#a, i.interactiveTriggerShapeIds, !0), e.set(this.#i, i.hoverTriggerShapeIds, !0), e.set(this.#e, i.computeStates(), !0), this.#u(), a?.completed) {
22242
+ if (this.#s = i, this.#c.mediaTimeNodeElementIds = tp(t.nativeAnimations ?? []), e.set(this.#t, i.keyframesCss, !0), e.set(this.#n, i.interactiveTriggerShapeIds, !0), e.set(this.#i, i.hoverTriggerShapeIds, !0), e.set(this.#e, i.computeStates(), !0), this.#u(), a?.completed) {
22243
22243
  this.#v = i.hasMoreSteps(), i.completeAll(), e.set(this.#e, i.computeStates(), !0), this.#u();
22244
22244
  return;
22245
22245
  }
@@ -22345,12 +22345,12 @@ var y9 = class {
22345
22345
  playback;
22346
22346
  #e = e.state(null);
22347
22347
  #t = e.state(!1);
22348
- #a = e.state(e.proxy([]));
22348
+ #n = e.state(e.proxy([]));
22349
22349
  #i = null;
22350
22350
  #r;
22351
- #n;
22351
+ #a;
22352
22352
  constructor(a) {
22353
- this.#n = a, this.playback = new m9({
22353
+ this.#a = a, this.playback = new m9({
22354
22354
  getSlide: () => this.#s(),
22355
22355
  getShowWithAnimation: a.getShowWithAnimation,
22356
22356
  onPlayActionSound: a.onPlayActionSound,
@@ -22361,7 +22361,7 @@ var y9 = class {
22361
22361
  });
22362
22362
  }
22363
22363
  #s() {
22364
- return this.#n.getSlides()[this.#n.getCurrentIndex()];
22364
+ return this.#a.getSlides()[this.#a.getCurrentIndex()];
22365
22365
  }
22366
22366
  #l = null;
22367
22367
  #o(a) {
@@ -22380,7 +22380,7 @@ var y9 = class {
22380
22380
  this.#l && (ia(this.#l, os), this.#l = null);
22381
22381
  }
22382
22382
  #d() {
22383
- return oc(this.#n.getSlides(), this.#n.getActiveCustomShow?.(), this.#n.getAuthoredRange?.());
22383
+ return oc(this.#a.getSlides(), this.#a.getActiveCustomShow?.(), this.#a.getAuthoredRange?.());
22384
22384
  }
22385
22385
  get endOfShowVisible() {
22386
22386
  return e.get(this.#t);
@@ -22389,10 +22389,10 @@ var y9 = class {
22389
22389
  return e.get(this.#e);
22390
22390
  }
22391
22391
  get runProgramNotices() {
22392
- return e.get(this.#a);
22392
+ return e.get(this.#n);
22393
22393
  }
22394
22394
  dismissRunProgramNotice(a) {
22395
- e.set(this.#a, e.get(this.#a).filter((t) => t.id !== a), !0);
22395
+ e.set(this.#n, e.get(this.#n).filter((t) => t.id !== a), !0);
22396
22396
  }
22397
22397
  get elementStates() {
22398
22398
  return this.playback.elementStates;
@@ -22416,59 +22416,59 @@ var y9 = class {
22416
22416
  this.playback.handleHoverEnd(a);
22417
22417
  }
22418
22418
  handleStageClick(a) {
22419
- this.#o(a), Im(a, this.#s(), { slideCount: this.#n.getSlides().length }, {
22420
- goToSlide: (t) => this.#n.navigate(t),
22419
+ this.#o(a), Im(a, this.#s(), { slideCount: this.#a.getSlides().length }, {
22420
+ goToSlide: (t) => this.#a.navigate(t),
22421
22421
  move: (t) => {
22422
22422
  t > 0 ? this.advance() : this.previousSlide();
22423
22423
  },
22424
- endShow: () => this.#n.exit?.(),
22425
- playSound: this.#n.onPlayActionSound,
22426
- confirmUrl: this.#n.confirmUrl,
22424
+ endShow: () => this.#a.exit?.(),
22425
+ playSound: this.#a.onPlayActionSound,
22426
+ confirmUrl: this.#a.confirmUrl,
22427
22427
  runProgram: (t) => {
22428
- e.set(this.#a, [...e.get(this.#a), k2(t)], !0);
22428
+ e.set(this.#n, [...e.get(this.#n), k2(t)], !0);
22429
22429
  },
22430
- ...x9(this.#n, () => this.#r, (t) => {
22430
+ ...x9(this.#a, () => this.#r, (t) => {
22431
22431
  this.#i = t;
22432
22432
  })
22433
22433
  }) === "advance" && this.advance(!0);
22434
22434
  }
22435
22435
  advance(a = !1) {
22436
22436
  if (e.get(this.#t)) {
22437
- e.set(this.#t, !1), this.#n.exit?.();
22437
+ e.set(this.#t, !1), this.#a.exit?.();
22438
22438
  return;
22439
22439
  }
22440
22440
  if (this.playback.advance() || a && !Vy(this.#s())) return;
22441
- const t = this.#n.getCurrentIndex(), n = this.#d();
22441
+ const t = this.#a.getCurrentIndex(), n = this.#d();
22442
22442
  if (!v_(t, n)) {
22443
22443
  if (this.#i) {
22444
22444
  const { previousId: i, originIndex: r } = this.#i;
22445
- this.#i = null, this.#n.setActiveCustomShowId?.(i), this.#n.navigate(r);
22445
+ this.#i = null, this.#a.setActiveCustomShowId?.(i), this.#a.navigate(r);
22446
22446
  return;
22447
22447
  }
22448
- if (this.#n.getLoopContinuously?.()) {
22448
+ if (this.#a.getLoopContinuously?.()) {
22449
22449
  const i = Ai(n);
22450
- i !== void 0 && this.#n.navigate(i);
22450
+ i !== void 0 && this.#a.navigate(i);
22451
22451
  return;
22452
22452
  }
22453
- this.#n.getEndWithBlackSlide?.() === !1 ? this.#n.exit?.() : e.set(this.#t, !0);
22453
+ this.#a.getEndWithBlackSlide?.() === !1 ? this.#a.exit?.() : e.set(this.#t, !0);
22454
22454
  return;
22455
22455
  }
22456
- this.#n.navigate(xf(t, n) ?? t);
22456
+ this.#a.navigate(xf(t, n) ?? t);
22457
22457
  }
22458
22458
  previousSlide() {
22459
- const a = this.#n.getCurrentIndex(), t = Zb(a, this.#d());
22460
- t !== void 0 && t !== a && this.#n.navigate(t);
22459
+ const a = this.#a.getCurrentIndex(), t = Zb(a, this.#d());
22460
+ t !== void 0 && t !== a && this.#a.navigate(t);
22461
22461
  }
22462
22462
  entryIndex(a) {
22463
22463
  return n1(a, this.#d());
22464
22464
  }
22465
22465
  firstSlide() {
22466
22466
  const a = Ai(this.#d());
22467
- a !== void 0 && this.#n.navigate(a);
22467
+ a !== void 0 && this.#a.navigate(a);
22468
22468
  }
22469
22469
  lastSlide() {
22470
22470
  const a = Rg(this.#d());
22471
- a !== void 0 && this.#n.navigate(a);
22471
+ a !== void 0 && this.#a.navigate(a);
22472
22472
  }
22473
22473
  showEndOfShow() {
22474
22474
  e.set(this.#t, !0);
@@ -22477,14 +22477,14 @@ var y9 = class {
22477
22477
  return e.get(this.#t) ? (e.set(this.#t, !1), !0) : this.playback.seededCompleted ? (this.playback.reset(), !0) : !1;
22478
22478
  }
22479
22479
  start() {
22480
- Kc(), this.playback.reset(), e.set(this.#e, null), e.set(this.#t, !1), e.set(this.#a, [], !0);
22480
+ Kc(), this.playback.reset(), e.set(this.#e, null), e.set(this.#t, !1), e.set(this.#n, [], !0);
22481
22481
  }
22482
22482
  stop() {
22483
- this.playback.clearTimers(), this.playback.reset(), e.set(this.#e, null), e.set(this.#t, !1), e.set(this.#a, [], !0), i0(), $d();
22483
+ this.playback.clearTimers(), this.playback.reset(), e.set(this.#e, null), e.set(this.#t, !1), e.set(this.#n, [], !0), i0(), $d();
22484
22484
  }
22485
22485
  onSlideChange(a, t) {
22486
22486
  e.set(this.#t, !1), this.#r = a, this.playback.reset({ completed: t < a });
22487
- const n = this.#n.getSlides(), i = n[t], r = (t < a ? n[a] : i)?.transition;
22487
+ const n = this.#a.getSlides(), i = n[t], r = (t < a ? n[a] : i)?.transition;
22488
22488
  r && r.type && r.type !== "none" ? e.set(this.#e, {
22489
22489
  outgoing: n[a],
22490
22490
  incoming: i,
@@ -32188,41 +32188,41 @@ function _W(a, t) {
32188
32188
  return i;
32189
32189
  } }));
32190
32190
  }
32191
- var bW = e.from_html('<div class="backdrop svelte-t5r4la" data-pptx-autosave-recovery="true"><section role="dialog" tabindex="-1" aria-modal="true" class="svelte-t5r4la"><header class="svelte-t5r4la"><b class="svelte-t5r4la"><!></b><div><h2 class="svelte-t5r4la"> </h2><p class="svelte-t5r4la"> </p><small class="svelte-t5r4la"> </small></div></header><footer class="svelte-t5r4la"><button type="button" class="svelte-t5r4la"><!> </button><button class="primary svelte-t5r4la" type="button"><!> </button></footer></section></div>');
32191
+ var bW = e.from_html('<div class="backdrop svelte-t5r4la" data-pptx-autosave-recovery="true"><section role="dialog" tabindex="-1" aria-modal="true" class="svelte-t5r4la"><header class="svelte-t5r4la"><b class="svelte-t5r4la"><!></b><div class="svelte-t5r4la"><h2 class="svelte-t5r4la"> </h2><p class="svelte-t5r4la"> </p><small class="svelte-t5r4la"> </small></div></header><footer class="svelte-t5r4la"><button type="button" class="svelte-t5r4la"><!> </button><button class="primary svelte-t5r4la" type="button"><!> </button></footer></section></div>');
32192
32192
  function xW(a, t) {
32193
32193
  e.push(t, !0);
32194
- const n = oe(), i = e.derived(() => n(t.prompt.titleKey)), r = e.derived(() => n("pptx.autosave.recovery.savedLabel", { when: n(t.prompt.ageKey, t.prompt.ageParams) }));
32195
- var s = bW(), l = e.child(s), o = e.child(l), d = e.child(o), c = e.child(d);
32196
- _W(c, {
32194
+ const n = e.prop(t, "discarding", 3, !1), i = oe(), r = e.derived(() => i(t.prompt.titleKey)), s = e.derived(() => i("pptx.autosave.recovery.savedLabel", { when: i(t.prompt.ageKey, t.prompt.ageParams) }));
32195
+ var l = bW(), o = e.child(l), d = e.child(o), c = e.child(d), u = e.child(c);
32196
+ _W(u, {
32197
32197
  size: 20,
32198
32198
  "aria-hidden": "true"
32199
- }), e.reset(d);
32200
- var u = e.sibling(d), p = e.child(u), v = e.only_child(p, !0), f = e.sibling(p), h = e.only_child(f, !0), m = e.sibling(f), g = e.only_child(m, !0);
32201
- e.reset(u), e.reset(o);
32202
- var y = e.sibling(o), S = e.child(y), w = e.child(S);
32203
- Ta(w, {
32199
+ }), e.reset(c);
32200
+ var p = e.sibling(c), v = e.child(p), f = e.only_child(v, !0), h = e.sibling(v), m = e.only_child(h, !0), g = e.sibling(h), y = e.only_child(g, !0);
32201
+ e.reset(p), e.reset(d);
32202
+ var S = e.sibling(d), w = e.child(S), x = e.child(w);
32203
+ Ta(x, {
32204
32204
  size: 16,
32205
32205
  "aria-hidden": "true"
32206
32206
  });
32207
- var x = e.sibling(w);
32208
- e.reset(S);
32209
- var _ = e.sibling(S), b = e.child(_);
32210
- au(b, {
32207
+ var _ = e.sibling(x);
32208
+ e.reset(w);
32209
+ var b = e.sibling(w), T = e.child(b);
32210
+ au(T, {
32211
32211
  size: 16,
32212
32212
  "aria-hidden": "true"
32213
32213
  });
32214
- var T = e.sibling(b);
32215
- e.reset(_), e.reset(y), e.reset(l), e.reset(s), e.template_effect((C, P, k) => {
32216
- e.set_attribute(l, "aria-label", e.get(i)), e.set_text(v, e.get(i)), e.set_text(h, C), e.set_text(g, e.get(r)), e.set_text(x, ` ${P ?? ""}`), e.set_text(T, ` ${k ?? ""}`);
32214
+ var C = e.sibling(T);
32215
+ e.reset(b), e.reset(S), e.reset(o), e.reset(l), e.template_effect((P, k, E) => {
32216
+ e.set_attribute(o, "aria-label", e.get(r)), e.set_attribute(o, "aria-busy", n()), e.set_text(f, e.get(r)), e.set_text(m, P), e.set_text(y, e.get(s)), w.disabled = n(), e.set_text(_, ` ${k ?? ""}`), b.disabled = n(), e.set_text(C, ` ${E ?? ""}`);
32217
32217
  }, [
32218
- () => n(t.prompt.messageKey, t.prompt.messageParams),
32219
- () => n(t.prompt.discardKey),
32220
- () => n(t.prompt.restoreKey)
32221
- ]), e.delegated("click", S, function(...C) {
32222
- t.ondiscard?.apply(this, C);
32223
- }), e.delegated("click", _, function(...C) {
32224
- t.onrestore?.apply(this, C);
32225
- }), e.append(a, s), e.pop();
32218
+ () => i(t.prompt.messageKey, t.prompt.messageParams),
32219
+ () => i(t.prompt.discardKey),
32220
+ () => i(t.prompt.restoreKey)
32221
+ ]), e.delegated("click", w, function(...P) {
32222
+ t.ondiscard?.apply(this, P);
32223
+ }), e.delegated("click", b, function(...P) {
32224
+ t.onrestore?.apply(this, P);
32225
+ }), e.append(a, l), e.pop();
32226
32226
  }
32227
32227
  e.delegate(["click"]);
32228
32228
  var yW = e.from_html('<div class="actions svelte-1g5r30c"><button type="button" class="svelte-1g5r30c"><!> </button></div>'), wW = e.from_html('<p class="empty svelte-1g5r30c"> </p>'), SW = e.from_html("<li> </li>"), kW = e.from_html('<ul class="svelte-1g5r30c"></ul>'), TW = e.from_html('<article class="svelte-1g5r30c"><div class="summary svelte-1g5r30c"><span> </span><strong class="svelte-1g5r30c"> </strong></div><!><footer class="svelte-1g5r30c"><button><!> </button><button><!> </button></footer></article>'), CW = e.from_html('<aside class="panel svelte-1g5r30c" role="dialog" tabindex="-1" aria-labelledby="compare-title"><header class="svelte-1g5r30c"><div><h2 id="compare-title" class="svelte-1g5r30c"> </h2><p class="svelte-1g5r30c"> </p></div><button type="button" class="svelte-1g5r30c"><!></button></header> <!> <div class="list svelte-1g5r30c"><!></div></aside>');
@@ -32910,12 +32910,12 @@ var nZ = class {
32910
32910
  set viewportHeight(a) {
32911
32911
  e.set(this.#t, a, !0);
32912
32912
  }
32913
- #a = e.state(e.proxy(wy));
32913
+ #n = e.state(e.proxy(wy));
32914
32914
  get state() {
32915
- return e.get(this.#a);
32915
+ return e.get(this.#n);
32916
32916
  }
32917
32917
  set state(a) {
32918
- e.set(this.#a, a, !0);
32918
+ e.set(this.#n, a, !0);
32919
32919
  }
32920
32920
  #i = Jo();
32921
32921
  #r;
@@ -34437,6 +34437,9 @@ function zG(a, t) {
34437
34437
  get prompt() {
34438
34438
  return t.autosaveRecovery.prompt;
34439
34439
  },
34440
+ get discarding() {
34441
+ return t.autosaveRecovery.discarding;
34442
+ },
34440
34443
  onrestore: () => {
34441
34444
  t.autosaveRecovery.restore();
34442
34445
  },
@@ -34936,12 +34939,12 @@ var YG = class {
34936
34939
  set prefill(a) {
34937
34940
  e.set(this.#t, a, !0);
34938
34941
  }
34939
- #a = e.state(!1);
34942
+ #n = e.state(!1);
34940
34943
  get pickMode() {
34941
- return e.get(this.#a);
34944
+ return e.get(this.#n);
34942
34945
  }
34943
34946
  set pickMode(a) {
34944
- e.set(this.#a, a, !0);
34947
+ e.set(this.#n, a, !0);
34945
34948
  }
34946
34949
  #i = e.state([]);
34947
34950
  get pickTargets() {
@@ -34957,7 +34960,7 @@ var YG = class {
34957
34960
  set changeBatch(a) {
34958
34961
  e.set(this.#r, a);
34959
34962
  }
34960
- #n = e.state(null);
34963
+ #a = e.state(null);
34961
34964
  #s = e.state(0);
34962
34965
  #l = null;
34963
34966
  #o;
@@ -34987,7 +34990,7 @@ var YG = class {
34987
34990
  elementId: n.elementId,
34988
34991
  variant: "pick"
34989
34992
  });
34990
- const t = e.get(this.#n);
34993
+ const t = e.get(this.#a);
34991
34994
  if (t) for (const n of t.elementIds) a.push({
34992
34995
  slideIndex: t.slideIndex,
34993
34996
  elementId: n,
@@ -35035,11 +35038,11 @@ var YG = class {
35035
35038
  this.pickTargets = [], this.pickMode = !1;
35036
35039
  }
35037
35040
  flashToolTarget(a) {
35038
- a && a.slideIndex !== void 0 && a.elementIds.length > 0 ? e.set(this.#n, {
35041
+ a && a.slideIndex !== void 0 && a.elementIds.length > 0 ? e.set(this.#a, {
35039
35042
  slideIndex: a.slideIndex,
35040
35043
  elementIds: a.elementIds
35041
- }) : e.set(this.#n, null), e.set(this.#s, e.get(this.#s) + 1), this.#l && clearTimeout(this.#l), this.#l = setTimeout(() => {
35042
- e.set(this.#n, null), e.set(this.#s, 0);
35044
+ }) : e.set(this.#a, null), e.set(this.#s, e.get(this.#s) + 1), this.#l && clearTimeout(this.#l), this.#l = setTimeout(() => {
35045
+ e.set(this.#a, null), e.set(this.#s, 0);
35043
35046
  }, GG);
35044
35047
  }
35045
35048
  showChangeBatch(a) {
@@ -35162,10 +35165,10 @@ var tX = class {
35162
35165
  livePatcher = Lg();
35163
35166
  gate = V_(() => this.flush());
35164
35167
  #t;
35165
- #a;
35168
+ #n;
35166
35169
  #i = null;
35167
35170
  #r = null;
35168
- #n = null;
35171
+ #a = null;
35169
35172
  #s = !1;
35170
35173
  #l = "";
35171
35174
  #o = null;
@@ -35176,14 +35179,14 @@ var tX = class {
35176
35179
  getSaveOptions: () => this.#t.getSaveOptions?.()
35177
35180
  });
35178
35181
  constructor(a, t) {
35179
- this.#t = a, this.#a = t;
35182
+ this.#t = a, this.#n = t;
35180
35183
  }
35181
35184
  begin(a) {
35182
- this.#n = a, this.readOnly = a.role === "viewer" || !!a.externalSession;
35185
+ this.#a = a, this.readOnly = a.role === "viewer" || !!a.externalSession;
35183
35186
  }
35184
35187
  attach(a, t) {
35185
35188
  this.#i = a, this.#r = t;
35186
- const n = this.#n;
35189
+ const n = this.#a;
35187
35190
  if (!n) return;
35188
35191
  if (n.externalSession) {
35189
35192
  this.#o = sf(n.externalSession, {
@@ -35192,7 +35195,7 @@ var tX = class {
35192
35195
  factories: t,
35193
35196
  role: n.role,
35194
35197
  sessionIntent: n.sessionIntent,
35195
- onStatus: this.#a,
35198
+ onStatus: this.#n,
35196
35199
  adoptSlides: (r) => {
35197
35200
  this.#u(r), this.#c.schedule(n);
35198
35201
  },
@@ -35235,19 +35238,19 @@ var tX = class {
35235
35238
  this.#o ? this.#o.handleLoad(a) : this.#i && QG(this.#i, this.#p(), a);
35236
35239
  }
35237
35240
  flush(a = this.#t.getSlides()) {
35238
- if (!this.gate.isOpen() || this.#n?.externalSession && !this.#n.externalSession.getSnapshot().synced) return;
35241
+ if (!this.gate.isOpen() || this.#a?.externalSession && !this.#a.externalSession.getSnapshot().synced) return;
35239
35242
  const t = eX({
35240
35243
  slides: a,
35241
35244
  ydoc: this.#i,
35242
35245
  factories: this.#r,
35243
35246
  applyingRemote: this.#s,
35244
- role: this.#n?.role,
35247
+ role: this.#a?.role,
35245
35248
  lastSynced: this.#l
35246
35249
  });
35247
- t !== null && (this.#l = t, this.#n && this.#c.schedule(this.#n));
35250
+ t !== null && (this.#l = t, this.#a && this.#c.schedule(this.#a));
35248
35251
  }
35249
35252
  stop() {
35250
- this.#o?.(), this.#o = null, this.#d?.(), this.#d = null, this.#c.cancel(), this.gate.reset(), this.livePatcher.configure(null, null), this.#i = null, this.#r = null, this.#n = null, this.#s = !1, this.#l = "", this.readOnly = !1;
35253
+ this.#o?.(), this.#o = null, this.#d?.(), this.#d = null, this.#c.cancel(), this.gate.reset(), this.livePatcher.configure(null, null), this.#i = null, this.#r = null, this.#a = null, this.#s = !1, this.#l = "", this.readOnly = !1;
35251
35254
  }
35252
35255
  };
35253
35256
  function aX(a) {
@@ -35281,16 +35284,16 @@ var iX = class {
35281
35284
  set remotePresences(a) {
35282
35285
  e.set(this.#t, a, !0);
35283
35286
  }
35284
- #a = e.state(null);
35287
+ #n = e.state(null);
35285
35288
  get followedClientId() {
35286
- return e.get(this.#a);
35289
+ return e.get(this.#n);
35287
35290
  }
35288
35291
  set followedClientId(a) {
35289
- e.set(this.#a, a, !0);
35292
+ e.set(this.#n, a, !0);
35290
35293
  }
35291
35294
  #i;
35292
35295
  #r = null;
35293
- #n = null;
35296
+ #a = null;
35294
35297
  #s = -1;
35295
35298
  #l = 0;
35296
35299
  #o = null;
@@ -35299,10 +35302,10 @@ var iX = class {
35299
35302
  this.#i = a;
35300
35303
  }
35301
35304
  start(a, t) {
35302
- this.stop(), this.#n = a, this.#s = a.clientID ?? -1, this.#r = r_(a, t), a.on("change", this.#c), a.on("update", this.#c), this.#o = setInterval(() => this.#r?.flush(), Lb), this.#c();
35305
+ this.stop(), this.#a = a, this.#s = a.clientID ?? -1, this.#r = r_(a, t), a.on("change", this.#c), a.on("update", this.#c), this.#o = setInterval(() => this.#r?.flush(), Lb), this.#c();
35303
35306
  }
35304
35307
  stop() {
35305
- this.#o !== null && (clearInterval(this.#o), this.#o = null), this.#n?.off?.("change", this.#c), this.#n?.off?.("update", this.#c), this.#r?.dispose(), this.#r = null, this.#n = null, this.#s = -1, this.#l = 0, this.#d.reset(), this.cursors = [], this.remotePresences = [], this.followedClientId = null;
35308
+ this.#o !== null && (clearInterval(this.#o), this.#o = null), this.#a?.off?.("change", this.#c), this.#a?.off?.("update", this.#c), this.#r?.dispose(), this.#r = null, this.#a = null, this.#s = -1, this.#l = 0, this.#d.reset(), this.cursors = [], this.remotePresences = [], this.followedClientId = null;
35306
35309
  }
35307
35310
  setCursor(a, t, n = this.#l) {
35308
35311
  this.#l = n, this.#r?.update({
@@ -35324,8 +35327,8 @@ var iX = class {
35324
35327
  this.followedClientId = a;
35325
35328
  }
35326
35329
  #c = () => {
35327
- if (!this.#n) return;
35328
- const { width: a, height: t } = this.#i(), { list: n, cursors: i, changed: r } = this.#d.project(this.#n.getStates(), this.#s, Lo(a), Lo(t), this.#l);
35330
+ if (!this.#a) return;
35331
+ const { width: a, height: t } = this.#i(), { list: n, cursors: i, changed: r } = this.#d.project(this.#a.getStates(), this.#s, Lo(a), Lo(t), this.#l);
35329
35332
  r && (this.remotePresences = n, this.cursors = i, this.followedClientId !== null && !n.some((s) => s.clientId === this.followedClientId) && (this.followedClientId = null));
35330
35333
  };
35331
35334
  };
@@ -35430,10 +35433,10 @@ var dX = class {
35430
35433
  return this.#u.livePatcher;
35431
35434
  }
35432
35435
  #t = e.state(!1);
35433
- #a;
35436
+ #n;
35434
35437
  #i;
35435
35438
  #r = null;
35436
- #n = null;
35439
+ #a = null;
35437
35440
  #s = e.state(null);
35438
35441
  #l = null;
35439
35442
  #o = !1;
@@ -35443,14 +35446,14 @@ var dX = class {
35443
35446
  #u;
35444
35447
  #v;
35445
35448
  constructor(a) {
35446
- this.#a = a, this.#u = new tX(a, (t) => {
35449
+ this.#n = a, this.#u = new tX(a, (t) => {
35447
35450
  this.status = t;
35448
35451
  }), this.#i = a.createSession ?? sX, this.#v = new iX(() => ({
35449
- width: this.#a.getCanvasWidth?.(),
35450
- height: this.#a.getCanvasHeight?.()
35452
+ width: this.#n.getCanvasWidth?.(),
35453
+ height: this.#n.getCanvasHeight?.()
35451
35454
  })), aX({
35452
- getConfig: () => this.#a.getConfig(),
35453
- getSlides: () => this.#a.getSlides(),
35455
+ getConfig: () => this.#n.getConfig(),
35456
+ getSlides: () => this.#n.getSlides(),
35454
35457
  syncConfig: (t) => this.#f(t),
35455
35458
  isPublishable: () => e.get(this.#t) && this.#u.gate.isOpen(),
35456
35459
  flushLocalSlides: (t) => this.#u.flush(t),
@@ -35532,12 +35535,12 @@ var dX = class {
35532
35535
  i.destroy();
35533
35536
  return;
35534
35537
  }
35535
- this.#r = i, this.#u.attach(i.ydoc, i.factories), this.#n = i.provider, this.#u.gate.reset(), this.#n.onSynced(() => this.#u.gate.open()), this.#n.syncedNow ? this.#u.gate.open() : this.#u.gate.arm(), this.#v.start(this.#n.awareness, {
35538
+ this.#r = i, this.#u.attach(i.ydoc, i.factories), this.#a = i.provider, this.#u.gate.reset(), this.#a.onSynced(() => this.#u.gate.open()), this.#a.syncedNow ? this.#u.gate.open() : this.#u.gate.arm(), this.#v.start(this.#a.awareness, {
35536
35539
  userName: a.userName,
35537
35540
  userColor: a.userColor ?? "#4c8bf5",
35538
35541
  userAvatar: a.userAvatar,
35539
35542
  role: a.role
35540
- }), this.#_(n), e.set(this.#t, !0), this.#a.onStart?.(a);
35543
+ }), this.#_(n), e.set(this.#t, !0), this.#n.onStart?.(a);
35541
35544
  } catch {
35542
35545
  if (t !== this.#d) return;
35543
35546
  this.stop(), this.status = "error";
@@ -35554,10 +35557,10 @@ var dX = class {
35554
35557
  userColor: a.userColor ?? "#4c8bf5",
35555
35558
  userAvatar: a.userAvatar,
35556
35559
  role: a.role
35557
- }), e.set(this.#t, !0), this.#u.attach(i.ydoc, i.factories), this.#a.onStart?.(a);
35560
+ }), e.set(this.#t, !0), this.#u.attach(i.ydoc, i.factories), this.#n.onStart?.(a);
35558
35561
  }
35559
35562
  #_(a) {
35560
- this.#n && oX(this.#n, a, {
35563
+ this.#a && oX(this.#a, a, {
35561
35564
  setStatus: (t) => this.status = t,
35562
35565
  getStatus: () => this.status,
35563
35566
  isActive: () => e.get(this.#t),
@@ -35568,7 +35571,7 @@ var dX = class {
35568
35571
  });
35569
35572
  }
35570
35573
  stop() {
35571
- this.#d++, this.#u.stop(), this.#g(), this.#v.stop(), this.#c?.(), this.#c = null, this.#r?.destroy(), this.#r = null, this.#n = null, e.set(this.#s, null), e.get(this.#t) && this.#a.onStop?.(), e.set(this.#t, !1), this.status = "disconnected";
35574
+ this.#d++, this.#u.stop(), this.#g(), this.#v.stop(), this.#c?.(), this.#c = null, this.#r?.destroy(), this.#r = null, this.#a = null, e.set(this.#s, null), e.get(this.#t) && this.#n.onStop?.(), e.set(this.#t, !1), this.status = "disconnected";
35572
35575
  }
35573
35576
  }, cX = class {
35574
35577
  #e = e.state(!1);
@@ -35585,19 +35588,19 @@ var dX = class {
35585
35588
  set broadcastOpen(a) {
35586
35589
  e.set(this.#t, a, !0);
35587
35590
  }
35588
- #a = e.state(null);
35591
+ #n = e.state(null);
35589
35592
  #i = null;
35590
35593
  #r;
35591
- #n;
35594
+ #a;
35592
35595
  constructor(a, t) {
35593
- this.#r = a, this.#n = t;
35596
+ this.#r = a, this.#a = t;
35594
35597
  }
35595
35598
  get connectedCount() {
35596
35599
  return this.#r.remotePresences.length + (this.#r.active ? 1 : 0);
35597
35600
  }
35598
35601
  get broadcastViewerUrl() {
35599
- if (!(!e.get(this.#a) || typeof window > "u"))
35600
- return _1(e.get(this.#a).roomId, e.get(this.#a).serverUrl, window.location);
35602
+ if (!(!e.get(this.#n) || typeof window > "u"))
35603
+ return _1(e.get(this.#n).roomId, e.get(this.#n).serverUrl, window.location);
35601
35604
  }
35602
35605
  openShare() {
35603
35606
  this.shareOpen = !0;
@@ -35616,16 +35619,16 @@ var dX = class {
35616
35619
  this.#r.stop(), this.shareOpen = !1;
35617
35620
  };
35618
35621
  onBroadcastStart = (a) => {
35619
- e.set(this.#a, a, !0);
35622
+ e.set(this.#n, a, !0);
35620
35623
  const t = {
35621
35624
  ...a,
35622
- userName: this.#n()?.userName ?? "Presenter",
35625
+ userName: this.#a()?.userName ?? "Presenter",
35623
35626
  role: "owner"
35624
35627
  };
35625
35628
  this.#i = t, this.#r.start(t), this.broadcastOpen = !1;
35626
35629
  };
35627
35630
  onBroadcastStop = () => {
35628
- e.set(this.#a, null), this.#r.stop(), this.broadcastOpen = !1;
35631
+ e.set(this.#n, null), this.#r.stop(), this.broadcastOpen = !1;
35629
35632
  };
35630
35633
  retry(a) {
35631
35634
  const t = a ?? this.#i;
@@ -35652,36 +35655,70 @@ var vX = class {
35652
35655
  set prompt(a) {
35653
35656
  e.set(this.#e, a);
35654
35657
  }
35655
- #t;
35656
- #a = null;
35657
- #i = -1;
35658
+ #t = e.state(!1);
35659
+ get discarding() {
35660
+ return e.get(this.#t);
35661
+ }
35662
+ set discarding(a) {
35663
+ e.set(this.#t, a, !0);
35664
+ }
35665
+ #n;
35666
+ #i = null;
35667
+ #r = -1;
35668
+ #a = !1;
35669
+ #s = !1;
35658
35670
  constructor(a) {
35659
- this.#t = a, e.user_effect(() => {
35671
+ this.#n = a, e.user_effect(() => {
35660
35672
  const t = a.getLoadCount(), n = a.getFilePath();
35673
+ if (this.#a) {
35674
+ this.#r = t;
35675
+ return;
35676
+ }
35661
35677
  !Fb({
35662
- alreadyChecked: this.#i === t,
35678
+ alreadyChecked: this.#r === t,
35663
35679
  filePath: n,
35664
35680
  loading: a.getLoading(),
35665
35681
  error: a.getError(),
35666
35682
  slideCount: a.getSlideCount(),
35667
35683
  autosaveAllowed: a.getAutosaveAllowed()
35668
- }) || !n || (this.#i = t, this.#r(n, t));
35684
+ }) || !n || (this.#r = t, this.#l(n, t));
35669
35685
  });
35670
35686
  }
35671
- async #r(a, t) {
35672
- const n = await ay(a);
35673
- this.#i === t && (this.prompt = n?.prompt ?? null, this.#a = n?.record ?? null);
35687
+ async #l(a, t) {
35688
+ const n = await ay(a, Date.now(), this.#n.getFileName?.());
35689
+ this.#r === t && (this.prompt = n?.prompt ?? null, this.#i = n?.record ?? null);
35674
35690
  }
35675
35691
  async restore() {
35676
- const a = this.#a;
35677
- this.dismiss(), a && await this.#t.load(tb(a));
35692
+ if (this.#s) return;
35693
+ this.#s = !0;
35694
+ const a = this.#i;
35695
+ if (this.dismiss(), !a) {
35696
+ this.#s = !1;
35697
+ return;
35698
+ }
35699
+ this.#a = !0;
35700
+ try {
35701
+ await this.#n.load(tb(a));
35702
+ } finally {
35703
+ this.#r = this.#n.getLoadCount(), this.#a = !1, this.#s = !1;
35704
+ }
35678
35705
  }
35679
35706
  async discard() {
35680
- const a = this.#a;
35681
- this.dismiss(), a && await s0(a);
35707
+ if (this.#s) return;
35708
+ const a = this.#i;
35709
+ if (!a) {
35710
+ this.dismiss();
35711
+ return;
35712
+ }
35713
+ this.#s = !0, this.discarding = !0;
35714
+ try {
35715
+ await s0(a), this.dismiss();
35716
+ } finally {
35717
+ this.discarding = !1, this.#s = !1;
35718
+ }
35682
35719
  }
35683
35720
  dismiss() {
35684
- this.prompt = null, this.#a = null;
35721
+ this.prompt = null, this.#i = null;
35685
35722
  }
35686
35723
  }, pX = class {
35687
35724
  #e = e.state("idle");
@@ -35698,16 +35735,16 @@ var vX = class {
35698
35735
  set isDirty(a) {
35699
35736
  e.set(this.#t, a, !0);
35700
35737
  }
35701
- #a = e.state(null);
35738
+ #n = e.state(null);
35702
35739
  get lastSavedAt() {
35703
- return e.get(this.#a);
35740
+ return e.get(this.#n);
35704
35741
  }
35705
35742
  set lastSavedAt(a) {
35706
- e.set(this.#a, a, !0);
35743
+ e.set(this.#n, a, !0);
35707
35744
  }
35708
35745
  #i;
35709
35746
  #r = null;
35710
- #n = !1;
35747
+ #a = !1;
35711
35748
  #s = 0;
35712
35749
  #l = 0;
35713
35750
  #o = !1;
@@ -35756,8 +35793,8 @@ var vX = class {
35756
35793
  }
35757
35794
  async save() {
35758
35795
  const a = this.#i.getFilePath();
35759
- if (!a || this.#n) return;
35760
- this.#n = !0, this.#p();
35796
+ if (!a || this.#a) return;
35797
+ this.#a = !0, this.#p();
35761
35798
  const t = this.#d;
35762
35799
  this.status = "saving";
35763
35800
  try {
@@ -35770,7 +35807,7 @@ var vX = class {
35770
35807
  } catch {
35771
35808
  this.status = "error";
35772
35809
  } finally {
35773
- this.#n = !1;
35810
+ this.#a = !1;
35774
35811
  }
35775
35812
  }
35776
35813
  };
@@ -35869,6 +35906,7 @@ function hX(a) {
35869
35906
  }),
35870
35907
  autosaveRecovery: new vX({
35871
35908
  getFilePath: r.getFilePath,
35909
+ getFileName: r.getFileName,
35872
35910
  getAutosaveAllowed: () => r.getAutosave() !== !1,
35873
35911
  getLoading: () => t.loading,
35874
35912
  getError: () => t.error,
@@ -36002,12 +36040,12 @@ var bX = class {
36002
36040
  set inspectorOpen(a) {
36003
36041
  e.set(this.#t, a, !0);
36004
36042
  }
36005
- #a = e.state("properties");
36043
+ #n = e.state("properties");
36006
36044
  get inspectorTab() {
36007
- return e.get(this.#a);
36045
+ return e.get(this.#n);
36008
36046
  }
36009
36047
  set inspectorTab(a) {
36010
- e.set(this.#a, a, !0);
36048
+ e.set(this.#n, a, !0);
36011
36049
  }
36012
36050
  toggleSidebar() {
36013
36051
  this.sidebarCollapsed = !this.sidebarCollapsed;
@@ -36031,12 +36069,12 @@ var bX = class {
36031
36069
  }, jo = 5, xX = class {
36032
36070
  #e = e.state(e.proxy(/* @__PURE__ */ new Set()));
36033
36071
  #t = e.state(!1);
36034
- #a;
36072
+ #n;
36035
36073
  constructor(a) {
36036
- this.#a = a.getWarnings;
36074
+ this.#n = a.getWarnings;
36037
36075
  }
36038
36076
  #i() {
36039
- return Bb(this.#a());
36077
+ return Bb(this.#n());
36040
36078
  }
36041
36079
  #r() {
36042
36080
  return e.get(this.#t) ? [] : this.#i().filter((a) => !e.get(this.#e).has(a.id));
@@ -36059,17 +36097,17 @@ var bX = class {
36059
36097
  }, yX = class {
36060
36098
  #e = e.state(!1);
36061
36099
  #t = e.state(!1);
36062
- #a = e.state(!1);
36100
+ #n = e.state(!1);
36063
36101
  #i = e.state(null);
36064
36102
  #r = e.state(!1);
36065
- #n;
36103
+ #a;
36066
36104
  #s;
36067
36105
  constructor(a) {
36068
- this.#n = a.getModifyVerifier, this.#s = a.getCustomProperties;
36106
+ this.#a = a.getModifyVerifier, this.#s = a.getCustomProperties;
36069
36107
  }
36070
36108
  get recommendation() {
36071
36109
  return C1({
36072
- modifyVerifier: this.#n(),
36110
+ modifyVerifier: this.#a(),
36073
36111
  customProperties: this.#s()
36074
36112
  });
36075
36113
  }
@@ -36081,7 +36119,7 @@ var bX = class {
36081
36119
  return a.kind !== null && a.defaultReadOnly && !e.get(this.#t);
36082
36120
  }
36083
36121
  get passwordPromptOpen() {
36084
- return e.get(this.#a);
36122
+ return e.get(this.#n);
36085
36123
  }
36086
36124
  get passwordError() {
36087
36125
  return e.get(this.#i);
@@ -36091,7 +36129,7 @@ var bX = class {
36091
36129
  }
36092
36130
  editAnyway() {
36093
36131
  if (this.recommendation.requiresPassword) {
36094
- e.set(this.#a, !0), e.set(this.#i, null);
36132
+ e.set(this.#n, !0), e.set(this.#i, null);
36095
36133
  return;
36096
36134
  }
36097
36135
  this.#l();
@@ -36100,22 +36138,22 @@ var bX = class {
36100
36138
  e.set(this.#e, !0);
36101
36139
  }
36102
36140
  cancelPasswordPrompt() {
36103
- e.set(this.#a, !1), e.set(this.#i, null);
36141
+ e.set(this.#n, !1), e.set(this.#i, null);
36104
36142
  }
36105
36143
  async submitPassword(a) {
36106
36144
  e.set(this.#r, !0);
36107
36145
  try {
36108
- const t = await v1(this.#n(), a);
36146
+ const t = await v1(this.#a(), a);
36109
36147
  t.ok ? this.#l() : e.set(this.#i, t.reason, !0);
36110
36148
  } finally {
36111
36149
  e.set(this.#r, !1);
36112
36150
  }
36113
36151
  }
36114
36152
  #l() {
36115
- e.set(this.#t, !0), e.set(this.#e, !0), e.set(this.#a, !1), e.set(this.#i, null);
36153
+ e.set(this.#t, !0), e.set(this.#e, !0), e.set(this.#n, !1), e.set(this.#i, null);
36116
36154
  }
36117
36155
  reset() {
36118
- e.set(this.#e, !1), e.set(this.#t, !1), e.set(this.#a, !1), e.set(this.#i, null), e.set(this.#r, !1);
36156
+ e.set(this.#e, !1), e.set(this.#t, !1), e.set(this.#n, !1), e.set(this.#i, null), e.set(this.#r, !1);
36119
36157
  }
36120
36158
  }, Pv = "pptx-svelte-google-fonts";
36121
36159
  function Uo(a, t) {
@@ -36232,12 +36270,12 @@ var EX = class {
36232
36270
  set open(a) {
36233
36271
  e.set(this.#t, a, !0);
36234
36272
  }
36235
- #a = e.state(/* @__PURE__ */ new Set());
36273
+ #n = e.state(/* @__PURE__ */ new Set());
36236
36274
  get accepted() {
36237
- return e.get(this.#a);
36275
+ return e.get(this.#n);
36238
36276
  }
36239
36277
  set accepted(a) {
36240
- e.set(this.#a, a);
36278
+ e.set(this.#n, a);
36241
36279
  }
36242
36280
  #i = e.state(/* @__PURE__ */ new Set());
36243
36281
  get rejected() {
@@ -36294,12 +36332,12 @@ var EX = class {
36294
36332
  set penColor(a) {
36295
36333
  e.set(this.#t, a, !0);
36296
36334
  }
36297
- #a = e.state("#ffff00");
36335
+ #n = e.state("#ffff00");
36298
36336
  get highlighterColor() {
36299
- return e.get(this.#a);
36337
+ return e.get(this.#n);
36300
36338
  }
36301
36339
  set highlighterColor(a) {
36302
- e.set(this.#a, a, !0);
36340
+ e.set(this.#n, a, !0);
36303
36341
  }
36304
36342
  #i = e.state(null);
36305
36343
  get current() {
@@ -36315,12 +36353,12 @@ var EX = class {
36315
36353
  set bySlide(a) {
36316
36354
  e.set(this.#r, a);
36317
36355
  }
36318
- #n = e.state(null);
36356
+ #a = e.state(null);
36319
36357
  get laser() {
36320
- return e.get(this.#n);
36358
+ return e.get(this.#a);
36321
36359
  }
36322
36360
  set laser(a) {
36323
- e.set(this.#n, a);
36361
+ e.set(this.#a, a);
36324
36362
  }
36325
36363
  #s = 0;
36326
36364
  get count() {
@@ -36398,12 +36436,12 @@ var EX = class {
36398
36436
  set paused(a) {
36399
36437
  e.set(this.#t, a, !0);
36400
36438
  }
36401
- #a = e.state(!1);
36439
+ #n = e.state(!1);
36402
36440
  get summaryOpen() {
36403
- return e.get(this.#a);
36441
+ return e.get(this.#n);
36404
36442
  }
36405
36443
  set summaryOpen(a) {
36406
- e.set(this.#a, a, !0);
36444
+ e.set(this.#n, a, !0);
36407
36445
  }
36408
36446
  #i = e.state(/* @__PURE__ */ new Map());
36409
36447
  get times() {
@@ -36419,12 +36457,12 @@ var EX = class {
36419
36457
  set current(a) {
36420
36458
  e.set(this.#r, a, !0);
36421
36459
  }
36422
- #n = e.state(0);
36460
+ #a = e.state(0);
36423
36461
  get elapsedMs() {
36424
- return e.get(this.#n);
36462
+ return e.get(this.#a);
36425
36463
  }
36426
36464
  set elapsedMs(a) {
36427
- e.set(this.#n, a, !0);
36465
+ e.set(this.#a, a, !0);
36428
36466
  }
36429
36467
  #s = 0;
36430
36468
  #l = 0;
@@ -36484,12 +36522,12 @@ var EX = class {
36484
36522
  e.set(this.#t, a, !0);
36485
36523
  }
36486
36524
  rehearse = new IX();
36487
- #a = e.state(!1);
36525
+ #n = e.state(!1);
36488
36526
  get setupSlideShowOpen() {
36489
- return e.get(this.#a);
36527
+ return e.get(this.#n);
36490
36528
  }
36491
36529
  set setupSlideShowOpen(a) {
36492
- e.set(this.#a, a, !0);
36530
+ e.set(this.#n, a, !0);
36493
36531
  }
36494
36532
  #i = e.state(!1);
36495
36533
  get headerFooterOpen() {
@@ -36505,12 +36543,12 @@ var EX = class {
36505
36543
  set settingsOpen(a) {
36506
36544
  e.set(this.#r, a, !0);
36507
36545
  }
36508
- #n = e.state(!1);
36546
+ #a = e.state(!1);
36509
36547
  get shortcutsOpen() {
36510
- return e.get(this.#n);
36548
+ return e.get(this.#a);
36511
36549
  }
36512
36550
  set shortcutsOpen(a) {
36513
- e.set(this.#n, a, !0);
36551
+ e.set(this.#a, a, !0);
36514
36552
  }
36515
36553
  #s = e.state(!1);
36516
36554
  get keepAnnotationsOpen() {
@@ -36753,12 +36791,12 @@ var zX = class {
36753
36791
  set title(a) {
36754
36792
  e.set(this.#t, a, !0);
36755
36793
  }
36756
- #a = e.state(0);
36794
+ #n = e.state(0);
36757
36795
  get progress() {
36758
- return e.get(this.#a);
36796
+ return e.get(this.#n);
36759
36797
  }
36760
36798
  set progress(a) {
36761
- e.set(this.#a, a, !0);
36799
+ e.set(this.#n, a, !0);
36762
36800
  }
36763
36801
  #i = e.state("");
36764
36802
  get status() {
@@ -36768,15 +36806,15 @@ var zX = class {
36768
36806
  e.set(this.#i, a, !0);
36769
36807
  }
36770
36808
  #r = null;
36771
- #n;
36809
+ #a;
36772
36810
  constructor(a) {
36773
- this.#n = a;
36811
+ this.#a = a;
36774
36812
  }
36775
36813
  get exporting() {
36776
- return this.#n.controller.exporting;
36814
+ return this.#a.controller.exporting;
36777
36815
  }
36778
36816
  #s(a) {
36779
- return this.#n.getTranslator()(a);
36817
+ return this.#a.getTranslator()(a);
36780
36818
  }
36781
36819
  #l(a) {
36782
36820
  const t = new AbortController();
@@ -36789,27 +36827,27 @@ var zX = class {
36789
36827
  Sb(t) || console.error(`[PowerPointViewer] ${a} export failed:`, t);
36790
36828
  }
36791
36829
  runPng() {
36792
- this.#n.controller.exportSlidePng().then(() => this.#n.onComplete?.()).catch((a) => this.#d("PNG", a));
36830
+ this.#a.controller.exportSlidePng().then(() => this.#a.onComplete?.()).catch((a) => this.#d("PNG", a));
36793
36831
  }
36794
36832
  runJson() {
36795
36833
  try {
36796
- this.#n.controller.exportJson(), this.#n.onComplete?.();
36834
+ this.#a.controller.exportJson(), this.#a.onComplete?.();
36797
36835
  } catch (a) {
36798
36836
  this.#d("JSON", a);
36799
36837
  }
36800
36838
  }
36801
36839
  runCopyImage() {
36802
- this.#n.controller.copySlideAsImage().then(() => this.#n.onComplete?.()).catch((a) => this.#d("Copy image", a));
36840
+ this.#a.controller.copySlideAsImage().then(() => this.#a.onComplete?.()).catch((a) => this.#d("Copy image", a));
36803
36841
  }
36804
36842
  async runPdf() {
36805
36843
  const a = this.#l(this.#s("pptx.ribbon.exportPdf"));
36806
36844
  try {
36807
- await this.#n.controller.exportPdf({
36845
+ await this.#a.controller.exportPdf({
36808
36846
  signal: a.signal,
36809
36847
  onProgress: (t, n) => {
36810
36848
  this.progress = Yn(t, n), this.status = Ia(this.#s("pptx.export.rendering"), t, n);
36811
36849
  }
36812
- }), this.progress = 95, this.status = this.#s("pptx.export.buildingPdf"), this.progress = 100, this.#n.onComplete?.();
36850
+ }), this.progress = 95, this.status = this.#s("pptx.export.buildingPdf"), this.progress = 100, this.#a.onComplete?.();
36813
36851
  } catch (t) {
36814
36852
  this.#d("PDF", t);
36815
36853
  } finally {
@@ -36819,12 +36857,12 @@ var zX = class {
36819
36857
  async runGif() {
36820
36858
  const a = this.#l(this.#s("pptx.ribbon.exportGif"));
36821
36859
  try {
36822
- await this.#n.controller.exportGif({
36860
+ await this.#a.controller.exportGif({
36823
36861
  signal: a.signal,
36824
36862
  onProgress: (t, n) => {
36825
36863
  this.progress = Yn(t, n), this.status = Ia(this.#s("pptx.export.encoding"), t, n);
36826
36864
  }
36827
- }), this.status = this.#s("pptx.export.savingFile"), this.#n.onComplete?.();
36865
+ }), this.status = this.#s("pptx.export.savingFile"), this.#a.onComplete?.();
36828
36866
  } catch (t) {
36829
36867
  this.#d("GIF", t);
36830
36868
  } finally {
@@ -36834,7 +36872,7 @@ var zX = class {
36834
36872
  async runVideo() {
36835
36873
  const a = this.#l(this.#s("pptx.ribbon.exportVideo"));
36836
36874
  try {
36837
- await this.#n.controller.exportVideo({
36875
+ await this.#a.controller.exportVideo({
36838
36876
  signal: a.signal,
36839
36877
  onProgress: (t, n) => {
36840
36878
  this.progress = Yn(t, n, 45), this.status = Ia(this.#s("pptx.export.capturing"), t, n);
@@ -36842,7 +36880,7 @@ var zX = class {
36842
36880
  onRecordProgress: (t, n) => {
36843
36881
  this.progress = Wf(t, n), this.status = Ia(this.#s("pptx.export.recording"), t, n);
36844
36882
  }
36845
- }), this.status = this.#s("pptx.export.savingFile"), this.#n.onComplete?.();
36883
+ }), this.status = this.#s("pptx.export.savingFile"), this.#a.onComplete?.();
36846
36884
  } catch (t) {
36847
36885
  this.#d("Video", t);
36848
36886
  } finally {
@@ -36850,7 +36888,7 @@ var zX = class {
36850
36888
  }
36851
36889
  }
36852
36890
  runPrint(a) {
36853
- this.#n.controller.print(a).catch((t) => this.#d("Print", t));
36891
+ this.#a.controller.print(a).catch((t) => this.#d("Print", t));
36854
36892
  }
36855
36893
  cancel() {
36856
36894
  this.#r?.abort(), this.#r = null, this.open = !1, this.progress = 0;
@@ -37032,7 +37070,7 @@ var WX = class {
37032
37070
  constructor(a) {
37033
37071
  this.#t = a;
37034
37072
  }
37035
- async #a(a) {
37073
+ async #n(a) {
37036
37074
  if (this.#t.rasterizeSlideToRaster) return this.#t.rasterizeSlideToRaster(a);
37037
37075
  const t = await this.#t.rasterizeSlide(a);
37038
37076
  return {
@@ -37048,7 +37086,7 @@ var WX = class {
37048
37086
  if (!(this.exporting || t < 0 || t >= this.#t.getSlideCount())) {
37049
37087
  this.exporting = !0;
37050
37088
  try {
37051
- const n = await this.#a(t);
37089
+ const n = await this.#n(t);
37052
37090
  md(await jw(n), `${Pa(this.#t.fileName)}-slide-${t + 1}.png`);
37053
37091
  } finally {
37054
37092
  this.exporting = !1;
@@ -37060,7 +37098,7 @@ var WX = class {
37060
37098
  if (!(this.exporting || t < 0 || t >= this.#t.getSlideCount() || typeof ClipboardItem > "u" || !navigator.clipboard?.write)) {
37061
37099
  this.exporting = !0;
37062
37100
  try {
37063
- const n = await this.#a(t), i = await xb(n);
37101
+ const n = await this.#n(t), i = await xb(n);
37064
37102
  await navigator.clipboard.write([new ClipboardItem({ "image/png": i })]);
37065
37103
  } finally {
37066
37104
  this.exporting = !1;
@@ -37647,12 +37685,12 @@ var vY = class {
37647
37685
  set slideMasters(a) {
37648
37686
  e.set(this.#t, a);
37649
37687
  }
37650
- #a = e.state(void 0);
37688
+ #n = e.state(void 0);
37651
37689
  get notesMaster() {
37652
- return e.get(this.#a);
37690
+ return e.get(this.#n);
37653
37691
  }
37654
37692
  set notesMaster(a) {
37655
- e.set(this.#a, a);
37693
+ e.set(this.#n, a);
37656
37694
  }
37657
37695
  #i = e.state(void 0);
37658
37696
  get handoutMaster() {
@@ -37668,12 +37706,12 @@ var vY = class {
37668
37706
  set sections(a) {
37669
37707
  e.set(this.#r, a);
37670
37708
  }
37671
- #n = e.state({});
37709
+ #a = e.state({});
37672
37710
  get headerFooter() {
37673
- return e.get(this.#n);
37711
+ return e.get(this.#a);
37674
37712
  }
37675
37713
  set headerFooter(a) {
37676
- e.set(this.#n, a);
37714
+ e.set(this.#a, a);
37677
37715
  }
37678
37716
  #s = e.state({});
37679
37717
  get presentationProperties() {
@@ -37993,8 +38031,8 @@ var fY = class {
37993
38031
  set current(a) {
37994
38032
  e.set(this.#t, a, !0);
37995
38033
  }
37996
- #a = Rv();
37997
- #i = gY(this.#a, (a) => a);
38034
+ #n = Rv();
38035
+ #i = gY(this.#n, (a) => a);
37998
38036
  #r = e.state(!1);
37999
38037
  get isFullscreen() {
38000
38038
  return e.get(this.#r);
@@ -38008,10 +38046,10 @@ var fY = class {
38008
38046
  }
38009
38047
  set zoomPercent(a) {
38010
38048
  if (a === null) {
38011
- this.#a.dispatch({ type: "zoom-to-fit" });
38049
+ this.#n.dispatch({ type: "zoom-to-fit" });
38012
38050
  return;
38013
38051
  }
38014
- this.#a.dispatch({
38052
+ this.#n.dispatch({
38015
38053
  type: "set-zoom",
38016
38054
  zoom: a / 100
38017
38055
  });
@@ -38035,19 +38073,19 @@ var fY = class {
38035
38073
  this.goTo(this.slideCount - 1);
38036
38074
  }
38037
38075
  zoomIn(a) {
38038
- this.#a.dispatch({
38076
+ this.#n.dispatch({
38039
38077
  type: "set-zoom",
38040
38078
  zoom: (this.zoomPercent ?? a) / 100
38041
38079
  }, { type: "zoom-in" });
38042
38080
  }
38043
38081
  zoomOut(a) {
38044
- this.#a.dispatch({
38082
+ this.#n.dispatch({
38045
38083
  type: "set-zoom",
38046
38084
  zoom: (this.zoomPercent ?? a) / 100
38047
38085
  }, { type: "zoom-out" });
38048
38086
  }
38049
38087
  zoomToFit() {
38050
- this.#a.dispatch({ type: "zoom-to-fit" });
38088
+ this.#n.dispatch({ type: "zoom-to-fit" });
38051
38089
  }
38052
38090
  handleNavigationKey(a) {
38053
38091
  const t = gX(a);
@@ -38376,12 +38414,12 @@ var _Y = class {
38376
38414
  set themeKey(a) {
38377
38415
  e.set(this.#t, a, !0);
38378
38416
  }
38379
- #a = e.state(void 0);
38417
+ #n = e.state(void 0);
38380
38418
  get localeOverride() {
38381
- return e.get(this.#a);
38419
+ return e.get(this.#n);
38382
38420
  }
38383
38421
  set localeOverride(a) {
38384
- e.set(this.#a, a, !0);
38422
+ e.set(this.#n, a, !0);
38385
38423
  }
38386
38424
  constructor(a) {
38387
38425
  this.#e = a, this.themeKey = je(() => a.getDefaultThemeKey()) ?? Ei().themeKey ?? "default", this.localeOverride = je(() => a.getDefaultLocale()) ?? Ei().localeCode;