pptx-svelte-viewer 4.1.3 → 4.1.5

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 Ko, $d as Av, $f as zv, $g as Wo, $h as Zo, $i as Dv, $l as Go, $m as Ov, $n as qv, $o as Rv, $p as Nv, $r as Fv, $s as bi, $t as xi, $u as Lv, A as Bv, Aa as Xo, Ac as jv, Ad as Uv, Af as Hv, Ag as Vv, Ah as Kv, Ai as Wv, Al as Vr, Am as Zv, An as Fn, Ao as Gv, Ap as Xv, Ar as Yv, As as Jv, At as Qv, Au as $v, B as ep, Ba as tp, Bc as yi, Bd as ap, Bf as np, Bg as wi, Bh as ip, Bi as rp, Bl as Yo, Bm as sp, Bo as Si, Bp as lp, Br as Jo, Bs as op, Bt as dp, Bu as Qo, C as cp, Ca as dt, Cc as up, Cd as vp, Cf as $o, Cg as pp, Ci as hp, Cl as gp, Cm as fp, Cn as mp, Co as ed, Cp as Qe, Cr as _p, Cs as Gt, Ct as bp, Cu as xp, D as yp, Da as wp, Dc as Sp, Dd as Kr, Df as kp, Dg as Tp, Dh as Cp, Di as Ep, Dl as Pp, Dm as Ip, Dn as Mp, Do as Ap, Dp as zp, Dr as Dp, Ds as Op, Dt as qp, Du as nr, E as Rp, Ea as Np, Ec as Fp, Ed as Lp, Ef as Bp, Eg as jp, Eh as Up, Ei as Hp, El as Vp, Em as Kp, En as Wp, Eo as Zp, Ep as Gp, Er as Xp, Es as Yp, Et as Jp, Eu as td, F as oe, Fa as Wr, Fd as Qp, Ff as $p, Fg as tt, Fh as eh, Fi as th, Fl as ah, Fm as nh, Fn as ad, Fo as ih, Fp as rh, Fr as sh, Fs as lh, Ft as oh, Fu as dh, G as ch, Ga as uh, Gc as vh, Gd as ph, Gf as hh, Gg as nd, Gh as Ln, Gi as gh, Gl as fh, Gm as mh, Gn as _h, Go as bh, Gp as xh, Gr as yh, Gs as id, Gu as Zr, H as Bn, Ha as wh, Hc as Sh, Hd as kh, Hf as Th, Hg as Ch, Hh as Gr, Hi as Eh, Hl as Ph, Hm as Ot, Hn as Ih, Ho as Mh, Hp as Ah, Hr as zh, Hs as Dh, Ht as Oh, Hu as qh, I as Rh, Ia as Nh, Ic as Fh, Id as ki, If as Ea, Ig as Fe, Ih as Lh, Ii as Bh, Il as jh, Im as rd, In as Uh, Io as Hh, Ip as Vh, Ir as Kh, Is as Wh, It as Zh, Iu as Gh, J as Xh, Ja as sd, Jc as Xr, Jf as Yh, Jg as Jh, Jh as Qh, Ji as $h, Jl as eg, Jm as tg, Jn as ag, Jo as ng, Jp as ig, Jr as rg, Js as Yr, Jt as sg, Ju as lg, K as og, Ka as dg, Kc as cg, Kd as ug, Kg as vg, Kh as pg, Ki as hg, Kl as qt, Km as gg, Kn as fg, Ko as mg, Kp as _g, Kr as ia, Ks as ld, Kt as bg, Ku as xg, L as yg, La as wg, Lc as Sg, Ld as kg, Lf as Tg, Lg as Cg, Lh as Eg, Li as od, Ll as Pg, Lm as Ig, Ln as Jr, Lo as Mg, Lp as Ag, Lr as zg, Ls as Ja, Lt as dd, Lu as Dg, M as Og, Ma as qg, Mc as Rg, Md as Ng, Mg as Fg, Mh as Lg, Mi as Bg, Ml as jg, Mm as Ug, Mn as Hg, Mo as cd, Mp as ud, Mr as vd, Ms as Qr, Mt as Vg, Mu as Kg, N as Wg, Na as Zg, Nc as Gg, Nd as Xg, Nf as Yg, Ng as Jg, Nh as Qg, Ni as $g, Nl as ef, Nm as tf, Nn as af, No as pd, Np as nf, Nr as rf, Ns as sf, Nt as lf, Nu as of, O as ir, Oa as df, Od as At, Of as cf, Og as Ti, Oh as uf, Oi as vf, Ol as pf, Om as hf, On as gf, Oo as ff, Op as mf, Or as _f, Os as bf, Ot as xf, Ou as yf, P as wf, Pa as Sf, Pc as kf, Pd as rr, Pf as Tf, Pg as hd, Ph as Cf, Pi as Ef, Pl as Pf, Pm as If, Pn as Ht, Po as Mf, Pp as Af, Pr as zf, Ps as Df, Pt as $r, Pu as Of, Q as qf, Qa as Rf, Qc as Nf, Qd as Ff, Qf as Lf, Qg as Bf, Qh as gd, Qi as vn, Ql as jf, Qm as Uf, Qn as Hf, Qo as fd, Qp as Vf, Qr as Kf, Qs as Wf, Qt as Zf, Qu as jn, R as Gf, Ra as es, Rc as Xf, Rd as Yf, Rf as Jf, Rg as Ci, Rh as Qf, Ri as $f, Rm as em, Rn as ts, Ro as as, Rp as tm, Rr as am, Rs as nm, Rt as md, Ru as im, S as rm, S_ as Qa, Sa as sm, Sc as _d, Sd as lm, Sf as bd, Sg as xd, Sh as om, Si as dm, Sl as cm, Sm as um, Sn as vm, So as pm, Sp as hm, Sr as gm, Ss as fm, St as mm, Su as _m, T as _t, Ta as bm, Tc as xm, Td as ym, Tf as wm, Tg as Sm, Ti as km, Tm as yd, Tn as Tm, To as Cm, Tp as Em, Tr as Pm, Ts as Im, Tt as Mm, Tu as Un, U as Am, Ua as ns, Uc as wd, Ud as zm, Uf as Dm, Ug as Om, Ui as qm, Ul as Rm, Um as Nm, Un as Fm, Uo as is, Up as Lm, Ur as Bm, Us as jm, Uu as sr, V as Um, Va as Hm, Vc as Vm, Vd as Km, Vf as Wm, Vg as Zm, Vh as Gm, Vi as Xm, Vl as ba, Vm as Ym, Vn as Jm, Vp as Qm, Vr as $m, Vs as Sd, Vt as rs, Vu as e_, W as t_, Wa as kd, Wc as a_, Wd as Ei, Wf as n_, Wg as ss, Wi as i_, Wl as r_, Wm as s_, Wn as l_, Wo as ls, Wp as o_, Wr as d_, Ws as c_, Wt as u_, Wu as v_, X as p_, Xa as h_, Xc as g_, Xd as f_, Xf as $a, Xg as m_, Xh as Td, Xi as __, Xl as os, Xm as b_, Xn as x_, Xo as y_, Xp as w_, Xr as S_, Xs as k_, Xt as Cd, Xu as T_, Y as C_, Ya as E_, Yc as P_, Yd as I_, Yf as Ed, Yg as M_, Yh as Pd, Yi as Id, Yl as A_, Ym as z_, Yn as D_, Yo as O_, Yp as q_, Yr as R_, Ys as N_, Yt as F_, Yu as L_, Z as B_, Za as j_, Zc as U_, Zd as H_, Zg as V_, Zh as K_, Zi as W_, Zl as Z_, Zm as G_, Zn as X_, Zo as Y_, Zp as J_, Zr as Md, Zs as Q_, Zt as Hn, Zu as $_, _ as eb, __ as Ad, _a as tb, _d as ab, _f as nb, _g as zd, _h as ib, _i as rb, _l as sb, _m as lb, _n as wt, _o as ob, _p as Pi, _r as db, _s as cb, _t as ds, _u as Dd, a as ub, a_ as vb, aa as Od, ac as qd, af as pb, ag as hb, ah as gb, ai as fb, al as mb, am as _b, an as bb, ao as xb, ap as lr, ar as yb, at as wb, au as Sb, b as kb, b_ as Tb, ba as Cb, bc as ka, bd as Eb, bf as Pb, bg as Ib, bh as Mb, bi as Ab, bl as zb, bm as Db, bn as Ii, bo as Rd, bp as Ob, br as Nd, bs as qb, bt as Rb, bu as Nb, c as Fb, c_ as Lb, ca as Bb, cc as Fd, cd as cs, cf as jb, cg as Ub, ch as Vn, ci as Hb, cl as Vb, cm as Kb, cn as Wb, co as Zb, ct as Gb, cu as Xb, d as Yb, d_ as Jb, da as Qb, dc as $b, dd as ex, df as tx, dg as Ld, dh as ra, di as ax, dl as nt, dm as nx, dn as Kn, do as ix, dp as rx, dr as sx, ds as lx, dt as us, du as ox, e_ as dx, ea as cx, ec as ux, ed as vx, ef as px, eg as Wn, eh as hx, ei as gx, el as Bd, em as fx, en as mx, eo as jd, ep as _x, er as bx, es as Ud, et as xx, eu as yx, f as wx, f_ as Sx, fa as kx, fc as Tx, fd as Cx, ff as Ex, fg as Px, fh as gt, fi as Ix, fl as Mx, fm as Ax, fo as zx, fr as Dx, fs as Ox, fu as qx, g as Rx, g_ as Nx, ga as Fx, gc as Lx, gd as Bx, gf as jx, gg as Hd, gh as Ux, gi as Hx, gl as Vx, gm as Kx, gn as Wx, go as Vd, gp as Zx, gs as Gx, gt as Xx, gu as Mi, h as Yx, h_ as Jx, ha as Qx, hc as $x, hd as e1, hf as t1, hg as Kd, hh as a1, hi as n1, hl as i1, hm as Zn, hn as Pa, ho as r1, hp as vs, hr as s1, hs as l1, hu as o1, i as Wd, i_ as d1, ia as c1, ic as or, id as u1, if as v1, ig as p1, ih as h1, ii as g1, il as f1, im as m1, io as Zd, ir as _1, is as b1, it as x1, iu as y1, j as Rt, ja as w1, jc as S1, jd as k1, jg as Ai, jh as T1, ji as C1, jl as E1, jm as P1, jn as ps, jo as I1, jp as M1, jr as A1, js as z1, jt as D1, ju as O1, k as Gd, ka as q1, kc as R1, kd as N1, kf as F1, kg as zi, kh as L1, ki as dr, km as B1, kn as j1, ko as U1, kp as Gn, kr as H1, ks as V1, kt as K1, ku as W1, l as Z1, l_ as G1, la as X1, lc as Y1, ld as J1, lf as Xd, lg as Yd, lh as sa, li as Q1, ll as Di, lm as $1, ln as ey, lo as Jd, lp as ty, lr as ay, ls as Oi, lu as ny, m as iy, m_ as ry, ma as sy, mc as ly, md as oy, mf as dy, mg as cy, mh as hs, mi as uy, ml as vy, mm as py, mn as cr, mo as hy, mp as gy, mr as fy, ms as gs, mt as my, mu as _y, n as lt, n_ as Qd, na as by, nd as xy, nf as yy, ng as $d, nh as wy, ni as Sy, nl as ky, nm as Ty, no as Cy, np as Ey, nr as Py, ns as Iy, nt as My, nu as Ay, o as zy, o_ as qi, oa as Dy, oc as ur, od as Oy, of as vr, og as ec, oh as qy, oi as Ry, ol as pr, om as Ny, on as Fy, oo as Ly, op as By, ot as jy, ou as Uy, p as Hy, p_ as Vy, pa as tc, pc as fs, pd as Ky, pf as Wy, pg as Zy, ph as Gy, pi as Xy, pl as Yy, pm as Jy, pn as Qy, po as $y, pp as e2, pr as Xn, pt as t2, pu as ac, q as a2, qa as n2, qc as i2, qd as hr, qf as r2, qg as s2, qh as Ia, qi as l2, ql as o2, qm as d2, qn as c2, qo as nc, qp as u2, qr as v2, qs as p2, qt as h2, qu as g2, r as f2, r_ as m2, ra as _2, rc as b2, rd as x2, rf as y2, rg as w2, rh as S2, ri as ic, rl as k2, rm as T2, ro as C2, rp as ms, rr as _s, rs as E2, rt as Ma, ru as P2, s as I2, s_ as M2, sa as A2, sc as z2, sd as rc, sf as gr, sg as D2, sh as Yn, si as O2, sl as q2, sm as sc, so as R2, sp as N2, ss as F2, st as L2, su as B2, t as j2, t_ as Ri, ta as U2, tc as lc, td as Ni, tf as H2, tg as V2, th as oc, ti as K2, tl as Jn, tm as W2, tn as Z2, to as G2, tp as X2, tr as Y2, ts as J2, tu as Fi, u as Q2, u_ as $2, ua as ew, uc as tw, ud as aw, uf as nw, ug as dc, uh as Ft, ui as iw, ul as Li, um as rw, un as sw, uo as lw, up as cc, ur as ow, us as dw, ut as cw, uu as uw, v as vw, v_ as pw, va as hw, vc as gw, vd as fw, vf as mw, vg as _w, vh as bw, vi as xw, vl as uc, vm as yw, vn as Qn, vo as ww, vp as Sw, vr as vc, vs as kw, vt as Tw, vu as Cw, w as Ew, wa as Pw, wc as pc, wd as Iw, wf as Mw, wg as Aw, wh as zw, wi as Dw, wl as Ow, wm as hc, wo as qw, wp as Rw, wr as Nw, ws as gc, wt as Fw, wu as Lw, x as Bw, x_ as jw, xa as Uw, xc as Hw, xd as Vw, xf as Kw, xg as Ww, xi as Zw, xl as Gw, xm as Xw, xn as Yw, xo as bs, xp as Jw, xr as Qw, xs as $w, xu as e0, y as t0, y_ as fc, ya as xs, yc as mc, yd as a0, yf as n0, yg as i0, yh as r0, yi as s0, yl as la, ym as Aa, yn as _c, yo as bc, yp as ys, yr as l0, ys as o0, yt as d0, yu as c0, z as u0, za as v0, zc as xc, zd as p0, zf as h0, zg as g0, zh as f0, zi as m0, zm as yc, zn as _0, zo as b0, zp as x0, zr as y0, zs as wc, zt as Sc, zu as w0 } from "./transition-overlay-6-XCGrBb.js";
1
+ import { $ as Ho, $a as Mv, $c as Vo, $d as Av, $f as zv, $g as Ko, $h as Wo, $i as Dv, $l as Zo, $m as Ov, $n as qv, $o as Rv, $p as Nv, $r as Fv, $s as xi, $t as yi, $u as Lv, A as Bv, Aa as Go, Ac as jv, Ad as Uv, Af as Hv, Ag as Vv, Ah as Kv, Ai as Wv, Al as Vr, Am as Zv, An as Fn, Ao as Gv, Ap as Xv, Ar as Yv, As as Jv, At as Qv, Au as $v, B as ep, Ba as tp, Bc as wi, Bd as ap, Bf as np, Bg as Si, Bh as ip, Bi as rp, Bl as Xo, Bm as sp, Bo as ki, Bp as lp, Br as Yo, Bs as op, Bt as dp, Bu as Jo, C as cp, Ca as dt, Cc as up, Cd as vp, Cf as Qo, Cg as pp, Ci as hp, Cl as gp, Cm as fp, Cn as mp, Co as $o, Cp as Qe, Cr as _p, Cs as Gt, Ct as bp, Cu as xp, D as yp, Da as wp, Dc as Sp, Dd as Kr, Df as kp, Dg as Tp, Dh as Cp, Di as Ep, Dl as Pp, Dm as Ip, Dn as Mp, Do as Ap, Dp as zp, Dr as Dp, Ds as Op, Dt as qp, Du as ir, E as Rp, Ea as Np, Ec as Fp, Ed as Lp, Ef as Bp, Eg as jp, Eh as Up, Ei as Hp, El as Vp, Em as Kp, En as Wp, Eo as Zp, Ep as Gp, Er as Xp, Es as Yp, Et as Jp, Eu as ed, F as oe, Fa as Wr, Fd as Qp, Ff as $p, Fg as tt, Fh as eh, Fi as th, Fl as ah, Fm as nh, Fn as td, Fo as ih, Fp as rh, Fr as sh, Fs as lh, Ft as oh, Fu as dh, G as ch, Ga as uh, Gc as vh, Gd as ph, Gf as hh, Gg as ad, Gh as Ln, Gi as gh, Gl as fh, Gm as mh, Gn as _h, Go as bh, Gp as xh, Gr as yh, Gs as nd, Gu as Zr, H as Bn, Ha as wh, Hc as Sh, Hd as kh, Hf as Th, Hg as Ch, Hh as Gr, Hi as Eh, Hl as Ph, Hm as Ot, Hn as Ih, Ho as Mh, Hp as Ah, Hr as zh, Hs as Dh, Ht as Oh, Hu as qh, I as Rh, Ia as Nh, Ic as Fh, Id as Ti, If as Ea, Ig as Fe, Ih as Lh, Ii as Bh, Il as jh, Im as id, In as Uh, Io as Hh, Ip as Vh, Ir as Kh, Is as Wh, It as Zh, Iu as Gh, J as Xh, Ja as rd, Jc as Xr, Jf as Yh, Jg as Jh, Jh as Qh, Ji as $h, Jl as eg, Jm as tg, Jn as ag, Jo as ng, Jp as ig, Jr as rg, Js as Yr, Jt as sg, Ju as lg, K as og, Ka as dg, Kc as cg, Kd as ug, Kg as vg, Kh as pg, Ki as hg, Kl as qt, Km as gg, Kn as fg, Ko as mg, Kp as _g, Kr as ia, Ks as sd, Kt as bg, Ku as xg, L as yg, La as wg, Lc as Sg, Ld as kg, Lf as Tg, Lg as Cg, Lh as Eg, Li as ld, Ll as Pg, Lm as Ig, Ln as Jr, Lo as Mg, Lp as Ag, Lr as zg, Ls as Ja, Lt as od, Lu as Dg, M as Og, Ma as qg, Mc as Rg, Md as Ng, Mg as Fg, Mh as Lg, Mi as Bg, Ml as jg, Mm as Ug, Mn as Hg, Mo as dd, Mp as cd, Mr as ud, Ms as Qr, Mt as Vg, Mu as Kg, N as Wg, Na as Zg, Nc as Gg, Nd as Xg, Nf as Yg, Ng as Jg, Nh as Qg, Ni as $g, Nl as ef, Nm as tf, Nn as af, No as vd, Np as nf, Nr as rf, Ns as sf, Nt as lf, Nu as of, O as rr, Oa as df, Od as At, Of as cf, Og as Ci, Oh as uf, Oi as vf, Ol as pf, Om as hf, On as gf, Oo as ff, Op as mf, Or as _f, Os as bf, Ot as xf, Ou as yf, P as wf, Pa as Sf, Pc as kf, Pd as sr, Pf as Tf, Pg as pd, Ph as Cf, Pi as Ef, Pl as Pf, Pm as If, Pn as Ht, Po as Mf, Pp as Af, Pr as zf, Ps as Df, Pt as $r, Pu as Of, Q as qf, Qa as Rf, Qc as Nf, Qd as Ff, Qf as Lf, Qg as Bf, Qh as hd, Qi as vn, Ql as jf, Qm as Uf, Qn as Hf, Qo as gd, Qp as Vf, Qr as Kf, Qs as Wf, Qt as Zf, Qu as jn, R as Gf, Ra as es, Rc as Xf, Rd as Yf, Rf as Jf, Rg as Ei, Rh as Qf, Ri as $f, Rm as em, Rn as ts, Ro as as, Rp as tm, Rr as am, Rs as nm, Rt as fd, Ru as im, S as rm, S_ as Qa, Sa as sm, Sc as md, Sd as lm, Sf as _d, Sg as bd, Sh as om, Si as dm, Sl as cm, Sm as um, Sn as vm, So as pm, Sp as hm, Sr as gm, Ss as fm, St as mm, Su as _m, T as _t, Ta as bm, Tc as xm, Td as ym, Tf as wm, Tg as Sm, Ti as km, Tm as xd, Tn as Tm, To as Cm, Tp as Em, Tr as Pm, Ts as Im, Tt as Mm, Tu as Un, U as Am, Ua as ns, Uc as yd, Ud as zm, Uf as Dm, Ug as Om, Ui as qm, Ul as Rm, Um as Nm, Un as Fm, Uo as is, Up as Lm, Ur as Bm, Us as jm, Uu as wd, V as Um, Va as Hm, Vc as Vm, Vd as Km, Vf as Wm, Vg as Zm, Vh as Gm, Vi as Xm, Vl as ba, Vm as Ym, Vn as Jm, Vp as Qm, Vr as $m, Vs as Sd, Vt as rs, Vu as e_, W as t_, Wa as kd, Wc as a_, Wd as Pi, Wf as n_, Wg as ss, Wi as i_, Wl as r_, Wm as s_, Wn as l_, Wo as ls, Wp as o_, Wr as d_, Ws as c_, Wt as u_, Wu as v_, X as p_, Xa as h_, Xc as g_, Xd as f_, Xf as $a, Xg as m_, Xh as Td, Xi as __, Xl as os, Xm as b_, Xn as x_, Xo as y_, Xp as w_, Xr as S_, Xs as k_, Xt as Cd, Xu as T_, Y as C_, Ya as E_, Yc as P_, Yd as I_, Yf as Ed, Yg as M_, Yh as Pd, Yi as Id, Yl as A_, Ym as z_, Yn as D_, Yo as O_, Yp as q_, Yr as R_, Ys as N_, Yt as F_, Yu as L_, Z as B_, Za as j_, Zc as U_, Zd as H_, Zg as V_, Zh as K_, Zi as W_, Zl as Z_, Zm as G_, Zn as X_, Zo as Y_, Zp as J_, Zr as Md, Zs as Q_, Zt as Hn, Zu as $_, _ as eb, __ as Ad, _a as tb, _d as ab, _f as nb, _g as zd, _h as ib, _i as rb, _l as sb, _m as lb, _n as wt, _o as ob, _p as Ii, _r as db, _s as cb, _t as ds, _u as Dd, a as ub, a_ as vb, aa as Od, ac as qd, af as pb, ag as hb, ah as gb, ai as fb, al as mb, am as _b, an as bb, ao as xb, ap as lr, ar as yb, at as wb, au as Sb, b as kb, b_ as Tb, ba as Cb, bc as ka, bd as Eb, bf as Pb, bg as Ib, bh as Mb, bi as Ab, bl as zb, bm as Db, bn as Mi, bo as Rd, bp as Ob, br as Nd, bs as qb, bt as Rb, bu as Nb, c as Fb, c_ as Lb, ca as Bb, cc as Fd, cd as cs, cf as jb, cg as Ub, ch as Vn, ci as Hb, cl as Vb, cm as Kb, cn as Wb, co as Zb, ct as Gb, cu as Xb, d as Yb, d_ as Jb, da as Qb, dc as $b, dd as ex, df as tx, dg as Ld, dh as ra, di as ax, dl as nt, dm as nx, dn as Kn, do as ix, dp as rx, dr as sx, ds as lx, dt as us, du as ox, e_ as dx, ea as cx, ec as ux, ed as vx, ef as px, eg as Wn, eh as hx, ei as gx, el as Bd, em as fx, en as mx, eo as jd, ep as _x, er as bx, es as Ud, et as xx, eu as yx, f as wx, f_ as Sx, fa as kx, fc as Tx, fd as Cx, ff as Ex, fg as Px, fh as gt, fi as Ix, fl as Mx, fm as Ax, fo as zx, fr as Dx, fs as Ox, fu as qx, g as Rx, g_ as Nx, ga as Fx, gc as Lx, gd as Bx, gf as jx, gg as Hd, gh as Ux, gi as Hx, gl as Vx, gm as Kx, gn as Wx, go as Vd, gp as Zx, gs as Gx, gt as Xx, gu as Ai, h as Yx, h_ as Jx, ha as Qx, hc as $x, hd as e1, hf as t1, hg as Kd, hh as a1, hi as n1, hl as i1, hm as Zn, hn as Pa, ho as r1, hp as vs, hr as s1, hs as l1, hu as o1, i as Wd, i_ as d1, ia as c1, ic as or, id as u1, if as v1, ig as p1, ih as h1, ii as g1, il as f1, im as m1, io as Zd, ir as _1, is as b1, it as x1, iu as y1, j as Rt, ja as w1, jc as S1, jd as k1, jg as zi, jh as T1, ji as C1, jl as E1, jm as P1, jn as ps, jo as I1, jp as M1, jr as A1, js as z1, jt as D1, ju as O1, k as Gd, ka as q1, kc as R1, kd as N1, kf as F1, kg as Di, kh as L1, ki as dr, km as B1, kn as j1, ko as U1, kp as Gn, kr as H1, ks as V1, kt as K1, ku as W1, l as Z1, l_ as G1, la as X1, lc as Y1, ld as J1, lf as Xd, lg as Yd, lh as sa, li as Q1, ll as Oi, lm as $1, ln as ey, lo as Jd, lp as ty, lr as ay, ls as qi, lu as ny, m as iy, m_ as ry, ma as sy, mc as ly, md as oy, mf as dy, mg as cy, mh as hs, mi as uy, ml as vy, mm as py, mn as cr, mo as hy, mp as gy, mr as fy, ms as gs, mt as my, mu as _y, n as lt, n_ as Qd, na as by, nd as xy, nf as yy, ng as $d, nh as wy, ni as Sy, nl as ky, nm as Ty, no as Cy, np as Ey, nr as Py, ns as Iy, nt as My, nu as Ay, o as zy, o_ as Ri, oa as Dy, oc as ur, od as Oy, of as vr, og as ec, oh as qy, oi as Ry, ol as pr, om as Ny, on as Fy, oo as Ly, op as By, ot as jy, ou as Uy, p as Hy, p_ as Vy, pa as tc, pc as fs, pd as Ky, pf as Wy, pg as Zy, ph as Gy, pi as Xy, pl as Yy, pm as Jy, pn as Qy, po as $y, pp as e2, pr as Xn, pt as t2, pu as ac, q as a2, qa as n2, qc as i2, qd as hr, qf as r2, qg as s2, qh as Ia, qi as l2, ql as o2, qm as d2, qn as c2, qo as nc, qp as u2, qr as v2, qs as p2, qt as h2, qu as g2, r as f2, r_ as m2, ra as _2, rc as b2, rd as x2, rf as y2, rg as w2, rh as S2, ri as ic, rl as k2, rm as T2, ro as C2, rp as ms, rr as _s, rs as E2, rt as Ma, ru as P2, s as I2, s_ as M2, sa as A2, sc as z2, sd as rc, sf as gr, sg as D2, sh as Yn, si as O2, sl as q2, sm as sc, so as R2, sp as N2, ss as F2, st as L2, su as B2, t as j2, t_ as Ni, ta as U2, tc as lc, td as Fi, tf as H2, tg as V2, th as oc, ti as K2, tl as Jn, tm as W2, tn as Z2, to as G2, tp as X2, tr as Y2, ts as J2, tu as Li, u as Q2, u_ as $2, ua as ew, uc as tw, ud as aw, uf as nw, ug as dc, uh as Ft, ui as iw, ul as Bi, um as rw, un as sw, uo as lw, up as cc, ur as ow, us as dw, ut as cw, uu as uw, v as vw, v_ as pw, va as hw, vc as gw, vd as fw, vf as mw, vg as _w, vh as bw, vi as xw, vl as uc, vm as yw, vn as Qn, vo as ww, vp as Sw, vr as vc, vs as kw, vt as Tw, vu as Cw, w as Ew, wa as Pw, wc as pc, wd as Iw, wf as Mw, wg as Aw, wh as zw, wi as Dw, wl as Ow, wm as hc, wo as qw, wp as Rw, wr as Nw, ws as gc, wt as Fw, wu as Lw, x as Bw, x_ as jw, xa as Uw, xc as Hw, xd as Vw, xf as Kw, xg as Ww, xi as Zw, xl as Gw, xm as Xw, xn as Yw, xo as bs, xp as Jw, xr as Qw, xs as $w, xu as e0, y as t0, y_ as fc, ya as xs, yc as mc, yd as a0, yf as n0, yg as i0, yh as r0, yi as s0, yl as la, ym as Aa, yn as _c, yo as bc, yp as ys, yr as l0, ys as o0, yt as d0, yu as c0, z as u0, za as v0, zc as xc, zd as p0, zf as h0, zg as g0, zh as f0, zi as m0, zm as yc, zn as _0, zo as b0, zp as x0, zr as y0, zs as wc, zt as Sc, zu as w0 } from "./transition-overlay-DIPxa90i.js";
2
2
  import { n as S0, o as k0, t as T0 } 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 I0() {
18
18
  var M0 = e.from_html('<div class="pptx-svelte-ai-dock svelte-1h57n9l"><!></div>');
19
19
  function A0(a, t) {
20
20
  var n = M0(), i = e.child(n);
21
- e.await(i, () => import("./AiChatPanel-bzw26j0l.js"), null, (r, s) => {
21
+ e.await(i, () => import("./AiChatPanel-DnapEF5O.js"), null, (r, s) => {
22
22
  var l = e.derived(() => {
23
23
  var { default: u } = e.get(s);
24
24
  return { AiChatPanel: u };
@@ -97,7 +97,7 @@ function U0(a, t) {
97
97
  const o = e.derived(() => wp({
98
98
  roomId: e.get(i),
99
99
  serverUrl: e.get(r)
100
- })), d = e.derived(() => lr(e.get(r)) === "webrtc"), c = e.derived(() => t.active ? n("pptx.broadcast.broadcastingTitle") : n("pptx.broadcast.startTitle")), u = e.derived(() => typeof navigator < "u" && Xo(navigator));
100
+ })), d = e.derived(() => lr(e.get(r)) === "webrtc"), c = e.derived(() => t.active ? n("pptx.broadcast.broadcastingTitle") : n("pptx.broadcast.startTitle")), u = e.derived(() => typeof navigator < "u" && Go(navigator));
101
101
  function p() {
102
102
  const f = C1({
103
103
  roomId: e.get(i),
@@ -584,12 +584,12 @@ var Pt = {
584
584
  "stroke-width": 2,
585
585
  "stroke-linecap": "round",
586
586
  "stroke-linejoin": "round"
587
- }, Bi = (...a) => a.filter((t, n, i) => !!t && t.trim() !== "" && i.indexOf(t) === n).join(" ").trim();
587
+ }, ji = (...a) => a.filter((t, n, i) => !!t && t.trim() !== "" && i.indexOf(t) === n).join(" ").trim();
588
588
  function $n(a) {
589
589
  return a != null;
590
590
  }
591
591
  function fS(a, t = {}) {
592
- const n = t.attributeNames ?? {}, i = (p) => n[p] ?? p, r = a.size ?? a.width ?? Pt.width, s = a.size ?? a.height ?? Pt.height, l = a.aliases?.filter((p) => typeof p == "string" && p.trim() !== "").map((p) => `lucide-${p}`) ?? [], o = [...a.name ? [`lucide-${a.name}`] : [], ...l], d = t.className?.split(" ").filter(Boolean) ?? [], c = t.includeDefaultClasses === !1 ? Bi(...d) : Bi("lucide", ...o, ...d), u = t.absoluteStrokeWidth ? Number(t.strokeWidth ?? Pt["stroke-width"]) * Number(a.size ?? a.width ?? Pt.width) / Number(t.size ?? t.width ?? Pt.width) : t.strokeWidth ?? Pt["stroke-width"];
592
+ const n = t.attributeNames ?? {}, i = (p) => n[p] ?? p, r = a.size ?? a.width ?? Pt.width, s = a.size ?? a.height ?? Pt.height, l = a.aliases?.filter((p) => typeof p == "string" && p.trim() !== "").map((p) => `lucide-${p}`) ?? [], o = [...a.name ? [`lucide-${a.name}`] : [], ...l], d = t.className?.split(" ").filter(Boolean) ?? [], c = t.includeDefaultClasses === !1 ? ji(...d) : ji("lucide", ...o, ...d), u = t.absoluteStrokeWidth ? Number(t.strokeWidth ?? Pt["stroke-width"]) * Number(a.size ?? a.width ?? Pt.width) / Number(t.size ?? t.width ?? Pt.width) : t.strokeWidth ?? Pt["stroke-width"];
593
593
  return [
594
594
  "svg",
595
595
  {
@@ -652,7 +652,7 @@ function ke(a, t) {
652
652
  strokeWidth: o(),
653
653
  absoluteStrokeWidth: d(),
654
654
  nonScalingStroke: c(),
655
- className: Bi("lucide-icon", n.class),
655
+ className: ji("lucide-icon", n.class),
656
656
  hasA11yProp: e.get(f),
657
657
  attributes: v
658
658
  })), m = e.derived(() => e.to_array(e.get(h), 3)), g = e.derived(() => e.get(m)[1]), y = e.derived(() => e.fallback(e.get(m)[2], () => [], !0)), S = e.derived(() => ({
@@ -822,7 +822,7 @@ function OS(a, t, n, i = []) {
822
822
  } : null;
823
823
  }
824
824
  case "table-split": {
825
- const l = ed(t, r, s);
825
+ const l = $o(t, r, s);
826
826
  return l ? {
827
827
  ...t,
828
828
  rows: l
@@ -842,15 +842,15 @@ function qS(a, t, n) {
842
842
  const { rowIndex: i, columnIndex: r } = n;
843
843
  switch (a) {
844
844
  case "table-insert-row-above":
845
- return Li(t, i, "above");
845
+ return Bi(t, i, "above");
846
846
  case "table-insert-row-below":
847
- return Li(t, i, "below");
847
+ return Bi(t, i, "below");
848
848
  case "table-delete-row":
849
849
  return gr(t, i);
850
850
  case "table-insert-col-left":
851
- return Di(t, r, "left");
851
+ return Oi(t, r, "left");
852
852
  case "table-insert-col-right":
853
- return Di(t, r, "right");
853
+ return Oi(t, r, "right");
854
854
  case "table-delete-col":
855
855
  return vr(t, r);
856
856
  default:
@@ -938,7 +938,7 @@ function Ic(a) {
938
938
  }
939
939
  function LS(a) {
940
940
  if (a.length === 1) return Ic(a[0]);
941
- const t = ud(a);
941
+ const t = cd(a);
942
942
  return t ? {
943
943
  ...t,
944
944
  rotation: 0
@@ -1155,7 +1155,7 @@ function ZS(a) {
1155
1155
  }, a.onMarquee(c), l();
1156
1156
  },
1157
1157
  beginTransform(o, d, c) {
1158
- const u = new Set(a.getTransformIds?.(o) ?? a.getSelectedIds()), p = a.getElements().filter((f) => u.has(f.id)), v = ud(p);
1158
+ const u = new Set(a.getTransformIds?.(o) ?? a.getSelectedIds()), p = a.getElements().filter((f) => u.has(f.id)), v = cd(p);
1159
1159
  return p.length < 2 || !v ? !1 : (d.preventDefault(), d.stopPropagation(), t = {
1160
1160
  kind: o,
1161
1161
  pointerId: d.pointerId,
@@ -1523,7 +1523,7 @@ var Cs = 400, Es = 40, dk = class {
1523
1523
  this.connectorEndpointDrag = null;
1524
1524
  const l = this.selectedConnector;
1525
1525
  if (!s || !l) return;
1526
- const o = this.#g(r), d = this.#v(), c = ld(jd(d.filter((v) => v.id !== l.id)), o.x, o.y), u = cf(l, d, s.kind, o, c), p = Qf(l, u);
1526
+ const o = this.#g(r), d = this.#v(), c = sd(jd(d.filter((v) => v.id !== l.id)), o.x, o.y), u = cf(l, d, s.kind, o, c), p = Qf(l, u);
1527
1527
  this.#e.pushHistory(), this.#e.replaceActiveElements(d.map((v) => v.id === l.id ? p : v)), this.#e.commitChange();
1528
1528
  };
1529
1529
  window.addEventListener("pointermove", n), window.addEventListener("pointerup", i), window.addEventListener("pointercancel", i);
@@ -1624,7 +1624,7 @@ var Cs = 400, Es = 40, dk = class {
1624
1624
  if (t.masterViewTarget || !i.checkModel(s)) return !0;
1625
1625
  const l = i.readAccepted();
1626
1626
  if (l && r) {
1627
- const o = Qo(r.elements, l);
1627
+ const o = Jo(r.elements, l);
1628
1628
  o !== r.elements && (t.slides = t.slides.map((d) => d === r ? {
1629
1629
  ...r,
1630
1630
  elements: [...o]
@@ -1714,7 +1714,7 @@ function hk(a, t, n, i = !1) {
1714
1714
  if (!r?.some((o) => n.includes(o.id)) || !n.map((o) => r.find((d) => d.id === o)).every((o) => dt(o, "group"))) return null;
1715
1715
  let s = null;
1716
1716
  const l = qt(a, t, (o) => {
1717
- const d = hd(o, n, i ? Yo(!0, n[0] ?? "group") : Tx());
1717
+ const d = pd(o, n, i ? Xo(!0, n[0] ?? "group") : Tx());
1718
1718
  return s = d.groupId, d.elements;
1719
1719
  });
1720
1720
  return s ? {
@@ -1725,7 +1725,7 @@ function hk(a, t, n, i = !1) {
1725
1725
  function gk(a, t, n, i = !1) {
1726
1726
  const r = a[t]?.elements.find((d) => d.id === n);
1727
1727
  if (!r || r.type !== "group" || !dt(r, "group")) return null;
1728
- const s = r.children.map((d) => Yo(i, d.id));
1728
+ const s = r.children.map((d) => Xo(i, d.id));
1729
1729
  let l = [];
1730
1730
  const o = qt(a, t, (d) => {
1731
1731
  const c = fc(d, n, s, { intoTemplate: i });
@@ -1806,7 +1806,7 @@ function _k(a, t, n) {
1806
1806
  }
1807
1807
  function bk(a, t, n, i = !1) {
1808
1808
  if (!a[t]) return null;
1809
- const r = sd(n.element, { intoTemplate: i });
1809
+ const r = rd(n.element, { intoTemplate: i });
1810
1810
  return {
1811
1811
  slides: qt(a, t, (s) => [...s, r]),
1812
1812
  newId: r.id
@@ -1858,7 +1858,7 @@ function mr(a) {
1858
1858
  }
1859
1859
  async function zc(a, t, n = "pptx", i, r = !0, s, l, o) {
1860
1860
  const d = {
1861
- ...od({
1861
+ ...ld({
1862
1862
  headerFooter: t.headerFooter,
1863
1863
  presentationProperties: t.presentationProperties,
1864
1864
  viewProperties: l,
@@ -1879,26 +1879,26 @@ async function zc(a, t, n = "pptx", i, r = !0, s, l, o) {
1879
1879
  }),
1880
1880
  ...o
1881
1881
  };
1882
- return t.slideMasters.length > 0 || t.notesMaster !== void 0 || t.handoutMaster !== void 0 ? Pi(a, t.slides, {
1882
+ return t.slideMasters.length > 0 || t.notesMaster !== void 0 || t.handoutMaster !== void 0 ? Ii(a, t.slides, {
1883
1883
  ...d,
1884
1884
  slideMasters: t.slideMasters,
1885
1885
  notesMaster: t.notesMaster,
1886
1886
  handoutMaster: t.handoutMaster,
1887
1887
  outputFormat: n
1888
- }, i) : Pi(a, t.slides, {
1888
+ }, i) : Ii(a, t.slides, {
1889
1889
  ...d,
1890
1890
  outputFormat: n
1891
1891
  }, i);
1892
1892
  }
1893
1893
  function yk(a, ...t) {
1894
- const [n, i = [], r, s, l = [], o, d, c = [], u = {}, p = {}, v = []] = t, f = sr(n);
1894
+ const [n, i = [], r, s, l = [], o, d, c = [], u = {}, p = {}, v = []] = t, f = wd(n);
1895
1895
  a.slides = f.slides, a.templateElementsBySlideId = f.templateElementsBySlideId, a.slideMasters = structuredClone(i), a.notesMaster = structuredClone(r), a.handoutMaster = structuredClone(s), a.sections = structuredClone(l), a.coreProperties = structuredClone(o), a.appProperties = structuredClone(d), a.customProperties = structuredClone(c), a.tagCollections = [], a.presentationMetadata.set(u, p, v), a.seedNonce += 1, Dc(a);
1896
1896
  }
1897
1897
  function Dc(a) {
1898
1898
  a.cancelInlineListEdit?.(), a.cancelInlineListEdit = void 0, a.readPendingInlineTextEdit = void 0, a.inlineListController = void 0, a.masterViewTarget = null, a.selection.clear(), a.editTemplateMode = !1, a.dirty = !1, a.interactionActive = !1, a.history.clear(), a.elementOps.resetNudge(), a.inkOps.setTool("select");
1899
1899
  }
1900
1900
  function wk(a, t) {
1901
- const n = sr(t);
1901
+ const n = wd(t);
1902
1902
  a.slides = n.slides, a.templateElementsBySlideId = n.templateElementsBySlideId, a.selection.prune((i) => a.activeElements.some((r) => r.id === i));
1903
1903
  }
1904
1904
  function Ps(a, t) {
@@ -1924,7 +1924,7 @@ async function Oc(a, t = "pptx") {
1924
1924
  if (!n) throw new Error("No presentation is loaded.");
1925
1925
  const i = a.readPendingInlineTextEdit?.(), r = a.snapshot(), s = i && "masterView" in i.target ? e_(r, i.target.masterView, i.snapshot, i.text) : null, l = a.renderedSlides.map((o) => i && "slideId" in i.target && i.target.slideId === o.id ? {
1926
1926
  ...o,
1927
- elements: [...Qo(o.elements, i.snapshot, i.text)]
1927
+ elements: [...Jo(o.elements, i.snapshot, i.text)]
1928
1928
  } : o);
1929
1929
  return zc(n, {
1930
1930
  ...r,
@@ -2003,7 +2003,7 @@ var Mk = 800, Ak = class {
2003
2003
  duplicateSelected() {
2004
2004
  const a = this.#e.selectedElement;
2005
2005
  if (!this.#e.editable || !a) return null;
2006
- const t = sd(a, { intoTemplate: this.#e.editTemplateMode });
2006
+ const t = rd(a, { intoTemplate: this.#e.editTemplateMode });
2007
2007
  return this.#e.pushHistory(), this.#e.replaceActiveElements([...this.#e.activeElements, t]), this.#e.selection.set(t.id), this.#e.commitChange(), t.id;
2008
2008
  }
2009
2009
  applyElementPatch(a, t) {
@@ -2252,7 +2252,7 @@ var Rk = "#000000", Nk = 3, Fk = class {
2252
2252
  }
2253
2253
  previewStroke(a) {
2254
2254
  const t = [...a];
2255
- this.livePathD = Ni(t), this.liveStrokeView = $h({
2255
+ this.livePathD = Fi(t), this.liveStrokeView = $h({
2256
2256
  points: t,
2257
2257
  color: this.color,
2258
2258
  width: this.width,
@@ -2266,7 +2266,7 @@ var Rk = "#000000", Nk = 3, Fk = class {
2266
2266
  return;
2267
2267
  }
2268
2268
  if (this.tool !== "pen" && this.tool !== "highlighter") return;
2269
- const t = yd({
2269
+ const t = xd({
2270
2270
  points: [...a],
2271
2271
  color: this.color,
2272
2272
  width: this.width,
@@ -2448,7 +2448,7 @@ var jk = class {
2448
2448
  this.editor = a;
2449
2449
  }
2450
2450
  get groups() {
2451
- return wd(this.editor.sections, this.editor.slides);
2451
+ return yd(this.editor.sections, this.editor.slides);
2452
2452
  }
2453
2453
  add(a, t = this.editor.currentSlideIndex) {
2454
2454
  if (!this.editor.editable || this.editor.slides.length === 0) return null;
@@ -2535,7 +2535,7 @@ function hn(a) {
2535
2535
  }
2536
2536
  function Wk(a, t) {
2537
2537
  const n = Math.min(Math.max(t + 1, 0), a.length), i = [...a];
2538
- return i.splice(n, 0, pd(n + 1, ba)), {
2538
+ return i.splice(n, 0, vd(n + 1, ba)), {
2539
2539
  slides: hn(i),
2540
2540
  newIndex: n
2541
2541
  };
@@ -2634,11 +2634,13 @@ var Jk = class {
2634
2634
  if (!this.#e.editable) return null;
2635
2635
  const t = this.#e.getHandler();
2636
2636
  if (!t) return null;
2637
- const n = this.#e.currentSlideIndex, i = await t.applyLayoutToSlide(n, a, this.#e.slides), r = sr([i]);
2638
- return this.#e.commitSlides(this.#e.slides.map((s, l) => l === n ? r.slides[0] : s)), this.#e.templateElementsBySlideId = {
2637
+ const n = this.#e.currentSlideIndex, i = this.#e.slides[n];
2638
+ if (!i) return null;
2639
+ const r = await t.applyLayoutToSlide(n, a, this.#e.slides), s = await t.getTemplateElementsForSlide(r.id);
2640
+ return this.#e.slides[n]?.id !== i.id ? null : (this.#e.commitSlides(this.#e.slides.map((l, o) => o === n ? r : l)), this.#e.templateElementsBySlideId = {
2639
2641
  ...this.#e.templateElementsBySlideId,
2640
- [i.id]: r.templateElementsBySlideId[i.id] ?? []
2641
- }, n;
2642
+ [r.id]: s
2643
+ }, n);
2642
2644
  }
2643
2645
  async resetSlide() {
2644
2646
  const a = nb(this.#e.slides[this.#e.currentSlideIndex]);
@@ -3503,7 +3505,7 @@ function Fc(a, t) {
3503
3505
  function MT(a, t) {
3504
3506
  return Fc(a, lc(a) + t);
3505
3507
  }
3506
- function ji(a, t, n) {
3508
+ function Ui(a, t, n) {
3507
3509
  return Ot(a, {
3508
3510
  color: t,
3509
3511
  colorRef: n
@@ -3518,7 +3520,7 @@ function zT(a, t) {
3518
3520
  function ha(a, t, n) {
3519
3521
  return sc(a, m1(t, n));
3520
3522
  }
3521
- function Ui(a, t, n) {
3523
+ function Hi(a, t, n) {
3522
3524
  return sc(a, _b(t, n));
3523
3525
  }
3524
3526
  function DT(a) {
@@ -3590,7 +3592,7 @@ function BT(a, t) {
3590
3592
  () => n("pptx.ribbon.insertImage"),
3591
3593
  () => n("pptx.insert.insertTable"),
3592
3594
  () => n("pptx.insert.insertTable")
3593
- ]), e.delegated("click", d, () => t.editor.insertElement(nr())), e.delegated("click", c, () => t.editor.insertElement(Un("rect"))), e.delegated("click", u, () => t.editor.insertElement(Un("ellipse"))), e.delegated("click", p, () => t.editor.insertElement(Un("line"))), e.delegated("click", v, s), e.delegated("click", f, () => t.editor.insertElement(td())), e.delegated("change", h, l), e.append(a, o), e.pop();
3595
+ ]), e.delegated("click", d, () => t.editor.insertElement(ir())), e.delegated("click", c, () => t.editor.insertElement(Un("rect"))), e.delegated("click", u, () => t.editor.insertElement(Un("ellipse"))), e.delegated("click", p, () => t.editor.insertElement(Un("line"))), e.delegated("click", v, s), e.delegated("click", f, () => t.editor.insertElement(ed())), e.delegated("change", h, l), e.append(a, o), e.pop();
3594
3596
  }
3595
3597
  e.delegate(["click", "change"]);
3596
3598
  function jT(a) {
@@ -3604,7 +3606,7 @@ function jT(a) {
3604
3606
  }, "pptx", void 0, n.embedFonts, $a({
3605
3607
  current: t.slideSize,
3606
3608
  canvas: t.canvasSize
3607
- }).size, void 0, rd({
3609
+ }).size, void 0, id({
3608
3610
  tableStyleMap: t.tableStyleMap,
3609
3611
  tableStylesDefaultId: t.tableStylesDefaultId,
3610
3612
  tableStylesToDelete: t.tableStylesToDelete
@@ -4629,7 +4631,7 @@ function VC(a, t) {
4629
4631
  const b = e.get(s)[x];
4630
4632
  if (b?.kind !== "editor") return;
4631
4633
  const T = Xd(e.get(s), b.key, _);
4632
- xr(t.editor, Jo(e.get(r), T));
4634
+ xr(t.editor, Yo(e.get(r), T));
4633
4635
  }
4634
4636
  function f(x, _) {
4635
4637
  !e.get(o) || e.get(s)[x]?.kind !== "editor" || (e.set(d, x, !0), _.dataTransfer && (_.dataTransfer.effectAllowed = "move", _.dataTransfer.setData("text/plain", String(x))));
@@ -4795,7 +4797,7 @@ function GC(a, t) {
4795
4797
  var za = e.from_html("<option> </option>"), XC = e.from_html('<label class="svelte-sg9hni"><span class="svelte-sg9hni"> </span> <select class="pptx-svelte-animp-trigger-shape svelte-sg9hni"><option> </option><!></select></label>'), YC = e.from_html('<div class="pptx-svelte-animp-subhead svelte-sg9hni"> </div> <label class="svelte-sg9hni"><span class="svelte-sg9hni"> </span> <select class="pptx-svelte-animp-trigger svelte-sg9hni"></select></label> <!> <label class="svelte-sg9hni"><span class="svelte-sg9hni"> </span> <input class="pptx-svelte-animp-duration svelte-sg9hni" type="number" min="100" max="10000" step="50"/></label> <label class="svelte-sg9hni"><span class="svelte-sg9hni"> </span> <input class="pptx-svelte-animp-delay svelte-sg9hni" type="number" min="0" max="10000" step="50"/></label> <label class="svelte-sg9hni"><span class="svelte-sg9hni"> </span> <select class="pptx-svelte-animp-curve svelte-sg9hni"></select></label> <label class="svelte-sg9hni"><span class="svelte-sg9hni"> </span> <input class="pptx-svelte-animp-repeat-count svelte-sg9hni" type="number" min="1" max="100" step="1"/></label> <label class="svelte-sg9hni"><span class="svelte-sg9hni"> </span> <select class="pptx-svelte-animp-repeat-mode svelte-sg9hni"></select></label>', 1);
4796
4798
  function JC(a, t) {
4797
4799
  e.push(t, !0);
4798
- const n = oe(), i = e.derived(() => t.editor.slides[t.editor.currentSlideIndex]), r = e.derived(() => t.editor.selectedElement), s = e.derived(() => e.get(i)?.animations ?? []), l = e.derived(() => e.get(r) ? vd(e.get(s), e.get(r).id) : void 0), o = e.derived(() => t.editor.editable), d = e.derived(() => (e.get(i)?.elements ?? []).filter((Z) => Z.id !== e.get(r)?.id));
4800
+ const n = oe(), i = e.derived(() => t.editor.slides[t.editor.currentSlideIndex]), r = e.derived(() => t.editor.selectedElement), s = e.derived(() => e.get(i)?.animations ?? []), l = e.derived(() => e.get(r) ? ud(e.get(s), e.get(r).id) : void 0), o = e.derived(() => t.editor.editable), d = e.derived(() => (e.get(i)?.elements ?? []).filter((Z) => Z.id !== e.get(r)?.id));
4799
4801
  function c(Z) {
4800
4802
  e.get(o) && xr(t.editor, Z);
4801
4803
  }
@@ -4900,8 +4902,8 @@ function $C(a, t) {
4900
4902
  }
4901
4903
  function u() {
4902
4904
  if (!t.soundState.catalogueId) return;
4903
- const k = _d(t.soundState.catalogueId);
4904
- k && ir(k.dataUrl);
4905
+ const k = md(t.soundState.catalogueId);
4906
+ k && rr(k.dataUrl);
4905
4907
  }
4906
4908
  var p = QC(), v = e.child(p), f = e.only_child(v, !0), h = e.sibling(v, 2), m = e.child(h), g = e.child(m), y = e.only_child(g, !0);
4907
4909
  g.value = g.__value = n;
@@ -4958,7 +4960,7 @@ function nE(a, t) {
4958
4960
  var T = Us(), C = e.only_child(T, !0), P = {};
4959
4961
  e.template_effect((k) => {
4960
4962
  e.set_text(C, k), P !== (P = e.get(b).id) && (T.value = (T.__value = P) ?? "");
4961
- }, [() => n(Mi(e.get(b).id))]), e.append(_, T);
4963
+ }, [() => n(Ai(e.get(b).id))]), e.append(_, T);
4962
4964
  }), e.reset(x), e.template_effect((_) => e.set_attribute(x, "label", _), [() => n(ac(w))]), e.append(S, x);
4963
4965
  }), e.reset(c);
4964
4966
  var m;
@@ -4981,7 +4983,7 @@ e.delegate(["change"]);
4981
4983
  var iE = e.from_html('<button type="button" class="pptx-svelte-animp-preview svelte-t1auzt"><!> </button>'), Da = e.from_html("<option> </option>"), rE = e.from_html('<button type="button"> </button>'), sE = e.from_html('<div class="pptx-svelte-animp-direction svelte-t1auzt"><span class="svelte-t1auzt"> </span> <div class="pptx-svelte-animp-direction-row svelte-t1auzt"></div></div>'), lE = e.from_html('<!> <label class="svelte-t1auzt"><span class="svelte-t1auzt"> </span> <select class="pptx-svelte-animp-sequence svelte-t1auzt"></select></label> <!> <!> <!>', 1), oE = e.from_html('<div class="pptx-svelte-animp svelte-t1auzt" data-pptx-animation-panel=""><div class="pptx-svelte-animp-header svelte-t1auzt"><span class="pptx-svelte-animp-title svelte-t1auzt"> </span> <!></div> <label class="svelte-t1auzt"><span class="svelte-t1auzt"> </span> <select class="pptx-svelte-animp-entrance svelte-t1auzt"><option> </option><!></select></label> <label class="svelte-t1auzt"><span class="svelte-t1auzt"> </span> <select class="pptx-svelte-animp-emphasis svelte-t1auzt"><option> </option><!></select></label> <label class="svelte-t1auzt"><span class="svelte-t1auzt"> </span> <select class="pptx-svelte-animp-exit svelte-t1auzt"><option> </option><!></select></label> <!> <!> <!></div>');
4982
4984
  function dE(a, t) {
4983
4985
  e.push(t, !0);
4984
- const n = oe(), i = $t(), r = e.derived(() => Math.max(28, ka(i.width))), s = e.derived(() => `min-width: ${e.get(r)}px; min-height: ${e.get(r)}px;`), l = e.derived(() => t.editor.slides[t.editor.currentSlideIndex]), o = e.derived(() => t.editor.selectedElement), d = e.derived(() => e.get(l)?.animations ?? []), c = e.derived(() => e.get(o) ? vd(e.get(d), e.get(o).id) : void 0), u = e.derived(() => e.get(o) ? i2(e.get(d), e.get(o).id) : !1), p = e.derived(() => e.get(o) ? py(e.get(d), e.get(o).id) : !1), v = e.derived(() => t.editor.editable), f = e.derived(() => e.get(o) ? up(e.get(d), e.get(o).id) : { hasSound: !1 });
4986
+ const n = oe(), i = $t(), r = e.derived(() => Math.max(28, ka(i.width))), s = e.derived(() => `min-width: ${e.get(r)}px; min-height: ${e.get(r)}px;`), l = e.derived(() => t.editor.slides[t.editor.currentSlideIndex]), o = e.derived(() => t.editor.selectedElement), d = e.derived(() => e.get(l)?.animations ?? []), c = e.derived(() => e.get(o) ? ud(e.get(d), e.get(o).id) : void 0), u = e.derived(() => e.get(o) ? i2(e.get(d), e.get(o).id) : !1), p = e.derived(() => e.get(o) ? py(e.get(d), e.get(o).id) : !1), v = e.derived(() => t.editor.editable), f = e.derived(() => e.get(o) ? up(e.get(d), e.get(o).id) : { hasSound: !1 });
4985
4987
  function h(P) {
4986
4988
  e.get(v) && xr(t.editor, P);
4987
4989
  }
@@ -5229,7 +5231,7 @@ function mE(a, t) {
5229
5231
  var F = ei(), U = e.only_child(F, !0), L = {};
5230
5232
  e.template_effect((H) => {
5231
5233
  e.set_text(U, H), L !== (L = e.get(O)) && (F.value = (F.__value = L) ?? "");
5232
- }, [() => Qe(Vo, e.get(O), n)]), e.append(N, F);
5234
+ }, [() => Qe(Ho, e.get(O), n)]), e.append(N, F);
5233
5235
  }), e.reset(C);
5234
5236
  var E;
5235
5237
  e.init_select(C), e.reset(T);
@@ -6115,7 +6117,7 @@ function yP(a, t) {
6115
6117
  var le = Oa(), ue = e.only_child(le, !0), ve = {};
6116
6118
  e.template_effect((se) => {
6117
6119
  e.set_text(ue, se), ve !== (ve = e.get(me)) && (le.value = (le.__value = ve) ?? "");
6118
- }, [() => Qe(Vo, e.get(me), n)]), e.append(he, le);
6120
+ }, [() => Qe(Ho, e.get(me), n)]), e.append(he, le);
6119
6121
  }), e.reset(M);
6120
6122
  var R;
6121
6123
  e.init_select(M), e.reset(I);
@@ -6515,7 +6517,7 @@ function RP(a, t) {
6515
6517
  }), e.user_effect(() => {
6516
6518
  let v = !1;
6517
6519
  return e.set(r, !0), (async () => {
6518
- const f = await zi(t.el);
6520
+ const f = await Di(t.el);
6519
6521
  v || (e.set(i, f, !0), e.set(r, !1));
6520
6522
  })(), () => {
6521
6523
  v = !0;
@@ -6526,7 +6528,7 @@ function RP(a, t) {
6526
6528
  try {
6527
6529
  const g = await dc(t.el, v, f, h);
6528
6530
  g.oleContentDirty && t.editor.applyElementPatch(t.el.id, vn(g));
6529
- const y = await zi(g);
6531
+ const y = await Di(g);
6530
6532
  s && e.set(i, y, !0);
6531
6533
  } catch {
6532
6534
  s && t.onerror();
@@ -6572,7 +6574,7 @@ function LP(a, t) {
6572
6574
  }), e.user_effect(() => {
6573
6575
  let v = !1;
6574
6576
  return e.set(r, !0), (async () => {
6575
- const f = await Ti(t.el);
6577
+ const f = await Ci(t.el);
6576
6578
  v || (e.set(i, f, !0), e.set(r, !1));
6577
6579
  })(), () => {
6578
6580
  v = !0;
@@ -6583,7 +6585,7 @@ function LP(a, t) {
6583
6585
  try {
6584
6586
  const m = await Yd(t.el, v, f);
6585
6587
  m.oleContentDirty && t.editor.applyElementPatch(t.el.id, vn(m));
6586
- const g = await Ti(m);
6588
+ const g = await Ci(m);
6587
6589
  s && e.set(i, g, !0);
6588
6590
  } catch {
6589
6591
  s && t.onerror();
@@ -6618,7 +6620,7 @@ function HP(a, t) {
6618
6620
  }), e.user_effect(() => {
6619
6621
  let v = !1;
6620
6622
  return e.set(r, !0), (async () => {
6621
- const f = await Ai(t.el);
6623
+ const f = await zi(t.el);
6622
6624
  v || (e.set(i, f, !0), e.set(r, !1));
6623
6625
  })(), () => {
6624
6626
  v = !0;
@@ -6633,7 +6635,7 @@ function HP(a, t) {
6633
6635
  value: h
6634
6636
  });
6635
6637
  g.oleContentDirty && t.editor.applyElementPatch(t.el.id, vn(g));
6636
- const y = await Ai(g);
6638
+ const y = await zi(g);
6637
6639
  s && e.set(i, y, !0);
6638
6640
  } catch {
6639
6641
  s && t.onerror();
@@ -7515,7 +7517,7 @@ e.delegate(["change"]);
7515
7517
  var ni = "Calibri Light", ii = "Calibri", XI = class {
7516
7518
  #e;
7517
7519
  #t;
7518
- #n = e.state(e.proxy(Ii[0].colorScheme));
7520
+ #n = e.state(e.proxy(Mi[0].colorScheme));
7519
7521
  get colors() {
7520
7522
  return e.get(this.#n);
7521
7523
  }
@@ -7553,7 +7555,7 @@ var ni = "Calibri Light", ii = "Calibri", XI = class {
7553
7555
  constructor(a, t) {
7554
7556
  this.#e = t;
7555
7557
  const n = je(a);
7556
- this.#t = n, this.colors = n?.colorScheme ?? Ii[0].colorScheme, this.majorFont = n?.fontScheme?.majorFont?.latin ?? ni, this.minorFont = n?.fontScheme?.minorFont?.latin ?? ii, this.name = n?.name ?? "Custom Theme";
7558
+ this.#t = n, this.colors = n?.colorScheme ?? Mi[0].colorScheme, this.majorFont = n?.fontScheme?.majorFont?.latin ?? ni, this.minorFont = n?.fontScheme?.minorFont?.latin ?? ii, this.name = n?.name ?? "Custom Theme";
7557
7559
  }
7558
7560
  setColor(a, t) {
7559
7561
  this.colors = {
@@ -7588,7 +7590,7 @@ function a4(a, t) {
7588
7590
  n().activePickerKey = n().activePickerKey === y ? null : y;
7589
7591
  }
7590
7592
  var d = t4(), c = e.first_child(d), u = e.child(c), p = e.only_child(u, !0), v = e.sibling(u, 2);
7591
- e.each(v, 20, () => Zo, (y) => y, (y, S) => {
7593
+ e.each(v, 20, () => Wo, (y) => y, (y, S) => {
7592
7594
  var w = YI(), x = e.child(w);
7593
7595
  let _;
7594
7596
  var b = e.sibling(x, 2), T = e.only_child(b, !0);
@@ -7648,7 +7650,7 @@ function s4(a, t) {
7648
7650
  "accent6"
7649
7651
  ];
7650
7652
  var r = r4(), s = e.child(r), l = e.only_child(s, !0), o = e.sibling(s, 2);
7651
- e.each(o, 21, () => Ii, (d) => d.name, (d, c) => {
7653
+ e.each(o, 21, () => Mi, (d) => d.name, (d, c) => {
7652
7654
  var u = i4();
7653
7655
  let p;
7654
7656
  var v = e.child(u);
@@ -7822,7 +7824,7 @@ function tl(a, t) {
7822
7824
  var A = u4();
7823
7825
  e.each(A, 20, () => Ln, (z) => z, (z, D) => {
7824
7826
  var q = c4(), B = e.child(q), N = e.sibling(B), O = e.sibling(N, 2);
7825
- e.each(O, 20, () => Zo, (U) => U, (U, L) => {
7827
+ e.each(O, 20, () => Wo, (U) => U, (U, L) => {
7826
7828
  var H = d4(), Z = e.only_child(H, !0), j = {};
7827
7829
  e.template_effect((K) => {
7828
7830
  e.set_text(Z, K), j !== (j = L) && (H.value = (H.__value = j) ?? "");
@@ -8295,14 +8297,14 @@ function q4(a, t) {
8295
8297
  e.push(t, !0);
8296
8298
  const n = oe(), i = e.derived(() => xc(t.el));
8297
8299
  function r(k) {
8298
- t.editor.patchSelected(yi(t.el, {
8300
+ t.editor.patchSelected(wi(t.el, {
8299
8301
  ...e.get(i),
8300
8302
  type: k
8301
8303
  }));
8302
8304
  }
8303
8305
  function s(k) {
8304
8306
  const E = Number(k);
8305
- Number.isFinite(E) && t.editor.patchSelected(yi(t.el, {
8307
+ Number.isFinite(E) && t.editor.patchSelected(wi(t.el, {
8306
8308
  ...e.get(i),
8307
8309
  angle: E
8308
8310
  }));
@@ -8446,7 +8448,7 @@ function H4(a, t) {
8446
8448
  return `${Math.round(re * 100)}%`;
8447
8449
  }
8448
8450
  function u(re) {
8449
- re ? t.editor.patchSelected(yi(t.el, xc(t.el))) : t.editor.patchSelected(ha(t.el, e.get(i)));
8451
+ re ? t.editor.patchSelected(wi(t.el, xc(t.el))) : t.editor.patchSelected(ha(t.el, e.get(i)));
8450
8452
  }
8451
8453
  function p(re) {
8452
8454
  t.editor.patchSelected(ha(t.el, re, void 0)), t.editor.recordRecentColor(re);
@@ -8455,10 +8457,10 @@ function H4(a, t) {
8455
8457
  t.editor.patchSelected(ha(t.el, re.hex, re.ref)), t.editor.recordRecentColor(re.hex);
8456
8458
  }
8457
8459
  function f(re) {
8458
- t.editor.patchSelected(Ui(t.el, re, void 0)), t.editor.recordRecentColor(re);
8460
+ t.editor.patchSelected(Hi(t.el, re, void 0)), t.editor.recordRecentColor(re);
8459
8461
  }
8460
8462
  function h(re) {
8461
- t.editor.patchSelected(Ui(t.el, re.hex, re.ref)), t.editor.recordRecentColor(re.hex);
8463
+ t.editor.patchSelected(Hi(t.el, re.hex, re.ref)), t.editor.recordRecentColor(re.hex);
8462
8464
  }
8463
8465
  const m = e.derived(() => tt(t.el) ? t.el.shapeStyle?.fillColorRef : void 0), g = e.derived(() => tt(t.el) ? t.el.shapeStyle?.strokeColorRef : void 0);
8464
8466
  function y(re) {
@@ -8579,7 +8581,7 @@ function W4(a, t) {
8579
8581
  e.push(t, !0);
8580
8582
  const n = oe(), i = e.derived(() => t.editor.editable);
8581
8583
  var r = K4(), s = e.child(r), l = e.only_child(s, !0), o = e.sibling(s, 2);
8582
- e.each(o, 21, () => ad, (d) => d.name, (d, c) => {
8584
+ e.each(o, 21, () => td, (d) => d.name, (d, c) => {
8583
8585
  var u = V4();
8584
8586
  e.template_effect((p) => {
8585
8587
  u.disabled = !e.get(i), e.set_attribute(u, "title", e.get(c).name), e.set_attribute(u, "aria-label", e.get(c).name), e.set_style(u, p);
@@ -8654,7 +8656,7 @@ function t3(a, t) {
8654
8656
  t.el.type === "shape" && h(c);
8655
8657
  });
8656
8658
  var u = e.sibling(d, 2);
8657
- e.each(u, 21, () => ad, e.index, (h, m) => {
8659
+ e.each(u, 21, () => td, e.index, (h, m) => {
8658
8660
  var g = $4();
8659
8661
  e.template_effect(() => {
8660
8662
  e.set_attribute(g, "title", e.get(m).name), e.set_style(g, `--fill:${e.get(m).style.fillColor ?? "transparent"};--stroke:${e.get(m).style.strokeColor ?? "transparent"}`);
@@ -8762,7 +8764,7 @@ function o3(a, t) {
8762
8764
  width: t.el.width,
8763
8765
  height: t.el.height
8764
8766
  };
8765
- t.editor.applyElementPatch(t.el.id, { smartArtData: Ei(x, t.el.id, _) });
8767
+ t.editor.applyElementPatch(t.el.id, { smartArtData: Pi(x, t.el.id, _) });
8766
8768
  }
8767
8769
  function v(x) {
8768
8770
  e.get(i) && p({
@@ -8867,15 +8869,15 @@ function o3(a, t) {
8867
8869
  ]), e.delegated("change", I, (G) => u(G.currentTarget.value)), e.delegated("change", A, (G) => v(G.currentTarget.value)), e.delegated("click", O, () => {
8868
8870
  e.get(i) && p(ec(e.get(i), "New item", e.get(r) ?? void 0));
8869
8871
  }), e.delegated("click", F, () => {
8870
- e.get(i) && e.get(r) && (p(Wo(e.get(i), e.get(r))), e.set(r, null));
8872
+ e.get(i) && e.get(r) && (p(Ko(e.get(i), e.get(r))), e.set(r, null));
8871
8873
  }), e.delegated("click", U, () => {
8872
- e.get(i) && e.get(r) && p(Ri(e.get(i), e.get(r), -1));
8874
+ e.get(i) && e.get(r) && p(Ni(e.get(i), e.get(r), -1));
8873
8875
  }), e.delegated("click", L, () => {
8874
- e.get(i) && e.get(r) && p(Ri(e.get(i), e.get(r), 1));
8876
+ e.get(i) && e.get(r) && p(Ni(e.get(i), e.get(r), 1));
8875
8877
  }), e.delegated("click", H, () => {
8876
- e.get(i) && e.get(r) && p(nd(e.get(i), e.get(r)));
8878
+ e.get(i) && e.get(r) && p(ad(e.get(i), e.get(r)));
8877
8879
  }), e.delegated("click", Z, () => {
8878
- e.get(i) && e.get(r) && p(xd(e.get(i), e.get(r)));
8880
+ e.get(i) && e.get(r) && p(bd(e.get(i), e.get(r)));
8879
8881
  }), e.append(x, _);
8880
8882
  };
8881
8883
  e.if(S, (x) => {
@@ -9274,7 +9276,7 @@ function F3(a, t) {
9274
9276
  }, k.hex);
9275
9277
  }
9276
9278
  function g(k) {
9277
- const E = k === "right" ? Rd(t.table, e.get(d), e.get(c)) : k === "down" ? bc(t.table, e.get(d), e.get(c)) : ed(t.table, e.get(d), e.get(c));
9279
+ const E = k === "right" ? Rd(t.table, e.get(d), e.get(c)) : k === "down" ? bc(t.table, e.get(d), e.get(c)) : $o(t.table, e.get(d), e.get(c));
9278
9280
  E && t.onpatch({ rows: E });
9279
9281
  }
9280
9282
  function y(k) {
@@ -9834,7 +9836,7 @@ function i5(a, t) {
9834
9836
  onpatch: c
9835
9837
  }), e.template_effect((Y, V) => {
9836
9838
  e.set_text(x, Y), e.set_value(E, V), e.set_attribute(R, "max", e.get(s).rows.length), e.set_value(R, e.get(l) + 1), z.disabled = e.get(s).rows.length <= 1, e.set_attribute(q, "max", e.get(s).columnWidths.length), e.set_value(q, e.get(o) + 1), N.disabled = e.get(s).columnWidths.length <= 1;
9837
- }, [() => n("pptx.table.stylePresets"), () => Math.round(e.get(i).cellPadding)]), e.delegated("change", E, (Y) => p(Y.currentTarget.value)), e.delegated("change", R, (Y) => e.set(l, Math.max(0, Number(Y.currentTarget.value) - 1), !0)), e.delegated("click", A, () => u((Y) => Li(Y, e.get(l), "below"))), e.delegated("click", z, () => u((Y) => gr(Y, e.get(l)))), e.delegated("change", q, (Y) => e.set(o, Math.max(0, Number(Y.currentTarget.value) - 1), !0)), e.delegated("click", B, () => u((Y) => Di(Y, e.get(o), "right"))), e.delegated("click", N, () => u((Y) => vr(Y, e.get(o)))), e.delegated("click", Z, () => c({ columnWidths: lh(e.get(s).columnWidths.length) })), e.delegated("click", G, () => c({ rows: Wh(e.get(s).rows) })), e.append(m, g);
9839
+ }, [() => n("pptx.table.stylePresets"), () => Math.round(e.get(i).cellPadding)]), e.delegated("change", E, (Y) => p(Y.currentTarget.value)), e.delegated("change", R, (Y) => e.set(l, Math.max(0, Number(Y.currentTarget.value) - 1), !0)), e.delegated("click", A, () => u((Y) => Bi(Y, e.get(l), "below"))), e.delegated("click", z, () => u((Y) => gr(Y, e.get(l)))), e.delegated("change", q, (Y) => e.set(o, Math.max(0, Number(Y.currentTarget.value) - 1), !0)), e.delegated("click", B, () => u((Y) => Oi(Y, e.get(o), "right"))), e.delegated("click", N, () => u((Y) => vr(Y, e.get(o)))), e.delegated("click", Z, () => c({ columnWidths: lh(e.get(s).columnWidths.length) })), e.delegated("click", G, () => c({ rows: Wh(e.get(s).rows) })), e.append(m, g);
9838
9840
  };
9839
9841
  e.if(f, (m) => {
9840
9842
  e.get(s) && m(h);
@@ -10076,7 +10078,7 @@ function x5(a, t) {
10076
10078
  t.editor.patchSelected(xw(t.el, we));
10077
10079
  }
10078
10080
  function v(we, Ie) {
10079
- t.editor.patchSelected(ji(t.el, we, Ie)), t.editor.recordRecentColor(we);
10081
+ t.editor.patchSelected(Ui(t.el, we, Ie)), t.editor.recordRecentColor(we);
10080
10082
  }
10081
10083
  function f(we) {
10082
10084
  v(we.hex, we.ref);
@@ -10542,7 +10544,7 @@ var D5 = e.from_html('<span class="pptx-svelte-thumb-hidden svelte-1md4db3"><!>
10542
10544
  function Gc(a, t) {
10543
10545
  e.push(t, !0);
10544
10546
  const n = (R, A = e.noop, z = e.noop) => {
10545
- const D = e.derived(() => Ko(A().hidden, "rail", z()));
10547
+ const D = e.derived(() => Vo(A().hidden, "rail", z()));
10546
10548
  var q = O5();
10547
10549
  let B;
10548
10550
  var N = e.child(q), O = e.only_child(N, !0), F = e.sibling(N, 2), U = e.child(F), L = e.child(U);
@@ -10569,7 +10571,7 @@ function Gc(a, t) {
10569
10571
  var J = e.sibling(G, 2), W = e.only_child(J, !0);
10570
10572
  e.reset(K), e.template_effect((Y) => {
10571
10573
  e.set_attribute(K, "id", e.get(D).labelId), e.set_text(W, Y);
10572
- }, [() => s(md)]), e.append(j, K);
10574
+ }, [() => s(fd)]), e.append(j, K);
10573
10575
  };
10574
10576
  e.if(H, (j) => {
10575
10577
  e.get(D).hidden && j(Z);
@@ -10578,7 +10580,7 @@ function Gc(a, t) {
10578
10580
  "pptx-svelte-thumb-active": z() === t.current,
10579
10581
  "pptx-svelte-thumb-dragging": e.get(f) === z(),
10580
10582
  "pptx-svelte-thumb-drop-target": e.get(f) !== null && e.get(f) !== z()
10581
- }), e.set_attribute(q, "aria-label", j), e.set_attribute(q, "aria-current", z() === t.current ? "true" : void 0), e.set_attribute(q, "aria-describedby", e.get(D).labelId), e.set_attribute(q, "data-pptx-slide-hidden", e.get(D).marker), e.set_attribute(q, "draggable", i()), e.set_style(N, e.get(D).hidden ? `background-image: ${Sc}` : void 0), e.set_text(O, z() + 1), e.set_style(F, `width: ${l}px; height: ${e.get(d)}px`), e.set_style(U, e.get(D).hidden ? `opacity: ${dd}` : void 0);
10583
+ }), e.set_attribute(q, "aria-label", j), e.set_attribute(q, "aria-current", z() === t.current ? "true" : void 0), e.set_attribute(q, "aria-describedby", e.get(D).labelId), e.set_attribute(q, "data-pptx-slide-hidden", e.get(D).marker), e.set_attribute(q, "draggable", i()), e.set_style(N, e.get(D).hidden ? `background-image: ${Sc}` : void 0), e.set_text(O, z() + 1), e.set_style(F, `width: ${l}px; height: ${e.get(d)}px`), e.set_style(U, e.get(D).hidden ? `opacity: ${od}` : void 0);
10582
10584
  }, [() => s("pptx.slidesPanel.goToSlide", { n: z() + 1 })]), e.delegated("click", q, () => t.onselect(z())), e.event("dragstart", q, (j) => x(z(), j)), e.event("dragend", q, () => {
10583
10585
  e.set(f, null);
10584
10586
  }), e.event("dragover", q, function(...j) {
@@ -10586,7 +10588,7 @@ function Gc(a, t) {
10586
10588
  }), e.event("drop", q, function(...j) {
10587
10589
  (i() ? (K) => _(z(), K) : void 0)?.apply(this, j);
10588
10590
  }), e.append(R, q);
10589
- }, i = e.prop(t, "editable", 3, !1), r = e.prop(t, "sections", 19, () => []), s = oe(), l = 148, o = e.derived(() => t.canvasSize.width > 0 ? l / t.canvasSize.width : 0.1), d = e.derived(() => Math.round(t.canvasSize.height * e.get(o))), c = e.derived(() => e.get(d) + 16), u = e.derived(() => wd(r(), t.slides)), p = e.derived(() => r().length > 0), v = e.derived(() => !e.get(p) && t.slides.length >= 50);
10591
+ }, i = e.prop(t, "editable", 3, !1), r = e.prop(t, "sections", 19, () => []), s = oe(), l = 148, o = e.derived(() => t.canvasSize.width > 0 ? l / t.canvasSize.width : 0.1), d = e.derived(() => Math.round(t.canvasSize.height * e.get(o))), c = e.derived(() => e.get(d) + 16), u = e.derived(() => yd(r(), t.slides)), p = e.derived(() => r().length > 0), v = e.derived(() => !e.get(p) && t.slides.length >= 50);
10590
10592
  let f = e.state(null), h = e.state(void 0), m = e.state(0), g = e.state(600);
10591
10593
  const y = e.derived(() => qw(t.slides.length, e.get(c), e.get(m), e.get(g))), S = e.derived(() => {
10592
10594
  const R = e.get(v) ? e.get(y).startIndex : 0, A = e.get(v) ? e.get(y).endIndex : t.slides.length - 1;
@@ -10844,7 +10846,7 @@ function V5(a, t) {
10844
10846
  e.reset(w), e.template_effect((C) => {
10845
10847
  e.set_attribute(w, "aria-pressed", t.active === e.get(y).key), e.set_attribute(w, "aria-label", C), w.disabled = e.get(y).disabled, x = e.set_class(w, 1, "svelte-pr1rgb", null, x, { active: t.active === e.get(y).key }), e.set_text(T, e.get(y).label);
10846
10848
  }, [() => e.get(y).key === "notes" ? n("pptx.statusBar.toggleNotes") : void 0]), e.delegated("click", w, () => {
10847
- e.get(y).key === "insert" ? (t.editor.insertElement(nr()), t.onactivechange(null)) : i(e.get(y).key);
10849
+ e.get(y).key === "insert" ? (t.editor.insertElement(ir()), t.onactivechange(null)) : i(e.get(y).key);
10848
10850
  }), e.append(g, w);
10849
10851
  }), e.reset(m), e.reset(c), e.template_effect((g) => e.set_attribute(m, "aria-label", g), [() => n("pptx.mobileBar.ariaLabel")]), e.append(a, c), e.pop();
10850
10852
  }
@@ -12100,7 +12102,7 @@ function rA(a, t) {
12100
12102
  var sA = e.from_html('<button type="button" data-testid="pptx-run-program-notice-copy" class="pptx-svelte-run-program-notice-copy svelte-agvmtj"> </button>'), lA = e.from_html('<div class="pptx-svelte-run-program-notice svelte-agvmtj" data-testid="pptx-run-program-notice"><span class="pptx-svelte-run-program-notice-icon svelte-agvmtj" aria-hidden="true">&#9888;&#65039;</span> <p class="pptx-svelte-run-program-notice-message svelte-agvmtj"> </p> <div class="pptx-svelte-run-program-notice-actions svelte-agvmtj"><!> <button type="button" class="pptx-svelte-run-program-notice-dismiss svelte-agvmtj">&#10005;</button></div></div>'), oA = e.from_html('<div class="pptx-svelte-run-program-notices"></div>');
12101
12103
  function dA(a, t) {
12102
12104
  e.push(t, !0);
12103
- const n = oe(), i = Jd(), r = Xo(typeof navigator > "u" ? void 0 : navigator);
12105
+ const n = oe(), i = Jd(), r = Go(typeof navigator > "u" ? void 0 : navigator);
12104
12106
  function s(c) {
12105
12107
  r && navigator.clipboard.writeText(c);
12106
12108
  }
@@ -12132,7 +12134,7 @@ function fA(a, t) {
12132
12134
  function u(q) {
12133
12135
  q === 1 ? l.advance() : l.retreat() || l.previousSlide();
12134
12136
  }
12135
- const p = e.derived(() => o.snapshot.pointer), v = e.derived(() => $o(i.presentationProperties, s.renderedSlides.length));
12137
+ const p = e.derived(() => o.snapshot.pointer), v = e.derived(() => Qo(i.presentationProperties, s.renderedSlides.length));
12136
12138
  function f(q) {
12137
12139
  switch (q) {
12138
12140
  case "next":
@@ -12450,7 +12452,7 @@ function kA(a, t) {
12450
12452
  if (e.get(i)) {
12451
12453
  e.set(s, !0);
12452
12454
  try {
12453
- await Oi(e.get(i).key), e.set(i, void 0);
12455
+ await qi(e.get(i).key), e.set(i, void 0);
12454
12456
  } catch {
12455
12457
  } finally {
12456
12458
  e.set(s, !1);
@@ -12516,7 +12518,7 @@ function kA(a, t) {
12516
12518
  }), e.append(a, d), e.pop();
12517
12519
  }
12518
12520
  e.delegate(["click"]);
12519
- function Hi() {
12521
+ function Vi() {
12520
12522
  return `guide-${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 8)}`;
12521
12523
  }
12522
12524
  var TA = e.from_html('<button type="button"><span class="pptx-svelte-rbcmd-icon svelte-1y6duix" aria-hidden="true"><!></span> <span> </span></button>');
@@ -12778,7 +12780,7 @@ function LA(a, t, n, i) {
12778
12780
  const r = dr(a, t), s = `editor:${n}`, l = r.findIndex((d) => d.key === i);
12779
12781
  if (l < 0 || !r.some((d) => d.key === s)) return [...a];
12780
12782
  const o = Xd(r, s, l);
12781
- return Jo(a, o);
12783
+ return Yo(a, o);
12782
12784
  }
12783
12785
  var BA = {
12784
12786
  onClick: "pptx.animation.trigger.onClick",
@@ -12997,7 +12999,7 @@ function n6(a, t) {
12997
12999
  var v = e6(), f = e.sibling(e.child(v), 2), h = e.only_child(f, !0);
12998
13000
  e.reset(v), e.template_effect((m, g) => {
12999
13001
  v.disabled = t.disabled, e.set_attribute(v, "title", m), e.set_text(h, g);
13000
- }, [() => n(Mi(e.get(p).id)), () => n(Mi(e.get(p).id))]), e.delegated("click", v, () => t.onapply?.(e.get(p).id)), e.append(u, v);
13002
+ }, [() => n(Ai(e.get(p).id)), () => n(Ai(e.get(p).id))]), e.delegated("click", v, () => t.onapply?.(e.get(p).id)), e.append(u, v);
13001
13003
  }), e.reset(c), e.reset(l), e.template_effect((u) => e.set_text(d, u), [() => n(ac(s))]), e.append(r, l);
13002
13004
  }), e.reset(i), e.template_effect((r) => e.set_attribute(i, "aria-label", r), [() => n("pptx.animations.motionPathGalleryAria")]), e.append(a, i), e.pop();
13003
13005
  }
@@ -13475,7 +13477,7 @@ var I6 = /* @__PURE__ */ new Set([
13475
13477
  "$$events",
13476
13478
  "$$legacy"
13477
13479
  ]);
13478
- function Vi(a, t) {
13480
+ function Ki(a, t) {
13479
13481
  let n = e.rest_props(t, I6);
13480
13482
  const i = {
13481
13483
  name: "badge-check",
@@ -13909,8 +13911,8 @@ function ez(a, t) {
13909
13911
  var tz = e.from_html('<button type="button"></button>'), vl = e.from_html('<p class="svelte-dgy1er"> </p>'), az = e.from_html('<p class="notice svelte-dgy1er"> </p>'), nz = e.from_html('<p class="svelte-dgy1er"> </p> <button type="button" class="primary svelte-dgy1er"> </button>', 1), iz = e.from_html('<section class="card svelte-dgy1er"><h2 class="svelte-dgy1er"> </h2> <!></section>'), rz = 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>');
13910
13912
  function sz(a, t) {
13911
13913
  e.push(t, !0);
13912
- const n = oe(), i = "4.1.2";
13913
- let r = e.state(e.proxy(ki().profile ?? { ...ds })), s = e.state(void 0), l = e.state(!1);
13914
+ const n = oe(), i = "4.1.4";
13915
+ let r = e.state(e.proxy(Ti().profile ?? { ...ds })), s = e.state(void 0), l = e.state(!1);
13914
13916
  async function o() {
13915
13917
  e.set(s, await Fp(), !0);
13916
13918
  }
@@ -14161,7 +14163,7 @@ function oi(a, t) {
14161
14163
  });
14162
14164
  }), e.append(a, r);
14163
14165
  }
14164
- var pl = e.from_html('<button type="button"><span class="svelte-6wgrz0"><!></span> </button>'), yz = e.from_html('<button type="button" class="svelte-6wgrz0"><b class="svelte-6wgrz0"></b><strong class="svelte-6wgrz0"> </strong><small class="svelte-6wgrz0"> </small></button>'), wz = e.from_html('<h2 class="svelte-6wgrz0"> </h2><div class="templates svelte-6wgrz0"></div>', 1), Sz = e.from_html('<button class="primary svelte-6wgrz0" type="button"><!> </button>'), kz = e.from_html('<button type="button" class="svelte-6wgrz0"><span class="name svelte-6wgrz0"><b class="svelte-6wgrz0">P</b><span><strong class="svelte-6wgrz0"> </strong><small class="svelte-6wgrz0"> </small></span></span><span class="svelte-6wgrz0"> </span><span class="svelte-6wgrz0"> </span></button>'), Tz = e.from_html('<p class="svelte-6wgrz0"> </p>'), Cz = e.from_html('<div class="search svelte-6wgrz0"><!><input type="search" class="svelte-6wgrz0"/></div><!><h2 class="svelte-6wgrz0"> </h2><div class="recent svelte-6wgrz0"><header class="svelte-6wgrz0"><span class="svelte-6wgrz0"> </span><span class="svelte-6wgrz0"> </span><span class="svelte-6wgrz0"> </span></header><!></div>', 1), Ez = e.from_html('<div class="actions svelte-6wgrz0"></div>'), Pz = e.from_html('<button class="primary svelte-6wgrz0" type="button"> </button>'), Iz = e.from_html('<section class="card svelte-6wgrz0"><b class="avatar svelte-6wgrz0"><!></b><h2 class="svelte-6wgrz0"> </h2><p class="svelte-6wgrz0"> </p><!></section>'), Mz = e.from_html('<div class="bs svelte-6wgrz0" role="dialog" aria-modal="true"><aside class="svelte-6wgrz0"><button class="back svelte-6wgrz0" type="button"><!></button><nav class="svelte-6wgrz0"><!><i class="svelte-6wgrz0"></i> <!></nav></aside> <main class="svelte-6wgrz0"><h1 class="svelte-6wgrz0"> </h1> <!> <!> <!> <!> <!> <footer class="svelte-6wgrz0"> </footer></main></div>');
14166
+ var pl = e.from_html('<button type="button"><span class="svelte-6wgrz0"><!></span> </button>'), yz = e.from_html('<button type="button" class="svelte-6wgrz0"><b class="svelte-6wgrz0"></b><strong class="svelte-6wgrz0"> </strong><small class="svelte-6wgrz0"> </small></button>'), wz = e.from_html('<h2 class="svelte-6wgrz0"> </h2><div class="templates svelte-6wgrz0"></div>', 1), Sz = e.from_html('<button class="primary svelte-6wgrz0" type="button"><!> </button>'), kz = e.from_html('<button type="button" class="svelte-6wgrz0"><span class="name svelte-6wgrz0"><b class="svelte-6wgrz0">P</b><span><strong class="svelte-6wgrz0"> </strong><small class="svelte-6wgrz0"> </small></span></span><span class="svelte-6wgrz0"> </span><span class="svelte-6wgrz0"> </span></button>'), Tz = e.from_html('<p class="svelte-6wgrz0"> </p>'), Cz = e.from_html('<div class="search svelte-6wgrz0" data-pptx-search-surface=""><!><input data-pptx-search-input="" type="search" class="svelte-6wgrz0"/></div><!><h2 class="svelte-6wgrz0"> </h2><div class="recent svelte-6wgrz0"><header class="svelte-6wgrz0"><span class="svelte-6wgrz0"> </span><span class="svelte-6wgrz0"> </span><span class="svelte-6wgrz0"> </span></header><!></div>', 1), Ez = e.from_html('<div class="actions svelte-6wgrz0"></div>'), Pz = e.from_html('<button class="primary svelte-6wgrz0" type="button"> </button>'), Iz = e.from_html('<section class="card svelte-6wgrz0"><b class="avatar svelte-6wgrz0"><!></b><h2 class="svelte-6wgrz0"> </h2><p class="svelte-6wgrz0"> </p><!></section>'), Mz = e.from_html('<div class="bs svelte-6wgrz0" role="dialog" aria-modal="true"><aside class="svelte-6wgrz0"><button class="back svelte-6wgrz0" type="button"><!></button><nav class="svelte-6wgrz0"><!><i class="svelte-6wgrz0"></i> <!></nav></aside> <main class="svelte-6wgrz0"><h1 class="svelte-6wgrz0"> </h1> <!> <!> <!> <!> <!> <footer class="svelte-6wgrz0"> </footer></main></div>');
14165
14167
  function uu(a, t) {
14166
14168
  e.push(t, !0);
14167
14169
  const n = oe(), i = Rt();
@@ -14180,7 +14182,7 @@ function uu(a, t) {
14180
14182
  protect: lu,
14181
14183
  inspect: Xt,
14182
14184
  embedFonts: cu,
14183
- signatures: Vi,
14185
+ signatures: Ki,
14184
14186
  versionHistory: A6,
14185
14187
  saveAsPptx: ul,
14186
14188
  saveAsPpsx: Qc,
@@ -14299,9 +14301,10 @@ function uu(a, t) {
14299
14301
  }, (ne) => {
14300
14302
  var ae = Tz(), re = e.only_child(ae, !0);
14301
14303
  e.template_effect((pe) => e.set_text(re, pe), [() => n("pptx.backstage.noRecent")]), e.append(ne, ae);
14302
- }), e.reset(G), e.template_effect((ne, ae, re, pe, he) => {
14303
- e.set_attribute(L, "placeholder", ne), e.set_text(K, ae), e.set_text(Y, re), e.set_text(Q, pe), e.set_text($, he);
14304
+ }), e.reset(G), e.template_effect((ne, ae, re, pe, he, me) => {
14305
+ e.set_attribute(L, "placeholder", ne), e.set_attribute(L, "aria-label", ae), e.set_text(K, re), e.set_text(Y, pe), e.set_text(Q, he), e.set_text($, me);
14304
14306
  }, [
14307
+ () => n("pptx.backstage.searchPlaceholder"),
14305
14308
  () => n("pptx.backstage.searchPlaceholder"),
14306
14309
  () => n("pptx.backstage.recentHeading"),
14307
14310
  () => n("pptx.backstage.columnName"),
@@ -14546,7 +14549,7 @@ function pu(a, t) {
14546
14549
  var i = jz(), r = e.child(i), s = e.sibling(r, 2), l = e.child(s), o = e.child(l), d = e.child(o);
14547
14550
  let c;
14548
14551
  var u = e.child(d), p = (C) => {
14549
- Vi(C, {
14552
+ Ki(C, {
14550
14553
  size: 17,
14551
14554
  "aria-hidden": "true"
14552
14555
  });
@@ -14568,7 +14571,7 @@ function pu(a, t) {
14568
14571
  }), e.reset(m), e.reset(l);
14569
14572
  var y = e.sibling(l, 2), S = e.child(y), w = (C) => {
14570
14573
  var P = Lz(), k = e.first_child(P), E = e.child(k), I = e.child(E);
14571
- Vi(I, {
14574
+ Ki(I, {
14572
14575
  size: 14,
14573
14576
  "aria-hidden": "true"
14574
14577
  }), e.reset(E);
@@ -14621,7 +14624,7 @@ var Uz = /* @__PURE__ */ new Set([
14621
14624
  "$$events",
14622
14625
  "$$legacy"
14623
14626
  ]);
14624
- function Ki(a, t) {
14627
+ function Wi(a, t) {
14625
14628
  let n = e.rest_props(t, Uz);
14626
14629
  const i = {
14627
14630
  name: "check",
@@ -14680,7 +14683,7 @@ function hu(a, t) {
14680
14683
  });
14681
14684
  var X = e.sibling(Y), $ = (ae) => {
14682
14685
  var re = Vz(), pe = e.child(re);
14683
- Ki(pe, {
14686
+ Wi(pe, {
14684
14687
  size: 14,
14685
14688
  "aria-hidden": "true"
14686
14689
  }), e.reset(re), e.append(ae, re);
@@ -14947,7 +14950,7 @@ function dD(a, t) {
14947
14950
  e.get(i) && t.editor.patchSelected(ha(e.get(i), _, b)), t.editor.recordRecentColor(_);
14948
14951
  }
14949
14952
  function p(_, b) {
14950
- e.get(i) && t.editor.patchSelected(Ui(e.get(i), _, b)), t.editor.recordRecentColor(_);
14953
+ e.get(i) && t.editor.patchSelected(Hi(e.get(i), _, b)), t.editor.recordRecentColor(_);
14951
14954
  }
14952
14955
  function v(_) {
14953
14956
  const b = Number(_);
@@ -15427,10 +15430,10 @@ function qD(a, t) {
15427
15430
  return e.get(p);
15428
15431
  },
15429
15432
  onselect: (q) => {
15430
- e.get(o) && f((B) => ji(B, q)), t.editor.recordRecentColor(q);
15433
+ e.get(o) && f((B) => Ui(B, q)), t.editor.recordRecentColor(q);
15431
15434
  },
15432
15435
  onselectTheme: (q) => {
15433
- e.get(o) && f((B) => ji(B, q.hex, q.ref)), t.editor.recordRecentColor(q.hex);
15436
+ e.get(o) && f((B) => Ui(B, q.hex, q.ref)), t.editor.recordRecentColor(q.hex);
15434
15437
  }
15435
15438
  });
15436
15439
  }
@@ -16589,7 +16592,7 @@ function yu(a, t) {
16589
16592
  () => n("pptx.ribbon.insertEquation"),
16590
16593
  () => n("pptx.ribbon.equation"),
16591
16594
  () => n("pptx.hyperlinkDialog.title")
16592
- ]), e.delegated("click", f, () => t.editor.insertElement(nr())), e.delegated("click", y, () => e.get(i)?.click()), e.delegated("click", x, () => e.get(r)?.click()), e.delegated("click", T, () => t.editor.insertElement(td())), e.delegated("click", E, d), e.delegated("click", B, () => e.set(l, !0)), e.delegated("change", U, u), e.delegated("change", L, p), e.append(a, v), e.pop();
16595
+ ]), e.delegated("click", f, () => t.editor.insertElement(ir())), e.delegated("click", y, () => e.get(i)?.click()), e.delegated("click", x, () => e.get(r)?.click()), e.delegated("click", T, () => t.editor.insertElement(ed())), e.delegated("click", E, d), e.delegated("click", B, () => e.set(l, !0)), e.delegated("change", U, u), e.delegated("change", L, p), e.append(a, v), e.pop();
16593
16596
  }
16594
16597
  e.delegate(["click", "change"]);
16595
16598
  var UO = /* @__PURE__ */ new Set([
@@ -17018,7 +17021,7 @@ var wu = [
17018
17021
  ], o7 = "home", d7 = e.from_html('<button type="button" role="tab"> </button>'), c7 = e.from_html('<button type="button" class="pptx-svelte-ribbon-record svelte-5nxmc0"><span class="pptx-svelte-ribbon-record-dot svelte-5nxmc0" aria-hidden="true"></span> <span> </span></button>'), u7 = e.from_html('<button type="button"><svg viewBox="0 0 16 16" aria-hidden="true" class="svelte-5nxmc0"><circle cx="4" cy="8" r="1.6" fill="none" stroke="currentColor" stroke-width="1.3"></circle><circle cx="12" cy="3.5" r="1.6" fill="none" stroke="currentColor" stroke-width="1.3"></circle><circle cx="12" cy="12.5" r="1.6" fill="none" stroke="currentColor" stroke-width="1.3"></circle><path d="M5.4 7.2 10.6 4.3M5.4 8.8 10.6 11.7" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linecap="round"></path></svg> <span> </span></button>'), v7 = e.from_html('<div class="pptx-svelte-ribbon-tabrow svelte-5nxmc0"><div class="pptx-svelte-ribbon-tabs svelte-5nxmc0" role="tablist"></div> <div class="pptx-svelte-ribbon-tabrow-actions svelte-5nxmc0"><!> <!></div></div>');
17019
17022
  function p7(a, t) {
17020
17023
  e.push(t, !0);
17021
- const n = e.prop(t, "collabActive", 3, !1), i = oe(), r = Rt(), s = e.derived(() => id(wu, t.hiddenActions));
17024
+ const n = e.prop(t, "collabActive", 3, !1), i = oe(), r = Rt(), s = e.derived(() => nd(wu, t.hiddenActions));
17022
17025
  var l = v7(), o = e.child(l);
17023
17026
  e.each(o, 21, () => e.get(s), (m) => m.id, (m, g) => {
17024
17027
  var y = d7();
@@ -17987,8 +17990,8 @@ function Eu(a, t) {
17987
17990
  }
17988
17991
  function h() {
17989
17992
  if (!e.get(v)) return;
17990
- const W = _d(e.get(v));
17991
- W && ir(W.dataUrl);
17993
+ const W = md(e.get(v));
17994
+ W && rr(W.dataUrl);
17992
17995
  }
17993
17996
  function m(W) {
17994
17997
  const Y = W.currentTarget, V = Y.files?.[0];
@@ -18711,7 +18714,7 @@ function I8(a, t) {
18711
18714
  return t.fileName;
18712
18715
  },
18713
18716
  onclose: () => e.set(i, "home"),
18714
- oncreatepresentation: (K) => t.editor.setSlides(cd(K)),
18717
+ oncreatepresentation: (K) => t.editor.setSlides(dd(K)),
18715
18718
  get ondownload() {
18716
18719
  return t.ondownload;
18717
18720
  },
@@ -19139,7 +19142,7 @@ function Mu(a, t) {
19139
19142
  return i;
19140
19143
  } }));
19141
19144
  }
19142
- var L8 = e.from_html('<small class="svelte-ak2654"> </small>'), B8 = e.from_html('<button type="button" class="svelte-ak2654"><!><!></button>'), j8 = e.from_html('<span class="pptx-svelte-titlebar-autosave svelte-ak2654"><span> </span> <button type="button" role="switch" class="svelte-ak2654"><span class="svelte-ak2654"></span></button> <span> </span></span> <span class="pptx-svelte-titlebar-separator svelte-ak2654"></span> <div class="pptx-svelte-titlebar-actions svelte-ak2654" role="group"><button type="button" class="svelte-ak2654"><svg viewBox="0 0 16 16" aria-hidden="true" class="svelte-ak2654"><path d="M3 2.5h8l2 2v9h-10zM5 2.5v4h5v-4M5 13.5v-4h6v4" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linejoin="round"></path></svg></button> <button type="button" class="svelte-ak2654"><svg viewBox="0 0 16 16" aria-hidden="true" class="svelte-ak2654"><path d="M6 4 3 7l3 3M3 7h6.5a3.5 3.5 0 0 1 0 7H8" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></button> <button type="button" class="svelte-ak2654"><svg viewBox="0 0 16 16" aria-hidden="true" class="svelte-ak2654"><path d="M10 4l3 3-3 3M13 7H6.5a3.5 3.5 0 0 0 0 7H8" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></button> <!></div> <span class="pptx-svelte-titlebar-separator svelte-ak2654"></span>', 1), U8 = e.from_html('<span aria-hidden="true">&bull;</span><span> </span>', 1), H8 = e.from_html('<button type="button" class="svelte-ak2654"> <small class="svelte-ak2654"> </small></button>'), V8 = e.from_html('<span class="svelte-ak2654"> </span> <!>', 1), K8 = e.from_html('<span class="svelte-ak2654"> </span>'), W8 = e.from_html('<div class="pptx-svelte-titlebar-results svelte-ak2654"><!> <button type="button" class="svelte-ak2654"><!> </button></div>'), Z8 = e.from_html('<div class="pptx-svelte-titlebar-search svelte-ak2654"><div><svg viewBox="0 0 16 16" aria-hidden="true" class="svelte-ak2654"><circle cx="7" cy="7" r="3.7" fill="none" stroke="currentColor" stroke-width="1.4"></circle><path d="m10 10 3 3" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"></path></svg> <input type="text" class="svelte-ak2654"/></div> <!></div>'), G8 = e.from_html('<div class="pptx-svelte-titlebar svelte-ak2654" data-pptx-title-bar=""><span class="pptx-svelte-titlebar-logo svelte-ak2654" aria-hidden="true">P</span> <!> <span class="pptx-svelte-titlebar-file svelte-ak2654"><strong class="svelte-ak2654"> </strong><!></span> <!></div>');
19145
+ var L8 = e.from_html('<small class="svelte-ak2654"> </small>'), B8 = e.from_html('<button type="button" class="svelte-ak2654"><!><!></button>'), j8 = e.from_html('<span class="pptx-svelte-titlebar-autosave svelte-ak2654"><span> </span> <button type="button" role="switch" class="svelte-ak2654"><span class="svelte-ak2654"></span></button> <span> </span></span> <span class="pptx-svelte-titlebar-separator svelte-ak2654"></span> <div class="pptx-svelte-titlebar-actions svelte-ak2654" role="group"><button type="button" class="svelte-ak2654"><svg viewBox="0 0 16 16" aria-hidden="true" class="svelte-ak2654"><path d="M3 2.5h8l2 2v9h-10zM5 2.5v4h5v-4M5 13.5v-4h6v4" fill="none" stroke="currentColor" stroke-width="1.3" stroke-linejoin="round"></path></svg></button> <button type="button" class="svelte-ak2654"><svg viewBox="0 0 16 16" aria-hidden="true" class="svelte-ak2654"><path d="M6 4 3 7l3 3M3 7h6.5a3.5 3.5 0 0 1 0 7H8" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></button> <button type="button" class="svelte-ak2654"><svg viewBox="0 0 16 16" aria-hidden="true" class="svelte-ak2654"><path d="M10 4l3 3-3 3M13 7H6.5a3.5 3.5 0 0 0 0 7H8" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path></svg></button> <!></div> <span class="pptx-svelte-titlebar-separator svelte-ak2654"></span>', 1), U8 = e.from_html('<span aria-hidden="true">&bull;</span><span> </span>', 1), H8 = e.from_html('<button type="button" class="svelte-ak2654"> <small class="svelte-ak2654"> </small></button>'), V8 = e.from_html('<span class="svelte-ak2654"> </span> <!>', 1), K8 = e.from_html('<span class="svelte-ak2654"> </span>'), W8 = e.from_html('<div class="pptx-svelte-titlebar-results svelte-ak2654"><!> <button type="button" class="svelte-ak2654"><!> </button></div>'), Z8 = e.from_html('<div class="pptx-svelte-titlebar-search svelte-ak2654"><div data-pptx-search-surface=""><svg viewBox="0 0 16 16" aria-hidden="true" class="svelte-ak2654"><circle cx="7" cy="7" r="3.7" fill="none" stroke="currentColor" stroke-width="1.4"></circle><path d="m10 10 3 3" stroke="currentColor" stroke-width="1.4" stroke-linecap="round"></path></svg> <input data-pptx-search-input="" type="text" class="svelte-ak2654"/></div> <!></div>'), G8 = e.from_html('<div class="pptx-svelte-titlebar svelte-ak2654" data-pptx-title-bar=""><span class="pptx-svelte-titlebar-logo svelte-ak2654" aria-hidden="true">P</span> <!> <span class="pptx-svelte-titlebar-file svelte-ak2654"><strong class="svelte-ak2654"> </strong><!></span> <!></div>');
19143
19146
  function X8(a, t) {
19144
19147
  e.push(t, !0);
19145
19148
  const n = {
@@ -19360,7 +19363,7 @@ var iq = /* @__PURE__ */ new Set([
19360
19363
  ]), rq = e.from_html('<button type="button"> </button>'), sq = e.from_html('<div class="pptx-svelte-mobile-menu svelte-11nbb3j"><div class="pptx-svelte-mobile-menu-chips svelte-11nbb3j"></div> <div class="pptx-svelte-mobile-menu-body svelte-11nbb3j"><!></div></div>'), lq = e.from_html("<!> <!> <!> <!> <!>", 1);
19361
19364
  function oq(a, t) {
19362
19365
  e.push(t, !0), e.rest_props(t, iq);
19363
- const n = oe(), i = e.derived(() => id(wu, t.hiddenActions));
19366
+ const n = oe(), i = e.derived(() => nd(wu, t.hiddenActions));
19364
19367
  let r = e.state("home");
19365
19368
  function s(C) {
19366
19369
  e.set(r, e.get(r) === C ? "home" : C, !0);
@@ -19596,7 +19599,7 @@ function oq(a, t) {
19596
19599
  return t.fileName;
19597
19600
  },
19598
19601
  onclose: () => e.set(r, "home"),
19599
- oncreatepresentation: (K) => t.editor.setSlides(cd(K)),
19602
+ oncreatepresentation: (K) => t.editor.setSlides(dd(K)),
19600
19603
  get ondownload() {
19601
19604
  return t.ondownload;
19602
19605
  },
@@ -20262,7 +20265,7 @@ function zq(a, t) {
20262
20265
  },
20263
20266
  onsnapToShapechange: (F) => l.snapToShape = F,
20264
20267
  onaddguide: (F) => {
20265
- l.guides = [...l.guides, Si(Hi(), F, i.canvasSize)], l.showGuides = !0;
20268
+ l.guides = [...l.guides, ki(Vi(), F, i.canvasSize)], l.showGuides = !0;
20266
20269
  },
20267
20270
  get exportUi() {
20268
20271
  return f;
@@ -20467,7 +20470,7 @@ function zq(a, t) {
20467
20470
  },
20468
20471
  onsnapToShapechange: (U) => l.snapToShape = U,
20469
20472
  onaddguide: (U) => {
20470
- l.guides = [...l.guides, Si(Hi(), U, i.canvasSize)], l.showGuides = !0;
20473
+ l.guides = [...l.guides, ki(Vi(), U, i.canvasSize)], l.showGuides = !0;
20471
20474
  },
20472
20475
  get exportUi() {
20473
20476
  return f;
@@ -20574,14 +20577,14 @@ function Oq(a) {
20574
20577
  };
20575
20578
  }
20576
20579
  function qq(a, t) {
20577
- return Go({ slideMasters: [a] }, {
20580
+ return Zo({ slideMasters: [a] }, {
20578
20581
  tab: "slides",
20579
20582
  masterIndex: 0,
20580
20583
  layoutIndex: t
20581
20584
  });
20582
20585
  }
20583
20586
  function Rq(a, t, n) {
20584
- return Go({ slideMasters: a }, {
20587
+ return Zo({ slideMasters: a }, {
20585
20588
  tab: "slides",
20586
20589
  masterIndex: t,
20587
20590
  layoutIndex: n
@@ -20590,7 +20593,7 @@ function Rq(a, t, n) {
20590
20593
  var Nq = e.from_html('<div data-pptx-connection-site=""></div>'), Fq = e.from_html('<button type="button" data-pptx-compact=""></button>'), Lq = e.from_html('<div class="pptx-svelte-connector-endpoints svelte-939cvl" data-pptx-connector-endpoints=""><!> <!></div>');
20591
20594
  function Bq(a, t) {
20592
20595
  e.push(t, !0);
20593
- const n = e.prop(t, "drag", 3, null), i = oe(), r = e.derived(() => gw(t.connector)), s = e.derived(() => n() ? jd(t.elements.filter((u) => u.id !== t.connector.id)) : []), l = e.derived(() => n() ? ld(e.get(s), n().x, n().y) : null);
20596
+ const n = e.prop(t, "drag", 3, null), i = oe(), r = e.derived(() => gw(t.connector)), s = e.derived(() => n() ? jd(t.elements.filter((u) => u.id !== t.connector.id)) : []), l = e.derived(() => n() ? sd(e.get(s), n().x, n().y) : null);
20594
20597
  var o = Lq(), d = e.child(o);
20595
20598
  e.each(d, 17, () => e.get(s), (u) => `${u.elementId}-${u.siteIndex}`, (u, p) => {
20596
20599
  var v = Nq();
@@ -20834,7 +20837,7 @@ function Jq(a, t) {
20834
20837
  }
20835
20838
  e.delegate(["pointerdown"]);
20836
20839
  var Qq = e.from_html("<!> <!> <!>", 1);
20837
- function Wi(a, t) {
20840
+ function Zi(a, t) {
20838
20841
  e.push(t, !0);
20839
20842
  const n = e.prop(t, "spellCheck", 3, !1), i = e.derived(() => t.controller.editingElement), r = e.derived(() => e.get(i) ? {
20840
20843
  x: e.get(i).x,
@@ -20962,7 +20965,7 @@ function kl(a, t) {
20962
20965
  }), e.append(a, s), e.pop();
20963
20966
  }
20964
20967
  var aR = e.from_svg("<ellipse></ellipse>"), Tl = e.from_svg("<g></g>"), nR = e.from_svg("<circle></circle>"), iR = e.from_svg('<path fill="none" stroke-linecap="round" stroke-linejoin="round"></path>'), rR = e.from_html('<div class="pptx-svelte-ink-overlay svelte-itz821" aria-hidden="true"><svg class="pptx-svelte-ink-overlay-svg svelte-itz821" preserveAspectRatio="none"><!></svg></div>');
20965
- function Zi(a, t) {
20968
+ function Gi(a, t) {
20966
20969
  e.push(t, !0);
20967
20970
  const n = e.derived(() => t.ink.liveStrokeView);
20968
20971
  var i = e.comment(), r = e.first_child(i), s = (l) => {
@@ -21338,7 +21341,7 @@ function DR(a, t) {
21338
21341
  editable: !0
21339
21342
  });
21340
21343
  var T = e.sibling(b, 2);
21341
- Wi(T, {
21344
+ Zi(T, {
21342
21345
  get controller() {
21343
21346
  return t.controller;
21344
21347
  },
@@ -21347,7 +21350,7 @@ function DR(a, t) {
21347
21350
  }
21348
21351
  });
21349
21352
  var C = e.sibling(T, 2);
21350
- Zi(C, {
21353
+ Gi(C, {
21351
21354
  get ink() {
21352
21355
  return t.editor.inkOps;
21353
21356
  },
@@ -21414,7 +21417,7 @@ function DR(a, t) {
21414
21417
  }
21415
21418
  }), e.reset(b);
21416
21419
  var E = e.sibling(b, 2);
21417
- Wi(E, {
21420
+ Zi(E, {
21418
21421
  get controller() {
21419
21422
  return t.controller;
21420
21423
  },
@@ -21423,7 +21426,7 @@ function DR(a, t) {
21423
21426
  }
21424
21427
  });
21425
21428
  var I = e.sibling(E, 2);
21426
- Zi(I, {
21429
+ Gi(I, {
21427
21430
  get ink() {
21428
21431
  return t.editor.inkOps;
21429
21432
  },
@@ -22201,7 +22204,7 @@ var b9 = class {
22201
22204
  timers: this.#l,
22202
22205
  buildHandle: this.#o,
22203
22206
  onPlayActionSound: a.onPlayActionSound,
22204
- playSound: ir,
22207
+ playSound: rr,
22205
22208
  stopSound: Gd,
22206
22209
  frameRoot: a.frameRoot
22207
22210
  };
@@ -22333,7 +22336,7 @@ function w9(a, t, n) {
22333
22336
  previousId: a.getActiveCustomShowId?.() ?? null,
22334
22337
  originIndex: a.getCurrentIndex()
22335
22338
  }), a.setActiveCustomShowId?.(i);
22336
- const l = bi(Ed(a.getSlides(), s));
22339
+ const l = xi(Ed(a.getSlides(), s));
22337
22340
  l !== void 0 && a.navigate(l);
22338
22341
  },
22339
22342
  openFile: (i) => vs(i),
@@ -22454,7 +22457,7 @@ var S9 = class {
22454
22457
  return;
22455
22458
  }
22456
22459
  if (this.#a.getLoopContinuously?.()) {
22457
- const i = bi(n);
22460
+ const i = xi(n);
22458
22461
  i !== void 0 && this.#a.navigate(i);
22459
22462
  return;
22460
22463
  }
@@ -22471,7 +22474,7 @@ var S9 = class {
22471
22474
  return Oy(a, this.#d());
22472
22475
  }
22473
22476
  firstSlide() {
22474
- const a = bi(this.#d());
22477
+ const a = xi(this.#d());
22475
22478
  a !== void 0 && this.#a.navigate(a);
22476
22479
  }
22477
22480
  lastSlide() {
@@ -22672,7 +22675,7 @@ function Au(a) {
22672
22675
  function Dl(a, t = "|") {
22673
22676
  return a.map((n) => Ou(n)).join(t);
22674
22677
  }
22675
- function Gi(a, t) {
22678
+ function Xi(a, t) {
22676
22679
  return typeof t == "bigint" ? t.toString() : t;
22677
22680
  }
22678
22681
  function Mr(a) {
@@ -23137,7 +23140,7 @@ function ft(a) {
23137
23140
  }
23138
23141
  function $9() {
23139
23142
  const a = this._zod;
23140
- return a.message ?? (a.message = JSON.stringify(a.def, Gi, 2)), a.message;
23143
+ return a.message ?? (a.message = JSON.stringify(a.def, Xi, 2)), a.message;
23141
23144
  }
23142
23145
  function eN(a) {
23143
23146
  this._zod.message = a;
@@ -23343,20 +23346,20 @@ function ON(a) {
23343
23346
  return new RegExp(`^${a}$`);
23344
23347
  }
23345
23348
  var qN = /* @__PURE__ */ ON(ju);
23346
- function Xi(a) {
23349
+ function Yi(a) {
23347
23350
  const t = "(?:[01]\\d|2[0-3]):[0-5]\\d";
23348
23351
  return typeof a.precision == "number" ? a.precision === -1 ? `${t}` : a.precision === 0 ? `${t}:[0-5]\\d` : `${t}:[0-5]\\d\\.\\d{${a.precision}}` : a.seconds ? `${t}:[0-5]\\d(?:\\.\\d+)?` : `${t}(?::[0-5]\\d(?:\\.\\d+)?)?`;
23349
23352
  }
23350
23353
  function RN(a) {
23351
- return new RegExp(`^${Xi(a)}$`);
23354
+ return new RegExp(`^${Yi(a)}$`);
23352
23355
  }
23353
23356
  function NN(a) {
23354
23357
  const t = ["Z"];
23355
23358
  a.offset && t.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");
23356
- const n = `${Xi({
23359
+ const n = `${Yi({
23357
23360
  precision: a.precision,
23358
23361
  seconds: !0
23359
- })}(?:${t.join("|")})`, i = a.local ? `${n}|${Xi({ precision: a.precision })}` : n;
23362
+ })}(?:${t.join("|")})`, i = a.local ? `${n}|${Yi({ precision: a.precision })}` : n;
23360
23363
  return new RegExp(`^${ju}T(?:${i})$`);
23361
23364
  }
23362
23365
  var FN = (a) => {
@@ -24283,7 +24286,7 @@ var HF = /* @__PURE__ */ be("$ZodUnion", (a, t) => {
24283
24286
  return s instanceof Promise || l instanceof Promise ? Promise.all([s, l]).then(([o, d]) => Vl(n, o, d)) : Vl(n, s, l);
24284
24287
  };
24285
24288
  });
24286
- function Yi(a, t) {
24289
+ function Ji(a, t) {
24287
24290
  if (a === t) return {
24288
24291
  valid: !0,
24289
24292
  data: a
@@ -24300,7 +24303,7 @@ function Yi(a, t) {
24300
24303
  Object.prototype.hasOwnProperty.call(r, "__proto__") && delete r.__proto__;
24301
24304
  for (const s of i) {
24302
24305
  if (s === "__proto__") continue;
24303
- const l = Yi(a[s], t[s]);
24306
+ const l = Ji(a[s], t[s]);
24304
24307
  if (!l.valid) return {
24305
24308
  valid: !1,
24306
24309
  mergeErrorPath: [s, ...l.mergeErrorPath]
@@ -24319,7 +24322,7 @@ function Yi(a, t) {
24319
24322
  };
24320
24323
  const n = [];
24321
24324
  for (let i = 0; i < a.length; i++) {
24322
- const r = a[i], s = t[i], l = Yi(r, s);
24325
+ const r = a[i], s = t[i], l = Ji(r, s);
24323
24326
  if (!l.valid) return {
24324
24327
  valid: !1,
24325
24328
  mergeErrorPath: [i, ...l.mergeErrorPath]
@@ -24362,7 +24365,7 @@ function Vl(a, t, n) {
24362
24365
  });
24363
24366
  for (const u of o) !c.includes(u) && s.has(u) && a.issues.push(s.get(u));
24364
24367
  }
24365
- const d = Yi(t.value, n.value);
24368
+ const d = Ji(t.value, n.value);
24366
24369
  if (!d.valid) {
24367
24370
  if (Vt(a)) return a;
24368
24371
  throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(d.mergeErrorPath)}`);
@@ -24624,7 +24627,7 @@ var nL = class extends Error {
24624
24627
  constructor() {
24625
24628
  super("Cannot parse a reference cycle that closes through a transform"), this.name = "ZodCyclicError";
24626
24629
  }
24627
- }, Ji = "~memo", Jl = [];
24630
+ }, Qi = "~memo", Jl = [];
24628
24631
  function pi(a) {
24629
24632
  return a.map((t) => t.path ? {
24630
24633
  ...t,
@@ -24689,11 +24692,11 @@ var La, Ba = [], rL = {
24689
24692
  return a._zod.parse = s, a._zod.run === l && (a._zod.run = s), s(o, d);
24690
24693
  const c = o.value;
24691
24694
  if (c === null || typeof c != "object") return s(o, d);
24692
- let u = d[Ji];
24695
+ let u = d[Qi];
24693
24696
  u || (u = {
24694
24697
  buckets: /* @__PURE__ */ new Map(),
24695
24698
  backEdges: void 0
24696
- }, d[Ji] = u);
24699
+ }, d[Qi] = u);
24697
24700
  let p;
24698
24701
  i === d ? p = r : (p = iL(u, a), i = d, r = p);
24699
24702
  const v = p.get(c);
@@ -24713,7 +24716,7 @@ function sL() {
24713
24716
  return rL;
24714
24717
  }
24715
24718
  function lL(a, t) {
24716
- const n = a[Ji]?.backEdges;
24719
+ const n = a[Qi]?.backEdges;
24717
24720
  return n !== void 0 && t !== null && typeof t == "object" && n.has(t);
24718
24721
  }
24719
24722
  var oL = () => {
@@ -25511,7 +25514,7 @@ function ro(a) {
25511
25514
  const t = a.additionalProperties;
25512
25515
  return t === void 0 || t === !1 || typeof t != "object" || t === null ? null : Object.keys(t).length ? t : null;
25513
25516
  }
25514
- function Qi(a) {
25517
+ function $i(a) {
25515
25518
  const t = [];
25516
25519
  for (const s of a) {
25517
25520
  if (typeof s != "object" || s.type !== "object") return null;
@@ -25527,7 +25530,7 @@ function Qi(a) {
25527
25530
  const u = c.properties?.[l] ?? ro(c);
25528
25531
  u != null && (o.some((p) => JSON.stringify(p) === JSON.stringify(u)) || o.push(u));
25529
25532
  }
25530
- const d = o.length === 1 ? o[0] : Qi(o) ?? { allOf: o };
25533
+ const d = o.length === 1 ? o[0] : $i(o) ?? { allOf: o };
25531
25534
  rt(n, l, d);
25532
25535
  }
25533
25536
  for (const l of s.required ?? []) i.add(l);
@@ -25553,11 +25556,11 @@ function rB(a) {
25553
25556
  for (const r of iv) if (r in a) return;
25554
25557
  const n = t.filter((r) => io.some((s) => Array.isArray(r[s])));
25555
25558
  let i = null;
25556
- if (!n.length) i = Qi(t);
25559
+ if (!n.length) i = $i(t);
25557
25560
  else {
25558
25561
  const r = n[0], s = io.find((d) => Array.isArray(r[d]));
25559
25562
  if (Object.keys(r).length !== 1) return;
25560
- const l = t.filter((d) => d !== r), o = r[s].map((d) => Qi([...l, d]));
25563
+ const l = t.filter((d) => d !== r), o = r[s].map((d) => $i([...l, d]));
25561
25564
  if (o.some((d) => !d)) return;
25562
25565
  i = { [s]: o };
25563
25566
  }
@@ -25886,9 +25889,9 @@ var PB = (a, t) => {
25886
25889
  Fu.init(a, t), a.name = "ZodError";
25887
25890
  const n = Object.getPrototypeOf(a);
25888
25891
  so.has(n) || (so.add(n), ja(n, "format", (i) => (r) => iN(i, r)), ja(n, "flatten", (i) => (r) => nN(i, r)), ja(n, "addIssue", (i) => (r) => {
25889
- i.issues.push(r), i.message = JSON.stringify(i.issues, Gi, 2);
25892
+ i.issues.push(r), i.message = JSON.stringify(i.issues, Xi, 2);
25890
25893
  }), ja(n, "addIssues", (i) => (r) => {
25891
- i.issues.push(...r), i.message = JSON.stringify(i.issues, Gi, 2);
25894
+ i.issues.push(...r), i.message = JSON.stringify(i.issues, Xi, 2);
25892
25895
  }), Object.defineProperty(n, "isEmpty", {
25893
25896
  configurable: !0,
25894
25897
  enumerable: !1,
@@ -26308,7 +26311,7 @@ function Ee(a) {
26308
26311
  var pj = /* @__PURE__ */ be("ZodUnknown", (a, t) => {
26309
26312
  NF.init(a, t), Xe.init(a, t), a._zod.processJSONSchema = (n, i, r) => vB(a, n, i, r);
26310
26313
  });
26311
- function $i() {
26314
+ function er() {
26312
26315
  return /* @__PURE__ */ UL(pj);
26313
26316
  }
26314
26317
  var hj = /* @__PURE__ */ be("ZodNever", (a, t) => {
@@ -26354,13 +26357,13 @@ var mj = /* @__PURE__ */ be("ZodObject", (a, t) => {
26354
26357
  passthrough() {
26355
26358
  return this.clone({
26356
26359
  ...this._zod.def,
26357
- catchall: $i()
26360
+ catchall: er()
26358
26361
  });
26359
26362
  },
26360
26363
  loose() {
26361
26364
  return this.clone({
26362
26365
  ...this._zod.def,
26363
- catchall: $i()
26366
+ catchall: er()
26364
26367
  });
26365
26368
  },
26366
26369
  strict() {
@@ -26444,14 +26447,14 @@ function Lr(a, t, n) {
26444
26447
  ...ze(n)
26445
26448
  });
26446
26449
  }
26447
- var er = /* @__PURE__ */ be("ZodEnum", (a, t) => {
26450
+ var tr = /* @__PURE__ */ be("ZodEnum", (a, t) => {
26448
26451
  WF.init(a, t), Xe.init(a, t), a._zod.processJSONSchema = (i, r, s) => pB(a, i, r, s), a.enum = t.entries, a.options = Object.values(t.entries);
26449
26452
  const n = new Set(Object.keys(t.entries));
26450
26453
  a.extract = (i, r) => {
26451
26454
  const s = {};
26452
26455
  for (const l of i) if (n.has(l)) s[l] = t.entries[l];
26453
26456
  else throw new Error(`Key ${l} not found in enum`);
26454
- return new er({
26457
+ return new tr({
26455
26458
  ...t,
26456
26459
  checks: [],
26457
26460
  ...ze(r),
@@ -26461,7 +26464,7 @@ var er = /* @__PURE__ */ be("ZodEnum", (a, t) => {
26461
26464
  const s = { ...t.entries };
26462
26465
  for (const l of i) if (n.has(l)) delete s[l];
26463
26466
  else throw new Error(`Key ${l} not found in enum`);
26464
- return new er({
26467
+ return new tr({
26465
26468
  ...t,
26466
26469
  checks: [],
26467
26470
  ...ze(r),
@@ -26471,7 +26474,7 @@ var er = /* @__PURE__ */ be("ZodEnum", (a, t) => {
26471
26474
  });
26472
26475
  function Le(a, t) {
26473
26476
  const n = Array.isArray(a) ? Object.fromEntries(a.map((i) => [i, i])) : a;
26474
- return new er({
26477
+ return new tr({
26475
26478
  type: "enum",
26476
26479
  entries: n,
26477
26480
  ...ze(t)
@@ -26749,12 +26752,12 @@ function Kj(a, t) {
26749
26752
  const r = i.shapeStyle;
26750
26753
  if (t.fillThemeColor !== void 0) {
26751
26754
  r.fillColorRef = t.fillThemeColor;
26752
- const s = qi(t.fillThemeColor, a.pptxData.themeColorMap);
26755
+ const s = Ri(t.fillThemeColor, a.pptxData.themeColorMap);
26753
26756
  t.fillColor !== void 0 ? r.fillColor = t.fillColor : s && (r.fillColor = s);
26754
26757
  } else t.fillColor !== void 0 && (r.fillColor = t.fillColor, r.fillColorRef = void 0);
26755
26758
  if (t.fillMode !== void 0 && (r.fillMode = t.fillMode), t.fillGradientStops !== void 0 && (r.fillGradientStops = t.fillGradientStops), t.fillGradientAngle !== void 0 && (r.fillGradientAngle = t.fillGradientAngle), t.fillGradientType !== void 0 && (r.fillGradientType = t.fillGradientType), t.fillOpacity !== void 0 && (r.fillOpacity = t.fillOpacity), t.strokeThemeColor !== void 0) {
26756
26759
  r.strokeColorRef = t.strokeThemeColor;
26757
- const s = qi(t.strokeThemeColor, a.pptxData.themeColorMap);
26760
+ const s = Ri(t.strokeThemeColor, a.pptxData.themeColorMap);
26758
26761
  t.strokeColor !== void 0 ? r.strokeColor = t.strokeColor : s && (r.strokeColor = s);
26759
26762
  } else t.strokeColor !== void 0 && (r.strokeColor = t.strokeColor, r.strokeColorRef = void 0);
26760
26763
  t.strokeWidth !== void 0 && (r.strokeWidth = t.strokeWidth), t.strokeDash !== void 0 && (r.strokeDash = t.strokeDash), t.strokeOpacity !== void 0 && (r.strokeOpacity = t.strokeOpacity), t.shadowColor !== void 0 && (r.shadowColor = t.shadowColor), t.shadowBlur !== void 0 && (r.shadowBlur = t.shadowBlur), t.shadowOffsetX !== void 0 && (r.shadowOffsetX = t.shadowOffsetX), t.shadowOffsetY !== void 0 && (r.shadowOffsetY = t.shadowOffsetY), t.shadowOpacity !== void 0 && (r.shadowOpacity = t.shadowOpacity), t.glowColor !== void 0 && (r.glowColor = t.glowColor), t.glowRadius !== void 0 && (r.glowRadius = t.glowRadius), t.glowOpacity !== void 0 && (r.glowOpacity = t.glowOpacity), t.softEdgeRadius !== void 0 && (r.softEdgeRadius = t.softEdgeRadius);
@@ -26964,7 +26967,7 @@ function Gj(a, t) {
26964
26967
  style: {}
26965
26968
  }]), r.textStyle || (r.textStyle = {}), t.fontSize !== void 0 && (r.textStyle.fontSize = t.fontSize), t.fontFamily !== void 0 && (r.textStyle.fontFamily = t.fontFamily), t.fontThemeColor !== void 0) {
26966
26969
  r.textStyle.colorRef = t.fontThemeColor;
26967
- const s = qi(t.fontThemeColor, a.pptxData.themeColorMap);
26970
+ const s = Ri(t.fontThemeColor, a.pptxData.themeColorMap);
26968
26971
  t.fontColor !== void 0 ? r.textStyle.color = t.fontColor : s && (r.textStyle.color = s);
26969
26972
  } else t.fontColor !== void 0 && (r.textStyle.color = t.fontColor, r.textStyle.colorRef = void 0);
26970
26973
  t.bold !== void 0 && (r.textStyle.bold = t.bold), t.italic !== void 0 && (r.textStyle.italic = t.italic), t.underline !== void 0 && (r.textStyle.underline = t.underline), t.alignment !== void 0 && (r.textStyle.align = t.alignment);
@@ -27093,8 +27096,8 @@ function Qj(a, t) {
27093
27096
  for (const d of r) {
27094
27097
  const c = Be(d, a.pptxData.slides.length);
27095
27098
  if (c) throw new Error(c);
27096
- const u = Hd(i), p = Ci(i.id);
27097
- u.id = wi(p, i.id), Jh(u, () => wi(p, i.id)), u.x += l, u.y += o, a.pptxData.slides[d].elements.push(u), s.push(u.id);
27099
+ const u = Hd(i), p = Ei(i.id);
27100
+ u.id = Si(p, i.id), Jh(u, () => Si(p, i.id)), u.x += l, u.y += o, a.pptxData.slides[d].elements.push(u), s.push(u.id);
27098
27101
  }
27099
27102
  return {
27100
27103
  pptxData: a.pptxData,
@@ -27137,7 +27140,7 @@ function eU(a, t) {
27137
27140
  const d = t.elementIds.filter((c) => !s.has(c));
27138
27141
  throw new Error(`Elements not found: ${d.join(", ")}`);
27139
27142
  }
27140
- const l = Br(), o = hd(i.elements, t.elementIds, l);
27143
+ const l = Br(), o = pd(i.elements, t.elementIds, l);
27141
27144
  return i.elements = o.elements, {
27142
27145
  pptxData: a.pptxData,
27143
27146
  dirty: !0,
@@ -27150,7 +27153,7 @@ function tU(a, t) {
27150
27153
  const i = a.pptxData.slides[t.slideIndex], r = i.elements.find((d) => d.id === t.groupElementId);
27151
27154
  if (!r) throw new Error(`Group element '${t.groupElementId}' not found.`);
27152
27155
  if (r.type !== "group") throw new Error(`Element '${t.groupElementId}' is not a group.`);
27153
- const s = Ci(r.id), l = r.children.map((d) => Ci(d.id) === s ? d.id : wi(s, r.id)), o = fc(i.elements, t.groupElementId, l, { intoTemplate: s });
27156
+ const s = Ei(r.id), l = r.children.map((d) => Ei(d.id) === s ? d.id : Si(s, r.id)), o = fc(i.elements, t.groupElementId, l, { intoTemplate: s });
27154
27157
  return i.elements = o.elements, {
27155
27158
  pptxData: a.pptxData,
27156
27159
  dirty: !0,
@@ -27729,7 +27732,7 @@ function TU(a, t) {
27729
27732
  };
27730
27733
  case "removeNode":
27731
27734
  if (!t.nodeId) throw new Error("nodeId is required for removeNode.");
27732
- return s.smartArtData = Wo(s.smartArtData, t.nodeId), {
27735
+ return s.smartArtData = Ko(s.smartArtData, t.nodeId), {
27733
27736
  pptxData: a.pptxData,
27734
27737
  dirty: !0,
27735
27738
  result: {
@@ -27751,7 +27754,7 @@ function TU(a, t) {
27751
27754
  case "reorderNode": {
27752
27755
  if (!t.nodeId) throw new Error("nodeId is required for reorderNode.");
27753
27756
  const l = t.direction ?? 1;
27754
- return s.smartArtData = Ri(s.smartArtData, t.nodeId, l), {
27757
+ return s.smartArtData = Ni(s.smartArtData, t.nodeId, l), {
27755
27758
  pptxData: a.pptxData,
27756
27759
  dirty: !0,
27757
27760
  result: {
@@ -27763,7 +27766,7 @@ function TU(a, t) {
27763
27766
  }
27764
27767
  case "promoteNode":
27765
27768
  if (!t.nodeId) throw new Error("nodeId is required for promoteNode.");
27766
- return s.smartArtData = nd(s.smartArtData, t.nodeId), {
27769
+ return s.smartArtData = ad(s.smartArtData, t.nodeId), {
27767
27770
  pptxData: a.pptxData,
27768
27771
  dirty: !0,
27769
27772
  result: {
@@ -27774,7 +27777,7 @@ function TU(a, t) {
27774
27777
  };
27775
27778
  case "demoteNode":
27776
27779
  if (!t.nodeId) throw new Error("nodeId is required for demoteNode.");
27777
- return s.smartArtData = xd(s.smartArtData, t.nodeId), {
27780
+ return s.smartArtData = bd(s.smartArtData, t.nodeId), {
27778
27781
  pptxData: a.pptxData,
27779
27782
  dirty: !0,
27780
27783
  result: {
@@ -28198,7 +28201,7 @@ async function BU(a, t) {
28198
28201
  switch (i) {
28199
28202
  case "sheet-xlsx":
28200
28203
  case "sheet-xls": {
28201
- const s = await Ai(n);
28204
+ const s = await zi(n);
28202
28205
  return {
28203
28206
  ...r,
28204
28207
  result: {
@@ -28211,7 +28214,7 @@ async function BU(a, t) {
28211
28214
  }
28212
28215
  case "document-docx":
28213
28216
  case "document-doc": {
28214
- const s = await Ti(n);
28217
+ const s = await Ci(n);
28215
28218
  return {
28216
28219
  ...r,
28217
28220
  result: {
@@ -28223,7 +28226,7 @@ async function BU(a, t) {
28223
28226
  };
28224
28227
  }
28225
28228
  case "deck-pptx": {
28226
- const s = await zi(n);
28229
+ const s = await Di(n);
28227
28230
  return {
28228
28231
  ...r,
28229
28232
  result: {
@@ -29015,7 +29018,7 @@ var DY = xe({
29015
29018
  direction: de().optional().describe("Reorder direction: 1 (forward) or -1 (backward)")
29016
29019
  }), NH = xe({ filePath: ee().describe("Path to the PPTX file") }), FH = xe({
29017
29020
  filePath: ee().describe("Path to the PPTX file"),
29018
- data: Lr(ee(), $i()).describe("Template data: keys are placeholder names, values are replacement values")
29021
+ data: Lr(ee(), er()).describe("Template data: keys are placeholder names, values are replacement values")
29019
29022
  }), LH = xe({ filePath: ee().describe("Path to the PPTX file") }), BH = xe({
29020
29023
  filePath: ee().describe("Path to the PPTX file"),
29021
29024
  title: ee().optional().describe("Presentation title"),
@@ -29180,7 +29183,7 @@ rV(yv, {
29180
29183
  createIdbBackend: () => oV,
29181
29184
  openChatDb: () => sV
29182
29185
  });
29183
- function tr(a) {
29186
+ function ar(a) {
29184
29187
  return new Promise((t, n) => {
29185
29188
  a.onsuccess = () => t(a.result), a.onerror = () => n(a.error ?? /* @__PURE__ */ new Error("IndexedDB request failed."));
29186
29189
  });
@@ -29202,7 +29205,7 @@ function sV(a) {
29202
29205
  });
29203
29206
  }
29204
29207
  async function lV(a, t) {
29205
- const n = a.transaction(it, "readonly"), i = n.objectStore(it), r = await tr(t === void 0 ? i.getAll() : i.index(kn).getAll(IDBKeyRange.only(t)));
29208
+ const n = a.transaction(it, "readonly"), i = n.objectStore(it), r = await ar(t === void 0 ? i.getAll() : i.index(kn).getAll(IDBKeyRange.only(t)));
29206
29209
  return await ma(n), r;
29207
29210
  }
29208
29211
  function oV(a) {
@@ -29211,7 +29214,7 @@ function oV(a) {
29211
29214
  return (await lV(a, t)).map(wv).sort((n, i) => i.updatedAt - n.updatedAt);
29212
29215
  },
29213
29216
  async load(t) {
29214
- const n = a.transaction(it, "readonly"), i = await tr(n.objectStore(it).get(t));
29217
+ const n = a.transaction(it, "readonly"), i = await ar(n.objectStore(it).get(t));
29215
29218
  return await ma(n), i ?? null;
29216
29219
  },
29217
29220
  async save(t) {
@@ -29226,7 +29229,7 @@ function oV(a) {
29226
29229
  const n = a.transaction(it, "readwrite"), i = n.objectStore(it);
29227
29230
  if (t === void 0) i.clear();
29228
29231
  else {
29229
- const r = await tr(i.index(kn).getAllKeys(IDBKeyRange.only(t)));
29232
+ const r = await ar(i.index(kn).getAllKeys(IDBKeyRange.only(t)));
29230
29233
  for (const s of r) i.delete(s);
29231
29234
  }
29232
29235
  await ma(n);
@@ -30233,7 +30236,7 @@ function hK(a) {
30233
30236
  }
30234
30237
  return t;
30235
30238
  }
30236
- function ar(a) {
30239
+ function nr(a) {
30237
30240
  return new Date(Number.isFinite(a) ? a : 0).toISOString();
30238
30241
  }
30239
30242
  function gK(a, t) {
@@ -30267,8 +30270,8 @@ function gK(a, t) {
30267
30270
  deckId: a.deckId,
30268
30271
  createdAt: a.createdAt,
30269
30272
  updatedAt: a.updatedAt,
30270
- createdAtIso: ar(a.createdAt),
30271
- updatedAtIso: ar(a.updatedAt),
30273
+ createdAtIso: nr(a.createdAt),
30274
+ updatedAtIso: nr(a.updatedAt),
30272
30275
  messageCount: a.messages.length,
30273
30276
  messages: n
30274
30277
  };
@@ -30278,7 +30281,7 @@ function fK(a, t) {
30278
30281
  return {
30279
30282
  format: "pptx-ai-chat-log",
30280
30283
  version: 1,
30281
- exportedAt: ar(t?.now ?? Date.now()),
30284
+ exportedAt: nr(t?.now ?? Date.now()),
30282
30285
  detailed: n,
30283
30286
  chatCount: a.length,
30284
30287
  chats: a.map((i) => gK(i, n))
@@ -31193,13 +31196,13 @@ function dW(a, t) {
31193
31196
  var y = Ao();
31194
31197
  e.template_effect((S) => {
31195
31198
  e.set_attribute(y, "d", S), e.set_attribute(y, "stroke", e.get(g).color), e.set_attribute(y, "stroke-width", e.get(g).width), e.set_attribute(y, "stroke-opacity", e.get(g).tool === "highlighter" ? 0.4 : 1);
31196
- }, [() => Ni(e.get(g).points)]), e.append(m, y);
31199
+ }, [() => Fi(e.get(g).points)]), e.append(m, y);
31197
31200
  });
31198
31201
  var p = e.sibling(u), v = (m) => {
31199
31202
  var g = Ao();
31200
31203
  e.template_effect((y) => {
31201
31204
  e.set_attribute(g, "d", y), e.set_attribute(g, "stroke", n().current.color), e.set_attribute(g, "stroke-width", n().current.width), e.set_attribute(g, "stroke-opacity", n().current.tool === "highlighter" ? 0.4 : 1);
31202
- }, [() => Ni(n().current.points)]), e.append(m, g);
31205
+ }, [() => Fi(n().current.points)]), e.append(m, g);
31203
31206
  };
31204
31207
  e.if(p, (m) => {
31205
31208
  n().current && m(v);
@@ -31295,7 +31298,7 @@ function vW(a, t) {
31295
31298
  });
31296
31299
  var S = e.sibling(g, 2), w = (z) => {
31297
31300
  var D = cW(), q = e.first_child(D);
31298
- Wi(q, {
31301
+ Zi(q, {
31299
31302
  get controller() {
31300
31303
  return t.controller;
31301
31304
  },
@@ -31307,7 +31310,7 @@ function vW(a, t) {
31307
31310
  }
31308
31311
  });
31309
31312
  var B = e.sibling(q, 2);
31310
- Zi(B, {
31313
+ Gi(B, {
31311
31314
  get ink() {
31312
31315
  return t.editor.inkOps;
31313
31316
  },
@@ -31457,7 +31460,7 @@ function pW(a) {
31457
31460
  width: r.width,
31458
31461
  height: r.height
31459
31462
  };
31460
- a.applyElementPatch(t, { smartArtData: Ei(s, t, l) });
31463
+ a.applyElementPatch(t, { smartArtData: Pi(s, t, l) });
31461
31464
  },
31462
31465
  commitChartPoint(t, n) {
31463
31466
  a.activeElements.find((i) => i.id === t)?.type === "chart" && a.applyElementPatch(t, { chartData: n });
@@ -31471,7 +31474,7 @@ function pW(a) {
31471
31474
  width: r.width,
31472
31475
  height: r.height
31473
31476
  };
31474
- a.applyElementPatch(t, { smartArtData: Ei(s, t, l) });
31477
+ a.applyElementPatch(t, { smartArtData: Pi(s, t, l) });
31475
31478
  }
31476
31479
  },
31477
31480
  commitTableResizeColumns(t, n) {
@@ -32104,7 +32107,7 @@ function _W(a, t) {
32104
32107
  d.guides = yy(d.guides, I);
32105
32108
  },
32106
32109
  onaddguide: (I, M) => {
32107
- const R = Si(Hi(), I, i.canvasSize);
32110
+ const R = ki(Vi(), I, i.canvasSize);
32108
32111
  d.guides = [...d.guides, {
32109
32112
  ...R,
32110
32113
  position: M
@@ -32250,7 +32253,7 @@ function IW(a, t) {
32250
32253
  }), e.reset(g), e.reset(u);
32251
32254
  var S = e.sibling(u, 2), w = (C) => {
32252
32255
  var P = SW(), k = e.child(P), E = e.child(k);
32253
- Ki(E, {
32256
+ Wi(E, {
32254
32257
  size: 14,
32255
32258
  "aria-hidden": "true"
32256
32259
  });
@@ -32292,7 +32295,7 @@ function IW(a, t) {
32292
32295
  var j = e.sibling(U);
32293
32296
  let K;
32294
32297
  var G = e.child(j);
32295
- Ki(G, {
32298
+ Wi(G, {
32296
32299
  size: 14,
32297
32300
  "aria-hidden": "true"
32298
32301
  });
@@ -32669,7 +32672,7 @@ var GW = class {
32669
32672
  const t = this.#e;
32670
32673
  if (t === null || !a) return;
32671
32674
  this.#e = null;
32672
- const n = [...a.querySelectorAll(`[${xi}]`)].find((i) => i.getAttribute(xi) === t);
32675
+ const n = [...a.querySelectorAll(`[${yi}]`)].find((i) => i.getAttribute(yi) === t);
32673
32676
  !n || n.ownerDocument.activeElement === n || (n.focus(), n.setSelectionRange(n.value.length, n.value.length));
32674
32677
  }
32675
32678
  }, XW = e.from_html('<div class="pptx-svelte-outline-row svelte-1n6k1wy"><span class="pptx-svelte-outline-number svelte-1n6k1wy"> </span> <input/></div>'), YW = e.from_html('<div><div class="pptx-svelte-outline-header svelte-1n6k1wy"><span class="pptx-svelte-outline-title svelte-1n6k1wy"> </span> <span class="pptx-svelte-outline-hint svelte-1n6k1wy"> </span> <button type="button" class="svelte-1n6k1wy"><!></button></div> <div class="pptx-svelte-outline-rows svelte-1n6k1wy"></div></div>');
@@ -32688,7 +32691,7 @@ function JW(a, t) {
32688
32691
  e.get(l), s.restoreFocus(r);
32689
32692
  });
32690
32693
  const o = (w) => n(w.kind === "title" ? "pptx.outline.titleLine" : "pptx.outline.bodyLine"), d = { [Z2]: "true" }, c = (w) => ({
32691
- [xi]: w.key,
32694
+ [yi]: w.key,
32692
32695
  [mx]: String(w.slideIndex + 1),
32693
32696
  [Zf]: String(w.level)
32694
32697
  });
@@ -34142,7 +34145,7 @@ function zG(a, t) {
34142
34145
  }), e.reset(g), e.reset(f);
34143
34146
  var S = e.sibling(f);
34144
34147
  e.each(S, 21, () => t.slides, e.index, (_, b, T) => {
34145
- const C = e.derived(() => Ko(e.get(b).hidden, "sorter", T));
34148
+ const C = e.derived(() => Vo(e.get(b).hidden, "sorter", T));
34146
34149
  var P = IG();
34147
34150
  let k;
34148
34151
  var E = e.child(P), I = e.child(E);
@@ -34167,7 +34170,7 @@ function zG(a, t) {
34167
34170
  var U = PG(), L = e.only_child(U, !0);
34168
34171
  e.template_effect((H) => {
34169
34172
  e.set_attribute(U, "id", e.get(C).labelId), e.set_text(L, H);
34170
- }, [() => i(md)]), e.append(F, U);
34173
+ }, [() => i(fd)]), e.append(F, U);
34171
34174
  };
34172
34175
  e.if(z, (F) => {
34173
34176
  e.get(C).hidden && F(D);
@@ -34184,7 +34187,7 @@ function zG(a, t) {
34184
34187
  size: 14,
34185
34188
  "aria-hidden": "true"
34186
34189
  }), e.reset(N), e.reset(M), e.reset(P), e.template_effect((F, U, L) => {
34187
- e.set_attribute(P, "data-pptx-slide-hidden", e.get(C).marker), k = e.set_class(P, 1, "svelte-8inkpp", null, k, { active: t.current === T }), e.set_style(E, e.get(C).hidden ? `opacity: ${dd}` : void 0), e.set_attribute(E, "aria-label", F), e.set_attribute(E, "aria-describedby", e.get(C).labelId), e.set_style(A, e.get(C).hidden ? `background-image: ${Sc}` : void 0), e.set_attribute(q, "aria-label", U), e.set_attribute(N, "aria-label", L), N.disabled = T === t.slides.length - 1;
34190
+ e.set_attribute(P, "data-pptx-slide-hidden", e.get(C).marker), k = e.set_class(P, 1, "svelte-8inkpp", null, k, { active: t.current === T }), e.set_style(E, e.get(C).hidden ? `opacity: ${od}` : void 0), e.set_attribute(E, "aria-label", F), e.set_attribute(E, "aria-describedby", e.get(C).labelId), e.set_style(A, e.get(C).hidden ? `background-image: ${Sc}` : void 0), e.set_attribute(q, "aria-label", U), e.set_attribute(N, "aria-label", L), N.disabled = T === t.slides.length - 1;
34188
34191
  }, [
34189
34192
  () => i("pptx.compare.slideNumber", { number: T + 1 }),
34190
34193
  () => i("pptx.animations.moveEarlier"),
@@ -34236,7 +34239,7 @@ function OG(a, t) {
34236
34239
  },
34237
34240
  onclose: () => n().setupSlideShowOpen = !1,
34238
34241
  onsave: (F) => {
34239
- i().presentationMetadata.updatePresentationProperties(F), n().activeCustomShowId = bd(F, i().customShows) ?? null;
34242
+ i().presentationMetadata.updatePresentationProperties(F), n().activeCustomShowId = _d(F, i().customShows) ?? null;
34240
34243
  }
34241
34244
  });
34242
34245
  };
@@ -34760,7 +34763,7 @@ function KG(a) {
34760
34763
  getActiveSlide: () => t.renderedSlides[n.current],
34761
34764
  addSlide: (s = t.slides.length - 1) => {
34762
34765
  const l = [...t.slides], o = Math.min(Math.max(s + 1, 0), l.length);
34763
- l.splice(o, 0, pd(o + 1, ba)), t.commitSlides(Ga(l)), n.goTo(o);
34766
+ l.splice(o, 0, vd(o + 1, ba)), t.commitSlides(Ga(l)), n.goTo(o);
34764
34767
  },
34765
34768
  deleteSlides: (s) => {
34766
34769
  if (t.slides.length <= 1) return;
@@ -35148,13 +35151,13 @@ function $G(a) {
35148
35151
  };
35149
35152
  }
35150
35153
  function eX(a, t, n = "user") {
35151
- const i = rr(a);
35154
+ const i = sr(a);
35152
35155
  nx(n, i.length) && (t.setLastSynced(JSON.stringify(i)), t.setApplyingRemote(!0), t.applyRemoteSlides(i), queueMicrotask(() => t.setApplyingRemote(!1)));
35153
35156
  }
35154
35157
  function tX(a, t, n) {
35155
35158
  return Gh(a, (i, r) => {
35156
35159
  if (r?.origin === "pptx-viewer:local-sync" || n.isApplyingRemote()) return;
35157
- const s = rr(a);
35160
+ const s = sr(a);
35158
35161
  s.length === 0 && !t.externalSession?.getSnapshot().synced || (n.setApplyingRemote(!0), n.applyRemoteSlides(s), n.setApplyingRemote(!1), n.setLastSynced(JSON.stringify(s)), n.scheduleWriteBack(t));
35159
35162
  });
35160
35163
  }
@@ -35220,7 +35223,7 @@ var nX = class {
35220
35223
  return;
35221
35224
  }
35222
35225
  this.livePatcher.configure(n.role === "viewer" ? null : a, t), this.#d = tX(a, n, this.#p());
35223
- const i = rr(a);
35226
+ const i = sr(a);
35224
35227
  i.length && this.#u(i);
35225
35228
  }
35226
35229
  #p() {
@@ -35382,7 +35385,7 @@ var oX = async (a, t) => {
35382
35385
  createMap: () => new n.Map(),
35383
35386
  createArray: () => new n.Array(),
35384
35387
  createText: () => new n.Text(),
35385
- createTextPositions: (l) => fd(l, {
35388
+ createTextPositions: (l) => gd(l, {
35386
35389
  read: () => n.snapshot(i),
35387
35390
  equal: n.equalSnapshots,
35388
35391
  subscribeBeforeObservers: (o) => (i.on("beforeObserverCalls", o), () => i.off("beforeObserverCalls", o))
@@ -35405,7 +35408,7 @@ async function dX(a) {
35405
35408
  createMap: () => new t.Map(),
35406
35409
  createArray: () => new t.Array(),
35407
35410
  createText: () => new t.Text(),
35408
- createTextPositions: (r) => fd(r, {
35411
+ createTextPositions: (r) => gd(r, {
35409
35412
  read: () => t.snapshot(i),
35410
35413
  equal: t.equalSnapshots,
35411
35414
  subscribeBeforeObservers: (s) => (i.on("beforeObserverCalls", s), () => i.off("beforeObserverCalls", s))
@@ -35797,7 +35800,7 @@ var hX = class {
35797
35800
  const a = this.#i.getHandler();
35798
35801
  if (!a) return null;
35799
35802
  const t = this.#i.getSlideMasters?.(), n = this.#i.getNotesMaster?.(), i = this.#i.getHandoutMaster?.(), r = this.#i.getSections?.(), s = !!(t?.length || n || i);
35800
- return Pi(a, this.#i.getSlides(), s ? {
35803
+ return Ii(a, this.#i.getSlides(), s ? {
35801
35804
  slideMasters: t,
35802
35805
  notesMaster: n,
35803
35806
  handoutMaster: i,
@@ -35837,7 +35840,7 @@ function fX(a) {
35837
35840
  getSourceBytes: s,
35838
35841
  getSaveOptions: () => {
35839
35842
  const g = i.snapshot();
35840
- return od({
35843
+ return ld({
35841
35844
  headerFooter: g.headerFooter,
35842
35845
  presentationProperties: g.presentationProperties,
35843
35846
  viewProperties: i.viewProperties,
@@ -35960,7 +35963,7 @@ function fX(a) {
35960
35963
  closeSignatureWarning: v
35961
35964
  };
35962
35965
  }
35963
- function Bo(a, t) {
35966
+ function bi(a, t) {
35964
35967
  return t <= 0 ? 0 : Math.min(Math.max(Math.trunc(a), 0), t - 1);
35965
35968
  }
35966
35969
  function mX(a) {
@@ -36079,7 +36082,7 @@ var yX = class {
36079
36082
  get commentsOpen() {
36080
36083
  return this.inspectorOpen && this.inspectorTab === "comments";
36081
36084
  }
36082
- }, jo = 5, wX = class {
36085
+ }, Bo = 5, wX = class {
36083
36086
  #e = e.state(e.proxy(/* @__PURE__ */ new Set()));
36084
36087
  #t = e.state(!1);
36085
36088
  #n;
@@ -36093,10 +36096,10 @@ var yX = class {
36093
36096
  return e.get(this.#t) ? [] : this.#i().filter((a) => !e.get(this.#e).has(a.id));
36094
36097
  }
36095
36098
  get visibleToasts() {
36096
- return this.#r().slice(0, jo);
36099
+ return this.#r().slice(0, Bo);
36097
36100
  }
36098
36101
  get overflowCount() {
36099
- return Math.max(0, this.#r().length - jo);
36102
+ return Math.max(0, this.#r().length - Bo);
36100
36103
  }
36101
36104
  dismiss(a) {
36102
36105
  e.set(this.#e, new Set(e.get(this.#e)).add(a), !0);
@@ -36169,7 +36172,7 @@ var yX = class {
36169
36172
  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);
36170
36173
  }
36171
36174
  }, Pv = "pptx-svelte-google-fonts";
36172
- function Uo(a, t) {
36175
+ function jo(a, t) {
36173
36176
  return Tg(a ?? [], t ?? []);
36174
36177
  }
36175
36178
  function kX(a, t) {
@@ -36218,14 +36221,14 @@ function CX(a) {
36218
36221
  a.loader.loadCount > 0 && s !== r && (r = s, a.getOnslidechange()?.(s));
36219
36222
  }), typeof document < "u" && (e.user_effect(() => {
36220
36223
  let s = !1;
36221
- return Uo(a.loader.slides, a.loader.embeddedFonts).then((l) => s ? null : (kX(document, l), l)), () => {
36224
+ return jo(a.loader.slides, a.loader.embeddedFonts).then((l) => s ? null : (kX(document, l), l)), () => {
36222
36225
  s = !0;
36223
36226
  };
36224
36227
  }), e.user_effect(() => () => TX(document)), e.user_effect(() => {
36225
36228
  let s = !1;
36226
36229
  const l = a.loader.slides, o = a.loader.embeddedFonts, d = C2(l), c = M1(d, o.map((u) => u.name));
36227
36230
  if (c.length !== 0)
36228
- return Uo(l, o).then(async (u) => {
36231
+ return jo(l, o).then(async (u) => {
36229
36232
  if (s || !u) return;
36230
36233
  const p = [{
36231
36234
  bold: !1,
@@ -36426,7 +36429,7 @@ var IX = class {
36426
36429
  keep(a) {
36427
36430
  let t = a.slides;
36428
36431
  for (const [n, i] of this.bySlide) {
36429
- const r = i.map((s) => yd(s)).filter((s) => s !== null);
36432
+ const r = i.map((s) => xd(s)).filter((s) => s !== null);
36430
36433
  r.length && t[n] && (t = t.map((s, l) => l === n ? {
36431
36434
  ...s,
36432
36435
  elements: [...s.elements, ...r]
@@ -36749,7 +36752,7 @@ function DX(a) {
36749
36752
  getOnerror: () => s.onerror,
36750
36753
  getOnslidechange: () => s.onslidechange,
36751
36754
  onContentApplied: () => {
36752
- a.onNewDocumentLoaded?.(), r.adoptDocAfterLoad(t.loadOrigin), l.activeCustomShowId = bd(t.presentationProperties, t.customShows) ?? null, o.reset(), d.reset();
36755
+ a.onNewDocumentLoaded?.(), r.adoptDocAfterLoad(t.loadOrigin), l.activeCustomShowId = _d(t.presentationProperties, t.customShows) ?? null, o.reset(), d.reset();
36753
36756
  const h = Cp({ viewProperties: t.viewProperties }, {
36754
36757
  ...l.preferences,
36755
36758
  snapToObjects: l.snapToShape,
@@ -36942,7 +36945,7 @@ async function NX(a, t = {}) {
36942
36945
  return new Uint8Array(h).set(f), new Blob([h], { type: "image/gif" });
36943
36946
  }
36944
36947
  function Iv(a, t, n, i = {}) {
36945
- return gd.exportSlide(a, t, n, i);
36948
+ return hd.exportSlide(a, t, n, i);
36946
36949
  }
36947
36950
  function FX(a, t, n, i = {}) {
36948
36951
  return new Blob([Iv(a, t, n, i)], { type: "image/svg+xml;charset=utf-8" });
@@ -36951,7 +36954,7 @@ function sJ(a, t, n, i, r = {}) {
36951
36954
  Gt(FX(a, n, i, r), `slide-${t + 1}.svg`);
36952
36955
  }
36953
36956
  function LX(a, t = {}) {
36954
- return gd.exportAll(a, t);
36957
+ return hd.exportAll(a, t);
36955
36958
  }
36956
36959
  function lJ(a, t = {}) {
36957
36960
  return LX(a, t).map((n) => new Blob([n], { type: "image/svg+xml;charset=utf-8" }));
@@ -36980,14 +36983,14 @@ function jX(a) {
36980
36983
  i.addEventListener("afterprint", n, { once: !0 }), i.focus(), i.print();
36981
36984
  }), t.srcdoc = a, document.body.appendChild(t), setTimeout(() => t.remove(), BX), !0;
36982
36985
  }
36983
- function Ho(a) {
36986
+ function Uo(a) {
36984
36987
  return a.printWhat === "notes" ? "Notes Pages" : a.printWhat === "outline" ? "Outline" : a.printWhat === "handouts" ? `Handout ${a.slidesPerPage} per page` : "Slides";
36985
36988
  }
36986
36989
  async function UX(a, t = {}) {
36987
36990
  const n = a.getSlides(), i = r0(t, n.length), r = a.openPrintWindow ?? jX, s = hy(i.colorMode), l = jm(pm(i.slideRange, a.getCurrent(), n.length, i.customRangeFrom, i.customRangeTo), n, a.getIncludeHiddenSlides?.() ?? !1);
36988
36991
  if (l.length === 0) return !1;
36989
36992
  const o = (u, p = !1) => A2({
36990
- title: Ho(i),
36993
+ title: Uo(i),
36991
36994
  bodyHtml: u,
36992
36995
  orientation: p ? "portrait" : i.orientation,
36993
36996
  colorFilter: s,
@@ -36998,7 +37001,7 @@ async function UX(a, t = {}) {
36998
37001
  if (i.printWhat === "slides") {
36999
37002
  const { width: u, height: p } = a.getCanvasSize(), v = l.map((f) => Iv(n[f], u, p));
37000
37003
  return r(Dy(v, u, p, {
37001
- title: Ho(i),
37004
+ title: Uo(i),
37002
37005
  orientation: i.orientation,
37003
37006
  colorFilter: s,
37004
37007
  scaleToFit: i.scaleToFit
@@ -37482,7 +37485,7 @@ function sY(a) {
37482
37485
  i.intent === "next-slide" ? (n.preventDefault(), a.presentation.advance()) : i.intent === "previous-slide" && (n.preventDefault(), a.presentation.retreat() || a.presentation.previousSlide());
37483
37486
  },
37484
37487
  onFullscreenToggle() {
37485
- if (a.viewer.isFullscreen && !Fi()) return;
37488
+ if (a.viewer.isFullscreen && !Li()) return;
37486
37489
  if (!a.viewer.isFullscreen) {
37487
37490
  const i = a.presentation.entryIndex(a.viewer.current);
37488
37491
  i !== a.viewer.current && a.viewer.goTo(i);
@@ -37491,7 +37494,7 @@ function sY(a) {
37491
37494
  n && nY(n);
37492
37495
  },
37493
37496
  onFullscreenChange() {
37494
- if (!Fi()) {
37497
+ if (!Li()) {
37495
37498
  a.viewer.isFullscreen = !0, a.getRootEl()?.focus();
37496
37499
  return;
37497
37500
  }
@@ -37515,7 +37518,7 @@ function lY(a) {
37515
37518
  getShowWithAnimation: () => i.presentationProperties.showWithAnimation,
37516
37519
  getLoopContinuously: () => $1(t.presentationProperties),
37517
37520
  exit: () => {
37518
- Fi() && (n.isFullscreen = !1);
37521
+ Li() && (n.isFullscreen = !1);
37519
37522
  },
37520
37523
  getFrameRoot: () => a.getStageHolderEl()?.querySelector(".pptx-svelte-stage") ?? null,
37521
37524
  getCanvasSize: () => i.canvasSize,
@@ -37528,7 +37531,7 @@ function lY(a) {
37528
37531
  setActiveCustomShowId: (v) => {
37529
37532
  r.activeCustomShowId = v;
37530
37533
  },
37531
- getAuthoredRange: () => $o(i.presentationProperties, t.renderedSlides.length),
37534
+ getAuthoredRange: () => Qo(i.presentationProperties, t.renderedSlides.length),
37532
37535
  confirmUrl: (v) => o.confirmHyperlink(v, d("pptx.options.trust.confirmHyperlinks")),
37533
37536
  onPlayActionSound: (v) => {
37534
37537
  const f = i.mediaDataUrls.get(v);
@@ -38068,10 +38071,13 @@ var _Y = class {
38068
38071
  });
38069
38072
  }
38070
38073
  reset(a, t = 0) {
38071
- this.slideCount = Math.max(0, a), this.current = Bo(t, this.slideCount), this.zoomPercent = null;
38074
+ this.slideCount = Math.max(0, a), this.current = bi(t, this.slideCount), this.zoomPercent = null;
38075
+ }
38076
+ setSlideCount(a) {
38077
+ this.slideCount = Math.max(0, a), this.current = bi(this.current, this.slideCount);
38072
38078
  }
38073
38079
  goTo(a) {
38074
- this.current = Bo(a, this.slideCount);
38080
+ this.current = bi(a, this.slideCount);
38075
38081
  }
38076
38082
  next() {
38077
38083
  this.goTo(this.current + 1);
@@ -38151,13 +38157,13 @@ function bY(a) {
38151
38157
  canvas: o.canvasSize
38152
38158
  }).size,
38153
38159
  getCanvasSize: () => o.canvasSize,
38154
- getTableStyleOptions: () => rd({
38160
+ getTableStyleOptions: () => id({
38155
38161
  tableStyleMap: o.tableStyleMap,
38156
38162
  tableStylesDefaultId: o.tableStylesDefaultId,
38157
38163
  tableStylesToDelete: o.tableStylesToDelete
38158
38164
  }),
38159
38165
  onChange: () => {
38160
- a.onchange?.();
38166
+ d.setSlideCount(u.slides.length), a.onchange?.();
38161
38167
  const k = a.oncontentchange;
38162
38168
  k && Oc(u).then(k, (E) => a.onerror?.(E instanceof Error ? E.message : String(E)));
38163
38169
  }
@@ -38254,7 +38260,7 @@ function bY(a) {
38254
38260
  }), w = WG(u), x = (k) => {
38255
38261
  v.optionsState.playFeedback();
38256
38262
  const E = a.getFilePath();
38257
- k === "pptx" && E && v.optionsState.shouldDiscardAutosaveOnSave && Oi(E).catch(() => {
38263
+ k === "pptx" && E && v.optionsState.shouldDiscardAutosaveOnSave && qi(E).catch(() => {
38258
38264
  });
38259
38265
  }, _ = {
38260
38266
  ...w,
@@ -38283,7 +38289,7 @@ function bY(a) {
38283
38289
  (async () => {
38284
38290
  try {
38285
38291
  const k = await ah(), E = $p(k, v.optionsState.options);
38286
- await Promise.all(E.map((I) => Oi(I)));
38292
+ await Promise.all(E.map((I) => qi(I)));
38287
38293
  } catch {
38288
38294
  }
38289
38295
  })();
@@ -38437,7 +38443,7 @@ var xY = class {
38437
38443
  e.set(this.#n, a, !0);
38438
38444
  }
38439
38445
  constructor(a) {
38440
- this.#e = a, this.themeKey = je(() => a.getDefaultThemeKey()) ?? ki().themeKey ?? "default", this.localeOverride = je(() => a.getDefaultLocale()) ?? ki().localeCode;
38446
+ this.#e = a, this.themeKey = je(() => a.getDefaultThemeKey()) ?? Ti().themeKey ?? "default", this.localeOverride = je(() => a.getDefaultLocale()) ?? Ti().localeCode;
38441
38447
  }
38442
38448
  get catalog() {
38443
38449
  return this.#e.getAvailableThemes() ?? qv;
@@ -38943,9 +38949,9 @@ export {
38943
38949
  ke as G,
38944
38950
  MS as H,
38945
38951
  HO as I,
38946
- Ki as L,
38952
+ Wi as L,
38947
38953
  u9 as M,
38948
- Wi as N,
38954
+ Zi as N,
38949
38955
  rJ as O,
38950
38956
  Iq as P,
38951
38957
  cu as R,
@@ -38958,7 +38964,7 @@ export {
38958
38964
  XX as a,
38959
38965
  iJ as b,
38960
38966
  sJ as c,
38961
- Bo as d,
38967
+ bi as d,
38962
38968
  _X as f,
38963
38969
  xW as g,
38964
38970
  mZ as h,