UNPKG

@braze/web-sdk

Version:

Braze SDK for web sites and other JS platforms.

32 lines (31 loc) 952 B
import Card from "./card.js"; export default class ImageOnly extends Card { constructor(s, t, i, h, r, e, l, n, o, a, u, c, d, m) { super(s, t, null, i, null, h, r, e, l, n, o, a, u, c, d, m), (this.oe = "ab-image-only"), (this.ae = !1), (this.test = !1); } bt() { const s = {}; return ( (s[Card.es.hs] = Card.ds.ai), (s[Card.es.ps] = this.id), (s[Card.es.us] = this.viewed), (s[Card.es.fs] = this.imageUrl), (s[Card.es.bs] = this.updated), (s[Card.es.gs] = this.created), (s[Card.es.js] = this.categories), (s[Card.es.zs] = this.expiresAt), (s[Card.es.URL] = this.url), (s[Card.es.ks] = this.linkText), (s[Card.es.qs] = this.aspectRatio), (s[Card.es.vs] = this.extras), (s[Card.es.ws] = this.pinned), (s[Card.es.ys] = this.dismissible), (s[Card.es.As] = this.clicked), (s[Card.es.Bs] = this.test), s ); } }