!function(){"use strict";constt=t=>parseInt(t,10),e=(t,e)=>{constn=t-e;return0===n?0:n>0?1:-1},n=(t,e,n)=>({major:t,minor:e,patch:n}),r=e=>{constr=/([0-9]+)\.([0-9]+)\.([0-9]+)(?:(\-.+)?)/.exec(e);returnr?n(t(r[1]),t(r[2]),t(r[3])):n(0,0,0)},i=[{text:"Responsive - 21x9",value:"tiny-pageembed--21by9"},{text:"Responsive - 16x9",value:"tiny-pageembed--16by9"},{text:"Responsive - 4x3",value:"tiny-pageembed--4by3"},{text:"Responsive - 1x1",value:"tiny-pageembed--1by1"}],s=t=>e=>e.options.get(t),o=s("tiny_pageembed_classes"),a=s("tiny_pageembed_inline_styles"),l=s("tiny_pageembed_css_url"),c=t=>e=>(t=>{conste=typeoft;returnnull===t?"null":"object"===e&&Array.isArray(t)?"array":"object"===e&&(n=r=t,(i=String).prototype.isPrototypeOf(n)||(null===(s=r.constructor)||void0===s?void0:s.name)===i.name)?"string":e;varn,r,i,s})(e)===t,u=t=>e=>typeofe===t,h=c("string"),d=c("array"),p=u("boolean"),f=(void0,t=>undefined===t);constm=t=>!(t=>null==t)(t),g=u("function"),k=u("number"),y=()=>{};classb{constructor(t,e){this.tag=t,this.value=e}staticsome(t){returnnewb(!0,t)}staticnone(){returnb.singletonNone}fold(t,e){returnthis.tag?e(this.value):t()}isSome(){returnthis.tag}isNone(){return!this.tag}map(t){returnthis.tag?b.some(t(this.value)):b.none()}bind(t){returnthis.tag?t(this.value):b.none()}exists(t){returnthis.tag&&t(this.value)}forall(t){return!this.tag||t(this.value)}filter(t){return!this.tag||t(this.value)?this:b.none()}getOr(t){returnthis.tag?this.value:t}or(t){returnthis.tag?this:t}getOrThunk(t){returnthis.tag?this.value:t()}orThunk(t){returnthis.tag?this:t()}getOrDie(t){if(this.tag)returnthis.value;thrownewError(null!=t?t:"Called getOrDie on None")}staticfrom(t){returnm(t)?b.some(t):b.none()}getOrNull(){returnthis.tag?this.value:null}getOrUndefined(){returnthis.value}each(t){this.tag&&t(this.value)}toArray(){returnthis.tag?[this.value]:[]}toString(){returnthis.tag?`some(${this.value})`:"none()"}}b.singletonNone=newb(!1);constS=Array.prototype.slice,v=Array.prototype.indexOf,C=Array.prototype.push,w=(t,e)=>((t,e)=>v.call(t,e))(t,e)>-1,x=(t,e)=>{constn=t.length,r=newArray(n);for(leti=0;i<n;i++){constn=t[i];r[i]=e(n,i)}returnr},A=(t,e)=>{for(letn=0,r=t.length;n<r;n++)e(t[n],n)},L=(t,e)=>{constn=[];for(letr=0,i=t.length;r<i;r++){consti=t[r];e(i,r)&&n.push(i)}returnn},_=(t,e,n)=>(A(t,((t,r)=>{n=e(n,t,r)})),n),T=t=>{conste=[];for(letn=0,r=t.length;n<r;++n){if(!d(t[n]))thrownewError("Arr.flatten item "+n+" was not an array, input: "+t);C.apply(e,t[n])}returne},E=(t,e)=>T(x(t,e)),O=Object.keys,I=Object.hasOwnProperty,P=(t,e)=>{constn=O(t);for(letr=0,i=n.length;r<i;r++){consti=n[r];e(t[i],i)}};"undefined"!=typeofwindow?window:Function("return this;")();constN=t=>1===(t=>t.dom.nodeType)(t),M=(t,e,n)=>{((t,e,n)=>{if(!(h(n)||p(n)||k(n)))throwconsole.error("Invalid call to Attribute.set. Key ",e,":: Value ",n,":: Element ",t),newError("Attribute value was not simple");t.setAttribute(e,n+"")})(t.dom,e,n)},j=(t,e)=>{constn=t.dom.getAttribute(e);returnnull===n?void0:n},D=(t,e)=>b.from(j(t,e)),R=t=>{if(null==t)thrownewError("Node cannot be null or undefined");return{dom:t}},B=(t,e)=>{constn=(e||document).createElement(t);returnR(n)},z=R,U=t=>void0!==t.dom.classList,F=(t,e)=>{U(t)?t.dom.classList.add(e):((t,e)=>{((t,e,n)=>{constr=((t,e)=>{constn=j(t,e);returnvoid0===n||""===n?[]:n.split(" ")})(t,e),i=r.concat([n]);M(t,e,i.join(" "))})(t,"class",e)})(t,e)},V=(t,e)=>U(t)&&t.dom.classList.contains(e),$="tiny-pageembed",G=t=>V(t,$),W=t=>{conste=t.attr("class");returnm(e)&&((t,e,n=0,r)=>{consti=t.indexOf(e,n);return-1!==i&&(!!f(r)||i+e.length<=r)})(" "+e+" "," "+$+" ")},q=t=>{A(t,(t=>{if(W(t)){conste=newtinymce.html.Node("span",1);e.attr("class","mce-shim"),e.attr("data-mce-bogus","1"),t.append(e),t.attr("contenteditable","false")}}))},J=t=>{A(t,(t=>{W(t)&&t.attr("contenteditable",null)}))},H=(t,e)=>{constn=t.dom;if(1!==n.nodeType)return!1;{constt=n;if(void0!==t.matches)returnt.matches(e);if(void0!==t.msMatchesSelector)returnt.msMatchesSelector(e);if(void0!==t.webkitMatc