PageSourceSearch

https://www.nuanceaudio.com/cms-preview/coremedia.preview.blueprint.js

js nuanceaudio.com collected 2026-09-24 18:20:42 UTC 17,480 bytes, 363 lines download raw bytes

1!function (e) {
2  var t = {};
3
4  function n(r) {
5    if (t[r]) return t[r].exports;
6    var i = t[r] = {i: r, l: !1, exports: {}};
7    return e[r].call(i.exports, i, i.exports, n), i.l = !0, i.exports
8  }
9
10  n.m = e, n.c = t, n.d = function (e, t, r) {
11    n.o(e, t) || Object.defineProperty(e, t, {enumerable: !0, get: r})
12  }, n.r = function (e) {
13    "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {value: "Module"}), Object.defineProperty(e, "__esModule", {value: !0})
14  }, n.t = function (e, t) {
15    if (1 & t && (e = n(e)), 8 & t) return e;
16    if (4 & t && "object" == typeof e && e && e.__esModule) return e;
17    var r = Object.create(null);
18    if (n.r(r), Object.defineProperty(r, "default", {
19      enumerable: !0,
20      value: e
21    }), 2 & t && "string" != typeof e) for (var i in e) n.d(r, i, function (t) {
22      return e[t]
23    }.bind(null, i));
24    return r
25  }, n.n = function (e) {
26    var t = e && e.__esModule ? function () {
27      return e.default
28    } : function () {
29      return e
30    };
31    return n.d(t, "a", t), t
32  }, n.o = function (e, t) {
33    return Object.prototype.hasOwnProperty.call(e, t)
34  }, n.p = "", n(n.s = 0)
35}([function (e, t, n) {
36  e.exports = n(1)
37}, function (e, t, n) {
38  "use strict";
39  n.r(t);
40  n(2);
41  window.addEventListener("message", (function (e) {
42    var t = e.data;
43    if (e.origin === window.com_coremedia_pbe_studioUrl || "*" === window.com_coremedia_pbe_studioUrl) {
44      var n = void 0;
45      try {
46        n = JSON.parse(t)
47      } catch (e) {
48      }
49      if (n && ("placements.addHighlight" === n.type || "placements.removeHighlight" === n.type)) {
50        var i = n.body;
51        r && (r.disconnect(), r = null), "placements.addHighlight" === n.type ? (r = new MutationObserver((function (e) {
52          e.forEach((function (e) {
53            "childList" === e.type && Array.prototype.forEach.call(e.addedNodes, (function (e) {
54              if (e.nodeType === Node.ELEMENT_NODE) {
55                var t = l(e);
56                t.length > 0 && o(i, t)
57              }
58            }))
59          }))
60        })), o(i, l(document.body)), r.observe(document.body, {childList: !0, subtree: !0})) : function (e) {
61          for (var t = 0; t < e.length; t++) {
62            var n = e[t], r = n.classList, i = void 0, o = void 0;
63            if (r.contains("cm-placement-highlighting-orange")) r.remove("cm-placement-highlighting-orange"), i = "cm-placement-highlighting-orange-overlay", o = "cm-placement-highlighting-orange-text"; else if (r.contains("cm-placement-highlighting-green")) r.remove("cm-placement-highlighting-green"), i = "cm-placement-highlighting-green-overlay", o = "cm-placement-highlighting-green-text"; else if (r.contains("cm-placement-highlighting-blue")) {
64              r.remove("cm-placement-highlighting-blue");
65              var a = n.getElementsByClassName("cm-placement-border-left"), l = void 0;
66              for (l = 0; l < a.length; l++) n.removeChild(a[l]);
67              for (a = n.getElementsByClassName("cm-placement-border-top"), l = 0; l < a.length; l++) n.removeChild(a[l]);
68              for (a = n.getElementsByClassName("cm-placement-border-right"), l = 0; l < a.length; l++) n.removeChild(a[l]);
69              for (a = n.getElementsByClassName("cm-placement-border-bottom"), l = 0; l < a.length; l++) n.removeChild(a[l]);
70              i = "cm-placement-highlighting-blue-overlay"
71            }
72            var c = n.getElementsByClassName(i), s = void 0;
73            for (s = 0; s < c.length; s++) n.removeChild(c[s]);
74            for (c = n.getElementsByClassName(o), s = 0; s < c.length; s++) n.removeChild(c[s])
75          }
76        }(l(document.body))
77      }
78    }
79  }));
80  var r;
81
82  function i(e) {
83    for (var t = [], n = e && e.parentElement; n;) t.push(n), n = n.parentElement;
84    return t
85  }
86
87  function o(e, t) {
88    for (var n = 0; n < t.length; n++) {
89      var r = t[n], i = r.getAttribute("data-cm-metadata"), o = JSON.parse(i), l = void 0, c = void 0, s = void 0;
90      for (var p in o) if (o.hasOwnProperty(p)) {
91        var d = o[p].placementRequest;
92        if (void 0 !== d) {
93          l = Boolean(d[0].hasItems), c = Boolean(d[0].isInLayout), s = a(e, String(d[0].placementName));
94          break
95        }
96      }
97      var m = document.createElement("div");
98      if (c) if (l) {
99        var h = document.createElement("div");
100        h.classList.add("cm-placement-border-left"), r.appendChild(h);
101        var g = document.createElement("div");
102        g.classList.add("cm-placement-border-right"), r.appendChild(g);
103        var u = document.createElement("div");
104        u.classList.add("cm-placement-border-top"), r.appendChild(u);
105        var f = document.createElement("div");
106        f.classList.add("cm-placement-border-bottom"), r.appendChild(f), m.classList.add("cm-placement-highlighting-blue-overlay"), r.classList.add("cm-placement-highlighting-blue")
107      } else {
108        m.classList.add("cm-placement-highlighting-green-overlay"), r.classList.add("cm-placement-highlighting-green"), r.style.paddingLeft = m.width;
109        var v = document.createElement("div"),
110          b = document.createTextNode(a(e, "PlacementHighlighting_emptyPlacement"));
111        v.appendChild(b), v.classList.add("cm-placement-highlighting-green-text"), r.appendChild(v)
112      } else {
113        r.classList.add("cm-placement-highlighting-orange"), m.classList.add("cm-placement-highlighting-orange-overlay");
114        var y = document.createElement("div"),
115          x = document.createTextNode(a(e, "PlacementHighlighting_notInLayout").replace("(PLACEMENTNAME)", s));
116        y.appendChild(x), y.classList.add("cm-placement-highlighting-orange-text"), r.appendChild(y)
117      }
118      var E = document.createTextNode(s);
119      m.appendChild(E), r.appendChild(m), l || (r.style.paddingLeft = m.offsetWidth + 8 + "px")
120    }
121  }
122
123  function a(e, t) {
124    return e[t]
125  }
126
127  function l(e) {
128    var t, n, r = "[data-cm-metadata*='placementRequest']", o = [];
129    (function (e, t) {
130      return (Element.prototype.matches || Element.prototype.msMatchesSelector).call(e, t)
131    })(e, r) && o.push(e), t = e.querySelectorAll(r), n = function (e) {
132      o.push(e)
133    }, (NodeList.prototype.forEach || Array.prototype.forEach).call(t, n);
134    for (var a = [], l = 0; l < o.length; l++) {
135      for (var c = o[l], s = i(c), p = !1, d = 0; d < s.length; d++) {
136        var m = s[d].getAttribute("data-cm-metadata");
137        if (m) {
138          var h = JSON.parse(m);
139          for (var g in h) {
140            if (h.hasOwnProperty(g)) if (void 0 !== h[g].placementRequest) {
141              p = !0;
142              break
143            }
144          }
145        }
146      }
147      p || a.push(c)
148    }
149    return a
150  }
151}, function (e, t, n) {
152  var r = n(3);
153  "string" == typeof r && (r = [[e.i, r, ""]]);
154  var i = {hmr: !0, transform: void 0, insertInto: void 0};
155  n(5)(r, i);
156  r.locals && (e.exports = r.locals)
157}, function (e, t, n) {
158  (t = n(4)(!1)).push([e.i, '.cm-placement-highlighting-blue,\n.cm-placement-highlighting-green,\n.cm-placement-highlighting-orange {\n  position: relative;\n}\n\n/* Available Empty Placement: */\n.cm-placement-highlighting-green {\n  background: #E8F8AF;\n  border: 2px solid #2FAC66;\n  margin: 3px 0;\n}\n\n/* Unavailable Placement: */\n.cm-placement-highlighting-orange {\n  background: #FFFCCC;\n  border: 2px solid #ED8703;\n  margin: 3px 0;\n}\n\n/* Available Placement: */\n.cm-placement-highlighting-blue .cm-placement-border-left,\n.cm-placement-highlighting-blue .cm-placement-border-right,\n.cm-placement-highlighting-blue .cm-placement-border-top,\n.cm-placement-highlighting-blue .cm-placement-border-bottom {\n  background-color: #006CAE;\n}\n\n.cm-placement-border-left,\n.cm-placement-border-right,\n.cm-placement-border-top,\n.cm-placement-border-bottom {\n  position: absolute;\n  z-index: 10;\n  margin-bottom: 0;\n  margin-top: 0 !important;\n}\n\n.cm-placement-border-left,\n.cm-placement-border-right {\n  top: 0;\n  height: 100%;\n}\n\n.cm-placement-border-left {\n  left: 0;\n  width: 2px;\n}\n\n.cm-placement-border-right {\n  right: 0;\n  width: 2px;\n}\n\n.cm-placement-border-top,\n.cm-placement-border-bottom {\n  left: 0;\n  width: 100%;\n  height: 2px;\n}\n\n.cm-placement-border-top {\n  top: 0;\n}\n\n.cm-placement-border-bottom {\n  bottom: 0;\n}\n\n.cm-placement-highlighting-blue-overlay,\n.cm-placement-highlighting-green-overlay,\n.cm-placement-highlighting-orange-overlay {\n  position: absolute;\n  top: -1px;\n  left: -1px;\n  width: initial;\n  padding: 0 3px;\n  margin-top: 0 !important;\n  z-index: 10;\n  font-weight: bold;\n}\n\n.cm-placement-highlighting-blue-overlay {\n  top: 1px;\n  left: 1px;\n}\n\n.cm-placement-highlighting-green-overlay {\n  background: #E8F8AF;\n  border: 1px solid #2FAC66;\n}\n\n.cm-placement-highlighting-orange-overlay {\n  background: #FFFCCC;\n  border: 1px solid #ED8703;\n}\n\n.cm-placement-highlighting-blue-overlay {\n  background: #D6F0FF;\n  border: 1px solid #006CAE;\n}\n\n.cm-placement-highlighting-blue-overlay,\n.cm-placement-highlighting-green-overlay,\n.cm-placement-highlighting-orange-overlay,\n.cm-placement-highlighting-green,\n.cm-placement-highlighting-orange {\n  font-family: "Segoe UI", "Trebuchet MS", "Lucida Grande", Helvetica, sans-serif;\n  font-size: 12px;\n  line-height: 1.4;\n  text-align: left;\n  color: #4F4F4F;\n}\n\n.cm-placement-highlighting-green-text,\n.cm-placement-highlighting-orange-text {\n  margin-top: 0 !important;\n}\n', ""]), e.exports = t
159}, function (e, t, n) {
160  "use strict";
161  e.exports = function (e) {
162    var t = [];
163    return t.toString = function () {
164      return this.map((function (t) {
165        var n = function (e, t) {
166          var n = e[1] || "", r = e[3];
167          if (!r) return n;
168          if (t && "function" == typeof btoa) {
169            var i = (a = r, l = btoa(unescape(encodeURIComponent(JSON.stringify(a)))), c = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(l), "/*# ".concat(c, " */")),
170              o = r.sources.map((function (e) {
171                return "/*# sourceURL=".concat(r.sourceRoot || "").concat(e, " */")
172              }));
173            return [n].concat(o).concat([i]).join("\n")
174          }
175          var a, l, c;
176          return [n].join("\n")
177        }(t, e);
178        return t[2] ? "@media ".concat(t[2], " {").concat(n, "}") : n
179      })).join("")
180    }, t.i = function (e, n, r) {
181      "string" == typeof e && (e = [[null, e, ""]]);
182      var i = {};
183      if (r) for (var o = 0; o < this.length; o++) {
184        var a = this[o][0];
185        null != a && (i[a] = !0)
186      }
187      for (var l = 0; l < e.length; l++) {
188        var c = [].concat(e[l]);
189        r && i[c[0]] || (n && (c[2] ? c[2] = "".concat(n, " and ").concat(c[2]) : c[2] = n), t.push(c))
190      }
191    }, t
192  }
193}, function (e, t, n) {
194  var r, i, o = {}, a = (r = function () {
195    return window && document && document.all && !window.atob
196  }, function () {
197    return void 0 === i && (i = r.apply(this, arguments)), i
198  }), l = function (e, t) {
199    return t ? t.querySelector(e) : document.querySelector(e)
200  }, c = function (e) {
201    var t = {};
202    return function (e, n) {
203      if ("function" == typeof e) return e();
204      if (void 0 === t[e]) {
205        var r = l.call(this, e, n);
206        if (window.HTMLIFrameElement && r instanceof window.HTMLIFrameElement) try {
207          r = r.contentDocument.head
208        } catch (e) {
209          r = null
210        }
211        t[e] = r
212      }
213      return t[e]
214    }
215  }(), s = null, p = 0, d = [], m = n(6);
216
217  function h(e, t) {
218    for (var n = 0; n < e.length; n++) {
219      var r = e[n], i = o[r.id];
220      if (i) {
221        i.refs++;
222        for (var a = 0; a < i.parts.length; a++) i.parts[a](r.parts[a]);
223        for (; a < r.parts.length; a++) i.parts.push(y(r.parts[a], t))
224      } else {
225        var l = [];
226        for (a = 0; a < r.parts.length; a++) l.push(y(r.parts[a], t));
227        o[r.id] = {id: r.id, refs: 1, parts: l}
228      }
229    }
230  }
231
232  function g(e, t) {
233    for (var n = [], r = {}, i = 0; i < e.length; i++) {
234      var o = e[i], a = t.base ? o[0] + t.base : o[0], l = {css: o[1], media: o[2], sourceMap: o[3]};
235      r[a] ? r[a].parts.push(l) : n.push(r[a] = {id: a, parts: [l]})
236    }
237    return n
238  }
239
240  function u(e, t) {
241    var n = c(e.insertInto);
242    if (!n) throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invali
242d.");
243    var r = d[d.length - 1];
244    if ("top" === e.insertAt) r ? r.nextSibling ? n.insertBefore(t, r.nextSibling) : n.appendChild(t) : n.insertBefore(t, n.firstChild), d.push(t); else if ("bottom" === e.insertAt) n.appendChild(t); else {
245      if ("object" != typeof e.insertAt || !e.insertAt.before) throw new Error("[Style Loader]\n\n Invalid value for parameter 'insertAt' ('options.insertAt') found.\n Must be 'top', 'bottom', or Object.\n (https://github.com/webpack-contrib/style-loader#insertat)\n");
246      var i = c(e.insertAt.before, n);
247      n.insertBefore(t, i)
248    }
249  }
250
251  function f(e) {
252    if (null === e.parentNode) return !1;
253    e.parentNode.removeChild(e);
254    var t = d.indexOf(e);
255    t >= 0 && d.splice(t, 1)
256  }
257
258  function v(e) {
259    var t = document.createElement("style");
260    if (void 0 === e.attrs.type && (e.attrs.type = "text/css"), void 0 === e.attrs.nonce) {
261      var r = function () {
262        0;
263        return n.nc
264      }();
265      r && (e.attrs.nonce = r)
266    }
267    return b(t, e.attrs), u(e, t), t
268  }
269
270  function b(e, t) {
271    Object.keys(t).forEach((function (n) {
272      e.setAttribute(n, t[n])
273    }))
274  }
275
276  function y(e, t) {
277    var n, r, i, o;
278    if (t.transform && e.css) {
279      if (!(o = "function" == typeof t.transform ? t.transform(e.css) : t.transform.default(e.css))) return function () {
280      };
281      e.css = o
282    }
283    if (t.singleton) {
284      var a = p++;
285      n = s || (s = v(t)), r = C.bind(null, n, a, !1), i = C.bind(null, n, a, !0)
286    } else e.sourceMap && "function" == typeof URL && "function" == typeof URL.createObjectURL && "function" == typeof URL.revokeObjectURL && "function" == typeof Blob && "function" == typeof btoa ? (n = function (e) {
287      var t = document.createElement("link");
288      return void 0 === e.attrs.type && (e.attrs.type = "text/css"), e.attrs.rel = "stylesheet", b(t, e.attrs), u(e, t), t
289    }(t), r = L.bind(null, n, t), i = function () {
290      f(n), n.href && URL.revokeObjectURL(n.href)
291    }) : (n = v(t), r = w.bind(null, n), i = function () {
292      f(n)
293    });
294    return r(e), function (t) {
295      if (t) {
296        if (t.css === e.css && t.media === e.media && t.sourceMap === e.sourceMap) return;
297        r(e = t)
298      } else i()
299    }
300  }
301
302  e.exports = function (e, t) {
303    if ("undefined" != typeof DEBUG && DEBUG && "object" != typeof document) throw new Error("The style-loader cannot be used in a non-browser environment");
304    (t = t || {}).attrs = "object" == typeof t.attrs ? t.attrs : {}, t.singleton || "boolean" == typeof t.singleton || (t.singleton = a()), t.insertInto || (t.insertInto = "head"), t.insertAt || (t.insertAt = "bottom");
305    var n = g(e, t);
306    return h(n, t), function (e) {
307      for (var r = [], i = 0; i < n.length; i++) {
308        var a = n[i];
309        (l = o[a.id]).refs--, r.push(l)
310      }
311      e && h(g(e, t), t);
312      for (i = 0; i < r.length; i++) {
313        var l;
314        if (0 === (l = r[i]).refs) {
315          for (var c = 0; c < l.parts.length; c++) l.parts[c]();
316          delete o[l.id]
317        }
318      }
319    }
320  };
321  var x, E = (x = [], function (e, t) {
322    return x[e] = t, x.filter(Boolean).join("\n")
323  });
324
325  function C(e, t, n, r) {
326    var i = n ? "" : r.css;
327    if (e.styleSheet) e.styleSheet.cssText = E(t, i); else {
328      var o = document.createTextNode(i), a = e.childNodes;
329      a[t] && e.removeChild(a[t]), a.length ? e.insertBefore(o, a[t]) : e.appendChild(o)
330    }
331  }
332
333  function w(e, t) {
334    var n = t.css, r = t.media;
335    if (r && e.setAttribute("media", r), e.styleSheet) e.styleSheet.cssText = n; else {
336      for (; e.firstChild;) e.removeChild(e.firstChild);
337      e.appendChild(document.createTextNode(n))
338    }
339  }
340
341  function L(e, t, n) {
342    var r = n.css, i = n.sourceMap, o = void 0 === t.convertToAbsoluteUrls && i;
343    (t.convertToAbsoluteUrls || o) && (r = m(r)), i && (r += "\n/*# sourceMappingURL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(i)))) + " */");
344    var a = new Blob([r], {type: "text/css"}), l = e.href;
345    e.href = URL.createObjectURL(a), l && URL.revokeObjectURL(l)
346  }
347}, function (e, t) {
348  e.exports = function (e) {
349    var t = "undefined" != typeof window && window.location;
350    if (!t) throw new Error("fixUrls requires window.location");
351    if (!e || "string" != typeof e) return e;
352    var n = t.protocol + "//" + t.host, r = n + t.pathname.replace(/\/[^\/]*$/, "/");
353    return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi, (function (e, t) {
354      var i, o = t.trim().replace(/^"(.*)"$/, (function (e, t) {
355        return t
356      })).replace(/^'(.*)'$/, (function (e, t) {
357        return t
358      }));
359      return /^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(o) ? e : (i = 0 === o.indexOf("//") ? o : 0 === o.indexOf("/") ? n + o : r + o.replace(/^\.\//, ""), "url(" + JSON.stringify(i) + ")")
360    }))
361  }
362}]);
363//# sourceMappingURL=coremedia.preview.blueprint.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.