// ───────── Stampa video · Scenes 6, 7 + Master ─────────

const { Sprite: Sprite3, useSprite: useSprite3, animate: animate3, Easing: Easing3, clamp: clamp3 } = window;
const { Seal: Seal3, PhoneShell: PhoneShell3, Chyron: Chyron3 } = window.VideoScenes_Part1;

// ════════════════════════════════════════════════════════════════════
// SCENE 6 · CLIENT SIGNS  (30.5 → 35.5)
// ════════════════════════════════════════════════════════════════════
function Scene6Signing() {
  return (
    <Sprite start={30.5} end={35.7}>
      {({ localTime: t, duration }) => {
        const exit = animate3({ from: 0, to: 1, start: duration - 0.4, end: duration, ease: Easing3.easeInCubic })(t);
        const op = 1 - exit;

        // Signature progress: 0 → 1 between 1.0 → 2.5s
        const sigE = animate3({ from: 0, to: 1, start: 1.0, end: 2.5, ease: Easing3.easeInOutCubic })(t);
        // Stamp slam after signature
        const stampE = animate3({ from: 0, to: 1, start: 2.8, end: 3.2, ease: Easing3.easeOutBack })(t);
        // Done badge
        const doneE = animate3({ from: 0, to: 1, start: 3.4, end: 3.8, ease: Easing3.easeOutBack })(t);

        return (
          <div style={{ position: 'absolute', inset: 0, opacity: op }}>
            {/* Phone - realistic /sign page from real app */}
            <PhoneShell3 x={80} y={20} w={360} h={680}>
              <div style={{ position: 'absolute', inset: 0, paddingTop: 44, display: 'flex', flexDirection: 'column' }}>
                {/* Sticky header - matches real sign page header */}
                <div style={{
                  padding: '10px 14px',
                  background: 'rgba(255,255,255,0.85)',
                  backdropFilter: 'blur(10px)',
                  WebkitBackdropFilter: 'blur(10px)',
                  borderBottom: '1px solid var(--rule)',
                  display: 'flex', alignItems: 'center', gap: 8,
                  height: 44, flexShrink: 0,
                }}>
                  {/* FileSignature icon */}
                  <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="var(--stamp)" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round">
                    <path d="M20 19.5V5a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v14"/>
                    <path d="M14 3v4a2 2 0 0 0 2 2h4"/>
                    <path d="M8 18h.01"/>
                    <path d="M16 22a2 2 0 0 1-2-2"/>
                    <path d="M20 15a2 2 0 0 0-2 2v3"/>
                    <path d="M16 15c1.5 0 4 1 4 4"/>
                  </svg>
                  <span style={{ fontSize: 12, fontWeight: 700, color: 'var(--stamp)' }}>סטמפה</span>
                  <span style={{ fontSize: 10, color: 'var(--ink-muted)' }}>·</span>
                  <span style={{
                    fontSize: 10, color: 'var(--ink-muted)',
                    whiteSpace: 'nowrap', overflow: 'hidden', textOverflow: 'ellipsis',
                  }}>
                    חתימה דיגיטלית · דוד מ. שיפוצים
                  </span>
                </div>

                {/* Main body */}
                <div style={{ flex: 1, padding: '14px 14px 0', overflow: 'hidden' }}>
                  {/* Title + subtitle */}
                  <h1 style={{
                    fontFamily: 'var(--font-display)',
                    fontSize: 22, fontWeight: 700, letterSpacing: '-0.02em',
                    lineHeight: 1.15, margin: 0,
                  }}>
                    {doneE > 0.5 ? 'תודה על החתימה' : 'שיפוץ דירה - קרליבך 14'}
                  </h1>
                  <p style={{
                    fontSize: 11, color: 'var(--ink-muted)',
                    marginTop: 4, marginBottom: 10, lineHeight: 1.4,
                  }}>
                    {doneE > 0.5
                      ? 'ההצעה נשלחה בחזרה לקבלן. ניתן להוריד עותק חתום בכל עת.'
                      : 'אנא בדוק/י את הפרטים בהצעה ולאחר מכן חתום/י בתחתית.'}
                  </p>

                  {/* PDF preview panel - matches real /sign page */}
                  <div style={{
                    background: 'var(--panel)',
                    border: '1px solid var(--rule)',
                    borderRadius: 8,
                    padding: 10, marginBottom: 10,
                  }}>
                    <div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', marginBottom: 8 }}>
                      <span style={{
                        fontSize: 11, fontWeight: 600,
                        display: 'inline-flex', alignItems: 'center', gap: 5,
                      }}>
                        {/* Eye icon */}
                        <svg width="11" height="11" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round">
                          <path d="M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z"/>
                          <circle cx="12" cy="12" r="3"/>
                        </svg>
                        ההצעה
                      </span>
                      <span style={{
                        fontSize: 10, color: 'var(--stamp)', fontWeight: 500,
                        display: 'inline-flex', alignItems: 'center', gap: 3,
                      }}>
                        <svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round">
                          <path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/>
                          <polyline points="7 10 12 15 17 10"/>
                          <line x1="12" y1="15" x2="12" y2="3"/>
                        </svg>
                        הורדה
                      </span>
                    </div>

                    {/* PDF page mock - A4 proportional */}
                    <div style={{
                      background: '#fff',
                      border: '1px solid var(--rule)',
                      borderRadius: 4,
                      padding: 12, position: 'relative',
                      aspectRatio: '0.78',
                      maxHeight: 200,
                    }}>
                      {/* PDF header */}
                      <div style={{
                        display: 'flex', justifyContent: 'space-between',
                        borderBottom: '0.5px solid var(--rule-strong)', paddingBottom: 4, marginBottom: 6,
                      }}>
                        <span style={{ fontFamily: 'var(--font-display)', fontSize: 9, fontWeight: 600 }}>
                          הצעת מחיר
                        </span>
                        <span className="font-mono" style={{ fontSize: 7, color: 'var(--ink-muted)' }}>#143</span>
                      </div>
                      {/* Body content */}
                      <div style={{ display: 'flex', flexDirection: 'column', gap: 2.5 }}>
                        <div style={{ height: 3, width: '60%', background: 'var(--ink)', borderRadius: 1 }} />
                        <div style={{ height: 2, width: '85%', background: 'var(--rule-strong)', borderRadius: 1 }} />
                        <div style={{ height: 2, width: '75%', background: 'var(--rule-strong)', borderRadius: 1 }} />
                        <div style={{ height: 2, width: '80%', background: 'var(--rule-strong)', borderRadius: 1 }} />
                        <div style={{ height: 6, marginTop: 4 }} />
                        <div style={{ height: 2.5, width: '50%', background: 'var(--ink)', borderRadius: 1 }} />
                        <div style={{ height: 2, width: '88%', background: 'var(--rule-strong)', borderRadius: 1 }} />
                        <div style={{ height: 2, width: '70%', background: 'var(--rule-strong)', borderRadius: 1 }} />
                        <div style={{ height: 2, width: '82%', background: 'var(--rule-strong)', borderRadius: 1 }} />
                      </div>
                      {/* Total at bottom */}
                      <div style={{
                        position: 'absolute', bottom: 12, left: 12, right: 12,
                        borderTop: '0.5px solid var(--ink)', paddingTop: 4,
                        display: 'flex', justifyContent: 'space-between',
                        fontFamily: 'var(--font-mono)', fontSize: 9, fontWeight: 700,
                      }}>
                        <span>סה״כ + מע״מ</span>
                        <span>₪ 21,948</span>
                      </div>
                      {/* Stamp on the PDF */}
                      <div style={{
                        position: 'absolute', bottom: 28, left: 14,
                        opacity: 0.85,
                      }}>
                        <Seal3 size={32} rotation={-12} />
                      </div>
                    </div>
                  </div>

                  {/* Signature pad - matches real SignaturePad */}
                  <div style={{ marginBottom: 8 }}>
                    <div style={{
                      display: 'flex', justifyContent: 'space-between', alignItems: 'center',
                      marginBottom: 5,
                    }}>
                      <span style={{ fontSize: 10, fontWeight: 600, color: 'var(--ink)' }}>
                        חתימה
                      </span>
                      <span style={{
                        fontSize: 9, color: 'var(--ink-muted)',
                        display: 'inline-flex', alignItems: 'center', gap: 3,
                      }}>
                        <svg width="9" height="9" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round">
                          <path d="M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"/>
                          <path d="M3 3v5h5"/>
                        </svg>
                        נקה
                      </span>
                    </div>
                    <div style={{
                      background: 'var(--panel)',
                      border: '1.5px dashed var(--rule-strong)',
                      borderRadius: 6, height: 84, position: 'relative', overflow: 'hidden',
                    }}>
                      <svg viewBox="0 0 240 84" style={{ position: 'absolute', inset: 0, width: '100%', height: '100%' }}>
                        <path
                          d="M20 55 C 30 25, 45 75, 60 45 S 90 30, 105 50 Q 122 65, 145 40 T 195 50 Q 210 56, 220 42"
                          stroke="var(--ink)" strokeWidth="2.4" fill="none"
                          strokeLinecap="round" strokeLinejoin="round"
                          pathLength="1"
                          strokeDasharray="1"
                          strokeDashoffset={1 - sigE}
                        />
                        <path
                          d="M195 50 Q 200 70, 215 65"
                          stroke="var(--ink)" strokeWidth="2.2" fill="none"
                          strokeLinecap="round"
                          pathLength="1" strokeDasharray="1"
                          strokeDashoffset={1 - Math.max(0, sigE - 0.7) * 3.33}
                        />
                      </svg>

                      {stampE > 0 && (
                        <div style={{
                          position: 'absolute', bottom: 6, right: 12,
                          transform: `scale(${0.5 + stampE * 0.5}) rotate(${-30 + stampE * 16}deg)`,
                          opacity: stampE,
                          filter: stampE < 0.7 ? 'blur(1px)' : 'none',
                        }}>
                          <Seal3 size={44} rotation={0} />
                        </div>
                      )}
                    </div>

                    {/* Name input */}
                    <div style={{ marginTop: 8 }}>
                      <input
                        type="text"
                        value={sigE > 0.95 ? 'גלית מורן' : ''}
                        readOnly
                        placeholder="שם מלא"
                        style={{
                          width: '100%', padding: '8px 10px',
                          background: 'var(--panel)', border: '1px solid var(--rule)',
                          borderRadius: 6, fontSize: 12, color: 'var(--ink)',
                          fontFamily: 'inherit', direction: 'rtl', textAlign: 'right',
                          outline: 'none',
                        }}
                      />
                    </div>

                    {/* Consent checkbox */}
                    <div style={{
                      marginTop: 8, display: 'flex', alignItems: 'flex-start', gap: 7,
                      fontSize: 10, color: 'var(--ink-muted)', lineHeight: 1.4,
                    }}>
                      <span style={{
                        width: 14, height: 14, borderRadius: 3,
                        border: '1.5px solid var(--rule-strong)',
                        background: sigE > 0.9 ? 'var(--ink)' : 'var(--panel)',
                        display: 'inline-flex', alignItems: 'center', justifyContent: 'center',
                        color: 'var(--paper)', flexShrink: 0,
                      }}>
                        {sigE > 0.9 && (
                          <svg width="10" height="10" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="3" strokeLinecap="round" strokeLinejoin="round">
                            <polyline points="20 6 9 17 4 12"/>
                          </svg>
                        )}
                      </span>
                      <span>אני מאשר/ת את תנאי ההצעה ואת החתימה הדיגיטלית כתקפה</span>
                    </div>
                  </div>
                </div>

                {/* Sticky submit button at bottom */}
                <div style={{
                  padding: '10px 14px 18px',
                  borderTop: '1px solid var(--rule)',
                  background: 'var(--paper)',
                }}>
                  <button style={{
                    width: '100%', height: 42, borderRadius: 999,
                    background: doneE > 0.3 ? 'var(--sage)' : 'var(--stamp)',
                    color: '#fff', border: 0,
                    fontSize: 13, fontWeight: 600, fontFamily: 'inherit',
                    display: 'inline-flex', alignItems: 'center', justifyContent: 'center', gap: 7,
                    transition: 'background 200ms',
                  }}>
                    {doneE > 0.3 ? (
                      <>
                        <svg width="13" height="13" viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="3" strokeLinecap="round" strokeLinejoin="round">
                          <polyline points="20 6 9 17 4 12"/>
                        </svg>
                        נחתם בהצלחה
                      </>
                    ) : 'אישור וחתימה'}
                  </button>
                </div>
              </div>
            </PhoneShell3>

            {/* Big stamp slam particles around phone when stamped */}
            {stampE > 0 && stampE < 1 && (
              <StampParticles t={stampE} cx={250} cy={420} />
            )}

            {/* Side caption */}
            <div style={{
              position: 'absolute', right: 36, top: 70, direction: 'rtl', maxWidth: 380,
              opacity: animate3({ from: 0, to: 1, start: 0.3, end: 0.8, ease: Easing3.easeOutCubic })(t),
            }}>
              <div style={{ display: 'flex', alignItems: 'baseline', gap: 12, marginBottom: 12 }}>
                <span style={{ fontFamily: 'var(--font-mono)', fontSize: 14, color: 'var(--stamp)', letterSpacing: '0.12em' }}>
                  STEP 05
                </span>
                <span style={{ width: 50, height: 1, background: 'var(--rule-strong)' }} />
              </div>
              <h2 className="font-display" style={{ fontSize: 48, lineHeight: 1, letterSpacing: '-0.02em', margin: 0 }}>
                הלקוח <span style={{ color: 'var(--stamp)', fontStyle: 'italic' }}>חותם.</span>
              </h2>
              <p style={{ fontSize: 14, lineHeight: 1.5, color: 'var(--ink-soft)', marginTop: 14 }}>
                בקישור אחד, בנייד, ללא צורך באפליקציה.
              </p>
            </div>

            <Chyron3 num={5} label="חתימה דיגיטלית" />
          </div>
        );
      }}
    </Sprite>
  );
}

// Stamp ripple particles (red dots flying out)
function StampParticles({ t, cx, cy }) {
  const N = 12;
  return (
    <>
      {Array.from({ length: N }).map((_, i) => {
        const angle = (i / N) * Math.PI * 2;
        const dist = 80 + t * 100;
        const x = cx + Math.cos(angle) * dist;
        const y = cy + Math.sin(angle) * dist;
        return (
          <div key={i} style={{
            position: 'absolute', left: x, top: y,
            width: 6, height: 6, borderRadius: 999,
            background: i % 2 ? 'var(--stamp)' : 'var(--amber)',
            opacity: 1 - t,
            transform: `translate(-50%, -50%) scale(${1 - t * 0.4})`,
          }} />
        );
      })}
      {/* Expanding ring */}
      <div style={{
        position: 'absolute', left: cx, top: cy,
        width: 60, height: 60, borderRadius: 999,
        border: '2px solid var(--stamp)',
        transform: `translate(-50%, -50%) scale(${1 + t * 4})`,
        opacity: (1 - t) * 0.5,
      }} />
    </>
  );
}

// ════════════════════════════════════════════════════════════════════
// SCENE 7 · NOTIFICATION + OUTRO  (35.5 → 40)
// ════════════════════════════════════════════════════════════════════
function Scene7Notification() {
  return (
    <Sprite start={35.5} end={40.5}>
      {({ localTime: t, duration }) => {
        // Phone re-enters from below (this is now the contractor's phone again)
        const phoneE = animate3({ from: 0, to: 1, start: 0, end: 0.5, ease: Easing3.easeOutCubic })(t);

        // Notification drops in
        const notifE = animate3({ from: 0, to: 1, start: 0.6, end: 1.0, ease: Easing3.easeOutBack })(t);
        // Pulse
        const pulse = Math.sin((t - 0.8) * 5) * 0.5 + 0.5;

        // Big check overlay + confetti at 1.6s
        const celebE = animate3({ from: 0, to: 1, start: 1.4, end: 1.8, ease: Easing3.easeOutBack })(t);

        // Final outro: at 2.6s, zoom out and show summary
        const outroE = animate3({ from: 0, to: 1, start: 2.6, end: 3.4, ease: Easing3.easeInOutCubic })(t);

        // Phone fully fades out as outro takes over
        const phoneScale = (1 + Math.sin(t * 1.5) * 0.005) * (1 - outroE * 0.4);
        const phoneOpacity = phoneE * (1 - outroE);
        const notifVisible = outroE < 0.3;

        return (
          <div style={{ position: 'absolute', inset: 0 }}>
            {/* Phone (contractor) */}
            <div style={{
              transform: `scale(${phoneScale})`, transformOrigin: '50% 50%',
              opacity: phoneOpacity,
            }}>
              <PhoneShell3 x={480} y={20} w={360} h={680}>
                <div style={{ position: 'absolute', inset: 0, paddingTop: 50 }}>
                  {/* Background: home screen / quote list */}
                  <div style={{
                    padding: '8px 18px',
                    opacity: 0.55,
                  }}>
                    <div className="smallcaps" style={{ fontSize: 9, marginBottom: 4 }}>בוקר טוב, דוד</div>
                    <div className="font-display" style={{ fontSize: 22, lineHeight: 1.1 }}>
                      12 הצעות החודש,
                      <br />
                      <span style={{ color: 'var(--stamp)', fontStyle: 'italic' }}>₪ 184,200</span> נחתמו.
                    </div>
                  </div>
                  <div style={{ padding: '10px 14px', opacity: 0.4 }}>
                    {[1, 2, 3].map((i) => (
                      <div key={i} style={{
                        background: 'var(--panel)', border: '1px solid var(--rule)',
                        borderRadius: 10, padding: 10, marginBottom: 6, height: 56,
                      }} />
                    ))}
                  </div>
                </div>

                {/* Notification banner - drops from top under the notch */}
                {notifE > 0 && notifVisible && (
                  <div style={{
                    position: 'absolute', top: 46, left: 10, right: 10,
                    background: 'rgba(255,255,255,0.85)',
                    backdropFilter: 'blur(20px)',
                    WebkitBackdropFilter: 'blur(20px)',
                    borderRadius: 14, padding: 10,
                    boxShadow: `
                      0 12px 24px -8px rgba(26,20,14,0.35),
                      0 0 0 1px rgba(255,255,255,0.5) inset
                    `,
                    opacity: notifE,
                    transform: `translateY(${(1 - notifE) * -40}px) scale(${0.92 + notifE * 0.08})`,
                    zIndex: 50,
                    direction: 'rtl',
                  }}>
                    <div style={{ display: 'flex', alignItems: 'flex-start', gap: 8 }}>
                      <div style={{
                        width: 28, height: 28, borderRadius: 6,
                        background: 'var(--stamp)', color: '#fff',
                        display: 'flex', alignItems: 'center', justifyContent: 'center',
                        boxShadow: `0 0 ${pulse * 10}px var(--stamp-glow)`,
                        flexShrink: 0,
                      }}>
                        <Seal3 size={22} rotation={0} color="#fff" />
                      </div>
                      <div style={{ flex: 1, minWidth: 0 }}>
                        <div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'baseline' }}>
                          <span style={{
                            fontSize: 10, color: 'var(--ink-muted)',
                            textTransform: 'uppercase', letterSpacing: '0.06em', fontWeight: 600,
                          }}>STAMPA</span>
                          <span style={{ fontSize: 9, color: 'var(--ink-muted)' }}>הרגע</span>
                        </div>
                        <div style={{ fontSize: 12, fontWeight: 700, marginTop: 1 }}>
                          ✓ גלית מורן חתמה
                        </div>
                        <div style={{ fontSize: 11, color: 'var(--ink-soft)', marginTop: 2 }}>
                          הצעה #143 · ₪ 21,948
                        </div>
                      </div>
                    </div>
                  </div>
                )}

                {/* Big check overlay removed - small ✓ in notification banner is enough */}
              </PhoneShell3>
            </div>

            {/* Confetti removed by request */}

            {/* OUTRO: full-canvas summary card - phone fully faded, outro centered on stage */}
            {outroE > 0 && (
              <div style={{
                position: 'absolute', inset: 0,
                background: `linear-gradient(180deg, rgba(255,255,255,${outroE * 0.5}) 0%, rgba(255,255,255,${outroE * 0.9}) 100%)`,
                display: 'flex', alignItems: 'center', justifyContent: 'center',
                opacity: outroE,
                direction: 'rtl',
                zIndex: 100,
              }}>
                <div style={{
                  display: 'flex', flexDirection: 'column', alignItems: 'center',
                  transform: `translateY(${(1 - outroE) * 30}px)`,
                  maxWidth: 900,
                  textAlign: 'center',
                }}>
                  {/* Seal - the "S logo" */}
                  <div style={{ marginBottom: 18 }}>
                    <Seal3 size={120} rotation={-6} />
                  </div>

                  {/* Wordmark סטמפה */}
                  <div className="font-display" style={{
                    fontSize: 72, lineHeight: 1, fontWeight: 600,
                    color: 'var(--ink)', letterSpacing: '-0.03em',
                  }}>
                    סטמפה
                  </div>


                  {/* Free-tier headline - no border */}
                  <div className="font-display" style={{
                    marginTop: 44,
                    fontSize: 44, lineHeight: 1, letterSpacing: '-0.02em',
                    color: 'var(--stamp)', fontWeight: 700, fontStyle: 'italic',
                  }}>
                    5 הצעות חינם
                  </div>
                  <div className="font-display" style={{
                    marginTop: 4,
                    fontSize: 22, color: 'var(--ink-muted)', fontWeight: 500,
                  }}>
                    ללא אשראי
                  </div>
                </div>
              </div>
            )}

            <Chyron3 num={6} label="עסקה נסגרה" />
          </div>
        );
      }}
    </Sprite>
  );
}

// Confetti / money particles flying up
function Confetti({ t, cx, cy }) {
  const N = 24;
  return (
    <>
      {Array.from({ length: N }).map((_, i) => {
        const seed = (i * 37) % 100 / 100;
        const angle = (-Math.PI / 2) + (seed - 0.5) * Math.PI * 0.8;
        const speed = 200 + seed * 400;
        const x = cx + Math.cos(angle) * speed * t;
        const y = cy + Math.sin(angle) * speed * t + (0.5 * 600 * t * t); // gravity
        const op = 1 - t;
        const rot = t * 720 * (seed > 0.5 ? 1 : -1);
        const colors = ['var(--stamp)', 'var(--amber)', 'var(--sage)', 'var(--ink)', 'var(--stamp-ink)'];
        const isShekel = i % 4 === 0;
        return (
          <div key={i} style={{
            position: 'absolute', left: x, top: y,
            transform: `translate(-50%, -50%) rotate(${rot}deg)`,
            opacity: op,
            color: colors[i % colors.length],
            fontFamily: 'var(--font-display)',
            fontSize: isShekel ? 18 : 14,
            fontWeight: 700,
            pointerEvents: 'none',
          }}>
            {isShekel ? '₪' : (
              <span style={{
                display: 'inline-block', width: 8, height: 12,
                background: 'currentColor', borderRadius: 1,
              }} />
            )}
          </div>
        );
      })}
    </>
  );
}

// ════════════════════════════════════════════════════════════════════
// MASTER
// ════════════════════════════════════════════════════════════════════
function VideoScenes() {
  const { Ambient } = window.VideoScenes_Part1;
  const { Scene1ColdOpen, Scene2Recording } = window.VideoScenes_Part1;
  const { Scene3AI, Scene4Pricing, Scene5WhatsApp } = window.VideoScenes_Part2;
  return (
    <>
      <Ambient />
      <Scene1ColdOpen />
      <Scene2Recording />
      <Scene3AI />
      <Scene4Pricing />
      <Scene5WhatsApp />
      <Scene6Signing />
      <Scene7Notification />
    </>
  );
}

window.VideoScenes = VideoScenes;
window.Scene6Signing = Scene6Signing;
window.Scene7Notification = Scene7Notification;
