10px;display:inline-block;border:1px;border-color:#ddd;background-color:#444;background-image:none;text-shadow:none;color:#fff;font-size:14px;line-height:normal;border-radius:0;height:auto;margin:0}.tnp-subscription-minimal{width:100%;box-sizing:border-box}.tnp-subscription-minimal form{margin:0;padding:0;border:0}.tnp-subscription-minimal input.tnp-email{width:70%;max-width:300px;box-sizing:border-box;padding:10px;display:inline-block;border:1px solid #ddd;background-color:#f4f4f4;color:#444;font-size:14px;line-height:20px;border-radius:0}.tnp-subscription-minimal .tnp-privacy-field{margin-top:10px}.tnp-subscription-minimal input.tnp-submit{width:29%;box-sizing:border-box;display:inline-block;padding:10px;border:1px;border-color:#ddd;background-color:#444;background-image:none;text-shadow:none;color:#fff;font-size:14px;line-height:20px;border-radius:0;margin:0}.tnp-comments{clear:both;margin-top:15px;margin-bottom:15px}.tnp-comments label{display:block}.tnp-comments input[type=checkbox]{display:inline-block;width:auto!important}.tnp-lock{clear:both;display:block;box-sizing:border-box;box-shadow:none;margin:20px;padding:15px;background-color:#fff;border:1px solid #ddd}.tnp-nl-checkout{margin-bottom:1em}', '9eae9fcaa4021380456ababa3b3b1beb-styles', '', 'publish', 'closed', 'closed', '', '9eae9fcaa4021380456ababa3b3b1beb-styles', '', '', '2022-07-08 19:51:32', '2022-07-08 17:51:32', '', 0, 'https://www.avo.co.bw/?post_type=wphb_minify_group&amp;p=5622', 0, 'wphb_minify_group', '', 0);
INSERT INTO `wpxx_posts` VALUES
(5623, 1, '2022-07-08 19:51:32', '2022-07-08 17:51:32', '/**handles:imgareaselect**/\n.imgareaselect-border1{background:url(border-anim-v.gif) repeat-y left top}.imgareaselect-border2{background:url(border-anim-h.gif) repeat-x left top}.imgareaselect-border3{background:url(border-anim-v.gif) repeat-y right top}.imgareaselect-border4{background:url(border-anim-h.gif) repeat-x left bottom}.imgareaselect-border1,.imgareaselect-border2,.imgareaselect-border3,.imgareaselect-border4{opacity:.5}.imgareaselect-handle{background-color:#fff;border:solid 1px #000;opacity:.5}.imgareaselect-outer{background-color:#000;opacity:.5}', '86b88958fe5b7400f8d7bedbeeea7305-styles', '', 'publish', 'closed', 'closed', '', '86b88958fe5b7400f8d7bedbeeea7305-styles', '', '', '2022-07-08 19:51:32', '2022-07-08 17:51:32', '', 0, 'https://www.avo.co.bw/?post_type=wphb_minify_group&amp;p=5623', 0, 'wphb_minify_group', '', 0),
(5624, 1, '2022-07-08 19:51:34', '2022-07-08 17:51:34', '/**handles:shortcode,backbone,wp-backbone,media-models,wp-plupload**/\n/*! This file is auto-generated */\nwindow.wp=window.wp||{},wp.shortcode={next:function(t,e,n){var s=wp.shortcode.regexp(t);if(s.lastIndex=n||0,n=s.exec(e))return"["===n[1]&amp;&amp;"]"===n[7]?wp.shortcode.next(t,e,s.lastIndex):(t={index:n.index,content:n[0],shortcode:wp.shortcode.fromMatch(n)},n[1]&amp;&amp;(t.content=t.content.slice(1),t.index++),n[7]&amp;&amp;(t.content=t.content.slice(0,-1)),t)},replace:function(t,e,h){return e.replace(wp.shortcode.regexp(t),function(t,e,n,s,r,o,i,c){if("["===e&amp;&amp;"]"===c)return t;var a=h(wp.shortcode.fromMatch(arguments));return a?e+a+c:t})},string:function(t){return new wp.shortcode(t).string()},regexp:_.memoize(function(t){return new RegExp("\\\\[(\\\\[?)("+t+")(?![\\\\w-])([^\\\\]\\\\/]*(?:\\\\/(?!\\\\])[^\\\\]\\\\/]*)*?)(?:(\\\\/)\\\\]|\\\\](?:([^\\\\[]*(?:\\\\[(?!\\\\/\\\\2\\\\])[^\\\\[]*)*)(\\\\[\\\\/\\\\2\\\\]))?)(\\\\]?)","g")}),attrs:_.memoize(function(t){var e,n={},s=[],r=/([\\w-]+)\\s*=\\s*"([^"]*)"(?:\\s|$)|([\\w-]+)\\s*=\\s*''([^'']*)''(?:\\s|$)|([\\w-]+)\\s*=\\s*([^\\s''"]+)(?:\\s|$)|"([^"]*)"(?:\\s|$)|''([^'']*)''(?:\\s|$)|(\\S+)(?:\\s|$)/g;for(t=t.replace(/[\\u00a0\\u200b]/g," ");e=r.exec(t);)e[1]?n[e[1].toLowerCase()]=e[2]:e[3]?n[e[3].toLowerCase()]=e[4]:e[5]?n[e[5].toLowerCase()]=e[6]:e[7]?s.push(e[7]):e[8]?s.push(e[8]):e[9]&amp;&amp;s.push(e[9]);return{named:n,numeric:s}}),fromMatch:function(t){var e=t[4]?"self-closing":t[6]?"closed":"single";return new wp.shortcode({tag:t[2],attrs:t[3],type:e,content:t[5]})}},wp.shortcode=_.extend(function(t){_.extend(this,_.pick(t||{},"tag","attrs","type","content"));var e=this.attrs;this.attrs={named:{},numeric:[]},e&amp;&amp;(_.isString(e)?this.attrs=wp.shortcode.attrs(e):0===_.difference(_.keys(e),["named","numeric"]).length?this.attrs=_.defaults(e,this.attrs):_.each(t.attrs,function(t,e){this.set(e,t)},this))},wp.shortcode),_.extend(wp.shortcode.prototype,{get:function(t){return this.attrs[_.isNumber(t)?"numeric":"named"][t]},set:function(t,e){return this.attrs[_.isNumber(t)?"numeric":"named"][t]=e,this},string:function(){var n="["+this.tag;return _.each(this.attrs.numeric,function(t){/\\s/.test(t)?n+='' "''+t+''"'':n+=" "+t}),_.each(this.attrs.named,function(t,e){n+=" "+e+''="''+t+''"''}),"single"===this.type?n+"]":"self-closing"===this.type?n+" /]":(n+="]",this.content&amp;&amp;(n+=this.content),n+"[/"+this.tag+"]")}}),wp.html=_.extend(wp.html||{},{attrs:function(t){var e;return"/"===t[t.length-1]&amp;&amp;(t=t.slice(0,-1)),t=wp.shortcode.attrs(t),e=t.named,_.each(t.numeric,function(t){/\\s/.test(t)||(e[t]="")}),e},string:function(t){var n="":(n=(n+="&gt;")+(_.isObject(e)?wp.html.string(e):e))+""}});\n/*! This file is auto-generated */\n!function(n){var s="object"==typeof self&amp;&amp;self.self===self&amp;&amp;self||"object"==typeof global&amp;&amp;global.global===global&amp;&amp;global;if("function"==typeof define&amp;&amp;define.amd)define(["underscore","jquery","exports"],function(t,e,i){s.Backbone=n(s,i,t,e)});else if("undefined"!=typeof exports){var t,e=require("underscore");try{t=require("jquery")}catch(t){}n(s,exports,e,t)}else s.Backbone=n(s,{},s._,s.jQuery||s.Zepto||s.ender||s.$)}(function(t,h,b,e){function a(t,e,i,n,s){var r,o=0;if(i&amp;&amp;"object"==typeof i){void 0!==n&amp;&amp;"context"in s&amp;&amp;void 0===s.context&amp;&amp;(s.context=n);for(r=b.keys(i);o&lt;r.length;o++)e=a(t,e,r[o],i[r[o]],s)}else if(i&amp;&amp;c.test(i))for(r=i.split(c);o&lt;r.length;o++)e=t(e,r[o],n,s);else e=t(e,i,n,s);return e}function x(t,e,i){i=Math.min(Math.max(i,0),t.length);for(var n=Array(t.length-i),s=e.length,r=0;r&lt;n.length;r++)n[r]=t[r+i];for(r=0;r&lt;s;r++)t[r+i]=e[r];for(r=0;r&lt;n.length;r++)t[r+s+i]=n[r]}function s(i,n,t,s){b.each(t,function(t,e){n[e]&amp;&amp;(i.prototype[e]=function(n,t,s,r){switch(t){case 1:return function(){return n[s](this[r])};case 2:return function(t){return n[s](this[r],t)};case 3:return function(t,e){return n[s](this[r],P(t,this),e)};case 4:return function(t,e,i){return n[s](this[r],P(t,this),e,i)};default:return function(){var t=u.call(arguments);return t.unshift(this[r]),n[s].apply(n,t)}}}(n,t,e,s))})}var o,i=t.Backbone,u=Array.prototype.slice,e=(h.VERSION=&quot;1.4.1&quot;,h.$=e,h.noConflict=function(){return t.Backbone=i,this},h.emulateHTTP=!1,h.emulateJSON=!1,h.Events={}),c=/\\s+/,n=(e.on=function(t,e,i){return this._events=a(n,this._events||{},t,e,{context:i,ctx:this,listening:o}),o&amp;&amp;(((this._listeners||(this._listeners={}))[o.id]=o).interop=!1),this},e.listenTo=function(t,e,i){if(!t)return this;var n=t._listenId||(t._listenId=b.uniqueId(&quot;l&quot;)),s=this._listeningTo||(this._listeningTo={}),r=o=s[n],s=(r||(this._listenId||(this._listenId=b.uniqueId(&quot;l&quot;)),r=o=s[n]=new g(this,t)),l(t,e,i,this));if(o=void 0,s)throw s;return r.interop&amp;&amp;r.on(e,i),this},function(t,e,i,n){var s,r;return i&amp;&amp;(e=t[e]||(t[e]=[]),s=n.context,r=n.ctx,(n=n.listening)&amp;&amp;n.count++,e.push({callback:i,context:s,ctx:s||r,listening:n})),t}),l=function(t,e,i,n){try{t.on(e,i,n)}catch(t){return t}},r=(e.off=function(t,e,i){return this._events&amp;&amp;(this._events=a(r,this._events,t,e,{context:i,listeners:this._listeners})),this},e.stopListening=function(t,e,i){var n=this._listeningTo;if(!n)return this;for(var s=t?[t._listenId]:b.keys(n),r=0;r&lt;s.length;r++){var o=n[s[r]];if(!o)break;o.obj.off(e,i,this),o.interop&amp;&amp;o.off(e,i)}return b.isEmpty(n)&amp;&amp;(this._listeningTo=void 0),this},function(t,e,i,n){if(t){var s,r=n.context,o=n.listeners,h=0;if(e||r||i){for(s=e?[e]:b.keys(t);h&lt;s.length;h++){var a=t[e=s[h]];if(!a)break;for(var u=[],c=0;c&lt;a.length;c++){var l=a[c];i&amp;&amp;i!==l.callback&amp;&amp;i!==l.callback._callback||r&amp;&amp;r!==l.context?u.push(l):(l=l.listening)&amp;&amp;l.off(e,i)}u.length?t[e]=u:delete t[e]}return t}for(s=b.keys(o);h&lt;s.length;h++)o[s[h]].cleanup()}}),d=(e.once=function(t,e,i){var n=a(d,{},t,e,this.off.bind(this));return this.on(n,e=&quot;string&quot;==typeof t&amp;&amp;null==i?void 0:e,i)},e.listenToOnce=function(t,e,i){e=a(d,{},e,i,this.stopListening.bind(this,t));return this.listenTo(t,e)},function(t,e,i,n){var s;return i&amp;&amp;((s=t[e]=b.once(function(){n(e,s),i.apply(this,arguments)}))._callback=i),t}),f=(e.trigger=function(t){if(!this._events)return this;for(var e=Math.max(0,arguments.length-1),i=Array(e),n=0;n&lt;e;n++)i[n]=arguments[n+1];return a(f,this._events,t,void 0,i),this},function(t,e,i,n){var s,r;return t&amp;&amp;(s=t[e],r=t.all,s&amp;&amp;r&amp;&amp;(r=r.slice()),s&amp;&amp;p(s,n),r&amp;&amp;p(r,[e].concat(n))),t}),p=function(t,e){var i,n=-1,s=t.length,r=e[0],o=e[1],h=e[2];switch(e.length){case 0:for(;++n&lt;s;)(i=t[n]).callback.call(i.ctx);return;case 1:for(;++n&lt;s;)(i=t[n]).callback.call(i.ctx,r);return;case 2:for(;++n&lt;s;)(i=t[n]).callback.call(i.ctx,r,o);return;case 3:for(;++n&lt;s;)(i=t[n]).callback.call(i.ctx,r,o,h);return;default:for(;++n&lt;s;)(i=t[n]).callback.apply(i.ctx,e);return}},g=function(t,e){this.id=t._listenId,this.listener=t,this.obj=e,this.interop=!0,this.count=0,this._events=void 0},v=(g.prototype.on=e.on,g.prototype.off=function(t,e){t=this.interop?(this._events=a(r,this._events,t,e,{context:void 0,listeners:void 0}),!this._events):(this.count--,0===this.count);t&amp;&amp;this.cleanup()},g.prototype.cleanup=function(){delete this.listener._listeningTo[this.obj._listenId],this.interop||delete this.obj._listeners[this.id]},e.bind=e.on,e.unbind=e.off,b.extend(h,e),h.Model=function(t,e){var i=t||{},n=(e=e||{},this.preinitialize.apply(this,arguments),this.cid=b.uniqueId(this.cidPrefix),this.attributes={},e.collection&amp;&amp;(this.collection=e.collection),e.parse&amp;&amp;(i=this.parse(i,e)||{}),b.result(this,&quot;defaults&quot;)),i=b.defaults(b.extend({},n,i),n);this.set(i,e),this.changed={},this.initialize.apply(this,arguments)}),m=(b.extend(v.prototype,e,{changed:null,validationError:null,idAttribute:&quot;id&quot;,cidPrefix:&quot;c&quot;,preinitialize:function(){},initialize:function(){},toJSON:function(t){return b.clone(this.attributes)},sync:function(){return h.sync.apply(this,arguments)},get:function(t){return this.attributes[t]},escape:function(t){return b.escape(this.get(t))},has:function(t){return null!=this.get(t)},matches:function(t){return!!b.iteratee(t,this)(this.attributes)},set:function(t,e,i){if(null==t)return this;var n;if(&quot;object&quot;==typeof t?(n=t,i=e):(n={})[t]=e,!this._validate(n,i=i||{}))return!1;var s,r,o=i.unset,t=i.silent,h=[],a=this._changing,u=(this._changing=!0,a||(this._previousAttributes=b.clone(this.attributes),this.changed={}),this.attributes),c=this.changed,l=this._previousAttributes;for(s in n)e=n[s],b.isEqual(u[s],e)||h.push(s),b.isEqual(l[s],e)?delete c[s]:c[s]=e,o?delete u[s]:u[s]=e;if(this.idAttribute in n&amp;&amp;(r=this.id,this.id=this.get(this.idAttribute),this.trigger(&quot;changeId&quot;,this,r,i)),!t){h.length&amp;&amp;(this._pending=i);for(var d=0;dthis.length?this.length:n)&lt;0&amp;&amp;(n+=this.length+1),[]),r=[],o=[],h=[],a={},u=e.add,c=e.merge,l=e.remove,d=!1,f=this.comparator&amp;&amp;null==n&amp;&amp;!1!==e.sort,p=b.isString(this.comparator)?this.comparator:null,g=0;g&lt;t.length;g++){var v,m=t[g],_=this.get(m);_?(c&amp;&amp;m!==_&amp;&amp;(v=this._isModel(m)?m.attributes:m,e.parse&amp;&amp;(v=_.parse(v,e)),_.set(v,e),o.push(_),f&amp;&amp;!d&amp;&amp;(d=_.hasChanged(p))),a[_.cid]||(a[_.cid]=!0,s.push(_)),t[g]=_):u&amp;&amp;(m=t[g]=this._prepareModel(m,e))&amp;&amp;(r.push(m),this._addReference(m,e),a[m.cid]=!0,s.push(m))}if(l){for(g=0;g&lt;this.length;g++)a[(m=this.models[g]).cid]||h.push(m);h.length&amp;&amp;this._removeModels(h,e)}var y=!1;if(s.length&amp;&amp;(!f&amp;&amp;u&amp;&amp;l)?(y=this.length!==s.length||b.some(this.models,function(t,e){return t!==s[e]}),this.models.length=0,x(this.models,s,0),this.length=this.models.length):r.length&amp;&amp;(f&amp;&amp;(d=!0),x(this.models,r,null==n?this.length:n),this.length=this.models.length),d&amp;&amp;this.sort({silent:!0}),!e.silent){for(g=0;g&lt;r.length;g++)null!=n&amp;&amp;(e.index=n+g),(m=r[g]).trigger(&quot;add&quot;,m,this,e);(d||y)&amp;&amp;this.trigger(&quot;sort&quot;,this,e),(r.length||h.length||o.length)&amp;&amp;(e.changes={added:r,removed:h,merged:o},this.trigger(&quot;update&quot;,this,e))}return i?t[0]:t}},reset:function(t,e){e=e?b.clone(e):{};for(var i=0;i&lt;this.models.length;i++)this._removeReference(this.models[i],e);return e.previousModels=this.models,this._reset(),t=this.add(t,b.extend({silent:!0},e)),e.silent||this.trigger(&quot;reset&quot;,this,e),t},push:function(t,e){return this.add(t,b.extend({at:this.length},e))},pop:function(t){var e=this.at(this.length-1);return this.remove(e,t)},unshift:function(t,e){return this.add(t,b.extend({at:0},e))},shift:function(t){var e=this.at(0);return this.remove(e,t)},slice:function(){return u.apply(this.models,arguments)},get:function(t){if(null!=t)return this._byId[t]||this._byId[this.modelId(this._isModel(t)?t.attributes:t,t.idAttribute)]||t.cid&amp;&amp;this._byId[t.cid]},has:function(t){return null!=this.get(t)},at:function(t){return t&lt;0&amp;&amp;(t+=this.length),this.models[t]},where:function(t,e){return this[e?&quot;find&quot;:&quot;filter&quot;](t)},findWhere:function(t){return this.where(t,!0)},sort:function(t){var e=this.comparator;if(!e)throw new Error(&quot;Cannot sort a set without a comparator&quot;);t=t||{};var i=e.length;return b.isFunction(e)&amp;&amp;(e=e.bind(this)),1===i||b.isString(e)?this.models=this.sortBy(e):this.models.sort(e),t.silent||this.trigger(&quot;sort&quot;,this,t),this},pluck:function(t){return this.map(t+&quot;&quot;)},fetch:function(i){var n=(i=b.extend({parse:!0},i)).success,s=this;return i.success=function(t){var e=i.reset?&quot;reset&quot;:&quot;set&quot;;s[e](t,i),n&amp;&amp;n.call(i.context,s,t,i),s.trigger(&quot;sync&quot;,s,t,i)},N(this,i),this.sync(&quot;read&quot;,this,i)},create:function(t,e){var n=(e=e?b.clone(e):{}).wait;if(!(t=this._prepareModel(t,e)))return!1;n||this.add(t,e);var s=this,r=e.success;return e.success=function(t,e,i){n&amp;&amp;s.add(t,i),r&amp;&amp;r.call(i.context,t,e,i)},t.save(null,e),t},parse:function(t,e){return t},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(t,e){return t[e||this.model.prototype.idAttribute||&quot;id&quot;]},values:function(){return new E(this,I)},keys:function(){return new E(this,k)},entries:function(){return new E(this,S)},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(t,e){return this._isModel(t)?(t.collection||(t.collection=this),t):(t=((e=e?b.clone(e):{}).collection=this).model.prototype?new this.model(t,e):this.model(t,e)).validationError?(this.trigger(&quot;invalid&quot;,this,t.validationError,e),!1):t},_removeModels:function(t,e){for(var i=[],n=0;n&lt;t.length;n++){var s,r,o=this.get(t[n]);o&amp;&amp;(s=this.indexOf(o),this.models.splice(s,1),this.length--,delete this._byId[o.cid],null!=(r=this.modelId(o.attributes,o.idAttribute))&amp;&amp;delete this._byId[r],e.silent||(e.index=s,o.trigger(&quot;remove&quot;,o,this,e)),i.push(o),this._removeReference(o,e))}return i},_isModel:function(t){return t instanceof v},_addReference:function(t,e){this._byId[t.cid]=t;var i=this.modelId(t.attributes,t.idAttribute);null!=i&amp;&amp;(this._byId[i]=t),t.on(&quot;all&quot;,this._onModelEvent,this)},_removeReference:function(t,e){delete this._byId[t.cid];var i=this.modelId(t.attributes,t.idAttribute);null!=i&amp;&amp;delete this._byId[i],this===t.collection&amp;&amp;delete t.collection,t.off(&quot;all&quot;,this._onModelEvent,this)},_onModelEvent:function(t,e,i,n){if(e){if((&quot;add&quot;===t||&quot;remove&quot;===t)&amp;&amp;i!==this)return;var s,r;&quot;destroy&quot;===t&amp;&amp;this.remove(e,n),&quot;changeId&quot;===t&amp;&amp;(s=this.modelId(e.previousAttributes(),e.idAttribute),r=this.modelId(e.attributes,e.idAttribute),null!=s&amp;&amp;delete this._byId[s],null!=r&amp;&amp;(this._byId[r]=e))}this.trigger.apply(this,arguments)}}),&quot;function&quot;==typeof Symbol&amp;&amp;Symbol.iterator),E=(y&amp;&amp;(m.prototype[y]=m.prototype.values),function(t,e){this._collection=t,this._kind=e,this._index=0}),I=1,k=2,S=3,y=(y&amp;&amp;(E.prototype[y]=function(){return this}),E.prototype.next=function(){if(this._collection){var t,e;if(this._index&lt;this._collection.length)return t=this._collection.at(this._index),this._index++,{value:this._kind===I?t:(e=this._collection.modelId(t.attributes,t.idAttribute),this._kind===k?e:[e,t]),done:!1};this._collection=void 0}return{value:void 0,done:!0}},h.View=function(t){this.cid=b.uniqueId(&quot;view&quot;),this.preinitialize.apply(this,arguments),b.extend(this,b.pick(t,T)),this._ensureElement(),this.initialize.apply(this,arguments)}),A=/^(\\S+)\\s*(.*)$/,T=[&quot;model&quot;,&quot;collection&quot;,&quot;el&quot;,&quot;id&quot;,&quot;attributes&quot;,&quot;className&quot;,&quot;tagName&quot;,&quot;events&quot;],P=(b.extend(y.prototype,e,{tagName:&quot;div&quot;,$:function(t){return this.$el.find(t)},preinitialize:function(){},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(t){return this.undelegateEvents(),this._setElement(t),this.delegateEvents(),this},_setElement:function(t){this.$el=t instanceof h.$?t:h.$(t),this.el=this.$el[0]},delegateEvents:function(t){if(!(t=t||b.result(this,&quot;events&quot;)))return this;for(var e in this.undelegateEvents(),t){var i=t[e];(i=b.isFunction(i)?i:this[i])&amp;&amp;(e=e.match(A),this.delegate(e[1],e[2],i.bind(this)))}return this},delegate:function(t,e,i){return this.$el.on(t+&quot;.delegateEvents&quot;+this.cid,e,i),this},undelegateEvents:function(){return this.$el&amp;&amp;this.$el.off(&quot;.delegateEvents&quot;+this.cid),this},undelegate:function(t,e,i){return this.$el.off(t+&quot;.delegateEvents&quot;+this.cid,e,i),this},_createElement:function(t){return document.createElement(t)},_ensureElement:function(){var t;this.el?this.setElement(b.result(this,&quot;el&quot;)):(t=b.extend({},b.result(this,&quot;attributes&quot;)),this.id&amp;&amp;(t.id=b.result(this,&quot;id&quot;)),this.className&amp;&amp;(t.class=b.result(this,&quot;className&quot;)),this.setElement(this._createElement(b.result(this,&quot;tagName&quot;))),this._setAttributes(t))},_setAttributes:function(t){this.$el.attr(t)}}),function(e,t){return b.isFunction(e)?e:b.isObject(e)&amp;&amp;!t._isModel(e)?(i=b.matches(e),function(t){return i(t.attributes)}):b.isString(e)?function(t){return t.get(e)}:e;var i}),H=(b.each([[m,{forEach:3,each:3,map:3,collect:3,reduce:0,foldl:0,inject:0,reduceRight:0,foldr:0,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3,groupBy:3,countBy:3,sortBy:3,indexBy:3,findIndex:3,findLastIndex:3},&quot;models&quot;],[v,{keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1},&quot;attributes&quot;]],function(t){var i=t[0],e=t[1],n=t[2];i.mixin=function(t){var e=b.reduce(b.functions(t),function(t,e){return t[e]=0,t},{});s(i,t,e,n)},s(i,b,e,n)}),h.sync=function(t,e,n){var i,s=H[t],r=(b.defaults(n=n||{},{emulateHTTP:h.emulateHTTP,emulateJSON:h.emulateJSON}),{type:s,dataType:&quot;json&quot;}),o=(n.url||(r.url=b.result(e,&quot;url&quot;)||M()),null!=n.data||!e||&quot;create&quot;!==t&amp;&amp;&quot;update&quot;!==t&amp;&amp;&quot;patch&quot;!==t||(r.contentType=&quot;application/json&quot;,r.data=JSON.stringify(n.attrs||e.toJSON(n))),n.emulateJSON&amp;&amp;(r.contentType=&quot;application/x-www-form-urlencoded&quot;,r.data=r.data?{model:r.data}:{}),!n.emulateHTTP||&quot;PUT&quot;!==s&amp;&amp;&quot;DELETE&quot;!==s&amp;&amp;&quot;PATCH&quot;!==s||(r.type=&quot;POST&quot;,n.emulateJSON&amp;&amp;(r.data._method=s),i=n.beforeSend,n.beforeSend=function(t){if(t.setRequestHeader(&quot;X-HTTP-Method-Override&quot;,s),i)return i.apply(this,arguments)}),&quot;GET&quot;===r.type||n.emulateJSON||(r.processData=!1),n.error),t=(n.error=function(t,e,i){n.textStatus=e,n.errorThrown=i,o&amp;&amp;o.call(n.context,t,e,i)},n.xhr=h.ajax(b.extend(r,n)));return e.trigger(&quot;request&quot;,e,t,n),t},{create:&quot;POST&quot;,update:&quot;PUT&quot;,patch:&quot;PATCH&quot;,delete:&quot;DELETE&quot;,read:&quot;GET&quot;}),$=(h.ajax=function(){return h.$.ajax.apply(h.$,arguments)},h.Router=function(t){t=t||{},this.preinitialize.apply(this,arguments),t.routes&amp;&amp;(this.routes=t.routes),this._bindRoutes(),this.initialize.apply(this,arguments)}),C=/\\((.*?)\\)/g,j=/(\\(\\?)?:\\w+/g,O=/\\*\\w+/g,U=/[\\-{}\\[\\]+?.,\\\\\\^$|#\\s]/g,R=(b.extend($.prototype,e,{preinitialize:function(){},initialize:function(){},route:function(e,i,n){b.isRegExp(e)||(e=this._routeToRegExp(e)),b.isFunction(i)&amp;&amp;(n=i,i=&quot;&quot;),n=n||this[i];var s=this;return h.history.route(e,function(t){t=s._extractParameters(e,t);!1!==s.execute(n,t,i)&amp;&amp;(s.trigger.apply(s,[&quot;route:&quot;+i].concat(t)),s.trigger(&quot;route&quot;,i,t),h.history.trigger(&quot;route&quot;,s,i,t))}),this},execute:function(t,e,i){t&amp;&amp;t.apply(this,e)},navigate:function(t,e){return h.history.navigate(t,e),this},_bindRoutes:function(){if(this.routes){this.routes=b.result(this,&quot;routes&quot;);for(var t,e=b.keys(this.routes);null!=(t=e.pop());)this.route(t,this.routes[t])}},_routeToRegExp:function(t){return t=t.replace(U,&quot;\\\\$&amp;&quot;).replace(C,&quot;(?:$1)?&quot;).replace(j,function(t,e){return e?t:&quot;([^/?]+)&quot;}).replace(O,&quot;([^?]*?)&quot;),new RegExp(&quot;^&quot;+t+&quot;(?:\\\\?([\\\\s\\\\S]*))?$&quot;)},_extractParameters:function(t,e){var i=t.exec(e).slice(1);return b.map(i,function(t,e){return e===i.length-1?t||null:t?decodeURIComponent(t):null})}}),h.History=function(){this.handlers=[],this.checkUrl=this.checkUrl.bind(this),&quot;undefined&quot;!=typeof window&amp;&amp;(this.location=window.location,this.history=window.history)}),z=/^[#\\/]|\\s+$/g,q=/^\\/+|\\/+$/g,F=/#.*$/,M=(R.started=!1,b.extend(R.prototype,e,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\\/]$/,&quot;$&amp;/&quot;)===this.root&amp;&amp;!this.getSearch()},matchRoot:function(){return this.decodeFragment(this.location.pathname).slice(0,this.root.length-1)+&quot;/&quot;===this.root},decodeFragment:function(t){return decodeURI(t.replace(/%25/g,&quot;%2525&quot;))},getSearch:function(){var t=this.location.href.replace(/#.*/,&quot;&quot;).match(/\\?.+/);return t?t[0]:&quot;&quot;},getHash:function(t){t=(t||this).location.href.match(/#(.*)$/);return t?t[1]:&quot;&quot;},getPath:function(){var t=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return&quot;/&quot;===t.charAt(0)?t.slice(1):t},getFragment:function(t){return(t=null==t?this._usePushState||!this._wantsHashChange?this.getPath():this.getHash():t).replace(z,&quot;&quot;)},start:function(t){if(R.started)throw new Error(&quot;Backbone.history has already been started&quot;);if(R.started=!0,this.options=b.extend({root:&quot;/&quot;},this.options,t),this.root=this.options.root,this._wantsHashChange=!1!==this.options.hashChange,this._hasHashChange=&quot;onhashchange&quot;in window&amp;&amp;(void 0===document.documentMode||7i?n.eq(i).before(t):e.append(t),this},ready:function(){this.view.trigger("ready"),_.chain(this.all()).map(function(e){return e.views}).flatten().where({attached:!0}).invoke("ready")},_attach:function(e,t,i){var n,e=e?this.view.$(e):this.view.$el;return e.length&amp;&amp;(n=_.chain(t).pluck("views").flatten().value(),_.each(n,function(e){e.rendered||(e.view.render(),e.rendered=!0)},this),this[i.add?"insert":"replace"](e,_.pluck(t,"el"),i),_.each(n,function(e){e.attached=!0,i.ready&amp;&amp;e.ready()},this)),this},_isReady:function(){for(var e=this.view.el;e;){if(e===document.body)return!0;e=e.parentNode}return!1}}),wp.Backbone.View=Backbone.View.extend({Subviews:wp.Backbone.Subviews,constructor:function(e){this.views=new this.Subviews(this,this.views),this.on("ready",this.ready,this),this.options=e||{},Backbone.View.apply(this,arguments)},remove:function(){var e=Backbone.View.prototype.remove.apply(this,arguments);return this.views&amp;&amp;this.views.remove(),e},render:function(){var e;return this.prepare&amp;&amp;(e=this.prepare()),this.views.detach(),this.template&amp;&amp;(this.trigger("prepare",e=e||{}),this.$el.html(this.template(e))),this.views.render(),this},prepare:function(){return this.options},ready:function(){}})}(jQuery);\n/*! This file is auto-generated */\n!function(){var i={7727:function(t){var n=Backbone.$,e=Backbone.Model.extend({sync:function(t,e,i){return _.isUndefined(this.id)?n.Deferred().rejectWith(this).promise():"read"===t?((i=i||{}).context=this,i.data=_.extend(i.data||{},{action:"get-attachment",id:this.id}),wp.media.ajax(i)):"update"===t?this.get("nonces")&amp;&amp;this.get("nonces").update?((i=i||{}).context=this,i.data=_.extend(i.data||{},{action:"save-attachment",id:this.id,nonce:this.get("nonces").update,post_id:wp.media.model.settings.post.id}),e.hasChanged()&amp;&amp;(i.data.changes={},_.each(e.changed,function(t,e){i.data.changes[e]=this.get(e)},this)),wp.media.ajax(i)):n.Deferred().rejectWith(this).promise():"delete"===t?((i=i||{}).wait||(this.destroyed=!0),i.context=this,i.data=_.extend(i.data||{},{action:"delete-post",id:this.id,_wpnonce:this.get("nonces").delete}),wp.media.ajax(i).done(function(){this.destroyed=!0}).fail(function(){this.destroyed=!1})):Backbone.Model.prototype.sync.apply(this,arguments)},parse:function(t){return t&amp;&amp;(t.date=new Date(t.date),t.modified=new Date(t.modified),t)},saveCompat:function(t,s){var r=this;return this.get("nonces")&amp;&amp;this.get("nonces").update?wp.media.post("save-attachment-compat",_.defaults({id:this.id,nonce:this.get("nonces").update,post_id:wp.media.model.settings.post.id},t)).done(function(t,e,i){r.set(r.parse(t,i),s)}):n.Deferred().rejectWith(this).promise()}},{create:function(t){return wp.media.model.Attachments.all.push(t)},get:_.memoize(function(t,e){return wp.media.model.Attachments.all.push(e||{id:t})})});t.exports=e},6940:function(t){var n=Backbone.Collection.extend({model:wp.media.model.Attachment,initialize:function(t,e){e=e||{},this.props=new Backbone.Model,this.filters=e.filters||{},this.props.on("change",this._changeFilteredProps,this),this.props.on("change:order",this._changeOrder,this),this.props.on("change:orderby",this._changeOrderby,this),this.props.on("change:query",this._changeQuery,this),this.props.set(_.defaults(e.props||{})),e.observe&amp;&amp;this.observe(e.observe)},_changeOrder:function(){this.comparator&amp;&amp;this.sort()},_changeOrderby:function(t,e){this.comparator&amp;&amp;this.comparator!==n.comparator||(e&amp;&amp;"post__in"!==e?this.comparator=n.comparator:delete this.comparator)},_changeQuery:function(t,e){e?(this.props.on("change",this._requery,this),this._requery()):this.props.off("change",this._requery,this)},_changeFilteredProps:function(r){this.props.get("query")||_.chain(r.changed).map(function(t,e){var i=n.filters[e],s=r.get(e);if(i){if(s&amp;&amp;!this.filters[e])this.filters[e]=i;else{if(s||this.filters[e]!==i)return;delete this.filters[e]}return!0}},this).any().value()&amp;&amp;(this._source||(this._source=new n(this.models)),this.reset(this._source.filter(this.validator,this)))},validateDestroyed:!1,validator:function(e){return!(!this.validateDestroyed&amp;&amp;e.destroyed)&amp;&amp;_.all(this.filters,function(t){return!!t.call(this,e)},this)},validate:function(t,e){var i=this.validator(t),s=!!this.get(t.cid);return!i&amp;&amp;s?this.remove(t,e):i&amp;&amp;!s&amp;&amp;this.add(t,e),this},validateAll:function(t,e){return e=e||{},_.each(t.models,function(t){this.validate(t,{silent:!0})},this),e.silent||this.trigger("reset",this,e),this},observe:function(t){return this.observers=this.observers||[],this.observers.push(t),t.on("add change remove",this._validateHandler,this),t.on("add",this._addToTotalAttachments,this),t.on("remove",this._removeFromTotalAttachments,this),t.on("reset",this._validateAllHandler,this),this.validateAll(t),this},unobserve:function(t){return t?(t.off(null,null,this),this.observers=_.without(this.observers,t)):(_.each(this.observers,function(t){t.off(null,null,this)},this),delete this.observers),this},_removeFromTotalAttachments:function(){this.mirroring&amp;&amp;(this.mirroring.totalAttachments=this.mirroring.totalAttachments-1)},_addToTotalAttachments:function(){this.mirroring&amp;&amp;(this.mirroring.totalAttachments=this.mirroring.totalAttachments+1)},_validateHandler:function(t,e,i){return i=e===this.mirroring?i:{silent:i&amp;&amp;i.silent},this.validate(t,i)},_validateAllHandler:function(t,e){return this.validateAll(t,e)},mirror:function(t){return this.mirroring&amp;&amp;this.mirroring===t||(this.unmirror(),this.mirroring=t,this.reset([],{silent:!0}),this.observe(t),this.trigger("attachments:received",this)),this},unmirror:function(){this.mirroring&amp;&amp;(this.unobserve(this.mirroring),delete this.mirroring)},more:function(t){var e=jQuery.Deferred(),i=this.mirroring,s=this;return i&amp;&amp;i.more?(i.more(t).done(function(){this===s.mirroring&amp;&amp;e.resolveWith(this),s.trigger("attachments:received",this)}),e.promise()):e.resolveWith(this).promise()},hasMore:function(){return!!this.mirroring&amp;&amp;this.mirroring.hasMore()},totalAttachments:0,getTotalAttachments:function(){return this.mirroring?this.mirroring.totalAttachments:0},parse:function(t,i){return _.isArray(t)||(t=[t]),_.map(t,function(t){var e;return t instanceof Backbone.Model?(e=t.get("id"),t=t.attributes):e=t.id,t=(e=wp.media.model.Attachment.get(e)).parse(t,i),_.isEqual(e.attributes,t)||e.set(t),e})},_requery:function(){var t;this.props.get("query")&amp;&amp;(t=this.props.toJSON(),this.mirror(wp.media.model.Query.get(t)))},saveMenuOrder:function(){if("menuOrder"===this.props.get("orderby")){var t=this.chain().filter(function(t){return!_.isUndefined(t.id)}).map(function(t,e){return t.set("menuOrder",e+=1),[t.id,e]}).object().value();if(!_.isEmpty(t))return wp.media.post("save-attachment-order",{nonce:wp.media.model.settings.post.nonce,post_id:wp.media.model.settings.post.id,attachments:t})}}},{comparator:function(t,e,i){var s=this.props.get("orderby"),r=this.props.get("order")||"DESC",n=t.cid,a=e.cid;return t=t.get(s),e=e.get(s),"date"!==s&amp;&amp;"modified"!==s||(t=t||new Date,e=e||new Date),i&amp;&amp;i.ties&amp;&amp;(n=a=null),"DESC"===r?wp.media.compare(t,e,n,a):wp.media.compare(e,t,a,n)},filters:{search:function(e){return!this.props.get("search")||_.any(["title","filename","description","caption","name"],function(t){t=e.get(t);return t&amp;&amp;-1!==t.search(this.props.get("search"))},this)},type:function(t){var e,i=this.props.get("type"),t=t.toJSON();return!(i&amp;&amp;(!_.isArray(i)||i.length))||(e=t.mime||t.file&amp;&amp;t.file.type||"",_.isArray(i)?_.find(i,function(t){return-1!==e.indexOf(t)}):-1!==e.indexOf(i))},uploadedTo:function(t){var e=this.props.get("uploadedTo");return!!_.isUndefined(e)||e===t.get("uploadedTo")},status:function(t){var e=this.props.get("status");return!!_.isUndefined(e)||e===t.get("status")}}});t.exports=n},5927:function(t){var e=Backbone.Model.extend({initialize:function(t){var e=wp.media.model.Attachment;this.attachment=!1,t.attachment_id&amp;&amp;(this.attachment=e.get(t.attachment_id),this.attachment.get("url")?(this.dfd=jQuery.Deferred(),this.dfd.resolve()):this.dfd=this.attachment.fetch(),this.bindAttachmentListeners()),this.on("change:link",this.updateLinkUrl,this),this.on("change:size",this.updateSize,this),this.setLinkTypeFromUrl(),this.setAspectRatio(),this.set("originalUrl",t.url)},bindAttachmentListeners:function(){this.listenTo(this.attachment,"sync",this.setLinkTypeFromUrl),this.listenTo(this.attachment,"sync",this.setAspectRatio),this.listenTo(this.attachment,"change",this.updateSize)},changeAttachment:function(t,e){this.stopListening(this.attachment),this.attachment=t,this.bindAttachmentListeners(),this.set("attachment_id",this.attachment.get("id")),this.set("caption",this.attachment.get("caption")),this.set("alt",this.attachment.get("alt")),this.set("size",e.get("size")),this.set("align",e.get("align")),this.set("link",e.get("link")),this.updateLinkUrl(),this.updateSize()},setLinkTypeFromUrl:function(){var t,e=this.get("linkUrl");e?(t="custom",this.attachment?this.attachment.get("url")===e?t="file":this.attachment.get("link")===e&amp;&amp;(t="post"):this.get("url")===e&amp;&amp;(t="file"),this.set("link",t)):this.set("link","none")},updateLinkUrl:function(){var t;switch(this.get("link")){case"file":t=(this.attachment||this).get("url"),this.set("linkUrl",t);break;case"post":this.set("linkUrl",this.attachment.get("link"));break;case"none":this.set("linkUrl","")}},updateSize:function(){var t;if(this.attachment){if("custom"===this.get("size"))return this.set("width",this.get("customWidth")),this.set("height",this.get("customHeight")),void this.set("url",this.get("originalUrl"));(t=this.attachment.get("sizes")[this.get("size")])&amp;&amp;(this.set("url",t.url),this.set("width",t.width),this.set("height",t.height))}},setAspectRatio:function(){var t;this.attachment&amp;&amp;this.attachment.get("sizes")&amp;&amp;(t=this.attachment.get("sizes").full)?this.set("aspectRatio",t.width/t.height):this.set("aspectRatio",this.get("customWidth")/this.get("customHeight"))}});t.exports=e},4009:function(t){var a,r=wp.media.model.Attachments,o=r.extend({initialize:function(t,e){var i;e=e||{},r.prototype.initialize.apply(this,arguments),this.args=e.args,this._hasMore=!0,this.created=new Date,this.filters.order=function(t){var e=this.props.get("orderby"),i=this.props.get("order");return!this.comparator||(this.length?1!==this.comparator(t,this.last(),{ties:!0}):"DESC"!==i||"date"!==e&amp;&amp;"modified"!==e?"ASC"===i&amp;&amp;"menuOrder"===e&amp;&amp;0===t.get(e):t.get(e)&gt;=this.created)},i=["s","order","orderby","posts_per_page","post_mime_type","post_parent","author"],wp.Uploader&amp;&amp;_(this.args).chain().keys().difference(i).isEmpty().value()&amp;&amp;this.observe(wp.Uploader.queue)},hasMore:function(){return this._hasMore},more:function(t){var e=this;return this._more&amp;&amp;"pending"===this._more.state()?this._more:this.hasMore()?((t=t||{}).remove=!1,this._more=this.fetch(t).done(function(t){(_.isEmpty(t)||-1===e.args.posts_per_page||t.length&lt;e.args.posts_per_page)&amp;&amp;(e._hasMore=!1)})):jQuery.Deferred().resolveWith(this).promise()},sync:function(t,e,i){var s;return&quot;read&quot;===t?((i=i||{}).context=this,i.data=_.extend(i.data||{},{action:&quot;query-attachments&quot;,post_id:wp.media.model.settings.post.id}),-1!==(s=_.clone(this.args)).posts_per_page&amp;&amp;(s.paged=Math.round(this.length/s.posts_per_page)+1),i.data.query=s,wp.media.ajax(i)):(r.prototype.sync?r.prototype:Backbone).sync.apply(this,arguments)}},{defaultProps:{orderby:&quot;date&quot;,order:&quot;DESC&quot;},defaultArgs:{posts_per_page:80},orderby:{allowed:[&quot;name&quot;,&quot;author&quot;,&quot;date&quot;,&quot;title&quot;,&quot;modified&quot;,&quot;uploadedTo&quot;,&quot;id&quot;,&quot;post__in&quot;,&quot;menuOrder&quot;],valuemap:{id:&quot;ID&quot;,uploadedTo:&quot;parent&quot;,menuOrder:&quot;menu_order ID&quot;}},propmap:{search:&quot;s&quot;,type:&quot;post_mime_type&quot;,perPage:&quot;posts_per_page&quot;,menuOrder:&quot;menu_order&quot;,uploadedTo:&quot;post_parent&quot;,status:&quot;post_status&quot;,include:&quot;post__in&quot;,exclude:&quot;post__not_in&quot;,author:&quot;author&quot;},get:(a=[],function(e,t){var i,s={},r=o.orderby,n=o.defaultProps;return delete e.query,_.defaults(e,n),e.order=e.order.toUpperCase(),&quot;DESC&quot;!==e.order&amp;&amp;&quot;ASC&quot;!==e.order&amp;&amp;(e.order=n.order.toUpperCase()),_.contains(r.allowed,e.orderby)||(e.orderby=n.orderby),_.each([&quot;include&quot;,&quot;exclude&quot;],function(t){e[t]&amp;&amp;!_.isArray(e[t])&amp;&amp;(e[t]=[e[t]])}),_.each(e,function(t,e){_.isNull(t)||(s[o.propmap[e]||e]=t)}),_.defaults(s,o.defaultArgs),s.orderby=r.valuemap[e.orderby]||e.orderby,a=[],i||(i=new o([],_.extend(t||{},{props:e,args:s})),a.push(i)),i})});t.exports=o},6584:function(t){var i=wp.media.model.Attachments,e=i.extend({initialize:function(t,e){i.prototype.initialize.apply(this,arguments),this.multiple=e&amp;&amp;e.multiple,this.on(&quot;add remove reset&quot;,_.bind(this.single,this,!1))},add:function(t,e){return this.multiple||this.remove(this.models),i.prototype.add.call(this,t,e)},single:function(t){var e=this._single;return t&amp;&amp;(this._single=t),this._single&amp;&amp;!this.get(this._single.cid)&amp;&amp;delete this._single,this._single=this._single||this.last(),this._single!==e&amp;&amp;(e&amp;&amp;(e.trigger(&quot;selection:unsingle&quot;,e,this),this.get(e.cid)||this.trigger(&quot;selection:unsingle&quot;,e,this)),this._single&amp;&amp;this._single.trigger(&quot;selection:single&quot;,this._single,this)),this._single}});t.exports=e}},s={};function r(t){var e=s[t];if(void 0!==e)return e.exports;e=s[t]={exports:{}};return i[t](e,e.exports,r),e.exports}var e,n,t,a,o;o=jQuery,window.wp=window.wp||{},a=wp.media=function(t){var e,i=a.view.MediaFrame;if(i)return&quot;select&quot;===(t=_.defaults(t||{},{frame:&quot;select&quot;})).frame&amp;&amp;i.Select?e=new i.Select(t):&quot;post&quot;===t.frame&amp;&amp;i.Post?e=new i.Post(t):&quot;manage&quot;===t.frame&amp;&amp;i.Manage?e=new i.Manage(t):&quot;image&quot;===t.frame&amp;&amp;i.ImageDetails?e=new i.ImageDetails(t):&quot;audio&quot;===t.frame&amp;&amp;i.AudioDetails?e=new i.AudioDetails(t):&quot;video&quot;===t.frame&amp;&amp;i.VideoDetails?e=new i.VideoDetails(t):&quot;edit-attachments&quot;===t.frame&amp;&amp;i.EditAttachments&amp;&amp;(e=new i.EditAttachments(t)),delete t.frame,a.frame=e},_.extend(a,{model:{},view:{},controller:{},frames:{}}),t=a.model.l10n=window._wpMediaModelsL10n||{},a.model.settings=t.settings||{},delete t.settings,e=a.model.Attachment=r(7727),n=a.model.Attachments=r(6940),a.model.Query=r(4009),a.model.PostImage=r(5927),a.model.Selection=r(6584),a.compare=function(t,e,i,s){return _.isEqual(t,e)?i===s?0:s&lt;i?-1:1:e&lt;t?-1:1},_.extend(a,{template:wp.template,post:wp.ajax.post,ajax:wp.ajax.send,fit:function(t){var e,i=t.width,s=t.height,r=t.maxWidth,t=t.maxHeight;return _.isUndefined(r)||_.isUndefined(t)?_.isUndefined(t)?e=&quot;width&quot;:_.isUndefined(r)&amp;&amp;t&lt;s&amp;&amp;(e=&quot;height&quot;):e=r/t&lt;i/s?&quot;width&quot;:&quot;height&quot;,&quot;width&quot;===e&amp;&amp;r&lt;i?{width:r,height:Math.round(r*s/i)}:&quot;height&quot;===e&amp;&amp;t&lt;s?{width:Math.round(t*i/s),height:t}:{width:i,height:s}},truncate:function(t,e,i){return i=i||&quot;&hellip;&quot;,t.length&lt;=(e=e||30)?t:t.substr(0,e/2)+i+t.substr(-1*e/2)}}),a.attachment=function(t){return e.get(t)},n.all=new n,a.query=function(t){return new n(null,{props:_.extend(_.defaults(t||{},{orderby:&quot;date&quot;}),{query:!0})})},o(window).on(&quot;unload&quot;,function(){window.wp=null})}();\nwindow.wp=window.wp||{},function(e,l){var u;&quot;undefined&quot;!=typeof _wpPluploadSettings&amp;&amp;(l.extend(u=function(e){var n,t,i,p,d=this,r={container:&quot;container&quot;,browser:&quot;browse_button&quot;,dropzone:&quot;drop_element&quot;},s={};if(this.supports={upload:u.browser.supported},this.supported=this.supports.upload,this.supported){for(t in this.plupload=l.extend(!0,{multipart_params:{}},u.defaults),this.container=document.body,l.extend(!0,this,e),this)&quot;function&quot;==typeof this[t]&amp;&amp;(this[t]=l.proxy(this[t],this));for(t in r)this[t]&amp;&amp;(this[t]=l(this[t]).first(),this[t].length?(this[t].prop(&quot;id&quot;)||this[t].prop(&quot;id&quot;,&quot;__wp-uploader-id-&quot;+u.uuid++),this.plupload[r[t]]=this[t].prop(&quot;id&quot;)):delete this[t]);(this.browser&amp;&amp;this.browser.length||this.dropzone&amp;&amp;this.dropzone.length)&amp;&amp;(this.uploader=new plupload.Uploader(this.plupload),delete this.plupload,this.param(this.params||{}),delete this.params,n=function(t,r,a){var e,o;if(r&amp;&amp;r.responseHeaders)if((o=r.responseHeaders.match(/x-wp-upload-attachment-id:\\s*(\\d+)/i))&amp;&amp;o[1]){if(o=o[1],(e=s[a.id])&amp;&amp;4&lt;e)return l.ajax({type:&quot;post&quot;,url:ajaxurl,dataType:&quot;json&quot;,data:{action:&quot;media-create-image-subsizes&quot;,_wpnonce:_wpPluploadSettings.defaults.multipart_params._wpnonce,attachment_id:o,_wp_upload_failed_cleanup:!0}}),void i(t,r,a,&quot;no-retry&quot;);s[a.id]=e?++e:1,l.ajax({type:&quot;post&quot;,url:ajaxurl,dataType:&quot;json&quot;,data:{action:&quot;media-create-image-subsizes&quot;,_wpnonce:_wpPluploadSettings.defaults.multipart_params._wpnonce,attachment_id:o}}).done(function(e){e.success?p(d.uploader,a,e):(e.data&amp;&amp;e.data.message&amp;&amp;(t=e.data.message),i(t,r,a,&quot;no-retry&quot;))}).fail(function(e){500&lt;=e.status&amp;&amp;e.status&lt;600?n(t,r,a):i(t,r,a,&quot;no-retry&quot;)})}else i(pluploadL10n.http_error_image,r,a,&quot;no-retry&quot;);else i(pluploadL10n.http_error_image,r,a,&quot;no-retry&quot;)},i=function(e,t,r,a){var o=r.type&amp;&amp;0===r.type.indexOf(&quot;image/&quot;),i=t&amp;&amp;t.status;&quot;no-retry&quot;!==a&amp;&amp;o&amp;&amp;500&lt;=i&amp;&amp;i&lt;600?n(e,t,r):(r.attachment&amp;&amp;r.attachment.destroy(),u.errors.unshift({message:e||pluploadL10n.default_error,data:t,file:r}),d.error(e,t,r))},p=function(e,t,r){_.each([&quot;file&quot;,&quot;loaded&quot;,&quot;size&quot;,&quot;percent&quot;],function(e){t.attachment.unset(e)}),t.attachment.set(_.extend(r.data,{uploading:!1})),wp.media.model.Attachment.get(r.data.id,t.attachment),u.queue.all(function(e){return!e.get(&quot;uploading&quot;)})&amp;&amp;u.queue.reset(),d.success(t.attachment)},this.uploader.bind(&quot;init&quot;,function(e){var t,r,a=d.dropzone,e=d.supports.dragdrop=e.features.dragdrop&amp;&amp;!u.browser.mobile;if(a){if(a.toggleClass(&quot;supports-drag-drop&quot;,!!e),!e)return a.unbind(&quot;.wp-uploader&quot;);a.on(&quot;dragover.wp-uploader&quot;,function(){t&amp;&amp;clearTimeout(t),r||(a.trigger(&quot;dropzone:enter&quot;).addClass(&quot;drag-over&quot;),r=!0)}),a.on(&quot;dragleave.wp-uploader, drop.wp-uploader&quot;,function(){t=setTimeout(function(){r=!1,a.trigger(&quot;dropzone:leave&quot;).removeClass(&quot;drag-over&quot;)},0)}),d.ready=!0,l(d).trigger(&quot;uploader:ready&quot;)}}),this.uploader.bind(&quot;postinit&quot;,function(e){e.refresh(),d.init()}),this.uploader.init(),this.browser?this.browser.on(&quot;mouseenter&quot;,this.refresh):this.uploader.disableBrowse(!0),l(d).on(&quot;uploader:ready&quot;,function(){l(&#039;.moxie-shim-html5 input[type=&quot;file&quot;]&#039;).attr({tabIndex:&quot;-1&quot;,&quot;aria-hidden&quot;:&quot;true&quot;})}),this.uploader.bind(&quot;FilesAdded&quot;,function(a,e){_.each(e,function(e){var t,r;if(plupload.FAILED!==e.status){if(&quot;image/heic&quot;===e.type&amp;&amp;a.settings.heic_upload_error)u.errors.unshift({message:pluploadL10n.unsupported_image,data:{},file:e});else if(&quot;image/webp&quot;===e.type&amp;&amp;a.settings.webp_upload_error)return i(pluploadL10n.noneditable_image,{},e,&quot;no-retry&quot;),void a.removeFile(e);t=_.extend({file:e,uploading:!0,date:new Date,filename:e.name,menuOrder:0,uploadedTo:wp.media.model.settings.post.id},_.pick(e,&quot;loaded&quot;,&quot;size&quot;,&quot;percent&quot;)),(r=/(?:jpe?g|png|gif)$/i.exec(e.name))&amp;&amp;(t.type=&quot;image&quot;,t.subtype=&quot;jpg&quot;===r[0]?&quot;jpeg&quot;:r[0]),e.attachment=wp.media.model.Attachment.create(t),u.queue.add(e.attachment),d.added(e.attachment)}}),a.refresh(),a.start()}),this.uploader.bind(&quot;UploadProgress&quot;,function(e,t){t.attachment.set(_.pick(t,&quot;loaded&quot;,&quot;percent&quot;)),d.progress(t.attachment)}),this.uploader.bind(&quot;FileUploaded&quot;,function(e,t,r){try{r=JSON.parse(r.response)}catch(e){return i(pluploadL10n.default_error,e,t)}return!_.isObject(r)||_.isUndefined(r.success)?i(pluploadL10n.default_error,null,t):r.success?void p(e,t,r):i(r.data&amp;&amp;r.data.message,r.data,t)}),this.uploader.bind(&quot;Error&quot;,function(e,t){var r,a=pluploadL10n.default_error;for(r in u.errorMap)if(t.code===plupload[r]){&quot;function&quot;==typeof(a=u.errorMap[r])&amp;&amp;(a=a(t.file,t));break}i(a,t,t.file),e.refresh()}))}},_wpPluploadSettings),u.uuid=0,u.errorMap={FAILED:pluploadL10n.upload_failed,FILE_EXTENSION_ERROR:pluploadL10n.invalid_filetype,IMAGE_FORMAT_ERROR:pluploadL10n.not_an_image,IMAGE_MEMORY_ERROR:pluploadL10n.image_memory_exceeded,IMAGE_DIMENSIONS_ERROR:pluploadL10n.image_dimensions_exceeded,GENERIC_ERROR:pluploadL10n.upload_failed,IO_ERROR:pluploadL10n.io_error,SECURITY_ERROR:pluploadL10n.security_error,FILE_SIZE_ERROR:function(e){return pluploadL10n.file_exceeds_size_limit.replace(&quot;%s&quot;,e.name)},HTTP_ERROR:function(e){return e.type&amp;&amp;0===e.type.indexOf(&quot;image/&quot;)?pluploadL10n.http_error_image:pluploadL10n.http_error}},l.extend(u.prototype,{param:function(e,t){if(1===arguments.length&amp;&amp;&quot;string&quot;==typeof e)return this.uploader.settings.multipart_params[e];1&lt;arguments.length?this.uploader.settings.multipart_params[e]=t:l.extend(this.uploader.settings.multipart_params,e)},init:function(){},error:function(){},success:function(){},added:function(){},progress:function(){},complete:function(){},refresh:function(){var e,t,r;if(this.browser){for(e=this.browser[0];e;){if(e===document.body){t=!0;break}e=e.parentNode}t||(r=&quot;wp-uploader-browser-&quot;+this.uploader.id,(r=(r=l(&quot;#&quot;+r)).length?r:l(&#039;<div class="wp-uploader-browser" />'').css({position:"fixed",top:"-1000px",left:"-1000px",height:0,width:0}).attr("id","wp-uploader-browser-"+this.uploader.id).appendTo("body")).append(this.browser))}this.uploader.refresh()}}),u.queue=new wp.media.model.Attachments([],{query:!1}),u.errors=new Backbone.Collection,e.Uploader=u)}(wp,jQuery);', 'dca95603b2c384280f565318bdbc5065-scripts', '', 'publish', 'closed', 'closed', '', 'dca95603b2c384280f565318bdbc5065-scripts', '', '', '2022-07-08 19:51:34', '2022-07-08 17:51:34', '', 0, 'https://www.avo.co.bw/?post_type=wphb_minify_group&amp;p=5624', 0, 'wphb_minify_group', '', 0),
(5625, 1, '2022-07-08 19:51:36', '2022-07-08 17:51:36', '/**handles:mediaelement-core,mediaelement-migrate**/\n/*!\n * MediaElement.js\n * http://www.mediaelementjs.com/\n *\n * Wrapper that mimics native HTML5 MediaElement (audio and video)\n * using a variety of technologies (pure JavaScript, Flash, iframe)\n *\n * Copyright 2010-2017, John Dyer (http://j.hn/)\n * License: MIT\n *\n */\n!function r(a,s,l){function d(n,e){if(!s[n]){if(!a[n]){var t="function"==typeof require&amp;&amp;require;if(!e&amp;&amp;t)return t(n,!0);if(u)return u(n,!0);var o=new Error("Cannot find module ''"+n+"''");throw o.code="MODULE_NOT_FOUND",o}var i=s[n]={exports:{}};a[n][0].call(i.exports,function(e){var t=a[n][1][e];return d(t||e)},i,i.exports,r,a,s,l)}return s[n].exports}for(var u="function"==typeof require&amp;&amp;require,e=0;e&lt;l.length;e++)d(l[e]);return d}({1:[function(e,t,n){},{}],2:[function(i,r,e){(function(e){var t,n=void 0!==e?e:&quot;undefined&quot;!=typeof window?window:{},o=i(1);&quot;undefined&quot;!=typeof document?t=document:(t=n[&quot;__GLOBAL_DOCUMENT_CACHE@4&quot;])||(t=n[&quot;__GLOBAL_DOCUMENT_CACHE@4&quot;]=o),r.exports=t}).call(this,&quot;undefined&quot;!=typeof global?global:&quot;undefined&quot;!=typeof self?self:&quot;undefined&quot;!=typeof window?window:{})},{1:1}],3:[function(e,n,t){(function(e){var t;t=&quot;undefined&quot;!=typeof window?window:void 0!==e?e:&quot;undefined&quot;!=typeof self?self:{},n.exports=t}).call(this,&quot;undefined&quot;!=typeof global?global:&quot;undefined&quot;!=typeof self?self:&quot;undefined&quot;!=typeof window?window:{})},{}],4:[function(e,n,t){!function(e){var t=setTimeout;function o(){}function r(e){if(&quot;object&quot;!=typeof this)throw new TypeError(&quot;Promises must be constructed via new&quot;);if(&quot;function&quot;!=typeof e)throw new TypeError(&quot;not a function&quot;);this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],d(e,this)}function i(n,o){for(;3===n._state;)n=n._value;0!==n._state?(n._handled=!0,r._immediateFn(function(){var e=1===n._state?o.onFulfilled:o.onRejected;if(null!==e){var t;try{t=e(n._value)}catch(e){return void s(o.promise,e)}a(o.promise,t)}else(1===n._state?a:s)(o.promise,n._value)})):n._deferreds.push(o)}function a(t,e){try{if(e===t)throw new TypeError(&quot;A promise cannot be resolved with itself.&quot;);if(e&amp;&amp;(&quot;object&quot;==typeof e||&quot;function&quot;==typeof e)){var n=e.then;if(e instanceof r)return t._state=3,t._value=e,void l(t);if(&quot;function&quot;==typeof n)return void d((o=n,i=e,function(){o.apply(i,arguments)}),t)}t._state=1,t._value=e,l(t)}catch(e){s(t,e)}var o,i}function s(e,t){e._state=2,e._value=t,l(e)}function l(e){2===e._state&amp;&amp;0===e._deferreds.length&amp;&amp;r._immediateFn(function(){e._handled||r._unhandledRejectionFn(e._value)});for(var t=0,n=e._deferreds.length;t&lt;n;t++)i(e,e._deferreds[t]);e._deferreds=null}function d(e,t){var n=!1;try{e(function(e){n||(n=!0,a(t,e))},function(e){n||(n=!0,s(t,e))})}catch(e){if(n)return;n=!0,s(t,e)}}r.prototype.catch=function(e){return this.then(null,e)},r.prototype.then=function(e,t){var n=new this.constructor(o);return i(this,new function(e,t,n){this.onFulfilled=&quot;function&quot;==typeof e?e:null,this.onRejected=&quot;function&quot;==typeof t?t:null,this.promise=n}(e,t,n)),n},r.all=function(e){var s=Array.prototype.slice.call(e);return new r(function(o,i){if(0===s.length)return o([]);var r=s.length;function a(t,e){try{if(e&amp;&amp;(&quot;object&quot;==typeof e||&quot;function&quot;==typeof e)){var n=e.then;if(&quot;function&quot;==typeof n)return void n.call(e,function(e){a(t,e)},i)}s[t]=e,0==--r&amp;&amp;o(s)}catch(e){i(e)}}for(var e=0;e&lt;s.length;e++)a(e,s[e])})},r.resolve=function(t){return t&amp;&amp;&quot;object&quot;==typeof t&amp;&amp;t.constructor===r?t:new r(function(e){e(t)})},r.reject=function(n){return new r(function(e,t){t(n)})},r.race=function(i){return new r(function(e,t){for(var n=0,o=i.length;n&lt;o;n++)i[n].then(e,t)})},r._immediateFn=&quot;function&quot;==typeof setImmediate&amp;&amp;function(e){setImmediate(e)}||function(e){t(e,0)},r._unhandledRejectionFn=function(e){&quot;undefined&quot;!=typeof console&amp;&amp;console&amp;&amp;console.warn(&quot;Possible Unhandled Promise Rejection:&quot;,e)},r._setImmediateFn=function(e){r._immediateFn=e},r._setUnhandledRejectionFn=function(e){r._unhandledRejectionFn=e},void 0!==n&amp;&amp;n.exports?n.exports=r:e.Promise||(e.Promise=r)}(this)},{}],5:[function(e,t,n){&quot;use strict&quot;;Object.defineProperty(n,&quot;__esModule&quot;,{value:!0});var o,a=&quot;function&quot;==typeof Symbol&amp;&amp;&quot;symbol&quot;==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;&quot;function&quot;==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?&quot;symbol&quot;:typeof e},i=e(7),r=(o=i)&amp;&amp;o.__esModule?o:{default:o},s=e(15),l=e(27);var d={lang:&quot;en&quot;,en:s.EN,language:function(){for(var e=arguments.length,t=Array(e),n=0;n&lt;e;n++)t[n]=arguments[n];if(null!=t&amp;&amp;t.length){if(&quot;string&quot;!=typeof t[0])throw new TypeError(&quot;Language code must be a string value&quot;);if(!/^[a-z]{2,3}((\\-|_)[a-z]{2})?$/i.test(t[0]))throw new TypeError(&quot;Language code must have format 2-3 letters and. optionally, hyphen, underscore followed by 2 more letters&quot;);d.lang=t[0],void 0===d[t[0]]?(t[1]=null!==t[1]&amp;&amp;void 0!==t[1]&amp;&amp;&quot;object&quot;===a(t[1])?t[1]:{},d[t[0]]=(0,l.isObjectEmpty)(t[1])?s.EN:t[1]):null!==t[1]&amp;&amp;void 0!==t[1]&amp;&amp;&quot;object&quot;===a(t[1])&amp;&amp;(d[t[0]]=t[1])}return d.lang},t:function(e){var t=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:null;if(&quot;string&quot;==typeof e&amp;&amp;e.length){var n=void 0,o=void 0,i=d.language(),r=function(e,t,n){return&quot;object&quot;!==(void 0===e?&quot;undefined&quot;:a(e))||&quot;number&quot;!=typeof t||&quot;number&quot;!=typeof n?e:[function(){return arguments.length&lt;=1?void 0:arguments[1]},function(){return 1===(arguments.length&lt;=0?void 0:arguments[0])?arguments.length&lt;=1?void 0:arguments[1]:arguments.length&lt;=2?void 0:arguments[2]},function(){return 0===(arguments.length&lt;=0?void 0:arguments[0])||1===(arguments.length&lt;=0?void 0:arguments[0])?arguments.length&lt;=1?void 0:arguments[1]:arguments.length&lt;=2?void 0:arguments[2]},function(){return(arguments.length&lt;=0?void 0:arguments[0])%10==1&amp;&amp;(arguments.length&lt;=0?void 0:arguments[0])%100!=11?arguments.length&lt;=1?void 0:arguments[1]:0!==(arguments.length&lt;=0?void 0:arguments[0])?arguments.length&lt;=2?void 0:arguments[2]:arguments.length&lt;=3?void 0:arguments[3]},function(){return 1===(arguments.length&lt;=0?void 0:arguments[0])||11===(arguments.length&lt;=0?void 0:arguments[0])?arguments.length&lt;=1?void 0:arguments[1]:2===(arguments.length&lt;=0?void 0:arguments[0])||12===(arguments.length&lt;=0?void 0:arguments[0])?arguments.length&lt;=2?void 0:arguments[2]:2&lt;(arguments.length&lt;=0?void 0:arguments[0])&amp;&amp;(arguments.length&lt;=0?void 0:arguments[0])&lt;20?arguments.length&lt;=3?void 0:arguments[3]:arguments.length&lt;=4?void 0:arguments[4]},function(){return 1===(arguments.length&lt;=0?void 0:arguments[0])?arguments.length&lt;=1?void 0:arguments[1]:0===(arguments.length&lt;=0?void 0:arguments[0])||0&lt;(arguments.length&lt;=0?void 0:arguments[0])%100&amp;&amp;(arguments.length&lt;=0?void 0:arguments[0])%100&lt;20?arguments.length&lt;=2?void 0:arguments[2]:arguments.length&lt;=3?void 0:arguments[3]},function(){return(arguments.length&lt;=0?void 0:arguments[0])%10==1&amp;&amp;(arguments.length&lt;=0?void 0:arguments[0])%100!=11?arguments.length&lt;=1?void 0:arguments[1]:2&lt;=(arguments.length&lt;=0?void 0:arguments[0])%10&amp;&amp;((arguments.length&lt;=0?void 0:arguments[0])%100&lt;10||20&lt;=(arguments.length&lt;=0?void 0:arguments[0])%100)?arguments.length&lt;=2?void 0:arguments[2]:[3]},function(){return(arguments.length&lt;=0?void 0:arguments[0])%10==1&amp;&amp;(arguments.length&lt;=0?void 0:arguments[0])%100!=11?arguments.length&lt;=1?void 0:arguments[1]:2&lt;=(arguments.length&lt;=0?void 0:arguments[0])%10&amp;&amp;(arguments.length&lt;=0?void 0:arguments[0])%10&lt;=4&amp;&amp;((arguments.length&lt;=0?void 0:arguments[0])%100&lt;10||20&lt;=(arguments.length&lt;=0?void 0:arguments[0])%100)?arguments.length&lt;=2?void 0:arguments[2]:arguments.length&lt;=3?void 0:arguments[3]},function(){return 1===(arguments.length&lt;=0?void 0:arguments[0])?arguments.length&lt;=1?void 0:arguments[1]:2&lt;=(arguments.length&lt;=0?void 0:arguments[0])&amp;&amp;(arguments.length&lt;=0?void 0:arguments[0])&lt;=4?arguments.length&lt;=2?void 0:arguments[2]:arguments.length&lt;=3?void 0:arguments[3]},function(){return 1===(arguments.length&lt;=0?void 0:arguments[0])?arguments.length&lt;=1?void 0:arguments[1]:2&lt;=(arguments.length&lt;=0?void 0:arguments[0])%10&amp;&amp;(arguments.length&lt;=0?void 0:arguments[0])%10&lt;=4&amp;&amp;((arguments.length&lt;=0?void 0:arguments[0])%100&lt;10||20&lt;=(arguments.length&lt;=0?void 0:arguments[0])%100)?arguments.length&lt;=2?void 0:arguments[2]:arguments.length&lt;=3?void 0:arguments[3]},function(){return(arguments.length&lt;=0?void 0:arguments[0])%100==1?arguments.length&lt;=2?void 0:arguments[2]:(arguments.length&lt;=0?void 0:arguments[0])%100==2?arguments.length&lt;=3?void 0:arguments[3]:(arguments.length&lt;=0?void 0:arguments[0])%100==3||(arguments.length&lt;=0?void 0:arguments[0])%100==4?arguments.length&lt;=4?void 0:arguments[4]:arguments.length&lt;=1?void 0:arguments[1]},function(){return 1===(arguments.length&lt;=0?void 0:arguments[0])?arguments.length&lt;=1?void 0:arguments[1]:2===(arguments.length&lt;=0?void 0:arguments[0])?arguments.length&lt;=2?void 0:arguments[2]:2&lt;(arguments.length&lt;=0?void 0:arguments[0])&amp;&amp;(arguments.length&lt;=0?void 0:arguments[0])&lt;7?arguments.length&lt;=3?void 0:arguments[3]:6&lt;(arguments.length&lt;=0?void 0:arguments[0])&amp;&amp;(arguments.length&lt;=0?void 0:arguments[0])&lt;11?arguments.length&lt;=4?void 0:arguments[4]:arguments.length&lt;=5?void 0:arguments[5]},function(){return 0===(arguments.length&lt;=0?void 0:arguments[0])?arguments.length&lt;=1?void 0:arguments[1]:1===(arguments.length&lt;=0?void 0:arguments[0])?arguments.length&lt;=2?void 0:arguments[2]:2===(arguments.length&lt;=0?void 0:arguments[0])?arguments.length&lt;=3?void 0:arguments[3]:3&lt;=(arguments.length&lt;=0?void 0:arguments[0])%100&amp;&amp;(arguments.length&lt;=0?void 0:arguments[0])%100&lt;=10?arguments.length&lt;=4?void 0:arguments[4]:11&lt;=(arguments.length&lt;=0?void 0:arguments[0])%100?arguments.length&lt;=5?void 0:arguments[5]:arguments.length&lt;=6?void 0:arguments[6]},function(){return 1===(arguments.length&lt;=0?void 0:arguments[0])?arguments.length&lt;=1?void 0:arguments[1]:0===(arguments.length&lt;=0?void 0:arguments[0])||1&lt;(arguments.length&lt;=0?void 0:arguments[0])%100&amp;&amp;(arguments.length&lt;=0?void 0:arguments[0])%100&lt;11?arguments.length&lt;=2?void 0:arguments[2]:10&lt;(arguments.length&lt;=0?void 0:arguments[0])%100&amp;&amp;(arguments.length&lt;=0?void 0:arguments[0])%100&lt;20?arguments.length&lt;=3?void 0:arguments[3]:arguments.length&lt;=4?void 0:arguments[4]},function(){return(arguments.length&lt;=0?void 0:arguments[0])%10==1?arguments.length&lt;=1?void 0:arguments[1]:(arguments.length&lt;=0?void 0:arguments[0])%10==2?arguments.length&lt;=2?void 0:arguments[2]:arguments.length&lt;=3?void 0:arguments[3]},function(){return 11!==(arguments.length&lt;=0?void 0:arguments[0])&amp;&amp;(arguments.length&lt;=0?void 0:arguments[0])%10==1?arguments.length&lt;=1?void 0:arguments[1]:arguments.length&lt;=2?void 0:arguments[2]},function(){return 1===(arguments.length&lt;=0?void 0:arguments[0])?arguments.length&lt;=1?void 0:arguments[1]:2&lt;=(arguments.length&lt;=0?void 0:arguments[0])%10&amp;&amp;(arguments.length&lt;=0?void 0:arguments[0])%10&lt;=4&amp;&amp;((arguments.length&lt;=0?void 0:arguments[0])%100&lt;10||20&lt;=(arguments.length&lt;=0?void 0:arguments[0])%100)?arguments.length&lt;=2?void 0:arguments[2]:arguments.length&lt;=3?void 0:arguments[3]},function(){return 1===(arguments.length&lt;=0?void 0:arguments[0])?arguments.length&lt;=1?void 0:arguments[1]:2===(arguments.length&lt;=0?void 0:arguments[0])?arguments.length&lt;=2?void 0:arguments[2]:8!==(arguments.length&lt;=0?void 0:arguments[0])&amp;&amp;11!==(arguments.length&lt;=0?void 0:arguments[0])?arguments.length&lt;=3?void 0:arguments[3]:arguments.length&lt;=4?void 0:arguments[4]},function(){return 0===(arguments.length&lt;=0?void 0:arguments[0])?arguments.length&lt;=1?void 0:arguments[1]:arguments.length&lt;=2?void 0:arguments[2]},function(){return 1===(arguments.length&lt;=0?void 0:arguments[0])?arguments.length&lt;=1?void 0:arguments[1]:2===(arguments.length&lt;=0?void 0:arguments[0])?arguments.length&lt;=2?void 0:arguments[2]:3===(arguments.length&lt;=0?void 0:arguments[0])?arguments.length&lt;=3?void 0:arguments[3]:arguments.length&lt;=4?void 0:arguments[4]},function(){return 0===(arguments.length&lt;=0?void 0:arguments[0])?arguments.length&lt;=1?void 0:arguments[1]:1===(arguments.length&lt;=0?void 0:arguments[0])?arguments.length&lt;=2?void 0:arguments[2]:arguments.length&lt;=3?void 0:arguments[3]}][n].apply(null,[t].concat(e))};return void 0!==d[i]&amp;&amp;(n=d[i][e],null!==t&amp;&amp;&quot;number&quot;==typeof t&amp;&amp;(o=d[i][&quot;mejs.plural-form&quot;],n=r.apply(null,[n,t,o]))),!n&amp;&amp;d.en&amp;&amp;(n=d.en[e],null!==t&amp;&amp;&quot;number&quot;==typeof t&amp;&amp;(o=d.en[&quot;mejs.plural-form&quot;],n=r.apply(null,[n,t,o]))),n=n||e,null!==t&amp;&amp;&quot;number&quot;==typeof t&amp;&amp;(n=n.replace(&quot;%1&quot;,t)),(0,l.escapeHTML)(n)}return e}};r.default.i18n=d,&quot;undefined&quot;!=typeof mejsL10n&amp;&amp;r.default.i18n.language(mejsL10n.language,mejsL10n.strings),n.default=d},{15:15,27:27,7:7}],6:[function(e,t,n){&quot;use strict&quot;;Object.defineProperty(n,&quot;__esModule&quot;,{value:!0});var L=&quot;function&quot;==typeof Symbol&amp;&amp;&quot;symbol&quot;==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;&quot;function&quot;==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?&quot;symbol&quot;:typeof e},F=o(e(3)),j=o(e(2)),I=o(e(7)),M=e(27),O=e(28),D=e(8),R=e(25);function o(e){return e&amp;&amp;e.__esModule?e:{default:e}}var i=function e(t,n,o){var c=this;!function(e,t){if(!(e instanceof t))throw new TypeError(&quot;Cannot call a class as a function&quot;)}(this,e);var f=this;o=Array.isArray(o)?o:null,f.defaults={renderers:[],fakeNodeName:&quot;mediaelementwrapper&quot;,pluginPath:&quot;build/&quot;,shimScriptAccess:&quot;sameDomain&quot;},n=Object.assign(f.defaults,n),f.mediaElement=j.default.createElement(n.fakeNodeName);var i=t,r=!1;if(&quot;string&quot;==typeof t?f.mediaElement.originalNode=j.default.getElementById(t):i=(f.mediaElement.originalNode=t).id,void 0===f.mediaElement.originalNode||null===f.mediaElement.originalNode)return null;f.mediaElement.options=n,i=i||&quot;mejs_&quot;+Math.random().toString().slice(2),f.mediaElement.originalNode.setAttribute(&quot;id&quot;,i+&quot;_from_mejs&quot;);var a=f.mediaElement.originalNode.tagName.toLowerCase();-1&lt;[&quot;video&quot;,&quot;audio&quot;].indexOf(a)&amp;&amp;!f.mediaElement.originalNode.getAttribute(&quot;preload&quot;)&amp;&amp;f.mediaElement.originalNode.setAttribute(&quot;preload&quot;,&quot;none&quot;),f.mediaElement.originalNode.parentNode.insertBefore(f.mediaElement,f.mediaElement.originalNode),f.mediaElement.appendChild(f.mediaElement.originalNode);var s=function(t,e){if(&quot;https:&quot;===F.default.location.protocol&amp;&amp;0===t.indexOf(&quot;http:&quot;)&amp;&amp;R.IS_IOS&amp;&amp;-1&lt;I.default.html5media.mediaTypes.indexOf(e)){var n=new XMLHttpRequest;n.onreadystatechange=function(){if(4===this.readyState&amp;&amp;200===this.status){var e=(F.default.URL||F.default.webkitURL).createObjectURL(this.response);return f.mediaElement.originalNode.setAttribute(&quot;src&quot;,e),e}return t},n.open(&quot;GET&quot;,t),n.responseType=&quot;blob&quot;,n.send()}return t},l=void 0;if(null!==o)l=o;else if(null!==f.mediaElement.originalNode)switch(l=[],f.mediaElement.originalNode.nodeName.toLowerCase()){case&quot;iframe&quot;:l.push({type:&quot;&quot;,src:f.mediaElement.originalNode.getAttribute(&quot;src&quot;)});break;case&quot;audio&quot;:case&quot;video&quot;:var d=f.mediaElement.originalNode.children.length,u=f.mediaElement.originalNode.getAttribute(&quot;src&quot;);if(u){var p=f.mediaElement.originalNode,m=(0,O.formatType)(u,p.getAttribute(&quot;type&quot;));l.push({type:m,src:s(u,m)})}for(var h=0;h&lt;d;h++){var v=f.mediaElement.originalNode.children[h];if(&quot;source&quot;===v.tagName.toLowerCase()){var g=v.getAttribute(&quot;src&quot;),y=(0,O.formatType)(g,v.getAttribute(&quot;type&quot;));l.push({type:y,src:s(g,y)})}}}f.mediaElement.id=i,f.mediaElement.renderers={},f.mediaElement.events={},f.mediaElement.promises=[],f.mediaElement.renderer=null,f.mediaElement.rendererName=null,f.mediaElement.changeRenderer=function(e,t){var n=c,o=2&lt;Object.keys(t[0]).length?t[0]:t[0].src;if(void 0!==n.mediaElement.renderer&amp;&amp;null!==n.mediaElement.renderer&amp;&amp;n.mediaElement.renderer.name===e)return n.mediaElement.renderer.pause(),n.mediaElement.renderer.stop&amp;&amp;n.mediaElement.renderer.stop(),n.mediaElement.renderer.show(),n.mediaElement.renderer.setSrc(o),!0;void 0!==n.mediaElement.renderer&amp;&amp;null!==n.mediaElement.renderer&amp;&amp;(n.mediaElement.renderer.pause(),n.mediaElement.renderer.stop&amp;&amp;n.mediaElement.renderer.stop(),n.mediaElement.renderer.hide());var i=n.mediaElement.renderers[e],r=null;if(null!=i)return i.show(),i.setSrc(o),n.mediaElement.renderer=i,n.mediaElement.rendererName=e,!0;for(var a=n.mediaElement.options.renderers.length?n.mediaElement.options.renderers:D.renderer.order,s=0,l=a.length;s&lt;l;s++){var d=a[s];if(d===e){r=D.renderer.renderers[d];var u=Object.assign(r.options,n.mediaElement.options);return(i=r.create(n.mediaElement,u,t)).name=e,n.mediaElement.renderers[r.name]=i,n.mediaElement.renderer=i,n.mediaElement.rendererName=e,i.show(),!0}}return!1},f.mediaElement.setSize=function(e,t){void 0!==f.mediaElement.renderer&amp;&amp;null!==f.mediaElement.renderer&amp;&amp;f.mediaElement.renderer.setSize(e,t)},f.mediaElement.generateError=function(e,t){e=e||&quot;&quot;,t=Array.isArray(t)?t:[];var n=(0,M.createEvent)(&quot;error&quot;,f.mediaElement);n.message=e,n.urls=t,f.mediaElement.dispatchEvent(n),r=!0};var E=I.default.html5media.properties,b=I.default.html5media.methods,S=function(t,e,n,o){var i=t[e];Object.defineProperty(t,e,{get:function(){return n.apply(t,[i])},set:function(e){return i=o.apply(t,[e])}})},x=function(e){if(&quot;src&quot;!==e){var t=&quot;&quot;+e.substring(0,1).toUpperCase()+e.substring(1),n=function(){return void 0!==f.mediaElement.renderer&amp;&amp;null!==f.mediaElement.renderer&amp;&amp;&quot;function&quot;==typeof f.mediaElement.renderer[&quot;get&quot;+t]?f.mediaElement.renderer[&quot;get&quot;+t]():null},o=function(e){void 0!==f.mediaElement.renderer&amp;&amp;null!==f.mediaElement.renderer&amp;&amp;&quot;function&quot;==typeof f.mediaElement.renderer[&quot;set&quot;+t]&amp;&amp;f.mediaElement.renderer[&quot;set&quot;+t](e)};S(f.mediaElement,e,n,o),f.mediaElement[&quot;get&quot;+t]=n,f.mediaElement[&quot;set&quot;+t]=o}},w=function(){return void 0!==f.mediaElement.renderer&amp;&amp;null!==f.mediaElement.renderer?f.mediaElement.renderer.getSrc():null},P=function(e){var t=[];if(&quot;string&quot;==typeof e)t.push({src:e,type:e?(0,O.getTypeFromFile)(e):&quot;&quot;});else if(&quot;object&quot;===(void 0===e?&quot;undefined&quot;:L(e))&amp;&amp;void 0!==e.src){var n=(0,O.absolutizeUrl)(e.src),o=e.type,i=Object.assign(e,{src:n,type:&quot;&quot;!==o&amp;&amp;null!=o||!n?o:(0,O.getTypeFromFile)(n)});t.push(i)}else if(Array.isArray(e))for(var r=0,a=e.length;r&lt;a;r++){var s=(0,O.absolutizeUrl)(e[r].src),l=e[r].type,d=Object.assign(e[r],{src:s,type:&quot;&quot;!==l&amp;&amp;null!=l||!s?l:(0,O.getTypeFromFile)(s)});t.push(d)}var u=D.renderer.select(t,f.mediaElement.options.renderers.length?f.mediaElement.options.renderers:[]),c=void 0;if(f.mediaElement.paused||null==f.mediaElement.src||&quot;&quot;===f.mediaElement.src||(f.mediaElement.pause(),c=(0,M.createEvent)(&quot;pause&quot;,f.mediaElement),f.mediaElement.dispatchEvent(c)),f.mediaElement.originalNode.src=t[0].src||&quot;&quot;,null!==u||!t[0].src)return!(null==t[0].src||&quot;&quot;===t[0].src)?f.mediaElement.changeRenderer(u.rendererName,t):null;f.mediaElement.generateError(&quot;No renderer found&quot;,t)},T=function(e,t){try{if(&quot;play&quot;!==e||&quot;native_dash&quot;!==f.mediaElement.rendererName&amp;&amp;&quot;native_hls&quot;!==f.mediaElement.rendererName&amp;&amp;&quot;vimeo_iframe&quot;!==f.mediaElement.rendererName)f.mediaElement.renderer[e](t);else{var n=f.mediaElement.renderer[e](t);n&amp;&amp;&quot;function&quot;==typeof n.then&amp;&amp;n.catch(function(){f.mediaElement.paused&amp;&amp;setTimeout(function(){var e=f.mediaElement.renderer.play();void 0!==e&amp;&amp;e.catch(function(){f.mediaElement.renderer.paused||f.mediaElement.renderer.pause()})},150)})}}catch(e){f.mediaElement.generateError(e,l)}},C=function(o){f.mediaElement[o]=function(){for(var e=arguments.length,t=Array(e),n=0;n&lt;e;n++)t[n]=arguments[n];return void 0!==f.mediaElement.renderer&amp;&amp;null!==f.mediaElement.renderer&amp;&amp;&quot;function&quot;==typeof f.mediaElement.renderer[o]&amp;&amp;(f.mediaElement.promises.length?Promise.all(f.mediaElement.promises).then(function(){T(o,t)}).catch(function(e){f.mediaElement.generateError(e,l)}):T(o,t)),null}};S(f.mediaElement,&quot;src&quot;,w,P),f.mediaElement.getSrc=w,f.mediaElement.setSrc=P;for(var k=0,_=E.length;k&lt;_;k++)x(E[k]);for(var N=0,A=b.length;N&lt;A;N++)C(b[N]);return f.mediaElement.addEventListener=function(e,t){f.mediaElement.events[e]=f.mediaElement.events[e]||[],f.mediaElement.events[e].push(t)},f.mediaElement.removeEventListener=function(e,t){if(!e)return f.mediaElement.events={},!0;var n=f.mediaElement.events[e];if(!n)return!0;if(!t)return f.mediaElement.events[e]=[],!0;for(var o=0;o&lt;n.length;o++)if(n[o]===t)return f.mediaElement.events[e].splice(o,1),!0;return!1},f.mediaElement.dispatchEvent=function(e){var t=f.mediaElement.events[e.type];if(t)for(var n=0;n&lt;t.length;n++)t[n].apply(null,[e])},f.mediaElement.destroy=function(){var e=f.mediaElement.originalNode.cloneNode(!0),t=f.mediaElement.parentElement;e.removeAttribute(&quot;id&quot;),e.remove(),f.mediaElement.remove(),t.appendChild(e)},l.length&amp;&amp;(f.mediaElement.src=l),f.mediaElement.promises.length?Promise.all(f.mediaElement.promises).then(function(){f.mediaElement.options.success&amp;&amp;f.mediaElement.options.success(f.mediaElement,f.mediaElement.originalNode)}).catch(function(){r&amp;&amp;f.mediaElement.options.error&amp;&amp;f.mediaElement.options.error(f.mediaElement,f.mediaElement.originalNode)}):(f.mediaElement.options.success&amp;&amp;f.mediaElement.options.success(f.mediaElement,f.mediaElement.originalNode),r&amp;&amp;f.mediaElement.options.error&amp;&amp;f.mediaElement.options.error(f.mediaElement,f.mediaElement.originalNode)),f.mediaElement};F.default.MediaElement=i,I.default.MediaElement=i,n.default=i},{2:2,25:25,27:27,28:28,3:3,7:7,8:8}],7:[function(e,t,n){&quot;use strict&quot;;Object.defineProperty(n,&quot;__esModule&quot;,{value:!0});var o,i=e(3);var r={version:&quot;4.2.16&quot;,html5media:{properties:[&quot;volume&quot;,&quot;src&quot;,&quot;currentTime&quot;,&quot;muted&quot;,&quot;duration&quot;,&quot;paused&quot;,&quot;ended&quot;,&quot;buffered&quot;,&quot;error&quot;,&quot;networkState&quot;,&quot;readyState&quot;,&quot;seeking&quot;,&quot;seekable&quot;,&quot;currentSrc&quot;,&quot;preload&quot;,&quot;bufferedBytes&quot;,&quot;bufferedTime&quot;,&quot;initialTime&quot;,&quot;startOffsetTime&quot;,&quot;defaultPlaybackRate&quot;,&quot;playbackRate&quot;,&quot;played&quot;,&quot;autoplay&quot;,&quot;loop&quot;,&quot;controls&quot;],readOnlyProperties:[&quot;duration&quot;,&quot;paused&quot;,&quot;ended&quot;,&quot;buffered&quot;,&quot;error&quot;,&quot;networkState&quot;,&quot;readyState&quot;,&quot;seeking&quot;,&quot;seekable&quot;],methods:[&quot;load&quot;,&quot;play&quot;,&quot;pause&quot;,&quot;canPlayType&quot;],events:[&quot;loadstart&quot;,&quot;durationchange&quot;,&quot;loadedmetadata&quot;,&quot;loadeddata&quot;,&quot;progress&quot;,&quot;canplay&quot;,&quot;canplaythrough&quot;,&quot;suspend&quot;,&quot;abort&quot;,&quot;error&quot;,&quot;emptied&quot;,&quot;stalled&quot;,&quot;play&quot;,&quot;playing&quot;,&quot;pause&quot;,&quot;waiting&quot;,&quot;seeking&quot;,&quot;seeked&quot;,&quot;timeupdate&quot;,&quot;ended&quot;,&quot;ratechange&quot;,&quot;volumechange&quot;],mediaTypes:[&quot;audio/mp3&quot;,&quot;audio/ogg&quot;,&quot;audio/oga&quot;,&quot;audio/wav&quot;,&quot;audio/x-wav&quot;,&quot;audio/wave&quot;,&quot;audio/x-pn-wav&quot;,&quot;audio/mpeg&quot;,&quot;audio/mp4&quot;,&quot;video/mp4&quot;,&quot;video/webm&quot;,&quot;video/ogg&quot;,&quot;video/ogv&quot;]}};((o=i)&amp;&amp;o.__esModule?o:{default:o}).default.mejs=r,n.default=r},{3:3}],8:[function(e,t,n){&quot;use strict&quot;;Object.defineProperty(n,&quot;__esModule&quot;,{value:!0}),n.renderer=void 0;var o,i=&quot;function&quot;==typeof Symbol&amp;&amp;&quot;symbol&quot;==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;&quot;function&quot;==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?&quot;symbol&quot;:typeof e},r=function(){function o(e,t){for(var n=0;n&lt;t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,&quot;value&quot;in o&amp;&amp;(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&amp;&amp;o(e.prototype,t),n&amp;&amp;o(e,n),e}}(),a=e(7),s=(o=a)&amp;&amp;o.__esModule?o:{default:o};var l=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError(&quot;Cannot call a class as a function&quot;)}(this,e),this.renderers={},this.order=[]}return r(e,[{key:&quot;add&quot;,value:function(e){if(void 0===e.name)throw new TypeError(&quot;renderer must contain at least `name` property&quot;);this.renderers[e.name]=e,this.order.push(e.name)}},{key:&quot;select&quot;,value:function(e){var t=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:[],n=t.length;if(t=t.length?t:this.order,!n){var o=[/^(html5|native)/i,/^flash/i,/iframe$/i],i=function(e){for(var t=0,n=o.length;t&lt;n;t++)if(o[t].test(e))return t;return o.length};t.sort(function(e,t){return i(e)-i(t)})}for(var r=0,a=t.length;r&lt;a;r++){var s=t[r],l=this.renderers[s];if(null!=l)for(var d=0,u=e.length;d&lt;u;d++)if(&quot;function&quot;==typeof l.canPlayType&amp;&amp;&quot;string&quot;==typeof e[d].type&amp;&amp;l.canPlayType(e[d].type))return{rendererName:l.name,src:e[d].src}}return null}},{key:&quot;order&quot;,set:function(e){if(!Array.isArray(e))throw new TypeError(&quot;order must be an array of strings.&quot;);this._order=e},get:function(){return this._order}},{key:&quot;renderers&quot;,set:function(e){if(null!==e&amp;&amp;&quot;object&quot;!==(void 0===e?&quot;undefined&quot;:i(e)))throw new TypeError(&quot;renderers must be an array of objects.&quot;);this._renderers=e},get:function(){return this._renderers}}]),e}(),d=n.renderer=new l;s.default.Renderers=d},{7:7}],9:[function(e,t,n){&quot;use strict&quot;;var f=a(e(3)),p=a(e(2)),i=a(e(5)),o=e(16),r=a(o),m=function(e){{if(e&amp;&amp;e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&amp;&amp;(t[n]=e[n]);return t.default=e,t}}(e(25)),h=e(27),v=e(26),g=e(28);function a(e){return e&amp;&amp;e.__esModule?e:{default:e}}Object.assign(o.config,{usePluginFullScreen:!0,fullscreenText:null,useFakeFullscreen:!1}),Object.assign(r.default.prototype,{isFullScreen:!1,isNativeFullScreen:!1,isInIframe:!1,isPluginClickThroughCreated:!1,fullscreenMode:&quot;&quot;,containerSizeTimeout:null,buildfullscreen:function(n){if(n.isVideo){n.isInIframe=f.default.location!==f.default.parent.location,n.detectFullscreenMode();var o=this,e=(0,h.isString)(o.options.fullscreenText)?o.options.fullscreenText:i.default.t(&quot;mejs.fullscreen&quot;),t=p.default.createElement(&quot;div&quot;);if(t.className=o.options.classPrefix+&quot;button &quot;+o.options.classPrefix+&quot;fullscreen-button&quot;,t.innerHTML=&#039;<button type="button" title="''+e+''" aria-label="''+e+''"></button>'',o.addControlElement(t,"fullscreen"),t.addEventListener("click",function(){m.HAS_TRUE_NATIVE_FULLSCREEN&amp;&amp;m.IS_FULLSCREEN||n.isFullScreen?n.exitFullScreen():n.enterFullScreen()}),n.fullscreenBtn=t,o.options.keyActions.push({keys:[70],action:function(e,t,n,o){o.ctrlKey||void 0!==e.enterFullScreen&amp;&amp;(e.isFullScreen?e.exitFullScreen():e.enterFullScreen())}}),o.exitFullscreenCallback=function(e){var t=e.which||e.keyCode||0;o.options.enableKeyboard&amp;&amp;27===t&amp;&amp;(m.HAS_TRUE_NATIVE_FULLSCREEN&amp;&amp;m.IS_FULLSCREEN||o.isFullScreen)&amp;&amp;n.exitFullScreen()},o.globalBind("keydown",o.exitFullscreenCallback),o.normalHeight=0,o.normalWidth=0,m.HAS_TRUE_NATIVE_FULLSCREEN){n.globalBind(m.FULLSCREEN_EVENT_NAME,function(){n.isFullScreen&amp;&amp;(m.isFullScreen()?(n.isNativeFullScreen=!0,n.setControlsSize()):(n.isNativeFullScreen=!1,n.exitFullScreen()))})}}},cleanfullscreen:function(e){e.exitFullScreen(),e.globalUnbind("keydown",e.exitFullscreenCallback)},detectFullscreenMode:function(){var e=null!==this.media.rendererName&amp;&amp;/(native|html5)/i.test(this.media.rendererName),t="";return m.HAS_TRUE_NATIVE_FULLSCREEN&amp;&amp;e?t="native-native":m.HAS_TRUE_NATIVE_FULLSCREEN&amp;&amp;!e?t="plugin-native":this.usePluginFullScreen&amp;&amp;m.SUPPORT_POINTER_EVENTS&amp;&amp;(t="plugin-click"),this.fullscreenMode=t},enterFullScreen:function(){var o=this,e=null!==o.media.rendererName&amp;&amp;/(html5|native)/i.test(o.media.rendererName),t=getComputedStyle(o.getElement(o.container));if(o.isVideo)if(!1===o.options.useFakeFullscreen&amp;&amp;m.IS_IOS&amp;&amp;m.HAS_IOS_FULLSCREEN&amp;&amp;"function"==typeof o.media.originalNode.webkitEnterFullscreen&amp;&amp;o.media.originalNode.canPlayType((0,g.getTypeFromFile)(o.media.getSrc())))o.media.originalNode.webkitEnterFullscreen();else{if((0,v.addClass)(p.default.documentElement,o.options.classPrefix+"fullscreen"),(0,v.addClass)(o.getElement(o.container),o.options.classPrefix+"container-fullscreen"),o.normalHeight=parseFloat(t.height),o.normalWidth=parseFloat(t.width),"native-native"!==o.fullscreenMode&amp;&amp;"plugin-native"!==o.fullscreenMode||(m.requestFullScreen(o.getElement(o.container)),o.isInIframe&amp;&amp;setTimeout(function e(){if(o.isNativeFullScreen){var t=f.default.innerWidth||p.default.documentElement.clientWidth||p.default.body.clientWidth,n=screen.width;.002*n&lt;Math.abs(n-t)?o.exitFullScreen():setTimeout(e,500)}},1e3)),o.getElement(o.container).style.width=&quot;100%&quot;,o.getElement(o.container).style.height=&quot;100%&quot;,o.containerSizeTimeout=setTimeout(function(){o.getElement(o.container).style.width=&quot;100%&quot;,o.getElement(o.container).style.height=&quot;100%&quot;,o.setControlsSize()},500),e)o.node.style.width=&quot;100%&quot;,o.node.style.height=&quot;100%&quot;;else for(var n=o.getElement(o.container).querySelectorAll(&quot;embed, object, video&quot;),i=n.length,r=0;r&lt;i;r++)n[r].style.width=&quot;100%&quot;,n[r].style.height=&quot;100%&quot;;o.options.setDimensions&amp;&amp;&quot;function&quot;==typeof o.media.setSize&amp;&amp;o.media.setSize(screen.width,screen.height);for(var a=o.getElement(o.layers).children,s=a.length,l=0;l&lt;s;l++)a[l].style.width=&quot;100%&quot;,a[l].style.height=&quot;100%&quot;;o.fullscreenBtn&amp;&amp;((0,v.removeClass)(o.fullscreenBtn,o.options.classPrefix+&quot;fullscreen&quot;),(0,v.addClass)(o.fullscreenBtn,o.options.classPrefix+&quot;unfullscreen&quot;)),o.setControlsSize(),o.isFullScreen=!0;var d=Math.min(screen.width/o.width,screen.height/o.height),u=o.getElement(o.container).querySelector(&quot;.&quot;+o.options.classPrefix+&quot;captions-text&quot;);u&amp;&amp;(u.style.fontSize=100*d+&quot;%&quot;,u.style.lineHeight=&quot;normal&quot;,o.getElement(o.container).querySelector(&quot;.&quot;+o.options.classPrefix+&quot;captions-position&quot;).style.bottom=(screen.height-o.normalHeight)/2-o.getElement(o.controls).offsetHeight/2+d+15+&quot;px&quot;);var c=(0,h.createEvent)(&quot;enteredfullscreen&quot;,o.getElement(o.container));o.getElement(o.container).dispatchEvent(c)}},exitFullScreen:function(){var e=this,t=null!==e.media.rendererName&amp;&amp;/(native|html5)/i.test(e.media.rendererName);if(e.isVideo){if(clearTimeout(e.containerSizeTimeout),m.HAS_TRUE_NATIVE_FULLSCREEN&amp;&amp;(m.IS_FULLSCREEN||e.isFullScreen)&amp;&amp;m.cancelFullScreen(),(0,v.removeClass)(p.default.documentElement,e.options.classPrefix+&quot;fullscreen&quot;),(0,v.removeClass)(e.getElement(e.container),e.options.classPrefix+&quot;container-fullscreen&quot;),e.options.setDimensions){if(e.getElement(e.container).style.width=e.normalWidth+&quot;px&quot;,e.getElement(e.container).style.height=e.normalHeight+&quot;px&quot;,t)e.node.style.width=e.normalWidth+&quot;px&quot;,e.node.style.height=e.normalHeight+&quot;px&quot;;else for(var n=e.getElement(e.container).querySelectorAll(&quot;embed, object, video&quot;),o=n.length,i=0;i&lt;o;i++)n[i].style.width=e.normalWidth+&quot;px&quot;,n[i].style.height=e.normalHeight+&quot;px&quot;;&quot;function&quot;==typeof e.media.setSize&amp;&amp;e.media.setSize(e.normalWidth,e.normalHeight);for(var r=e.getElement(e.layers).children,a=r.length,s=0;s&lt;a;s++)r[s].style.width=e.normalWidth+&quot;px&quot;,r[s].style.height=e.normalHeight+&quot;px&quot;}e.fullscreenBtn&amp;&amp;((0,v.removeClass)(e.fullscreenBtn,e.options.classPrefix+&quot;unfullscreen&quot;),(0,v.addClass)(e.fullscreenBtn,e.options.classPrefix+&quot;fullscreen&quot;)),e.setControlsSize(),e.isFullScreen=!1;var l=e.getElement(e.container).querySelector(&quot;.&quot;+e.options.classPrefix+&quot;captions-text&quot;);l&amp;&amp;(l.style.fontSize=&quot;&quot;,l.style.lineHeight=&quot;&quot;,e.getElement(e.container).querySelector(&quot;.&quot;+e.options.classPrefix+&quot;captions-position&quot;).style.bottom=&quot;&quot;);var d=(0,h.createEvent)(&quot;exitedfullscreen&quot;,e.getElement(e.container));e.getElement(e.container).dispatchEvent(d)}}})},{16:16,2:2,25:25,26:26,27:27,28:28,3:3,5:5}],10:[function(e,t,n){&quot;use strict&quot;;var c=r(e(2)),o=e(16),i=r(o),f=r(e(5)),p=e(27),m=e(26);function r(e){return e&amp;&amp;e.__esModule?e:{default:e}}Object.assign(o.config,{playText:null,pauseText:null}),Object.assign(i.default.prototype,{buildplaypause:function(e,t,n,o){var i=this,r=i.options,a=(0,p.isString)(r.playText)?r.playText:f.default.t(&quot;mejs.play&quot;),s=(0,p.isString)(r.pauseText)?r.pauseText:f.default.t(&quot;mejs.pause&quot;),l=c.default.createElement(&quot;div&quot;);l.className=i.options.classPrefix+&quot;button &quot;+i.options.classPrefix+&quot;playpause-button &quot;+i.options.classPrefix+&quot;play&quot;,l.innerHTML=&#039;<button type="button" title="''+a+''" aria-label="''+s+''"></button>'',l.addEventListener("click",function(){i.paused?i.play():i.pause()});var d=l.querySelector("button");function u(e){"play"===e?((0,m.removeClass)(l,i.options.classPrefix+"play"),(0,m.removeClass)(l,i.options.classPrefix+"replay"),(0,m.addClass)(l,i.options.classPrefix+"pause"),d.setAttribute("title",s),d.setAttribute("aria-label",s)):((0,m.removeClass)(l,i.options.classPrefix+"pause"),(0,m.removeClass)(l,i.options.classPrefix+"replay"),(0,m.addClass)(l,i.options.classPrefix+"play"),d.setAttribute("title",a),d.setAttribute("aria-label",a))}i.addControlElement(l,"playpause"),u("pse"),o.addEventListener("loadedmetadata",function(){-1===o.rendererName.indexOf("flash")&amp;&amp;u("pse")}),o.addEventListener("play",function(){u("play")}),o.addEventListener("playing",function(){u("play")}),o.addEventListener("pause",function(){u("pse")}),o.addEventListener("ended",function(){e.options.loop||((0,m.removeClass)(l,i.options.classPrefix+"pause"),(0,m.removeClass)(l,i.options.classPrefix+"play"),(0,m.addClass)(l,i.options.classPrefix+"replay"),d.setAttribute("title",a),d.setAttribute("aria-label",a))})}})},{16:16,2:2,26:26,27:27,5:5}],11:[function(e,t,n){"use strict";var p=r(e(2)),o=e(16),i=r(o),m=r(e(5)),y=e(25),E=e(30),b=e(26);function r(e){return e&amp;&amp;e.__esModule?e:{default:e}}Object.assign(o.config,{enableProgressTooltip:!0,useSmoothHover:!0,forceLive:!1}),Object.assign(i.default.prototype,{buildprogress:function(h,s,e,d){var u=0,v=!1,c=!1,g=this,t=h.options.autoRewind,n=h.options.enableProgressTooltip?''<span class="''+g.options.classPrefix+''time-float"><span class="''+g.options.classPrefix+''time-float-current">00:00</span><span class="''+g.options.classPrefix+''time-float-corner"></span></span>'':"",o=p.default.createElement("div");o.className=g.options.classPrefix+"time-rail",o.innerHTML=''<span><span class="''+g.options.classPrefix+''time-buffering"></span><span class="''+g.options.classPrefix+''time-loaded"></span><span class="''+g.options.classPrefix+''time-current"></span><span class="''+g.options.classPrefix+''time-hovered no-hover"></span><span class="''+g.options.classPrefix+''time-handle"><span class="''+g.options.classPrefix+''time-handle-content"></span></span>''+n+"</span>",g.addControlElement(o,"progress"),g.options.keyActions.push({keys:[37,227],action:function(e){if(!isNaN(e.duration)&amp;&amp;0&lt;e.duration){e.isVideo&amp;&amp;(e.showControls(),e.startControlsTimer());var t=e.getElement(e.container).querySelector(&quot;.&quot;+g.options.classPrefix+&quot;time-total&quot;);t&amp;&amp;t.focus();var n=Math.max(e.currentTime-e.options.defaultSeekBackwardInterval(e),0);e.paused||e.pause(),setTimeout(function(){e.setCurrentTime(n)},0),setTimeout(function(){e.play()},0)}}},{keys:[39,228],action:function(e){if(!isNaN(e.duration)&amp;&amp;0&lt;e.duration){e.isVideo&amp;&amp;(e.showControls(),e.startControlsTimer());var t=e.getElement(e.container).querySelector(&quot;.&quot;+g.options.classPrefix+&quot;time-total&quot;);t&amp;&amp;t.focus();var n=Math.min(e.currentTime+e.options.defaultSeekForwardInterval(e),e.duration);e.paused||e.pause(),setTimeout(function(){e.setCurrentTime(n)},0),setTimeout(function(){e.play()},0)}}}),g.rail=s.querySelector(&quot;.&quot;+g.options.classPrefix+&quot;time-rail&quot;),g.total=s.querySelector(&quot;.&quot;+g.options.classPrefix+&quot;time-total&quot;),g.loaded=s.querySelector(&quot;.&quot;+g.options.classPrefix+&quot;time-loaded&quot;),g.current=s.querySelector(&quot;.&quot;+g.options.classPrefix+&quot;time-current&quot;),g.handle=s.querySelector(&quot;.&quot;+g.options.classPrefix+&quot;time-handle&quot;),g.timefloat=s.querySelector(&quot;.&quot;+g.options.classPrefix+&quot;time-float&quot;),g.timefloatcurrent=s.querySelector(&quot;.&quot;+g.options.classPrefix+&quot;time-float-current&quot;),g.slider=s.querySelector(&quot;.&quot;+g.options.classPrefix+&quot;time-slider&quot;),g.hovered=s.querySelector(&quot;.&quot;+g.options.classPrefix+&quot;time-hovered&quot;),g.buffer=s.querySelector(&quot;.&quot;+g.options.classPrefix+&quot;time-buffering&quot;),g.newTime=0,g.forcedHandlePause=!1,g.setTransformStyle=function(e,t){e.style.transform=t,e.style.webkitTransform=t,e.style.MozTransform=t,e.style.msTransform=t,e.style.OTransform=t},g.buffer.style.display=&quot;none&quot;;var i=function(e){var t=getComputedStyle(g.total),n=(0,b.offset)(g.total),o=g.total.offsetWidth,i=void 0!==t.webkitTransform?&quot;webkitTransform&quot;:void 0!==t.mozTransform?&quot;mozTransform &quot;:void 0!==t.oTransform?&quot;oTransform&quot;:void 0!==t.msTransform?&quot;msTransform&quot;:&quot;transform&quot;,r=&quot;WebKitCSSMatrix&quot;in window?&quot;WebKitCSSMatrix&quot;:&quot;MSCSSMatrix&quot;in window?&quot;MSCSSMatrix&quot;:&quot;CSSMatrix&quot;in window?&quot;CSSMatrix&quot;:void 0,a=0,s=0,l=0,d=void 0;if(d=e.originalEvent&amp;&amp;e.originalEvent.changedTouches?e.originalEvent.changedTouches[0].pageX:e.changedTouches?e.changedTouches[0].pageX:e.pageX,g.getDuration()){if(do+n.left&amp;&amp;(d=o+n.left),a=(l=d-n.left)/o,g.newTime=a*g.getDuration(),v&amp;&amp;null!==g.getCurrentTime()&amp;&amp;g.newTime.toFixed(4)!==g.getCurrentTime().toFixed(4)&amp;&amp;(g.setCurrentRailHandle(g.newTime),g.updateCurrent(g.newTime)),!y.IS_IOS&amp;&amp;!y.IS_ANDROID){if(l&lt;0&amp;&amp;(l=0),g.options.useSmoothHover&amp;&amp;null!==r&amp;&amp;void 0!==window[r]){var u=new window[r](getComputedStyle(g.handle)[i]).m41,c=l/parseFloat(getComputedStyle(g.total).width)-u/parseFloat(getComputedStyle(g.total).width);g.hovered.style.left=u+&quot;px&quot;,g.setTransformStyle(g.hovered,&quot;scaleX(&quot;+c+&quot;)&quot;),g.hovered.setAttribute(&quot;pos&quot;,l),0&lt;=c?(0,b.removeClass)(g.hovered,&quot;negative&quot;):(0,b.addClass)(g.hovered,&quot;negative&quot;)}if(g.timefloat){var f=g.timefloat.offsetWidth/2,p=mejs.Utils.offset(g.getElement(g.container)),m=getComputedStyle(g.timefloat);s=d-p.left=g.getElement(g.container).offsetWidth-f?g.total.offsetWidth-f:l,(0,b.hasClass)(g.getElement(g.container),g.options.classPrefix+"long-video")&amp;&amp;(s+=parseFloat(m.marginLeft)/2+g.timefloat.offsetWidth/2),g.timefloat.style.left=s+"px",g.timefloatcurrent.innerHTML=(0,E.secondsToTimeCode)(g.newTime,h.options.alwaysShowHours,h.options.showTimecodeFrameCount,h.options.framesPerSecond,h.options.secondsDecimalLength,h.options.timeFormat),g.timefloat.style.display="block"}}}else y.IS_IOS||y.IS_ANDROID||!g.timefloat||(s=g.timefloat.offsetWidth+o&gt;=g.getElement(g.container).offsetWidth?g.timefloat.offsetWidth/2:0,g.timefloat.style.left=s+"px",g.timefloat.style.left=s+"px",g.timefloat.style.display="block")},f=function(){1e3&lt;=new Date-u&amp;&amp;g.play()};g.slider.addEventListener(&quot;focus&quot;,function(){h.options.autoRewind=!1}),g.slider.addEventListener(&quot;blur&quot;,function(){h.options.autoRewind=t}),g.slider.addEventListener(&quot;keydown&quot;,function(e){if(1e3&lt;=new Date-u&amp;&amp;(c=g.paused),g.options.enableKeyboard&amp;&amp;g.options.keyActions.length){var t=e.which||e.keyCode||0,n=g.getDuration(),o=h.options.defaultSeekForwardInterval(d),i=h.options.defaultSeekBackwardInterval(d),r=g.getCurrentTime(),a=g.getElement(g.container).querySelector(&quot;.&quot;+g.options.classPrefix+&quot;volume-slider&quot;);if(38===t||40===t){a&amp;&amp;(a.style.display=&quot;block&quot;),g.isVideo&amp;&amp;(g.showControls(),g.startControlsTimer());var s=38===t?Math.min(g.volume+.1,1):Math.max(g.volume-.1,0),l=s&lt;=0;return g.setVolume(s),void g.setMuted(l)}switch(a&amp;&amp;(a.style.display=&quot;none&quot;),t){case 37:g.getDuration()!==1/0&amp;&amp;(r-=i);break;case 39:g.getDuration()!==1/0&amp;&amp;(r+=o);break;case 36:r=0;break;case 35:r=n;break;case 13:case 32:return void(y.IS_FIREFOX&amp;&amp;(g.paused?g.play():g.pause()));default:return}r=r&lt;0||isNaN(r)?0:n&lt;=r?n:Math.floor(r),u=new Date,c||h.pause(),setTimeout(function(){g.setCurrentTime(r)},0),r&lt;g.getDuration()&amp;&amp;!c&amp;&amp;setTimeout(f,1100),h.showControls(),e.preventDefault(),e.stopPropagation()}});var r=[&quot;mousedown&quot;,&quot;touchstart&quot;];g.slider.addEventListener(&quot;dragstart&quot;,function(){return!1});for(var a=0,l=r.length;a&lt;l;a++)g.slider.addEventListener(r[a],function(e){if(g.forcedHandlePause=!1,g.getDuration()!==1/0&amp;&amp;(1===e.which||0===e.which)){g.paused||(g.pause(),g.forcedHandlePause=!0),v=!0,i(e);for(var t=[&quot;mouseup&quot;,&quot;touchend&quot;],n=0,o=t.length;n&lt;o;n++)g.getElement(g.container).addEventListener(t[n],function(e){var t=e.target;(t===g.slider||t.closest(&quot;.&quot;+g.options.classPrefix+&quot;time-slider&quot;))&amp;&amp;i(e)});g.globalBind(&quot;mouseup.dur touchend.dur&quot;,function(){v&amp;&amp;null!==g.getCurrentTime()&amp;&amp;g.newTime.toFixed(4)!==g.getCurrentTime().toFixed(4)&amp;&amp;(g.setCurrentTime(g.newTime),g.setCurrentRailHandle(g.newTime),g.updateCurrent(g.newTime)),g.forcedHandlePause&amp;&amp;(g.slider.focus(),g.play()),g.forcedHandlePause=!1,v=!1,g.timefloat&amp;&amp;(g.timefloat.style.display=&quot;none&quot;)})}},!(!y.SUPPORT_PASSIVE_EVENT||&quot;touchstart&quot;!==r[a])&amp;&amp;{passive:!0});g.slider.addEventListener(&quot;mouseenter&quot;,function(e){e.target===g.slider&amp;&amp;g.getDuration()!==1/0&amp;&amp;(g.getElement(g.container).addEventListener(&quot;mousemove&quot;,function(e){var t=e.target;(t===g.slider||t.closest(&quot;.&quot;+g.options.classPrefix+&quot;time-slider&quot;))&amp;&amp;i(e)}),!g.timefloat||y.IS_IOS||y.IS_ANDROID||(g.timefloat.style.display=&quot;block&quot;),g.hovered&amp;&amp;!y.IS_IOS&amp;&amp;!y.IS_ANDROID&amp;&amp;g.options.useSmoothHover&amp;&amp;(0,b.removeClass)(g.hovered,&quot;no-hover&quot;))}),g.slider.addEventListener(&quot;mouseleave&quot;,function(){g.getDuration()!==1/0&amp;&amp;(v||(g.timefloat&amp;&amp;(g.timefloat.style.display=&quot;none&quot;),g.hovered&amp;&amp;g.options.useSmoothHover&amp;&amp;(0,b.addClass)(g.hovered,&quot;no-hover&quot;)))}),g.broadcastCallback=function(e){var t,n,o,i,r=s.querySelector(&quot;.&quot;+g.options.classPrefix+&quot;broadcast&quot;);if(g.options.forceLive||g.getDuration()===1/0){if(!r&amp;&amp;g.options.forceLive){var a=p.default.createElement(&quot;span&quot;);a.className=g.options.classPrefix+&quot;broadcast&quot;,a.innerText=m.default.t(&quot;mejs.live-broadcast&quot;),g.slider.style.display=&quot;none&quot;,g.rail.appendChild(a)}}else r&amp;&amp;(g.slider.style.display=&quot;&quot;,r.remove()),h.setProgressRail(e),g.forcedHandlePause||h.setCurrentRail(e),t=g.getCurrentTime(),n=m.default.t(&quot;mejs.time-slider&quot;),o=(0,E.secondsToTimeCode)(t,h.options.alwaysShowHours,h.options.showTimecodeFrameCount,h.options.framesPerSecond,h.options.secondsDecimalLength,h.options.timeFormat),i=g.getDuration(),g.slider.setAttribute(&quot;role&quot;,&quot;slider&quot;),g.slider.tabIndex=0,d.paused?(g.slider.setAttribute(&quot;aria-label&quot;,n),g.slider.setAttribute(&quot;aria-valuemin&quot;,0),g.slider.setAttribute(&quot;aria-valuemax&quot;,isNaN(i)?0:i),g.slider.setAttribute(&quot;aria-valuenow&quot;,t),g.slider.setAttribute(&quot;aria-valuetext&quot;,o)):(g.slider.removeAttribute(&quot;aria-label&quot;),g.slider.removeAttribute(&quot;aria-valuemin&quot;),g.slider.removeAttribute(&quot;aria-valuemax&quot;),g.slider.removeAttribute(&quot;aria-valuenow&quot;),g.slider.removeAttribute(&quot;aria-valuetext&quot;))},d.addEventListener(&quot;progress&quot;,g.broadcastCallback),d.addEventListener(&quot;timeupdate&quot;,g.broadcastCallback),d.addEventListener(&quot;play&quot;,function(){g.buffer.style.display=&quot;none&quot;}),d.addEventListener(&quot;playing&quot;,function(){g.buffer.style.display=&quot;none&quot;}),d.addEventListener(&quot;seeking&quot;,function(){g.buffer.style.display=&quot;&quot;}),d.addEventListener(&quot;seeked&quot;,function(){g.buffer.style.display=&quot;none&quot;}),d.addEventListener(&quot;pause&quot;,function(){g.buffer.style.display=&quot;none&quot;}),d.addEventListener(&quot;waiting&quot;,function(){g.buffer.style.display=&quot;&quot;}),d.addEventListener(&quot;loadeddata&quot;,function(){g.buffer.style.display=&quot;&quot;}),d.addEventListener(&quot;canplay&quot;,function(){g.buffer.style.display=&quot;none&quot;}),d.addEventListener(&quot;error&quot;,function(){g.buffer.style.display=&quot;none&quot;}),g.getElement(g.container).addEventListener(&quot;controlsresize&quot;,function(e){g.getDuration()!==1/0&amp;&amp;(h.setProgressRail(e),g.forcedHandlePause||h.setCurrentRail(e))})},cleanprogress:function(e,t,n,o){o.removeEventListener(&quot;progress&quot;,e.broadcastCallback),o.removeEventListener(&quot;timeupdate&quot;,e.broadcastCallback),e.rail&amp;&amp;e.rail.remove()},setProgressRail:function(e){var t=this,n=void 0!==e?e.detail.target||e.target:t.media,o=null;n&amp;&amp;n.buffered&amp;&amp;0&lt;n.buffered.length&amp;&amp;n.buffered.end&amp;&amp;t.getDuration()?o=n.buffered.end(n.buffered.length-1)/t.getDuration():n&amp;&amp;void 0!==n.bytesTotal&amp;&amp;0&lt;n.bytesTotal&amp;&amp;void 0!==n.bufferedBytes?o=n.bufferedBytes/n.bytesTotal:e&amp;&amp;e.lengthComputable&amp;&amp;0!==e.total&amp;&amp;(o=e.loaded/e.total),null!==o&amp;&amp;(o=Math.min(1,Math.max(0,o)),t.loaded&amp;&amp;t.setTransformStyle(t.loaded,&quot;scaleX(&quot;+o+&quot;)&quot;))},setCurrentRailHandle:function(e){this.setCurrentRailMain(this,e)},setCurrentRail:function(){this.setCurrentRailMain(this)},setCurrentRailMain:function(e,t){if(void 0!==e.getCurrentTime()&amp;&amp;e.getDuration()){var n=void 0===t?e.getCurrentTime():t;if(e.total&amp;&amp;e.handle){var o=parseFloat(getComputedStyle(e.total).width),i=Math.round(o*n/e.getDuration()),r=i-Math.round(e.handle.offsetWidth/2);if(r=r&lt;0?0:r,e.setTransformStyle(e.current,&quot;scaleX(&quot;+i/o+&quot;)&quot;),e.setTransformStyle(e.handle,&quot;translateX(&quot;+r+&quot;px)&quot;),e.options.useSmoothHover&amp;&amp;!(0,b.hasClass)(e.hovered,&quot;no-hover&quot;)){var a=parseInt(e.hovered.getAttribute(&quot;pos&quot;),10),s=(a=isNaN(a)?0:a)/o-r/o;e.hovered.style.left=r+&quot;px&quot;,e.setTransformStyle(e.hovered,&quot;scaleX(&quot;+s+&quot;)&quot;),0&lt;=s?(0,b.removeClass)(e.hovered,&quot;negative&quot;):(0,b.addClass)(e.hovered,&quot;negative&quot;)}}}}})},{16:16,2:2,25:25,26:26,30:30,5:5}],12:[function(e,t,n){&quot;use strict&quot;;var a=r(e(2)),o=e(16),i=r(o),s=e(30),l=e(26);function r(e){return e&amp;&amp;e.__esModule?e:{default:e}}Object.assign(o.config,{duration:0,timeAndDurationSeparator:&quot;<span> | </span>"}),Object.assign(i.default.prototype,{buildcurrent:function(e,t,n,o){var i=this,r=a.default.createElement("div");r.className=i.options.classPrefix+"time",r.setAttribute("role","timer"),r.setAttribute("aria-live","off"),r.innerHTML=''<span class="''+i.options.classPrefix+''currenttime">''+(0,s.secondsToTimeCode)(0,e.options.alwaysShowHours,e.options.showTimecodeFrameCount,e.options.framesPerSecond,e.options.secondsDecimalLength,e.options.timeFormat)+"</span>",i.addControlElement(r,"current"),e.updateCurrent(),i.updateTimeCallback=function(){i.controlsAreVisible&amp;&amp;e.updateCurrent()},o.addEventListener("timeupdate",i.updateTimeCallback)},cleancurrent:function(e,t,n,o){o.removeEventListener("timeupdate",e.updateTimeCallback)},buildduration:function(e,t,n,o){var i=this;if(t.lastChild.querySelector("."+i.options.classPrefix+"currenttime"))t.querySelector("."+i.options.classPrefix+"time").innerHTML+=i.options.timeAndDurationSeparator+''<span class="''+i.options.classPrefix+''duration">''+(0,s.secondsToTimeCode)(i.options.duration,i.options.alwaysShowHours,i.options.showTimecodeFrameCount,i.options.framesPerSecond,i.options.secondsDecimalLength,i.options.timeFormat)+"</span>";else{t.querySelector("."+i.options.classPrefix+"currenttime")&amp;&amp;(0,l.addClass)(t.querySelector("."+i.options.classPrefix+"currenttime").parentNode,i.options.classPrefix+"currenttime-container");var r=a.default.createElement("div");r.className=i.options.classPrefix+"time "+i.options.classPrefix+"duration-container",r.innerHTML=''<span class="''+i.options.classPrefix+''duration">''+(0,s.secondsToTimeCode)(i.options.duration,i.options.alwaysShowHours,i.options.showTimecodeFrameCount,i.options.framesPerSecond,i.options.secondsDecimalLength,i.options.timeFormat)+"</span>",i.addControlElement(r,"duration")}i.updateDurationCallback=function(){i.controlsAreVisible&amp;&amp;e.updateDuration()},o.addEventListener("timeupdate",i.updateDurationCallback)},cleanduration:function(e,t,n,o){o.removeEventListener("timeupdate",e.updateDurationCallback)},updateCurrent:function(){var e=this,t=e.getCurrentTime();isNaN(t)&amp;&amp;(t=0);var n=(0,s.secondsToTimeCode)(t,e.options.alwaysShowHours,e.options.showTimecodeFrameCount,e.options.framesPerSecond,e.options.secondsDecimalLength,e.options.timeFormat);5&lt;n.length?(0,l.addClass)(e.getElement(e.container),e.options.classPrefix+&quot;long-video&quot;):(0,l.removeClass)(e.getElement(e.container),e.options.classPrefix+&quot;long-video&quot;),e.getElement(e.controls).querySelector(&quot;.&quot;+e.options.classPrefix+&quot;currenttime&quot;)&amp;&amp;(e.getElement(e.controls).querySelector(&quot;.&quot;+e.options.classPrefix+&quot;currenttime&quot;).innerText=n)},updateDuration:function(){var e=this,t=e.getDuration();void 0!==e.media&amp;&amp;(isNaN(t)||t===1/0||t&lt;0)&amp;&amp;(e.media.duration=e.options.duration=t=0),0&lt;e.options.duration&amp;&amp;(t=e.options.duration);var n=(0,s.secondsToTimeCode)(t,e.options.alwaysShowHours,e.options.showTimecodeFrameCount,e.options.framesPerSecond,e.options.secondsDecimalLength,e.options.timeFormat);5&lt;n.length?(0,l.addClass)(e.getElement(e.container),e.options.classPrefix+&quot;long-video&quot;):(0,l.removeClass)(e.getElement(e.container),e.options.classPrefix+&quot;long-video&quot;),e.getElement(e.controls).querySelector(&quot;.&quot;+e.options.classPrefix+&quot;duration&quot;)&amp;&amp;0&lt;t&amp;&amp;(e.getElement(e.controls).querySelector(&quot;.&quot;+e.options.classPrefix+&quot;duration&quot;).innerHTML=n)}})},{16:16,2:2,26:26,30:30}],13:[function(e,t,n){&quot;use strict&quot;;var L=r(e(2)),d=r(e(7)),F=r(e(5)),o=e(16),i=r(o),m=e(30),j=e(27),I=e(26);function r(e){return e&amp;&amp;e.__esModule?e:{default:e}}Object.assign(o.config,{startLanguage:&quot;&quot;,tracksText:null,chaptersText:null,tracksAriaLive:!1,hideCaptionsButtonWhenEmpty:!0,toggleCaptionsButtonWhenOnlyOne:!1,slidesSelector:&quot;&quot;}),Object.assign(i.default.prototype,{hasChapters:!1,buildtracks:function(o,e,t,n){if(this.findTracks(),o.tracks.length||o.trackFiles&amp;&amp;0!==!o.trackFiles.length){var i=this,r=i.options.tracksAriaLive?&#039; role=&quot;log&quot; aria-live=&quot;assertive&quot; aria-atomic=&quot;false&quot;&#039;:&quot;&quot;,a=(0,j.isString)(i.options.tracksText)?i.options.tracksText:F.default.t(&quot;mejs.captions-subtitles&quot;),s=(0,j.isString)(i.options.chaptersText)?i.options.chaptersText:F.default.t(&quot;mejs.captions-chapters&quot;),l=null===o.trackFiles?o.tracks.length:o.trackFiles.length;if(i.domNode.textTracks)for(var d=i.domNode.textTracks.length-1;0&lt;=d;d--)i.domNode.textTracks[d].mode=&quot;hidden&quot;;i.cleartracks(o),o.captions=L.default.createElement(&quot;div&quot;),o.captions.className=i.options.classPrefix+&quot;captions-layer &quot;+i.options.classPrefix+&quot;layer&quot;,o.captions.innerHTML=&#039;<div><span class="''+i.options.classPrefix+''captions-text"></span></div>'',o.captions.style.display="none",t.insertBefore(o.captions,t.firstChild),o.captionsText=o.captions.querySelector("."+i.options.classPrefix+"captions-text"),o.captionsButton=L.default.createElement("div"),o.captionsButton.className=i.options.classPrefix+"button "+i.options.classPrefix+"captions-button",o.captionsButton.innerHTML=''<button type="button" title="''+a+''" aria-label="''+a+''"></button><div><ul class="''+i.options.classPrefix+''captions-selector-list"><li class="''+i.options.classPrefix+''captions-selector-list-item"><label for="''+o.id+''_captions_none">''+F.default.t("mejs.none")+"</label></li></ul></div>",i.addControlElement(o.captionsButton,"tracks"),o.captionsButton.querySelector("."+i.options.classPrefix+"captions-selector-input").disabled=!1,o.chaptersButton=L.default.createElement("div"),o.chaptersButton.className=i.options.classPrefix+"button "+i.options.classPrefix+"chapters-button",o.chaptersButton.innerHTML=''<button type="button" title="''+s+''" aria-label="''+s+''"></button><div><ul class="''+i.options.classPrefix+''chapters-selector-list"></ul></div>'';for(var u=0,c=0;c&lt;l;c++){var f=o.tracks[c].kind;o.tracks[c].src.trim()&amp;&amp;(&quot;subtitles&quot;===f||&quot;captions&quot;===f?u++:&quot;chapters&quot;!==f||e.querySelector(&quot;.&quot;+i.options.classPrefix+&quot;chapter-selector&quot;)||o.captionsButton.parentNode.insertBefore(o.chaptersButton,o.captionsButton))}o.trackToLoad=-1,o.selectedTrack=null,o.isLoadingTrack=!1;for(var p=0;p&lt;l;p++){var m=o.tracks[p].kind;!o.tracks[p].src.trim()||&quot;subtitles&quot;!==m&amp;&amp;&quot;captions&quot;!==m||o.addTrackButton(o.tracks[p].trackId,o.tracks[p].srclang,o.tracks[p].label)}o.loadNextTrack();var h=[&quot;mouseenter&quot;,&quot;focusin&quot;],v=[&quot;mouseleave&quot;,&quot;focusout&quot;];if(i.options.toggleCaptionsButtonWhenOnlyOne&amp;&amp;1===u)o.captionsButton.addEventListener(&quot;click&quot;,function(e){var t=&quot;none&quot;;null===o.selectedTrack&amp;&amp;(t=o.tracks[0].trackId);var n=e.keyCode||e.which;o.setTrack(t,void 0!==n)});else{for(var g=o.captionsButton.querySelectorAll(&quot;.&quot;+i.options.classPrefix+&quot;captions-selector-label&quot;),y=o.captionsButton.querySelectorAll(&quot;input[type=radio]&quot;),E=0,b=h.length;E&lt;b;E++)o.captionsButton.addEventListener(h[E],function(){(0,I.removeClass)(this.querySelector(&quot;.&quot;+i.options.classPrefix+&quot;captions-selector&quot;),i.options.classPrefix+&quot;offscreen&quot;)});for(var S=0,x=v.length;S&lt;x;S++)o.captionsButton.addEventListener(v[S],function(){(0,I.addClass)(this.querySelector(&quot;.&quot;+i.options.classPrefix+&quot;captions-selector&quot;),i.options.classPrefix+&quot;offscreen&quot;)});for(var w=0,P=y.length;w&lt;P;w++)y[w].addEventListener(&quot;click&quot;,function(e){var t=e.keyCode||e.which;o.setTrack(this.value,void 0!==t)});for(var T=0,C=g.length;T&lt;C;T++)g[T].addEventListener(&quot;click&quot;,function(e){var t=(0,I.siblings)(this,function(e){return&quot;INPUT&quot;===e.tagName})[0],n=(0,j.createEvent)(&quot;click&quot;,t);t.dispatchEvent(n),e.preventDefault()});o.captionsButton.addEventListener(&quot;keydown&quot;,function(e){e.stopPropagation()})}for(var k=0,_=h.length;k&lt;_;k++)o.chaptersButton.addEventListener(h[k],function(){this.querySelector(&quot;.&quot;+i.options.classPrefix+&quot;chapters-selector-list&quot;).children.length&amp;&amp;(0,I.removeClass)(this.querySelector(&quot;.&quot;+i.options.classPrefix+&quot;chapters-selector&quot;),i.options.classPrefix+&quot;offscreen&quot;)});for(var N=0,A=v.length;N&lt;A;N++)o.chaptersButton.addEventListener(v[N],function(){(0,I.addClass)(this.querySelector(&quot;.&quot;+i.options.classPrefix+&quot;chapters-selector&quot;),i.options.classPrefix+&quot;offscreen&quot;)});o.chaptersButton.addEventListener(&quot;keydown&quot;,function(e){e.stopPropagation()}),o.options.alwaysShowControls?(0,I.addClass)(o.getElement(o.container).querySelector(&quot;.&quot;+i.options.classPrefix+&quot;captions-position&quot;),i.options.classPrefix+&quot;captions-position-hover&quot;):(o.getElement(o.container).addEventListener(&quot;controlsshown&quot;,function(){(0,I.addClass)(o.getElement(o.container).querySelector(&quot;.&quot;+i.options.classPrefix+&quot;captions-position&quot;),i.options.classPrefix+&quot;captions-position-hover&quot;)}),o.getElement(o.container).addEventListener(&quot;controlshidden&quot;,function(){n.paused||(0,I.removeClass)(o.getElement(o.container).querySelector(&quot;.&quot;+i.options.classPrefix+&quot;captions-position&quot;),i.options.classPrefix+&quot;captions-position-hover&quot;)})),n.addEventListener(&quot;timeupdate&quot;,function(){o.displayCaptions()}),&quot;&quot;!==o.options.slidesSelector&amp;&amp;(o.slidesContainer=L.default.querySelectorAll(o.options.slidesSelector),n.addEventListener(&quot;timeupdate&quot;,function(){o.displaySlides()}))}},cleartracks:function(e){e&amp;&amp;(e.captions&amp;&amp;e.captions.remove(),e.chapters&amp;&amp;e.chapters.remove(),e.captionsText&amp;&amp;e.captionsText.remove(),e.captionsButton&amp;&amp;e.captionsButton.remove(),e.chaptersButton&amp;&amp;e.chaptersButton.remove())},rebuildtracks:function(){var e=this;e.findTracks(),e.buildtracks(e,e.getElement(e.controls),e.getElement(e.layers),e.media)},findTracks:function(){var e=this,t=null===e.trackFiles?e.node.querySelectorAll(&quot;track&quot;):e.trackFiles,n=t.length;e.tracks=[];for(var o=0;o&lt;n;o++){var i=t[o],r=i.getAttribute(&quot;srclang&quot;).toLowerCase()||&quot;&quot;,a=e.id+&quot;_track_&quot;+o+&quot;_&quot;+i.getAttribute(&quot;kind&quot;)+&quot;_&quot;+r;e.tracks.push({trackId:a,srclang:r,src:i.getAttribute(&quot;src&quot;),kind:i.getAttribute(&quot;kind&quot;),label:i.getAttribute(&quot;label&quot;)||&quot;&quot;,entries:[],isLoaded:!1})}},setTrack:function(e,t){for(var n=this,o=n.captionsButton.querySelectorAll(&#039;input[type=&quot;radio&quot;]&#039;),i=n.captionsButton.querySelectorAll(&quot;.&quot;+n.options.classPrefix+&quot;captions-selected&quot;),r=n.captionsButton.querySelector(&#039;input[value=&quot;&#039;+e+&#039;&quot;]&#039;),a=0,s=o.length;a&lt;s;a++)o[a].checked=!1;for(var l=0,d=i.length;l&lt;d;l++)(0,I.removeClass)(i[l],n.options.classPrefix+&quot;captions-selected&quot;);r.checked=!0;for(var u=(0,I.siblings)(r,function(e){return(0,I.hasClass)(e,n.options.classPrefix+&quot;captions-selector-label&quot;)}),c=0,f=u.length;c&lt;f;c++)(0,I.addClass)(u[c],n.options.classPrefix+&quot;captions-selected&quot;);if(&quot;none&quot;===e)n.selectedTrack=null,(0,I.removeClass)(n.captionsButton,n.options.classPrefix+&quot;captions-enabled&quot;);else for(var p=0,m=n.tracks.length;p&lt;m;p++){var h=n.tracks[p];if(h.trackId===e){null===n.selectedTrack&amp;&amp;(0,I.addClass)(n.captionsButton,n.options.classPrefix+&quot;captions-enabled&quot;),n.selectedTrack=h,n.captions.setAttribute(&quot;lang&quot;,n.selectedTrack.srclang),n.displayCaptions();break}}var v=(0,j.createEvent)(&quot;captionschange&quot;,n.media);v.detail.caption=n.selectedTrack,n.media.dispatchEvent(v),t||setTimeout(function(){n.getElement(n.container).focus()},500)},loadNextTrack:function(){var e=this;e.trackToLoad++,e.trackToLoad&lt;e.tracks.length?(e.isLoadingTrack=!0,e.loadTrack(e.trackToLoad)):(e.isLoadingTrack=!1,e.checkForTracks())},loadTrack:function(e){var t=this,n=t.tracks[e];void 0===n||void 0===n.src&amp;&amp;&quot;&quot;===n.src||(0,I.ajax)(n.src,&quot;text&quot;,function(e){n.entries=&quot;string&quot;==typeof e&amp;&amp;/&lt;tt\\s+xml/gi.exec(e)?d.default.TrackFormatParser.dfxp.parse(e):d.default.TrackFormatParser.webvtt.parse(e),n.isLoaded=!0,t.enableTrackButton(n),t.loadNextTrack(),&quot;slides&quot;===n.kind?t.setupSlides(n):&quot;chapters&quot;!==n.kind||t.hasChapters||(t.drawChapters(n),t.hasChapters=!0)},function(){t.removeTrackButton(n.trackId),t.loadNextTrack()})},enableTrackButton:function(e){var t=this,n=e.srclang,o=L.default.getElementById(&quot;&quot;+e.trackId);if(o){var i=e.label;&quot;&quot;===i&amp;&amp;(i=F.default.t(d.default.language.codes[n])||n),o.disabled=!1;for(var r=(0,I.siblings)(o,function(e){return(0,I.hasClass)(e,t.options.classPrefix+&quot;captions-selector-label&quot;)}),a=0,s=r.length;a&lt;s;a++)r[a].innerHTML=i;if(t.options.startLanguage===n){o.checked=!0;var l=(0,j.createEvent)(&quot;click&quot;,o);o.dispatchEvent(l)}}},removeTrackButton:function(e){var t=L.default.getElementById(&quot;&quot;+e);if(t){var n=t.closest(&quot;li&quot;);n&amp;&amp;n.remove()}},addTrackButton:function(e,t,n){var o=this;&quot;&quot;===n&amp;&amp;(n=F.default.t(d.default.language.codes[t])||t),o.captionsButton.querySelector(&quot;ul&quot;).innerHTML+=&#039;<li class="''+o.options.classPrefix+''captions-selector-list-item"><label>''+n+" (loading)</label></li>"},checkForTracks:function(){var e=this,t=!1;if(e.options.hideCaptionsButtonWhenEmpty){for(var n=0,o=e.tracks.length;n&lt;o;n++){var i=e.tracks[n].kind;if((&quot;subtitles&quot;===i||&quot;captions&quot;===i)&amp;&amp;e.tracks[n].isLoaded){t=!0;break}}e.captionsButton.style.display=t?&quot;&quot;:&quot;none&quot;,e.setControlsSize()}},displayCaptions:function(){if(void 0!==this.tracks){var e=this,t=e.selectedTrack;if(null!==t&amp;&amp;t.isLoaded){var n=e.searchTrackPosition(t.entries,e.media.currentTime);if(-1&lt;n){var o=t.entries[n].text;return&quot;function&quot;==typeof e.options.captionTextPreprocessor&amp;&amp;(o=e.options.captionTextPreprocessor(o)),e.captionsText.innerHTML=function(e){var t=L.default.createElement(&quot;div&quot;);t.innerHTML=e;for(var n=t.getElementsByTagName(&quot;script&quot;),o=n.length;o--;)n[o].remove();for(var i=t.getElementsByTagName(&quot;*&quot;),r=0,a=i.length;r&lt;a;r++)for(var s=i[r].attributes,l=Array.prototype.slice.call(s),d=0,u=l.length;d&lt;u;d++)l[d].name.startsWith(&quot;on&quot;)||l[d].value.startsWith(&quot;javascript&quot;)?i[r].remove():&quot;style&quot;===l[d].name&amp;&amp;i[r].removeAttribute(l[d].name);return t.innerHTML}(o),e.captionsText.className=e.options.classPrefix+&quot;captions-text &quot;+(t.entries[n].identifier||&quot;&quot;),e.captions.style.display=&quot;&quot;,void(e.captions.style.height=&quot;0px&quot;)}e.captions.style.display=&quot;none&quot;}else e.captions.style.display=&quot;none&quot;}},setupSlides:function(e){this.slides=e,this.slides.entries.imgs=[this.slides.entries.length],this.showSlide(0)},showSlide:function(e){var i=this,r=this;if(void 0!==r.tracks&amp;&amp;void 0!==r.slidesContainer){var t=r.slides.entries[e].text,n=r.slides.entries[e].imgs;if(void 0===n||void 0===n.fadeIn){var a=L.default.createElement(&quot;img&quot;);a.src=t,a.addEventListener(&quot;load&quot;,function(){var e=i,t=(0,I.siblings)(e,function(e){return t(e)});e.style.display=&quot;none&quot;,r.slidesContainer.innerHTML+=e.innerHTML,(0,I.fadeIn)(r.slidesContainer.querySelector(a));for(var n=0,o=t.length;n&lt;o;n++)(0,I.fadeOut)(t[n],400)}),r.slides.entries[e].imgs=n=a}else if(!(0,I.visible)(n)){var o=(0,I.siblings)(self,function(e){return o(e)});(0,I.fadeIn)(r.slidesContainer.querySelector(n));for(var s=0,l=o.length;s&lt;l;s++)(0,I.fadeOut)(o[s])}}},displaySlides:function(){if(void 0!==this.slides){var e=this.slides,t=this.searchTrackPosition(e.entries,this.media.currentTime);-1&lt;t&amp;&amp;this.showSlide(t)}},drawChapters:function(e){var r=this,t=e.entries.length;if(t){r.chaptersButton.querySelector(&quot;ul&quot;).innerHTML=&quot;&quot;;for(var n=0;n&lt;t;n++)r.chaptersButton.querySelector(&quot;ul&quot;).innerHTML+=&#039;<li class="''+r.options.classPrefix+''chapters-selector-list-item" role="menuitemcheckbox"><label>''+e.entries[n].text+"</label></li>";for(var o=r.chaptersButton.querySelectorAll(''input[type="radio"]''),i=r.chaptersButton.querySelectorAll("."+r.options.classPrefix+"chapters-selector-label"),a=0,s=o.length;a&lt;s;a++)o[a].disabled=!1,o[a].checked=!1,o[a].addEventListener(&quot;click&quot;,function(e){var t=r.chaptersButton.querySelectorAll(&quot;li&quot;),n=(0,I.siblings)(this,function(e){return(0,I.hasClass)(e,r.options.classPrefix+&quot;chapters-selector-label&quot;)})[0];this.checked=!0,this.parentNode.setAttribute(&quot;aria-checked&quot;,!0),(0,I.addClass)(n,r.options.classPrefix+&quot;chapters-selected&quot;),(0,I.removeClass)(r.chaptersButton.querySelector(&quot;.&quot;+r.options.classPrefix+&quot;chapters-selected&quot;),r.options.classPrefix+&quot;chapters-selected&quot;);for(var o=0,i=t.length;o&lt;i;o++)t[o].setAttribute(&quot;aria-checked&quot;,!1);void 0===(e.keyCode||e.which)&amp;&amp;setTimeout(function(){r.getElement(r.container).focus()},500),r.media.setCurrentTime(parseFloat(this.value)),r.media.paused&amp;&amp;r.media.play()});for(var l=0,d=i.length;l&lt;d;l++)i[l].addEventListener(&quot;click&quot;,function(e){var t=(0,I.siblings)(this,function(e){return&quot;INPUT&quot;===e.tagName})[0],n=(0,j.createEvent)(&quot;click&quot;,t);t.dispatchEvent(n),e.preventDefault()})}},searchTrackPosition:function(e,t){for(var n=0,o=e.length-1,i=void 0,r=void 0,a=void 0;n&gt;1].start,a=e[i].stop,r&lt;=t&amp;&amp;t&lt;a)return i;r&lt;t?n=i+1:t ((?:[0-9]{1,2}:)?[0-9]{2}:[0-9]{2}([,.][0-9]{3})?)(.*)$/,parse:function(e){for(var t=e.split(/\\r?\\n/),n=[],o=void 0,i=void 0,r=void 0,a=0,s=t.length;a&lt;s;a++){if((o=this.pattern.exec(t[a]))&amp;&amp;a&lt;t.length){for(0&lt;=a-1&amp;&amp;&quot;&quot;!==t[a-1]&amp;&amp;(r=t[a-1]),i=t[++a],a++;&quot;&quot;!==t[a]&amp;&amp;a&lt;t.length;)i=i+&quot;\\n&quot;+t[a],a++;i=null===i?&quot;&quot;:i.trim().replace(/(\\b(https?|ftp|file):\\/\\/[-A-Z0-9+&amp;@#\\/%?=~_|!:,.;]*[-A-Z0-9+&amp;@#\\/%=~_|])/gi,&quot;<a href=''$1'' target=''_blank'' rel="noopener">$1</a>"),n.push({identifier:r,start:0===(0,m.convertSMPTEtoSeconds)(o[1])?.2:(0,m.convertSMPTEtoSeconds)(o[1]),stop:(0,m.convertSMPTEtoSeconds)(o[3]),text:i,settings:o[5]})}r=""}return n}},dfxp:{parse:function(e){var t=(e=$(e).filter("tt")).firstChild,n=t.querySelectorAll("p"),o=e.getElementById(""+t.attr("style")),i=[],r=void 0;if(o.length){o.removeAttribute("id");var a=o.attributes;if(a.length){r={};for(var s=0,l=a.length;s&lt;l;s++)r[a[s].name.split(&quot;:&quot;)[1]]=a[s].value}}for(var d=0,u=n.length;d&lt;u;d++){var c=void 0,f={start:null,stop:null,style:null,text:null};if(n.eq(d).attr(&quot;begin&quot;)&amp;&amp;(f.start=(0,m.convertSMPTEtoSeconds)(n.eq(d).attr(&quot;begin&quot;))),!f.start&amp;&amp;n.eq(d-1).attr(&quot;end&quot;)&amp;&amp;(f.start=(0,m.convertSMPTEtoSeconds)(n.eq(d-1).attr(&quot;end&quot;))),n.eq(d).attr(&quot;end&quot;)&amp;&amp;(f.stop=(0,m.convertSMPTEtoSeconds)(n.eq(d).attr(&quot;end&quot;))),!f.stop&amp;&amp;n.eq(d+1).attr(&quot;begin&quot;)&amp;&amp;(f.stop=(0,m.convertSMPTEtoSeconds)(n.eq(d+1).attr(&quot;begin&quot;))),r)for(var p in c=&quot;&quot;,r)c+=p+&quot;:&quot;+r[p]+&quot;;&quot;;c&amp;&amp;(f.style=c),0===f.start&amp;&amp;(f.start=.2),f.text=n.eq(d).innerHTML.trim().replace(/(\\b(https?|ftp|file):\\/\\/[-A-Z0-9+&amp;@#\\/%?=~_|!:,.;]*[-A-Z0-9+&amp;@#\\/%=~_|])/gi,&quot;<a href=''$1'' target=''_blank'' rel="noopener">$1</a>"),i.push(f)}return i}}}},{16:16,2:2,26:26,27:27,30:30,5:5,7:7}],14:[function(e,t,n){"use strict";var x=r(e(2)),o=e(16),i=r(o),w=r(e(5)),P=e(25),T=e(27),C=e(26);function r(e){return e&amp;&amp;e.__esModule?e:{default:e}}Object.assign(o.config,{muteText:null,unmuteText:null,allyVolumeControlText:null,hideVolumeOnTouchDevices:!0,audioVolume:"horizontal",videoVolume:"vertical",startVolume:.8}),Object.assign(i.default.prototype,{buildvolume:function(e,t,n,o){if(!P.IS_ANDROID&amp;&amp;!P.IS_IOS||!this.options.hideVolumeOnTouchDevices){var a=this,s=a.isVideo?a.options.videoVolume:a.options.audioVolume,r=(0,T.isString)(a.options.muteText)?a.options.muteText:w.default.t("mejs.mute"),l=(0,T.isString)(a.options.unmuteText)?a.options.unmuteText:w.default.t("mejs.unmute"),i=(0,T.isString)(a.options.allyVolumeControlText)?a.options.allyVolumeControlText:w.default.t("mejs.volume-help-text"),d=x.default.createElement("div");if(d.className=a.options.classPrefix+"button "+a.options.classPrefix+"volume-button "+a.options.classPrefix+"mute",d.innerHTML="horizontal"===s?''<button type="button" title="''+r+''" aria-label="''+r+''"></button>'':''<button type="button" title="''+r+''" aria-label="''+r+''"></button><a href="void(0);" class="''+a.options.classPrefix+''volume-slider" role="slider"><span class="''+a.options.classPrefix+''offscreen">''+i+''</span><div class="''+a.options.classPrefix+''volume-total"><div class="''+a.options.classPrefix+''volume-current"></div><div class="''+a.options.classPrefix+''volume-handle"></div></div></a>'',a.addControlElement(d,"volume"),a.options.keyActions.push({keys:[38],action:function(e){var t=e.getElement(e.container).querySelector("."+a.options.classPrefix+"volume-slider");t&amp;&amp;t.matches(":focus")&amp;&amp;(t.style.display="block"),e.isVideo&amp;&amp;(e.showControls(),e.startControlsTimer());var n=Math.min(e.volume+.1,1);e.setVolume(n),0&lt;n&amp;&amp;e.setMuted(!1)}},{keys:[40],action:function(e){var t=e.getElement(e.container).querySelector(&quot;.&quot;+a.options.classPrefix+&quot;volume-slider&quot;);t&amp;&amp;(t.style.display=&quot;block&quot;),e.isVideo&amp;&amp;(e.showControls(),e.startControlsTimer());var n=Math.max(e.volume-.1,0);e.setVolume(n),n&lt;=.1&amp;&amp;e.setMuted(!0)}},{keys:[77],action:function(e){var t=e.getElement(e.container).querySelector(&quot;.&quot;+a.options.classPrefix+&quot;volume-slider&quot;);t&amp;&amp;(t.style.display=&quot;block&quot;),e.isVideo&amp;&amp;(e.showControls(),e.startControlsTimer()),e.media.muted?e.setMuted(!1):e.setMuted(!0)}}),&quot;horizontal&quot;===s){var u=x.default.createElement(&quot;a&quot;);u.className=a.options.classPrefix+&quot;horizontal-volume-slider&quot;,u.href=&quot;javascript:void(0);&quot;,u.setAttribute(&quot;aria-label&quot;,w.default.t(&quot;mejs.volume-slider&quot;)),u.setAttribute(&quot;aria-valuemin&quot;,0),u.setAttribute(&quot;aria-valuemax&quot;,100),u.setAttribute(&quot;aria-valuenow&quot;,100),u.setAttribute(&quot;role&quot;,&quot;slider&quot;),u.innerHTML+=&#039;<span class="''+a.options.classPrefix+''offscreen">''+i+''</span><div class="''+a.options.classPrefix+''horizontal-volume-total"><div class="''+a.options.classPrefix+''horizontal-volume-current"></div><div class="''+a.options.classPrefix+''horizontal-volume-handle"></div></div>'',d.parentNode.insertBefore(u,d.nextSibling)}var c=!1,f=!1,p=!1,m="vertical"===s?a.getElement(a.container).querySelector("."+a.options.classPrefix+"volume-slider"):a.getElement(a.container).querySelector("."+a.options.classPrefix+"horizontal-volume-slider"),h="vertical"===s?a.getElement(a.container).querySelector("."+a.options.classPrefix+"volume-total"):a.getElement(a.container).querySelector("."+a.options.classPrefix+"horizontal-volume-total"),v="vertical"===s?a.getElement(a.container).querySelector("."+a.options.classPrefix+"volume-current"):a.getElement(a.container).querySelector("."+a.options.classPrefix+"horizontal-volume-current"),g="vertical"===s?a.getElement(a.container).querySelector("."+a.options.classPrefix+"volume-handle"):a.getElement(a.container).querySelector("."+a.options.classPrefix+"horizontal-volume-handle"),y=function(e){if(null!==e&amp;&amp;!isNaN(e)&amp;&amp;void 0!==e){if(e=Math.max(0,e),0===(e=Math.min(e,1))){(0,C.removeClass)(d,a.options.classPrefix+"mute"),(0,C.addClass)(d,a.options.classPrefix+"unmute");var t=d.firstElementChild;t.setAttribute("title",l),t.setAttribute("aria-label",l)}else{(0,C.removeClass)(d,a.options.classPrefix+"unmute"),(0,C.addClass)(d,a.options.classPrefix+"mute");var n=d.firstElementChild;n.setAttribute("title",r),n.setAttribute("aria-label",r)}var o=100*e+"%",i=getComputedStyle(g);"vertical"===s?(v.style.bottom=0,v.style.height=o,g.style.bottom=o,g.style.marginBottom=-parseFloat(i.height)/2+"px"):(v.style.left=0,v.style.width=o,g.style.left=o,g.style.marginLeft=-parseFloat(i.width)/2+"px")}},E=function(e){var t=(0,C.offset)(h),n=getComputedStyle(h);p=!0;var o=null;if("vertical"===s){var i=parseFloat(n.height);if(o=(i-(e.pageY-t.top))/i,0===t.top||0===t.left)return}else{var r=parseFloat(n.width);o=(e.pageX-t.left)/r}o=Math.max(0,o),o=Math.min(o,1),y(o),a.setMuted(0===o),a.setVolume(o),e.preventDefault(),e.stopPropagation()},b=function(){a.muted?(y(0),(0,C.removeClass)(d,a.options.classPrefix+"mute"),(0,C.addClass)(d,a.options.classPrefix+"unmute")):(y(o.volume),(0,C.removeClass)(d,a.options.classPrefix+"unmute"),(0,C.addClass)(d,a.options.classPrefix+"mute"))};e.getElement(e.container).addEventListener("keydown",function(e){!!e.target.closest("."+a.options.classPrefix+"container")||"vertical"!==s||(m.style.display="none")}),d.addEventListener("mouseenter",function(e){e.target===d&amp;&amp;(m.style.display="block",f=!0,e.preventDefault(),e.stopPropagation())}),d.addEventListener("focusin",function(){m.style.display="block",f=!0}),d.addEventListener("focusout",function(e){e.relatedTarget&amp;&amp;(!e.relatedTarget||e.relatedTarget.matches("."+a.options.classPrefix+"volume-slider"))||"vertical"!==s||(m.style.display="none")}),d.addEventListener("mouseleave",function(){f=!1,c||"vertical"!==s||(m.style.display="none")}),d.addEventListener("focusout",function(){f=!1}),d.addEventListener("keydown",function(e){if(a.options.enableKeyboard&amp;&amp;a.options.keyActions.length){var t=e.which||e.keyCode||0,n=o.volume;switch(t){case 38:n=Math.min(n+.1,1);break;case 40:n=Math.max(0,n-.1);break;default:return!0}c=!1,y(n),o.setVolume(n),e.preventDefault(),e.stopPropagation()}}),d.querySelector("button").addEventListener("click",function(){o.setMuted(!o.muted);var e=(0,T.createEvent)("volumechange",o);o.dispatchEvent(e)}),m.addEventListener("dragstart",function(){return!1}),m.addEventListener("mouseover",function(){f=!0}),m.addEventListener("focusin",function(){m.style.display="block",f=!0}),m.addEventListener("focusout",function(){f=!1,c||"vertical"!==s||(m.style.display="none")}),m.addEventListener("mousedown",function(e){E(e),a.globalBind("mousemove.vol",function(e){var t=e.target;c&amp;&amp;(t===m||t.closest("vertical"===s?"."+a.options.classPrefix+"volume-slider":"."+a.options.classPrefix+"horizontal-volume-slider"))&amp;&amp;E(e)}),a.globalBind("mouseup.vol",function(){c=!1,f||"vertical"!==s||(m.style.display="none")}),c=!0,e.preventDefault(),e.stopPropagation()}),o.addEventListener("volumechange",function(e){var t;c||b(),t=Math.floor(100*o.volume),m.setAttribute("aria-valuenow",t),m.setAttribute("aria-valuetext",t+"%")});var S=!1;o.addEventListener("rendererready",function(){p||setTimeout(function(){S=!0,(0===e.options.startVolume||o.originalNode.muted)&amp;&amp;(o.setMuted(!0),e.options.startVolume=0),o.setVolume(e.options.startVolume),a.setControlsSize()},250)}),o.addEventListener("loadedmetadata",function(){setTimeout(function(){p||S||((0===e.options.startVolume||o.originalNode.muted)&amp;&amp;o.setMuted(!0),o.setVolume(e.options.startVolume),a.setControlsSize()),S=!1},250)}),(0===e.options.startVolume||o.originalNode.muted)&amp;&amp;(o.setMuted(!0),e.options.startVolume=0,b()),a.getElement(a.container).addEventListener("controlsresize",function(){b()})}}})},{16:16,2:2,25:25,26:26,27:27,5:5}],15:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});n.EN={"mejs.plural-form":1,"mejs.download-file":"Download File","mejs.install-flash":"You are using a browser that does not have Flash player enabled or installed. Please turn on your Flash player plugin or download the latest version from https://get.adobe.com/flashplayer/","mejs.fullscreen":"Fullscreen","mejs.play":"Play","mejs.pause":"Pause","mejs.time-slider":"Time Slider","mejs.time-help-text":"Use Left/Right Arrow keys to advance one second, Up/Down arrows to advance ten seconds.","mejs.live-broadcast":"Live Broadcast","mejs.volume-help-text":"Use Up/Down Arrow keys to increase or decrease volume.","mejs.unmute":"Unmute","mejs.mute":"Mute","mejs.volume-slider":"Volume Slider","mejs.video-player":"Video Player","mejs.audio-player":"Audio Player","mejs.captions-subtitles":"Captions/Subtitles","mejs.captions-chapters":"Chapters","mejs.none":"None","mejs.afrikaans":"Afrikaans","mejs.albanian":"Albanian","mejs.arabic":"Arabic","mejs.belarusian":"Belarusian","mejs.bulgarian":"Bulgarian","mejs.catalan":"Catalan","mejs.chinese":"Chinese","mejs.chinese-simplified":"Chinese (Simplified)","mejs.chinese-traditional":"Chinese (Traditional)","mejs.croatian":"Croatian","mejs.czech":"Czech","mejs.danish":"Danish","mejs.dutch":"Dutch","mejs.english":"English","mejs.estonian":"Estonian","mejs.filipino":"Filipino","mejs.finnish":"Finnish","mejs.french":"French","mejs.galician":"Galician","mejs.german":"German","mejs.greek":"Greek","mejs.haitian-creole":"Haitian Creole","mejs.hebrew":"Hebrew","mejs.hindi":"Hindi","mejs.hungarian":"Hungarian","mejs.icelandic":"Icelandic","mejs.indonesian":"Indonesian","mejs.irish":"Irish","mejs.italian":"Italian","mejs.japanese":"Japanese","mejs.korean":"Korean","mejs.latvian":"Latvian","mejs.lithuanian":"Lithuanian","mejs.macedonian":"Macedonian","mejs.malay":"Malay","mejs.maltese":"Maltese","mejs.norwegian":"Norwegian","mejs.persian":"Persian","mejs.polish":"Polish","mejs.portuguese":"Portuguese","mejs.romanian":"Romanian","mejs.russian":"Russian","mejs.serbian":"Serbian","mejs.slovak":"Slovak","mejs.slovenian":"Slovenian","mejs.spanish":"Spanish","mejs.swahili":"Swahili","mejs.swedish":"Swedish","mejs.tagalog":"Tagalog","mejs.thai":"Thai","mejs.turkish":"Turkish","mejs.ukrainian":"Ukrainian","mejs.vietnamese":"Vietnamese","mejs.welsh":"Welsh","mejs.yiddish":"Yiddish"}},{}],16:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.config=void 0;var i="function"==typeof Symbol&amp;&amp;"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;"function"==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?"symbol":typeof e},o=function(){function o(e,t){for(var n=0;n&lt;t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,&quot;value&quot;in o&amp;&amp;(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&amp;&amp;o(e.prototype,t),n&amp;&amp;o(e,n),e}}(),S=r(e(3)),x=r(e(2)),f=r(e(7)),d=r(e(6)),a=r(e(17)),u=r(e(5)),w=e(25),m=e(27),c=e(30),p=e(28),P=function(e){{if(e&amp;&amp;e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&amp;&amp;(t[n]=e[n]);return t.default=e,t}}(e(26));function r(e){return e&amp;&amp;e.__esModule?e:{default:e}}f.default.mepIndex=0,f.default.players={};var s=n.config={poster:&quot;&quot;,showPosterWhenEnded:!1,showPosterWhenPaused:!1,defaultVideoWidth:480,defaultVideoHeight:270,videoWidth:-1,videoHeight:-1,defaultAudioWidth:400,defaultAudioHeight:40,defaultSeekBackwardInterval:function(e){return.05*e.getDuration()},defaultSeekForwardInterval:function(e){return.05*e.getDuration()},setDimensions:!0,audioWidth:-1,audioHeight:-1,loop:!1,autoRewind:!0,enableAutosize:!0,timeFormat:&quot;&quot;,alwaysShowHours:!1,showTimecodeFrameCount:!1,framesPerSecond:25,alwaysShowControls:!1,hideVideoControlsOnLoad:!1,hideVideoControlsOnPause:!1,clickToPlayPause:!0,controlsTimeoutDefault:1500,controlsTimeoutMouseEnter:2500,controlsTimeoutMouseLeave:1e3,iPadUseNativeControls:!1,iPhoneUseNativeControls:!1,AndroidUseNativeControls:!1,features:[&quot;playpause&quot;,&quot;current&quot;,&quot;progress&quot;,&quot;duration&quot;,&quot;tracks&quot;,&quot;volume&quot;,&quot;fullscreen&quot;],useDefaultControls:!1,isVideo:!0,stretching:&quot;auto&quot;,classPrefix:&quot;mejs__&quot;,enableKeyboard:!0,pauseOtherPlayers:!0,secondsDecimalLength:0,customError:null,keyActions:[{keys:[32,179],action:function(e){w.IS_FIREFOX||(e.paused||e.ended?e.play():e.pause())}}]};f.default.MepDefaults=s;var l=function(){function r(e,t){!function(e,t){if(!(e instanceof t))throw new TypeError(&quot;Cannot call a class as a function&quot;)}(this,r);var n=this,o=&quot;string&quot;==typeof e?x.default.getElementById(e):e;if(!(n instanceof r))return new r(o,t);if(n.node=n.media=o,n.node){if(n.media.player)return n.media.player;if(n.hasFocus=!1,n.controlsAreVisible=!0,n.controlsEnabled=!0,n.controlsTimer=null,n.currentMediaTime=0,n.proxy=null,void 0===t){var i=n.node.getAttribute(&quot;data-mejsoptions&quot;);t=i?JSON.parse(i):{}}return n.options=Object.assign({},s,t),n.options.loop&amp;&amp;!n.media.getAttribute(&quot;loop&quot;)?(n.media.loop=!0,n.node.loop=!0):n.media.loop&amp;&amp;(n.options.loop=!0),n.options.timeFormat||(n.options.timeFormat=&quot;mm:ss&quot;,n.options.alwaysShowHours&amp;&amp;(n.options.timeFormat=&quot;hh:mm:ss&quot;),n.options.showTimecodeFrameCount&amp;&amp;(n.options.timeFormat+=&quot;:ff&quot;)),(0,c.calculateTimeFormat)(0,n.options,n.options.framesPerSecond||25),n.id=&quot;mep_&quot;+f.default.mepIndex++,(f.default.players[n.id]=n).init(),n}}return o(r,[{key:&quot;getElement&quot;,value:function(e){return e}},{key:&quot;init&quot;,value:function(){var n=this,e=Object.assign({},n.options,{success:function(e,t){n._meReady(e,t)},error:function(e){n._handleError(e)}}),t=n.node.tagName.toLowerCase();if(n.isDynamic=&quot;audio&quot;!==t&amp;&amp;&quot;video&quot;!==t&amp;&amp;&quot;iframe&quot;!==t,n.isVideo=n.isDynamic?n.options.isVideo:&quot;audio&quot;!==t&amp;&amp;n.options.isVideo,n.mediaFiles=null,n.trackFiles=null,w.IS_IPAD&amp;&amp;n.options.iPadUseNativeControls||w.IS_IPHONE&amp;&amp;n.options.iPhoneUseNativeControls)n.node.setAttribute(&quot;controls&quot;,!0),w.IS_IPAD&amp;&amp;n.node.getAttribute(&quot;autoplay&quot;)&amp;&amp;n.play();else if(!n.isVideo&amp;&amp;(n.isVideo||!n.options.features.length&amp;&amp;!n.options.useDefaultControls)||w.IS_ANDROID&amp;&amp;n.options.AndroidUseNativeControls)n.isVideo||n.options.features.length||n.options.useDefaultControls||(n.node.style.display=&quot;none&quot;);else{n.node.removeAttribute(&quot;controls&quot;);var o=n.isVideo?u.default.t(&quot;mejs.video-player&quot;):u.default.t(&quot;mejs.audio-player&quot;),i=x.default.createElement(&quot;span&quot;);if(i.className=n.options.classPrefix+&quot;offscreen&quot;,i.innerText=o,n.media.parentNode.insertBefore(i,n.media),n.container=x.default.createElement(&quot;div&quot;),n.getElement(n.container).id=n.id,n.getElement(n.container).className=n.options.classPrefix+&quot;container &quot;+n.options.classPrefix+&quot;container-keyboard-inactive &quot;+n.media.className,n.getElement(n.container).tabIndex=0,n.getElement(n.container).setAttribute(&quot;role&quot;,&quot;application&quot;),n.getElement(n.container).setAttribute(&quot;aria-label&quot;,o),n.getElement(n.container).innerHTML=&#039;<div class="''+n.options.classPrefix+''inner"><div class="''+n.options.classPrefix+''mediaelement"></div><div class="''+n.options.classPrefix+''layers"></div><div class="''+n.options.classPrefix+''controls"></div></div>'',n.getElement(n.container).addEventListener("focus",function(e){if(!n.controlsAreVisible&amp;&amp;!n.hasFocus&amp;&amp;n.controlsEnabled){n.showControls(!0);var t=(0,m.isNodeAfter)(e.relatedTarget,n.getElement(n.container))?"."+n.options.classPrefix+"controls ."+n.options.classPrefix+"button:last-child &gt; button":"."+n.options.classPrefix+"playpause-button &gt; button";n.getElement(n.container).querySelector(t).focus()}}),n.node.parentNode.insertBefore(n.getElement(n.container),n.node),n.options.features.length||n.options.useDefaultControls||(n.getElement(n.container).style.background="transparent",n.getElement(n.container).querySelector("."+n.options.classPrefix+"controls").style.display="none"),n.isVideo&amp;&amp;"fill"===n.options.stretching&amp;&amp;!P.hasClass(n.getElement(n.container).parentNode,n.options.classPrefix+"fill-container")){n.outerContainer=n.media.parentNode;var r=x.default.createElement("div");r.className=n.options.classPrefix+"fill-container",n.getElement(n.container).parentNode.insertBefore(r,n.getElement(n.container)),r.appendChild(n.getElement(n.container))}w.IS_ANDROID&amp;&amp;P.addClass(n.getElement(n.container),n.options.classPrefix+"android"),w.IS_IOS&amp;&amp;P.addClass(n.getElement(n.container),n.options.classPrefix+"ios"),w.IS_IPAD&amp;&amp;P.addClass(n.getElement(n.container),n.options.classPrefix+"ipad"),w.IS_IPHONE&amp;&amp;P.addClass(n.getElement(n.container),n.options.classPrefix+"iphone"),P.addClass(n.getElement(n.container),n.isVideo?n.options.classPrefix+"video":n.options.classPrefix+"audio"),n.getElement(n.container).querySelector("."+n.options.classPrefix+"mediaelement").appendChild(n.node),(n.media.player=n).controls=n.getElement(n.container).querySelector("."+n.options.classPrefix+"controls"),n.layers=n.getElement(n.container).querySelector("."+n.options.classPrefix+"layers");var a=n.isVideo?"video":"audio",s=a.substring(0,1).toUpperCase()+a.substring(1);0&lt;n.options[a+&quot;Width&quot;]||-1&lt;n.options[a+&quot;Width&quot;].toString().indexOf(&quot;%&quot;)?n.width=n.options[a+&quot;Width&quot;]:&quot;&quot;!==n.node.style.width&amp;&amp;null!==n.node.style.width?n.width=n.node.style.width:n.node.getAttribute(&quot;width&quot;)?n.width=n.node.getAttribute(&quot;width&quot;):n.width=n.options[&quot;default&quot;+s+&quot;Width&quot;],0&lt;n.options[a+&quot;Height&quot;]||-1=n.width?n.width/n.height:n.height/n.width,n.setPlayerSize(n.width,n.height),e.pluginWidth=n.width,e.pluginHeight=n.height}if(f.default.MepDefaults=e,new d.default(n.media,e,n.mediaFiles),void 0!==n.getElement(n.container)&amp;&amp;n.options.features.length&amp;&amp;n.controlsAreVisible&amp;&amp;!n.options.hideVideoControlsOnLoad){var l=(0,m.createEvent)("controlsshown",n.getElement(n.container));n.getElement(n.container).dispatchEvent(l)}}},{key:"showControls",value:function(e){var i=this;if(e=void 0===e||e,!i.controlsAreVisible&amp;&amp;i.isVideo){if(e)!function(){P.fadeIn(i.getElement(i.controls),200,function(){P.removeClass(i.getElement(i.controls),i.options.classPrefix+"offscreen");var e=(0,m.createEvent)("controlsshown",i.getElement(i.container));i.getElement(i.container).dispatchEvent(e)});for(var n=i.getElement(i.container).querySelectorAll("."+i.options.classPrefix+"control"),e=function(e,t){P.fadeIn(n[e],200,function(){P.removeClass(n[e],i.options.classPrefix+"offscreen")})},t=0,o=n.length;t&lt;o;t++)e(t)}();else{P.removeClass(i.getElement(i.controls),i.options.classPrefix+&quot;offscreen&quot;),i.getElement(i.controls).style.display=&quot;&quot;,i.getElement(i.controls).style.opacity=1;for(var t=i.getElement(i.container).querySelectorAll(&quot;.&quot;+i.options.classPrefix+&quot;control&quot;),n=0,o=t.length;n&lt;o;n++)P.removeClass(t[n],i.options.classPrefix+&quot;offscreen&quot;),t[n].style.display=&quot;&quot;;var r=(0,m.createEvent)(&quot;controlsshown&quot;,i.getElement(i.container));i.getElement(i.container).dispatchEvent(r)}i.controlsAreVisible=!0,i.setControlsSize()}}},{key:&quot;hideControls&quot;,value:function(e,t){var i=this;if(e=void 0===e||e,!0===t||!(!i.controlsAreVisible||i.options.alwaysShowControls||i.paused&amp;&amp;4===i.readyState&amp;&amp;(!i.options.hideVideoControlsOnLoad&amp;&amp;i.currentTime&lt;=0||!i.options.hideVideoControlsOnPause&amp;&amp;0&lt;i.currentTime)||i.isVideo&amp;&amp;!i.options.hideVideoControlsOnLoad&amp;&amp;!i.readyState||i.ended)){if(e)!function(){P.fadeOut(i.getElement(i.controls),200,function(){P.addClass(i.getElement(i.controls),i.options.classPrefix+&quot;offscreen&quot;),i.getElement(i.controls).style.display=&quot;&quot;;var e=(0,m.createEvent)(&quot;controlshidden&quot;,i.getElement(i.container));i.getElement(i.container).dispatchEvent(e)});for(var n=i.getElement(i.container).querySelectorAll(&quot;.&quot;+i.options.classPrefix+&quot;control&quot;),e=function(e,t){P.fadeOut(n[e],200,function(){P.addClass(n[e],i.options.classPrefix+&quot;offscreen&quot;),n[e].style.display=&quot;&quot;})},t=0,o=n.length;t&lt;o;t++)e(t)}();else{P.addClass(i.getElement(i.controls),i.options.classPrefix+&quot;offscreen&quot;),i.getElement(i.controls).style.display=&quot;&quot;,i.getElement(i.controls).style.opacity=0;for(var n=i.getElement(i.container).querySelectorAll(&quot;.&quot;+i.options.classPrefix+&quot;control&quot;),o=0,r=n.length;o&lt;r;o++)P.addClass(n[o],i.options.classPrefix+&quot;offscreen&quot;),n[o].style.display=&quot;&quot;;var a=(0,m.createEvent)(&quot;controlshidden&quot;,i.getElement(i.container));i.getElement(i.container).dispatchEvent(a)}i.controlsAreVisible=!1}}},{key:&quot;startControlsTimer&quot;,value:function(e){var t=this;e=void 0!==e?e:t.options.controlsTimeoutDefault,t.killControlsTimer(&quot;start&quot;),t.controlsTimer=setTimeout(function(){t.hideControls(),t.killControlsTimer(&quot;hide&quot;)},e)}},{key:&quot;killControlsTimer&quot;,value:function(){null!==this.controlsTimer&amp;&amp;(clearTimeout(this.controlsTimer),delete this.controlsTimer,this.controlsTimer=null)}},{key:&quot;disableControls&quot;,value:function(){this.killControlsTimer(),this.controlsEnabled=!1,this.hideControls(!1,!0)}},{key:&quot;enableControls&quot;,value:function(){this.controlsEnabled=!0,this.showControls(!1)}},{key:&quot;_setDefaultPlayer&quot;,value:function(){var e=this;e.proxy&amp;&amp;e.proxy.pause(),e.proxy=new a.default(e),e.media.addEventListener(&quot;loadedmetadata&quot;,function(){0&lt;e.getCurrentTime()&amp;&amp;0&lt;e.currentMediaTime&amp;&amp;(e.setCurrentTime(e.currentMediaTime),w.IS_IOS||w.IS_ANDROID||e.play())})}},{key:&quot;_meReady&quot;,value:function(e,t){var n=this,o=t.getAttribute(&quot;autoplay&quot;),i=!(null==o||&quot;false&quot;===o),r=null!==e.rendererName&amp;&amp;/(native|html5)/i.test(n.media.rendererName);if(n.getElement(n.controls)&amp;&amp;n.enableControls(),n.getElement(n.container)&amp;&amp;n.getElement(n.container).querySelector(&quot;.&quot;+n.options.classPrefix+&quot;overlay-play&quot;)&amp;&amp;(n.getElement(n.container).querySelector(&quot;.&quot;+n.options.classPrefix+&quot;overlay-play&quot;).style.display=&quot;&quot;),!n.created){if(n.created=!0,n.media=e,n.domNode=t,!(w.IS_ANDROID&amp;&amp;n.options.AndroidUseNativeControls||w.IS_IPAD&amp;&amp;n.options.iPadUseNativeControls||w.IS_IPHONE&amp;&amp;n.options.iPhoneUseNativeControls)){if(!n.isVideo&amp;&amp;!n.options.features.length&amp;&amp;!n.options.useDefaultControls)return i&amp;&amp;r&amp;&amp;n.play(),void(n.options.success&amp;&amp;(&quot;string&quot;==typeof n.options.success?S.default[n.options.success](n.media,n.domNode,n):n.options.success(n.media,n.domNode,n)));if(n.featurePosition={},n._setDefaultPlayer(),n.buildposter(n,n.getElement(n.controls),n.getElement(n.layers),n.media),n.buildkeyboard(n,n.getElement(n.controls),n.getElement(n.layers),n.media),n.buildoverlays(n,n.getElement(n.controls),n.getElement(n.layers),n.media),n.options.useDefaultControls){var a=[&quot;playpause&quot;,&quot;current&quot;,&quot;progress&quot;,&quot;duration&quot;,&quot;tracks&quot;,&quot;volume&quot;,&quot;fullscreen&quot;];n.options.features=a.concat(n.options.features.filter(function(e){return-1===a.indexOf(e)}))}n.buildfeatures(n,n.getElement(n.controls),n.getElement(n.layers),n.media);var s=(0,m.createEvent)(&quot;controlsready&quot;,n.getElement(n.container));n.getElement(n.container).dispatchEvent(s),n.setPlayerSize(n.width,n.height),n.setControlsSize(),n.isVideo&amp;&amp;(n.clickToPlayPauseCallback=function(){if(n.options.clickToPlayPause){var e=n.getElement(n.container).querySelector(&quot;.&quot;+n.options.classPrefix+&quot;overlay-button&quot;),t=e.getAttribute(&quot;aria-pressed&quot;);n.paused&amp;&amp;t?n.pause():n.paused?n.play():n.pause(),e.setAttribute(&quot;aria-pressed&quot;,!t),n.getElement(n.container).focus()}},n.createIframeLayer(),n.media.addEventListener(&quot;click&quot;,n.clickToPlayPauseCallback),!w.IS_ANDROID&amp;&amp;!w.IS_IOS||n.options.alwaysShowControls?(n.getElement(n.container).addEventListener(&quot;mouseenter&quot;,function(){n.controlsEnabled&amp;&amp;(n.options.alwaysShowControls||(n.killControlsTimer(&quot;enter&quot;),n.showControls(),n.startControlsTimer(n.options.controlsTimeoutMouseEnter)))}),n.getElement(n.container).addEventListener(&quot;mousemove&quot;,function(){n.controlsEnabled&amp;&amp;(n.controlsAreVisible||n.showControls(),n.options.alwaysShowControls||n.startControlsTimer(n.options.controlsTimeoutMouseEnter))}),n.getElement(n.container).addEventListener(&quot;mouseleave&quot;,function(){n.controlsEnabled&amp;&amp;(n.paused||n.options.alwaysShowControls||n.startControlsTimer(n.options.controlsTimeoutMouseLeave))})):n.node.addEventListener(&quot;touchstart&quot;,function(){n.controlsAreVisible?n.hideControls(!1):n.controlsEnabled&amp;&amp;n.showControls(!1)},!!w.SUPPORT_PASSIVE_EVENT&amp;&amp;{passive:!0}),n.options.hideVideoControlsOnLoad&amp;&amp;n.hideControls(!1),n.options.enableAutosize&amp;&amp;n.media.addEventListener(&quot;loadedmetadata&quot;,function(e){var t=void 0!==e?e.detail.target||e.target:n.media;n.options.videoHeight&lt;=0&amp;&amp;!n.domNode.getAttribute(&quot;height&quot;)&amp;&amp;!n.domNode.style.height&amp;&amp;null!==t&amp;&amp;!isNaN(t.videoHeight)&amp;&amp;(n.setPlayerSize(t.videoWidth,t.videoHeight),n.setControlsSize(),n.media.setSize(t.videoWidth,t.videoHeight))})),n.media.addEventListener(&quot;play&quot;,function(){for(var e in n.hasFocus=!0,f.default.players)if(f.default.players.hasOwnProperty(e)){var t=f.default.players[e];t.id===n.id||!n.options.pauseOtherPlayers||t.paused||t.ended||!0===t.options.ignorePauseOtherPlayersOption||(t.pause(),t.hasFocus=!1)}w.IS_ANDROID||w.IS_IOS||n.options.alwaysShowControls||!n.isVideo||n.hideControls()}),n.media.addEventListener(&quot;ended&quot;,function(){if(n.options.autoRewind)try{n.setCurrentTime(0),setTimeout(function(){var e=n.getElement(n.container).querySelector(&quot;.&quot;+n.options.classPrefix+&quot;overlay-loading&quot;);e&amp;&amp;e.parentNode&amp;&amp;(e.parentNode.style.display=&quot;none&quot;)},20)}catch(e){}&quot;function&quot;==typeof n.media.renderer.stop?n.media.renderer.stop():n.pause(),n.setProgressRail&amp;&amp;n.setProgressRail(),n.setCurrentRail&amp;&amp;n.setCurrentRail(),n.options.loop?n.play():!n.options.alwaysShowControls&amp;&amp;n.controlsEnabled&amp;&amp;n.showControls()}),n.media.addEventListener(&quot;loadedmetadata&quot;,function(){(0,c.calculateTimeFormat)(n.getDuration(),n.options,n.options.framesPerSecond||25),n.updateDuration&amp;&amp;n.updateDuration(),n.updateCurrent&amp;&amp;n.updateCurrent(),n.isFullScreen||(n.setPlayerSize(n.width,n.height),n.setControlsSize())});var l=null;n.media.addEventListener(&quot;timeupdate&quot;,function(){isNaN(n.getDuration())||l===n.getDuration()||(l=n.getDuration(),(0,c.calculateTimeFormat)(l,n.options,n.options.framesPerSecond||25),n.updateDuration&amp;&amp;n.updateDuration(),n.updateCurrent&amp;&amp;n.updateCurrent(),n.setControlsSize())}),n.getElement(n.container).addEventListener(&quot;click&quot;,function(e){P.addClass(e.currentTarget,n.options.classPrefix+&quot;container-keyboard-inactive&quot;)}),n.getElement(n.container).addEventListener(&quot;focusin&quot;,function(e){P.removeClass(e.currentTarget,n.options.classPrefix+&quot;container-keyboard-inactive&quot;),!n.isVideo||w.IS_ANDROID||w.IS_IOS||!n.controlsEnabled||n.options.alwaysShowControls||(n.killControlsTimer(&quot;enter&quot;),n.showControls(),n.startControlsTimer(n.options.controlsTimeoutMouseEnter))}),n.getElement(n.container).addEventListener(&quot;focusout&quot;,function(e){setTimeout(function(){e.relatedTarget&amp;&amp;n.keyboardAction&amp;&amp;!e.relatedTarget.closest(&quot;.&quot;+n.options.classPrefix+&quot;container&quot;)&amp;&amp;(n.keyboardAction=!1,!n.isVideo||n.options.alwaysShowControls||n.paused||n.startControlsTimer(n.options.controlsTimeoutMouseLeave))},0)}),setTimeout(function(){n.setPlayerSize(n.width,n.height),n.setControlsSize()},0),n.globalResizeCallback=function(){n.isFullScreen||w.HAS_TRUE_NATIVE_FULLSCREEN&amp;&amp;x.default.webkitIsFullScreen||n.setPlayerSize(n.width,n.height),n.setControlsSize()},n.globalBind(&quot;resize&quot;,n.globalResizeCallback)}i&amp;&amp;r&amp;&amp;n.play(),n.options.success&amp;&amp;(&quot;string&quot;==typeof n.options.success?S.default[n.options.success](n.media,n.domNode,n):n.options.success(n.media,n.domNode,n))}}},{key:&quot;_handleError&quot;,value:function(e,t,n){var o=this,i=o.getElement(o.layers).querySelector(&quot;.&quot;+o.options.classPrefix+&quot;overlay-play&quot;);i&amp;&amp;(i.style.display=&quot;none&quot;),o.options.error&amp;&amp;o.options.error(e,t,n),o.getElement(o.container).querySelector(&quot;.&quot;+o.options.classPrefix+&quot;cannotplay&quot;)&amp;&amp;o.getElement(o.container).querySelector(&quot;.&quot;+o.options.classPrefix+&quot;cannotplay&quot;).remove();var r=x.default.createElement(&quot;div&quot;);r.className=o.options.classPrefix+&quot;cannotplay&quot;,r.style.width=&quot;100%&quot;,r.style.height=&quot;100%&quot;;var a=&quot;function&quot;==typeof o.options.customError?o.options.customError(o.media,o.media.originalNode):o.options.customError,s=&quot;&quot;;if(!a){var l=o.media.originalNode.getAttribute(&quot;poster&quot;);if(l&amp;&amp;(s=&#039;<img src="''+l+''">''),e.message&amp;&amp;(a="<p>"+e.message+"</p>"),e.urls)for(var d=0,u=e.urls.length;d&lt;u;d++){var c=e.urls[d];a+=&#039;<a href="''+c.src+''" data-type="''+c.type+''"><span>''+f.default.i18n.t("mejs.download-file")+": "+c.src+"</span></a>"}}a&amp;&amp;o.getElement(o.layers).querySelector("."+o.options.classPrefix+"overlay-error")&amp;&amp;(r.innerHTML=a,o.getElement(o.layers).querySelector("."+o.options.classPrefix+"overlay-error").innerHTML=""+s+r.outerHTML,o.getElement(o.layers).querySelector("."+o.options.classPrefix+"overlay-error").parentNode.style.display="block"),o.controlsEnabled&amp;&amp;o.disableControls()}},{key:"setPlayerSize",value:function(e,t){var n=this;if(!n.options.setDimensions)return!1;switch(void 0!==e&amp;&amp;(n.width=e),void 0!==t&amp;&amp;(n.height=t),n.options.stretching){case"fill":n.isVideo?n.setFillMode():n.setDimensions(n.width,n.height);break;case"responsive":n.setResponsiveMode();break;case"none":n.setDimensions(n.width,n.height);break;default:!0===n.hasFluidMode()?n.setResponsiveMode():n.setDimensions(n.width,n.height)}}},{key:"hasFluidMode",value:function(){var e=this;return-1!==e.height.toString().indexOf("%")||e.node&amp;&amp;e.node.style.maxWidth&amp;&amp;"none"!==e.node.style.maxWidth&amp;&amp;e.node.style.maxWidth!==e.width||e.node&amp;&amp;e.node.currentStyle&amp;&amp;"100%"===e.node.currentStyle.maxWidth}},{key:"setResponsiveMode",value:function(){var e,o=this,t=function(){for(var t=void 0,n=o.getElement(o.container);n;){try{if(w.IS_FIREFOX&amp;&amp;"html"===n.tagName.toLowerCase()&amp;&amp;S.default.self!==S.default.top&amp;&amp;null!==S.default.frameElement)return S.default.frameElement;t=n.parentElement}catch(e){t=n.parentElement}if(t&amp;&amp;P.visible(t))return t;n=t}return null}(),n=t?getComputedStyle(t,null):getComputedStyle(x.default.body,null),i=o.isVideo?o.node.videoWidth&amp;&amp;0&lt;o.node.videoWidth?o.node.videoWidth:o.node.getAttribute(&quot;width&quot;)?o.node.getAttribute(&quot;width&quot;):o.options.defaultVideoWidth:o.options.defaultAudioWidth,r=o.isVideo?o.node.videoHeight&amp;&amp;0&lt;o.node.videoHeight?o.node.videoHeight:o.node.getAttribute(&quot;height&quot;)?o.node.getAttribute(&quot;height&quot;):o.options.defaultVideoHeight:o.options.defaultAudioHeight,a=(e=1,o.isVideo&amp;&amp;(e=o.node.videoWidth&amp;&amp;0&lt;o.node.videoWidth&amp;&amp;o.node.videoHeight&amp;&amp;0=o.width?o.node.videoWidth/o.node.videoHeight:o.node.videoHeight/o.node.videoWidth:o.initialAspectRatio,(isNaN(e)||e&lt;.01||100=o.width?parseFloat(d/a,10):parseFloat(d*a,10):r,isNaN(l)&amp;&amp;(l=s),0&lt;o.getElement(o.container).parentNode.length&amp;&amp;&quot;body&quot;===o.getElement(o.container).parentNode.tagName.toLowerCase()&amp;&amp;(d=S.default.innerWidth||x.default.documentElement.clientWidth||x.default.body.clientWidth,l=S.default.innerHeight||x.default.documentElement.clientHeight||x.default.body.clientHeight),l&amp;&amp;d){o.getElement(o.container).style.width=d+&quot;px&quot;,o.getElement(o.container).style.height=l+&quot;px&quot;,o.node.style.width=&quot;100%&quot;,o.node.style.height=&quot;100%&quot;,o.isVideo&amp;&amp;o.media.setSize&amp;&amp;o.media.setSize(d,l);for(var u=o.getElement(o.layers).children,c=0,f=u.length;cimg");a&amp;&amp;(a.style.display="");for(var s=e.getElement(e.container).querySelectorAll("object, embed, iframe, video"),l=e.height,d=e.width,u=i,c=l*i/d,f=d*r/l,p=r,m=i&lt;f==!1,h=m?Math.floor(u):Math.floor(f),v=m?Math.floor(c):Math.floor(p),g=m?i+&quot;px&quot;:h+&quot;px&quot;,y=m?v+&quot;px&quot;:r+&quot;px&quot;,E=0,b=s.length;E&lt;b;E++)s[E].style.height=y,s[E].style.width=g,e.media.setSize&amp;&amp;e.media.setSize(g,y),s[E].style.marginLeft=Math.floor((i-h)/2)+&quot;px&quot;,s[E].style.marginTop=0}},{key:&quot;setDimensions&quot;,value:function(e,t){var n=this;e=(0,m.isString)(e)&amp;&amp;-1&lt;e.indexOf(&quot;%&quot;)?e:parseFloat(e)+&quot;px&quot;,t=(0,m.isString)(t)&amp;&amp;-1&lt;t.indexOf(&quot;%&quot;)?t:parseFloat(t)+&quot;px&quot;,n.getElement(n.container).style.width=e,n.getElement(n.container).style.height=t;for(var o=n.getElement(n.layers).children,i=0,r=o.length;i&lt;r;i++)o[i].style.width=e,o[i].style.height=t}},{key:&quot;setControlsSize&quot;,value:function(){var t=this;if(P.visible(t.getElement(t.container)))if(t.rail&amp;&amp;P.visible(t.rail)){for(var e=t.total?getComputedStyle(t.total,null):null,n=e?parseFloat(e.marginLeft)+parseFloat(e.marginRight):0,o=getComputedStyle(t.rail),i=parseFloat(o.marginLeft)+parseFloat(o.marginRight),r=0,a=P.siblings(t.rail,function(e){return e!==t.rail}),s=a.length,l=0;l&lt;s;l++)r+=a[l].offsetWidth;r+=n+(0===n?2*i:i)+1,t.getElement(t.container).style.minWidth=r+&quot;px&quot;;var d=(0,m.createEvent)(&quot;controlsresize&quot;,t.getElement(t.container));t.getElement(t.container).dispatchEvent(d)}else{for(var u=t.getElement(t.controls).children,c=0,f=0,p=u.length;f&lt;p;f++)c+=u[f].offsetWidth;t.getElement(t.container).style.minWidth=c+&quot;px&quot;}}},{key:&quot;addControlElement&quot;,value:function(e,t){var n=this;if(void 0!==n.featurePosition[t]){var o=n.getElement(n.controls).children[n.featurePosition[t]-1];o.parentNode.insertBefore(e,o.nextSibling)}else{n.getElement(n.controls).appendChild(e);for(var i=n.getElement(n.controls).children,r=0,a=i.length;r&lt;a;r++)if(e===i[r]){n.featurePosition[t]=r;break}}}},{key:&quot;createIframeLayer&quot;,value:function(){var t=this;if(t.isVideo&amp;&amp;null!==t.media.rendererName&amp;&amp;-1&lt;t.media.rendererName.indexOf(&quot;iframe&quot;)&amp;&amp;!x.default.getElementById(t.media.id+&quot;-iframe-overlay&quot;)){var e=x.default.createElement(&quot;div&quot;),n=x.default.getElementById(t.media.id+&quot;_&quot;+t.media.rendererName);e.id=t.media.id+&quot;-iframe-overlay&quot;,e.className=t.options.classPrefix+&quot;iframe-overlay&quot;,e.addEventListener(&quot;click&quot;,function(e){t.options.clickToPlayPause&amp;&amp;(t.paused?t.play():t.pause(),e.preventDefault(),e.stopPropagation())}),n.parentNode.insertBefore(e,n)}}},{key:&quot;resetSize&quot;,value:function(){var e=this;setTimeout(function(){e.setPlayerSize(e.width,e.height),e.setControlsSize()},50)}},{key:&quot;setPoster&quot;,value:function(e){var t=this;if(t.getElement(t.container)){var n=t.getElement(t.container).querySelector(&quot;.&quot;+t.options.classPrefix+&quot;poster&quot;);n||((n=x.default.createElement(&quot;div&quot;)).className=t.options.classPrefix+&quot;poster &quot;+t.options.classPrefix+&quot;layer&quot;,t.getElement(t.layers).appendChild(n));var o=n.querySelector(&quot;img&quot;);!o&amp;&amp;e&amp;&amp;((o=x.default.createElement(&quot;img&quot;)).className=t.options.classPrefix+&quot;poster-img&quot;,o.width=&quot;100%&quot;,o.height=&quot;100%&quot;,n.style.display=&quot;&quot;,n.appendChild(o)),e?(o.setAttribute(&quot;src&quot;,e),n.style.backgroundImage=&#039;url(&quot;&#039;+e+&#039;&quot;)&#039;,n.style.display=&quot;&quot;):o?(n.style.backgroundImage=&quot;none&quot;,n.style.display=&quot;none&quot;,o.remove()):n.style.display=&quot;none&quot;}else(w.IS_IPAD&amp;&amp;t.options.iPadUseNativeControls||w.IS_IPHONE&amp;&amp;t.options.iPhoneUseNativeControls||w.IS_ANDROID&amp;&amp;t.options.AndroidUseNativeControls)&amp;&amp;(t.media.originalNode.poster=e)}},{key:&quot;changeSkin&quot;,value:function(e){var t=this;t.getElement(t.container).className=t.options.classPrefix+&quot;container &quot;+e,t.setPlayerSize(t.width,t.height),t.setControlsSize()}},{key:&quot;globalBind&quot;,value:function(e,n){var o=this.node?this.node.ownerDocument:x.default;if((e=(0,m.splitEvents)(e,this.id)).d)for(var t=e.d.split(&quot; &quot;),i=0,r=t.length;i&lt;r;i++)t[i].split(&quot;.&quot;).reduce(function(e,t){return o.addEventListener(t,n,!1),t},&quot;&quot;);if(e.w)for(var a=e.w.split(&quot; &quot;),s=0,l=a.length;s&lt;l;s++)a[s].split(&quot;.&quot;).reduce(function(e,t){return S.default.addEventListener(t,n,!1),t},&quot;&quot;)}},{key:&quot;globalUnbind&quot;,value:function(e,n){var o=this.node?this.node.ownerDocument:x.default;if((e=(0,m.splitEvents)(e,this.id)).d)for(var t=e.d.split(&quot; &quot;),i=0,r=t.length;i&lt;r;i++)t[i].split(&quot;.&quot;).reduce(function(e,t){return o.removeEventListener(t,n,!1),t},&quot;&quot;);if(e.w)for(var a=e.w.split(&quot; &quot;),s=0,l=a.length;s&lt;l;s++)a[s].split(&quot;.&quot;).reduce(function(e,t){return S.default.removeEventListener(t,n,!1),t},&quot;&quot;)}},{key:&quot;buildfeatures&quot;,value:function(e,t,n,o){for(var i=0,r=this.options.features.length;i&lt;r;i++){var a=this.options.features[i];if(this[&quot;build&quot;+a])try{this[&quot;build&quot;+a](e,t,n,o)}catch(e){console.error(&quot;error building &quot;+a,e)}}}},{key:&quot;buildposter&quot;,value:function(e,t,n,o){var i=this,r=x.default.createElement(&quot;div&quot;);r.className=i.options.classPrefix+&quot;poster &quot;+i.options.classPrefix+&quot;layer&quot;,n.appendChild(r);var a=o.originalNode.getAttribute(&quot;poster&quot;);&quot;&quot;!==e.options.poster&amp;&amp;(a&amp;&amp;w.IS_IOS&amp;&amp;o.originalNode.removeAttribute(&quot;poster&quot;),a=e.options.poster),a?i.setPoster(a):null!==i.media.renderer&amp;&amp;&quot;function&quot;==typeof i.media.renderer.getPosterUrl?i.setPoster(i.media.renderer.getPosterUrl()):r.style.display=&quot;none&quot;,o.addEventListener(&quot;play&quot;,function(){r.style.display=&quot;none&quot;}),o.addEventListener(&quot;playing&quot;,function(){r.style.display=&quot;none&quot;}),e.options.showPosterWhenEnded&amp;&amp;e.options.autoRewind&amp;&amp;o.addEventListener(&quot;ended&quot;,function(){r.style.display=&quot;&quot;}),o.addEventListener(&quot;error&quot;,function(){r.style.display=&quot;none&quot;}),e.options.showPosterWhenPaused&amp;&amp;o.addEventListener(&quot;pause&quot;,function(){e.ended||(r.style.display=&quot;&quot;)})}},{key:&quot;buildoverlays&quot;,value:function(t,e,n,o){if(t.isVideo){var i=this,r=x.default.createElement(&quot;div&quot;),a=x.default.createElement(&quot;div&quot;),s=x.default.createElement(&quot;div&quot;);r.style.display=&quot;none&quot;,r.className=i.options.classPrefix+&quot;overlay &quot;+i.options.classPrefix+&quot;layer&quot;,r.innerHTML=&#039;<div class="''+i.options.classPrefix+''overlay-loading"><span class="''+i.options.classPrefix+''overlay-loading-bg-img"></span></div>'',n.appendChild(r),a.style.display="none",a.className=i.options.classPrefix+"overlay "+i.options.classPrefix+"layer",a.innerHTML=''<div class="''+i.options.classPrefix+''overlay-error"></div>'',n.appendChild(a),s.className=i.options.classPrefix+"overlay "+i.options.classPrefix+"layer "+i.options.classPrefix+"overlay-play",s.innerHTML=''<div class="''+i.options.classPrefix+''overlay-button" role="button"></div>'',s.addEventListener("click",function(){if(i.options.clickToPlayPause){var e=i.getElement(i.container).querySelector("."+i.options.classPrefix+"overlay-button"),t=e.getAttribute("aria-pressed");i.paused?i.play():i.pause(),e.setAttribute("aria-pressed",!!t),i.getElement(i.container).focus()}}),s.addEventListener("keydown",function(e){var t=e.keyCode||e.which||0;if(13===t||w.IS_FIREFOX&amp;&amp;32===t){var n=(0,m.createEvent)("click",s);return s.dispatchEvent(n),!1}}),n.appendChild(s),null!==i.media.rendererName&amp;&amp;(/(youtube|facebook)/i.test(i.media.rendererName)&amp;&amp;!(i.media.originalNode.getAttribute("poster")||t.options.poster||"function"==typeof i.media.renderer.getPosterUrl&amp;&amp;i.media.renderer.getPosterUrl())||w.IS_STOCK_ANDROID||i.media.originalNode.getAttribute("autoplay"))&amp;&amp;(s.style.display="none");var l=!1;o.addEventListener("play",function(){s.style.display="none",r.style.display="none",a.style.display="none",l=!1}),o.addEventListener("playing",function(){s.style.display="none",r.style.display="none",a.style.display="none",l=!1}),o.addEventListener("seeking",function(){s.style.display="none",r.style.display="",l=!1}),o.addEventListener("seeked",function(){s.style.display=i.paused&amp;&amp;!w.IS_STOCK_ANDROID?"":"none",r.style.display="none",l=!1}),o.addEventListener("pause",function(){r.style.display="none",w.IS_STOCK_ANDROID||l||(s.style.display=""),l=!1}),o.addEventListener("waiting",function(){r.style.display="",l=!1}),o.addEventListener("loadeddata",function(){r.style.display="",w.IS_ANDROID&amp;&amp;(o.canplayTimeout=setTimeout(function(){if(x.default.createEvent){var e=x.default.createEvent("HTMLEvents");return e.initEvent("canplay",!0,!0),o.dispatchEvent(e)}},300)),l=!1}),o.addEventListener("canplay",function(){r.style.display="none",clearTimeout(o.canplayTimeout),l=!1}),o.addEventListener("error",function(e){i._handleError(e,i.media,i.node),r.style.display="none",s.style.display="none",l=!0}),o.addEventListener("loadedmetadata",function(){i.controlsEnabled||i.enableControls()}),o.addEventListener("keydown",function(e){i.onkeydown(t,o,e),l=!1})}}},{key:"buildkeyboard",value:function(o,e,t,i){var r=this;r.getElement(r.container).addEventListener("keydown",function(){r.keyboardAction=!0}),r.globalKeydownCallback=function(e){var t=x.default.activeElement.closest("."+r.options.classPrefix+"container"),n=r.media.closest("."+r.options.classPrefix+"container");return r.hasFocus=!(!t||!n||t.id!==n.id),r.onkeydown(o,i,e)},r.globalClickCallback=function(e){r.hasFocus=!!e.target.closest("."+r.options.classPrefix+"container")},r.globalBind("keydown",r.globalKeydownCallback),r.globalBind("click",r.globalClickCallback)}},{key:"onkeydown",value:function(e,t,n){if(e.hasFocus&amp;&amp;e.options.enableKeyboard)for(var o=0,i=e.options.keyActions.length;o&lt;i;o++)for(var r=e.options.keyActions[o],a=0,s=r.keys.length;a<s>img");(e&amp;&amp;l.node.setAttribute("poster",e.src),delete l.node.autoplay,l.node.setAttribute("src",""),""!==l.media.canPlayType((0,p.getTypeFromFile)(u))&amp;&amp;l.node.setAttribute("src",u),d&amp;&amp;-1&lt;d.indexOf(&quot;iframe&quot;))&amp;&amp;x.default.getElementById(l.media.id+&quot;-iframe-overlay&quot;).remove();var i=l.node.cloneNode();if(i.style.display=&quot;&quot;,l.getElement(l.container).parentNode.insertBefore(i,l.getElement(l.container)),l.node.remove(),l.mediaFiles)for(var t=0,n=l.mediaFiles.length;t&lt;n;t++){var o=x.default.createElement(&quot;source&quot;);o.setAttribute(&quot;src&quot;,l.mediaFiles[t].src),o.setAttribute(&quot;type&quot;,l.mediaFiles[t].type),i.appendChild(o)}if(l.trackFiles)for(var r=function(e,t){var n=l.trackFiles[e],o=x.default.createElement(&quot;track&quot;);o.kind=n.kind,o.label=n.label,o.srclang=n.srclang,o.src=n.src,i.appendChild(o),o.addEventListener(&quot;load&quot;,function(){this.mode=&quot;showing&quot;,i.textTracks[e].mode=&quot;showing&quot;})},a=0,s=l.trackFiles.length;a&lt;s;a++)r(a);delete l.node,delete l.mediaFiles,delete l.trackFiles}(),l.media.renderer&amp;&amp;&quot;function&quot;==typeof l.media.renderer.destroy&amp;&amp;l.media.renderer.destroy(),delete f.default.players[l.id],&quot;object&quot;===i(l.getElement(l.container)))&amp;&amp;(l.getElement(l.container).parentNode.querySelector(&quot;.&quot;+l.options.classPrefix+&quot;offscreen&quot;).remove(),l.getElement(l.container).remove());l.globalUnbind(&quot;resize&quot;,l.globalResizeCallback),l.globalUnbind(&quot;keydown&quot;,l.globalKeydownCallback),l.globalUnbind(&quot;click&quot;,l.globalClickCallback),delete l.media.player}},{key:&quot;paused&quot;,get:function(){return this.proxy.paused}},{key:&quot;muted&quot;,get:function(){return this.proxy.muted},set:function(e){this.setMuted(e)}},{key:&quot;ended&quot;,get:function(){return this.proxy.ended}},{key:&quot;readyState&quot;,get:function(){return this.proxy.readyState}},{key:&quot;currentTime&quot;,set:function(e){this.setCurrentTime(e)},get:function(){return this.getCurrentTime()}},{key:&quot;duration&quot;,get:function(){return this.getDuration()}},{key:&quot;volume&quot;,set:function(e){this.setVolume(e)},get:function(){return this.getVolume()}},{key:&quot;src&quot;,set:function(e){this.setSrc(e)},get:function(){return this.getSrc()}}]),r}();S.default.MediaElementPlayer=l,f.default.MediaElementPlayer=l,n.default=l},{17:17,2:2,25:25,26:26,27:27,28:28,3:3,30:30,5:5,6:6,7:7}],17:[function(e,t,n){&quot;use strict&quot;;Object.defineProperty(n,&quot;__esModule&quot;,{value:!0});var o,i=function(){function o(e,t){for(var n=0;n&lt;t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,&quot;value&quot;in o&amp;&amp;(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(e,t,n){return t&amp;&amp;o(e.prototype,t),n&amp;&amp;o(e,n),e}}(),r=e(3),a=(o=r)&amp;&amp;o.__esModule?o:{default:o};var s=function(){function e(t){return function(e,t){if(!(e instanceof t))throw new TypeError(&quot;Cannot call a class as a function&quot;)}(this,e),this.media=t.media,this.isVideo=t.isVideo,this.classPrefix=t.options.classPrefix,this.createIframeLayer=function(){return t.createIframeLayer()},this.setPoster=function(e){return t.setPoster(e)},this}return i(e,[{key:&quot;play&quot;,value:function(){this.media.play()}},{key:&quot;pause&quot;,value:function(){this.media.pause()}},{key:&quot;load&quot;,value:function(){this.isLoaded||this.media.load(),this.isLoaded=!0}},{key:&quot;setCurrentTime&quot;,value:function(e){this.media.setCurrentTime(e)}},{key:&quot;getCurrentTime&quot;,value:function(){return this.media.currentTime}},{key:&quot;getDuration&quot;,value:function(){var e=this.media.getDuration();return e===1/0&amp;&amp;this.media.seekable&amp;&amp;this.media.seekable.length&amp;&amp;(e=this.media.seekable.end(0)),e}},{key:&quot;setVolume&quot;,value:function(e){this.media.setVolume(e)}},{key:&quot;getVolume&quot;,value:function(){return this.media.getVolume()}},{key:&quot;setMuted&quot;,value:function(e){this.media.setMuted(e)}},{key:&quot;setSrc&quot;,value:function(e){var t=this,n=document.getElementById(t.media.id+&quot;-iframe-overlay&quot;);n&amp;&amp;n.remove(),t.media.setSrc(e),t.createIframeLayer(),null!==t.media.renderer&amp;&amp;&quot;function&quot;==typeof t.media.renderer.getPosterUrl&amp;&amp;t.setPoster(t.media.renderer.getPosterUrl())}},{key:&quot;getSrc&quot;,value:function(){return this.media.getSrc()}},{key:&quot;canPlayType&quot;,value:function(e){return this.media.canPlayType(e)}},{key:&quot;paused&quot;,get:function(){return this.media.paused}},{key:&quot;muted&quot;,set:function(e){this.setMuted(e)},get:function(){return this.media.muted}},{key:&quot;ended&quot;,get:function(){return this.media.ended}},{key:&quot;readyState&quot;,get:function(){return this.media.readyState}},{key:&quot;currentTime&quot;,set:function(e){this.setCurrentTime(e)},get:function(){return this.getCurrentTime()}},{key:&quot;duration&quot;,get:function(){return this.getDuration()}},{key:&quot;remainingTime&quot;,get:function(){return this.getDuration()-this.currentTime()}},{key:&quot;volume&quot;,set:function(e){this.setVolume(e)},get:function(){return this.getVolume()}},{key:&quot;src&quot;,set:function(e){this.setSrc(e)},get:function(){return this.getSrc()}}]),e}();n.default=s,a.default.DefaultPlayer=s},{3:3}],18:[function(e,t,n){&quot;use strict&quot;;a(e(3));var o,i=a(e(7)),r=a(e(16));function a(e){return e&amp;&amp;e.__esModule?e:{default:e}}&quot;undefined&quot;!=typeof jQuery?i.default.$=jQuery:&quot;undefined&quot;!=typeof Zepto?i.default.$=Zepto:&quot;undefined&quot;!=typeof ender&amp;&amp;(i.default.$=ender),void 0!==(o=i.default.$)&amp;&amp;(o.fn.mediaelementplayer=function(e){return!1===e?this.each(function(){var e=o(this).data(&quot;mediaelementplayer&quot;);e&amp;&amp;e.remove(),o(this).removeData(&quot;mediaelementplayer&quot;)}):this.each(function(){o(this).data(&quot;mediaelementplayer&quot;,new r.default(this,e))}),this},o(document).ready(function(){o(&quot;.&quot;+i.default.MepDefaults.classPrefix+&quot;player&quot;).mediaelementplayer()}))},{16:16,3:3,7:7}],19:[function(e,t,n){&quot;use strict&quot;;var b=&quot;function&quot;==typeof Symbol&amp;&amp;&quot;symbol&quot;==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;&quot;function&quot;==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?&quot;symbol&quot;:typeof e},S=a(e(3)),x=a(e(7)),w=e(8),P=e(27),o=e(28),i=e(25),r=e(26);function a(e){return e&amp;&amp;e.__esModule?e:{default:e}}var T={promise:null,load:function(e){return&quot;undefined&quot;!=typeof dashjs?T.promise=new Promise(function(e){e()}).then(function(){T._createPlayer(e)}):(e.options.path=&quot;string&quot;==typeof e.options.path?e.options.path:&quot;https://cdn.dashjs.org/latest/dash.all.min.js&quot;,T.promise=T.promise||(0,r.loadScript)(e.options.path),T.promise.then(function(){T._createPlayer(e)})),T.promise},_createPlayer:function(e){var t=dashjs.MediaPlayer().create();return S.default[&quot;__ready__&quot;+e.id](t),t}},s={name:&quot;native_dash&quot;,options:{prefix:&quot;native_dash&quot;,dash:{path:&quot;https://cdn.dashjs.org/latest/dash.all.min.js&quot;,debug:!1,drm:{},robustnessLevel:&quot;&quot;}},canPlayType:function(e){return i.HAS_MSE&amp;&amp;-1&lt;[&quot;application/dash+xml&quot;].indexOf(e.toLowerCase())},create:function(s,l,e){var t=s.originalNode,r=s.id+&quot;_&quot;+l.prefix,a=t.autoplay,n=t.children,d=null,u=null;t.removeAttribute(&quot;type&quot;);for(var o=0,i=n.length;o&lt;i;o++)n[o].removeAttribute(&quot;type&quot;);d=t.cloneNode(!0),l=Object.assign(l,s.options);for(var c=x.default.html5media.properties,f=x.default.html5media.events.concat([&quot;click&quot;,&quot;mouseover&quot;,&quot;mouseout&quot;]).filter(function(e){return&quot;error&quot;!==e}),p=function(e){var t=(0,P.createEvent)(e.type,s);s.dispatchEvent(t)},m=function(i){var e=&quot;&quot;+i.substring(0,1).toUpperCase()+i.substring(1);d[&quot;get&quot;+e]=function(){return null!==u?d[i]:null},d[&quot;set&quot;+e]=function(e){if(-1===x.default.html5media.readOnlyProperties.indexOf(i))if(&quot;src&quot;===i){var t=&quot;object&quot;===(void 0===e?&quot;undefined&quot;:b(e))&amp;&amp;e.src?e.src:e;if(d[i]=t,null!==u){u.reset();for(var n=0,o=f.length;n&lt;o;n++)d.removeEventListener(f[n],p);u=T._createPlayer({options:l.dash,id:r}),e&amp;&amp;&quot;object&quot;===(void 0===e?&quot;undefined&quot;:b(e))&amp;&amp;&quot;object&quot;===b(e.drm)&amp;&amp;(u.setProtectionData(e.drm),(0,P.isString)(l.dash.robustnessLevel)&amp;&amp;l.dash.robustnessLevel&amp;&amp;u.getProtectionController().setRobustnessLevel(l.dash.robustnessLevel)),u.attachSource(t),a&amp;&amp;u.play()}}else d[i]=e}},h=0,v=c.length;h&lt;v;h++)m(c[h]);if(S.default[&quot;__ready__&quot;+r]=function(e){s.dashPlayer=u=e;for(var t,n=dashjs.MediaPlayer.events,o=0,i=f.length;o&lt;i;o++)&quot;loadedmetadata&quot;===(t=f[o])&amp;&amp;(u.initialize(),u.attachView(d),u.setAutoPlay(!1),&quot;object&quot;!==b(l.dash.drm)||x.default.Utils.isObjectEmpty(l.dash.drm)||(u.setProtectionData(l.dash.drm),(0,P.isString)(l.dash.robustnessLevel)&amp;&amp;l.dash.robustnessLevel&amp;&amp;u.getProtectionController().setRobustnessLevel(l.dash.robustnessLevel)),u.attachSource(d.getSrc())),d.addEventListener(t,p);var r=function(e){if(&quot;error&quot;===e.type.toLowerCase())s.generateError(e.message,d.src),console.error(e);else{var t=(0,P.createEvent)(e.type,s);t.data=e,s.dispatchEvent(t)}};for(var a in n)n.hasOwnProperty(a)&amp;&amp;u.on(n[a],function(e){return r(e)})},e&amp;&amp;0&lt;e.length)for(var g=0,y=e.length;gt[0]||n[0]===t[0]&amp;&amp;n[1]&gt;t[1]||n[0]===t[0]&amp;&amp;n[1]===t[1]&amp;&amp;n[2]&gt;=t[2]},addPlugin:function(e,t,n,o,i){r.plugins[e]=r.detectPlugin(t,n,o,i)},detectPlugin:function(e,t,n,o){var i=[0,0,0],r=void 0,a=void 0;if(null!==F.NAV.plugins&amp;&amp;void 0!==F.NAV.plugins&amp;&amp;"object"===d(F.NAV.plugins[e])){if((r=F.NAV.plugins[e].description)&amp;&amp;(void 0===F.NAV.mimeTypes||!F.NAV.mimeTypes[t]||F.NAV.mimeTypes[t].enabledPlugin))for(var s=0,l=(i=r.replace(e,"").replace(/^\\s+/,"").replace(/\\sr/gi,".").split(".")).length;s&lt;l;s++)i[s]=parseInt(i[s].match(/\\d+/),10)}else if(void 0!==C.default.ActiveXObject)try{(a=new ActiveXObject(n))&amp;&amp;(i=o(a))}catch(e){}return i}};r.addPlugin(&quot;flash&quot;,&quot;Shockwave Flash&quot;,&quot;application/x-shockwave-flash&quot;,&quot;ShockwaveFlash.ShockwaveFlash&quot;,function(e){var t=[],n=e.GetVariable(&quot;$version&quot;);return n&amp;&amp;(n=n.split(&quot; &quot;)[1].split(&quot;,&quot;),t=[parseInt(n[0],10),parseInt(n[1],10),parseInt(n[2],10)]),t});var i={create:function(e,t,n){var r={},o=!1;r.options=t,r.id=e.id+&quot;_&quot;+r.options.prefix,r.mediaElement=e,r.flashState={},r.flashApi=null,r.flashApiStack=[];for(var i=_.default.html5media.properties,a=function(t){r.flashState[t]=null;var e=&quot;&quot;+t.substring(0,1).toUpperCase()+t.substring(1);r[&quot;get&quot;+e]=function(){if(null!==r.flashApi){if(&quot;function&quot;==typeof r.flashApi[&quot;get_&quot;+t]){var e=r.flashApi[&quot;get_&quot;+t]();return&quot;buffered&quot;===t?{start:function(){return 0},end:function(){return e},length:1}:e}return null}return null},r[&quot;set&quot;+e]=function(e){if(&quot;src&quot;===t&amp;&amp;(e=(0,j.absolutizeUrl)(e)),null!==r.flashApi&amp;&amp;void 0!==r.flashApi[&quot;set_&quot;+t])try{r.flashApi[&quot;set_&quot;+t](e)}catch(e){}else r.flashApiStack.push({type:&quot;set&quot;,propName:t,value:e})}},s=0,l=i.length;s&lt;l;s++)a(i[s]);var d=_.default.html5media.methods,u=function(e){r[e]=function(){if(o)if(null!==r.flashApi){if(r.flashApi[&quot;fire_&quot;+e])try{r.flashApi[&quot;fire_&quot;+e]()}catch(e){}}else r.flashApiStack.push({type:&quot;call&quot;,methodName:e})}};d.push(&quot;stop&quot;);for(var c=0,f=d.length;c&lt;f;c++)u(d[c]);for(var p=[&quot;rendererready&quot;],m=0,h=p.length;m&lt;h;m++){var v=(0,L.createEvent)(p[m],r);e.dispatchEvent(v)}C.default[&quot;__ready__&quot;+r.id]=function(){if(r.flashReady=!0,r.flashApi=k.default.getElementById(&quot;__&quot;+r.id),r.flashApiStack.length)for(var e=0,t=r.flashApiStack.length;e&lt;t;e++){var n=r.flashApiStack[e];if(&quot;set&quot;===n.type){var o=n.propName,i=&quot;&quot;+o.substring(0,1).toUpperCase()+o.substring(1);r[&quot;set&quot;+i](n.value)}else&quot;call&quot;===n.type&amp;&amp;r[n.methodName]()}},C.default[&quot;__event__&quot;+r.id]=function(e,t){var n=(0,L.createEvent)(e,r);if(t)try{n.data=JSON.parse(t),n.details.data=JSON.parse(t)}catch(e){n.message=t}r.mediaElement.dispatchEvent(n)},r.flashWrapper=k.default.createElement(&quot;div&quot;),-1===[&quot;always&quot;,&quot;sameDomain&quot;].indexOf(r.options.shimScriptAccess)&amp;&amp;(r.options.shimScriptAccess=&quot;sameDomain&quot;);var g=e.originalNode.autoplay,y=[&quot;uid=&quot;+r.id,&quot;autoplay=&quot;+g,&quot;allowScriptAccess=&quot;+r.options.shimScriptAccess,&quot;preload=&quot;+(e.originalNode.getAttribute(&quot;preload&quot;)||&quot;&quot;)],E=null!==e.originalNode&amp;&amp;&quot;video&quot;===e.originalNode.tagName.toLowerCase(),b=E?e.originalNode.height:1,S=E?e.originalNode.width:1;e.originalNode.getAttribute(&quot;src&quot;)&amp;&amp;y.push(&quot;src=&quot;+e.originalNode.getAttribute(&quot;src&quot;)),!0===r.options.enablePseudoStreaming&amp;&amp;(y.push(&quot;pseudostreamstart=&quot;+r.options.pseudoStreamingStartQueryParam),y.push(&quot;pseudostreamtype=&quot;+r.options.pseudoStreamingType)),r.options.streamDelimiter&amp;&amp;y.push(&quot;streamdelimiter=&quot;+encodeURIComponent(r.options.streamDelimiter)),r.options.proxyType&amp;&amp;y.push(&quot;proxytype=&quot;+r.options.proxyType),e.appendChild(r.flashWrapper),e.originalNode.style.display=&quot;none&quot;;var x=[];if(F.IS_IE||F.IS_EDGE){var w=k.default.createElement(&quot;div&quot;);r.flashWrapper.appendChild(w),x=F.IS_EDGE?[&#039;type=&quot;application/x-shockwave-flash&quot;&#039;,&#039;data=&quot;&#039;+r.options.pluginPath+r.options.filename+&#039;&quot;&#039;,&#039;id=&quot;__&#039;+r.id+&#039;&quot;&#039;,&#039;width=&quot;&#039;+S+&#039;&quot;&#039;,&#039;height=&quot;&#039;+b+&quot;&#039;\\&quot;&quot;]:[&#039;classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot;&#039;,&#039;codebase=&quot;//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab&quot;&#039;,&#039;id=&quot;__&#039;+r.id+&#039;&quot;&#039;,&#039;width=&quot;&#039;+S+&#039;&quot;&#039;,&#039;height=&quot;&#039;+b+&#039;&quot;&#039;],E||x.push(&#039;style=&quot;clip: rect(0 0 0 0); position: absolute;&quot;&#039;),w.outerHTML=&quot;<object><div>''+N.default.t("mejs.install-flash")+"</div></object>"}else x=[''id="__''+r.id+''"'',''name="__''+r.id+''"'',''play="true"'',''loop="false"'',''quality="high"'',''bgcolor="#000000"'',''wmode="transparent"'',''allowScriptAccess="''+r.options.shimScriptAccess+''"'',''allowFullScreen="true"'',''type="application/x-shockwave-flash"'',''pluginspage="//www.macromedia.com/go/getflashplayer"'',''src="''+r.options.pluginPath+r.options.filename+''"'',''flashvars="''+y.join("&amp;")+''"''],E?(x.push(''width="''+S+''"''),x.push(''height="''+b+''"'')):x.push(''style="position: fixed; left: -9999em; top: -9999em;"''),r.flashWrapper.innerHTML="";if(r.flashNode=r.flashWrapper.lastChild,r.hide=function(){o=!1,E&amp;&amp;(r.flashNode.style.display="none")},r.show=function(){o=!0,E&amp;&amp;(r.flashNode.style.display="")},r.setSize=function(e,t){r.flashNode.style.width=e+"px",r.flashNode.style.height=t+"px",null!==r.flashApi&amp;&amp;"function"==typeof r.flashApi.fire_setSize&amp;&amp;r.flashApi.fire_setSize(e,t)},r.destroy=function(){r.flashNode.remove()},n&amp;&amp;0&lt;n.length)for(var P=0,T=n.length;P&lt;T;P++)if(A.renderer.renderers[t.prefix].canPlayType(n[P].type)){r.setSrc(n[P].src);break}return r}};if(r.hasPluginVersion(&quot;flash&quot;,[10,0,0])){j.typeChecks.push(function(e){return(e=e.toLowerCase()).startsWith(&quot;rtmp&quot;)?~e.indexOf(&quot;.mp3&quot;)?&quot;audio/rtmp&quot;:&quot;video/rtmp&quot;:/\\.og(a|g)/i.test(e)?&quot;audio/ogg&quot;:~e.indexOf(&quot;.m3u8&quot;)?&quot;application/x-mpegURL&quot;:~e.indexOf(&quot;.mpd&quot;)?&quot;application/dash+xml&quot;:~e.indexOf(&quot;.flv&quot;)?&quot;video/flv&quot;:null});var a={name:&quot;flash_video&quot;,options:{prefix:&quot;flash_video&quot;,filename:&quot;mediaelement-flash-video.swf&quot;,enablePseudoStreaming:!1,pseudoStreamingStartQueryParam:&quot;start&quot;,pseudoStreamingType:&quot;byte&quot;,proxyType:&quot;&quot;,streamDelimiter:&quot;&quot;},canPlayType:function(e){return~[&quot;video/mp4&quot;,&quot;video/rtmp&quot;,&quot;audio/rtmp&quot;,&quot;rtmp/mp4&quot;,&quot;audio/mp4&quot;,&quot;video/flv&quot;,&quot;video/x-flv&quot;].indexOf(e.toLowerCase())},create:i.create};A.renderer.add(a);var s={name:&quot;flash_hls&quot;,options:{prefix:&quot;flash_hls&quot;,filename:&quot;mediaelement-flash-video-hls.swf&quot;},canPlayType:function(e){return~[&quot;application/x-mpegurl&quot;,&quot;application/vnd.apple.mpegurl&quot;,&quot;audio/mpegurl&quot;,&quot;audio/hls&quot;,&quot;video/hls&quot;].indexOf(e.toLowerCase())},create:i.create};A.renderer.add(s);var l={name:&quot;flash_dash&quot;,options:{prefix:&quot;flash_dash&quot;,filename:&quot;mediaelement-flash-video-mdash.swf&quot;},canPlayType:function(e){return~[&quot;application/dash+xml&quot;].indexOf(e.toLowerCase())},create:i.create};A.renderer.add(l);var u={name:&quot;flash_audio&quot;,options:{prefix:&quot;flash_audio&quot;,filename:&quot;mediaelement-flash-audio.swf&quot;},canPlayType:function(e){return~[&quot;audio/mp3&quot;].indexOf(e.toLowerCase())},create:i.create};A.renderer.add(u);var c={name:&quot;flash_audio_ogg&quot;,options:{prefix:&quot;flash_audio_ogg&quot;,filename:&quot;mediaelement-flash-audio-ogg.swf&quot;},canPlayType:function(e){return~[&quot;audio/ogg&quot;,&quot;audio/oga&quot;,&quot;audio/ogv&quot;].indexOf(e.toLowerCase())},create:i.create};A.renderer.add(c)}},{2:2,25:25,27:27,28:28,3:3,5:5,7:7,8:8}],21:[function(e,t,n){&quot;use strict&quot;;var y=&quot;function&quot;==typeof Symbol&amp;&amp;&quot;symbol&quot;==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;&quot;function&quot;==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?&quot;symbol&quot;:typeof e},E=a(e(3)),b=a(e(7)),S=e(8),x=e(27),o=e(25),i=e(28),r=e(26);function a(e){return e&amp;&amp;e.__esModule?e:{default:e}}var w={promise:null,load:function(e){return&quot;undefined&quot;!=typeof flvjs?w.promise=new Promise(function(e){e()}).then(function(){w._createPlayer(e)}):(e.options.path=&quot;string&quot;==typeof e.options.path?e.options.path:&quot;https://cdn.jsdelivr.net/npm/flv.js@latest&quot;,w.promise=w.promise||(0,r.loadScript)(e.options.path),w.promise.then(function(){w._createPlayer(e)})),w.promise},_createPlayer:function(e){flvjs.LoggingControl.enableDebug=e.options.debug,flvjs.LoggingControl.enableVerbose=e.options.debug;var t=flvjs.createPlayer(e.options,e.configs);return E.default[&quot;__ready__&quot;+e.id](t),t}},s={name:&quot;native_flv&quot;,options:{prefix:&quot;native_flv&quot;,flv:{path:&quot;https://cdn.jsdelivr.net/npm/flv.js@latest&quot;,cors:!0,debug:!1}},canPlayType:function(e){return o.HAS_MSE&amp;&amp;-1&lt;[&quot;video/x-flv&quot;,&quot;video/flv&quot;].indexOf(e.toLowerCase())},create:function(s,a,e){var t=s.originalNode,l=s.id+&quot;_&quot;+a.prefix,d=null,u=null;d=t.cloneNode(!0),a=Object.assign(a,s.options);for(var n=b.default.html5media.properties,c=b.default.html5media.events.concat([&quot;click&quot;,&quot;mouseover&quot;,&quot;mouseout&quot;]).filter(function(e){return&quot;error&quot;!==e}),f=function(e){var t=(0,x.createEvent)(e.type,s);s.dispatchEvent(t)},o=function(r){var e=&quot;&quot;+r.substring(0,1).toUpperCase()+r.substring(1);d[&quot;get&quot;+e]=function(){return null!==u?d[r]:null},d[&quot;set&quot;+e]=function(e){if(-1===b.default.html5media.readOnlyProperties.indexOf(r))if(&quot;src&quot;===r){if(d[r]=&quot;object&quot;===(void 0===e?&quot;undefined&quot;:y(e))&amp;&amp;e.src?e.src:e,null!==u){var t={type:&quot;flv&quot;};t.url=e,t.cors=a.flv.cors,t.debug=a.flv.debug,t.path=a.flv.path;var n=a.flv.configs;u.destroy();for(var o=0,i=c.length;o&lt;i;o++)d.removeEventListener(c[o],f);(u=w._createPlayer({options:t,configs:n,id:l})).attachMediaElement(d),u.load()}}else d[r]=e}},i=0,r=n.length;i&lt;r;i++)o(n[i]);if(E.default[&quot;__ready__&quot;+l]=function(e){s.flvPlayer=u=e;for(var t,i=flvjs.Events,n=0,o=c.length;n&lt;o;n++)&quot;loadedmetadata&quot;===(t=c[n])&amp;&amp;(u.unload(),u.detachMediaElement(),u.attachMediaElement(d),u.load()),d.addEventListener(t,f);var r=function(o){i.hasOwnProperty(o)&amp;&amp;u.on(i[o],function(){for(var e=arguments.length,t=Array(e),n=0;n&lt;e;n++)t[n]=arguments[n];return function(e,t){if(&quot;error&quot;===e){var n=t[0]+&quot;: &quot;+t[1]+&quot; &quot;+t[2].msg;s.generateError(n,d.src)}else{var o=(0,x.createEvent)(e,s);o.data=t,s.dispatchEvent(o)}}(i[o],t)})};for(var a in i)r(a)},e&amp;&amp;0&lt;e.length)for(var p=0,m=e.length;p&lt;m;p++)if(S.renderer.renderers[a.prefix].canPlayType(e[p].type)){d.setAttribute(&quot;src&quot;,e[p].src);break}d.setAttribute(&quot;id&quot;,l),t.parentNode.insertBefore(d,t),t.autoplay=!1,t.style.display=&quot;none&quot;;var h={type:&quot;flv&quot;};h.url=d.src,h.cors=a.flv.cors,h.debug=a.flv.debug,h.path=a.flv.path;var v=a.flv.configs;d.setSize=function(e,t){return d.style.width=e+&quot;px&quot;,d.style.height=t+&quot;px&quot;,d},d.hide=function(){return null!==u&amp;&amp;u.pause(),d.style.display=&quot;none&quot;,d},d.show=function(){return d.style.display=&quot;&quot;,d},d.destroy=function(){null!==u&amp;&amp;u.destroy()};var g=(0,x.createEvent)(&quot;rendererready&quot;,d);return s.dispatchEvent(g),s.promises.push(w.load({options:h,configs:v,id:l})),d}};i.typeChecks.push(function(e){return~e.toLowerCase().indexOf(&quot;.flv&quot;)?&quot;video/flv&quot;:null}),S.renderer.add(s)},{25:25,26:26,27:27,28:28,3:3,7:7,8:8}],22:[function(e,t,n){&quot;use strict&quot;;var y=&quot;function&quot;==typeof Symbol&amp;&amp;&quot;symbol&quot;==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&amp;&amp;&quot;function&quot;==typeof Symbol&amp;&amp;e.constructor===Symbol&amp;&amp;e!==Symbol.prototype?&quot;symbol&quot;:typeof e},E=a(e(3)),b=a(e(7)),S=e(8),x=e(27),o=e(25),i=e(28),r=e(26);function a(e){return e&amp;&amp;e.__esModule?e:{default:e}}var w={promise:null,load:function(e){return&quot;undefined&quot;!=typeof Hls?w.promise=new Promise(function(e){e()}).then(function(){w._createPlayer(e)}):(e.options.path=&quot;string&quot;==typeof e.options.path?e.options.path:&quot;https://cdn.jsdelivr.net/npm/hls.js@latest&quot;,w.promise=w.promise||(0,r.loadScript)(e.options.path),w.promise.then(function(){w._createPlayer(e)})),w.promise},_createPlayer:function(e){var t=new Hls(e.options);return E.default[&quot;__ready__&quot;+e.id](t),t}},s={name:&quot;native_hls&quot;,options:{prefix:&quot;native_hls&quot;,hls:{path:&quot;https://cdn.jsdelivr.net/npm/hls.js@latest&quot;,autoStartLoad:!1,debug:!1}},canPlayType:function(e){return o.HAS_MSE&amp;&amp;-1&lt;[&quot;application/x-mpegurl&quot;,&quot;application/vnd.apple.mpegurl&quot;,&quot;audio/mpegurl&quot;,&quot;audio/hls&quot;,&quot;video/hls&quot;].indexOf(e.toLowerCase())},create:function(d,i,u){var e=d.originalNode,r=d.id+&quot;_&quot;+i.prefix,t=e.getAttribute(&quot;preload&quot;),n=e.autoplay,c=null,f=null,p=0,m=u.length;f=e.cloneNode(!0),(i=Object.assign(i,d.options)).hls.autoStartLoad=t&amp;&amp;&quot;none&quot;!==t||n;for(var o=b.default.html5media.properties,h=b.default.html5media.events.concat([&quot;click&quot;,&quot;mouseover&quot;,&quot;mouseout&quot;]).filter(function(e){return&quot;error&quot;!==e}),v=function(e){var t=(0,x.createEvent)(e.type,d);d.dispatchEvent(t)},a=function(o){var e=&quot;&quot;+o.substring(0,1).toUpperCase()+o.substring(1);f[&quot;get&quot;+e]=function(){return null!==c?f[o]:null},f[&quot;set&quot;+e]=function(e){if(-1===b.default.html5media.readOnlyProperties.indexOf(o))if(&quot;src&quot;===o){if(f[o]=&quot;object&quot;===(void 0===e?&quot;undefined&quot;:y(e))&amp;&amp;e.src?e.src:e,null!==c){c.destroy();for(var t=0,n=h.length;t&lt;n;t++)f.removeEventListener(h[t],v);(c=w._createPlayer({options:i.hls,id:r})).loadSource(e),c.attachMedia(f)}}else f[o]=e}},s=0,l=o.length;s&lt;l;s++)a(o[s]);if(E.default[&quot;__ready__&quot;+r]=function(e){d.hlsPlayer=c=e;for(var i=Hls.Events,t=function(e){if(&quot;loadedmetadata&quot;===e){var t=d.originalNode.src;c.detachMedia(),c.loadSource(t),c.attachMedia(f)}f.addEventListener(e,v)},n=0,o=h.length;n&lt;o;n++)t(h[n]);var s=void 0,l=void 0,r=function(o){i.hasOwnProperty(o)&amp;&amp;c.on(i[o],function(){for(var e=arguments.length,t=Array(e),n=0;n&lt;e;n++)t[n]=arguments[n];return function(e,t){if(&quot;hlsError&quot;===e&amp;&amp;(console.warn(t),(t=t[1]).fatal))switch(t.type){case&quot;mediaError&quot;:var n=(new Date).getTime();if(!s||3e3&lt;n-s)s=(new Date).getTime(),c.recoverMediaError();else if(!l||3e3&lt;n-l)l=(new Date).getTime(),console.warn(&quot;Attempting to swap Audio Codec and recover from media error&quot;),c.swapAudioCodec(),c.recoverMediaError();else{var o=&quot;Cannot recover, last media error recovery failed&quot;;d.generateError(o,f.src),console.error(o)}break;case&quot;networkError&quot;:if(&quot;manifestLoadError&quot;===t.details)if(p&lt;m&amp;&amp;void 0!==u[p+1])f.setSrc(u[p++].src),f.load(),f.play();else{var i=&quot;Network error&quot;;d.generateError(i,u),console.error(i)}else{var r=&quot;Network error&quot;;d.generateError(r,u),console.error(r)}break;default:c.destroy()}else{var a=(0,x.createEvent)(e,d);a.data=t,d.dispatchEvent(a)}}(i[o],t)})};for(var a in i)r(a)},0&lt;m)for(;p&lt;m;p++)if(S.renderer.renderers[i.prefix].canPlayType(u[p].type)){f.setAttribute(&quot;src&quot;,u[p].src);break}&quot;auto&quot;===t||n||(f.addEventListener(&quot;play&quot;,function(){null!==c&amp;&amp;c.startLoad()}),f.addEventListener(&quot;pause&quot;,function(){null!==c&amp;&amp;c.stopLoad()})),f.setAttribute(&quot;id&quot;,r),e.parentNode.insertBefore(f,e),e.autoplay=!1,e.style.display=&quot;none&quot;,f.setSize=function(e,t){return f.style.width=e+&quot;px&quot;,f.style.height=t+&quot;px&quot;,f},f.hide=function(){return f.pause(),f.style.display=&quot;none&quot;,f},f.show=function(){return f.style.display=&quot;&quot;,f},f.destroy=function(){null!==c&amp;&amp;(c.stopLoad(),c.destroy())};var g=(0,x.createEvent)(&quot;rendererready&quot;,f);return d.dispatchEvent(g),d.promises.push(w.load({options:i.hls,id:r})),f}};i.typeChecks.push(function(e){return~e.toLowerCase().indexOf(&quot;.m3u8&quot;)?&quot;application/x-mpegURL&quot;:null}),S.renderer.add(s)},{25:25,26:26,27:27,28:28,3:3,7:7,8:8}],23:[function(e,t,n){&quot;use strict&quot;;var o=r(e(3)),g=r(e(2)),y=r(e(7)),E=e(8),b=e(27),i=e(25);function r(e){return e&amp;&amp;e.__esModule?e:{default:e}}var a={name:&quot;html5&quot;,options:{prefix:&quot;html5&quot;},canPlayType:function(e){var t=g.default.createElement(&quot;video&quot;);return i.IS_ANDROID&amp;&amp;/\\/mp(3|4)$/i.test(e)||~[&quot;application/x-mpegurl&quot;,&quot;vnd.apple.mpegurl&quot;,&quot;audio/mpegurl&quot;,&quot;audio/hls&quot;,&quot;video/hls&quot;].indexOf(e.toLowerCase())&amp;&amp;i.SUPPORTS_NATIVE_HLS?&quot;yes&quot;:t.canPlayType?t.canPlayType(e.toLowerCase()).replace(/no/,&quot;&quot;):&quot;&quot;},create:function(n,e,t){var o=n.id+&quot;_&quot;+e.prefix,i=!1,r=null;void 0===n.originalNode||null===n.originalNode?(r=g.default.createElement(&quot;audio&quot;),n.appendChild(r)):r=n.originalNode,r.setAttribute(&quot;id&quot;,o);for(var a=y.default.html5media.properties,s=function(t){var e=&quot;&quot;+t.substring(0,1).toUpperCase()+t.substring(1);r[&quot;get&quot;+e]=function(){return r[t]},r[&quot;set&quot;+e]=function(e){-1===y.default.html5media.readOnlyProperties.indexOf(t)&amp;&amp;(r[t]=e)}},l=0,d=a.length;l&lt;d;l++)s(a[l]);for(var u,c=y.default.html5media.events.concat([&quot;click&quot;,&quot;mouseover&quot;,&quot;mouseout&quot;]).filter(function(e){return&quot;error&quot;!==e}),f=0,p=c.length;f&lt;p;f++)u=c[f],r.addEventListener(u,function(e){if(i){var t=(0,b.createEvent)(e.type,e.target);n.dispatchEvent(t)}});r.setSize=function(e,t){return r.style.width=e+&quot;px&quot;,r.style.height=t+&quot;px&quot;,r},r.hide=function(){return i=!1,r.style.display=&quot;none&quot;,r},r.show=function(){return i=!0,r.style.display=&quot;&quot;,r};var m=0,h=t.length;if(0&lt;h)for(;m&lt;h;m++)if(E.renderer.renderers[e.prefix].canPlayType(t[m].type)){r.setAttribute(&quot;src&quot;,t[m].src);break}r.addEventListener(&quot;error&quot;,function(e){e&amp;&amp;e.target&amp;&amp;e.target.error&amp;&amp;4===e.target.error.code&amp;&amp;i&amp;&amp;(m&lt;h&amp;&amp;void 0!==t[m+1]?(r.src=t[m++].src,r.load(),r.play()):n.generateError(&quot;Media error: Format(s) not supported or source(s) not found&quot;,t))});var v=(0,b.createEvent)(&quot;rendererready&quot;,r);return n.dispatchEvent(v),r}};o.default.HtmlMediaElement=y.default.HtmlMediaElement=a,E.renderer.add(a)},{2:2,25:25,27:27,3:3,7:7,8:8}],24:[function(e,t,n){&quot;use strict&quot;;var w=a(e(3)),P=a(e(2)),T=a(e(7)),o=e(8),C=e(27),i=e(28),r=e(26);function a(e){return e&amp;&amp;e.__esModule?e:{default:e}}var k={isIframeStarted:!1,isIframeLoaded:!1,iframeQueue:[],enqueueIframe:function(e){k.isLoaded=&quot;undefined&quot;!=typeof YT&amp;&amp;YT.loaded,k.isLoaded?k.createIframe(e):(k.loadIframeApi(),k.iframeQueue.push(e))},loadIframeApi:function(){k.isIframeStarted||((0,r.loadScript)(&quot;https://www.youtube.com/player_api&quot;),k.isIframeStarted=!0)},iFrameReady:function(){for(k.isLoaded=!0,k.isIframeLoaded=!0;0&lt;k.iframeQueue.length;){var e=k.iframeQueue.pop();k.createIframe(e)}},createIframe:function(e){return new YT.Player(e.containerId,e)},getYouTubeId:function(e){var t=&quot;&quot;;return 0&lt;e.indexOf(&quot;?&quot;)?&quot;&quot;===(t=k.getYouTubeIdFromParam(e))&amp;&amp;(t=k.getYouTubeIdFromUrl(e)):t=k.getYouTubeIdFromUrl(e),(t=t.substring(t.lastIndexOf(&quot;/&quot;)+1).split(&quot;?&quot;))[0]},getYouTubeIdFromParam:function(e){if(null==e||!e.trim().length)return null;for(var t=e.split(&quot;?&quot;)[1].split(&quot;&amp;&quot;),n=&quot;&quot;,o=0,i=t.length;o&lt;i;o++){var r=t[o].split(&quot;=&quot;);if(&quot;v&quot;===r[0]){n=r[1];break}}return n},getYouTubeIdFromUrl:function(e){return null!=e&amp;&amp;e.trim().length?(e=e.split(&quot;?&quot;)[0]).substring(e.lastIndexOf(&quot;/&quot;)+1):null},getYouTubeNoCookieUrl:function(e){if(null==e||!e.trim().length||-1===e.indexOf(&quot;//www.youtube&quot;))return e;var t=e.split(&quot;/&quot;);return t[2]=t[2].replace(&quot;.com&quot;,&quot;-nocookie.com&quot;),t.join(&quot;/&quot;)}},s={name:&quot;youtube_iframe&quot;,options:{prefix:&quot;youtube_iframe&quot;,youtube:{autoplay:0,controls:0,disablekb:1,end:0,loop:0,modestbranding:0,playsinline:0,rel:0,showinfo:0,start:0,iv_load_policy:3,nocookie:!1,imageQuality:null}},canPlayType:function(e){return~[&quot;video/youtube&quot;,&quot;video/x-youtube&quot;].indexOf(e.toLowerCase())},create:function(m,n,o){var h={},v=[],g=null,r=!0,a=!1,y=null;h.options=n,h.id=m.id+&quot;_&quot;+n.prefix,h.mediaElement=m;for(var e=T.default.html5media.properties,t=function(i){var e=&quot;&quot;+i.substring(0,1).toUpperCase()+i.substring(1);h[&quot;get&quot;+e]=function(){if(null!==g){switch(i){case&quot;currentTime&quot;:return g.getCurrentTime();case&quot;duration&quot;:return g.getDuration();case&quot;volume&quot;:return g.getVolume()/100;case&quot;playbackRate&quot;:return g.getPlaybackRate();case&quot;paused&quot;:return r;case&quot;ended&quot;:return a;case&quot;muted&quot;:return g.isMuted();case&quot;buffered&quot;:var e=g.getVideoLoadedFraction(),t=g.getDuration();return{start:function(){return 0},end:function(){return e*t},length:1};case&quot;src&quot;:return g.getVideoUrl();case&quot;readyState&quot;:return 4}return null}return null},h[&quot;set&quot;+e]=function(e){if(null!==g)switch(i){case&quot;src&quot;:var t=&quot;string&quot;==typeof e?e:e[0].src,n=k.getYouTubeId(t);m.originalNode.autoplay?g.loadVideoById(n):g.cueVideoById(n);break;case&quot;currentTime&quot;:g.seekTo(e);break;case&quot;muted&quot;:e?g.mute():g.unMute(),setTimeout(function(){var e=(0,C.createEvent)(&quot;volumechange&quot;,h);m.dispatchEvent(e)},50);break;case&quot;volume&quot;:e,g.setVolume(100*e),setTimeout(function(){var e=(0,C.createEvent)(&quot;volumechange&quot;,h);m.dispatchEvent(e)},50);break;case&quot;playbackRate&quot;:g.setPlaybackRate(e),setTimeout(function(){var e=(0,C.createEvent)(&quot;ratechange&quot;,h);m.dispatchEvent(e)},50);break;case&quot;readyState&quot;:var o=(0,C.createEvent)(&quot;canplay&quot;,h);m.dispatchEvent(o)}else v.push({type:&quot;set&quot;,propName:i,value:e})}},i=0,s=e.length;i&lt;s;i++)t(e[i]);for(var l=T.default.html5media.methods,d=function(e){h[e]=function(){if(null!==g)switch(e){case&quot;play&quot;:return r=!1,g.playVideo();case&quot;pause&quot;:return r=!0,g.pauseVideo();case&quot;load&quot;:return null}else v.push({type:&quot;call&quot;,methodName:e})}},u=0,c=l.length;u&lt;c;u++)d(l[u]);var f=P.default.createElement(&quot;div&quot;);f.id=h.id,h.options.youtube.nocookie&amp;&amp;(m.originalNode.src=k.getYouTubeNoCookieUrl(o[0].src)),m.originalNode.parentNode.insertBefore(f,m.originalNode),m.originalNode.style.display=&quot;none&quot;;var p=&quot;audio&quot;===m.originalNode.tagName.toLowerCase(),E=p?&quot;1&quot;:m.originalNode.height,b=p?&quot;1&quot;:m.originalNode.width,S=k.getYouTubeId(o[0].src),x={id:h.id,containerId:f.id,videoId:S,height:E,width:b,playerVars:Object.assign({controls:0,rel:0,disablekb:1,showinfo:0,modestbranding:0,html5:1,iv_load_policy:3},h.options.youtube),origin:w.default.location.host,events:{onReady:function(e){if(m.youTubeApi=g=e.target,m.youTubeState={paused:!0,ended:!1},v.length)for(var t=0,n=v.length;t&lt;n;t++){var o=v[t];if(&quot;set&quot;===o.type){var i=o.propName,r=&quot;&quot;+i.substring(0,1).toUpperCase()+i.substring(1);h[&quot;set&quot;+r](o.value)}else&quot;call&quot;===o.type&amp;&amp;h[o.methodName]()}y=g.getIframe(),m.originalNode.muted&amp;&amp;g.mute();for(var a=[&quot;mouseover&quot;,&quot;mouseout&quot;],s=function(e){var t=(0,C.createEvent)(e.type,h);m.dispatchEvent(t)},l=0,d=a.length;l&lt;d;l++)y.addEventListener(a[l],s,!1);for(var u=[&quot;rendererready&quot;,&quot;loadedmetadata&quot;,&quot;loadeddata&quot;,&quot;canplay&quot;],c=0,f=u.length;c&lt;f;c++){var p=(0,C.createEvent)(u[c],h);m.dispatchEvent(p)}},onStateChange:function(e){var t=[];switch(e.data){case-1:t=[&quot;loadedmetadata&quot;],r=!0,a=!1;break;case 0:t=[&quot;ended&quot;],r=!1,a=!h.options.youtube.loop,h.options.youtube.loop||h.stopInterval();break;case 1:t=[&quot;play&quot;,&quot;playing&quot;],a=r=!1,h.startInterval();break;case 2:t=[&quot;pause&quot;],r=!0,a=!1,h.stopInterval();break;case 3:t=[&quot;progress&quot;],a=!1;break;case 5:t=[&quot;loadeddata&quot;,&quot;loadedmetadata&quot;,&quot;canplay&quot;],r=!0,a=!1}for(var n=0,o=t.length;n&lt;o;n++){var i=(0,C.createEvent)(t[n],h);m.dispatchEvent(i)}},onError:function(e){return function(e){var t=&quot;&quot;;switch(e.data){case 2:t=&quot;The request contains an invalid parameter value. Verify that video ID has 11 characters and that contains no invalid characters, such as exclamation points or asterisks.&quot;;break;case 5:t=&quot;The requested content cannot be played in an HTML5 player or another error related to the HTML5 player has occurred.&quot;;break;case 100:t=&quot;The video requested was not found. Either video has been removed or has been marked as private.&quot;;break;case 101:case 105:t=&quot;The owner of the requested video does not allow it to be played in embedded players.&quot;;break;default:t=&quot;Unknown error.&quot;}m.generateError(&quot;Code &quot;+e.data+&quot;: &quot;+t,o)}(e)}}};return(p||m.originalNode.hasAttribute(&quot;playsinline&quot;))&amp;&amp;(x.playerVars.playsinline=1),m.originalNode.controls&amp;&amp;(x.playerVars.controls=1),m.originalNode.autoplay&amp;&amp;(x.playerVars.autoplay=1),m.originalNode.loop&amp;&amp;(x.playerVars.loop=1),(x.playerVars.loop&amp;&amp;1===parseInt(x.playerVars.loop,10)||-1&lt;m.originalNode.src.indexOf(&quot;loop=&quot;))&amp;&amp;!x.playerVars.playlist&amp;&amp;-1===m.originalNode.src.indexOf(&quot;playlist=&quot;)&amp;&amp;(x.playerVars.playlist=k.getYouTubeId(m.originalNode.src)),k.enqueueIframe(x),h.onEvent=function(e,t,n){null!=n&amp;&amp;(m.youTubeState=n)},h.setSize=function(e,t){null!==g&amp;&amp;g.setSize(e,t)},h.hide=function(){h.stopInterval(),h.pause(),y&amp;&amp;(y.style.display=&quot;none&quot;)},h.show=function(){y&amp;&amp;(y.style.display=&quot;&quot;)},h.destroy=function(){g.destroy()},h.interval=null,h.startInterval=function(){h.interval=setInterval(function(){var e=(0,C.createEvent)(&quot;timeupdate&quot;,h);m.dispatchEvent(e)},250)},h.stopInterval=function(){h.interval&amp;&amp;clearInterval(h.interval)},h.getPosterUrl=function(){var e=n.youtube.imageQuality,t=k.getYouTubeId(m.originalNode.src);return e&amp;&amp;-1&lt;[&quot;default&quot;,&quot;hqdefault&quot;,&quot;mqdefault&quot;,&quot;sddefault&quot;,&quot;maxresdefault&quot;].indexOf(e)&amp;&amp;t?&quot;https://img.youtube.com/vi/&quot;+t+&quot;/&quot;+e+&quot;.jpg&quot;:&quot;&quot;},h}};w.default.onYouTubePlayerAPIReady=function(){k.iFrameReady()},i.typeChecks.push(function(e){return/\\/\\/(www\\.youtube|youtu\\.?be)/i.test(e)?&quot;video/x-youtube&quot;:null}),o.renderer.add(s)},{2:2,26:26,27:27,28:28,3:3,7:7,8:8}],25:[function(e,t,n){&quot;use strict&quot;;Object.defineProperty(n,&quot;__esModule&quot;,{value:!0}),n.cancelFullScreen=n.requestFullScreen=n.isFullScreen=n.FULLSCREEN_EVENT_NAME=n.HAS_NATIVE_FULLSCREEN_ENABLED=n.HAS_TRUE_NATIVE_FULLSCREEN=n.HAS_IOS_FULLSCREEN=n.HAS_MS_NATIVE_FULLSCREEN=n.HAS_MOZ_NATIVE_FULLSCREEN=n.HAS_WEBKIT_NATIVE_FULLSCREEN=n.HAS_NATIVE_FULLSCREEN=n.SUPPORTS_NATIVE_HLS=n.SUPPORT_PASSIVE_EVENT=n.SUPPORT_POINTER_EVENTS=n.HAS_MSE=n.IS_STOCK_ANDROID=n.IS_SAFARI=n.IS_FIREFOX=n.IS_CHROME=n.IS_EDGE=n.IS_IE=n.IS_ANDROID=n.IS_IOS=n.IS_IPOD=n.IS_IPHONE=n.IS_IPAD=n.UA=n.NAV=void 0;var i=a(e(3)),r=a(e(2)),o=a(e(7));function a(e){return e&amp;&amp;e.__esModule?e:{default:e}}for(var s=n.NAV=i.default.navigator,l=n.UA=s.userAgent.toLowerCase(),d=n.IS_IPAD=/ipad/i.test(l)&amp;&amp;!i.default.MSStream,u=n.IS_IPHONE=/iphone/i.test(l)&amp;&amp;!i.default.MSStream,c=n.IS_IPOD=/ipod/i.test(l)&amp;&amp;!i.default.MSStream,f=(n.IS_IOS=/ipad|iphone|ipod/i.test(l)&amp;&amp;!i.default.MSStream,n.IS_ANDROID=/android/i.test(l)),p=n.IS_IE=/(trident|microsoft)/i.test(s.appName),m=(n.IS_EDGE=&quot;msLaunchUri&quot;in s&amp;&amp;!(&quot;documentMode&quot;in r.default)),h=n.IS_CHROME=/chrome/i.test(l),v=n.IS_FIREFOX=/firefox/i.test(l),g=n.IS_SAFARI=/safari/i.test(l)&amp;&amp;!h,y=n.IS_STOCK_ANDROID=/^mozilla\\/\\d+\\.\\d+\\s\\(linux;\\su;/i.test(l),E=(n.HAS_MSE=&quot;MediaSource&quot;in i.default),b=n.SUPPORT_POINTER_EVENTS=function(){var e=r.default.createElement(&quot;x&quot;),t=r.default.documentElement,n=i.default.getComputedStyle;if(!(&quot;pointerEvents&quot;in e.style))return!1;e.style.pointerEvents=&quot;auto&quot;,e.style.pointerEvents=&quot;x&quot;,t.appendChild(e);var o=n&amp;&amp;&quot;auto&quot;===(n(e,&quot;&quot;)||{}).pointerEvents;return e.remove(),!!o}(),S=n.SUPPORT_PASSIVE_EVENT=function(){var e=!1;try{var t=Object.defineProperty({},&quot;passive&quot;,{get:function(){e=!0}});i.default.addEventListener(&quot;test&quot;,null,t)}catch(e){}return e}(),x=[&quot;source&quot;,&quot;track&quot;,&quot;audio&quot;,&quot;video&quot;],w=void 0,P=0,T=x.length;P&lt;T;P++)w=r.default.createElement(x[P]);var C=n.SUPPORTS_NATIVE_HLS=g||p&amp;&amp;/edge/i.test(l),k=void 0!==w.webkitEnterFullscreen,_=void 0!==w.requestFullscreen;k&amp;&amp;/mac os x 10_5/i.test(l)&amp;&amp;(k=_=!1);var N=void 0!==w.webkitRequestFullScreen,A=void 0!==w.mozRequestFullScreen,L=void 0!==w.msRequestFullscreen,F=N||A||L,j=F,I=&quot;&quot;,M=void 0,O=void 0,D=void 0;A?j=r.default.mozFullScreenEnabled:L&amp;&amp;(j=r.default.msFullscreenEnabled),h&amp;&amp;(k=!1),F&amp;&amp;(N?I=&quot;webkitfullscreenchange&quot;:A?I=&quot;fullscreenchange&quot;:L&amp;&amp;(I=&quot;MSFullscreenChange&quot;),n.isFullScreen=M=function(){return A?r.default.mozFullScreen:N?r.default.webkitIsFullScreen:L?null!==r.default.msFullscreenElement:void 0},n.requestFullScreen=O=function(e){N?e.webkitRequestFullScreen():A?e.mozRequestFullScreen():L&amp;&amp;e.msRequestFullscreen()},n.cancelFullScreen=D=function(){N?r.default.webkitCancelFullScreen():A?r.default.mozCancelFullScreen():L&amp;&amp;r.default.msExitFullscreen()});var R=n.HAS_NATIVE_FULLSCREEN=_,V=n.HAS_WEBKIT_NATIVE_FULLSCREEN=N,H=n.HAS_MOZ_NATIVE_FULLSCREEN=A,U=n.HAS_MS_NATIVE_FULLSCREEN=L,q=n.HAS_IOS_FULLSCREEN=k,B=n.HAS_TRUE_NATIVE_FULLSCREEN=F,z=n.HAS_NATIVE_FULLSCREEN_ENABLED=j,W=n.FULLSCREEN_EVENT_NAME=I;n.isFullScreen=M,n.requestFullScreen=O,n.cancelFullScreen=D,o.default.Features=o.default.Features||{},o.default.Features.isiPad=d,o.default.Features.isiPod=c,o.default.Features.isiPhone=u,o.default.Features.isiOS=o.default.Features.isiPhone||o.default.Features.isiPad,o.default.Features.isAndroid=f,o.default.Features.isIE=p,o.default.Features.isEdge=m,o.default.Features.isChrome=h,o.default.Features.isFirefox=v,o.default.Features.isSafari=g,o.default.Features.isStockAndroid=y,o.default.Features.hasMSE=E,o.default.Features.supportsNativeHLS=C,o.default.Features.supportsPointerEvents=b,o.default.Features.supportsPassiveEvent=S,o.default.Features.hasiOSFullScreen=q,o.default.Features.hasNativeFullscreen=R,o.default.Features.hasWebkitNativeFullScreen=V,o.default.Features.hasMozNativeFullScreen=H,o.default.Features.hasMsNativeFullScreen=U,o.default.Features.hasTrueNativeFullScreen=B,o.default.Features.nativeFullScreenEnabled=z,o.default.Features.fullScreenEventName=W,o.default.Features.isFullScreen=M,o.default.Features.requestFullScreen=O,o.default.Features.cancelFullScreen=D},{2:2,3:3,7:7}],26:[function(e,t,n){&quot;use strict&quot;;Object.defineProperty(n,&quot;__esModule&quot;,{value:!0}),n.removeClass=n.addClass=n.hasClass=void 0,n.loadScript=a,n.offset=s,n.toggleClass=h,n.fadeOut=v,n.fadeIn=g,n.siblings=y,n.visible=E,n.ajax=b;var l=r(e(3)),i=r(e(2)),o=r(e(7));function r(e){return e&amp;&amp;e.__esModule?e:{default:e}}function a(o){return new Promise(function(e,t){var n=i.default.createElement(&quot;script&quot;);n.src=o,n.async=!0,n.onload=function(){n.remove(),e()},n.onerror=function(){n.remove(),t()},i.default.head.appendChild(n)})}function s(e){var t=e.getBoundingClientRect(),n=l.default.pageXOffset||i.default.documentElement.scrollLeft,o=l.default.pageYOffset||i.default.documentElement.scrollTop;return{top:t.top+o,left:t.left+n}}var d=void 0,u=void 0,c=void 0;&quot;classList&quot;in i.default.documentElement?(d=function(e,t){return void 0!==e.classList&amp;&amp;e.classList.contains(t)},u=function(e,t){return e.classList.add(t)},c=function(e,t){return e.classList.remove(t)}):(d=function(e,t){return new RegExp(&quot;\\\\b&quot;+t+&quot;\\\\b&quot;).test(e.className)},u=function(e,t){f(e,t)||(e.className+=&quot; &quot;+t)},c=function(e,t){e.className=e.className.replace(new RegExp(&quot;\\\\b&quot;+t+&quot;\\\\b&quot;,&quot;g&quot;),&quot;&quot;)});var f=n.hasClass=d,p=n.addClass=u,m=n.removeClass=c;function h(e,t){f(e,t)?m(e,t):p(e,t)}function v(i){var r=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:400,a=arguments[2];i.style.opacity||(i.style.opacity=1);var s=null;l.default.requestAnimationFrame(function e(t){var n=t-(s=s||t),o=parseFloat(1-n/r,2);i.style.opacity=o&lt;0?0:o,r&lt;n?a&amp;&amp;&quot;function&quot;==typeof a&amp;&amp;a():l.default.requestAnimationFrame(e)})}function g(i){var r=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:400,a=arguments[2];i.style.opacity||(i.style.opacity=0);var s=null;l.default.requestAnimationFrame(function e(t){var n=t-(s=s||t),o=parseFloat(n/r,2);i.style.opacity=1&lt;o?1:o,r&lt;n?a&amp;&amp;&quot;function&quot;==typeof a&amp;&amp;a():l.default.requestAnimationFrame(e)})}function y(e,t){var n=[];for(e=e.parentNode.firstChild;t&amp;&amp;!t(e)||n.push(e),e=e.nextSibling;);return n}function E(e){return void 0!==e.getClientRects&amp;&amp;&quot;function&quot;===e.getClientRects?!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length):!(!e.offsetWidth&amp;&amp;!e.offsetHeight)}function b(e,t,n,o){var i=l.default.XMLHttpRequest?new XMLHttpRequest:new ActiveXObject(&quot;Microsoft.XMLHTTP&quot;),r=&quot;application/x-www-form-urlencoded; charset=UTF-8&quot;,a=!1,s=&quot;*/&quot;.concat(&quot;*&quot;);switch(t){case&quot;text&quot;:r=&quot;text/plain&quot;;break;case&quot;json&quot;:r=&quot;application/json, text/javascript&quot;;break;case&quot;html&quot;:r=&quot;text/html&quot;;break;case&quot;xml&quot;:r=&quot;application/xml, text/xml&quot;}&quot;application/x-www-form-urlencoded&quot;!==r&amp;&amp;(s=r+&quot;, */*; q=0.01&quot;),i&amp;&amp;(i.open(&quot;GET&quot;,e,!0),i.setRequestHeader(&quot;Accept&quot;,s),i.onreadystatechange=function(){if(!a&amp;&amp;4===i.readyState)if(200===i.status){a=!0;var e=void 0;switch(t){case&quot;json&quot;:e=JSON.parse(i.responseText);break;case&quot;xml&quot;:e=i.responseXML;break;default:e=i.responseText}n(e)}else&quot;function&quot;==typeof o&amp;&amp;o(i.status)},i.send())}o.default.Utils=o.default.Utils||{},o.default.Utils.offset=s,o.default.Utils.hasClass=f,o.default.Utils.addClass=p,o.default.Utils.removeClass=m,o.default.Utils.toggleClass=h,o.default.Utils.fadeIn=g,o.default.Utils.fadeOut=v,o.default.Utils.siblings=y,o.default.Utils.visible=E,o.default.Utils.ajax=b,o.default.Utils.loadScript=a},{2:2,3:3,7:7}],27:[function(e,t,n){&quot;use strict&quot;;Object.defineProperty(n,&quot;__esModule&quot;,{value:!0}),n.escapeHTML=a,n.debounce=s,n.isObjectEmpty=l,n.splitEvents=d,n.createEvent=u,n.isNodeAfter=c,n.isString=f;var o,i=e(7),r=(o=i)&amp;&amp;o.__esModule?o:{default:o};function a(e){if(&quot;string&quot;!=typeof e)throw new Error(&quot;Argument passed must be a string&quot;);var t={&quot;&amp;&quot;:&quot;&amp;&quot;,&quot;":"&gt;",''"'':"&quot;"};return e.replace(/[&amp;"]/g,function(e){return t[e]})}function s(o,i){var r=this,a=arguments,s=2&lt;arguments.length&amp;&amp;void 0!==arguments[2]&amp;&amp;arguments[2];if(&quot;function&quot;!=typeof o)throw new Error(&quot;First argument must be a function&quot;);if(&quot;number&quot;!=typeof i)throw new Error(&quot;Second argument must be a numeric value&quot;);var l=void 0;return function(){var e=r,t=a,n=s&amp;&amp;!l;clearTimeout(l),l=setTimeout(function(){l=null,s||o.apply(e,t)},i),n&amp;&amp;o.apply(e,t)}}function l(e){return Object.getOwnPropertyNames(e).length&lt;=0}function d(e,n){var o=/^((after|before)print|(before)?unload|hashchange|message|o(ff|n)line|page(hide|show)|popstate|resize|storage)\\b/,i={d:[],w:[]};return(e||&quot;&quot;).split(&quot; &quot;).forEach(function(e){var t=e+(n?&quot;.&quot;+n:&quot;&quot;);t.startsWith(&quot;.&quot;)?(i.d.push(t),i.w.push(t)):i[o.test(e)?&quot;w&quot;:&quot;d&quot;].push(t)}),i.d=i.d.join(&quot; &quot;),i.w=i.w.join(&quot; &quot;),i}function u(e,t){if(&quot;string&quot;!=typeof e)throw new Error(&quot;Event name must be a string&quot;);var n=e.match(/([a-z]+\\.([a-z]+))/i),o={target:t};return null!==n&amp;&amp;(e=n[1],o.namespace=n[2]),new window.CustomEvent(e,{detail:o})}function c(e,t){return!!(e&amp;&amp;t&amp;&amp;2&amp;e.compareDocumentPosition(t))}function f(e){return&quot;string&quot;==typeof e}r.default.Utils=r.default.Utils||{},r.default.Utils.escapeHTML=a,r.default.Utils.debounce=s,r.default.Utils.isObjectEmpty=l,r.default.Utils.splitEvents=d,r.default.Utils.createEvent=u,r.default.Utils.isNodeAfter=c,r.default.Utils.isString=f},{7:7}],28:[function(e,t,n){&quot;use strict&quot;;Object.defineProperty(n,&quot;__esModule&quot;,{value:!0}),n.typeChecks=void 0,n.absolutizeUrl=l,n.formatType=d,n.getMimeFromType=u,n.getTypeFromFile=c,n.getExtension=f,n.normalizeExtension=p;var o,i=e(7),r=(o=i)&amp;&amp;o.__esModule?o:{default:o},a=e(27);var s=n.typeChecks=[];function l(e){if(&quot;string&quot;!=typeof e)throw new Error(&quot;`url` argument must be a string&quot;);var t=document.createElement(&quot;div&quot;);return t.innerHTML=&#039;<a href="''+(0,a.escapeHTML)(e)+''">x</a>'',t.firstChild.href}function d(e){var t=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:&quot;&quot;;return e&amp;&amp;!t?c(e):t}function u(e){if(&quot;string&quot;!=typeof e)throw new Error(&quot;`type` argument must be a string&quot;);return e&amp;&amp;-1&lt;e.indexOf(&quot;;&quot;)?e.substr(0,e.indexOf(&quot;;&quot;)):e}function c(e){if(&quot;string&quot;!=typeof e)throw new Error(&quot;`url` argument must be a string&quot;);for(var t=0,n=s.length;t&lt;n;t++){var o=s[t](e);if(o)return o}var i=p(f(e)),r=&quot;video/mp4&quot;;return i&amp;&amp;(~[&quot;mp4&quot;,&quot;m4v&quot;,&quot;ogg&quot;,&quot;ogv&quot;,&quot;webm&quot;,&quot;flv&quot;,&quot;mpeg&quot;,&quot;mov&quot;].indexOf(i)?r=&quot;video/&quot;+i:~[&quot;mp3&quot;,&quot;oga&quot;,&quot;wav&quot;,&quot;mid&quot;,&quot;midi&quot;].indexOf(i)&amp;&amp;(r=&quot;audio/&quot;+i)),r}function f(e){if(&quot;string&quot;!=typeof e)throw new Error(&quot;`url` argument must be a string&quot;);var t=e.split(&quot;?&quot;)[0].split(&quot;\\\\&quot;).pop().split(&quot;/&quot;).pop();return~t.indexOf(&quot;.&quot;)?t.substring(t.lastIndexOf(&quot;.&quot;)+1):&quot;&quot;}function p(e){if(&quot;string&quot;!=typeof e)throw new Error(&quot;`extension` argument must be a string&quot;);switch(e){case&quot;mp4&quot;:case&quot;m4v&quot;:return&quot;mp4&quot;;case&quot;webm&quot;:case&quot;webma&quot;:case&quot;webmv&quot;:return&quot;webm&quot;;case&quot;ogg&quot;:case&quot;oga&quot;:case&quot;ogv&quot;:return&quot;ogg&quot;;default:return e}}r.default.Utils=r.default.Utils||{},r.default.Utils.typeChecks=s,r.default.Utils.absolutizeUrl=l,r.default.Utils.formatType=d,r.default.Utils.getMimeFromType=u,r.default.Utils.getTypeFromFile=c,r.default.Utils.getExtension=f,r.default.Utils.normalizeExtension=p},{27:27,7:7}],29:[function(e,t,n){&quot;use strict&quot;;var o,i=a(e(2)),r=a(e(4));function a(e){return e&amp;&amp;e.__esModule?e:{default:e}}if([Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach(function(e){e.hasOwnProperty(&quot;remove&quot;)||Object.defineProperty(e,&quot;remove&quot;,{configurable:!0,enumerable:!0,writable:!0,value:function(){this.parentNode.removeChild(this)}})}),function(){if(&quot;function&quot;==typeof window.CustomEvent)return;function e(e,t){t=t||{bubbles:!1,cancelable:!1,detail:void 0};var n=i.default.createEvent(&quot;CustomEvent&quot;);return n.initCustomEvent(e,t.bubbles,t.cancelable,t.detail),n}e.prototype=window.Event.prototype,window.CustomEvent=e}(),&quot;function&quot;!=typeof Object.assign&amp;&amp;(Object.assign=function(e){if(null==e)throw new TypeError(&quot;Cannot convert undefined or null to object&quot;);for(var t=Object(e),n=1,o=arguments.length;n&lt;o;n++){var i=arguments[n];if(null!==i)for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&amp;&amp;(t[r]=i[r])}return t}),String.prototype.startsWith||(String.prototype.startsWith=function(e,t){return t=t||0,this.substr(t,e.length)===e}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=t.length-1;0&lt;=--n&amp;&amp;t.item(n)!==this;);return-1&lt;n}),window.Element&amp;&amp;!Element.prototype.closest&amp;&amp;(Element.prototype.closest=function(e){var t=(this.document||this.ownerDocument).querySelectorAll(e),n=void 0,o=this;do{for(n=t.length;0&lt;=--n&amp;&amp;t.item(n)!==o;);}while(n&lt;0&amp;&amp;(o=o.parentElement));return o}),function(){for(var i=0,e=[&quot;ms&quot;,&quot;moz&quot;,&quot;webkit&quot;,&quot;o&quot;],t=0;t&lt;e.length&amp;&amp;!window.requestAnimationFrame;++t)window.requestAnimationFrame=window[e[t]+&quot;RequestAnimationFrame&quot;],window.cancelAnimationFrame=window[e[t]+&quot;CancelAnimationFrame&quot;]||window[e[t]+&quot;CancelRequestAnimationFrame&quot;];window.requestAnimationFrame||(window.requestAnimationFrame=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-i)),o=window.setTimeout(function(){e(t+n)},n);return i=t+n,o}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(e){clearTimeout(e)})}(),/firefox/i.test(navigator.userAgent)){var s=window.getComputedStyle;window.getComputedStyle=function(e,t){var n=s(e,t);return null===n?{getPropertyValue:function(){}}:n}}window.Promise||(window.Promise=r.default),(o=window.Node||window.Element)&amp;&amp;o.prototype&amp;&amp;null===o.prototype.children&amp;&amp;Object.defineProperty(o.prototype,&quot;children&quot;,{get:function(){for(var e=0,t=void 0,n=this.childNodes,o=[];t=n[e++];)1===t.nodeType&amp;&amp;o.push(t);return o}})},{2:2,4:4}],30:[function(e,t,n){&quot;use strict&quot;;Object.defineProperty(n,&quot;__esModule&quot;,{value:!0}),n.isDropFrame=C,n.secondsToTimeCode=a,n.timeCodeToSeconds=s,n.calculateTimeFormat=l,n.convertSMPTEtoSeconds=d;var o,i=e(7),r=(o=i)&amp;&amp;o.__esModule?o:{default:o};function C(){return!((0&lt;arguments.length&amp;&amp;void 0!==arguments[0]?arguments[0]:25)%1==0)}function a(e){var t=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]&amp;&amp;arguments[1],n=2&lt;arguments.length&amp;&amp;void 0!==arguments[2]&amp;&amp;arguments[2],o=3&lt;arguments.length&amp;&amp;void 0!==arguments[3]?arguments[3]:25,i=4&lt;arguments.length&amp;&amp;void 0!==arguments[4]?arguments[4]:0,r=5&lt;arguments.length&amp;&amp;void 0!==arguments[5]?arguments[5]:&quot;hh:mm:ss&quot;;e=!e||&quot;number&quot;!=typeof e||e&lt;0?0:e;var a=Math.round(.066666*o),s=Math.round(o),l=24*Math.round(3600*o),d=Math.round(600*o),u=C(o)?&quot;;&quot;:&quot;:&quot;,c=void 0,f=void 0,p=void 0,m=void 0,h=Math.round(e*o);if(C(o)){h&lt;0&amp;&amp;(h=l+h);var v=(h%=l)%d;h+=9*a*Math.floor(h/d),a&lt;v&amp;&amp;(h+=a*Math.floor((v-a)/Math.round(60*s-a)));var g=Math.floor(h/s);c=Math.floor(Math.floor(g/60)/60),f=Math.floor(g/60)%60,p=n?g%60:Math.floor(h/s%60).toFixed(i)}else c=Math.floor(e/3600)%24,f=Math.floor(e/60)%60,p=n?Math.floor(e%60):Math.floor(e%60).toFixed(i);c=c&lt;=0?0:c,p=60===(p=p&lt;=0?0:p)?0:p,f=60===(f=f&lt;=0?0:f)?0:f;for(var y=r.split(&quot;:&quot;),E={},b=0,S=y.length;b&lt;S;++b){for(var x=&quot;&quot;,w=0,P=y[b].length;w&lt;P;w++)x.indexOf(y[b][w])&lt;0&amp;&amp;(x+=y[b][w]);~[&quot;f&quot;,&quot;s&quot;,&quot;m&quot;,&quot;h&quot;].indexOf(x)&amp;&amp;(E[x]=y[b].length)}var T=t||0&lt;c?(c&lt;10&amp;&amp;1&lt;E.h?&quot;0&quot;+c:c)+&quot;:&quot;:&quot;&quot;;return T+=(f&lt;10&amp;&amp;1&lt;E.m?&quot;0&quot;+f:f)+&quot;:&quot;,T+=&quot;&quot;+(p&lt;10&amp;&amp;1&lt;E.s?&quot;0&quot;+p:p),n&amp;&amp;(T+=(m=(m=(h%s).toFixed(0))&lt;=0?0:m)&lt;10&amp;&amp;E.f?u+&quot;0&quot;+m:&quot;&quot;+u+m),T}function s(e){var t=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:25;if(&quot;string&quot;!=typeof e)throw new TypeError(&quot;Time must be a string&quot;);if(0&lt;e.indexOf(&quot;;&quot;)&amp;&amp;(e=e.replace(&quot;;&quot;,&quot;:&quot;)),!/\\d{2}(\\:\\d{2}){0,3}/i.test(e))throw new TypeError(&quot;Time code must have the format `00:00:00`&quot;);var n=e.split(&quot;:&quot;),o=void 0,i=0,r=0,a=0,s=0,l=0,d=Math.round(.066666*t),u=Math.round(t),c=3600*u,f=60*u;switch(n.length){default:case 1:a=parseInt(n[0],10);break;case 2:r=parseInt(n[0],10),a=parseInt(n[1],10);break;case 3:i=parseInt(n[0],10),r=parseInt(n[1],10),a=parseInt(n[2],10);break;case 4:i=parseInt(n[0],10),r=parseInt(n[1],10),a=parseInt(n[2],10),s=parseInt(n[3],10)}return o=C(t)?c*i+f*r+u*a+s-d*((l=60*i+r)-Math.floor(l/10)):(c*i+f*r+t*a+s)/t,parseFloat(o.toFixed(3))}function l(e,t){var n=2&lt;arguments.length&amp;&amp;void 0!==arguments[2]?arguments[2]:25;e=!e||&quot;number&quot;!=typeof e||e&lt;0?0:e;for(var o=Math.floor(e/3600)%24,i=Math.floor(e/60)%60,r=Math.floor(e%60),a=[[Math.floor((e%1*n).toFixed(3)),&quot;f&quot;],[r,&quot;s&quot;],[i,&quot;m&quot;],[o,&quot;h&quot;]],s=t.timeFormat,l=s[1]===s[0],d=l?2:1,u=s.length&lt;d?s[d]:&quot;:&quot;,c=s[0],f=!1,p=0,m=a.length;p&lt;m;p++)if(~s.indexOf(a[p][1]))f=!0;else if(f){for(var h=!1,v=p;v&lt;m;v++)if(0&lt;a[v][0]){h=!0;break}if(!h)break;l||(s=c+s),s=a[p][1]+u+s,l&amp;&amp;(s=a[p][1]+s),c=a[p][1]}t.timeFormat=s}function d(e){if(&quot;string&quot;!=typeof e)throw new TypeError(&quot;Argument must be a string value&quot;);for(var t=~(e=e.replace(&quot;,&quot;,&quot;.&quot;)).indexOf(&quot;.&quot;)?e.split(&quot;.&quot;)[1].length:0,n=0,o=1,i=0,r=(e=e.split(&quot;:&quot;).reverse()).length;i&lt;r;i++)o=1,0&lt;i&amp;&amp;(o=Math.pow(60,i)),n+=Number(e[i])*o;return Number(n.toFixed(t))}r.default.Utils=r.default.Utils||{},r.default.Utils.secondsToTimeCode=a,r.default.Utils.timeCodeToSeconds=s,r.default.Utils.calculateTimeFormat=l,r.default.Utils.convertSMPTEtoSeconds=d},{7:7}]},{},[29,6,5,15,23,20,19,21,22,24,16,18,17,9,10,11,12,13,14]);\n!function(a){void 0===mejs.plugins&amp;&amp;(mejs.plugins={},mejs.plugins.silverlight=[],mejs.plugins.silverlight.push({types:[]})),mejs.HtmlMediaElementShim=mejs.HtmlMediaElementShim||{getTypeFromFile:mejs.Utils.getTypeFromFile},void 0===mejs.MediaFeatures&amp;&amp;(mejs.MediaFeatures=mejs.Features),void 0===mejs.Utility&amp;&amp;(mejs.Utility=mejs.Utils);var e=MediaElementPlayer.prototype.init,t=(MediaElementPlayer.prototype.init=function(){this.options.classPrefix=&quot;mejs-&quot;,this.$media=this.$node=a(this.node),e.call(this)},MediaElementPlayer.prototype._meReady);MediaElementPlayer.prototype._meReady=function(){this.container=a(this.container),this.controls=a(this.controls),this.layers=a(this.layers),t.apply(this,arguments)},MediaElementPlayer.prototype.getElement=function(e){return void 0!==a&amp;&amp;e instanceof a?e[0]:e},MediaElementPlayer.prototype.buildfeatures=function(e,t,i,s){for(var l=[&quot;playpause&quot;,&quot;current&quot;,&quot;progress&quot;,&quot;duration&quot;,&quot;tracks&quot;,&quot;volume&quot;,&quot;fullscreen&quot;],r=0,n=this.options.features.length;r&lt;n;r++){var o=this.options.features[r];if(this[&quot;build&quot;+o])try{-1===l.indexOf(o)?this[&quot;build&quot;+o](e,a(t),a(i),s):this[&quot;build&quot;+o](e,t,i,s)}catch(e){console.error(&quot;error building &quot;+o,e)}}}}((window,jQuery));', '361fdcd2f62f8e540a1e059a3a60f15b-scripts', '', 'publish', 'closed', 'closed', '', '361fdcd2f62f8e540a1e059a3a60f15b-scripts', '', '', '2022-07-08 19:51:36', '2022-07-08 17:51:36', '', 0, 'https://www.avo.co.bw/?post_type=wphb_minify_group&amp;p=5625', 0, 'wphb_minify_group', '', 0);
INSERT INTO `wpxx_posts` VALUES
(5626, 1, '2022-07-08 19:52:44', '2022-07-08 17:52:44', '/**handles:wp-mediaelement,wp-api-request,wp-hooks,wp-i18n**/\n!function(e,n){e.wp=e.wp||{},e.wp.mediaelement=new function(){var e={};return{initialize:function(){(e="undefined"!=typeof _wpmejsSettings?n.extend(!0,{},_wpmejsSettings):e).classPrefix="mejs-",e.success=e.success||function(e){var n,t;e.rendererName&amp;&amp;-1!==e.rendererName.indexOf("flash")&amp;&amp;(n=e.attributes.autoplay&amp;&amp;"false"!==e.attributes.autoplay,t=e.attributes.loop&amp;&amp;"false"!==e.attributes.loop,n&amp;&amp;e.addEventListener("canplay",function(){e.play()},!1),t&amp;&amp;e.addEventListener("ended",function(){e.play()},!1))},e.customError=function(e,n){if(-1!==e.rendererName.indexOf("flash")||-1!==e.rendererName.indexOf("flv"))return''<a href="''+n.src+''">''+mejsL10n.strings["mejs.download-file"]+"</a>"},n(".wp-audio-shortcode, .wp-video-shortcode").not(".mejs-container").filter(function(){return!n(this).parent().hasClass("mejs-mediaelement")}).mediaelementplayer(e)}}},n(e.wp.mediaelement.initialize)}(window,jQuery);\n/*! This file is auto-generated */\n!function(c){var w=window.wpApiSettings;function t(e){return e=t.buildAjaxOptions(e),t.transport(e)}t.buildAjaxOptions=function(e){var t,n,a,p,o,r,i=e.url,d=e.path,s=e.method;for(r in"string"==typeof e.namespace&amp;&amp;"string"==typeof e.endpoint&amp;&amp;(t=e.namespace.replace(/^\\/|\\/$/g,""),d=(n=e.endpoint.replace(/^\\//,""))?t+"/"+n:t),"string"==typeof d&amp;&amp;(n=w.root,d=d.replace(/^\\//,""),"string"==typeof n&amp;&amp;-1!==n.indexOf("?")&amp;&amp;(d=d.replace("?","&amp;")),i=n+d),p=!(e.data&amp;&amp;e.data._wpnonce),o=!0,a=e.headers||{})if(a.hasOwnProperty(r))switch(r.toLowerCase()){case"x-wp-nonce":p=!1;break;case"accept":o=!1}return p&amp;&amp;(a=c.extend({"X-WP-Nonce":w.nonce},a)),o&amp;&amp;(a=c.extend({Accept:"application/json, */*;q=0.1"},a)),"string"!=typeof s||"PUT"!==(s=s.toUpperCase())&amp;&amp;"DELETE"!==s||(a=c.extend({"X-HTTP-Method-Override":s},a),s="POST"),delete(e=c.extend({},e,{headers:a,url:i,method:s})).path,delete e.namespace,delete e.endpoint,e},t.transport=c.ajax,window.wp=window.wp||{},window.wp.apiRequest=t}(jQuery);\n/*! This file is auto-generated */\n!function(){"use strict";var n={d:function(t,r){for(var e in r)n.o(r,e)&amp;&amp;!n.o(t,e)&amp;&amp;Object.defineProperty(t,e,{enumerable:!0,get:r[e]})},o:function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},r:function(n){"undefined"!=typeof Symbol&amp;&amp;Symbol.toStringTag&amp;&amp;Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})}},t={};n.r(t),n.d(t,{actions:function(){return S},addAction:function(){return v},addFilter:function(){return m},applyFilters:function(){return k},createHooks:function(){return h},currentAction:function(){return w},currentFilter:function(){return I},defaultHooks:function(){return f},didAction:function(){return O},didFilter:function(){return j},doAction:function(){return b},doingAction:function(){return x},doingFilter:function(){return T},filters:function(){return z},hasAction:function(){return _},hasFilter:function(){return g},removeAction:function(){return p},removeAllActions:function(){return y},removeAllFilters:function(){return F},removeFilter:function(){return A}});var r=function(n){return"string"!=typeof n||""===n?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\\-\\/]*$/.test(n)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)};var e=function(n){return"string"!=typeof n||""===n?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(n)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(n)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)};var o=function(n,t){return function(o,i,c){let s=arguments.length&gt;3&amp;&amp;void 0!==arguments[3]?arguments[3]:10;const u=n[t];if(!e(o))return;if(!r(i))return;if("function"!=typeof c)return void console.error("The hook callback must be a function.");if("number"!=typeof s)return void console.error("If specified, the hook priority must be a number.");const l={callback:c,priority:s,namespace:i};if(u[o]){const n=u[o].handlers;let t;for(t=n.length;t&gt;0&amp;&amp;!(s&gt;=n[t-1].priority);t--);t===n.length?n[t]=l:n.splice(t,0,l),u.__current.forEach((n=&gt;{n.name===o&amp;&amp;n.currentIndex&gt;=t&amp;&amp;n.currentIndex++}))}else u[o]={handlers:[l],runs:0};"hookAdded"!==o&amp;&amp;n.doAction("hookAdded",o,i,c,s)}};var i=function(n,t){let o=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]&amp;&amp;arguments[2];return function(i,c){const s=n[t];if(!e(i))return;if(!o&amp;&amp;!r(c))return;if(!s[i])return 0;let u=0;if(o)u=s[i].handlers.length,s[i]={runs:s[i].runs,handlers:[]};else{const n=s[i].handlers;for(let t=n.length-1;t&gt;=0;t--)n[t].namespace===c&amp;&amp;(n.splice(t,1),u++,s.__current.forEach((n=&gt;{n.name===i&amp;&amp;n.currentIndex&gt;=t&amp;&amp;n.currentIndex--})))}return"hookRemoved"!==i&amp;&amp;n.doAction("hookRemoved",i,c),u}};var c=function(n,t){return function(r,e){const o=n[t];return void 0!==e?r in o&amp;&amp;o[r].handlers.some((n=&gt;n.namespace===e)):r in o}};var s=function(n,t){let r=arguments.length&gt;2&amp;&amp;void 0!==arguments[2]&amp;&amp;arguments[2];return function(e){const o=n[t];o[e]||(o[e]={handlers:[],runs:0}),o[e].runs++;const i=o[e].handlers;for(var c=arguments.length,s=new Array(c&gt;1?c-1:0),u=1;u&lt;c;u++)s[u-1]=arguments[u];if(!i||!i.length)return r?s[0]:void 0;const l={name:e,currentIndex:0};for(o.__current.push(l);l.currentIndex&lt;i.length;){const n=i[l.currentIndex].callback.apply(null,s);r&amp;&amp;(s[0]=n),l.currentIndex++}return o.__current.pop(),r?s[0]:void 0}};var u=function(n,t){return function(){var r,e;const o=n[t];return null!==(r=null===(e=o.__current[o.__current.length-1])||void 0===e?void 0:e.name)&amp;&amp;void 0!==r?r:null}};var l=function(n,t){return function(r){const e=n[t];return void 0===r?void 0!==e.__current[0]:!!e.__current[0]&amp;&amp;r===e.__current[0].name}};var a=function(n,t){return function(r){const o=n[t];if(e(r))return o[r]&amp;&amp;o[r].runs?o[r].runs:0}};class d{constructor(){this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=o(this,&quot;actions&quot;),this.addFilter=o(this,&quot;filters&quot;),this.removeAction=i(this,&quot;actions&quot;),this.removeFilter=i(this,&quot;filters&quot;),this.hasAction=c(this,&quot;actions&quot;),this.hasFilter=c(this,&quot;filters&quot;),this.removeAllActions=i(this,&quot;actions&quot;,!0),this.removeAllFilters=i(this,&quot;filters&quot;,!0),this.doAction=s(this,&quot;actions&quot;),this.applyFilters=s(this,&quot;filters&quot;,!0),this.currentAction=u(this,&quot;actions&quot;),this.currentFilter=u(this,&quot;filters&quot;),this.doingAction=l(this,&quot;actions&quot;),this.doingFilter=l(this,&quot;filters&quot;),this.didAction=a(this,&quot;actions&quot;),this.didFilter=a(this,&quot;filters&quot;)}}var h=function(){return new d};const f=h(),{addAction:v,addFilter:m,removeAction:p,removeFilter:A,hasAction:_,hasFilter:g,removeAllActions:y,removeAllFilters:F,doAction:b,applyFilters:k,currentAction:w,currentFilter:I,doingAction:x,doingFilter:T,didAction:O,didFilter:j,actions:S,filters:z}=f;(window.wp=window.wp||{}).hooks=t}();\n/*! This file is auto-generated */\n!function(){var t={9756:function(t){t.exports=function(t,n){var e,r,i=0;function o(){var o,a,s=e,u=arguments.length;t:for(;s;){if(s.args.length===arguments.length){for(a=0;a&lt;u;a++)if(s.args[a]!==arguments[a]){s=s.next;continue t}return s!==e&amp;&amp;(s===r&amp;&amp;(r=s.prev),s.prev.next=s.next,s.next&amp;&amp;(s.next.prev=s.prev),s.next=e,s.prev=null,e.prev=s,e=s),s.val}s=s.next}for(o=new Array(u),a=0;a&lt;u;a++)o[a]=arguments[a];return s={args:o,val:t.apply(null,o)},e?(e.prev=s,s.next=e):r=s,i===n.maxSize?(r=r.prev).next=null:i++,e=s,s.val}return n=n||{},o.clear=function(){e=null,r=null,i=0},o}},124:function(t,n,e){var r;!function(){&quot;use strict&quot;;var i={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\\x25]+/,modulo:/^\\x25{2}/,placeholder:/^\\x25(?:([1-9]\\d*)\\$|\\(([^)]+)\\))?(\\+)?(0|&#039;[^$])?(-)?(\\d+)?(?:\\.(\\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\\d]*)/i,key_access:/^\\.([a-z_][a-z_\\d]*)/i,index_access:/^\\[(\\d+)\\]/,sign:/^[+-]/};function o(t){return s(l(t),arguments)}function a(t,n){return o.apply(null,[t].concat(n||[]))}function s(t,n){var e,r,a,s,u,l,c,p,f,d=1,h=t.length,g=&quot;&quot;;for(r=0;r&lt;h;r++)if(&quot;string&quot;==typeof t[r])g+=t[r];else if(&quot;object&quot;==typeof t[r]){if((s=t[r]).keys)for(e=n[d],a=0;a<s>=0),s.type){case"b":e=parseInt(e,10).toString(2);break;case"c":e=String.fromCharCode(parseInt(e,10));break;case"d":case"i":e=parseInt(e,10);break;case"j":e=JSON.stringify(e,null,s.width?parseInt(s.width):0);break;case"e":e=s.precision?parseFloat(e).toExponential(s.precision):parseFloat(e).toExponential();break;case"f":e=s.precision?parseFloat(e).toFixed(s.precision):parseFloat(e);break;case"g":e=s.precision?String(Number(e.toPrecision(s.precision))):parseFloat(e);break;case"o":e=(parseInt(e,10)&gt;&gt;&gt;0).toString(8);break;case"s":e=String(e),e=s.precision?e.substring(0,s.precision):e;break;case"t":e=String(!!e),e=s.precision?e.substring(0,s.precision):e;break;case"T":e=Object.prototype.toString.call(e).slice(8,-1).toLowerCase(),e=s.precision?e.substring(0,s.precision):e;break;case"u":e=parseInt(e,10)&gt;&gt;&gt;0;break;case"v":e=e.valueOf(),e=s.precision?e.substring(0,s.precision):e;break;case"x":e=(parseInt(e,10)&gt;&gt;&gt;0).toString(16);break;case"X":e=(parseInt(e,10)&gt;&gt;&gt;0).toString(16).toUpperCase()}i.json.test(s.type)?g+=e:(!i.number.test(s.type)||p&amp;&amp;!s.sign?f="":(f=p?"+":"-",e=e.toString().replace(i.sign,"")),l=s.pad_char?"0"===s.pad_char?"0":s.pad_char.charAt(1):" ",c=s.width-(f+e).length,u=s.width&amp;&amp;c&gt;0?l.repeat(c):"",g+=s.align?f+e+u:"0"===l?f+u+e:u+f+e)}return g}var u=Object.create(null);function l(t){if(u[t])return u[t];for(var n,e=t,r=[],o=0;e;){if(null!==(n=i.text.exec(e)))r.push(n[0]);else if(null!==(n=i.modulo.exec(e)))r.push("%");else{if(null===(n=i.placeholder.exec(e)))throw new SyntaxError("[sprintf] unexpected placeholder");if(n[2]){o|=1;var a=[],s=n[2],l=[];if(null===(l=i.key.exec(s)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(a.push(l[1]);""!==(s=s.substring(l[0].length));)if(null!==(l=i.key_access.exec(s)))a.push(l[1]);else{if(null===(l=i.index_access.exec(s)))throw new SyntaxError("[sprintf] failed to parse named argument key");a.push(l[1])}n[2]=a}else o|=2;if(3===o)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:n[0],param_no:n[1],keys:n[2],sign:n[3],pad_char:n[4],align:n[5],width:n[6],precision:n[7],type:n[8]})}e=e.substring(n[0].length)}return u[t]=r}n.sprintf=o,n.vsprintf=a,"undefined"!=typeof window&amp;&amp;(window.sprintf=o,window.vsprintf=a,void 0===(r=function(){return{sprintf:o,vsprintf:a}}.call(n,e,n,t))||(t.exports=r))}()}},n={};function e(r){var i=n[r];if(void 0!==i)return i.exports;var o=n[r]={exports:{}};return t[r](o,o.exports,e),o.exports}e.n=function(t){var n=t&amp;&amp;t.__esModule?function(){return t.default}:function(){return t};return e.d(n,{a:n}),n},e.d=function(t,n){for(var r in n)e.o(n,r)&amp;&amp;!e.o(t,r)&amp;&amp;Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.r=function(t){"undefined"!=typeof Symbol&amp;&amp;Symbol.toStringTag&amp;&amp;Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};!function(){"use strict";e.r(r),e.d(r,{__:function(){return j},_n:function(){return T},_nx:function(){return D},_x:function(){return L},createI18n:function(){return y},defaultI18n:function(){return m},getLocaleData:function(){return w},hasTranslation:function(){return E},isRTL:function(){return O},resetLocaleData:function(){return F},setLocaleData:function(){return k},sprintf:function(){return s},subscribe:function(){return S}});var t=e(9756),n=e.n(t),i=e(124),o=e.n(i);const a=n()(console.error);function s(t){try{for(var n=arguments.length,e=new Array(n&gt;1?n-1:0),r=1;r&lt;n;r++)e[r-1]=arguments[r];return o().sprintf(t,...e)}catch(n){return n instanceof Error&amp;&amp;a(&quot;sprintf error: \\n\\n&quot;+n.toString()),t}}var u,l,c,p;u={&quot;(&quot;:9,&quot;!&quot;:8,&quot;*&quot;:7,&quot;/&quot;:7,&quot;%&quot;:7,&quot;+&quot;:6,&quot;-&quot;:6,&quot;&lt;&quot;:5,&quot;":5,"&gt;=":5,"==":4,"!=":4,"&amp;&amp;":3,"||":2,"?":1,"?:":1},l=["(","?"],c={")":["("],":":["?","?:"]},p=/=|==|!=|&amp;&amp;|\\|\\||\\?:|\\(|!|\\*|\\/|%|\\+|-||\\?|\\)|:/;var f={"!":function(t){return!t},"*":function(t,n){return t*n},"/":function(t,n){return t/n},"%":function(t,n){return t%n},"+":function(t,n){return t+n},"-":function(t,n){return t-n},"&lt;&quot;:function(t,n){return t&lt;n},&quot;&lt;=&quot;:function(t,n){return t":function(t,n){return t&gt;n},"&gt;=":function(t,n){return t&gt;=n},"==":function(t,n){return t===n},"!=":function(t,n){return t!==n},"&amp;&amp;":function(t,n){return t&amp;&amp;n},"||":function(t,n){return t||n},"?:":function(t,n,e){if(t)throw n;return e}};function d(t){var n=function(t){for(var n,e,r,i,o=[],a=[];n=t.match(p);){for(e=n[0],(r=t.substr(0,n.index).trim())&amp;&amp;o.push(r);i=a.pop();){if(c[e]){if(c[e][0]===i){e=c[e][1]||e;break}}else if(l.indexOf(i)&gt;=0||u[i]&lt;u[e]){a.push(i);break}o.push(i)}c[e]||a.push(e),t=t.substr(n.index+e.length)}return(t=t.trim())&amp;&amp;o.push(t),o.concat(a.reverse())}(t);return function(t){return function(t,n){var e,r,i,o,a,s,u=[];for(e=0;e&lt;t.length;e++){if(a=t[e],o=f[a]){for(r=o.length,i=Array(r);r--;)i[r]=u.pop();try{s=o.apply(null,i)}catch(t){return t}}else s=n.hasOwnProperty(a)?n[a]:+a;u.push(s)}return u[0]}(n,t)}}var h={contextDelimiter:&quot;&quot;,onMissingKey:null};function g(t,n){var e;for(e in this.data=t,this.pluralForms={},this.options={},h)this.options[e]=void 0!==n&amp;&amp;e in n?n[e]:h[e]}g.prototype.getPluralForm=function(t,n){var e,r,i,o=this.pluralForms[t];return o||(&quot;function&quot;!=typeof(i=(e=this.data[t][&quot;&quot;])[&quot;Plural-Forms&quot;]||e[&quot;plural-forms&quot;]||e.plural_forms)&amp;&amp;(r=function(t){var n,e,r;for(n=t.split(&quot;;&quot;),e=0;e1===t?0:1},x=/^i18n\\.(n?gettext|has_translation)(_|$)/,y=(t,n,e)=&gt;{const r=new g({}),i=new Set,o=()=&gt;{i.forEach((t=&gt;t()))},a=function(t){var n;let e=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:"default";r.data[e]={...r.data[e],...t},r.data[e][""]={...v,...null===(n=r.data[e])||void 0===n?void 0:n[""]},delete r.pluralForms[e]},s=(t,n)=&gt;{a(t,n),o()},u=function(){let t=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:"default",n=arguments.length&gt;1?arguments[1]:void 0,e=arguments.length&gt;2?arguments[2]:void 0,i=arguments.length&gt;3?arguments[3]:void 0,o=arguments.length&gt;4?arguments[4]:void 0;return r.data[t]||a(void 0,t),r.dcnpgettext(t,n,e,i,o)},l=function(){let t=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:"default";return t},c=(t,n,r)=&gt;{let i=u(r,n,t);return e?(i=e.applyFilters("i18n.gettext_with_context",i,t,n,r),e.applyFilters("i18n.gettext_with_context_"+l(r),i,t,n,r)):i};if(t&amp;&amp;s(t,n),e){const t=t=&gt;{x.test(t)&amp;&amp;o()};e.addAction("hookAdded","core/i18n",t),e.addAction("hookRemoved","core/i18n",t)}return{getLocaleData:function(){let t=arguments.length&gt;0&amp;&amp;void 0!==arguments[0]?arguments[0]:"default";return r.data[t]},setLocaleData:s,addLocaleData:function(t){var n;let e=arguments.length&gt;1&amp;&amp;void 0!==arguments[1]?arguments[1]:"default";r.data[e]={...r.data[e],...t,"":{...v,...null===(n=r.data[e])||void 0===n?void 0:n[""],...null==t?void 0:t[""]}},delete r.pluralForms[e],o()},resetLocaleData:(t,n)=&gt;{r.data={},r.pluralForms={},s(t,n)},subscribe:t=&gt;(i.add(t),()=&gt;i.delete(t)),__:(t,n)=&gt;{let r=u(n,void 0,t);return e?(r=e.applyFilters("i18n.gettext",r,t,n),e.applyFilters("i18n.gettext_"+l(n),r,t,n)):r},_x:c,_n:(t,n,r,i)=&gt;{let o=u(i,void 0,t,n,r);return e?(o=e.applyFilters("i18n.ngettext",o,t,n,r,i),e.applyFilters("i18n.ngettext_"+l(i),o,t,n,r,i)):o},_nx:(t,n,r,i,o)=&gt;{let a=u(o,i,t,n,r);return e?(a=e.applyFilters("i18n.ngettext_with_context",a,t,n,r,i,o),e.applyFilters("i18n.ngettext_with_context_"+l(o),a,t,n,r,i,o)):a},isRTL:()=&gt;"rtl"===c("ltr","text direction"),hasTranslation:(t,n,i)=&gt;{var o,a;const s=n?n+""+t:t;let u=!(null===(o=r.data)||void 0===o||null===(a=o[null!=i?i:"default"])||void 0===a||!a[s]);return e&amp;&amp;(u=e.applyFilters("i18n.has_translation",u,t,n,i),u=e.applyFilters("i18n.has_translation_"+l(i),u,t,n,i)),u}}};var b=window.wp.hooks;const _=y(void 0,void 0,b.defaultHooks);var m=_;const w=_.getLocaleData.bind(_),k=_.setLocaleData.bind(_),F=_.resetLocaleData.bind(_),S=_.subscribe.bind(_),j=_.__.bind(_),L=_._x.bind(_),T=_._n.bind(_),D=_._nx.bind(_),O=_.isRTL.bind(_),E=_.hasTranslation.bind(_)}(),(window.wp=window.wp||{}).i18n=r}();', '75f936666357153ee8d204d02a554a96-scripts', '', 'publish', 'closed', 'closed', '', '75f936666357153ee8d204d02a554a96-scripts', '', '', '2022-07-08 19:52:44', '2022-07-08 17:52:44', '', 0, 'https://www.avo.co.bw/?post_type=wphb_minify_group&amp;p=5626', 0, 'wphb_minify_group', '', 0),
(5627, 1, '2022-07-08 19:52:46', '2022-07-08 17:52:46', '/**handles:clipboard,media-views,media-editor,media-audiovideo**/\n/*! This file is auto-generated */\n!function(t,e){"object"==typeof exports&amp;&amp;"object"==typeof module?module.exports=e():"function"==typeof define&amp;&amp;define.amd?define([],e):"object"==typeof exports?exports.ClipboardJS=e():t.ClipboardJS=e()}(this,function(){return n={686:function(t,e,n){"use strict";n.d(e,{default:function(){return v}});var e=n(279),e=n.n(e),o=n(370),i=n.n(o),o=n(817),c=n.n(o);function u(t){try{document.execCommand(t)}catch(t){return}}var a=function(t){t=c()(t);return u("cut"),t};var f=function(t){var e,n,o,r=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:{container:document.body},i=&quot;&quot;;return&quot;string&quot;==typeof t?(e=t,n=&quot;rtl&quot;===document.documentElement.getAttribute(&quot;dir&quot;),(o=document.createElement(&quot;textarea&quot;)).style.fontSize=&quot;12pt&quot;,o.style.border=&quot;0&quot;,o.style.padding=&quot;0&quot;,o.style.margin=&quot;0&quot;,o.style.position=&quot;absolute&quot;,o.style[n?&quot;right&quot;:&quot;left&quot;]=&quot;-9999px&quot;,n=window.pageYOffset||document.documentElement.scrollTop,o.style.top=&quot;&quot;.concat(n,&quot;px&quot;),o.setAttribute(&quot;readonly&quot;,&quot;&quot;),o.value=e,n=o,r.container.appendChild(n),i=c()(n),u(&quot;copy&quot;),n.remove()):(i=c()(t),u(&quot;copy&quot;)),i};function r(t){return(r=&quot;function&quot;==typeof Symbol&amp;&amp;&quot;symbol&quot;==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&amp;&amp;&quot;function&quot;==typeof Symbol&amp;&amp;t.constructor===Symbol&amp;&amp;t!==Symbol.prototype?&quot;symbol&quot;:typeof t})(t)}var l=function(){var t=0&lt;arguments.length&amp;&amp;void 0!==arguments[0]?arguments[0]:{},e=t.action,e=void 0===e?&quot;copy&quot;:e,n=t.container,o=t.target,t=t.text;if(&quot;copy&quot;!==e&amp;&amp;&quot;cut&quot;!==e)throw new Error(&#039;Invalid &quot;action&quot; value, use either &quot;copy&quot; or &quot;cut&quot;&#039;);if(void 0!==o){if(!o||&quot;object&quot;!==r(o)||1!==o.nodeType)throw new Error(&#039;Invalid &quot;target&quot; value, use a valid Element&#039;);if(&quot;copy&quot;===e&amp;&amp;o.hasAttribute(&quot;disabled&quot;))throw new Error(&#039;Invalid &quot;target&quot; attribute. Please use &quot;readonly&quot; instead of &quot;disabled&quot; attribute&#039;);if(&quot;cut&quot;===e&amp;&amp;(o.hasAttribute(&quot;readonly&quot;)||o.hasAttribute(&quot;disabled&quot;)))throw new Error(&#039;Invalid &quot;target&quot; attribute. You can\\&#039;t cut text from elements with &quot;readonly&quot; or &quot;disabled&quot; attributes&#039;)}return t?f(t,{container:n}):o?&quot;cut&quot;===e?a(o):f(o,{container:n}):void 0};function s(t){return(s=&quot;function&quot;==typeof Symbol&amp;&amp;&quot;symbol&quot;==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&amp;&amp;&quot;function&quot;==typeof Symbol&amp;&amp;t.constructor===Symbol&amp;&amp;t!==Symbol.prototype?&quot;symbol&quot;:typeof t})(t)}function p(t,e){for(var n=0;n&lt;e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,&quot;value&quot;in o&amp;&amp;(o.writable=!0),Object.defineProperty(t,o.key,o)}}function d(t,e){return(d=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function y(n){var o=function(){if(&quot;undefined&quot;==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(&quot;function&quot;==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=h(n),e=(t=o?(t=h(this).constructor,Reflect.construct(e,arguments,t)):e.apply(this,arguments),this);if(!t||&quot;object&quot;!==s(t)&amp;&amp;&quot;function&quot;!=typeof t){if(void 0!==e)return e;throw new ReferenceError(&quot;this hasn&#039;t been initialised - super() hasn&#039;t been called&quot;)}return t}}function h(t){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function m(t,e){t=&quot;data-clipboard-&quot;.concat(t);if(e.hasAttribute(t))return e.getAttribute(t)}var v=function(t){var e=r;if(&quot;function&quot;!=typeof t&amp;&amp;null!==t)throw new TypeError(&quot;Super expression must either be null or a function&quot;);e.prototype=Object.create(t&amp;&amp;t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&amp;&amp;d(e,t);var n,o=y(r);function r(t,e){var n;if(this instanceof r)return(n=o.call(this)).resolveOptions(e),n.listenClick(t),n;throw new TypeError(&quot;Cannot call a class as a function&quot;)}return e=r,t=[{key:&quot;copy&quot;,value:function(t){var e=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:{container:document.body};return f(t,e)}},{key:&quot;cut&quot;,value:function(t){return a(t)}},{key:&quot;isSupported&quot;,value:function(){var t=0&lt;arguments.length&amp;&amp;void 0!==arguments[0]?arguments[0]:[&quot;copy&quot;,&quot;cut&quot;],t=&quot;string&quot;==typeof t?[t]:t,e=!!document.queryCommandSupported;return t.forEach(function(t){e=e&amp;&amp;!!document.queryCommandSupported(t)}),e}}],(n=[{key:&quot;resolveOptions&quot;,value:function(){var t=0&lt;arguments.length&amp;&amp;void 0!==arguments[0]?arguments[0]:{};this.action=&quot;function&quot;==typeof t.action?t.action:this.defaultAction,this.target=&quot;function&quot;==typeof t.target?t.target:this.defaultTarget,this.text=&quot;function&quot;==typeof t.text?t.text:this.defaultText,this.container=&quot;object&quot;===s(t.container)?t.container:document.body}},{key:&quot;listenClick&quot;,value:function(t){var e=this;this.listener=i()(t,&quot;click&quot;,function(t){return e.onClick(t)})}},{key:&quot;onClick&quot;,value:function(t){var e=t.delegateTarget||t.currentTarget,t=this.action(e)||&quot;copy&quot;,n=l({action:t,container:this.container,target:this.target(e),text:this.text(e)});this.emit(n?&quot;success&quot;:&quot;error&quot;,{action:t,text:n,trigger:e,clearSelection:function(){e&amp;&amp;e.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}})}},{key:&quot;defaultAction&quot;,value:function(t){return m(&quot;action&quot;,t)}},{key:&quot;defaultTarget&quot;,value:function(t){t=m(&quot;target&quot;,t);if(t)return document.querySelector(t)}},{key:&quot;defaultText&quot;,value:function(t){return m(&quot;text&quot;,t)}},{key:&quot;destroy&quot;,value:function(){this.listener.destroy()}}])&amp;&amp;p(e.prototype,n),t&amp;&amp;p(e,t),r}(e())},828:function(t){var e;&quot;undefined&quot;==typeof Element||Element.prototype.matches||((e=Element.prototype).matches=e.matchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector),t.exports=function(t,e){for(;t&amp;&amp;9!==t.nodeType;){if(&quot;function&quot;==typeof t.matches&amp;&amp;t.matches(e))return t;t=t.parentNode}}},438:function(t,e,n){var c=n(828);function i(t,e,n,o,r){var i=function(e,n,t,o){return function(t){t.delegateTarget=c(t.target,n),t.delegateTarget&amp;&amp;o.call(e,t)}}.apply(this,arguments);return t.addEventListener(n,i,r),{destroy:function(){t.removeEventListener(n,i,r)}}}t.exports=function(t,e,n,o,r){return&quot;function&quot;==typeof t.addEventListener?i.apply(null,arguments):&quot;function&quot;==typeof n?i.bind(null,document).apply(null,arguments):(&quot;string&quot;==typeof t&amp;&amp;(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){return i(t,e,n,o,r)}))}},879:function(t,n){n.node=function(t){return void 0!==t&amp;&amp;t instanceof HTMLElement&amp;&amp;1===t.nodeType},n.nodeList=function(t){var e=Object.prototype.toString.call(t);return void 0!==t&amp;&amp;(&quot;[object NodeList]&quot;===e||&quot;[object HTMLCollection]&quot;===e)&amp;&amp;&quot;length&quot;in t&amp;&amp;(0===t.length||n.node(t[0]))},n.string=function(t){return&quot;string&quot;==typeof t||t instanceof String},n.fn=function(t){return&quot;[object Function]&quot;===Object.prototype.toString.call(t)}},370:function(t,e,n){var f=n(879),l=n(438);t.exports=function(t,e,n){if(!t&amp;&amp;!e&amp;&amp;!n)throw new Error(&quot;Missing required arguments&quot;);if(!f.string(e))throw new TypeError(&quot;Second argument must be a String&quot;);if(!f.fn(n))throw new TypeError(&quot;Third argument must be a Function&quot;);if(f.node(t))return u=e,a=n,(c=t).addEventListener(u,a),{destroy:function(){c.removeEventListener(u,a)}};if(f.nodeList(t))return o=t,r=e,i=n,Array.prototype.forEach.call(o,function(t){t.addEventListener(r,i)}),{destroy:function(){Array.prototype.forEach.call(o,function(t){t.removeEventListener(r,i)})}};if(f.string(t))return l(document.body,t,e,n);throw new TypeError(&quot;First argument must be a String, HTMLElement, HTMLCollection, or NodeList&quot;);var o,r,i,c,u,a}},817:function(t){t.exports=function(t){var e,n;return t=&quot;SELECT&quot;===t.nodeName?(t.focus(),t.value):&quot;INPUT&quot;===t.nodeName||&quot;TEXTAREA&quot;===t.nodeName?((e=t.hasAttribute(&quot;readonly&quot;))||t.setAttribute(&quot;readonly&quot;,&quot;&quot;),t.select(),t.setSelectionRange(0,t.value.length),e||t.removeAttribute(&quot;readonly&quot;),t.value):(t.hasAttribute(&quot;contenteditable&quot;)&amp;&amp;t.focus(),e=window.getSelection(),(n=document.createRange()).selectNodeContents(t),e.removeAllRanges(),e.addRange(n),e.toString())}},279:function(t){function e(){}e.prototype={on:function(t,e,n){var o=this.e||(this.e={});return(o[t]||(o[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var o=this;function r(){o.off(t,r),e.apply(n,arguments)}return r._=e,this.on(t,r,n)},emit:function(t){for(var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),o=0,r=n.length;o&lt;r;o++)n[o].fn.apply(n[o].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),o=n[t],r=[];if(o&amp;&amp;e)for(var i=0,c=o.length;i&lt;c;i++)o[i].fn!==e&amp;&amp;o[i].fn._!==e&amp;&amp;r.push(o[i]);return r.length?n[t]=r:delete n[t],this}},t.exports=e,t.exports.TinyEmitter=e}},r={},o.n=function(t){var e=t&amp;&amp;t.__esModule?function(){return t.default}:function(){return t};return o.d(e,{a:e}),e},o.d=function(t,e){for(var n in e)o.o(e,n)&amp;&amp;!o.o(t,n)&amp;&amp;Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o(686).default;function o(t){if(r[t])return r[t].exports;var e=r[t]={exports:{}};return n[t](e,e.exports,o),e.exports}var n,r});\n/*! This file is auto-generated */\n!function(){var i={1517:function(t){var s=wp.media.model.Selection,o=wp.media.controller.Library,e=o.extend({defaults:_.defaults({multiple:&quot;add&quot;,filterable:&quot;uploaded&quot;,priority:100,syncSelection:!1},o.prototype.defaults),initialize:function(){var t=this.get(&quot;collectionType&quot;);&quot;video&quot;===this.get(&quot;type&quot;)&amp;&amp;(t=&quot;video-&quot;+t),this.set(&quot;id&quot;,t+&quot;-library&quot;),this.set(&quot;toolbar&quot;,t+&quot;-add&quot;),this.set(&quot;menu&quot;,t),this.get(&quot;library&quot;)||this.set(&quot;library&quot;,wp.media.query({type:this.get(&quot;type&quot;)})),o.prototype.initialize.apply(this,arguments)},activate:function(){var t=this.get(&quot;library&quot;),e=this.get(&quot;editLibrary&quot;),i=this.frame.state(this.get(&quot;collectionType&quot;)+&quot;-edit&quot;).get(&quot;library&quot;);e&amp;&amp;e!==i&amp;&amp;t.unobserve(e),t.validator=function(t){return!!this.mirroring.get(t.cid)&amp;&amp;!i.get(t.cid)&amp;&amp;s.prototype.validator.apply(this,arguments)},t.reset(t.mirroring.models,{silent:!0}),t.observe(i),this.set(&quot;editLibrary&quot;,i),o.prototype.activate.apply(this,arguments)}});t.exports=e},1817:function(t){var e=wp.media.controller.Library,a=wp.media.view.l10n,r=jQuery,i=e.extend({defaults:{multiple:!1,sortable:!0,date:!1,searchable:!1,content:&quot;browse&quot;,describe:!0,dragInfo:!0,idealColumnWidth:170,editing:!1,priority:60,SettingsView:!1,syncSelection:!1},initialize:function(){var t=this.get(&quot;collectionType&quot;);&quot;video&quot;===this.get(&quot;type&quot;)&amp;&amp;(t=&quot;video-&quot;+t),this.set(&quot;id&quot;,t+&quot;-edit&quot;),this.set(&quot;toolbar&quot;,t+&quot;-edit&quot;),this.get(&quot;library&quot;)||this.set(&quot;library&quot;,new wp.media.model.Selection),this.get(&quot;AttachmentView&quot;)||this.set(&quot;AttachmentView&quot;,wp.media.view.Attachment.EditLibrary),e.prototype.initialize.apply(this,arguments)},activate:function(){this.get(&quot;library&quot;).props.set(&quot;type&quot;,this.get(&quot;type&quot;)),this.get(&quot;library&quot;).observe(wp.Uploader.queue),this.frame.on(&quot;content:render:browse&quot;,this.renderSettings,this),e.prototype.activate.apply(this,arguments)},deactivate:function(){this.get(&quot;library&quot;).unobserve(wp.Uploader.queue),this.frame.off(&quot;content:render:browse&quot;,this.renderSettings,this),e.prototype.deactivate.apply(this,arguments)},renderSettings:function(t){var e=this.get(&quot;library&quot;),i=this.get(&quot;collectionType&quot;),s=this.get(&quot;dragInfoText&quot;),o=this.get(&quot;SettingsView&quot;),n={};e&amp;&amp;t&amp;&amp;(e[i]=e[i]||new Backbone.Model,n[i]=new o({controller:this,model:e[i],priority:40}),t.sidebar.set(n),s&amp;&amp;t.toolbar.set(&quot;dragInfo&quot;,new wp.media.View({el:r(&#039;<div class="instructions">''+s+"</div>")[0],priority:-40})),t.toolbar.set("reverse",{text:a.reverseOrder,priority:80,click:function(){e.reset(e.toArray().reverse())}}))}});t.exports=i},2288:function(t){var i=wp.media.view.l10n,e=wp.media.controller.State.extend({defaults:{id:"cropper",title:i.cropImage,toolbar:"crop",content:"crop",router:!1,canSkipCrop:!1,doCropArgs:{}},activate:function(){this.frame.on("content:create:crop",this.createCropContent,this),this.frame.on("close",this.removeCropper,this),this.set("selection",new Backbone.Collection(this.frame._selection.single))},deactivate:function(){this.frame.toolbar.mode("browse")},createCropContent:function(){this.cropperView=new wp.media.view.Cropper({controller:this,attachment:this.get("selection").first()}),this.cropperView.on("image-loaded",this.createCropToolbar,this),this.frame.content.set(this.cropperView)},removeCropper:function(){this.imgSelect.cancelSelection(),this.imgSelect.setOptions({remove:!0}),this.imgSelect.update(),this.cropperView.remove()},createCropToolbar:function(){var t=this.get("canSkipCrop")||!1,e={controller:this.frame,items:{insert:{style:"primary",text:i.cropImage,priority:80,requires:{library:!1,selection:!1},click:function(){var e=this.controller,t=e.state().get("selection").first();t.set({cropDetails:e.state().imgSelect.getSelection()}),this.$el.text(i.cropping),this.$el.attr("disabled",!0),e.state().doCrop(t).done(function(t){e.trigger("cropped",t),e.close()}).fail(function(){e.trigger("content:error:crop")})}}}};t&amp;&amp;_.extend(e.items,{skip:{style:"secondary",text:i.skipCropping,priority:70,requires:{library:!1,selection:!1},click:function(){var t=this.controller.state().get("selection").first();this.controller.state().cropperView.remove(),this.controller.trigger("skippedcrop",t),this.controller.close()}}}),this.frame.toolbar.set(new wp.media.view.Toolbar(e))},doCrop:function(t){return wp.ajax.post("custom-header-crop",_.extend({},this.defaults.doCropArgs,{nonce:t.get("nonces").edit,id:t.get("id"),cropDetails:t.get("cropDetails")}))}});t.exports=e},6934:function(t){var e=wp.media.controller.Cropper.extend({doCrop:function(t){var e=t.get("cropDetails"),i=this.get("control"),s=e.width/e.height;return i.params.flex_width&amp;&amp;i.params.flex_height?(e.dst_width=e.width,e.dst_height=e.height):(e.dst_width=i.params.flex_width?i.params.height*s:i.params.width,e.dst_height=i.params.flex_height?i.params.width/s:i.params.height),wp.ajax.post("crop-image",{wp_customize:"on",nonce:t.get("nonces").edit,id:t.get("id"),context:i.id,cropDetails:e})}});t.exports=e},7658:function(t){var s=wp.media.view.l10n,e=wp.media.controller.State.extend({defaults:{id:"edit-image",title:s.editImage,menu:!1,toolbar:"edit-image",content:"edit-image",url:""},activate:function(){this.frame.on("toolbar:render:edit-image",_.bind(this.toolbar,this))},deactivate:function(){this.frame.off("toolbar:render:edit-image")},toolbar:function(){var t=this.frame,e=t.lastState(),i=e&amp;&amp;e.id;t.toolbar.set(new wp.media.view.Toolbar({controller:t,items:{back:{style:"primary",text:s.back,priority:20,click:function(){i?t.setState(i):t.close()}}}}))}});t.exports=e},9067:function(t){var e=wp.media.view.l10n,a=Backbone.$,e=wp.media.controller.State.extend({defaults:{id:"embed",title:e.insertFromUrlTitle,content:"embed",menu:"default",toolbar:"main-embed",priority:120,type:"link",url:"",metadata:{}},sensitivity:400,initialize:function(t){this.metadata=t.metadata,this.debouncedScan=_.debounce(_.bind(this.scan,this),this.sensitivity),this.props=new Backbone.Model(this.metadata||{url:""}),this.props.on("change:url",this.debouncedScan,this),this.props.on("change:url",this.refresh,this),this.on("scan",this.scanImage,this)},scan:function(){var t,e=this,i={type:"link",scanners:[]};this.props.get("url")&amp;&amp;this.trigger("scan",i),i.scanners.length?(t=i.scanners=a.when.apply(a,i.scanners)).always(function(){e.get("scanners")===t&amp;&amp;e.set("loading",!1)}):i.scanners=null,i.loading=!!i.scanners,this.set(i)},scanImage:function(t){var e=this.frame,i=this,s=this.props.get("url"),o=new Image,n=a.Deferred();t.scanners.push(n.promise()),o.onload=function(){n.resolve(),i===e.state()&amp;&amp;s===i.props.get("url")&amp;&amp;(i.set({type:"image"}),i.props.set({width:o.width,height:o.height}))},o.onerror=n.reject,o.src=s},refresh:function(){this.frame.toolbar.get().refresh()},reset:function(){this.props.clear().set({url:""}),this.active&amp;&amp;this.refresh()}});t.exports=e},5095:function(t){var s=wp.media.model.Attachment,e=wp.media.controller.Library,i=wp.media.view.l10n,i=e.extend({defaults:_.defaults({id:"featured-image",title:i.setFeaturedImageTitle,multiple:!1,filterable:"uploaded",toolbar:"featured-image",priority:60,syncSelection:!0},e.prototype.defaults),initialize:function(){var t,o;this.get("library")||this.set("library",wp.media.query({type:"image"})),e.prototype.initialize.apply(this,arguments),t=this.get("library"),o=t.comparator,t.comparator=function(t,e){var i=!!this.mirroring.get(t.cid),s=!!this.mirroring.get(e.cid);return!i&amp;&amp;s?-1:i&amp;&amp;!s?1:o.apply(this,arguments)},t.observe(this.get("selection"))},activate:function(){this.frame.on("open",this.updateSelection,this),e.prototype.activate.apply(this,arguments)},deactivate:function(){this.frame.off("open",this.updateSelection,this),e.prototype.deactivate.apply(this,arguments)},updateSelection:function(){var t,e=this.get("selection"),i=wp.media.view.settings.post.featuredImageId;""!==i&amp;&amp;-1!==i&amp;&amp;(t=s.get(i)).fetch(),e.reset(t?[t]:[])}});t.exports=i},7323:function(t){var i=wp.media.model.Selection,s=wp.media.controller.Library,e=wp.media.view.l10n,e=s.extend({defaults:_.defaults({id:"gallery-library",title:e.addToGalleryTitle,multiple:"add",filterable:"uploaded",menu:"gallery",toolbar:"gallery-add",priority:100,syncSelection:!1},s.prototype.defaults),initialize:function(){this.get("library")||this.set("library",wp.media.query({type:"image"})),s.prototype.initialize.apply(this,arguments)},activate:function(){var t=this.get("library"),e=this.frame.state("gallery-edit").get("library");this.editLibrary&amp;&amp;this.editLibrary!==e&amp;&amp;t.unobserve(this.editLibrary),t.validator=function(t){return!!this.mirroring.get(t.cid)&amp;&amp;!e.get(t.cid)&amp;&amp;i.prototype.validator.apply(this,arguments)},t.reset(t.mirroring.models,{silent:!0}),t.observe(e),this.editLibrary=e,s.prototype.activate.apply(this,arguments)}});t.exports=e},6328:function(t){var e=wp.media.controller.Library,i=wp.media.view.l10n,s=e.extend({defaults:{id:"gallery-edit",title:i.editGalleryTitle,multiple:!1,searchable:!1,sortable:!0,date:!1,display:!1,content:"browse",toolbar:"gallery-edit",describe:!0,displaySettings:!0,dragInfo:!0,idealColumnWidth:170,editing:!1,priority:60,syncSelection:!1},initialize:function(){this.get("library")||this.set("library",new wp.media.model.Selection),this.get("AttachmentView")||this.set("AttachmentView",wp.media.view.Attachment.EditLibrary),e.prototype.initialize.apply(this,arguments)},activate:function(){this.get("library").props.set("type","image"),this.get("library").observe(wp.Uploader.queue),this.frame.on("content:render:browse",this.gallerySettings,this),e.prototype.activate.apply(this,arguments)},deactivate:function(){this.get("library").unobserve(wp.Uploader.queue),this.frame.off("content:render:browse",this.gallerySettings,this),e.prototype.deactivate.apply(this,arguments)},gallerySettings:function(t){var e;!this.get("displaySettings")||(e=this.get("library"))&amp;&amp;t&amp;&amp;(e.gallery=e.gallery||new Backbone.Model,t.sidebar.set({gallery:new wp.media.view.Settings.Gallery({controller:this,model:e.gallery,priority:40})}),t.toolbar.set("reverse",{text:i.reverseOrder,priority:80,click:function(){e.reset(e.toArray().reverse())}}))}});t.exports=s},3849:function(t){var e=wp.media.controller.State,i=wp.media.controller.Library,s=wp.media.view.l10n,s=e.extend({defaults:_.defaults({id:"image-details",title:s.imageDetailsTitle,content:"image-details",menu:!1,router:!1,toolbar:"image-details",editing:!1,priority:60},i.prototype.defaults),initialize:function(t){this.image=t.image,e.prototype.initialize.apply(this,arguments)},activate:function(){this.frame.modal.$el.addClass("image-details")}});t.exports=s},9024:function(t){var e=wp.media.view.l10n,i=window.getUserSetting,s=window.setUserSetting,e=wp.media.controller.State.extend({defaults:{id:"library",title:e.mediaLibraryTitle,multiple:!1,content:"upload",menu:"default",router:"browse",toolbar:"select",searchable:!0,filterable:!1,sortable:!0,autoSelect:!0,describe:!1,contentUserSetting:!0,syncSelection:!0},initialize:function(){var t=this.get("selection");this.get("library")||this.set("library",wp.media.query()),t instanceof wp.media.model.Selection||((t=t)||(t=this.get("library").props.toJSON(),t=_.omit(t,"orderby","query")),this.set("selection",new wp.media.model.Selection(null,{multiple:this.get("multiple"),props:t}))),this.resetDisplays()},activate:function(){this.syncSelection(),wp.Uploader.queue.on("add",this.uploading,this),this.get("selection").on("add remove reset",this.refreshContent,this),this.get("router")&amp;&amp;this.get("contentUserSetting")&amp;&amp;(this.frame.on("content:activate",this.saveContentMode,this),this.set("content",i("libraryContent",this.get("content"))))},deactivate:function(){this.recordSelection(),this.frame.off("content:activate",this.saveContentMode,this),this.get("selection").off(null,null,this),wp.Uploader.queue.off(null,null,this)},reset:function(){this.get("selection").reset(),this.resetDisplays(),this.refreshContent()},resetDisplays:function(){var t=wp.media.view.settings.defaultProps;this._displays=[],this._defaultDisplaySettings={align:i("align",t.align)||"none",size:i("imgsize",t.size)||"medium",link:i("urlbutton",t.link)||"none"}},display:function(t){var e=this._displays;return e[t.cid]||(e[t.cid]=new Backbone.Model(this.defaultDisplaySettings(t))),e[t.cid]},defaultDisplaySettings:function(t){var e=_.clone(this._defaultDisplaySettings);return e.canEmbed=this.canEmbed(t),e.canEmbed?e.link="embed":this.isImageAttachment(t)||"none"!==e.link||(e.link="file"),e},isImageAttachment:function(t){return t.get("uploading")?/\\.(jpe?g|png|gif|webp)$/i.test(t.get("filename")):"image"===t.get("type")},canEmbed:function(t){if(!t.get("uploading")){var e=t.get("type");if("audio"!==e&amp;&amp;"video"!==e)return!1}return _.contains(wp.media.view.settings.embedExts,t.get("filename").split(".").pop())},refreshContent:function(){var t=this.get("selection"),e=this.frame,i=e.router.get(),e=e.content.mode();this.active&amp;&amp;!t.length&amp;&amp;i&amp;&amp;!i.get(e)&amp;&amp;this.frame.content.render(this.get("content"))},uploading:function(t){"upload"===this.frame.content.mode()&amp;&amp;this.frame.content.mode("browse"),this.get("autoSelect")&amp;&amp;(this.get("selection").add(t),this.frame.trigger("library:selection:add"))},saveContentMode:function(){var t,e;"browse"===this.get("router")&amp;&amp;(t=this.frame.content.mode(),(e=this.frame.router.get())&amp;&amp;e.get(t)&amp;&amp;s("libraryContent",t))}});_.extend(e.prototype,wp.media.selectionSync),t.exports=e},3742:function(t){var e=wp.media.controller.Library,i=e.extend({defaults:_.defaults({filterable:"uploaded",displaySettings:!1,priority:80,syncSelection:!1},e.prototype.defaults),initialize:function(t){this.media=t.media,this.type=t.type,this.set("library",wp.media.query({type:this.type})),e.prototype.initialize.apply(this,arguments)},activate:function(){wp.media.frame.lastMime&amp;&amp;(this.set("library",wp.media.query({type:wp.media.frame.lastMime})),delete wp.media.frame.lastMime),e.prototype.activate.apply(this,arguments)}});t.exports=i},4903:function(t){function e(t){_.extend(this,_.pick(t||{},"id","view","selector"))}e.extend=Backbone.Model.extend,_.extend(e.prototype,{mode:function(t){return t?(t===this._mode||(this.trigger("deactivate"),this._mode=t,this.render(t),this.trigger("activate")),this):this._mode},render:function(t){if(t&amp;&amp;t!==this._mode)return this.mode(t);var t={view:null};return this.trigger("create",t),this.trigger("render",t=t.view),t&amp;&amp;this.set(t),this},get:function(){return this.view.views.first(this.selector)},set:function(t,e){return e&amp;&amp;(e.add=!1),this.view.views.set(this.selector,t,e)},trigger:function(t){var e,i;if(this._mode)return i=_.toArray(arguments),e=this.id+":"+t,i[0]=e+":"+this._mode,this.view.trigger.apply(this.view,i),i[0]=e,this.view.trigger.apply(this.view,i),this}}),t.exports=e},8493:function(t){var i=wp.media.controller.Library,e=wp.media.view.l10n,e=i.extend({defaults:_.defaults({id:"replace-image",title:e.replaceImageTitle,multiple:!1,filterable:"uploaded",toolbar:"replace",menu:!1,priority:60,syncSelection:!0},i.prototype.defaults),initialize:function(t){var e,o;this.image=t.image,this.get("library")||this.set("library",wp.media.query({type:"image"})),i.prototype.initialize.apply(this,arguments),e=this.get("library"),o=e.comparator,e.comparator=function(t,e){var i=!!this.mirroring.get(t.cid),s=!!this.mirroring.get(e.cid);return!i&amp;&amp;s?-1:i&amp;&amp;!s?1:o.apply(this,arguments)},e.observe(this.get("selection"))},activate:function(){this.frame.on("content:render:browse",this.updateSelection,this),i.prototype.activate.apply(this,arguments)},deactivate:function(){this.frame.off("content:render:browse",this.updateSelection,this),i.prototype.deactivate.apply(this,arguments)},updateSelection:function(){var t=this.get("selection"),e=this.image.attachment;t.reset(e?[e]:[])}});t.exports=e},5274:function(t){var e=wp.media.controller.Cropper.extend({activate:function(){this.frame.on("content:create:crop",this.createCropContent,this),this.frame.on("close",this.removeCropper,this),this.set("selection",new Backbone.Collection(this.frame._selection.single))},createCropContent:function(){this.cropperView=new wp.media.view.SiteIconCropper({controller:this,attachment:this.get("selection").first()}),this.cropperView.on("image-loaded",this.createCropToolbar,this),this.frame.content.set(this.cropperView)},doCrop:function(t){var e=t.get("cropDetails"),i=this.get("control");return e.dst_width=i.params.width,e.dst_height=i.params.height,wp.ajax.post("crop-image",{nonce:t.get("nonces").edit,id:t.get("id"),context:"site-icon",cropDetails:e})}});t.exports=e},5466:function(t){function e(){return{extend:Backbone.Model.extend}}_.extend(e.prototype,Backbone.Events,{state:function(t){return this.states=this.states||new Backbone.Collection,(t=t||this._state)&amp;&amp;!this.states.get(t)&amp;&amp;this.states.add({id:t}),this.states.get(t)},setState:function(t){var e=this.state();return e&amp;&amp;t===e.id||!this.states||!this.states.get(t)||(e&amp;&amp;(e.trigger("deactivate"),this._lastState=e.id),this._state=t,this.state().trigger("activate")),this},lastState:function(){if(this._lastState)return this.state(this._lastState)}}),_.each(["on","off","trigger"],function(t){e.prototype[t]=function(){return this.states=this.states||new Backbone.Collection,this.states[t].apply(this.states,arguments),this}}),t.exports=e},5826:function(t){var i=Backbone.Model.extend({constructor:function(){this.on("activate",this._preActivate,this),this.on("activate",this.activate,this),this.on("activate",this._postActivate,this),this.on("deactivate",this._deactivate,this),this.on("deactivate",this.deactivate,this),this.on("reset",this.reset,this),this.on("ready",this._ready,this),this.on("ready",this.ready,this),Backbone.Model.apply(this,arguments),this.on("change:menu",this._updateMenu,this)},ready:function(){},activate:function(){},deactivate:function(){},reset:function(){},_ready:function(){this._updateMenu()},_preActivate:function(){this.active=!0},_postActivate:function(){this.on("change:menu",this._menu,this),this.on("change:titleMode",this._title,this),this.on("change:content",this._content,this),this.on("change:toolbar",this._toolbar,this),this.frame.on("title:render:default",this._renderTitle,this),this._title(),this._menu(),this._toolbar(),this._content(),this._router()},_deactivate:function(){this.active=!1,this.frame.off("title:render:default",this._renderTitle,this),this.off("change:menu",this._menu,this),this.off("change:titleMode",this._title,this),this.off("change:content",this._content,this),this.off("change:toolbar",this._toolbar,this)},_title:function(){this.frame.title.render(this.get("titleMode")||"default")},_renderTitle:function(t){t.$el.text(this.get("title")||"")},_router:function(){var t=this.frame.router,e=this.get("router");this.frame.$el.toggleClass("hide-router",!e),e&amp;&amp;(this.frame.router.render(e),(e=t.get())&amp;&amp;e.select&amp;&amp;e.select(this.frame.content.mode()))},_menu:function(){var t=this.frame.menu,e=this.get("menu");this.frame.$el.toggleClass("hide-menu",!e),e&amp;&amp;(t.mode(e),(e=t.get())&amp;&amp;e.select&amp;&amp;e.select(this.id))},_updateMenu:function(){var t=this.previous("menu"),e=this.get("menu");t&amp;&amp;this.frame.off("menu:render:"+t,this._renderMenu,this),e&amp;&amp;this.frame.on("menu:render:"+e,this._renderMenu,this)},_renderMenu:function(t){var e=this.get("menuItem"),i=this.get("title"),s=this.get("priority");!e&amp;&amp;i&amp;&amp;(e={text:i},s&amp;&amp;(e.priority=s)),e&amp;&amp;t.set(this.id,e)}});_.each(["toolbar","content"],function(e){i.prototype["_"+e]=function(){var t=this.get(e);t&amp;&amp;this.frame[e].render(t)}}),t.exports=i},3526:function(t){t.exports={syncSelection:function(){var t=this.get("selection"),e=this.frame._selection;this.get("syncSelection")&amp;&amp;e&amp;&amp;t&amp;&amp;(t.multiple&amp;&amp;(t.reset([],{silent:!0}),t.validateAll(e.attachments),e.difference=_.difference(e.attachments.models,t.models)),t.single(e.single))},recordSelection:function(){var t=this.get("selection"),e=this.frame._selection;this.get("syncSelection")&amp;&amp;e&amp;&amp;t&amp;&amp;(t.multiple?(e.attachments.reset(t.toArray().concat(e.difference)),e.difference=[]):e.attachments.add(t.toArray()),e.single=t._single)}}},8093:function(t){var e=wp.media.View,i=e.extend({tagName:"form",className:"compat-item",events:{submit:"preventDefault","change input":"save","change select":"save","change textarea":"save"},initialize:function(){this.listenTo(this.model,"change:compat",this.render)},dispose:function(){return this.$(":focus").length&amp;&amp;this.save(),e.prototype.dispose.apply(this,arguments)},render:function(){var t=this.model.get("compat");if(t&amp;&amp;t.item)return this.views.detach(),this.$el.html(t.item),this.views.render(),this},preventDefault:function(t){t.preventDefault()},save:function(t){var e={};t&amp;&amp;t.preventDefault(),_.each(this.$el.serializeArray(),function(t){e[t.name]=t.value}),this.controller.trigger("attachment:compat:waiting",["waiting"]),this.model.saveCompat(e).always(_.bind(this.postSave,this))},postSave:function(){this.controller.trigger("attachment:compat:ready",["ready"])}});t.exports=i},4906:function(t){var i=jQuery,e=wp.media.View.extend({tagName:"select",className:"attachment-filters",id:"media-attachment-filters",events:{change:"change"},keys:[],initialize:function(){this.createFilters(),_.extend(this.filters,this.options.filters),this.$el.html(_.chain(this.filters).map(function(t,e){return{el:i("").val(e).html(t.text)[0],priority:t.priority||50}},this).sortBy("priority").pluck("el").value()),this.listenTo(this.model,"change",this.select),this.select()},createFilters:function(){this.filters={}},change:function(){var t=this.filters[this.el.value];t&amp;&amp;this.model.set(t.props)},select:function(){var t=this.model,i="all",s=t.toJSON();_.find(this.filters,function(t,e){if(_.all(t.props,function(t,e){return t===(_.isUndefined(s[e])?null:s[e])}))return i=e}),this.$el.val(i)}});t.exports=e},2868:function(t){var e=wp.media.view.l10n,i=wp.media.view.AttachmentFilters.extend({createFilters:function(){var i={},t=window.userSettings?parseInt(window.userSettings.uid,10):0;_.each(wp.media.view.settings.mimeTypes||{},function(t,e){i[e]={text:t,props:{status:null,type:e,uploadedTo:null,orderby:"date",order:"DESC",author:null}}}),i.all={text:e.allMediaItems,props:{status:null,type:null,uploadedTo:null,orderby:"date",order:"DESC",author:null},priority:10},wp.media.view.settings.post.id&amp;&amp;(i.uploaded={text:e.uploadedToThisPost,props:{status:null,type:null,uploadedTo:wp.media.view.settings.post.id,orderby:"menuOrder",order:"ASC",author:null},priority:20}),i.unattached={text:e.unattached,props:{status:null,uploadedTo:0,type:null,orderby:"menuOrder",order:"ASC",author:null},priority:50},t&amp;&amp;(i.mine={text:e.mine,props:{status:null,type:null,uploadedTo:null,orderby:"date",order:"DESC",author:t},priority:50}),wp.media.view.settings.mediaTrash&amp;&amp;this.controller.isModeActive("grid")&amp;&amp;(i.trash={text:e.trash,props:{uploadedTo:null,status:"trash",type:null,orderby:"date",order:"DESC",author:null},priority:50}),this.filters=i}});t.exports=i},9663:function(t){var e=wp.media.view.l10n,i=wp.media.view.AttachmentFilters.extend({id:"media-attachment-date-filters",createFilters:function(){var i={};_.each(wp.media.view.settings.months||{},function(t,e){i[e]={text:t.text,props:{year:t.year,monthnum:t.month}}}),i.all={text:e.allDates,props:{monthnum:!1,year:!1},priority:10},this.filters=i}});t.exports=i},7040:function(t){var o=wp.media.view.l10n,e=wp.media.view.AttachmentFilters.extend({createFilters:function(){var t,e=this.model.get("type"),i=wp.media.view.settings.mimeTypes,s=window.userSettings?parseInt(window.userSettings.uid,10):0;i&amp;&amp;e&amp;&amp;(t=i[e]),this.filters={all:{text:t||o.allMediaItems,props:{uploadedTo:null,orderby:"date",order:"DESC",author:null},priority:10},uploaded:{text:o.uploadedToThisPost,props:{uploadedTo:wp.media.view.settings.post.id,orderby:"menuOrder",order:"ASC",author:null},priority:20},unattached:{text:o.unattached,props:{uploadedTo:0,orderby:"menuOrder",order:"ASC",author:null},priority:50}},s&amp;&amp;(this.filters.mine={text:o.mine,props:{orderby:"date",order:"DESC",author:s},priority:50})}});t.exports=e},5019:function(t){var e=wp.media.View,o=jQuery,i=e.extend({tagName:"li",className:"attachment",template:wp.template("attachment"),attributes:function(){return{tabIndex:0,role:"checkbox","aria-label":this.model.get("title"),"aria-checked":!1,"data-id":this.model.get("id")}},events:{click:"toggleSelectionHandler","change [data-setting]":"updateSetting","change [data-setting] input":"updateSetting","change [data-setting] select":"updateSetting","change [data-setting] textarea":"updateSetting","click .attachment-close":"removeFromLibrary","click .check":"checkClickHandler",keydown:"toggleSelectionHandler"},buttons:{},initialize:function(){var t=this.options.selection;_.defaults(this.options,{rerenderOnModelChange:!0}).rerenderOnModelChange?this.listenTo(this.model,"change",this.render):this.listenTo(this.model,"change:percent",this.progress),this.listenTo(this.model,"change:title",this._syncTitle),this.listenTo(this.model,"change:caption",this._syncCaption),this.listenTo(this.model,"change:artist",this._syncArtist),this.listenTo(this.model,"change:album",this._syncAlbum),this.listenTo(this.model,"add",this.select),this.listenTo(this.model,"remove",this.deselect),t&amp;&amp;(t.on("reset",this.updateSelect,this),this.listenTo(this.model,"selection:single selection:unsingle",this.details),this.details(this.model,this.controller.state().get("selection"))),this.listenTo(this.controller.states,"attachment:compat:waiting attachment:compat:ready",this.updateSave)},dispose:function(){var t=this.options.selection;return this.updateAll(),t&amp;&amp;t.off(null,null,this),e.prototype.dispose.apply(this,arguments),this},render:function(){var t=_.defaults(this.model.toJSON(),{orientation:"landscape",uploading:!1,type:"",subtype:"",icon:"",filename:"",caption:"",title:"",dateFormatted:"",width:"",height:"",compat:!1,alt:"",description:""},this.options);return t.buttons=this.buttons,t.describe=this.controller.state().get("describe"),"image"===t.type&amp;&amp;(t.size=this.imageSize()),t.can={},t.nonces&amp;&amp;(t.can.remove=!!t.nonces.delete,t.can.save=!!t.nonces.update),this.controller.state().get("allowLocalEdits")&amp;&amp;(t.allowLocalEdits=!0),t.uploading&amp;&amp;!t.percent&amp;&amp;(t.percent=0),this.views.detach(),this.$el.html(this.template(t)),this.$el.toggleClass("uploading",t.uploading),t.uploading?this.$bar=this.$(".media-progress-bar div"):delete this.$bar,this.updateSelect(),this.updateSave(),this.views.render(),this},progress:function(){this.$bar&amp;&amp;this.$bar.length&amp;&amp;this.$bar.width(this.model.get("percent")+"%")},toggleSelectionHandler:function(t){var e;if("INPUT"!==t.target.nodeName&amp;&amp;"BUTTON"!==t.target.nodeName)if(37===t.keyCode||38===t.keyCode||39===t.keyCode||40===t.keyCode)this.controller.trigger("attachment:keydown:arrow",t);else if("keydown"!==t.type||13===t.keyCode||32===t.keyCode){if(t.preventDefault(),this.controller.isModeActive("grid")){if(this.controller.isModeActive("edit"))return void this.controller.trigger("edit:attachment",this.model,t.currentTarget);this.controller.isModeActive("select")&amp;&amp;(e="toggle")}t.shiftKey?e="between":(t.ctrlKey||t.metaKey)&amp;&amp;(e="toggle"),this.toggleSelection({method:e}),this.controller.trigger("selection:toggle")}},toggleSelection:function(t){var e,i,s,o=this.collection,n=this.options.selection,a=this.model,t=t&amp;&amp;t.method;if(n)return e=n.single(),"between"===(t=_.isUndefined(t)?n.multiple:t)&amp;&amp;e&amp;&amp;n.multiple?e===a?void 0:(o=(i=o.indexOf(e))&lt;(s=o.indexOf(this.model))?o.models.slice(i,s+1):o.models.slice(s,i+1),n.add(o),void n.single(a)):&quot;toggle&quot;===t?(n[this.selected()?&quot;remove&quot;:&quot;add&quot;](a),void n.single(a)):&quot;add&quot;===t?(n.add(a),void n.single(a)):(&quot;add&quot;!==(t=t||&quot;add&quot;)&amp;&amp;(t=&quot;reset&quot;),void(this.selected()?n[e===a?&quot;remove&quot;:&quot;single&quot;](a):(n[t](a),n.single(a))))},updateSelect:function(){this[this.selected()?&quot;select&quot;:&quot;deselect&quot;]()},selected:function(){var t=this.options.selection;if(t)return!!t.get(this.model.cid)},select:function(t,e){var i=this.options.selection,s=this.controller;!i||e&amp;&amp;e!==i||this.$el.hasClass(&quot;selected&quot;)||(this.$el.addClass(&quot;selected&quot;).attr(&quot;aria-checked&quot;,!0),s.isModeActive(&quot;grid&quot;)&amp;&amp;s.isModeActive(&quot;select&quot;)||this.$(&quot;.check&quot;).attr(&quot;tabindex&quot;,&quot;0&quot;))},deselect:function(t,e){var i=this.options.selection;!i||e&amp;&amp;e!==i||this.$el.removeClass(&quot;selected&quot;).attr(&quot;aria-checked&quot;,!1).find(&quot;.check&quot;).attr(&quot;tabindex&quot;,&quot;-1&quot;)},details:function(t,e){var i=this.options.selection;i===e&amp;&amp;(e=i.single(),this.$el.toggleClass(&quot;details&quot;,e===this.model))},imageSize:function(t){var e=this.model.get(&quot;sizes&quot;),i=!1;return t=t||&quot;medium&quot;,e&amp;&amp;(e[t]?i=e[t]:e.large?i=e.large:e.thumbnail?i=e.thumbnail:e.full&amp;&amp;(i=e.full),i)?_.clone(i):{url:this.model.get(&quot;url&quot;),width:this.model.get(&quot;width&quot;),height:this.model.get(&quot;height&quot;),orientation:this.model.get(&quot;orientation&quot;)}},updateSetting:function(t){var e=o(t.target).closest(&quot;[data-setting]&quot;);e.length&amp;&amp;(e=e.data(&quot;setting&quot;),t=t.target.value,this.model.get(e)!==t&amp;&amp;this.save(e,t))},save:function(){var t=this,e=this._save=this._save||{status:&quot;ready&quot;},i=this.model.save.apply(this.model,arguments),s=e.requests?o.when(i,e.requests):i;e.savedTimer&amp;&amp;clearTimeout(e.savedTimer),this.updateSave(&quot;waiting&quot;),(e.requests=s).always(function(){e.requests===s&amp;&amp;(t.updateSave(&quot;resolved&quot;===s.state()?&quot;complete&quot;:&quot;error&quot;),e.savedTimer=setTimeout(function(){t.updateSave(&quot;ready&quot;),delete e.savedTimer},2e3))})},updateSave:function(t){var e=this._save=this._save||{status:&quot;ready&quot;};return t&amp;&amp;t!==e.status&amp;&amp;(this.$el.removeClass(&quot;save-&quot;+e.status),e.status=t),this.$el.addClass(&quot;save-&quot;+e.status),this},updateAll:function(){var t=this.$(&quot;[data-setting]&quot;),i=this.model,t=_.chain(t).map(function(t){var e=o(&quot;input, textarea, select, [value]&quot;,t);if(e.length)return t=o(t).data(&quot;setting&quot;),e=e.val(),i.get(t)!==e?[t,e]:void 0}).compact().object().value();_.isEmpty(t)||i.save(t)},removeFromLibrary:function(t){&quot;keydown&quot;===t.type&amp;&amp;13!==t.keyCode&amp;&amp;32!==t.keyCode||(t.stopPropagation(),this.collection.remove(this.model))},checkClickHandler:function(t){var e=this.options.selection;e&amp;&amp;(t.stopPropagation(),e.where({id:this.model.get(&quot;id&quot;)}).length?(e.remove(this.model),this.$el.focus()):e.add(this.model),this.controller.trigger(&quot;selection:toggle&quot;))}});_.each({caption:&quot;_syncCaption&quot;,title:&quot;_syncTitle&quot;,artist:&quot;_syncArtist&quot;,album:&quot;_syncAlbum&quot;},function(t,s){i.prototype[t]=function(t,e){var i=this.$(&#039;[data-setting=&quot;&#039;+s+&#039;&quot;]&#039;);return!i.length||e===i.find(&quot;input, textarea, select, [value]&quot;).val()?this:this.render()}}),t.exports=i},7274:function(t){var e=wp.media.view.Attachment,i=wp.media.view.l10n,o=jQuery,n=wp.i18n.__,s=e.extend({tagName:&quot;div&quot;,className:&quot;attachment-details&quot;,template:wp.template(&quot;attachment-details&quot;),attributes:{},events:{&quot;change [data-setting]&quot;:&quot;updateSetting&quot;,&quot;change [data-setting] input&quot;:&quot;updateSetting&quot;,&quot;change [data-setting] select&quot;:&quot;updateSetting&quot;,&quot;change [data-setting] textarea&quot;:&quot;updateSetting&quot;,&quot;click .delete-attachment&quot;:&quot;deleteAttachment&quot;,&quot;click .trash-attachment&quot;:&quot;trashAttachment&quot;,&quot;click .untrash-attachment&quot;:&quot;untrashAttachment&quot;,&quot;click .edit-attachment&quot;:&quot;editAttachment&quot;,keydown:&quot;toggleSelectionHandler&quot;},copyAttachmentDetailsURLClipboard:function(){var s;new ClipboardJS(&quot;.copy-attachment-url&quot;).on(&quot;success&quot;,function(t){var e=o(t.trigger),i=o(&quot;.success&quot;,e.closest(&quot;.copy-to-clipboard-container&quot;));t.clearSelection(),e.trigger(&quot;focus&quot;),clearTimeout(s),i.removeClass(&quot;hidden&quot;),s=setTimeout(function(){i.addClass(&quot;hidden&quot;)},3e3),wp.a11y.speak(n(&quot;The file URL has been copied to your clipboard&quot;))})},initialize:function(){this.options=_.defaults(this.options,{rerenderOnModelChange:!1}),e.prototype.initialize.apply(this,arguments),this.copyAttachmentDetailsURLClipboard()},getFocusableElements:function(){var t=o(&#039;li[data-id=&quot;&#039;+this.model.id+&#039;&quot;]&#039;);this.previousAttachment=t.prev(),this.nextAttachment=t.next()},moveFocus:function(){this.previousAttachment.length?this.previousAttachment.trigger(&quot;focus&quot;):this.nextAttachment.length?this.nextAttachment.trigger(&quot;focus&quot;):this.controller.uploader&amp;&amp;this.controller.uploader.$browser?this.controller.uploader.$browser.trigger(&quot;focus&quot;):this.moveFocusToLastFallback()},moveFocusToLastFallback:function(){o(&quot;.media-frame&quot;).attr(&quot;tabindex&quot;,&quot;-1&quot;).trigger(&quot;focus&quot;)},deleteAttachment:function(t){t.preventDefault(),this.getFocusableElements(),window.confirm(i.warnDelete)&amp;&amp;(this.model.destroy({wait:!0,error:function(){window.alert(i.errorDeleting)}}),this.moveFocus())},trashAttachment:function(t){var e=this.controller.library,i=this;t.preventDefault(),this.getFocusableElements(),wp.media.view.settings.mediaTrash&amp;&amp;&quot;edit-metadata&quot;===this.controller.content.mode()?(this.model.set(&quot;status&quot;,&quot;trash&quot;),this.model.save().done(function(){e._requery(!0),i.moveFocusToLastFallback()})):(this.model.destroy(),this.moveFocus())},untrashAttachment:function(t){var e=this.controller.library;t.preventDefault(),this.model.set(&quot;status&quot;,&quot;inherit&quot;),this.model.save().done(function(){e._requery(!0)})},editAttachment:function(t){var e=this.controller.states.get(&quot;edit-image&quot;);window.imageEdit&amp;&amp;e?(t.preventDefault(),e.set(&quot;image&quot;,this.model),this.controller.setState(&quot;edit-image&quot;)):this.$el.addClass(&quot;needs-refresh&quot;)},toggleSelectionHandler:function(t){if(&quot;keydown&quot;===t.type&amp;&amp;9===t.keyCode&amp;&amp;t.shiftKey&amp;&amp;t.target===this.$(&quot;:tabbable&quot;).get(0))return this.controller.trigger(&quot;attachment:details:shift-tab&quot;,t),!1},render:function(){e.prototype.render.apply(this,arguments),wp.media.mixin.removeAllPlayers(),this.$(&quot;audio, video&quot;).each(function(t,e){e=wp.media.view.MediaDetails.prepareSrc(e);new window.MediaElementPlayer(e,wp.media.mixin.mejsSettings)})}});t.exports=s},4640:function(t){var e=wp.media.view.Attachment.extend({buttons:{close:!0}});t.exports=e},1009:function(t){var e=wp.media.view.Attachment.Selection.extend({buttons:{close:!0}});t.exports=e},9254:function(t){var e=wp.media.view.Attachment.extend({buttons:{check:!0}});t.exports=e},9003:function(t){var e=wp.media.view.Attachment.extend({className:&quot;attachment selection&quot;,toggleSelection:function(){this.options.selection.single(this.model)}});t.exports=e},8408:function(t){var e=wp.media.View,n=jQuery,i=wp.media.view.settings.infiniteScrolling,s=e.extend({tagName:&quot;ul&quot;,className:&quot;attachments&quot;,attributes:{tabIndex:-1},initialize:function(){this.el.id=_.uniqueId(&quot;__attachments-view-&quot;),_.defaults(this.options,{infiniteScrolling:i||!1,refreshSensitivity:wp.media.isTouchDevice?300:200,refreshThreshold:3,AttachmentView:wp.media.view.Attachment,sortable:!1,resize:!0,idealColumnWidth:n(window).width()&lt;640?135:150}),this._viewsByCid={},this.$window=n(window),this.resizeEvent=&quot;resize.media-modal-columns&quot;,this.collection.on(&quot;add&quot;,function(t){this.views.add(this.createAttachmentView(t),{at:this.collection.indexOf(t)})},this),this.collection.on(&quot;remove&quot;,function(t){var e=this._viewsByCid[t.cid];delete this._viewsByCid[t.cid],e&amp;&amp;e.remove()},this),this.collection.on(&quot;reset&quot;,this.render,this),this.controller.on(&quot;library:selection:add&quot;,this.attachmentFocus,this),this.options.infiniteScrolling&amp;&amp;(this.scroll=_.chain(this.scroll).bind(this).throttle(this.options.refreshSensitivity).value(),this.options.scrollElement=this.options.scrollElement||this.el,n(this.options.scrollElement).on(&quot;scroll&quot;,this.scroll)),this.initSortable(),_.bindAll(this,&quot;setColumns&quot;),this.options.resize&amp;&amp;(this.on(&quot;ready&quot;,this.bindEvents),this.controller.on(&quot;open&quot;,this.setColumns),_.defer(this.setColumns,this))},bindEvents:function(){this.$window.off(this.resizeEvent).on(this.resizeEvent,_.debounce(this.setColumns,50))},attachmentFocus:function(){this.columns&amp;&amp;this.$el.focus()},restoreFocus:function(){this.$(&quot;li.selected:first&quot;).focus()},arrowEvent:function(t){var e=this.$el.children(&quot;li&quot;),i=this.columns,s=e.filter(&quot;:focus&quot;).index(),o=s+1&lt;=i?1:Math.ceil((s+1)/i);if(-1!==s){if(37===t.keyCode){if(0===s)return;e.eq(s-1).focus()}if(38===t.keyCode){if(1===o)return;e.eq(s-i).focus()}if(39===t.keyCode){if(e.length===s)return;e.eq(s+1).focus()}40===t.keyCode&amp;&amp;Math.ceil(e.length/i)!==o&amp;&amp;e.eq(s+i).focus()}},dispose:function(){this.collection.props.off(null,null,this),this.options.resize&amp;&amp;this.$window.off(this.resizeEvent),e.prototype.dispose.apply(this,arguments)},setColumns:function(){var t=this.columns,e=this.$el.width();e&amp;&amp;(this.columns=Math.min(Math.round(e/this.options.idealColumnWidth),12)||1,t&amp;&amp;t===this.columns||this.$el.closest(&quot;.media-frame-content&quot;).attr(&quot;data-columns&quot;,this.columns))},initSortable:function(){var o=this.collection;this.options.sortable&amp;&amp;n.fn.sortable&amp;&amp;(this.$el.sortable(_.extend({disabled:!!o.comparator,tolerance:&quot;pointer&quot;,start:function(t,e){e.item.data(&quot;sortableIndexStart&quot;,e.item.index())},update:function(t,e){var i=o.at(e.item.data(&quot;sortableIndexStart&quot;)),s=o.comparator;delete o.comparator,o.remove(i,{silent:!0}),o.add(i,{silent:!0,at:e.item.index()}),o.comparator=s,o.trigger(&quot;reset&quot;,o),o.saveMenuOrder()}},this.options.sortable)),o.props.on(&quot;change:orderby&quot;,function(){this.$el.sortable(&quot;option&quot;,&quot;disabled&quot;,!!o.comparator)},this),this.collection.props.on(&quot;change:orderby&quot;,this.refreshSortable,this),this.refreshSortable())},refreshSortable:function(){var t;this.options.sortable&amp;&amp;n.fn.sortable&amp;&amp;(t=&quot;menuOrder&quot;===(t=this.collection).props.get(&quot;orderby&quot;)||!t.comparator,this.$el.sortable(&quot;option&quot;,&quot;disabled&quot;,!t))},createAttachmentView:function(t){var e=new this.options.AttachmentView({controller:this.controller,model:t,collection:this.collection,selection:this.options.selection});return this._viewsByCid[t.cid]=e},prepare:function(){this.collection.length?this.views.set(this.collection.map(this.createAttachmentView,this)):(this.views.unset(),this.options.infiniteScrolling&amp;&amp;this.collection.more().done(this.scroll))},ready:function(){this.options.infiniteScrolling&amp;&amp;this.scroll()},scroll:function(){var t,e=this,i=this.options.scrollElement,s=i.scrollTop;i===document&amp;&amp;(i=document.body,s=n(document).scrollTop()),n(i).is(&quot;:visible&quot;)&amp;&amp;this.collection.hasMore()&amp;&amp;(t=this.views.parent.toolbar,i.scrollHeight-(s+i.clientHeight)&lt;i.clientHeight/3&amp;&amp;t.get(&quot;spinner&quot;).show(),i.scrollHeight&lt;s+i.clientHeight*this.options.refreshThreshold&amp;&amp;this.collection.more().done(function(){e.scroll(),t.get(&quot;spinner&quot;).hide()}))}});t.exports=s},9239:function(t){var s=wp.media.View,o=wp.media.view.settings.mediaTrash,n=wp.media.view.l10n,a=jQuery,i=wp.media.view.settings.infiniteScrolling,r=wp.i18n.__,e=wp.i18n.sprintf,l=s.extend({tagName:&quot;div&quot;,className:&quot;attachments-browser&quot;,initialize:function(){_.defaults(this.options,{filters:!1,search:!0,date:!0,display:!1,sidebar:!0,AttachmentView:wp.media.view.Attachment.Library}),this.controller.on(&quot;toggle:upload:attachment&quot;,this.toggleUploader,this),this.controller.on(&quot;edit:selection&quot;,this.editSelection),this.options.sidebar&amp;&amp;&quot;errors&quot;===this.options.sidebar&amp;&amp;this.createSidebar(),this.controller.isModeActive(&quot;grid&quot;)?(this.createUploader(),this.createToolbar()):(this.createToolbar(),this.createUploader()),this.createAttachmentsHeading(),this.createAttachmentsWrapperView(),i||(this.$el.addClass(&quot;has-load-more&quot;),this.createLoadMoreView()),this.options.sidebar&amp;&amp;&quot;errors&quot;!==this.options.sidebar&amp;&amp;this.createSidebar(),this.updateContent(),i||this.updateLoadMoreView(),this.options.sidebar&amp;&amp;&quot;errors&quot;!==this.options.sidebar||(this.$el.addClass(&quot;hide-sidebar&quot;),&quot;errors&quot;===this.options.sidebar&amp;&amp;this.$el.addClass(&quot;sidebar-for-errors&quot;)),this.collection.on(&quot;add remove reset&quot;,this.updateContent,this),i||this.collection.on(&quot;add remove reset&quot;,this.updateLoadMoreView,this),this.collection.on(&quot;attachments:received&quot;,this.announceSearchResults,this)},announceSearchResults:_.debounce(function(){var t,e=r(&quot;Number of media items displayed: %d. Click load more for more results.&quot;);i&amp;&amp;(e=r(&quot;Number of media items displayed: %d. Scroll the page for more results.&quot;)),this.collection.mirroring&amp;&amp;this.collection.mirroring.args.s&amp;&amp;(0===(t=this.collection.length)?wp.a11y.speak(n.noMediaTryNewSearch):this.collection.hasMore()?wp.a11y.speak(e.replace(&quot;%d&quot;,t)):wp.a11y.speak(n.mediaFound.replace(&quot;%d&quot;,t)))},200),editSelection:function(t){t.$(&quot;.media-button-backToLibrary&quot;).focus()},dispose:function(){return this.options.selection.off(null,null,this),s.prototype.dispose.apply(this,arguments),this},createToolbar:function(){var t,e=-1!==a.inArray(this.options.filters,[&quot;uploaded&quot;,&quot;all&quot;]),i={controller:this.controller};this.controller.isModeActive(&quot;grid&quot;)&amp;&amp;(i.className=&quot;media-toolbar wp-filter&quot;),this.toolbar=new wp.media.view.Toolbar(i),this.views.add(this.toolbar),this.toolbar.set(&quot;spinner&quot;,new wp.media.view.Spinner({priority:-20})),(e||this.options.date)&amp;&amp;this.toolbar.set(&quot;filters-heading&quot;,new wp.media.view.Heading({priority:-100,text:n.filterAttachments,level:&quot;h2&quot;,className:&quot;media-attachments-filter-heading&quot;}).render()),e&amp;&amp;(this.toolbar.set(&quot;filtersLabel&quot;,new wp.media.view.Label({value:n.filterByType,attributes:{for:&quot;media-attachment-filters&quot;},priority:-80}).render()),&quot;uploaded&quot;===this.options.filters?this.toolbar.set(&quot;filters&quot;,new wp.media.view.AttachmentFilters.Uploaded({controller:this.controller,model:this.collection.props,priority:-80}).render()):(t=new wp.media.view.AttachmentFilters.All({controller:this.controller,model:this.collection.props,priority:-80}),this.toolbar.set(&quot;filters&quot;,t.render()))),this.controller.isModeActive(&quot;grid&quot;)?(i=s.extend({className:&quot;view-switch media-grid-view-switch&quot;,template:wp.template(&quot;media-library-view-switcher&quot;)}),this.toolbar.set(&quot;libraryViewSwitcher&quot;,new i({controller:this.controller,priority:-90}).render()),this.toolbar.set(&quot;dateFilterLabel&quot;,new wp.media.view.Label({value:n.filterByDate,attributes:{for:&quot;media-attachment-date-filters&quot;},priority:-75}).render()),this.toolbar.set(&quot;dateFilter&quot;,new wp.media.view.DateFilter({controller:this.controller,model:this.collection.props,priority:-75}).render()),this.toolbar.set(&quot;selectModeToggleButton&quot;,new wp.media.view.SelectModeToggleButton({text:n.bulkSelect,controller:this.controller,priority:-70}).render()),this.toolbar.set(&quot;deleteSelectedButton&quot;,new wp.media.view.DeleteSelectedButton({filters:t,style:&quot;primary&quot;,disabled:!0,text:o?n.trashSelected:n.deletePermanently,controller:this.controller,priority:-80,click:function(){var e=[],i=[],t=this.controller.state().get(&quot;selection&quot;),s=this.controller.state().get(&quot;library&quot;);!t.length||!o&amp;&amp;!window.confirm(n.warnBulkDelete)||o&amp;&amp;&quot;trash&quot;!==t.at(0).get(&quot;status&quot;)&amp;&amp;!window.confirm(n.warnBulkTrash)||(t.each(function(t){t.get(&quot;nonces&quot;).delete?o&amp;&amp;&quot;trash&quot;===t.get(&quot;status&quot;)?(t.set(&quot;status&quot;,&quot;inherit&quot;),e.push(t.save()),i.push(t)):o?(t.set(&quot;status&quot;,&quot;trash&quot;),e.push(t.save()),i.push(t)):t.destroy({wait:!0}):i.push(t)}),e.length?(t.remove(i),a.when.apply(null,e).then(_.bind(function(){s._requery(!0),this.controller.trigger(&quot;selection:action:done&quot;)},this))):this.controller.trigger(&quot;selection:action:done&quot;))}}).render()),o&amp;&amp;this.toolbar.set(&quot;deleteSelectedPermanentlyButton&quot;,new wp.media.view.DeleteSelectedPermanentlyButton({filters:t,style:&quot;link button-link-delete&quot;,disabled:!0,text:n.deletePermanently,controller:this.controller,priority:-55,click:function(){var e=[],i=[],t=this.controller.state().get(&quot;selection&quot;);t.length&amp;&amp;window.confirm(n.warnBulkDelete)&amp;&amp;(t.each(function(t){(t.get(&quot;nonces&quot;).delete?i:e).push(t)}),e.length&amp;&amp;t.remove(e),i.length&amp;&amp;a.when.apply(null,i.map(function(t){return t.destroy()})).then(_.bind(function(){this.controller.trigger(&quot;selection:action:done&quot;)},this)))}}).render())):this.options.date&amp;&amp;(this.toolbar.set(&quot;dateFilterLabel&quot;,new wp.media.view.Label({value:n.filterByDate,attributes:{for:&quot;media-attachment-date-filters&quot;},priority:-75}).render()),this.toolbar.set(&quot;dateFilter&quot;,new wp.media.view.DateFilter({controller:this.controller,model:this.collection.props,priority:-75}).render())),this.options.search&amp;&amp;(this.toolbar.set(&quot;searchLabel&quot;,new wp.media.view.Label({value:n.searchLabel,className:&quot;media-search-input-label&quot;,attributes:{for:&quot;media-search-input&quot;},priority:60}).render()),this.toolbar.set(&quot;search&quot;,new wp.media.view.Search({controller:this.controller,model:this.collection.props,priority:60}).render())),this.options.dragInfo&amp;&amp;this.toolbar.set(&quot;dragInfo&quot;,new s({el:a(&#039;<div class="instructions">''+n.dragInfo+"</div>")[0],priority:-40})),this.options.suggestedWidth&amp;&amp;this.options.suggestedHeight&amp;&amp;this.toolbar.set("suggestedDimensions",new s({el:a(''<div class="instructions">''+n.suggestedDimensions.replace("%1$s",this.options.suggestedWidth).replace("%2$s",this.options.suggestedHeight)+"</div>")[0],priority:-40}))},updateContent:function(){var t=this,e=this.controller.isModeActive("grid")?t.attachmentsNoResults:t.uploader;this.collection.length?(e.$el.addClass("hidden"),t.toolbar.get("spinner").hide()):(this.toolbar.get("spinner").show(),this.dfd=this.collection.more().done(function(){t.collection.length?e.$el.addClass("hidden"):e.$el.removeClass("hidden"),t.toolbar.get("spinner").hide()}))},createUploader:function(){this.uploader=new wp.media.view.UploaderInline({controller:this.controller,status:!1,message:this.controller.isModeActive("grid")?"":n.noItemsFound,canClose:this.controller.isModeActive("grid")}),this.uploader.$el.addClass("hidden"),this.views.add(this.uploader)},toggleUploader:function(){this.uploader.$el.hasClass("hidden")?this.uploader.show():this.uploader.hide()},createAttachmentsWrapperView:function(){this.attachmentsWrapper=new wp.media.View({className:"attachments-wrapper"}),this.views.add(this.attachmentsWrapper),this.createAttachments()},createAttachments:function(){this.attachments=new wp.media.view.Attachments({controller:this.controller,collection:this.collection,selection:this.options.selection,model:this.model,sortable:this.options.sortable,scrollElement:this.options.scrollElement,idealColumnWidth:this.options.idealColumnWidth,AttachmentView:this.options.AttachmentView}),this.controller.on("attachment:keydown:arrow",_.bind(this.attachments.arrowEvent,this.attachments)),this.controller.on("attachment:details:shift-tab",_.bind(this.attachments.restoreFocus,this.attachments)),this.views.add(".attachments-wrapper",this.attachments),this.controller.isModeActive("grid")&amp;&amp;(this.attachmentsNoResults=new s({controller:this.controller,tagName:"p"}),this.attachmentsNoResults.$el.addClass("hidden no-media"),this.attachmentsNoResults.$el.html(n.noMedia),this.views.add(this.attachmentsNoResults))},createLoadMoreView:function(){var t=this;this.loadMoreWrapper=new s({controller:this.controller,className:"load-more-wrapper"}),this.loadMoreCount=new s({controller:this.controller,tagName:"p",className:"load-more-count hidden"}),this.loadMoreButton=new wp.media.view.Button({text:r("Load more"),className:"load-more hidden",style:"primary",size:"",click:function(){t.loadMoreAttachments()}}),this.loadMoreSpinner=new wp.media.view.Spinner,this.loadMoreJumpToFirst=new wp.media.view.Button({text:r("Jump to first loaded item"),className:"load-more-jump hidden",size:"",click:function(){t.jumpToFirstAddedItem()}}),this.views.add(".attachments-wrapper",this.loadMoreWrapper),this.views.add(".load-more-wrapper",this.loadMoreSpinner),this.views.add(".load-more-wrapper",this.loadMoreCount),this.views.add(".load-more-wrapper",this.loadMoreButton),this.views.add(".load-more-wrapper",this.loadMoreJumpToFirst)},updateLoadMoreView:_.debounce(function(){this.loadMoreButton.$el.addClass("hidden"),this.loadMoreCount.$el.addClass("hidden"),this.loadMoreJumpToFirst.$el.addClass("hidden").prop("disabled",!0),this.collection.getTotalAttachments()&amp;&amp;(this.collection.length&amp;&amp;(this.loadMoreCount.$el.text(e(r("Showing %1$s of %2$s media items"),this.collection.length,this.collection.getTotalAttachments())),this.loadMoreCount.$el.removeClass("hidden")),this.collection.hasMore()&amp;&amp;this.loadMoreButton.$el.removeClass("hidden"),this.firstAddedMediaItem=this.$el.find(".attachment").eq(this.firstAddedMediaItemIndex),this.firstAddedMediaItem.length&amp;&amp;(this.firstAddedMediaItem.addClass("new-media"),this.loadMoreJumpToFirst.$el.removeClass("hidden").prop("disabled",!1)),this.firstAddedMediaItem.length&amp;&amp;!this.collection.hasMore()&amp;&amp;this.loadMoreJumpToFirst.$el.trigger("focus"))},10),loadMoreAttachments:function(){var t=this;this.collection.hasMore()&amp;&amp;(this.firstAddedMediaItemIndex=this.collection.length,this.$el.addClass("more-loaded"),this.collection.each(function(t){t=t.attributes.id;a(''[data-id="''+t+''"]'').addClass("found-media")}),t.loadMoreSpinner.show(),this.collection.once("attachments:received",function(){t.loadMoreSpinner.hide()}),this.collection.more())},jumpToFirstAddedItem:function(){this.firstAddedMediaItem.focus()},createAttachmentsHeading:function(){this.attachmentsHeading=new wp.media.view.Heading({text:n.attachmentsList,level:"h2",className:"media-views-heading screen-reader-text"}),this.views.add(this.attachmentsHeading)},createSidebar:function(){var t=this.options.selection,e=this.sidebar=new wp.media.view.Sidebar({controller:this.controller});this.views.add(e),this.controller.uploader&amp;&amp;e.set("uploads",new wp.media.view.UploaderStatus({controller:this.controller,priority:40})),t.on("selection:single",this.createSingle,this),t.on("selection:unsingle",this.disposeSingle,this),t.single()&amp;&amp;this.createSingle()},createSingle:function(){var t=this.sidebar,e=this.options.selection.single();t.set("details",new wp.media.view.Attachment.Details({controller:this.controller,model:e,priority:80})),t.set("compat",new wp.media.view.AttachmentCompat({controller:this.controller,model:e,priority:120})),this.options.display&amp;&amp;t.set("display",new wp.media.view.Settings.AttachmentDisplay({controller:this.controller,model:this.model.display(e),attachment:e,priority:160,userSettings:this.model.get("displayUserSettings")})),"insert"===this.model.id&amp;&amp;t.$el.addClass("visible")},disposeSingle:function(){var t=this.sidebar;t.unset("details"),t.unset("compat"),t.unset("display"),t.$el.removeClass("visible")}});t.exports=l},1223:function(t){var e=wp.media.view.Attachments,i=e.extend({events:{},initialize:function(){return _.defaults(this.options,{sortable:!1,resize:!1,AttachmentView:wp.media.view.Attachment.Selection}),e.prototype.initialize.apply(this,arguments)}});t.exports=i},4094:function(t){var e=Backbone.$,i=wp.media.View.extend({tagName:"div",className:"button-group button-large media-button-group",initialize:function(){this.buttons=_.map(this.options.buttons||[],function(t){return t instanceof Backbone.View?t:new wp.media.view.Button(t).render()}),delete this.options.buttons,this.options.classes&amp;&amp;this.$el.addClass(this.options.classes)},render:function(){return this.$el.html(e(_.pluck(this.buttons,"el")).detach()),this}});t.exports=i},3157:function(t){var e=wp.media.View.extend({tagName:"button",className:"media-button",attributes:{type:"button"},events:{click:"click"},defaults:{text:"",style:"",size:"large",disabled:!1},initialize:function(){this.model=new Backbone.Model(this.defaults),_.each(this.defaults,function(t,e){var i=this.options[e];_.isUndefined(i)||(this.model.set(e,i),delete this.options[e])},this),this.listenTo(this.model,"change",this.render)},render:function(){var t=["button",this.className],e=this.model.toJSON();return e.style&amp;&amp;t.push("button-"+e.style),e.size&amp;&amp;t.push("button-"+e.size),t=_.uniq(t.concat(this.options.classes)),this.el.className=t.join(" "),this.$el.attr("disabled",e.disabled),this.$el.text(this.model.get("text")),this},click:function(t){"#"===this.attributes.href&amp;&amp;t.preventDefault(),this.options.click&amp;&amp;!this.model.get("disabled")&amp;&amp;this.options.click.apply(this,arguments)}});t.exports=e},7137:function(t){var e=wp.media.View,i=wp.media.view.UploaderStatus,s=wp.media.view.l10n,o=jQuery,n=e.extend({className:"crop-content",template:wp.template("crop-content"),initialize:function(){_.bindAll(this,"onImageLoad")},ready:function(){this.controller.frame.on("content:error:crop",this.onError,this),this.$image=this.$el.find(".crop-image"),this.$image.on("load",this.onImageLoad),o(window).on("resize.cropper",_.debounce(this.onImageLoad,250))},remove:function(){o(window).off("resize.cropper"),this.$el.remove(),this.$el.off(),e.prototype.remove.apply(this,arguments)},prepare:function(){return{title:s.cropYourImage,url:this.options.attachment.get("url")}},onImageLoad:function(){var i,t=this.controller.get("imgSelectOptions");"function"==typeof t&amp;&amp;(t=t(this.options.attachment,this.controller)),t=_.extend(t,{parent:this.$el,onInit:function(){var e=i.getOptions().aspectRatio;this.parent.children().on("mousedown touchstart",function(t){!e&amp;&amp;t.shiftKey&amp;&amp;i.setOptions({aspectRatio:"1:1"})}),this.parent.children().on("mouseup touchend",function(){i.setOptions({aspectRatio:e||!1})})}}),this.trigger("image-loaded"),i=this.controller.imgSelect=this.$image.imgAreaSelect(t)},onError:function(){var t=this.options.attachment.get("filename");this.views.add(".upload-errors",new wp.media.view.UploaderStatusError({filename:i.prototype.filename(t),message:window._wpMediaViewsL10n.cropError}),{at:0})}});t.exports=n},5970:function(t){var e=wp.media.View,i=e.extend({className:"image-editor",template:wp.template("image-editor"),initialize:function(t){this.editor=window.imageEdit,this.controller=t.controller,e.prototype.initialize.apply(this,arguments)},prepare:function(){return this.model.toJSON()},loadEditor:function(){this.editor.open(this.model.get("id"),this.model.get("nonces").edit,this)},back:function(){var t=this.controller.lastState();this.controller.setState(t)},refresh:function(){this.model.fetch()},save:function(){var t=this.controller.lastState();this.model.fetch().done(_.bind(function(){this.controller.setState(t)},this))}});t.exports=i},5138:function(t){var e=wp.media.View.extend({className:"media-embed",initialize:function(){this.url=new wp.media.view.EmbedUrl({controller:this.controller,model:this.model.props}).render(),this.views.set([this.url]),this.refresh(),this.listenTo(this.model,"change:type",this.refresh),this.listenTo(this.model,"change:loading",this.loading)},settings:function(t){this._settings&amp;&amp;this._settings.remove(),this._settings=t,this.views.add(t)},refresh:function(){var t,e=this.model.get("type");if("image"===e)t=wp.media.view.EmbedImage;else{if("link"!==e)return;t=wp.media.view.EmbedLink}this.settings(new t({controller:this.controller,model:this.model.props,priority:40}))},loading:function(){this.$el.toggleClass("embed-loading",this.model.get("loading"))}});t.exports=e},1338:function(t){var e=wp.media.view.Settings.AttachmentDisplay,i=e.extend({className:"embed-media-settings",template:wp.template("embed-image-settings"),initialize:function(){e.prototype.initialize.apply(this,arguments),this.listenTo(this.model,"change:url",this.updateImage)},updateImage:function(){this.$("img").attr("src",this.model.get("url"))}});t.exports=i},6959:function(t){var i=jQuery,e=wp.media.view.Settings.extend({className:"embed-link-settings",template:wp.template("embed-link-settings"),initialize:function(){this.listenTo(this.model,"change:url",this.updateoEmbed)},updateoEmbed:_.debounce(function(){var t=this.model.get("url");this.$(".embed-container").hide().find(".embed-preview").empty(),this.$(".setting").hide(),t&amp;&amp;(t.length&lt;11||!t.match(/^http(s)?:\\/\\//))||this.fetch()},wp.media.controller.Embed.sensitivity),fetch:function(){var t,e=this.model.get(&quot;url&quot;);i(&quot;#embed-url-field&quot;).val()===e&amp;&amp;(this.dfd&amp;&amp;&quot;pending&quot;===this.dfd.state()&amp;&amp;this.dfd.abort(),(t=/https?:\\/\\/www\\.youtube\\.com\\/embed\\/([^/]+)/.exec(e))&amp;&amp;(e=&quot;https://www.youtube.com/watch?v=&quot;+t[1]),this.dfd=wp.apiRequest({url:wp.media.view.settings.oEmbedProxyUrl,data:{url:e,maxwidth:this.model.get(&quot;width&quot;),maxheight:this.model.get(&quot;height&quot;)},type:&quot;GET&quot;,dataType:&quot;json&quot;,context:this}).done(function(t){this.renderoEmbed({data:{body:t.html||&quot;&quot;}})}).fail(this.renderFail))},renderFail:function(t,e){&quot;abort&quot;!==e&amp;&amp;this.$(&quot;.link-text&quot;).show()},renderoEmbed:function(t){t=t&amp;&amp;t.data&amp;&amp;t.data.body||&quot;&quot;;t?this.$(&quot;.embed-container&quot;).show().find(&quot;.embed-preview&quot;).html(t):this.renderFail()}});t.exports=e},4848:function(t){var e=wp.media.View,i=jQuery,s=wp.media.view.l10n,o=e.extend({tagName:&quot;span&quot;,className:&quot;embed-url&quot;,events:{input:&quot;url&quot;},initialize:function(){this.$input=i(&#039;'').attr("aria-label",s.insertFromUrlTitle).val(this.model.get("url")),this.input=this.$input[0],this.spinner=i(''<span class="spinner" />'')[0],this.$el.append([this.input,this.spinner]),this.listenTo(this.model,"change:url",this.render),this.model.get("url")&amp;&amp;_.delay(_.bind(function(){this.model.trigger("change:url")},this),500)},render:function(){var t=this.$input;if(!t.is(":focus"))return this.input.value=this.model.get("url")||"http://",e.prototype.render.apply(this,arguments),this},url:function(t){t=t.target.value||"";this.model.set("url",t.trim())}});t.exports=o},6557:function(t){var o=jQuery,e=wp.media.View.extend({events:{keydown:"focusManagementMode"},initialize:function(t){this.mode=t.mode||"constrainTabbing",this.tabsAutomaticActivation=t.tabsAutomaticActivation||!1},focusManagementMode:function(t){"constrainTabbing"===this.mode&amp;&amp;this.constrainTabbing(t),"tabsNavigation"===this.mode&amp;&amp;this.tabsNavigation(t)},getTabbables:function(){return this.$(":tabbable").not(''.moxie-shim input[type="file"]'')},focus:function(){this.$(".media-modal").trigger("focus")},constrainTabbing:function(t){var e;if(9===t.keyCode)return(e=this.getTabbables()).last()[0]!==t.target||t.shiftKey?e.first()[0]===t.target&amp;&amp;t.shiftKey?(e.last().focus(),!1):void 0:(e.first().focus(),!1)},setAriaHiddenOnBodyChildren:function(e){var t,i=this;this.isBodyAriaHidden||(t=document.body.children,_.each(t,function(t){t!==e[0]&amp;&amp;i.elementShouldBeHidden(t)&amp;&amp;(t.setAttribute("aria-hidden","true"),i.ariaHiddenElements.push(t))}),this.isBodyAriaHidden=!0)},removeAriaHiddenFromBodyChildren:function(){_.each(this.ariaHiddenElements,function(t){t.removeAttribute("aria-hidden")}),this.ariaHiddenElements=[],this.isBodyAriaHidden=!1},elementShouldBeHidden:function(t){var e=t.getAttribute("role");return!("SCRIPT"===t.tagName||t.hasAttribute("aria-hidden")||t.hasAttribute("aria-live")||-1!==["alert","status","log","marquee","timer"].indexOf(e))},isBodyAriaHidden:!1,ariaHiddenElements:[],tabs:o(),setupAriaTabs:function(){this.tabs=this.$(''[role="tab"]''),this.tabs.attr({"aria-selected":"false",tabIndex:"-1"}),this.tabs.filter(".active").removeAttr("tabindex").attr("aria-selected","true")},tabsNavigation:function(t){var e="horizontal";-1===[32,35,36,37,38,39,40].indexOf(t.which)||"horizontal"===(e="vertical"===this.$el.attr("aria-orientation")?"vertical":e)&amp;&amp;-1!==[38,40].indexOf(t.which)||"vertical"===e&amp;&amp;-1!==[37,39].indexOf(t.which)||this.switchTabs(t,this.tabs)},switchTabs:function(t){var e,i=t.which,s=this.tabs.index(o(t.target));switch(i){case 32:this.activateTab(this.tabs[s]);break;case 35:t.preventDefault(),this.activateTab(this.tabs[this.tabs.length-1]);break;case 36:t.preventDefault(),this.activateTab(this.tabs[0]);break;case 37:case 38:t.preventDefault(),e=s-1&lt;0?this.tabs.length-1:s-1,this.activateTab(this.tabs[e]);break;case 39:case 40:t.preventDefault(),e=s+1===this.tabs.length?0:s+1,this.activateTab(this.tabs[e])}},activateTab:function(t){if(t){if(t.focus(),this.tabsAutomaticActivation)return t.removeAttribute(&quot;tabindex&quot;),t.setAttribute(&quot;aria-selected&quot;,&quot;true&quot;),void t.click();o(t).on(&quot;click&quot;,function(){t.removeAttribute(&quot;tabindex&quot;),t.setAttribute(&quot;aria-selected&quot;,&quot;true&quot;)})}}});t.exports=e},3647:function(t){var e=wp.media.View.extend({initialize:function(){_.defaults(this.options,{mode:[&quot;select&quot;]}),this._createRegions(),this._createStates(),this._createModes()},_createRegions:function(){this.regions=this.regions?this.regions.slice():[],_.each(this.regions,function(t){this[t]=new wp.media.controller.Region({view:this,id:t,selector:&quot;.media-frame-&quot;+t})},this)},_createStates:function(){this.states=new Backbone.Collection(null,{model:wp.media.controller.State}),this.states.on(&quot;add&quot;,function(t){t.frame=this,t.trigger(&quot;ready&quot;)},this),this.options.states&amp;&amp;this.states.add(this.options.states)},_createModes:function(){this.activeModes=new Backbone.Collection,this.activeModes.on(&quot;add remove reset&quot;,_.bind(this.triggerModeEvents,this)),_.each(this.options.mode,function(t){this.activateMode(t)},this)},reset:function(){return this.states.invoke(&quot;trigger&quot;,&quot;reset&quot;),this},triggerModeEvents:function(t,e,i){var s,o={add:&quot;activate&quot;,remove:&quot;deactivate&quot;};_.each(i,function(t,e){t&amp;&amp;(s=e)}),_.has(o,s)&amp;&amp;(i=t.get(&quot;id&quot;)+&quot;:&quot;+o[s],this.trigger(i))},activateMode:function(t){if(!this.isModeActive(t))return this.activeModes.add([{id:t}]),this.$el.addClass(&quot;mode-&quot;+t),this},deactivateMode:function(t){return this.isModeActive(t)&amp;&amp;(this.activeModes.remove(this.activeModes.where({id:t})),this.$el.removeClass(&quot;mode-&quot;+t),this.trigger(t+&quot;:deactivate&quot;)),this},isModeActive:function(t){return Boolean(this.activeModes.where({id:t}).length)}});_.extend(e.prototype,wp.media.controller.StateMachine.prototype),t.exports=e},9142:function(t){var e=wp.media.view.MediaFrame.Select,s=wp.media.view.l10n,i=e.extend({defaults:{id:&quot;image&quot;,url:&quot;&quot;,menu:&quot;image-details&quot;,content:&quot;image-details&quot;,toolbar:&quot;image-details&quot;,type:&quot;link&quot;,title:s.imageDetailsTitle,priority:120},initialize:function(t){this.image=new wp.media.model.PostImage(t.metadata),this.options.selection=new wp.media.model.Selection(this.image.attachment,{multiple:!1}),e.prototype.initialize.apply(this,arguments)},bindHandlers:function(){e.prototype.bindHandlers.apply(this,arguments),this.on(&quot;menu:create:image-details&quot;,this.createMenu,this),this.on(&quot;content:create:image-details&quot;,this.imageDetailsContent,this),this.on(&quot;content:render:edit-image&quot;,this.editImageContent,this),this.on(&quot;toolbar:render:image-details&quot;,this.renderImageDetailsToolbar,this),this.on(&quot;toolbar:render:replace&quot;,this.renderReplaceImageToolbar,this)},createStates:function(){this.states.add([new wp.media.controller.ImageDetails({image:this.image,editable:!1}),new wp.media.controller.ReplaceImage({id:&quot;replace-image&quot;,library:wp.media.query({type:&quot;image&quot;}),image:this.image,multiple:!1,title:s.imageReplaceTitle,toolbar:&quot;replace&quot;,priority:80,displaySettings:!0}),new wp.media.controller.EditImage({image:this.image,selection:this.options.selection})])},imageDetailsContent:function(t){t.view=new wp.media.view.ImageDetails({controller:this,model:this.state().image,attachment:this.state().image.attachment})},editImageContent:function(){var t=this.state().get(&quot;image&quot;);t&amp;&amp;(t=new wp.media.view.EditImage({model:t,controller:this}).render(),this.content.set(t),t.loadEditor())},renderImageDetailsToolbar:function(){this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{select:{style:&quot;primary&quot;,text:s.update,priority:80,click:function(){var t=this.controller,e=t.state();t.close(),e.trigger(&quot;update&quot;,t.image.toJSON()),t.setState(t.options.state),t.reset()}}}}))},renderReplaceImageToolbar:function(){var t=this,e=t.lastState(),i=e&amp;&amp;e.id;this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{back:{text:s.back,priority:80,click:function(){i?t.setState(i):t.close()}},replace:{style:&quot;primary&quot;,text:s.replace,priority:20,requires:{selection:!0},click:function(){var t=this.controller,e=t.state(),i=e.get(&quot;selection&quot;).single();t.close(),t.image.changeAttachment(i,e.display(i)),e.trigger(&quot;replace&quot;,t.image.toJSON()),t.setState(t.options.state),t.reset()}}}}))}});t.exports=i},9075:function(t){var e=wp.media.view.MediaFrame.Select,i=wp.media.controller.Library,o=wp.media.view.l10n,s=e.extend({initialize:function(){this.counts={audio:{count:wp.media.view.settings.attachmentCounts.audio,state:&quot;playlist&quot;},video:{count:wp.media.view.settings.attachmentCounts.video,state:&quot;video-playlist&quot;}},_.defaults(this.options,{multiple:!0,editing:!1,state:&quot;insert&quot;,metadata:{}}),e.prototype.initialize.apply(this,arguments),this.createIframeStates()},createStates:function(){var t=this.options;this.states.add([new i({id:&quot;insert&quot;,title:o.insertMediaTitle,priority:20,toolbar:&quot;main-insert&quot;,filterable:&quot;all&quot;,library:wp.media.query(t.library),multiple:!!t.multiple&amp;&amp;&quot;reset&quot;,editable:!0,allowLocalEdits:!0,displaySettings:!0,displayUserSettings:!0}),new i({id:&quot;gallery&quot;,title:o.createGalleryTitle,priority:40,toolbar:&quot;main-gallery&quot;,filterable:&quot;uploaded&quot;,multiple:&quot;add&quot;,editable:!1,library:wp.media.query(_.defaults({type:&quot;image&quot;},t.library))}),new wp.media.controller.Embed({metadata:t.metadata}),new wp.media.controller.EditImage({model:t.editImage}),new wp.media.controller.GalleryEdit({library:t.selection,editing:t.editing,menu:&quot;gallery&quot;}),new wp.media.controller.GalleryAdd,new i({id:&quot;playlist&quot;,title:o.createPlaylistTitle,priority:60,toolbar:&quot;main-playlist&quot;,filterable:&quot;uploaded&quot;,multiple:&quot;add&quot;,editable:!1,library:wp.media.query(_.defaults({type:&quot;audio&quot;},t.library))}),new wp.media.controller.CollectionEdit({type:&quot;audio&quot;,collectionType:&quot;playlist&quot;,title:o.editPlaylistTitle,SettingsView:wp.media.view.Settings.Playlist,library:t.selection,editing:t.editing,menu:&quot;playlist&quot;,dragInfoText:o.playlistDragInfo,dragInfo:!1}),new wp.media.controller.CollectionAdd({type:&quot;audio&quot;,collectionType:&quot;playlist&quot;,title:o.addToPlaylistTitle}),new i({id:&quot;video-playlist&quot;,title:o.createVideoPlaylistTitle,priority:60,toolbar:&quot;main-video-playlist&quot;,filterable:&quot;uploaded&quot;,multiple:&quot;add&quot;,editable:!1,library:wp.media.query(_.defaults({type:&quot;video&quot;},t.library))}),new wp.media.controller.CollectionEdit({type:&quot;video&quot;,collectionType:&quot;playlist&quot;,title:o.editVideoPlaylistTitle,SettingsView:wp.media.view.Settings.Playlist,library:t.selection,editing:t.editing,menu:&quot;video-playlist&quot;,dragInfoText:o.videoPlaylistDragInfo,dragInfo:!1}),new wp.media.controller.CollectionAdd({type:&quot;video&quot;,collectionType:&quot;playlist&quot;,title:o.addToVideoPlaylistTitle})]),wp.media.view.settings.post.featuredImageId&amp;&amp;this.states.add(new wp.media.controller.FeaturedImage)},bindHandlers:function(){e.prototype.bindHandlers.apply(this,arguments),this.on(&quot;activate&quot;,this.activate,this),void 0!==_.find(this.counts,function(t){return 0===t.count})&amp;&amp;this.listenTo(wp.media.model.Attachments.all,&quot;change:type&quot;,this.mediaTypeCounts),this.on(&quot;menu:create:gallery&quot;,this.createMenu,this),this.on(&quot;menu:create:playlist&quot;,this.createMenu,this),this.on(&quot;menu:create:video-playlist&quot;,this.createMenu,this),this.on(&quot;toolbar:create:main-insert&quot;,this.createToolbar,this),this.on(&quot;toolbar:create:main-gallery&quot;,this.createToolbar,this),this.on(&quot;toolbar:create:main-playlist&quot;,this.createToolbar,this),this.on(&quot;toolbar:create:main-video-playlist&quot;,this.createToolbar,this),this.on(&quot;toolbar:create:featured-image&quot;,this.featuredImageToolbar,this),this.on(&quot;toolbar:create:main-embed&quot;,this.mainEmbedToolbar,this),_.each({menu:{default:&quot;mainMenu&quot;,gallery:&quot;galleryMenu&quot;,playlist:&quot;playlistMenu&quot;,&quot;video-playlist&quot;:&quot;videoPlaylistMenu&quot;},content:{embed:&quot;embedContent&quot;,&quot;edit-image&quot;:&quot;editImageContent&quot;,&quot;edit-selection&quot;:&quot;editSelectionContent&quot;},toolbar:{&quot;main-insert&quot;:&quot;mainInsertToolbar&quot;,&quot;main-gallery&quot;:&quot;mainGalleryToolbar&quot;,&quot;gallery-edit&quot;:&quot;galleryEditToolbar&quot;,&quot;gallery-add&quot;:&quot;galleryAddToolbar&quot;,&quot;main-playlist&quot;:&quot;mainPlaylistToolbar&quot;,&quot;playlist-edit&quot;:&quot;playlistEditToolbar&quot;,&quot;playlist-add&quot;:&quot;playlistAddToolbar&quot;,&quot;main-video-playlist&quot;:&quot;mainVideoPlaylistToolbar&quot;,&quot;video-playlist-edit&quot;:&quot;videoPlaylistEditToolbar&quot;,&quot;video-playlist-add&quot;:&quot;videoPlaylistAddToolbar&quot;}},function(t,i){_.each(t,function(t,e){this.on(i+&quot;:render:&quot;+e,this[t],this)},this)},this)},activate:function(){_.each(this.counts,function(t){t.count&lt;1&amp;&amp;this.menuItemVisibility(t.state,&quot;hide&quot;)},this)},mediaTypeCounts:function(t,e){void 0!==this.counts[e]&amp;&amp;this.counts[e].count&lt;1&amp;&amp;(this.counts[e].count++,this.menuItemVisibility(this.counts[e].state,&quot;show&quot;))},mainMenu:function(t){t.set({&quot;library-separator&quot;:new wp.media.View({className:&quot;separator&quot;,priority:100,attributes:{role:&quot;presentation&quot;}})})},menuItemVisibility:function(t,e){var i=this.menu.get();&quot;hide&quot;===e?i.hide(t):&quot;show&quot;===e&amp;&amp;i.show(t)},galleryMenu:function(t){var e=this.lastState(),i=e&amp;&amp;e.id,s=this;t.set({cancel:{text:o.cancelGalleryTitle,priority:20,click:function(){i?s.setState(i):s.close(),this.controller.modal.focusManager.focus()}},separateCancel:new wp.media.View({className:&quot;separator&quot;,priority:40})})},playlistMenu:function(t){var e=this.lastState(),i=e&amp;&amp;e.id,s=this;t.set({cancel:{text:o.cancelPlaylistTitle,priority:20,click:function(){i?s.setState(i):s.close(),this.controller.modal.focusManager.focus()}},separateCancel:new wp.media.View({className:&quot;separator&quot;,priority:40})})},videoPlaylistMenu:function(t){var e=this.lastState(),i=e&amp;&amp;e.id,s=this;t.set({cancel:{text:o.cancelVideoPlaylistTitle,priority:20,click:function(){i?s.setState(i):s.close(),this.controller.modal.focusManager.focus()}},separateCancel:new wp.media.View({className:&quot;separator&quot;,priority:40})})},embedContent:function(){var t=new wp.media.view.Embed({controller:this,model:this.state()}).render();this.content.set(t)},editSelectionContent:function(){var t=this.state(),e=t.get(&quot;selection&quot;),e=new wp.media.view.AttachmentsBrowser({controller:this,collection:e,selection:e,model:t,sortable:!0,search:!1,date:!1,dragInfo:!0,AttachmentView:wp.media.view.Attachments.EditSelection}).render();e.toolbar.set(&quot;backToLibrary&quot;,{text:o.returnToLibrary,priority:-100,click:function(){this.controller.content.mode(&quot;browse&quot;),this.controller.modal.focusManager.focus()}}),this.content.set(e),this.trigger(&quot;edit:selection&quot;,this)},editImageContent:function(){var t=this.state().get(&quot;image&quot;),t=new wp.media.view.EditImage({model:t,controller:this}).render();this.content.set(t),t.loadEditor()},selectionStatusToolbar:function(t){var e=this.state().get(&quot;editable&quot;);t.set(&quot;selection&quot;,new wp.media.view.Selection({controller:this,collection:this.state().get(&quot;selection&quot;),priority:-40,editable:e&amp;&amp;function(){this.controller.content.mode(&quot;edit-selection&quot;)}}).render())},mainInsertToolbar:function(t){var i=this;this.selectionStatusToolbar(t),t.set(&quot;insert&quot;,{style:&quot;primary&quot;,priority:80,text:o.insertIntoPost,requires:{selection:!0},click:function(){var t=i.state(),e=t.get(&quot;selection&quot;);i.close(),t.trigger(&quot;insert&quot;,e).reset()}})},mainGalleryToolbar:function(t){var s=this;this.selectionStatusToolbar(t),t.set(&quot;gallery&quot;,{style:&quot;primary&quot;,text:o.createNewGallery,priority:60,requires:{selection:!0},click:function(){var t=s.state().get(&quot;selection&quot;),e=s.state(&quot;gallery-edit&quot;),i=t.where({type:&quot;image&quot;});e.set(&quot;library&quot;,new wp.media.model.Selection(i,{props:t.props.toJSON(),multiple:!0})),this.controller.setState(&quot;gallery-edit&quot;),this.controller.modal.focusManager.focus()}})},mainPlaylistToolbar:function(t){var s=this;this.selectionStatusToolbar(t),t.set(&quot;playlist&quot;,{style:&quot;primary&quot;,text:o.createNewPlaylist,priority:100,requires:{selection:!0},click:function(){var t=s.state().get(&quot;selection&quot;),e=s.state(&quot;playlist-edit&quot;),i=t.where({type:&quot;audio&quot;});e.set(&quot;library&quot;,new wp.media.model.Selection(i,{props:t.props.toJSON(),multiple:!0})),this.controller.setState(&quot;playlist-edit&quot;),this.controller.modal.focusManager.focus()}})},mainVideoPlaylistToolbar:function(t){var s=this;this.selectionStatusToolbar(t),t.set(&quot;video-playlist&quot;,{style:&quot;primary&quot;,text:o.createNewVideoPlaylist,priority:100,requires:{selection:!0},click:function(){var t=s.state().get(&quot;selection&quot;),e=s.state(&quot;video-playlist-edit&quot;),i=t.where({type:&quot;video&quot;});e.set(&quot;library&quot;,new wp.media.model.Selection(i,{props:t.props.toJSON(),multiple:!0})),this.controller.setState(&quot;video-playlist-edit&quot;),this.controller.modal.focusManager.focus()}})},featuredImageToolbar:function(t){this.createSelectToolbar(t,{text:o.setFeaturedImage,state:this.options.state})},mainEmbedToolbar:function(t){t.view=new wp.media.view.Toolbar.Embed({controller:this})},galleryEditToolbar:function(){var t=this.state().get(&quot;editing&quot;);this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{insert:{style:&quot;primary&quot;,text:t?o.updateGallery:o.insertGallery,priority:80,requires:{library:!0},click:function(){var t=this.controller,e=t.state();t.close(),e.trigger(&quot;update&quot;,e.get(&quot;library&quot;)),t.setState(t.options.state),t.reset()}}}}))},galleryAddToolbar:function(){this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{insert:{style:&quot;primary&quot;,text:o.addToGallery,priority:80,requires:{selection:!0},click:function(){var t=this.controller,e=t.state();t.state(&quot;gallery-edit&quot;).get(&quot;library&quot;).add(e.get(&quot;selection&quot;).models),e.trigger(&quot;reset&quot;),t.setState(&quot;gallery-edit&quot;),this.controller.modal.focusManager.focus()}}}}))},playlistEditToolbar:function(){var t=this.state().get(&quot;editing&quot;);this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{insert:{style:&quot;primary&quot;,text:t?o.updatePlaylist:o.insertPlaylist,priority:80,requires:{library:!0},click:function(){var t=this.controller,e=t.state();t.close(),e.trigger(&quot;update&quot;,e.get(&quot;library&quot;)),t.setState(t.options.state),t.reset()}}}}))},playlistAddToolbar:function(){this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{insert:{style:&quot;primary&quot;,text:o.addToPlaylist,priority:80,requires:{selection:!0},click:function(){var t=this.controller,e=t.state();t.state(&quot;playlist-edit&quot;).get(&quot;library&quot;).add(e.get(&quot;selection&quot;).models),e.trigger(&quot;reset&quot;),t.setState(&quot;playlist-edit&quot;),this.controller.modal.focusManager.focus()}}}}))},videoPlaylistEditToolbar:function(){var t=this.state().get(&quot;editing&quot;);this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{insert:{style:&quot;primary&quot;,text:t?o.updateVideoPlaylist:o.insertVideoPlaylist,priority:140,requires:{library:!0},click:function(){var t=this.controller,e=t.state(),i=e.get(&quot;library&quot;);i.type=&quot;video&quot;,t.close(),e.trigger(&quot;update&quot;,i),t.setState(t.options.state),t.reset()}}}}))},videoPlaylistAddToolbar:function(){this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{insert:{style:&quot;primary&quot;,text:o.addToVideoPlaylist,priority:140,requires:{selection:!0},click:function(){var t=this.controller,e=t.state();t.state(&quot;video-playlist-edit&quot;).get(&quot;library&quot;).add(e.get(&quot;selection&quot;).models),e.trigger(&quot;reset&quot;),t.setState(&quot;video-playlist-edit&quot;),this.controller.modal.focusManager.focus()}}}}))}});t.exports=s},8719:function(t){var e=wp.media.view.MediaFrame,i=wp.media.view.l10n,s=e.extend({initialize:function(){e.prototype.initialize.apply(this,arguments),_.defaults(this.options,{selection:[],library:{},multiple:!1,state:&quot;library&quot;}),this.createSelection(),this.createStates(),this.bindHandlers()},createSelection:function(){var t=this.options.selection;t instanceof wp.media.model.Selection||(this.options.selection=new wp.media.model.Selection(t,{multiple:this.options.multiple})),this._selection={attachments:new wp.media.model.Attachments,difference:[]}},editImageContent:function(){var t=this.state().get(&quot;image&quot;),t=new wp.media.view.EditImage({model:t,controller:this}).render();this.content.set(t),t.loadEditor()},createStates:function(){var t=this.options;this.options.states||this.states.add([new wp.media.controller.Library({library:wp.media.query(t.library),multiple:t.multiple,title:t.title,priority:20}),new wp.media.controller.EditImage({model:t.editImage})])},bindHandlers:function(){this.on(&quot;router:create:browse&quot;,this.createRouter,this),this.on(&quot;router:render:browse&quot;,this.browseRouter,this),this.on(&quot;content:create:browse&quot;,this.browseContent,this),this.on(&quot;content:render:upload&quot;,this.uploadContent,this),this.on(&quot;toolbar:create:select&quot;,this.createSelectToolbar,this),this.on(&quot;content:render:edit-image&quot;,this.editImageContent,this)},browseRouter:function(t){t.set({upload:{text:i.uploadFilesTitle,priority:20},browse:{text:i.mediaLibraryTitle,priority:40}})},browseContent:function(t){var e=this.state();this.$el.removeClass(&quot;hide-toolbar&quot;),t.view=new wp.media.view.AttachmentsBrowser({controller:this,collection:e.get(&quot;library&quot;),selection:e.get(&quot;selection&quot;),model:e,sortable:e.get(&quot;sortable&quot;),search:e.get(&quot;searchable&quot;),filters:e.get(&quot;filterable&quot;),date:e.get(&quot;date&quot;),display:e.has(&quot;display&quot;)?e.get(&quot;display&quot;):e.get(&quot;displaySettings&quot;),dragInfo:e.get(&quot;dragInfo&quot;),idealColumnWidth:e.get(&quot;idealColumnWidth&quot;),suggestedWidth:e.get(&quot;suggestedWidth&quot;),suggestedHeight:e.get(&quot;suggestedHeight&quot;),AttachmentView:e.get(&quot;AttachmentView&quot;)})},uploadContent:function(){this.$el.removeClass(&quot;hide-toolbar&quot;),this.content.set(new wp.media.view.UploaderInline({controller:this}))},createSelectToolbar:function(t,e){(e=e||this.options.button||{}).controller=this,t.view=new wp.media.view.Toolbar.Select(e)}});t.exports=s},7990:function(t){var e=wp.media.View.extend({tagName:function(){return this.options.level||&quot;h1&quot;},className:&quot;media-views-heading&quot;,initialize:function(){this.options.className&amp;&amp;this.$el.addClass(this.options.className),this.text=this.options.text},render:function(){return this.$el.html(this.text),this}});t.exports=e},6217:function(t){var e=wp.media.View.extend({className:&quot;media-iframe&quot;,render:function(){return this.views.detach(),this.$el.html(&#039;''),this.views.render(),this}});t.exports=e},7598:function(t){var e=wp.media.view.Settings.AttachmentDisplay,o=jQuery,i=e.extend({className:"image-details",template:wp.template("image-details"),events:_.defaults(e.prototype.events,{"click .edit-attachment":"editAttachment","click .replace-attachment":"replaceAttachment","click .advanced-toggle":"onToggleAdvanced",''change [data-setting="customWidth"]'':"onCustomSize",''change [data-setting="customHeight"]'':"onCustomSize",''keyup [data-setting="customWidth"]'':"onCustomSize",''keyup [data-setting="customHeight"]'':"onCustomSize"}),initialize:function(){this.options.attachment=this.model.attachment,this.listenTo(this.model,"change:url",this.updateUrl),this.listenTo(this.model,"change:link",this.toggleLinkSettings),this.listenTo(this.model,"change:size",this.toggleCustomSize),e.prototype.initialize.apply(this,arguments)},prepare:function(){var t=!1;return this.model.attachment&amp;&amp;(t=this.model.attachment.toJSON()),_.defaults({model:this.model.toJSON(),attachment:t},this.options)},render:function(){var t=arguments;return this.model.attachment&amp;&amp;"pending"===this.model.dfd.state()?this.model.dfd.done(_.bind(function(){e.prototype.render.apply(this,t),this.postRender()},this)).fail(_.bind(function(){this.model.attachment=!1,e.prototype.render.apply(this,t),this.postRender()},this)):(e.prototype.render.apply(this,arguments),this.postRender()),this},postRender:function(){setTimeout(_.bind(this.scrollToTop,this),10),this.toggleLinkSettings(),"show"===window.getUserSetting("advImgDetails")&amp;&amp;this.toggleAdvanced(!0),this.trigger("post-render")},scrollToTop:function(){this.$(".embed-media-settings").scrollTop(0)},updateUrl:function(){this.$(".image img").attr("src",this.model.get("url")),this.$(".url").val(this.model.get("url"))},toggleLinkSettings:function(){"none"===this.model.get("link")?this.$(".link-settings").addClass("hidden"):this.$(".link-settings").removeClass("hidden")},toggleCustomSize:function(){"custom"!==this.model.get("size")?this.$(".custom-size").addClass("hidden"):this.$(".custom-size").removeClass("hidden")},onCustomSize:function(t){var e,i=o(t.target).data("setting"),s=o(t.target).val();!/^\\d+/.test(s)||parseInt(s,10)&lt;1?t.preventDefault():&quot;customWidth&quot;===i?(e=Math.round(1/this.model.get(&quot;aspectRatio&quot;)*s),this.model.set(&quot;customHeight&quot;,e,{silent:!0}),this.$(&#039;[data-setting=&quot;customHeight&quot;]&#039;).val(e)):(e=Math.round(this.model.get(&quot;aspectRatio&quot;)*s),this.model.set(&quot;customWidth&quot;,e,{silent:!0}),this.$(&#039;[data-setting=&quot;customWidth&quot;]&#039;).val(e))},onToggleAdvanced:function(t){t.preventDefault(),this.toggleAdvanced()},toggleAdvanced:function(t){var e=this.$el.find(&quot;.advanced-section&quot;),t=e.hasClass(&quot;advanced-visible&quot;)||!1===t?(e.removeClass(&quot;advanced-visible&quot;),e.find(&quot;.advanced-settings&quot;).addClass(&quot;hidden&quot;),&quot;hide&quot;):(e.addClass(&quot;advanced-visible&quot;),e.find(&quot;.advanced-settings&quot;).removeClass(&quot;hidden&quot;),&quot;show&quot;);window.setUserSetting(&quot;advImgDetails&quot;,t)},editAttachment:function(t){var e=this.controller.states.get(&quot;edit-image&quot;);window.imageEdit&amp;&amp;e&amp;&amp;(t.preventDefault(),e.set(&quot;image&quot;,this.model.attachment),this.controller.setState(&quot;edit-image&quot;))},replaceAttachment:function(t){t.preventDefault(),this.controller.setState(&quot;replace-image&quot;)}});t.exports=i},6644:function(t){var e=wp.media.View.extend({tagName:&quot;label&quot;,className:&quot;screen-reader-text&quot;,initialize:function(){this.value=this.options.value},render:function(){return this.$el.html(this.value),this}});t.exports=e},4861:function(t){var e=wp.media.view.Frame,i=wp.media.view.l10n,o=jQuery,s=e.extend({className:&quot;media-frame&quot;,template:wp.template(&quot;media-frame&quot;),regions:[&quot;menu&quot;,&quot;title&quot;,&quot;content&quot;,&quot;toolbar&quot;,&quot;router&quot;],events:{&quot;click .media-frame-menu-toggle&quot;:&quot;toggleMenu&quot;},initialize:function(){e.prototype.initialize.apply(this,arguments),_.defaults(this.options,{title:i.mediaFrameDefaultTitle,modal:!0,uploader:!0}),this.$el.addClass(&quot;wp-core-ui&quot;),this.options.modal&amp;&amp;(this.modal=new wp.media.view.Modal({controller:this,title:this.options.title}),this.modal.content(this)),!wp.Uploader.limitExceeded&amp;&amp;wp.Uploader.browser.supported||(this.options.uploader=!1),this.options.uploader&amp;&amp;(this.uploader=new wp.media.view.UploaderWindow({controller:this,uploader:{dropzone:(this.modal||this).$el,container:this.$el}}),this.views.set(&quot;.media-frame-uploader&quot;,this.uploader)),this.on(&quot;attach&quot;,_.bind(this.views.ready,this.views),this),this.on(&quot;title:create:default&quot;,this.createTitle,this),this.title.mode(&quot;default&quot;),this.on(&quot;menu:create:default&quot;,this.createMenu,this),this.on(&quot;open&quot;,this.setMenuTabPanelAriaAttributes,this),this.on(&quot;open&quot;,this.setRouterTabPanelAriaAttributes,this),this.on(&quot;content:render&quot;,this.setMenuTabPanelAriaAttributes,this),this.on(&quot;content:render&quot;,this.setRouterTabPanelAriaAttributes,this)},setMenuTabPanelAriaAttributes:function(){var t=this.state().get(&quot;id&quot;),e=this.$el.find(&quot;.media-frame-tab-panel&quot;);e.removeAttr(&quot;role aria-labelledby tabindex&quot;),this.state().get(&quot;menu&quot;)&amp;&amp;this.menuView&amp;&amp;this.menuView.isVisible&amp;&amp;e.attr({role:&quot;tabpanel&quot;,&quot;aria-labelledby&quot;:&quot;menu-item-&quot;+t,tabIndex:&quot;0&quot;})},setRouterTabPanelAriaAttributes:function(){var t,e=this.$el.find(&quot;.media-frame-content&quot;);e.removeAttr(&quot;role aria-labelledby tabindex&quot;),this.state().get(&quot;router&quot;)&amp;&amp;this.routerView&amp;&amp;this.routerView.isVisible&amp;&amp;this.content._mode&amp;&amp;(t=&quot;menu-item-&quot;+this.content._mode,e.attr({role:&quot;tabpanel&quot;,&quot;aria-labelledby&quot;:t,tabIndex:&quot;0&quot;}))},render:function(){return!this.state()&amp;&amp;this.options.state&amp;&amp;this.setState(this.options.state),e.prototype.render.apply(this,arguments)},createTitle:function(t){t.view=new wp.media.View({controller:this,tagName:&quot;h1&quot;})},createMenu:function(t){t.view=new wp.media.view.Menu({controller:this,attributes:{role:&quot;tablist&quot;,&quot;aria-orientation&quot;:&quot;vertical&quot;}}),this.menuView=t.view},toggleMenu:function(t){var e=this.$el.find(&quot;.media-menu&quot;);e.toggleClass(&quot;visible&quot;),o(t.target).attr(&quot;aria-expanded&quot;,e.hasClass(&quot;visible&quot;))},createToolbar:function(t){t.view=new wp.media.view.Toolbar({controller:this})},createRouter:function(t){t.view=new wp.media.view.Router({controller:this,attributes:{role:&quot;tablist&quot;,&quot;aria-orientation&quot;:&quot;horizontal&quot;}}),this.routerView=t.view},createIframeStates:function(i){var t=wp.media.view.settings,e=t.tabs,s=t.tabUrl;e&amp;&amp;s&amp;&amp;((t=o(&quot;#post_ID&quot;)).length&amp;&amp;(s+=&quot;&amp;post_id=&quot;+t.val()),_.each(e,function(t,e){this.state(&quot;iframe:&quot;+e).set(_.defaults({tab:e,src:s+&quot;&amp;tab=&quot;+e,title:t,content:&quot;iframe&quot;,menu:&quot;default&quot;},i))},this),this.on(&quot;content:create:iframe&quot;,this.iframeContent,this),this.on(&quot;content:deactivate:iframe&quot;,this.iframeContentCleanup,this),this.on(&quot;menu:render:default&quot;,this.iframeMenu,this),this.on(&quot;open&quot;,this.hijackThickbox,this),this.on(&quot;close&quot;,this.restoreThickbox,this))},iframeContent:function(t){this.$el.addClass(&quot;hide-toolbar&quot;),t.view=new wp.media.view.Iframe({controller:this})},iframeContentCleanup:function(){this.$el.removeClass(&quot;hide-toolbar&quot;)},iframeMenu:function(t){var i={};t&amp;&amp;(_.each(wp.media.view.settings.tabs,function(t,e){i[&quot;iframe:&quot;+e]={text:this.state(&quot;iframe:&quot;+e).get(&quot;title&quot;),priority:200}},this),t.set(i))},hijackThickbox:function(){var t=this;window.tb_remove&amp;&amp;!this._tb_remove&amp;&amp;(this._tb_remove=window.tb_remove,window.tb_remove=function(){t.close(),t.reset(),t.setState(t.options.state),t._tb_remove.call(window)})},restoreThickbox:function(){this._tb_remove&amp;&amp;(window.tb_remove=this._tb_remove,delete this._tb_remove)}});_.each([&quot;open&quot;,&quot;close&quot;,&quot;attach&quot;,&quot;detach&quot;,&quot;escape&quot;],function(t){s.prototype[t]=function(){return this.modal&amp;&amp;this.modal[t].apply(this.modal,arguments),this}}),t.exports=s},917:function(t){var e=wp.media.View.extend({tagName:&quot;button&quot;,className:&quot;media-menu-item&quot;,attributes:{type:&quot;button&quot;,role:&quot;tab&quot;},events:{click:&quot;_click&quot;},_click:function(){var t=this.options.click;t?t.call(this):this.click()},click:function(){var t=this.options.state;t&amp;&amp;(this.controller.setState(t),this.views.parent.$el.removeClass(&quot;visible&quot;))},render:function(){var t=this.options,e=t.state||t.contentMode;return t.text?this.$el.text(t.text):t.html&amp;&amp;this.$el.html(t.html),this.$el.attr(&quot;id&quot;,&quot;menu-item-&quot;+e),this}});t.exports=e},2596:function(t){var e=wp.media.view.MenuItem,i=wp.media.view.PriorityList,e=i.extend({tagName:&quot;div&quot;,className:&quot;media-menu&quot;,property:&quot;state&quot;,ItemView:e,region:&quot;menu&quot;,attributes:{role:&quot;tablist&quot;,&quot;aria-orientation&quot;:&quot;horizontal&quot;},initialize:function(){this._views={},this.set(_.extend({},this._views,this.options.views),{silent:!0}),delete this.options.views,this.options.silent||this.render(),this.focusManager=new wp.media.view.FocusManager({el:this.el,mode:&quot;tabsNavigation&quot;}),this.isVisible=!0},toView:function(t,e){return(t=t||{})[this.property]=t[this.property]||e,new this.ItemView(t).render()},ready:function(){i.prototype.ready.apply(this,arguments),this.visibility(),this.focusManager.setupAriaTabs()},set:function(){i.prototype.set.apply(this,arguments),this.visibility()},unset:function(){i.prototype.unset.apply(this,arguments),this.visibility()},visibility:function(){var t=this.region,e=this.controller[t].get(),i=this.views.get(),i=!i||i.lengths)return o=e,!0}),this._views[t]=e,this.views.add(e,{at:_.isNumber(o)?o:i.length||0})),this},get:function(t){return this._views[t]},unset:function(t){var e=this.get(t);return e&amp;&amp;e.remove(),delete this._views[t],this},toView:function(t){return new wp.media.View(t)}});t.exports=e},9484:function(t){var e=wp.media.view.MenuItem.extend({click:function(){var t=this.options.contentMode;t&amp;&amp;this.controller.content.mode(t)}});t.exports=e},1562:function(t){var e=wp.media.view.Menu,i=e.extend({tagName:"div",className:"media-router",property:"contentMode",ItemView:wp.media.view.RouterItem,region:"router",attributes:{role:"tablist","aria-orientation":"horizontal"},initialize:function(){this.controller.on("content:render",this.update,this),e.prototype.initialize.apply(this,arguments)},update:function(){var t=this.controller.content.mode();t&amp;&amp;this.select(t)}});t.exports=i},4556:function(t){var e=wp.media.View.extend({tagName:"input",className:"search",id:"media-search-input",attributes:{type:"search"},events:{input:"search"},render:function(){return this.el.value=this.model.escape("search"),this},search:_.debounce(function(t){t=t.target.value.trim();t&amp;&amp;1&lt;t.length?this.model.set(&quot;search&quot;,t):this.model.unset(&quot;search&quot;)},500)});t.exports=e},6191:function(t){var i=wp.i18n._n,s=wp.i18n.sprintf,e=wp.media.View.extend({tagName:&quot;div&quot;,className:&quot;media-selection&quot;,template:wp.template(&quot;media-selection&quot;),events:{&quot;click .edit-selection&quot;:&quot;edit&quot;,&quot;click .clear-selection&quot;:&quot;clear&quot;},initialize:function(){_.defaults(this.options,{editable:!1,clearable:!0}),this.attachments=new wp.media.view.Attachments.Selection({controller:this.controller,collection:this.collection,selection:this.collection,model:new Backbone.Model}),this.views.set(&quot;.selection-view&quot;,this.attachments),this.collection.on(&quot;add remove reset&quot;,this.refresh,this),this.controller.on(&quot;content:activate&quot;,this.refresh,this)},ready:function(){this.refresh()},refresh:function(){var t,e;this.$el.children().length&amp;&amp;(t=this.collection,e=&quot;edit-selection&quot;===this.controller.content.mode(),this.$el.toggleClass(&quot;empty&quot;,!t.length),this.$el.toggleClass(&quot;one&quot;,1===t.length),this.$el.toggleClass(&quot;editing&quot;,e),this.$(&quot;.count&quot;).text(s(i(&quot;%s item selected&quot;,&quot;%s items selected&quot;,t.length),t.length)))},edit:function(t){t.preventDefault(),this.options.editable&amp;&amp;this.options.editable.call(this,this.collection)},clear:function(t){t.preventDefault(),this.collection.reset(),this.controller.modal.focusManager.focus()}});t.exports=e},859:function(t){var e=wp.media.View,s=Backbone.$,i=e.extend({events:{&quot;click button&quot;:&quot;updateHandler&quot;,&quot;change input&quot;:&quot;updateHandler&quot;,&quot;change select&quot;:&quot;updateHandler&quot;,&quot;change textarea&quot;:&quot;updateHandler&quot;},initialize:function(){this.model=this.model||new Backbone.Model,this.listenTo(this.model,&quot;change&quot;,this.updateChanges)},prepare:function(){return _.defaults({model:this.model.toJSON()},this.options)},render:function(){return e.prototype.render.apply(this,arguments),_(this.model.attributes).chain().keys().each(this.update,this),this},update:function(t){var e,i=this.model.get(t),s=this.$(&#039;[data-setting=&quot;&#039;+t+&#039;&quot;]&#039;);s.length&amp;&amp;(s.is(&quot;select&quot;)?(e=s.find(&#039;[value=&quot;&#039;+i+&#039;&quot;]&#039;)).length?(s.find(&quot;option&quot;).prop(&quot;selected&quot;,!1),e.prop(&quot;selected&quot;,!0)):this.model.set(t,s.find(&quot;:selected&quot;).val()):s.hasClass(&quot;button-group&quot;)?s.find(&quot;button&quot;).removeClass(&quot;active&quot;).attr(&quot;aria-pressed&quot;,&quot;false&quot;).filter(&#039;[value=&quot;&#039;+i+&#039;&quot;]&#039;).addClass(&quot;active&quot;).attr(&quot;aria-pressed&quot;,&quot;true&quot;):s.is(&#039;input[type=&quot;text&quot;], textarea&#039;)?s.is(&quot;:focus&quot;)||s.val(i):s.is(&#039;input[type=&quot;checkbox&quot;]&#039;)&amp;&amp;s.prop(&quot;checked&quot;,!!i&amp;&amp;&quot;false&quot;!==i))},updateHandler:function(t){var e=s(t.target).closest(&quot;[data-setting]&quot;),i=t.target.value;t.preventDefault(),e.length&amp;&amp;(e.is(&#039;input[type=&quot;checkbox&quot;]&#039;)&amp;&amp;(i=e[0].checked),this.model.set(e.data(&quot;setting&quot;),i),(t=e.data(&quot;userSetting&quot;))&amp;&amp;window.setUserSetting(t,i))},updateChanges:function(t){t.hasChanged()&amp;&amp;_(t.changed).chain().keys().each(this.update,this)}});t.exports=i},2176:function(t){var e=wp.media.view.Settings,i=e.extend({className:&quot;attachment-display-settings&quot;,template:wp.template(&quot;attachment-display-settings&quot;),initialize:function(){var t=this.options.attachment;_.defaults(this.options,{userSettings:!1}),e.prototype.initialize.apply(this,arguments),this.listenTo(this.model,&quot;change:link&quot;,this.updateLinkTo),t&amp;&amp;t.on(&quot;change:uploading&quot;,this.render,this)},dispose:function(){var t=this.options.attachment;t&amp;&amp;t.off(null,null,this),e.prototype.dispose.apply(this,arguments)},render:function(){var t=this.options.attachment;return t&amp;&amp;_.extend(this.options,{sizes:t.get(&quot;sizes&quot;),type:t.get(&quot;type&quot;)}),e.prototype.render.call(this),this.updateLinkTo(),this},updateLinkTo:function(){var t=this.model.get(&quot;link&quot;),e=this.$(&quot;.link-to-custom&quot;),i=this.options.attachment;&quot;none&quot;===t||&quot;embed&quot;===t||!i&amp;&amp;&quot;custom&quot;!==t?e.closest(&quot;.setting&quot;).addClass(&quot;hidden&quot;):(i&amp;&amp;(&quot;post&quot;===t?e.val(i.get(&quot;link&quot;)):&quot;file&quot;===t?e.val(i.get(&quot;url&quot;)):this.model.get(&quot;linkUrl&quot;)||e.val(&quot;http://&quot;),e.prop(&quot;readonly&quot;,&quot;custom&quot;!==t)),e.closest(&quot;.setting&quot;).removeClass(&quot;hidden&quot;),e.length&amp;&amp;e[0].scrollIntoView())}});t.exports=i},6872:function(t){var e=wp.media.view.Settings.extend({className:&quot;collection-settings gallery-settings&quot;,template:wp.template(&quot;gallery-settings&quot;)});t.exports=e},8488:function(t){var e=wp.media.view.Settings.extend({className:&quot;collection-settings playlist-settings&quot;,template:wp.template(&quot;playlist-settings&quot;)});t.exports=e},9799:function(t){var e=wp.media.view.PriorityList.extend({className:&quot;media-sidebar&quot;});t.exports=e},5187:function(t){var e=wp.media.view,i=e.Cropper.extend({className:&quot;crop-content site-icon&quot;,ready:function(){e.Cropper.prototype.ready.apply(this,arguments),this.$(&quot;.crop-image&quot;).on(&quot;load&quot;,_.bind(this.addSidebar,this))},addSidebar:function(){this.sidebar=new wp.media.view.Sidebar({controller:this.controller}),this.sidebar.set(&quot;preview&quot;,new wp.media.view.SiteIconPreview({controller:this.controller,attachment:this.options.attachment})),this.controller.cropperView.views.add(this.sidebar)}});t.exports=i},8260:function(t){var e=wp.media.View,a=jQuery,e=e.extend({className:&quot;site-icon-preview&quot;,template:wp.template(&quot;site-icon-preview&quot;),ready:function(){this.controller.imgSelect.setOptions({onInit:this.updatePreview,onSelectChange:this.updatePreview})},prepare:function(){return{url:this.options.attachment.get(&quot;url&quot;)}},updatePreview:function(t,e){var i=64/e.width,s=64/e.height,o=16/e.width,n=16/e.height;a(&quot;#preview-app-icon&quot;).css({width:Math.round(i*this.imageWidth)+&quot;px&quot;,height:Math.round(s*this.imageHeight)+&quot;px&quot;,marginLeft:&quot;-&quot;+Math.round(i*e.x1)+&quot;px&quot;,marginTop:&quot;-&quot;+Math.round(s*e.y1)+&quot;px&quot;}),a(&quot;#preview-favicon&quot;).css({width:Math.round(o*this.imageWidth)+&quot;px&quot;,height:Math.round(n*this.imageHeight)+&quot;px&quot;,marginLeft:&quot;-&quot;+Math.round(o*e.x1)+&quot;px&quot;,marginTop:&quot;-&quot;+Math.floor(n*e.y1)+&quot;px&quot;})}});t.exports=e},2234:function(t){var e=wp.media.View.extend({tagName:&quot;span&quot;,className:&quot;spinner&quot;,spinnerTimeout:!1,delay:400,show:function(){return this.spinnerTimeout||(this.spinnerTimeout=_.delay(function(t){t.addClass(&quot;is-active&quot;)},this.delay,this.$el)),this},hide:function(){return this.$el.removeClass(&quot;is-active&quot;),this.spinnerTimeout=clearTimeout(this.spinnerTimeout),this}});t.exports=e},9510:function(t){var e=wp.media.View,i=e.extend({tagName:&quot;div&quot;,className:&quot;media-toolbar&quot;,initialize:function(){var t=this.controller.state(),e=this.selection=t.get(&quot;selection&quot;),t=this.library=t.get(&quot;library&quot;);this._views={},this.primary=new wp.media.view.PriorityList,this.secondary=new wp.media.view.PriorityList,this.primary.$el.addClass(&quot;media-toolbar-primary search-form&quot;),this.secondary.$el.addClass(&quot;media-toolbar-secondary&quot;),this.views.set([this.secondary,this.primary]),this.options.items&amp;&amp;this.set(this.options.items,{silent:!0}),this.options.silent||this.render(),e&amp;&amp;e.on(&quot;add remove reset&quot;,this.refresh,this),t&amp;&amp;t.on(&quot;add remove reset&quot;,this.refresh,this)},dispose:function(){return this.selection&amp;&amp;this.selection.off(null,null,this),this.library&amp;&amp;this.library.off(null,null,this),e.prototype.dispose.apply(this,arguments)},ready:function(){this.refresh()},set:function(t,e,i){return i=i||{},_.isObject(t)?_.each(t,function(t,e){this.set(e,t,{silent:!0})},this):(e instanceof Backbone.View||(e.classes=[&quot;media-button-&quot;+t].concat(e.classes||[]),e=new wp.media.view.Button(e).render()),e.controller=e.controller||this.controller,this._views[t]=e,this[e.options.priority&lt;0?&quot;secondary&quot;:&quot;primary&quot;].set(t,e,i)),i.silent||this.refresh(),this},get:function(t){return this._views[t]},unset:function(t,e){return delete this._views[t],this.primary.unset(t,e),this.secondary.unset(t,e),e&amp;&amp;e.silent||this.refresh(),this},refresh:function(){var t=this.controller.state(),s=t.get(&quot;library&quot;),o=t.get(&quot;selection&quot;);_.each(this._views,function(t){var e,i;t.model&amp;&amp;t.options&amp;&amp;t.options.requires&amp;&amp;(e=t.options.requires,i=!1,o&amp;&amp;o.models&amp;&amp;(i=_.some(o.models,function(t){return!0===t.get(&quot;uploading&quot;)})),(e.selection&amp;&amp;o&amp;&amp;!o.length||e.library&amp;&amp;s&amp;&amp;!s.length)&amp;&amp;(i=!0),t.model.set(&quot;disabled&quot;,i))})}});t.exports=i},7128:function(t){var e=wp.media.view.Toolbar.Select,i=wp.media.view.l10n,s=e.extend({initialize:function(){_.defaults(this.options,{text:i.insertIntoPost,requires:!1}),e.prototype.initialize.apply(this,arguments)},refresh:function(){var t=this.controller.state().props.get(&quot;url&quot;);this.get(&quot;select&quot;).model.set(&quot;disabled&quot;,!t||&quot;http://&quot;===t),e.prototype.refresh.apply(this,arguments)}});t.exports=s},6850:function(t){var e=wp.media.view.Toolbar,i=wp.media.view.l10n,s=e.extend({initialize:function(){var t=this.options;_.bindAll(this,&quot;clickSelect&quot;),_.defaults(t,{event:&quot;select&quot;,state:!1,reset:!0,close:!0,text:i.select,requires:{selection:!0}}),t.items=_.defaults(t.items||{},{select:{style:&quot;primary&quot;,text:t.text,priority:80,click:this.clickSelect,requires:t.requires}}),e.prototype.initialize.apply(this,arguments)},clickSelect:function(){var t=this.options,e=this.controller;t.close&amp;&amp;e.close(),t.event&amp;&amp;e.state().trigger(t.event),t.state&amp;&amp;e.setState(t.state),t.reset&amp;&amp;e.reset()}});t.exports=s},841:function(t){var e=wp.media.View,i=wp.media.view.l10n,s=jQuery,o=e.extend({tagName:&quot;div&quot;,className:&quot;uploader-editor&quot;,template:wp.template(&quot;uploader-editor&quot;),localDrag:!1,overContainer:!1,overDropzone:!1,draggingFile:null,initialize:function(){return this.initialized=!1,window.tinyMCEPreInit&amp;&amp;window.tinyMCEPreInit.dragDropUpload&amp;&amp;this.browserSupport()&amp;&amp;(this.$document=s(document),this.dropzones=[],this.files=[],this.$document.on(&quot;drop&quot;,&quot;.uploader-editor&quot;,_.bind(this.drop,this)),this.$document.on(&quot;dragover&quot;,&quot;.uploader-editor&quot;,_.bind(this.dropzoneDragover,this)),this.$document.on(&quot;dragleave&quot;,&quot;.uploader-editor&quot;,_.bind(this.dropzoneDragleave,this)),this.$document.on(&quot;click&quot;,&quot;.uploader-editor&quot;,_.bind(this.click,this)),this.$document.on(&quot;dragover&quot;,_.bind(this.containerDragover,this)),this.$document.on(&quot;dragleave&quot;,_.bind(this.containerDragleave,this)),this.$document.on(&quot;dragstart dragend drop&quot;,_.bind(function(t){this.localDrag=&quot;dragstart&quot;===t.type,&quot;drop&quot;===t.type&amp;&amp;this.containerDragleave()},this)),this.initialized=!0),this},browserSupport:function(){var t=document.createElement(&quot;div&quot;);return(&quot;draggable&quot;in t||&quot;ondragstart&quot;in t&amp;&amp;&quot;ondrop&quot;in t)&amp;&amp;!!(window.File&amp;&amp;window.FileList&amp;&amp;window.FileReader)},isDraggingFile:function(t){return null!==this.draggingFile?this.draggingFile:!_.isUndefined(t.originalEvent)&amp;&amp;!_.isUndefined(t.originalEvent.dataTransfer)&amp;&amp;(this.draggingFile=-1&lt;_.indexOf(t.originalEvent.dataTransfer.types,&quot;Files&quot;)&amp;&amp;-1===_.indexOf(t.originalEvent.dataTransfer.types,&quot;text/plain&quot;),this.draggingFile)},refresh:function(t){for(var e in this.dropzones)this.dropzones[e].toggle(this.overContainer||this.overDropzone);return _.isUndefined(t)||s(t.target).closest(&quot;.uploader-editor&quot;).toggleClass(&quot;droppable&quot;,this.overDropzone),this.overContainer||this.overDropzone||(this.draggingFile=null),this},render:function(){return this.initialized&amp;&amp;(e.prototype.render.apply(this,arguments),s(&quot;.wp-editor-wrap&quot;).each(_.bind(this.attach,this))),this},attach:function(t,e){var i=this.$el.clone();return this.dropzones.push(i),s(e).append(i),this},drop:function(t){if(this.containerDragleave(t),this.dropzoneDragleave(t),this.files=t.originalEvent.dataTransfer.files,!(this.files.length&lt;1))return 0&lt;(t=s(t.target).parents(&quot;.wp-editor-wrap&quot;)).length&amp;&amp;t[0].id&amp;&amp;(window.wpActiveEditor=t[0].id.slice(3,-5)),this.workflow?(this.workflow.state().reset(),this.addFiles.apply(this),this.workflow.open()):(this.workflow=wp.media.editor.open(window.wpActiveEditor,{frame:&quot;post&quot;,state:&quot;insert&quot;,title:i.addMedia,multiple:!0}),(t=this.workflow.uploader).uploader&amp;&amp;t.uploader.ready?this.addFiles.apply(this):this.workflow.on(&quot;uploader:ready&quot;,this.addFiles,this)),!1},addFiles:function(){return this.files.length&amp;&amp;(this.workflow.uploader.uploader.uploader.addFile(_.toArray(this.files)),this.files=[]),this},containerDragover:function(t){!this.localDrag&amp;&amp;this.isDraggingFile(t)&amp;&amp;(this.overContainer=!0,this.refresh())},containerDragleave:function(){this.overContainer=!1,_.delay(_.bind(this.refresh,this),50)},dropzoneDragover:function(t){if(!this.localDrag&amp;&amp;this.isDraggingFile(t))return this.overDropzone=!0,this.refresh(t),!1},dropzoneDragleave:function(t){this.overDropzone=!1,_.delay(_.bind(this.refresh,this,t),50)},click:function(t){this.containerDragleave(t),this.dropzoneDragleave(t),this.localDrag=!1}});t.exports=o},6353:function(t){var e=wp.media.View,i=e.extend({tagName:&quot;div&quot;,className:&quot;uploader-inline&quot;,template:wp.template(&quot;uploader-inline&quot;),events:{&quot;click .close&quot;:&quot;hide&quot;},initialize:function(){_.defaults(this.options,{message:&quot;&quot;,status:!0,canClose:!1}),!this.options.$browser&amp;&amp;this.controller.uploader&amp;&amp;(this.options.$browser=this.controller.uploader.$browser),_.isUndefined(this.options.postId)&amp;&amp;(this.options.postId=wp.media.view.settings.post.id),this.options.status&amp;&amp;this.views.set(&quot;.upload-inline-status&quot;,new wp.media.view.UploaderStatus({controller:this.controller}))},prepare:function(){var t=this.controller.state().get(&quot;suggestedWidth&quot;),e=this.controller.state().get(&quot;suggestedHeight&quot;),i={};return i.message=this.options.message,i.canClose=this.options.canClose,t&amp;&amp;e&amp;&amp;(i.suggestedWidth=t,i.suggestedHeight=e),i},dispose:function(){return this.disposing?e.prototype.dispose.apply(this,arguments):(this.disposing=!0,this.remove())},remove:function(){var t=e.prototype.remove.apply(this,arguments);return _.defer(_.bind(this.refresh,this)),t},refresh:function(){var t=this.controller.uploader;t&amp;&amp;t.refresh()},ready:function(){var t,e=this.options.$browser;if(this.controller.uploader){if((t=this.$(&quot;.browser&quot;))[0]===e[0])return;e.detach().text(t.text()),e[0].className=t[0].className,e[0].setAttribute(&quot;aria-labelledby&quot;,e[0].id+&quot; &quot;+t[0].getAttribute(&quot;aria-labelledby&quot;)),t.replaceWith(e.show())}return this.refresh(),this},show:function(){this.$el.removeClass(&quot;hidden&quot;),this.controller.$uploaderToggler&amp;&amp;this.controller.$uploaderToggler.length&amp;&amp;this.controller.$uploaderToggler.attr(&quot;aria-expanded&quot;,&quot;true&quot;)},hide:function(){this.$el.addClass(&quot;hidden&quot;),this.controller.$uploaderToggler&amp;&amp;this.controller.$uploaderToggler.length&amp;&amp;this.controller.$uploaderToggler.attr(&quot;aria-expanded&quot;,&quot;false&quot;).trigger(&quot;focus&quot;)}});t.exports=i},9411:function(t){var e=wp.media.View.extend({className:&quot;upload-error&quot;,template:wp.template(&quot;uploader-status-error&quot;)});t.exports=e},2894:function(t){var e=wp.media.View,i=e.extend({className:&quot;media-uploader-status&quot;,template:wp.template(&quot;uploader-status&quot;),events:{&quot;click .upload-dismiss-errors&quot;:&quot;dismiss&quot;},initialize:function(){this.queue=wp.Uploader.queue,this.queue.on(&quot;add remove reset&quot;,this.visibility,this),this.queue.on(&quot;add remove reset change:percent&quot;,this.progress,this),this.queue.on(&quot;add remove reset change:uploading&quot;,this.info,this),this.errors=wp.Uploader.errors,this.errors.reset(),this.errors.on(&quot;add remove reset&quot;,this.visibility,this),this.errors.on(&quot;add&quot;,this.error,this)},dispose:function(){return wp.Uploader.queue.off(null,null,this),e.prototype.dispose.apply(this,arguments),this},visibility:function(){this.$el.toggleClass(&quot;uploading&quot;,!!this.queue.length),this.$el.toggleClass(&quot;errors&quot;,!!this.errors.length),this.$el.toggle(!!this.queue.length||!!this.errors.length)},ready:function(){_.each({$bar:&quot;.media-progress-bar div&quot;,$index:&quot;.upload-index&quot;,$total:&quot;.upload-total&quot;,$filename:&quot;.upload-filename&quot;},function(t,e){this[e]=this.$(t)},this),this.visibility(),this.progress(),this.info()},progress:function(){var t=this.queue,e=this.$bar;e&amp;&amp;t.length&amp;&amp;e.width(t.reduce(function(t,e){if(!e.get(&quot;uploading&quot;))return t+100;e=e.get(&quot;percent&quot;);return t+(_.isNumber(e)?e:100)},0)/t.length+&quot;%&quot;)},info:function(){var t,e=this.queue,i=0;e.length&amp;&amp;(t=this.queue.find(function(t,e){return i=e,t.get(&quot;uploading&quot;)}),this.$index&amp;&amp;this.$total&amp;&amp;this.$filename&amp;&amp;(this.$index.text(i+1),this.$total.text(e.length),this.$filename.html(t?this.filename(t.get(&quot;filename&quot;)):&quot;&quot;)))},filename:function(t){return _.escape(t)},error:function(t){var e=new wp.media.view.UploaderStatusError({filename:this.filename(t.get(&quot;file&quot;).name),message:t.get(&quot;message&quot;)}),i=this.$el.find(&quot;button&quot;);this.views.add(&quot;.upload-errors&quot;,e,{at:0}),_.delay(function(){i.trigger(&quot;focus&quot;),wp.a11y.speak(t.get(&quot;message&quot;),&quot;assertive&quot;)},1e3)},dismiss:function(){var t=this.views.get(&quot;.upload-errors&quot;);t&amp;&amp;_.invoke(t,&quot;remove&quot;),wp.Uploader.errors.reset(),this.controller.modal&amp;&amp;this.controller.modal.focusManager.focus()}});t.exports=i},5823:function(t){var e=jQuery,i=wp.media.View.extend({tagName:&quot;div&quot;,className:&quot;uploader-window&quot;,template:wp.template(&quot;uploader-window&quot;),initialize:function(){var t;this.$browser=e(&#039;<button type="button" class="browser" />'').hide().appendTo("body"),!(t=this.options.uploader=_.defaults(this.options.uploader||{},{dropzone:this.$el,browser:this.$browser,params:{}})).dropzone||t.dropzone instanceof e||(t.dropzone=e(t.dropzone)),this.controller.on("activate",this.refresh,this),this.controller.on("detach",function(){this.$browser.remove()},this)},refresh:function(){this.uploader&amp;&amp;this.uploader.refresh()},ready:function(){var t=wp.media.view.settings.post.id;this.uploader||(t&amp;&amp;(this.options.uploader.params.post_id=t),this.uploader=new wp.Uploader(this.options.uploader),(t=this.uploader.dropzone).on("dropzone:enter",_.bind(this.show,this)),t.on("dropzone:leave",_.bind(this.hide,this)),e(this.uploader).on("uploader:ready",_.bind(this._ready,this)))},_ready:function(){this.controller.trigger("uploader:ready")},show:function(){var t=this.$el.show();_.defer(function(){t.css({opacity:1})})},hide:function(){var t=this.$el.css({opacity:0});wp.media.transition(t).done(function(){"0"===t.css("opacity")&amp;&amp;t.hide()}),_.delay(function(){"0"===t.css("opacity")&amp;&amp;t.is(":visible")&amp;&amp;t.hide()},500)}});t.exports=i},487:function(t){var e=wp.Backbone.View.extend({constructor:function(t){t&amp;&amp;t.controller&amp;&amp;(this.controller=t.controller),wp.Backbone.View.apply(this,arguments)},dispose:function(){return this.undelegateEvents(),this.model&amp;&amp;this.model.off&amp;&amp;this.model.off(null,null,this),this.collection&amp;&amp;this.collection.off&amp;&amp;this.collection.off(null,null,this),this.controller&amp;&amp;this.controller.off&amp;&amp;this.controller.off(null,null,this),this},remove:function(){return this.dispose(),wp.Backbone.View.prototype.remove.apply(this,arguments)}});t.exports=e}},s={};function o(t){var e=s[t];if(void 0!==e)return e.exports;e=s[t]={exports:{}};return i[t](e,e.exports,o),e.exports}var e,t,n,a,r;a=wp.media,r=jQuery,a.isTouchDevice="ontouchend"in document,t=a.view.l10n=window._wpMediaViewsL10n||{},a.view.settings=t.settings||{},delete t.settings,a.model.settings.post=a.view.settings.post,r.support.transition=(e=document.documentElement.style,t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},(n=_.find(_.keys(t),function(t){return!_.isUndefined(e[t])}))&amp;&amp;{end:t[n]}),a.events=_.extend({},Backbone.Events),a.transition=function(t,e){var i=r.Deferred();return e=e||2e3,r.support.transition?((t=t instanceof r?t:r(t)).first().one(r.support.transition.end,i.resolve),_.delay(i.resolve,e)):i.resolve(),i.promise()},a.controller.Region=o(4903),a.controller.StateMachine=o(5466),a.controller.State=o(5826),a.selectionSync=o(3526),a.controller.Library=o(9024),a.controller.ImageDetails=o(3849),a.controller.GalleryEdit=o(6328),a.controller.GalleryAdd=o(7323),a.controller.CollectionEdit=o(1817),a.controller.CollectionAdd=o(1517),a.controller.FeaturedImage=o(5095),a.controller.ReplaceImage=o(8493),a.controller.EditImage=o(7658),a.controller.MediaLibrary=o(3742),a.controller.Embed=o(9067),a.controller.Cropper=o(2288),a.controller.CustomizeImageCropper=o(6934),a.controller.SiteIconCropper=o(5274),a.View=o(487),a.view.Frame=o(3647),a.view.MediaFrame=o(4861),a.view.MediaFrame.Select=o(8719),a.view.MediaFrame.Post=o(9075),a.view.MediaFrame.ImageDetails=o(9142),a.view.Modal=o(3939),a.view.FocusManager=o(6557),a.view.UploaderWindow=o(5823),a.view.EditorUploader=o(841),a.view.UploaderInline=o(6353),a.view.UploaderStatus=o(2894),a.view.UploaderStatusError=o(9411),a.view.Toolbar=o(9510),a.view.Toolbar.Select=o(6850),a.view.Toolbar.Embed=o(7128),a.view.Button=o(3157),a.view.ButtonGroup=o(4094),a.view.PriorityList=o(1993),a.view.MenuItem=o(917),a.view.Menu=o(2596),a.view.RouterItem=o(9484),a.view.Router=o(1562),a.view.Sidebar=o(9799),a.view.Attachment=o(5019),a.view.Attachment.Library=o(9254),a.view.Attachment.EditLibrary=o(4640),a.view.Attachments=o(8408),a.view.Search=o(4556),a.view.AttachmentFilters=o(4906),a.view.DateFilter=o(9663),a.view.AttachmentFilters.Uploaded=o(7040),a.view.AttachmentFilters.All=o(2868),a.view.AttachmentsBrowser=o(9239),a.view.Selection=o(6191),a.view.Attachment.Selection=o(9003),a.view.Attachments.Selection=o(1223),a.view.Attachment.EditSelection=o(1009),a.view.Settings=o(859),a.view.Settings.AttachmentDisplay=o(2176),a.view.Settings.Gallery=o(6872),a.view.Settings.Playlist=o(8488),a.view.Attachment.Details=o(7274),a.view.AttachmentCompat=o(8093),a.view.Iframe=o(6217),a.view.Embed=o(5138),a.view.Label=o(6644),a.view.EmbedUrl=o(4848),a.view.EmbedLink=o(6959),a.view.EmbedImage=o(1338),a.view.ImageDetails=o(7598),a.view.Cropper=o(7137),a.view.SiteIconCropper=o(5187),a.view.SiteIconPreview=o(8260),a.view.EditImage=o(5970),a.view.Spinner=o(2234),a.view.Heading=o(7990)}();\n/*! This file is auto-generated */\n!function(a,r){var i={};wp.media.coerce=function(e,t){return r.isUndefined(e[t])&amp;&amp;!r.isUndefined(this.defaults[t])?e[t]=this.defaults[t]:"true"===e[t]?e[t]=!0:"false"===e[t]&amp;&amp;(e[t]=!1),e[t]},wp.media.string={props:function(e,t){var i,n=wp.media.view.settings.defaultProps;return e=e?r.clone(e):{},t&amp;&amp;t.type&amp;&amp;(e.type=t.type),"image"===e.type&amp;&amp;(e=r.defaults(e||{},{align:n.align||getUserSetting("align","none"),size:n.size||getUserSetting("imgsize","medium"),url:"",classes:[]})),t&amp;&amp;(e.title=e.title||t.title,"file"===(n=e.link||n.link||getUserSetting("urlbutton","file"))||"embed"===n?i=t.url:"post"===n?i=t.link:"custom"===n&amp;&amp;(i=e.linkUrl),e.linkUrl=i||"","image"===t.type?(e.classes.push("wp-image-"+t.id),i=(n=t.sizes)&amp;&amp;n[e.size]?n[e.size]:t,r.extend(e,r.pick(t,"align","caption","alt"),{width:i.width,height:i.height,src:i.url,captionId:"attachment_"+t.id})):"video"===t.type||"audio"===t.type?r.extend(e,r.pick(t,"title","type","icon","mime")):(e.title=e.title||t.filename,e.rel=e.rel||"attachment wp-att-"+t.id)),e},link:function(e,t){t={tag:"a",content:(e=wp.media.string.props(e,t)).title,attrs:{href:e.linkUrl}};return e.rel&amp;&amp;(t.attrs.rel=e.rel),wp.html.string(t)},audio:function(e,t){return wp.media.string._audioVideo("audio",e,t)},video:function(e,t){return wp.media.string._audioVideo("video",e,t)},_audioVideo:function(e,t,i){var n,a;return"embed"!==(t=wp.media.string.props(t,i)).link?wp.media.string.link(t):(n={},"video"===e&amp;&amp;(i.image&amp;&amp;-1===i.image.src.indexOf(i.icon)&amp;&amp;(n.poster=i.image.src),i.width&amp;&amp;(n.width=i.width),i.height&amp;&amp;(n.height=i.height)),a=i.filename.split(".").pop(),r.contains(wp.media.view.settings.embedExts,a)?(n[a]=i.url,wp.shortcode.string({tag:e,attrs:n})):wp.media.string.link(t))},image:function(e,t){var i,n={};return e.type="image",i=(e=wp.media.string.props(e,t)).classes||[],n.src=(r.isUndefined(t)?e:t).url,r.extend(n,r.pick(e,"width","height","alt")),e.align&amp;&amp;!e.caption&amp;&amp;i.push("align"+e.align),e.size&amp;&amp;i.push("size-"+e.size),n.class=r.compact(i).join(" "),t={tag:"img",attrs:n,single:!0},e.linkUrl&amp;&amp;(t={tag:"a",attrs:{href:e.linkUrl},content:t}),i=wp.html.string(t),e.caption&amp;&amp;(t={},n.width&amp;&amp;(t.width=n.width),e.captionId&amp;&amp;(t.id=e.captionId),e.align&amp;&amp;(t.align="align"+e.align),i=wp.shortcode.string({tag:"caption",attrs:t,content:i+" "+e.caption})),i}},wp.media.embed={coerce:wp.media.coerce,defaults:{url:"",width:"",height:""},edit:function(e,t){var i={};return t?i.url=e.replace(/]+&gt;/g,""):(t=wp.shortcode.next("embed",e).shortcode,i=r.defaults(t.attrs.named,this.defaults),t.content&amp;&amp;(i.url=t.content)),wp.media({frame:"post",state:"embed",metadata:i})},shortcode:function(i){var e,n=this;return r.each(this.defaults,function(e,t){i[t]=n.coerce(i,t),e===i[t]&amp;&amp;delete i[t]}),e=i.url,delete i.url,new wp.shortcode({tag:"embed",attrs:i,content:e})}},wp.media.collection=function(e){var d={};return r.extend({coerce:wp.media.coerce,attachments:function(e){var i,t=e.string(),n=d[t],a=this;return delete d[t],n||(t=r.defaults(e.attrs.named,this.defaults),(n=r.pick(t,"orderby","order")).type=this.type,n.perPage=-1,void 0!==t.orderby&amp;&amp;(t._orderByField=t.orderby),"rand"===t.orderby&amp;&amp;(t._orderbyRandom=!0),t.orderby&amp;&amp;!/^menu_order(?: ID)?$/i.test(t.orderby)||(n.orderby="menuOrder"),t.ids?(n.post__in=t.ids.split(","),n.orderby="post__in"):t.include&amp;&amp;(n.post__in=t.include.split(",")),t.exclude&amp;&amp;(n.post__not_in=t.exclude.split(",")),n.post__in||(n.uploadedTo=t.id),i=r.omit(t,"id","ids","include","exclude","orderby","order"),r.each(this.defaults,function(e,t){i[t]=a.coerce(i,t)}),(e=wp.media.query(n))[this.tag]=new Backbone.Model(i),e)},shortcode:function(e){var t=e.props.toJSON(),i=r.pick(t,"orderby","order");return e.type&amp;&amp;(i.type=e.type,delete e.type),e[this.tag]&amp;&amp;r.extend(i,e[this.tag].toJSON()),i.ids=e.pluck("id"),t.uploadedTo&amp;&amp;(i.id=t.uploadedTo),delete i.orderby,i._orderbyRandom?i.orderby="rand":i._orderByField&amp;&amp;"rand"!==i._orderByField&amp;&amp;(i.orderby=i._orderByField),delete i._orderbyRandom,delete i._orderByField,i.ids&amp;&amp;"post__in"===i.orderby&amp;&amp;delete i.orderby,i=this.setDefaults(i),i=new wp.shortcode({tag:this.tag,attrs:i,type:"single"}),(t=new wp.media.model.Attachments(e.models,{props:t}))[this.tag]=e[this.tag],d[i.string()]=t,i},edit:function(e){var t,i=wp.shortcode.next(this.tag,e),n=this.defaults.id;if(i&amp;&amp;i.content===e)return i=i.shortcode,r.isUndefined(i.get("id"))&amp;&amp;!r.isUndefined(n)&amp;&amp;i.set("id",n),e=this.attachments(i),(t=new wp.media.model.Selection(e.models,{props:e.props.toJSON(),multiple:!0}))[this.tag]=e[this.tag],t.more().done(function(){t.props.set({query:!1}),t.unmirror(),t.props.unset("orderby")}),this.frame&amp;&amp;this.frame.dispose(),n=i.attrs.named.type&amp;&amp;"video"===i.attrs.named.type?"video-"+this.tag+"-edit":this.tag+"-edit",this.frame=wp.media({frame:"post",state:n,title:this.editTitle,editing:!0,multiple:!0,selection:t}).open(),this.frame},setDefaults:function(i){var n=this;return r.each(this.defaults,function(e,t){i[t]=n.coerce(i,t),e===i[t]&amp;&amp;delete i[t]}),i}},e)},wp.media._galleryDefaults={itemtag:"dl",icontag:"dt",captiontag:"dd",columns:"3",link:"post",size:"thumbnail",order:"ASC",id:wp.media.view.settings.post&amp;&amp;wp.media.view.settings.post.id,orderby:"menu_order ID"},wp.media.view.settings.galleryDefaults?wp.media.galleryDefaults=r.extend({},wp.media._galleryDefaults,wp.media.view.settings.galleryDefaults):wp.media.galleryDefaults=wp.media._galleryDefaults,wp.media.gallery=new wp.media.collection({tag:"gallery",type:"image",editTitle:wp.media.view.l10n.editGalleryTitle,defaults:wp.media.galleryDefaults,setDefaults:function(i){var n=this,a=!r.isEqual(wp.media.galleryDefaults,wp.media._galleryDefaults);return r.each(this.defaults,function(e,t){i[t]=n.coerce(i,t),e!==i[t]||a&amp;&amp;e!==wp.media._galleryDefaults[t]||delete i[t]}),i}}),wp.media.featuredImage={get:function(){return wp.media.view.settings.post.featuredImageId},set:function(e){var t=wp.media.view.settings;t.post.featuredImageId=e,wp.media.post("get-post-thumbnail-html",{post_id:t.post.id,thumbnail_id:t.post.featuredImageId,_wpnonce:t.post.nonce}).done(function(e){"0"===e?window.alert(wp.i18n.__("Could not set that as the thumbnail image. Try a different attachment.")):a(".inside","#postimagediv").html(e)})},remove:function(){wp.media.featuredImage.set(-1)},frame:function(){return this._frame?wp.media.frame=this._frame:(this._frame=wp.media({state:"featured-image",states:[new wp.media.controller.FeaturedImage,new wp.media.controller.EditImage]}),this._frame.on("toolbar:create:featured-image",function(e){this.createSelectToolbar(e,{text:wp.media.view.l10n.setFeaturedImage})},this._frame),this._frame.on("content:render:edit-image",function(){var e=this.state("featured-image").get("selection"),e=new wp.media.view.EditImage({model:e.single(),controller:this}).render();this.content.set(e),e.loadEditor()},this._frame),this._frame.state("featured-image").on("select",this.select)),this._frame},select:function(){var e=this.get("selection").single();wp.media.view.settings.post.featuredImageId&amp;&amp;wp.media.featuredImage.set(e?e.id:-1)},init:function(){a("#postimagediv").on("click","#set-post-thumbnail",function(e){e.preventDefault(),e.stopPropagation(),wp.media.featuredImage.frame().open()}).on("click","#remove-post-thumbnail",function(){return wp.media.featuredImage.remove(),!1})}},a(wp.media.featuredImage.init),wp.media.editor={insert:function(e){var t,i=!r.isUndefined(window.tinymce),n=!r.isUndefined(window.QTags),a=this.activeEditor?window.wpActiveEditor=this.activeEditor:window.wpActiveEditor;if(window.send_to_editor)return window.send_to_editor.apply(this,arguments);if(a)i&amp;&amp;(t=tinymce.get(a));else if(i&amp;&amp;tinymce.activeEditor)t=tinymce.activeEditor,a=window.wpActiveEditor=t.id;else if(!n)return!1;if(t&amp;&amp;!t.isHidden()?t.execCommand("mceInsertContent",!1,e):n?QTags.insertContent(e):document.getElementById(a).value+=e,window.tb_remove)try{window.tb_remove()}catch(e){}},add:function(e,t){var n=this.get(e);return n||((n=i[e]=wp.media(r.defaults(t||{},{frame:"post",state:"insert",title:wp.media.view.l10n.addMedia,multiple:!0}))).on("insert",function(e){var i=n.state();(e=e||i.get("selection"))&amp;&amp;a.when.apply(a,e.map(function(e){var t=i.display(e).toJSON();return this.send.attachment(t,e.toJSON())},this)).done(function(){wp.media.editor.insert(r.toArray(arguments).join("\\n\\n"))})},this),n.state("gallery-edit").on("update",function(e){this.insert(wp.media.gallery.shortcode(e).string())},this),n.state("playlist-edit").on("update",function(e){this.insert(wp.media.playlist.shortcode(e).string())},this),n.state("video-playlist-edit").on("update",function(e){this.insert(wp.media.playlist.shortcode(e).string())},this),n.state("embed").on("select",function(){var e=n.state(),t=e.get("type"),e=e.props.toJSON();e.url=e.url||"","link"===t?(r.defaults(e,{linkText:e.url,linkUrl:e.url}),this.send.link(e).done(function(e){wp.media.editor.insert(e)})):"image"===t&amp;&amp;(r.defaults(e,{title:e.url,linkUrl:"",align:"none",link:"none"}),"none"===e.link?e.linkUrl="":"file"===e.link&amp;&amp;(e.linkUrl=e.url),this.insert(wp.media.string.image(e)))},this),n.state("featured-image").on("select",wp.media.featuredImage.select),n.setState(n.options.state),n)},id:function(e){return e||((e=window.wpActiveEditor)||r.isUndefined(window.tinymce)||!tinymce.activeEditor?e:tinymce.activeEditor.id)||""},get:function(e){return e=this.id(e),i[e]},remove:function(e){e=this.id(e),delete i[e]},send:{attachment:function(i,e){var n,t,a=e.caption;return wp.media.view.settings.captions||delete e.caption,i=wp.media.string.props(i,e),n={id:e.id,post_content:e.description,post_excerpt:a},i.linkUrl&amp;&amp;(n.url=i.linkUrl),"image"===e.type?(t=wp.media.string.image(i),r.each({align:"align",size:"image-size",alt:"image_alt"},function(e,t){i[t]&amp;&amp;(n[e]=i[t])})):"video"===e.type?t=wp.media.string.video(i,e):"audio"===e.type?t=wp.media.string.audio(i,e):(t=wp.media.string.link(i),n.post_title=i.title),wp.media.post("send-attachment-to-editor",{nonce:wp.media.view.settings.nonce.sendToEditor,attachment:n,html:t,post_id:wp.media.view.settings.post.id})},link:function(e){return wp.media.post("send-link-to-editor",{nonce:wp.media.view.settings.nonce.sendToEditor,src:e.linkUrl,link_text:e.linkText,html:wp.media.string.link(e),post_id:wp.media.view.settings.post.id})}},open:function(e,t){var i;return t=t||{},e=this.id(e),this.activeEditor=e,(!(i=this.get(e))||i.options&amp;&amp;t.state!==i.options.state)&amp;&amp;(i=this.add(e,t)),(wp.media.frame=i).open()},init:function(){a(document.body).on("click.add-media-button",".insert-media",function(e){var t=a(e.currentTarget),i=t.data("editor"),n={frame:"post",state:"insert",title:wp.media.view.l10n.addMedia,multiple:!0};e.preventDefault(),t.hasClass("gallery")&amp;&amp;(n.state="gallery",n.title=wp.media.view.l10n.createGalleryTitle),wp.media.editor.open(i,n)}),(new wp.media.view.EditorUploader).render()}},r.bindAll(wp.media.editor,"open"),a(wp.media.editor.init)}(jQuery,_);\n/*! This file is auto-generated */\n!function(){var i={6045:function(e){var t=wp.media.controller.State,i=wp.media.view.l10n,i=t.extend({defaults:{id:"audio-details",toolbar:"audio-details",title:i.audioDetailsTitle,content:"audio-details",menu:"audio-details",router:!1,priority:60},initialize:function(e){this.media=e.media,t.prototype.initialize.apply(this,arguments)}});e.exports=i},580:function(e){var t=wp.media.controller.State,i=wp.media.view.l10n,i=t.extend({defaults:{id:"video-details",toolbar:"video-details",title:i.videoDetailsTitle,content:"video-details",menu:"video-details",router:!1,priority:60},initialize:function(e){this.media=e.media,t.prototype.initialize.apply(this,arguments)}});e.exports=i},6615:function(e){var t=Backbone.Model.extend({initialize:function(){this.attachment=!1},setSource:function(e){this.attachment=e,this.extension=e.get("filename").split(".").pop(),this.get("src")&amp;&amp;this.extension===this.get("src").split(".").pop()&amp;&amp;this.unset("src"),_.contains(wp.media.view.settings.embedExts,this.extension)?this.set(this.extension,this.attachment.get("url")):this.unset(this.extension)},changeAttachment:function(e){this.setSource(e),this.unset("src"),_.each(_.without(wp.media.view.settings.embedExts,this.extension),function(e){this.unset(e)},this)}});e.exports=t},1764:function(e){var t=wp.media.view.MediaDetails,i=t.extend({className:"audio-details",template:wp.template("audio-details"),setMedia:function(){var e=this.$(".wp-audio-shortcode");return e.find("source").length?(e.is(":hidden")&amp;&amp;e.show(),this.media=t.prepareSrc(e.get(0))):(e.hide(),this.media=!1),this}});e.exports=i},5262:function(e){var t=wp.media.view.MediaFrame.MediaDetails,i=wp.media.controller.MediaLibrary,a=wp.media.view.l10n,s=t.extend({defaults:{id:"audio",url:"",menu:"audio-details",content:"audio-details",toolbar:"audio-details",type:"link",title:a.audioDetailsTitle,priority:120},initialize:function(e){e.DetailsView=wp.media.view.AudioDetails,e.cancelText=a.audioDetailsCancel,e.addText=a.audioAddSourceTitle,t.prototype.initialize.call(this,e)},bindHandlers:function(){t.prototype.bindHandlers.apply(this,arguments),this.on("toolbar:render:replace-audio",this.renderReplaceToolbar,this),this.on("toolbar:render:add-audio-source",this.renderAddSourceToolbar,this)},createStates:function(){this.states.add([new wp.media.controller.AudioDetails({media:this.media}),new i({type:"audio",id:"replace-audio",title:a.audioReplaceTitle,toolbar:"replace-audio",media:this.media,menu:"audio-details"}),new i({type:"audio",id:"add-audio-source",title:a.audioAddSourceTitle,toolbar:"add-audio-source",media:this.media,menu:!1})])}});e.exports=s},6445:function(e){var t=wp.media.view.MediaFrame.Select,i=wp.media.view.l10n,a=t.extend({defaults:{id:"media",url:"",menu:"media-details",content:"media-details",toolbar:"media-details",type:"link",priority:120},initialize:function(e){this.DetailsView=e.DetailsView,this.cancelText=e.cancelText,this.addText=e.addText,this.media=new wp.media.model.PostMedia(e.metadata),this.options.selection=new wp.media.model.Selection(this.media.attachment,{multiple:!1}),t.prototype.initialize.apply(this,arguments)},bindHandlers:function(){var e=this.defaults.menu;t.prototype.bindHandlers.apply(this,arguments),this.on("menu:create:"+e,this.createMenu,this),this.on("content:render:"+e,this.renderDetailsContent,this),this.on("menu:render:"+e,this.renderMenu,this),this.on("toolbar:render:"+e,this.renderDetailsToolbar,this)},renderDetailsContent:function(){var e=new this.DetailsView({controller:this,model:this.state().media,attachment:this.state().media.attachment}).render();this.content.set(e)},renderMenu:function(e){var t=this.lastState(),i=t&amp;&amp;t.id,a=this;e.set({cancel:{text:this.cancelText,priority:20,click:function(){i?a.setState(i):a.close()}},separateCancel:new wp.media.View({className:"separator",priority:40})})},setPrimaryButton:function(e,t){this.toolbar.set(new wp.media.view.Toolbar({controller:this,items:{button:{style:"primary",text:e,priority:80,click:function(){var e=this.controller;t.call(this,e,e.state()),e.setState(e.options.state),e.reset()}}}}))},renderDetailsToolbar:function(){this.setPrimaryButton(i.update,function(e,t){e.close(),t.trigger("update",e.media.toJSON())})},renderReplaceToolbar:function(){this.setPrimaryButton(i.replace,function(e,t){var i=t.get("selection").single();e.media.changeAttachment(i),t.trigger("replace",e.media.toJSON())})},renderAddSourceToolbar:function(){this.setPrimaryButton(this.addText,function(e,t){var i=t.get("selection").single();e.media.setSource(i),t.trigger("add-source",e.media.toJSON())})}});e.exports=a},2075:function(e){var t=wp.media.view.MediaFrame.MediaDetails,i=wp.media.controller.MediaLibrary,a=wp.media.view.l10n,s=t.extend({defaults:{id:"video",url:"",menu:"video-details",content:"video-details",toolbar:"video-details",type:"link",title:a.videoDetailsTitle,priority:120},initialize:function(e){e.DetailsView=wp.media.view.VideoDetails,e.cancelText=a.videoDetailsCancel,e.addText=a.videoAddSourceTitle,t.prototype.initialize.call(this,e)},bindHandlers:function(){t.prototype.bindHandlers.apply(this,arguments),this.on("toolbar:render:replace-video",this.renderReplaceToolbar,this),this.on("toolbar:render:add-video-source",this.renderAddSourceToolbar,this),this.on("toolbar:render:select-poster-image",this.renderSelectPosterImageToolbar,this),this.on("toolbar:render:add-track",this.renderAddTrackToolbar,this)},createStates:function(){this.states.add([new wp.media.controller.VideoDetails({media:this.media}),new i({type:"video",id:"replace-video",title:a.videoReplaceTitle,toolbar:"replace-video",media:this.media,menu:"video-details"}),new i({type:"video",id:"add-video-source",title:a.videoAddSourceTitle,toolbar:"add-video-source",media:this.media,menu:!1}),new i({type:"image",id:"select-poster-image",title:a.videoSelectPosterImageTitle,toolbar:"select-poster-image",media:this.media,menu:"video-details"}),new i({type:"text",id:"add-track",title:a.videoAddTrackTitle,toolbar:"add-track",media:this.media,menu:"video-details"})])},renderSelectPosterImageToolbar:function(){this.setPrimaryButton(a.videoSelectPosterImageTitle,function(t,e){var i=[],a=e.get("selection").single();t.media.set("poster",a.get("url")),e.trigger("set-poster-image",t.media.toJSON()),_.each(wp.media.view.settings.embedExts,function(e){t.media.get(e)&amp;&amp;i.push(t.media.get(e))}),wp.ajax.send("set-attachment-thumbnail",{data:{urls:i,thumbnail_id:a.get("id")}})})},renderAddTrackToolbar:function(){this.setPrimaryButton(a.videoAddTrackTitle,function(e,t){var i=t.get("selection").single(),a=e.media.get("content");-1===a.indexOf(i.get("url"))&amp;&amp;(a+=[''<track srclang="en" label="English" kind="subtitles" />''].join(""),e.media.set("content",a)),t.trigger("add-track",e.media.toJSON())})}});e.exports=s},8867:function(e){var t=wp.media.view.Settings.AttachmentDisplay,i=jQuery,a=t.extend({initialize:function(){_.bindAll(this,"success"),this.players=[],this.listenTo(this.controller.states,"close",wp.media.mixin.unsetPlayers),this.on("ready",this.setPlayer),this.on("media:setting:remove",wp.media.mixin.unsetPlayers,this),this.on("media:setting:remove",this.render),this.on("media:setting:remove",this.setPlayer),t.prototype.initialize.apply(this,arguments)},events:function(){return _.extend({"click .remove-setting":"removeSetting","change .content-track":"setTracks","click .remove-track":"setTracks","click .add-media-source":"addSource"},t.prototype.events)},prepare:function(){return _.defaults({model:this.model.toJSON()},this.options)},removeSetting:function(e){var e=i(e.currentTarget).parent(),t=e.find("input").data("setting");t&amp;&amp;(this.model.unset(t),this.trigger("media:setting:remove",this)),e.remove()},setTracks:function(){var t="";_.each(this.$(".content-track"),function(e){t+=i(e).val()}),this.model.set("content",t),this.trigger("media:setting:remove",this)},addSource:function(e){this.controller.lastMime=i(e.currentTarget).data("mime"),this.controller.setState("add-"+this.controller.defaults.id+"-source")},loadPlayer:function(){this.players.push(new MediaElementPlayer(this.media,this.settings)),this.scriptXhr=!1},setPlayer:function(){var e;this.players.length||!this.media||this.scriptXhr||((e=this.model.get("src"))&amp;&amp;-1&lt;e.indexOf(&quot;vimeo&quot;)&amp;&amp;!(&quot;Vimeo&quot;in window)?this.scriptXhr=i.getScript(&quot;https://player.vimeo.com/api/player.js&quot;,_.bind(this.loadPlayer,this)):this.loadPlayer())},setMedia:function(){return this},success:function(e){var t=e.attributes.autoplay&amp;&amp;&quot;false&quot;!==e.attributes.autoplay;&quot;flash&quot;===e.pluginType&amp;&amp;t&amp;&amp;e.addEventListener(&quot;canplay&quot;,function(){e.play()},!1),this.mejs=e},render:function(){return t.prototype.render.apply(this,arguments),setTimeout(_.bind(function(){this.scrollToTop()},this),10),this.settings=_.defaults({success:this.success},wp.media.mixin.mejsSettings),this.setMedia()},scrollToTop:function(){this.$(&quot;.embed-media-settings&quot;).scrollTop(0)}},{instances:0,prepareSrc:function(e){var t=a.instances++;return _.each(i(e).find(&quot;source&quot;),function(e){e.src=[e.src,-1&lt;e.src.indexOf(&quot;?&quot;)?&quot;&amp;&quot;:&quot;?&quot;,&quot;_=&quot;,t].join(&quot;&quot;)}),e}});e.exports=a},7697:function(e){var t=wp.media.view.MediaDetails,i=t.extend({className:&quot;video-details&quot;,template:wp.template(&quot;video-details&quot;),setMedia:function(){var e=this.$(&quot;.wp-video-shortcode&quot;);return e.find(&quot;source&quot;).length?(e.is(&quot;:hidden&quot;)&amp;&amp;e.show(),e.hasClass(&quot;youtube-video&quot;)||e.hasClass(&quot;vimeo-video&quot;)?this.media=e.get(0):this.media=t.prepareSrc(e.get(0))):(e.hide(),this.media=!1),this}});e.exports=i}},a={};function s(e){var t=a[e];if(void 0!==t)return t.exports;t=a[e]={exports:{}};return i[e](t,t.exports,s),t.exports}var e,t,o;e=wp.media,t=window._wpmejsSettings||{},o=window._wpMediaViewsL10n||{},wp.media.mixin={mejsSettings:t,removeAllPlayers:function(){if(window.mejs&amp;&amp;window.mejs.players)for(var e in window.mejs.players)window.mejs.players[e].pause(),this.removePlayer(window.mejs.players[e])},removePlayer:function(e){var t,i;if(e.options){for(t in e.options.features)if(e[&quot;clean&quot;+(i=e.options.features[t])])try{e[&quot;clean&quot;+i](e)}catch(e){}e.isDynamic||e.node.remove(),&quot;html5&quot;!==e.media.rendererName&amp;&amp;e.media.remove(),delete window.mejs.players[e.id],e.container.remove(),e.globalUnbind(&quot;resize&quot;,e.globalResizeCallback),e.globalUnbind(&quot;keydown&quot;,e.globalKeydownCallback),e.globalUnbind(&quot;click&quot;,e.globalClickCallback),delete e.media.player}},unsetPlayers:function(){this.players&amp;&amp;this.players.length&amp;&amp;(_.each(this.players,function(e){e.pause(),wp.media.mixin.removePlayer(e)}),this.players=[])}},wp.media.playlist=new wp.media.collection({tag:&quot;playlist&quot;,editTitle:o.editPlaylistTitle,defaults:{id:wp.media.view.settings.post.id,style:&quot;light&quot;,tracklist:!0,tracknumbers:!0,images:!0,artists:!0,type:&quot;audio&quot;}}),wp.media.audio={coerce:wp.media.coerce,defaults:{id:wp.media.view.settings.post.id,src:&quot;&quot;,loop:!1,autoplay:!1,preload:&quot;none&quot;,width:400},edit:function(e){e=wp.shortcode.next(&quot;audio&quot;,e).shortcode;return wp.media({frame:&quot;audio&quot;,state:&quot;audio-details&quot;,metadata:_.defaults(e.attrs.named,this.defaults)})},shortcode:function(i){var e;return _.each(this.defaults,function(e,t){i[t]=this.coerce(i,t),e===i[t]&amp;&amp;delete i[t]},this),e=i.content,delete i.content,new wp.shortcode({tag:&quot;audio&quot;,attrs:i,content:e})}},wp.media.video={coerce:wp.media.coerce,defaults:{id:wp.media.view.settings.post.id,src:&quot;&quot;,poster:&quot;&quot;,loop:!1,autoplay:!1,preload:&quot;metadata&quot;,content:&quot;&quot;,width:640,height:360},edit:function(e){var e=wp.shortcode.next(&quot;video&quot;,e).shortcode,t=e.attrs.named;return t.content=e.content,wp.media({frame:&quot;video&quot;,state:&quot;video-details&quot;,metadata:_.defaults(t,this.defaults)})},shortcode:function(i){var e;return _.each(this.defaults,function(e,t){i[t]=this.coerce(i,t),e===i[t]&amp;&amp;delete i[t]},this),e=i.content,delete i.content,new wp.shortcode({tag:&quot;video&quot;,attrs:i,content:e})}},e.model.PostMedia=s(6615),e.controller.AudioDetails=s(6045),e.controller.VideoDetails=s(580),e.view.MediaFrame.MediaDetails=s(6445),e.view.MediaFrame.AudioDetails=s(5262),e.view.MediaFrame.VideoDetails=s(2075),e.view.MediaDetails=s(8867),e.view.AudioDetails=s(1764),e.view.VideoDetails=s(7697)}();', '10d613435e44c78abd0a95cf9db61387-scripts', '', 'publish', 'closed', 'closed', '', '10d613435e44c78abd0a95cf9db61387-scripts', '', '', '2022-07-08 19:52:46', '2022-07-08 17:52:46', '', 0, 'https://www.avo.co.bw/?post_type=wphb_minify_group&amp;p=5627', 0, 'wphb_minify_group', '', 0);
INSERT INTO `wpxx_posts` VALUES
(5628, 1, '2022-07-08 19:55:15', '2022-07-08 17:55:15', '<!-- wp:pagelayer/pl_post_props {"post_title":"Home","post_status":"publish","post_date":"2021-07-21 13:52:04","post_author":"1","featured_image":0,"post_name":"home","post_excerpt":"","post_password":"","comment_status":"","ping_status":"","post_sticky":"","post_parent":0,"menu_order":0,"post_category":"","post_tags":"","pagelayer-id":"tth8421"} /-->\n<!-- wp:pagelayer/pl_row {"stretch":"auto","col_gap":10,"width_content":"auto","row_height":"default","overlay_hover_delay":400,"row_shape_top_color":"#227bc3","row_shape_top_width":100,"row_shape_top_height":100,"row_shape_bottom_color":"#e44993","row_shape_bottom_width":100,"row_shape_bottom_height":100,"pagelayer-id":"efv1177"} -->\n<!-- wp:pagelayer/pl_col {"widget_space":15,"overlay_hover_delay":400,"pagelayer-id":"ilz4913"} -->\n<!-- wp:pagelayer/pl_social_grp {"align":"center","group_layout":"pagelayer-btn-grp-horizontal","icon_spacing":17,"icon_size":40,"color_scheme":"","icon_color":"#ec4306ff","icon_color_hover":"#ffffff","social_hover_delay":400,"pagelayer-id":"tvs1858"} -->\n<!-- wp:pagelayer/pl_social {"icon":"fab fa-facebook-square","social_url":{"target":true,"link":"https://www.facebook.com/africasveryownmagazine/"},"pagelayer-id":"cls2346"} /-->\n<!-- wp:pagelayer/pl_social {"icon":"fab fa-instagram","social_url":{"target":true,"link":"https://www.instagram.com/africasveryown_avo/"},"pagelayer-id":"mpi3375"} /-->\n<!-- wp:pagelayer/pl_social {"icon":"fab fa-twitter","social_url":{"target":true,"link":"https://mobile.twitter.com/africas_vo"},"pagelayer-id":"4za7646"} /-->\n<!-- wp:pagelayer/pl_social {"icon":"fab fa-linkedin-in","social_url":{"target":true,"link":"https://www.linkedin.com/showcase/africa-s-very-own-magazine"},"pagelayer-id":"ijt3594"} /-->\n<!-- /wp:pagelayer/pl_social_grp -->\n<!-- /wp:pagelayer/pl_col -->\n<!-- /wp:pagelayer/pl_row -->\n<!-- wp:pagelayer/pl_row {"stretch":"auto","col_gap":10,"width_content":"auto","row_height":"default","overlay_hover_delay":400,"row_shape_top_color":"#227bc3","row_shape_top_width":100,"row_shape_top_height":100,"row_shape_bottom_color":"#e44993","row_shape_bottom_width":100,"row_shape_bottom_height":100,"pagelayer-id":"ndz9476"} -->\n<!-- wp:pagelayer/pl_col {"widget_space":15,"overlay_hover_delay":400,"pagelayer-id":"nda3782"} -->\n<!-- /wp:pagelayer/pl_col -->\n<!-- /wp:pagelayer/pl_row -->\n<!-- wp:pagelayer/pl_row {"stretch":"auto","col_gap":10,"width_content":"auto","row_height":"default","overlay_hover_delay":400,"row_shape_top_color":"#227bc3","row_shape_top_width":100,"row_shape_top_height":100,"row_shape_bottom_color":"#e44993","row_shape_bottom_width":100,"row_shape_bottom_height":100,"pagelayer-id":"uah2965"} -->\n<!-- wp:pagelayer/pl_col {"widget_space":15,"overlay_hover_delay":400,"pagelayer-id":"xpo1185"} -->\n<!-- wp:pagelayer/pl_wp_buzz_magazine_widget_feature_grid_style {"widget_data":"{\\u0022title\\u0022:\\u0022Latest\\u0022,\\u0022icon\\u0022:\\u0022fa-tag\\u0022,\\u0022category\\u0022:\\u00220\\u0022,\\u0022display_per_posts\\u0022:\\u00223\\u0022,\\u0022display_category\\u0022:\\u00221\\u0022,\\u0022display_content\\u0022:\\u00221\\u0022,\\u0022display_date\\u0022:\\u00221\\u0022,\\u0022view_all_title\\u0022:\\u0022View All\\u0022}","ele_bg_hover":"","ele_motion_effects":"mouse","pagelayer-id":"fzb535"} -->{"title":"Latest","icon":"fa-tag","category":"0","display_per_posts":"3","display_category":"1","display_content":"1","display_date":"1","view_all_title":"View All"}<!-- /wp:pagelayer/pl_wp_buzz_magazine_widget_feature_grid_style -->\n<!-- /wp:pagelayer/pl_col -->\n<!-- /wp:pagelayer/pl_row -->\n<!-- wp:pagelayer/pl_row {"stretch":"auto","col_gap":"10","width_content":"auto","row_height":"default","overlay_hover_delay":"400","row_shape_top_color":"#227bc3","row_shape_top_width":"100","row_shape_top_height":"100","row_shape_bottom_color":"#e44993","row_shape_bottom_width":"100","row_shape_bottom_height":"100","pagelayer-id":"b0w9277"} -->\n<!-- wp:pagelayer/pl_col {"widget_space":"15","overlay_hover_delay":"400","pagelayer-id":"v3z8366"} -->\n<!-- wp:pagelayer/pl_wp_buzz_magazine_widget_feature_grid_style {"widget_data":"\\n{\\u0022title\\u0022:\\u0022Fashion\\u0022,\\u0022icon\\u0022:\\u0022fa-tag\\u0022,\\u0022category\\u0022:\\u002219\\u0022,\\u0022display_per_posts\\u0022:\\u00223\\u0022,\\u0022display_content\\u0022:\\u00221\\u0022,\\u0022display_date\\u0022:\\u00221\\u0022,\\u0022view_all_title\\u0022:\\u0022View All\\u0022}\\n","pagelayer-id":"gse2535"} -->\n{"title":"Fashion","icon":"fa-tag","category":"19","display_per_posts":"3","display_content":"1","display_date":"1","view_all_title":"View All"}\n<!-- /wp:pagelayer/pl_wp_buzz_magazine_widget_feature_grid_style -->\n<!-- /wp:pagelayer/pl_col -->\n<!-- /wp:pagelayer/pl_row -->\n<!-- wp:pagelayer/pl_row {"stretch":"auto","col_gap":10,"width_content":"auto","row_height":"default","overlay_hover_delay":400,"row_shape_top_color":"#227bc3","row_shape_top_width":100,"row_shape_top_height":100,"row_shape_bottom_color":"#e44993","row_shape_bottom_width":100,"row_shape_bottom_height":100,"pagelayer-id":"iwk4933"} -->\n<!-- wp:pagelayer/pl_col {"widget_space":15,"overlay_hover_delay":400,"pagelayer-id":"1ts9333"} -->\n<!-- wp:pagelayer/pl_wp_buzz_magazine_widget_feature_grid_style {"widget_data":"\\n{\\u0022title\\u0022:\\u0022Photography\\u0022,\\u0022icon\\u0022:\\u0022fa-tag\\u0022,\\u0022category\\u0022:\\u002225\\u0022,\\u0022display_per_posts\\u0022:\\u00223\\u0022,\\u0022display_content\\u0022:\\u00221\\u0022,\\u0022display_date\\u0022:\\u00221\\u0022,\\u0022view_all_title\\u0022:\\u0022View All\\u0022}\\n","pagelayer-id":"n6q5678"} -->\n{"title":"Photography","icon":"fa-tag","category":"25","display_per_posts":"3","display_content":"1","display_date":"1","view_all_title":"View All"}\n<!-- /wp:pagelayer/pl_wp_buzz_magazine_widget_feature_grid_style -->\n<!-- /wp:pagelayer/pl_col -->\n<!-- /wp:pagelayer/pl_row -->\n<!-- wp:pagelayer/pl_row {"stretch":"auto","col_gap":10,"width_content":"auto","row_height":"default","overlay_hover_delay":400,"row_shape_top_color":"#227bc3","row_shape_top_width":100,"row_shape_top_height":100,"row_shape_bottom_color":"#e44993","row_shape_bottom_width":100,"row_shape_bottom_height":100,"pagelayer-id":"0058541"} -->\n<!-- wp:pagelayer/pl_col {"widget_space":15,"overlay_hover_delay":400,"pagelayer-id":"i204960"} -->\n<!-- wp:pagelayer/pl_wp_buzz_magazine_widget_feature_grid_style {"widget_data":"\\n{\\u0022title\\u0022:\\u0022MUSIC\\u0022,\\u0022icon\\u0022:\\u0022fa-tag\\u0022,\\u0022category\\u0022:\\u002223\\u0022,\\u0022display_per_posts\\u0022:\\u00223\\u0022,\\u0022display_content\\u0022:\\u00221\\u0022,\\u0022display_date\\u0022:\\u00221\\u0022,\\u0022view_all_title\\u0022:\\u0022View All\\u0022}\\n","pagelayer-id":"z4a6910"} -->\n{"title":"MUSIC","icon":"fa-tag","category":"23","display_per_posts":"3","display_content":"1","display_date":"1","view_all_title":"View All"}\n<!-- /wp:pagelayer/pl_wp_buzz_magazine_widget_feature_grid_style -->\n<!-- /wp:pagelayer/pl_col -->\n<!-- /wp:pagelayer/pl_row -->\n<!-- wp:pagelayer/pl_row {"stretch":"auto","col_gap":10,"width_content":"auto","row_height":"default","overlay_hover_delay":400,"row_shape_top_color":"#227bc3","row_shape_top_width":100,"row_shape_top_height":100,"row_shape_bottom_color":"#e44993","row_shape_bottom_width":100,"row_shape_bottom_height":100,"pagelayer-id":"xkv317"} -->\n<!-- wp:pagelayer/pl_col {"widget_space":15,"overlay_hover_delay":400,"pagelayer-id":"y6n724"} -->\n<!-- wp:pagelayer/pl_wp_buzz_magazine_widget_feature_grid_style {"widget_data":"\\n{\\u0022title\\u0022:\\u0022Poems\\u0022,\\u0022icon\\u0022:\\u0022fa-tag\\u0022,\\u0022category\\u0022:\\u00229\\u0022,\\u0022display_per_posts\\u0022:\\u00223\\u0022,\\u0022display_content\\u0022:\\u00221\\u0022,\\u0022display_date\\u0022:\\u00221\\u0022,\\u0022view_all_title\\u0022:\\u0022View All\\u0022}\\n","pagelayer-id":"awl1258"} -->\n{"title":"Poems","icon":"fa-tag","category":"9","display_per_posts":"3","display_content":"1","display_date":"1","view_all_title":"View All"}\n<!-- /wp:pagelayer/pl_wp_buzz_magazine_widget_feature_grid_style -->\n<!-- /wp:pagelayer/pl_col -->\n<!-- /wp:pagelayer/pl_row -->\n<!-- wp:pagelayer/pl_row {"stretch":"auto","col_gap":10,"width_content":"auto","row_height":"default","overlay_hover_delay":400,"row_shape_top_color":"#227bc3","row_shape_top_width":100,"row_shape_top_height":100,"row_shape_bottom_color":"#e44993","row_shape_bottom_width":100,"row_shape_bottom_height":100,"pagelayer-id":"odj8278"} -->\n<!-- wp:pagelayer/pl_col {"widget_space":15,"overlay_hover_delay":400,"pagelayer-id":"ay79351"} -->\n<!-- wp:pagelayer/pl_wp_buzz_magazine_widget_feature_grid_style {"widget_data":"\\n{\\u0022title\\u0022:\\u0022Writers\\u0022,\\u0022icon\\u0022:\\u0022fa-tag\\u0022,\\u0022category\\u0022:\\u002215\\u0022,\\u0022display_per_posts\\u0022:\\u00223\\u0022,\\u0022display_content\\u0022:\\u00221\\u0022,\\u0022display_date\\u0022:\\u00221\\u0022,\\u0022view_all_title\\u0022:\\u0022View All\\u0022}\\n","pagelayer-id":"wzu906"} -->\n{"title":"Writers","icon":"fa-tag","category":"15","display_per_posts":"3","display_content":"1","display_date":"1","view_all_title":"View All"}\n<!-- /wp:pagelayer/pl_wp_buzz_magazine_widget_feature_grid_style -->\n<!-- /wp:pagelayer/pl_col -->\n<!-- /wp:pagelayer/pl_row -->\n<!-- wp:pagelayer/pl_row {"stretch":"auto","col_gap":10,"width_content":"auto","row_height":"default","overlay_hover_delay":400,"row_shape_top_color":"#227bc3","row_shape_top_width":100,"row_shape_top_height":100,"row_shape_bottom_color":"#e44993","row_shape_bottom_width":100,"row_shape_bottom_height":100,"pagelayer-id":"zmp5167"} -->\n<!-- wp:pagelayer/pl_col {"widget_space":15,"overlay_hover_delay":400,"pagelayer-id":"nvn9742"} -->\n<!-- /wp:pagelayer/pl_col -->\n<!-- /wp:pagelayer/pl_row -->\n', 'Home', '', 'inherit', 'closed', 'closed', '', '1125-revision-v1', '', '', '2022-07-08 19:55:15', '2022-07-08 17:55:15', '', 1125, 'https://www.avo.co.bw/?p=5628', 0, 'revision', '', 0),
(5629, 1, '2022-07-08 19:56:56', '2022-07-08 17:56:56', '/**handles:googlesitekit-runtime,googlesitekit-i18n**/\n!function(c){function e(e){for(var t,r,n=e[0],o=e[1],u=e[2],i=0,a=[];i&lt;n.length;i++)r=n[i],Object.prototype.hasOwnProperty.call(f,r)&amp;&amp;f[r]&amp;&amp;a.push(f[r][0]),f[r]=0;for(t in o)Object.prototype.hasOwnProperty.call(o,t)&amp;&amp;(c[t]=o[t]);for(d&amp;&amp;d(e);a.length;)a.shift()();return p.push.apply(p,u||[]),l()}function l(){for(var e,t=0;t&lt;p.length;t++){for(var r=p[t],n=!0,o=1;o&lt;r.length;o++){var u=r[o];0!==f[u]&amp;&amp;(n=!1)}n&amp;&amp;(p.splice(t--,1),e=s(s.s=r[0]))}return e}var r={},f={1:0},p=[];function s(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return c[e].call(t.exports,t,t.exports,s),t.l=!0,t.exports}s.e=function(n){var e=[],r=f[n],t,o,u,i,o,a,t;return 0!==r&amp;&amp;(r?e.push(r[2]):(t=new Promise(function(e,t){r=f[n]=[e,t]}),e.push(r[2]=t),(u=document.createElement(&quot;script&quot;)).charset=&quot;utf-8&quot;,u.timeout=120,s.nc&amp;&amp;u.setAttribute(&quot;nonce&quot;,s.nc),u.src=s.p+&quot;&quot;+({}[t=n]||t)+&quot;-&quot;+{31:&quot;8b529e2b3c70e1e82438&quot;,32:&quot;f3bcd68126e59703519f&quot;}[t]+&quot;.js&quot;,i=new Error,o=function(e){u.onerror=u.onload=null,clearTimeout(a);var t=f[n],r,e;0!==t&amp;&amp;(t&amp;&amp;(r=e&amp;&amp;(&quot;load&quot;===e.type?&quot;missing&quot;:e.type),e=e&amp;&amp;e.target&amp;&amp;e.target.src,i.message=&quot;Loading chunk &quot;+n+&quot; failed.\\n(&quot;+r+&quot;: &quot;+e+&quot;)&quot;,i.name=&quot;ChunkLoadError&quot;,i.type=r,i.request=e,t[1](i)),f[n]=void 0)},a=setTimeout(function(){o({type:&quot;timeout&quot;,target:u})},12e4),u.onerror=u.onload=o,document.head.appendChild(u))),Promise.all(e)},s.m=c,s.c=r,s.d=function(e,t,r){s.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},s.r=function(e){&quot;undefined&quot;!=typeof Symbol&amp;&amp;Symbol.toStringTag&amp;&amp;Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;}),Object.defineProperty(e,&quot;__esModule&quot;,{value:!0})},s.t=function(t,e){if(1&amp;e&amp;&amp;(t=s(t)),8&amp;e)return t;if(4&amp;e&amp;&amp;&quot;object&quot;==typeof t&amp;&amp;t&amp;&amp;t.__esModule)return t;var r=Object.create(null);if(s.r(r),Object.defineProperty(r,&quot;default&quot;,{enumerable:!0,value:t}),2&amp;e&amp;&amp;&quot;string&quot;!=typeof t)for(var n in t)s.d(r,n,function(e){return t[e]}.bind(null,n));return r},s.n=function(e){var t=e&amp;&amp;e.__esModule?function(){return e.default}:function(){return e};return s.d(t,&quot;a&quot;,t),t},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.p=&quot;&quot;,s.oe=function(e){throw console.error(e),e};var t,n=(t=window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push.bind(t);t.push=e;for(var t=t.slice(),o=0;o&lt;t.length;o++)e(t[o]);var d=n;l()}([]);\n!function(n){var r={};function i(e){if(r[e])return r[e].exports;var t=r[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.m=n,i.c=r,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){&quot;undefined&quot;!=typeof Symbol&amp;&amp;Symbol.toStringTag&amp;&amp;Object.defineProperty(e,Symbol.toStringTag,{value:&quot;Module&quot;}),Object.defineProperty(e,&quot;__esModule&quot;,{value:!0})},i.t=function(t,e){if(1&amp;e&amp;&amp;(t=i(t)),8&amp;e)return t;if(4&amp;e&amp;&amp;&quot;object&quot;==typeof t&amp;&amp;t&amp;&amp;t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,&quot;default&quot;,{enumerable:!0,value:t}),2&amp;e&amp;&amp;&quot;string&quot;!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(e){var t=e&amp;&amp;e.__esModule?function(){return e.default}:function(){return e};return i.d(t,&quot;a&quot;,t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p=&quot;&quot;,i(i.s=3)}([function(e,t,n){&quot;use strict&quot;;Object.defineProperty(t,&quot;__esModule&quot;,{value:!0});var r={sprintf:!0,setLocaleData:!0,__:!0,_x:!0,_n:!0,_nx:!0,isRTL:!0};Object.defineProperty(t,&quot;sprintf&quot;,{enumerable:!0,get:function(){return i.sprintf}}),Object.defineProperty(t,&quot;setLocaleData&quot;,{enumerable:!0,get:function(){return a.setLocaleData}}),Object.defineProperty(t,&quot;__&quot;,{enumerable:!0,get:function(){return a.__}}),Object.defineProperty(t,&quot;_x&quot;,{enumerable:!0,get:function(){return a._x}}),Object.defineProperty(t,&quot;_n&quot;,{enumerable:!0,get:function(){return a._n}}),Object.defineProperty(t,&quot;_nx&quot;,{enumerable:!0,get:function(){return a._nx}}),Object.defineProperty(t,&quot;isRTL&quot;,{enumerable:!0,get:function(){return a.isRTL}});var i=n(5),o=n(2);Object.keys(o).forEach(function(e){&quot;default&quot;!==e&amp;&amp;&quot;__esModule&quot;!==e&amp;&amp;(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))});var a=n(9)},function(e,t){e.exports=function(e){return e&amp;&amp;e.__esModule?e:{default:e}}},function(e,t,n){&quot;use strict&quot;;var r=n(1);Object.defineProperty(t,&quot;__esModule&quot;,{value:!0}),t.createI18n=void 0;var i=r(n(8)),s=r(n(10));function o(t,e){var n=Object.keys(t),r;return Object.getOwnPropertySymbols&amp;&amp;(r=Object.getOwnPropertySymbols(t),e&amp;&amp;(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)),n}function c(t){for(var e=1;e&lt;arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach(function(e){(0,i.default)(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}var f={&quot;&quot;:{plural_forms:function(e){return 1===e?0:1}}};t.createI18n=function(e,t){var o=new s.default({}),a=function(e){var t=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:&quot;default&quot;;o.data[t]=c({},f,{},o.data[t],{},e),o.data[t][&quot;&quot;]=c({},f[&quot;&quot;],{},o.data[t][&quot;&quot;])},u=function(){var e=0&lt;arguments.length&amp;&amp;void 0!==arguments[0]?arguments[0]:&quot;default&quot;,t=1&lt;arguments.length?arguments[1]:void 0,n=2&lt;arguments.length?arguments[2]:void 0,r=3&lt;arguments.length?arguments[3]:void 0,i=4&lt;arguments.length?arguments[4]:void 0;return o.data[e]||a(void 0,e),o.dcnpgettext(e,t,n,r,i)},n=function(e,t,n){return u(n,t,e)};return e&amp;&amp;a(e,t),{setLocaleData:a,__:function(e,t){return u(t,void 0,e)},_x:n,_n:function(e,t,n,r){return u(r,void 0,e,t,n)},_nx:function(e,t,n,r,i){return u(i,r,e,t,n)},isRTL:function(){return&quot;rtl&quot;===n(&quot;ltr&quot;,&quot;text direction&quot;)}}}},function(e,t,n){&quot;use strict&quot;;n.r(t),function(e){var t=n(0);e.googlesitekit=e.googlesitekit||{},e.googlesitekit.i18n=e.googlesitekit.i18n||{sprintf:t.sprintf,setLocaleData:t.setLocaleData,__:t.__,_x:t._x,_n:t._n,_nx:t._nx,isRTL:t.isRTL}}.call(this,n(4))},function(e,t){var n,n=function(){return this}();try{n=n||new Function(&quot;return this&quot;)()}catch(e){&quot;object&quot;==typeof window&amp;&amp;(n=window)}e.exports=n},function(e,t,n){&quot;use strict&quot;;var r=n(1);Object.defineProperty(t,&quot;__esModule&quot;,{value:!0}),t.sprintf=function(e){try{for(var t=arguments.length,n=new Array(1&lt;t?t-1:0),r=1;r&lt;t;r++)n[r-1]=arguments[r];return i.default.sprintf.apply(i.default,[e].concat(n))}catch(t){return o(&quot;sprintf error: \\n\\n&quot;+t.toString()),e}};var t=r(n(6)),i=r(n(7)),o=(0,t.default)(console.error)},function(e,t,n){e.exports=function(i,o){var a,u,s=0;function e(){var e,t,n=a,r=arguments.length;e:for(;n;){if(n.args.length===arguments.length){for(t=0;t&lt;r;t++)if(n.args[t]!==arguments[t]){n=n.next;continue e}return n!==a&amp;&amp;(n===u&amp;&amp;(u=n.prev),n.prev.next=n.next,n.next&amp;&amp;(n.next.prev=n.prev),n.next=a,n.prev=null,a.prev=n,a=n),n.val}n=n.next}for(e=new Array(r),t=0;t&lt;r;t++)e[t]=arguments[t];return n={args:e,val:i.apply(null,e)},a?(a.prev=n).next=a:u=n,s===o.maxSize?(u=u.prev).next=null:s++,(a=n).val}return o=o||{},e.clear=function(){u=a=null,s=0},e}},function(e,r,t){!function(){&quot;use strict&quot;;var d={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\\x25]+/,modulo:/^\\x25{2}/,placeholder:/^\\x25(?:([1-9]\\d*)\\$|\\(([^)]+)\\))?(\\+)?(0|&#039;[^$])?(-)?(\\d+)?(?:\\.(\\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\\d]*)/i,key_access:/^\\.([a-z_][a-z_\\d]*)/i,index_access:/^\\[(\\d+)\\]/,sign:/^[+-]/};function b(e){return t(n(e),arguments)}function e(e,t){return b.apply(null,[e].concat(t||[]))}function t(e,t){for(var n,r,i,o,a,u,a,s,c,f=1,l=e.length,p=&quot;&quot;,r=0;r&lt;l;r++)if(&quot;string&quot;==typeof e[r])p+=e[r];else if(&quot;object&quot;==typeof e[r]){if((o=e[r]).keys)for(n=t[f],i=0;i&lt;o.keys.length;i++){if(null==n)throw new Error(b(&#039;[sprintf] Cannot access property &quot;%s&quot; of undefined value &quot;%s&quot;&#039;,o.keys[i],o.keys[i-1]));n=n[o.keys[i]]}else n=o.param_no?t[o.param_no]:t[f++];if(d.not_type.test(o.type)&amp;&amp;d.not_primitive.test(o.type)&amp;&amp;n instanceof Function&amp;&amp;(n=n()),d.numeric_arg.test(o.type)&amp;&amp;&quot;number&quot;!=typeof n&amp;&amp;isNaN(n))throw new TypeError(b(&quot;[sprintf] expecting number but found %T&quot;,n));switch(d.number.test(o.type)&amp;&amp;(s=0&gt;&gt;0).toString(8);break;case"s":n=String(n),n=o.precision?n.substring(0,o.precision):n;break;case"t":n=String(!!n),n=o.precision?n.substring(0,o.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=o.precision?n.substring(0,o.precision):n;break;case"u":n=parseInt(n,10)&gt;&gt;&gt;0;break;case"v":n=n.valueOf(),n=o.precision?n.substring(0,o.precision):n;break;case"x":n=(parseInt(n,10)&gt;&gt;&gt;0).toString(16);break;case"X":n=(parseInt(n,10)&gt;&gt;&gt;0).toString(16).toUpperCase()}d.json.test(o.type)?p+=n:(!d.number.test(o.type)||s&amp;&amp;!o.sign?c="":(c=s?"+":"-",n=n.toString().replace(d.sign,"")),u=o.pad_char?"0"===o.pad_char?"0":o.pad_char.charAt(1):" ",a=o.width-(c+n).length,a=o.width&amp;&amp;0&lt;a?u.repeat(a):&quot;&quot;,p+=o.align?c+n+a:&quot;0&quot;===u?c+a+n:a+c+n)}return p}var s=Object.create(null);function n(e){if(s[e])return s[e];for(var t,n=e,r=[],i=0;n;){if(null!==(t=d.text.exec(n)))r.push(t[0]);else if(null!==(t=d.modulo.exec(n)))r.push(&quot;%&quot;);else{if(null===(t=d.placeholder.exec(n)))throw new SyntaxError(&quot;[sprintf] unexpected placeholder&quot;);if(t[2]){i|=1;var o=[],a=t[2],u=[];if(null===(u=d.key.exec(a)))throw new SyntaxError(&quot;[sprintf] failed to parse named argument key&quot;);for(o.push(u[1]);&quot;&quot;!==(a=a.substring(u[0].length));)if(null!==(u=d.key_access.exec(a)))o.push(u[1]);else{if(null===(u=d.index_access.exec(a)))throw new SyntaxError(&quot;[sprintf] failed to parse named argument key&quot;);o.push(u[1])}t[2]=o}else i|=2;if(3===i)throw new Error(&quot;[sprintf] mixing positional and named placeholders is not (yet) supported&quot;);r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return s[e]=r}r.sprintf=b,r.vsprintf=e,&quot;undefined&quot;!=typeof window&amp;&amp;(window.sprintf=b,window.vsprintf=e,&quot;function&quot;==typeof define&amp;&amp;define.amd&amp;&amp;define(function(){return{sprintf:b,vsprintf:e}}))}()},function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){&quot;use strict&quot;;Object.defineProperty(t,&quot;__esModule&quot;,{value:!0});var r=(t.isRTL=t._nx=t._n=t._x=t.__=t.setLocaleData=void 0,n(2).createI18n)(),n=r.setLocaleData.bind(r);t.setLocaleData=n;var n=r.__.bind(r);t.__=n;var n=r._x.bind(r);t._x=n;var n=r._n.bind(r);t._n=n;var n=r._nx.bind(r);t._nx=n;var r=r.isRTL.bind(r);t.isRTL=r},function(e,t,n){&quot;use strict&quot;;var u,s,c,f;n.r(t),n.d(t,&quot;default&quot;,function(){return i});var u={&quot;(&quot;:9,&quot;!&quot;:8,&quot;*&quot;:7,&quot;/&quot;:7,&quot;%&quot;:7,&quot;+&quot;:6,&quot;-&quot;:6,&quot;&lt;&quot;:5,&quot;":5,"&gt;=":5,"==":4,"!=":4,"&amp;&amp;":3,"||":2,"?":1,"?:":1},s=["(","?"],c={")":["("],":":["?","?:"]},f=/=|==|!=|&amp;&amp;|\\|\\||\\?:|\\(|!|\\*|\\/|%|\\+|-||\\?|\\)|:/,l={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"&lt;&quot;:function(e,t){return e&lt;t},&quot;&lt;=&quot;:function(e,t){return e":function(e,t){return t=":function(e,t){return t&lt;=e},&quot;==&quot;:function(e,t){return e===t},&quot;!=&quot;:function(e,t){return e!==t},&quot;&amp;&amp;&quot;:function(e,t){return e&amp;&amp;t},&quot;||&quot;:function(e,t){return e||t},&quot;?:&quot;:function(e,t,n){if(e)throw t;return n}};function a(e){var t=function(e){for(var t,n,r,i,o=[],a=[];t=e.match(f);){for(n=t[0],(r=e.substr(0,t.index).trim())&amp;&amp;o.push(r);i=a.pop();){if(c[n]){if(c[n][0]===i){n=c[n][1]||n;break}}else if(0&lt;=s.indexOf(i)||u[i]&lt;u[n]){a.push(i);break}o.push(i)}c[n]||a.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&amp;&amp;o.push(e),o.concat(a.reverse())}(e);return function(e){return function(e,t){for(var n,r,i,o,a,u,s=[],n=0;n&lt;e.length;n++){if(a=e[n],o=l[a]){for(r=o.length,i=Array(r);r--;)i[r]=s.pop();try{u=o.apply(null,i)}catch(e){return e}}else u=t.hasOwnProperty(a)?t[a]:+a;s.push(u)}return s[0]}(t,e)}}var r={contextDelimiter:&quot;&quot;,onMissingKey:null};function i(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},r)this.options[n]=(void 0!==t&amp;&amp;n in t?t:r)[n]}i.prototype.getPluralForm=function(e,t){var n,n,r,i,o=this.pluralForms[e];return o||(&quot;function&quot;!=typeof(r=(n=this.data[e][&quot;&quot;])[&quot;Plural-Forms&quot;]||n[&quot;plural-forms&quot;]||n.plural_forms)&amp;&amp;(n=function(e){for(var t,n,r,t=e.split(&quot;;&quot;),n=0;n&lt;t.length;n++)if(0===(r=t[n].trim()).indexOf(&quot;plural=&quot;))return r.substr(7)}(n[&quot;Plural-Forms&quot;]||n[&quot;plural-forms&quot;]||n.plural_forms),i=a(n),r=function(e){return+i({n:e})}),o=this.pluralForms[e]=r),o(t)},i.prototype.dcnpgettext=function(e,t,n,r,i){var o,i,i,o=void 0===i?0:this.getPluralForm(e,i),i=n;return t&amp;&amp;(i=t+this.options.contextDelimiter+n),(i=this.data[e][i])&amp;&amp;i[o]?i[o]:(this.options.onMissingKey&amp;&amp;this.options.onMissingKey(n,e),0===o?n:r)}}]);', '3da9dd13e95535148b704b5b04872ff4-scripts', '', 'publish', 'closed', 'closed', '', '3da9dd13e95535148b704b5b04872ff4-scripts', '', '', '2022-07-08 19:56:56', '2022-07-08 17:56:56', '', 0, 'https://www.avo.co.bw/?post_type=wphb_minify_group&amp;p=5629', 0, 'wphb_minify_group', '', 0),
(5630, 1, '2022-07-08 19:56:56', '2022-07-08 17:56:56', '/**handles:googlesitekit-polyfills**/\n(window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[26],{1055:function(t,n,o){"use strict";o.r(n),function(n){var t=o(5),e=o.n(t),t=o(14),i=o.n(t);function s(){return(s=i()(e.a.mark(function t(){return e.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0===n.IntersectionObserver)return t.next=3,o.e(32).then(o.t.bind(null,1084,7));t.next=3;break;case 3:case"end":return t.stop()}},t)}))).apply(this,arguments)}o.p="".concat(n._googlesitekitBaseData.assetsURL,"js/"),function(){s.apply(this,arguments)}()}.call(this,o(21))}},[[1055,1,0]]]);', '52e026b4942f407308621becf1075532-scripts', '', 'publish', 'closed', 'closed', '', '52e026b4942f407308621becf1075532-scripts', '', '', '2022-07-08 19:56:56', '2022-07-08 17:56:56', '', 0, 'https://www.avo.co.bw/?post_type=wphb_minify_group&amp;p=5630', 0, 'wphb_minify_group', '', 0),
(5631, 1, '2022-07-08 19:56:57', '2022-07-08 17:56:57', '/**handles:googlesitekit-base**/\n(window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[5],{1065:function(t,r,e){"use strict";e.r(r);var n=e(78),e=document.querySelector("#wp-admin-bar-logout a"),e;(e=e||document.querySelector(".sidebar__me-signout button"))&amp;&amp;e.addEventListener("click",function(){Object(n.a)()})},78:function(t,o,a){"use strict";!function(t){a.d(o,"a",function(){return e}),a.d(o,"b",function(){return n});var r=a(13),u=a.n(r);function l(t,r){var e="undefined"!=typeof Symbol&amp;&amp;t[Symbol.iterator]||t["@@iterator"];if(!e){if(Array.isArray(t)||(e=function(t,r){if(t){if("string"==typeof t)return c(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(e="Object"===e&amp;&amp;t.constructor?t.constructor.name:e)||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?c(t,r):void 0}}(t))||r&amp;&amp;t&amp;&amp;"number"==typeof t.length){e&amp;&amp;(t=e);var n=0,r=function(){};return{s:r,n:function(){return n&gt;=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,i=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return a=t.done,t},e:function(t){i=!0,o=t},f:function(){try{a||null==e.return||e.return()}finally{if(i)throw o}}}}function c(t,r){(null==r||r&gt;t.length)&amp;&amp;(r=t.length);for(var e=0,n=new Array(r);e&lt;r;e++)n[e]=t[e];return n}var e=function(){t.localStorage&amp;&amp;t.localStorage.clear(),t.sessionStorage&amp;&amp;t.sessionStorage.clear()},s=function(t){for(var r=location.search.substr(1).split(&quot;&amp;&quot;),e={},n=0;n&lt;r.length;n++)e[r[n].split(&quot;=&quot;)[0]]=decodeURIComponent(r[n].split(&quot;=&quot;)[1]);return t?e.hasOwnProperty(t)?decodeURIComponent(e[t].replace(/\\+/g,&quot; &quot;)):&quot;&quot;:e},n=function(t){var r=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:location,r=new URL(r.href);if(t)return r.searchParams&amp;&amp;r.searchParams.get?r.searchParams.get(t):s(t);var e,n={},o=l(r.searchParams.entries());try{for(o.s();!(e=o.n()).done;){var a=u()(e.value,2),i=a[0],c=a[1];n[i]=c}}catch(t){o.e(t)}finally{o.f()}return n}}.call(this,a(21))}},[[1065,1,0]]]);', '8ab71ec6ddf4f83b1a719bcde8357d32-scripts', '', 'publish', 'closed', 'closed', '', '8ab71ec6ddf4f83b1a719bcde8357d32-scripts', '', '', '2022-07-08 19:56:57', '2022-07-08 17:56:57', '', 0, 'https://www.avo.co.bw/?post_type=wphb_minify_group&amp;p=5631', 0, 'wphb_minify_group', '', 0),
(5632, 1, '2022-07-08 19:58:12', '2022-07-08 17:58:12', '/**handles:googlesitekit-api,googlesitekit-data,googlesitekit-datastore-forms,googlesitekit-datastore-location**/\n(window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[4],{1:function(t,e){t.exports=googlesitekit.i18n},10:function(t,e,n){"use strict";n.d(e,"y",function(){return i.b}),n.d(e,"v",function(){return o.a}),n.d(e,"z",function(){return o.b}),n.d(e,"x",function(){return s}),n.d(e,"f",function(){return l.a}),n.d(e,"m",function(){return l.b}),n.d(e,"t",function(){return f.c}),n.d(e,"u",function(){return f.d}),n.d(e,"q",function(){return f.b}),n.d(e,"l",function(){return f.a}),n.d(e,"r",function(){return g}),n.d(e,"g",function(){return b}),n.d(e,"b",function(){return h.b}),n.d(e,"a",function(){return h.a}),n.d(e,"c",function(){return h.e}),n.d(e,"i",function(){return h.f}),n.d(e,"w",function(){return h.k}),n.d(e,"j",function(){return m.b}),n.d(e,"p",function(){return m.c}),n.d(e,"e",function(){return m.a}),n.d(e,"o",function(){return y.b}),n.d(e,"k",function(){return y.a}),n.d(e,"s",function(){return y.d}),n.d(e,"n",function(){return w}),n.d(e,"d",function(){return O}),n.d(e,"A",function(){return k}),n.d(e,"h",function(){return j});var e=n(120),r=n.n(e),e=n(115),a=n.n(e),i=n(32),o=n(63),e=n(28),c=n.n(e),e=n(76),u=n.n(e),s=function(t){return u()(JSON.stringify(function n(r){var a={};return Object.keys(r).sort().forEach(function(t){var e=r[t];e&amp;&amp;"object"===c()(e)&amp;&amp;!Array.isArray(e)&amp;&amp;(e=n(e)),a[t]=e}),a}(t)))},l=n(78),f=(n(82),n(72));function d(t){return t.replace(/\\[([^\\]]+)\\]\\((https?:\\/\\/[^\\/]+\\.\\w+\\/?.*?)\\)/gi,''<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>'')}function v(t){return"<p>".concat(t.replace(/\\n{2,}/g,"</p><p>"),"</p>")}function p(t){return t.replace(/\\n/gi,"<br>")}function g(t){for(var e=t,n=0,r=[d,v,p];n&lt;r.length;n++)e=(0,r[n])(e);return e}var b=function(t){return t=parseFloat(t),isNaN(t)||0===t?[0,0,0,0]:[Math.floor(t/60/60),Math.floor(t/60%60),Math.floor(t%60),Math.floor(1e3*t)-1e3*Math.floor(t)]},h=n(56),m=n(83),y=n(50),w=function(t){switch(t){case&quot;minute&quot;:return 60;case&quot;hour&quot;:return 3600;case&quot;day&quot;:return 86400;case&quot;week&quot;:return 604800;case&quot;month&quot;:return 2592e3;case&quot;year&quot;:return 31536e3}},O=function(t,e){if(&quot;0&quot;===t||0===t||isNaN(t))return null;var t=(e-t)/t;return isNaN(t)||!r()(t)?null:t},k=function(t){try{return JSON.parse(t)&amp;&amp;!!t}catch(t){return!1}},j=function(t){if(!t)return&quot;&quot;;var t=t.replace(/&amp;#(\\d+);/g,function(t,e){return String.fromCharCode(e)}).replace(/(\\\\)/g,&quot;&quot;);return a()(t)}},12:function(t,e,n){&quot;use strict&quot;;n.d(e,&quot;a&quot;,function(){return r}),n.d(e,&quot;b&quot;,function(){return a}),n.d(e,&quot;c&quot;,function(){return i}),n.d(e,&quot;h&quot;,function(){return o}),n.d(e,&quot;i&quot;,function(){return c}),n.d(e,&quot;f&quot;,function(){return u}),n.d(e,&quot;g&quot;,function(){return s}),n.d(e,&quot;e&quot;,function(){return l}),n.d(e,&quot;d&quot;,function(){return f});var r=&quot;core/user&quot;,a=&quot;connected_url_mismatch&quot;,i=&quot;googlesitekit_authenticate&quot;,o=&quot;googlesitekit_setup&quot;,c=&quot;googlesitekit_view_dashboard&quot;,u=&quot;googlesitekit_manage_options&quot;,s=&quot;googlesitekit_read_shared_module_data&quot;,l=&quot;googlesitekit_manage_module_sharing_options&quot;,f=&quot;googlesitekit_delegate_module_sharing_management&quot;},249:function(t,o,c){&quot;use strict&quot;;!function(t){var e=c(53),n=c.n(e),r=c(250),a=t._googlesitekitAPIFetchData||{},i=a.nonce,e=a.nonceEndpoint,t=a.preloadedData,a=a.rootURL;n.a.nonceEndpoint=e,n.a.nonceMiddleware=n.a.createNonceMiddleware(i),n.a.rootURLMiddleware=n.a.createRootURLMiddleware(a),n.a.preloadingMiddleware=Object(r.a)(t),n.a.use(n.a.nonceMiddleware),n.a.use(n.a.mediaUploadMiddleware),n.a.use(n.a.rootURLMiddleware),n.a.use(n.a.preloadingMiddleware),o.default=n.a}.call(this,c(21))},250:function(t,e,n){&quot;use strict&quot;;var u=n(223);e.a=function(n){var o=Object.keys(n).reduce(function(t,e){return t[Object(u.getStablePath)(e)]=n[e],t},{}),c=!1;return function(t,e){if(c)return e(t);setTimeout(function(){c=!0},1e3);var n=t.parse,r=void 0===n||n,a=t.path;if(&quot;string&quot;==typeof t.path){var n,n=(null===(n=t.method)||void 0===n?void 0:n.toUpperCase())||&quot;GET&quot;,a=Object(u.getStablePath)(a);if(r&amp;&amp;&quot;GET&quot;===n&amp;&amp;o[a]){var i=Promise.resolve(o[a].body);return delete o[a],i}if(&quot;OPTIONS&quot;===n&amp;&amp;o[n]&amp;&amp;o[n][a]){var i=Promise.resolve(o[n][a]);return delete o[n][a],i}}return e(t)}}},29:function(t,e,n){&quot;use strict&quot;;n.d(e,&quot;a&quot;,function(){return r}),n.d(e,&quot;b&quot;,function(){return a});var r=&quot;_googlesitekitDataLayer&quot;,a=&quot;data-googlesitekit-gtag&quot;},32:function(t,p,g){&quot;use strict&quot;;!function(t){g.d(p,&quot;a&quot;,function(){return v}),g.d(p,&quot;b&quot;,function(){return d});var e=g(84),n=t._googlesitekitTrackingData||{},r=n.activeModules,a,i=n.isSiteKitScreen,o=n.trackingEnabled,c=n.trackingID,u=n.referenceSiteURL,s=n.userIDHash,t=n.isAuthenticated,t={activeModules:void 0===r?[]:r,trackingEnabled:o,trackingID:c,referenceSiteURL:u,userIDHash:s,isSiteKitScreen:i,userRoles:n.userRoles,isAuthenticated:t,pluginVersion:&quot;1.78.0&quot;},e=Object(e.a)(t),l=e.enableTracking,f=e.disableTracking,t=(e.isTrackingEnabled,e.initializeSnippet),d=e.trackEvent;function v(t){(t?l:f)()}i&amp;&amp;o&amp;&amp;t()}.call(this,g(21))},33:function(t,e,n){&quot;use strict&quot;;n.d(e,&quot;a&quot;,function(){return r});var r=function(t){return t instanceof Date&amp;&amp;!isNaN(t)}},34:function(t,i,o){&quot;use strict&quot;;!function(t){var e,n;o.d(i,&quot;a&quot;,function(){return r}),o.d(i,&quot;b&quot;,function(){return a});var r=new Set((null===t||void 0===t||null===(n=t._googlesitekitBaseData)||void 0===n?void 0:n.enabledFeatures)||[]),a=function(t){var e=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:r;return e instanceof Set&amp;&amp;e.has(t)}}.call(this,o(21))},40:function(t,e,n){&quot;use strict&quot;;n.d(e,&quot;a&quot;,function(){return a});var r=n(33),a=function(){var t=0=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,o=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return i=t.done,t},e:function(t){o=!0,a=t},f:function(){try{i||null==n.return||n.return()}finally{if(o)throw a}}}}function c(t,e){(null==e||e&gt;t.length)&amp;&amp;(e=t.length);for(var n=0,r=new Array(e);n&lt;e;n++)r[n]=t[n];return r}var i,f=&quot;googlesitekit_&quot;.concat(&quot;1.78.0&quot;,&quot;_&quot;),n,o=[].concat([&quot;sessionStorage&quot;,&quot;localStorage&quot;]),d=(r=e()(s.a.mark(function t(e){var n,r;return s.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=u[e]){t.next=3;break}return t.abrupt(&quot;return&quot;,!1);case 3:return t.prev=3,r=&quot;__storage_test__&quot;,n.setItem(r,r),n.removeItem(r),t.abrupt(&quot;return&quot;,!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt(&quot;return&quot;,t.t0 instanceof DOMException&amp;&amp;(22===t.t0.code||1014===t.t0.code||&quot;QuotaExceededError&quot;===t.t0.name||&quot;NS_ERROR_DOM_QUOTA_REACHED&quot;===t.t0.name)&amp;&amp;0!==n.length);case 13:case&quot;end&quot;:return t.stop()}},t,null,[[3,10]])})),function(t){return r.apply(this,arguments)}),r;function v(){return p.apply(this,arguments)}function p(){return(p=e()(s.a.mark(function t(){var e,n,r;return s.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0!==i)return t.abrupt(&quot;return&quot;,i);t.next=2;break;case 2:e=a(o),t.prev=3,e.s();case 5:if((n=e.n()).done){t.next=15;break}if(r=n.value,i)return t.abrupt(&quot;continue&quot;,13);t.next=9;break;case 9:return t.next=11,d(r);case 11:if(!t.sent){t.next=13;break}i=u[r];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),e.e(t.t0);case 20:return t.prev=20,e.f(),t.finish(20);case 23:return void 0===i&amp;&amp;(i=null),t.abrupt(&quot;return&quot;,i);case 25:case&quot;end&quot;:return t.stop()}},t,null,[[3,17,20,23]])}))).apply(this,arguments)}var g=(k=e()(s.a.mark(function t(e){var n,r,a,i,o,n,a;return s.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,v();case 2:if(!(n=t.sent)){t.next=10;break}if(!(r=n.getItem(&quot;&quot;.concat(f).concat(e)))){t.next=10;break}if(a=JSON.parse(r),i=a.timestamp,o=a.ttl,n=a.value,a=a.isError,i&amp;&amp;(!o||Math.round(Date.now()/1e3)-i&lt;o))return t.abrupt(&quot;return&quot;,{cacheHit:!0,value:n,isError:a});t.next=10;break;case 10:return t.abrupt(&quot;return&quot;,{cacheHit:!1,value:void 0});case 11:case&quot;end&quot;:return t.stop()}},t)})),function(t){return k.apply(this,arguments)}),b=(O=e()(s.a.mark(function t(e,n){var r,a,i,o,a,o,r,o,c=arguments;return s.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=(r=2&lt;c.length&amp;&amp;void 0!==c[2]?c[2]:{}).ttl,i=void 0===a?l.b:a,o=r.timestamp,a=void 0===o?Math.round(Date.now()/1e3):o,o=r.isError,r=void 0!==o&amp;&amp;o,t.next=3,v();case 3:if(o=t.sent)return t.prev=5,o.setItem(&quot;&quot;.concat(f).concat(e),JSON.stringify({timestamp:a,ttl:i,value:n,isError:r})),t.abrupt(&quot;return&quot;,!0);t.next=14;break;case 10:return t.prev=10,t.t0=t.catch(5),u.console.warn(&quot;Encountered an unexpected storage error:&quot;,t.t0),t.abrupt(&quot;return&quot;,!1);case 14:return t.abrupt(&quot;return&quot;,!1);case 15:case&quot;end&quot;:return t.stop()}},t,null,[[5,10]])})),function(t,e){return O.apply(this,arguments)}),h=(w=e()(s.a.mark(function t(e){var n;return s.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,v();case 2:if(n=t.sent)return t.prev=4,n.removeItem(&quot;&quot;.concat(f).concat(e)),t.abrupt(&quot;return&quot;,!0);t.next=13;break;case 9:return t.prev=9,t.t0=t.catch(4),u.console.warn(&quot;Encountered an unexpected storage error:&quot;,t.t0),t.abrupt(&quot;return&quot;,!1);case 13:return t.abrupt(&quot;return&quot;,!1);case 14:case&quot;end&quot;:return t.stop()}},t,null,[[4,9]])})),function(t){return w.apply(this,arguments)}),m=(y=e()(s.a.mark(function t(){var e,n,r,a;return s.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,v();case 2:if(!(e=t.sent)){t.next=14;break}for(t.prev=4,n=[],r=0;r&lt;e.length;r++)0===(a=e.key(r)).indexOf(f)&amp;&amp;n.push(a.substring(f.length));return t.abrupt(&quot;return&quot;,n);case 10:return t.prev=10,t.t0=t.catch(4),u.console.warn(&quot;Encountered an unexpected storage error:&quot;,t.t0),t.abrupt(&quot;return&quot;,[]);case 14:return t.abrupt(&quot;return&quot;,[]);case 15:case&quot;end&quot;:return t.stop()}},t,null,[[4,10]])})),function(){return y.apply(this,arguments)}),y,w,O,k}.call(this,_(21))},48:function(t,e,n){&quot;use strict&quot;;n.d(e,&quot;a&quot;,function(){return a});var r=n(29);function a(t){return function(){t[r.a]=t[r.a]||[],t[r.a].push(arguments)}}},50:function(t,e,n){&quot;use strict&quot;;n.d(e,&quot;b&quot;,function(){return a}),n.d(e,&quot;a&quot;,function(){return i}),n.d(e,&quot;d&quot;,function(){return o}),n.d(e,&quot;c&quot;,function(){return c}),n.d(e,&quot;e&quot;,function(){return u});var r=n(112);function a(t){try{return new URL(t).pathname}catch(t){}return null}function i(t,e){try{return new URL(e,t).href}catch(t){}return(&quot;string&quot;==typeof t?t:&quot;&quot;)+(&quot;string&quot;==typeof e?e:&quot;&quot;)}function o(t){return&quot;string&quot;!=typeof t?t:t.replace(/^https?:\\/\\/(www\\.)?/i,&quot;&quot;).replace(/\\/$/,&quot;&quot;)}function c(t){return/^#\\w[A-Za-z0-9-_]*$/.test(t)}function u(t,e){if(!Object(r.a)(t))return t;if(t.length&lt;=e)return t;var n=new URL(t),n=t.replace(n.origin,&quot;&quot;);if(n.length&lt;e)return n;var e=n.length-Math.floor(e)+1;return&quot;…&quot;+n.substr(e)}},56:function(t,e,n){&quot;use strict&quot;;n.d(e,&quot;d&quot;,function(){return r}),n.d(e,&quot;c&quot;,function(){return a}),n.d(e,&quot;b&quot;,function(){return i}),n.d(e,&quot;a&quot;,function(){return o}),n.d(e,&quot;e&quot;,function(){return c}),n.d(e,&quot;g&quot;,function(){return l}),n.d(e,&quot;h&quot;,function(){return p}),n.d(e,&quot;i&quot;,function(){return g}),n.d(e,&quot;j&quot;,function(){return d.a}),n.d(e,&quot;f&quot;,function(){return h}),n.d(e,&quot;k&quot;,function(){return v});var r=&quot;Invalid dateString parameter, it must be a string.&quot;,a=&#039;Invalid date range, it must be a string with the format &quot;last-x-days&quot;.&#039;,i=3600,o=86400,c=604800,e=n(7),u=n.n(e),s=n(33),l=function(t){var e=new Date(t);u()(Object(s.a)(e),&quot;Date param must construct to a valid date instance or be a valid date instance itself.&quot;);var n=&quot;&quot;.concat(e.getMonth()+1),t=&quot;&quot;.concat(e.getDate());return[e.getFullYear(),n.length&lt;2?&quot;0&quot;.concat(n):n,t.length&lt;2?&quot;0&quot;.concat(t):t].join(&quot;-&quot;)},e=n(13),f=n.n(e),d=n(40),v=function(t){u()(Object(d.a)(t),r);var e=t.split(&quot;-&quot;),n=f()(e,3),t=n[0],e=n[1],n=n[2];return new Date(t,e-1,n)},p=function(){var t=0&lt;arguments.length&amp;&amp;void 0!==arguments[0]?arguments[0]:&quot;&quot;,e=1&lt;arguments.length?arguments[1]:void 0,t=v(t);return t.setDate(t.getDate()-e),l(t)},g=function(){var t,e=(0&lt;arguments.length&amp;&amp;void 0!==arguments[0]?arguments[0]:&quot;&quot;).split(&quot;-&quot;);return 3===e.length&amp;&amp;&quot;last&quot;===e[0]&amp;&amp;!Number.isNaN(e[1])&amp;&amp;!Number.isNaN(parseFloat(e[1]))&amp;&amp;&quot;days&quot;===e[2]},b=n(1);function h(){var t=function(t){return Object(b.sprintf)(Object(b._n)(&quot;Last %s day&quot;,&quot;Last %s days&quot;,t,&quot;google-site-kit&quot;),t)};return{&quot;last-7-days&quot;:{slug:&quot;last-7-days&quot;,label:t(7),days:7},&quot;last-14-days&quot;:{slug:&quot;last-14-days&quot;,label:t(14),days:14},&quot;last-28-days&quot;:{slug:&quot;last-28-days&quot;,label:t(28),days:28},&quot;last-90-days&quot;:{slug:&quot;last-90-days&quot;,label:t(90),days:90}}}},598:function(t,v,p){&quot;use strict&quot;;!function(h){var t=p(5),m=p.n(t),e=p(14),n=p.n(e),t=p(7),y=p.n(t),w=p(249),O=p(267),k=p(43),j=p(10),a=p(66),_=p(709),i=p(12),r=!0,x=function(t,e,n){var r=3&lt;arguments.length&amp;&amp;void 0!==arguments[3]?arguments[3]:{},n=[t,e,n].filter(function(t){return!!t&amp;&amp;t.length});return 3===n.length&amp;&amp;r&amp;&amp;r.constructor===Object&amp;&amp;Object.keys(r).length&amp;&amp;n.push(Object(j.x)(r)),n.join(&quot;::&quot;)},S=function(t){var e,n,r,n=null===(e=h.googlesitekit)||void 0===e||null===(n=e.data)||void 0===n||null===(r=n.dispatch)||void 0===r?void 0:r.call(n,i.a);n&amp;&amp;(Object(a.d)(t)?n.setPermissionScopeError(t):Object(a.b)(t)&amp;&amp;n.setAuthError(t))},l=(d=n()(m.a.mark(function t(e,n,r){var a,i,o,c,u,s,l,f,o,u,f,a,o,d,v,p,g,b=arguments;return m.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(i=(a=3&lt;b.length&amp;&amp;void 0!==b[3]?b[3]:{}).bodyParams,o=a.cacheTTL,c=void 0===o?j.b:o,u=a.method,s=void 0===u?&quot;GET&quot;:u,l=a.queryParams,f=a.useCache,o=void 0===f?void 0:f,u=a.signal,y()(e,&quot;`type` argument for requests is required.&quot;),y()(n,&quot;`identifier` argument for requests is required.&quot;),y()(r,&quot;`datapoint` argument for requests is required.&quot;),f=&quot;GET&quot;===s&amp;&amp;(void 0!==o?o:D()),a=x(e,n,r,l),f)return t.next=9,Object(k.b)(a);t.next=18;break;case 9:if(o=t.sent,d=o.cacheHit,v=o.value,o.isError)throw S(v),v;t.next=16;break;case 16:if(d)return t.abrupt(&quot;return&quot;,v);t.next=18;break;case 18:return t.prev=18,t.next=21,Object(w.default)({data:i,method:s,signal:u,path:Object(O.a)(&quot;/google-site-kit/v1/&quot;.concat(e,&quot;/&quot;).concat(n,&quot;/data/&quot;).concat(r),l)});case 21:if(p=t.sent,f)return t.next=25,Object(k.d)(a,p,{ttl:c});t.next=25;break;case 25:return t.abrupt(&quot;return&quot;,p);case 28:if(t.prev=28,t.t0=t.catch(18),null!=u&amp;&amp;u.aborted)throw t.t0;t.next=32;break;case 32:if(null!==t.t0&amp;&amp;void 0!==t.t0&amp;&amp;null!==(g=t.t0.data)&amp;&amp;void 0!==g&amp;&amp;g.cacheTTL)return t.next=35,Object(k.d)(a,t.t0,{ttl:t.t0.data.cacheTTL,isError:!0});t.next=35;break;case 35:throw Object(_.a)({method:s,datapoint:r,type:e,identifier:n,error:t.t0}),S(t.t0),h.console.error(&quot;Google Site Kit API Error&quot;,&quot;method:&quot;.concat(s),&quot;datapoint:&quot;.concat(r),&quot;type:&quot;.concat(e),&quot;identifier:&quot;.concat(n),&#039;error:&quot;&#039;.concat(t.t0.message,&#039;&quot;&#039;)),t.t0;case 39:case&quot;end&quot;:return t.stop()}},t,null,[[18,28]])})),function(t,e,n){return d.apply(this,arguments)}),e=(s=n()(m.a.mark(function t(e,n,r,a){var i,o,c,o,o,i,u=arguments;return m.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=(i=4&lt;u.length&amp;&amp;void 0!==u[4]?u[4]:{}).cacheTTL,c=void 0===o?j.b:o,o=i.useCache,o=void 0===o?void 0:o,i=i.signal,t.abrupt(&quot;return&quot;,l(e,n,r,{cacheTTL:c,queryParams:a,useCache:o,signal:i}));case 2:case&quot;end&quot;:return t.stop()}},t)})),function(t,e,n,r){return s.apply(this,arguments)}),t=(u=n()(m.a.mark(function t(e,n,r,a){var i,o,c,o,o,i,u,s=arguments;return m.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=(i=4&lt;s.length&amp;&amp;void 0!==s[4]?s[4]:{}).method,c=void 0===o?&quot;POST&quot;:o,o=i.queryParams,o=void 0===o?{}:o,i=i.signal,t.next=3,l(e,n,r,{bodyParams:{data:a},method:c,queryParams:o,useCache:!1,signal:i});case 3:return u=t.sent,t.next=6,f(e,n,r);case 6:return t.abrupt(&quot;return&quot;,u);case 7:case&quot;end&quot;:return t.stop()}},t)})),function(t,e,n,r){return u.apply(this,arguments)}),D=function(){return r},f=(c=n()(m.a.mark(function t(e,n,r){var a;return m.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return a=x(e,n,r),t.next=3,Object(k.c)();case 3:t.sent.forEach(function(t){0===t.indexOf(a)&amp;&amp;Object(k.a)(t)});case 5:case&quot;end&quot;:return t.stop()}},t)})),function(t,e,n){return c.apply(this,arguments)}),o,c,u,s,d;v.a={invalidateCache:f,get:e,set:t,setUsingCache:function(t){return r=!!t},usingCache:D}}.call(this,p(21))},60:function(t,r,o){&quot;use strict&quot;;!function(a){var t=o(0),e=o.n(t),t=o(8),i=o.n(t);function n(t){var e=t.direction,n=t.invertColor,r=t.width,t=t.height;return a.createElement(&quot;svg&quot;,{className:i()(&quot;googlesitekit-change-arrow&quot;,&quot;googlesitekit-change-arrow--&quot;.concat(e),{&quot;googlesitekit-change-arrow--inverted-color&quot;:n}),width:r,height:t,viewBox:&quot;0 0 10 10&quot;,fill:&quot;none&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;},a.createElement(&quot;path&quot;,{d:&quot;M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z&quot;,fill:&quot;currentColor&quot;}))}n.propTypes={direction:e.a.string,invertColor:e.a.bool,width:e.a.number,height:e.a.number},n.defaultProps={direction:&quot;up&quot;,invertColor:!1,width:9,height:9},r.a=n}.call(this,o(3))},63:function(t,e,n){&quot;use strict&quot;;n.d(e,&quot;a&quot;,function(){return i}),n.d(e,&quot;b&quot;,function(){return o});var e=n(28),r=n.n(e),a=n(73),i=function(t){var e;return{__html:a.a.sanitize(t,1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:{})}};function o(t){var e,t=&quot;object&quot;===r()(t)?t.toString():t;return null==t||null===(e=t.replace)||void 0===e?void 0:e.call(t,/\\/+$/,&quot;&quot;)}},66:function(t,e,n){&quot;use strict&quot;;n.d(e,&quot;a&quot;,function(){return r}),n.d(e,&quot;d&quot;,function(){return o}),n.d(e,&quot;c&quot;,function(){return c}),n.d(e,&quot;b&quot;,function(){return u}),n(54);var r=&quot;missing_required_scopes&quot;,a=&quot;insufficientPermissions&quot;,i=&quot;forbidden&quot;;function o(t){return(null==t?void 0:t.code)===r}function c(t){var e;return[a,i].includes(null==t||null===(e=t.data)||void 0===e?void 0:e.reason)}function u(t){var e;return!(null==t||null===(e=t.data)||void 0===e||!e.reconnectURL)}},709:function(t,e,n){&quot;use strict&quot;;n.d(e,&quot;a&quot;,function(){return a});var e=n(5),s=n.n(e),e=n(14),r=n.n(e),l=n(10),f=[&quot;fetch_error&quot;];function a(t){return i.apply(this,arguments)}function i(){return(i=r()(s.a.mark(function t(e){var n,r,a,i,o,c,u,r;return s.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(a=e.method,i=e.type,o=e.identifier,c=e.datapoint,!(u=e.error)||f.includes(null==u?void 0:u.code))return t.abrupt(&quot;return&quot;);t.next=3;break;case 3:return r=&quot;code: &quot;.concat(u.code),null!==(n=u.data)&amp;&amp;void 0!==n&amp;&amp;n.reason&amp;&amp;(r+=&quot;, reason: &quot;.concat(u.data.reason)),t.next=7,Object(l.y)(&quot;api_error&quot;,&quot;&quot;.concat(a,&quot;:&quot;).concat(i,&quot;/&quot;).concat(o,&quot;/data/&quot;).concat(c),&quot;&quot;.concat(u.message,&quot; (&quot;).concat(r,&quot;)&quot;),(null===(r=u.data)||void 0===r?void 0:r.status)||u.code);case 7:case&quot;end&quot;:return t.stop()}},t)}))).apply(this,arguments)}},72:function(t,y,w){&quot;use strict&quot;;!function(n){w.d(y,&quot;c&quot;,function(){return e}),w.d(y,&quot;d&quot;,function(){return b}),w.d(y,&quot;b&quot;,function(){return h}),w.d(y,&quot;a&quot;,function(){return m});var t=w(13),f=w.n(t),t=w(28),d=w.n(t),t=w(6),r=w.n(t),t=w(19),v=w.n(t),i=w(25),t=w(70),t=w.n(t),c=w(1);function a(e,t){var n=Object.keys(e),r;return Object.getOwnPropertySymbols&amp;&amp;(r=Object.getOwnPropertySymbols(e),t&amp;&amp;(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function u(e){for(var t=1;t&lt;arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var o=function(t){var e,n=s(t,1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:{}),r=n.formatUnit,n=n.formatDecimal;try{return r()}catch(t){return n()}},s=function(r){var e=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:{};r=parseInt(r,10),Number.isNaN(r)&amp;&amp;(r=0);var a=Math.floor(r/60/60),i=Math.floor(r/60%60),o=Math.floor(r%60);return{hours:a,minutes:i,seconds:o,formatUnit:function(){var t=e.unitDisplay,t=u(u({unitDisplay:void 0===t?&quot;short&quot;:t},v()(e,[&quot;unitDisplay&quot;])),{},{style:&quot;unit&quot;});return 0===r?b(o,u(u({},t),{},{unit:&quot;second&quot;})):Object(c.sprintf)(Object(c._x)(&quot;%3$s %2$s %1$s&quot;,&quot;duration of time: hh mm ss&quot;,&quot;google-site-kit&quot;),o?b(o,u(u({},t),{},{unit:&quot;second&quot;})):&quot;&quot;,i?b(i,u(u({},t),{},{unit:&quot;minute&quot;})):&quot;&quot;,a?b(a,u(u({},t),{},{unit:&quot;hour&quot;})):&quot;&quot;).trim()},formatDecimal:function(){var t=Object(c.sprintf)(Object(c.__)(&quot;%ds&quot;,&quot;google-site-kit&quot;),o);if(0===r)return t;var e=Object(c.sprintf)(Object(c.__)(&quot;%dm&quot;,&quot;google-site-kit&quot;),i),n=Object(c.sprintf)(Object(c.__)(&quot;%dh&quot;,&quot;google-site-kit&quot;),a);return Object(c.sprintf)(Object(c._x)(&quot;%3$s %2$s %1$s&quot;,&quot;duration of time: hh mm ss&quot;,&quot;google-site-kit&quot;),o?t:&quot;&quot;,i?e:&quot;&quot;,a?n:&quot;&quot;).trim()}}},l=function(t){return 1e6&lt;=t?Math.round(t/1e5)/10:1e4&lt;=t?Math.round(t/1e3):1e3&lt;=t?Math.round(t/100)/10:t},p=function(t){var e={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6&lt;=t?Object(c.sprintf)(Object(c.__)(&quot;%sM&quot;,&quot;google-site-kit&quot;),b(l(t),t%10==0?{}:e)):1e4&lt;=t?Object(c.sprintf)(Object(c.__)(&quot;%sK&quot;,&quot;google-site-kit&quot;),b(l(t))):1e3&lt;=t?Object(c.sprintf)(Object(c.__)(&quot;%sK&quot;,&quot;google-site-kit&quot;),b(l(t),t%10==0?{}:e)):b(t,{signDisplay:&quot;never&quot;,maximumFractionDigits:1})},e=function(t){var e=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:{};t=Object(i.isFinite)(t)?t:Number(t),Object(i.isFinite)(t)||(console.warn(&quot;Invalid number&quot;,t,d()(t)),t=0);var n={};if(&quot;%&quot;===e)n={style:&quot;percent&quot;,maximumFractionDigits:2};else{if(&quot;s&quot;===e)return o(t,{unitDisplay:&quot;narrow&quot;});e&amp;&amp;&quot;string&quot;==typeof e?n={style:&quot;currency&quot;,currency:e}:Object(i.isPlainObject)(e)&amp;&amp;(n=u({},e))}var r,a=n.style,a=void 0===a?&quot;metric&quot;:a;return&quot;metric&quot;===a?p(t):&quot;duration&quot;===a?o(t,e):b(t,n)},g=t()(console.warn),b=function(t){var e=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:{},n=e.locale,r=void 0===n?m():n,n=v()(e,[&quot;locale&quot;]);try{return new Intl.NumberFormat(r,n).format(t)}catch(e){g(&quot;Site Kit numberFormat error: Intl.NumberFormat( &quot;.concat(JSON.stringify(r),&quot;, &quot;).concat(JSON.stringify(n),&quot; ).format( &quot;).concat(d()(t),&quot; )&quot;),e.message)}for(var a={currencyDisplay:&quot;narrow&quot;,currencySign:&quot;accounting&quot;,style:&quot;unit&quot;},i=[&quot;signDisplay&quot;,&quot;compactDisplay&quot;],o={},c=0,u=Object.entries(n);c&lt;u.length;c++){var s=f()(u[c],2),l=s[0],s=s[1];a[l]&amp;&amp;s===a[l]||i.includes(l)||(o[l]=s)}try{return new Intl.NumberFormat(r,o).format(t)}catch(e){return new Intl.NumberFormat(r).format(t)}},h=function(t){var e=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:{},n=e.locale,r=void 0===n?m():n,n=e.style,n=void 0===n?&quot;long&quot;:n,e=e.type,e=void 0===e?&quot;conjunction&quot;:e,a;if(Intl.ListFormat)return new Intl.ListFormat(r,{style:n,type:e}).format(t);var e=Object(c.__)(&quot;, &quot;,&quot;google-site-kit&quot;);return t.join(e)},m=function(){var t=0=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:e}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,o=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return i=t.done,t},e:function(t){o=!0,a=t},f:function(){try{i||null==n.return||n.return()}finally{if(o)throw a}}}}function c(t,e){(null==e||e&gt;t.length)&amp;&amp;(e=t.length);for(var n=0,r=new Array(e);n&lt;e;n++)r[n]=t[n];return r}var n=function(){t.localStorage&amp;&amp;t.localStorage.clear(),t.sessionStorage&amp;&amp;t.sessionStorage.clear()},l=function(t){for(var e=location.search.substr(1).split(&quot;&amp;&quot;),n={},r=0;r&lt;e.length;r++)n[e[r].split(&quot;=&quot;)[0]]=decodeURIComponent(e[r].split(&quot;=&quot;)[1]);return t?n.hasOwnProperty(t)?decodeURIComponent(n[t].replace(/\\+/g,&quot; &quot;)):&quot;&quot;:n},r=function(t){var e=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:location,e=new URL(e.href);if(t)return e.searchParams&amp;&amp;e.searchParams.get?e.searchParams.get(t):l(t);var n,r={},a=s(e.searchParams.entries());try{for(a.s();!(n=a.n()).done;){var i=u()(n.value,2),o=i[0],c=i[1];r[o]=c}}catch(t){a.e(t)}finally{a.f()}return r}}.call(this,i(21))},82:function(t,e,n){&quot;use strict&quot;;!function(t){n(46),n(47)}.call(this,n(21))},83:function(t,o,c){&quot;use strict&quot;;!function(n){c.d(o,&quot;b&quot;,function(){return t}),c.d(o,&quot;c&quot;,function(){return e}),c.d(o,&quot;a&quot;,function(){return i});var r=c(167),a=c(60),t=function(t){var e=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return&quot;&quot;;var e=e.invertColor,e=void 0!==e&amp;&amp;e;return Object(r.a)(n.createElement(a.a,{direction:0&lt;t?&quot;up&quot;:&quot;down&quot;,invertColor:e}))},e=function(t){var e,n,r,a,i,o,c,u,s,l,f,d,v,p,g;if(void 0!==t)return 1===(null==t||null===(e=t[0])||void 0===e||null===(n=e.data)||void 0===n||null===(r=n.rows)||void 0===r?void 0:r.length)||(null==t||null===(a=t[0])||void 0===a||null===(i=a.data)||void 0===i||null===(o=i.rows)||void 0===o||null===(c=o[0])||void 0===c||null===(u=c.metrics)||void 0===u||null===(s=u[0])||void 0===s||null===(l=s.values)||void 0===l?void 0:l[0])===(null==t||null===(f=t[0])||void 0===f||null===(d=f.data)||void 0===d||null===(v=d.totals)||void 0===v||null===(p=v[0])||void 0===p||null===(g=p.values)||void 0===g?void 0:g[0])},i=function(t,e){return 0&lt;t&amp;&amp;0&lt;e?t/e-1:0&lt;t?1:0&lt;e?-1:0}}.call(this,c(3))},84:function(t,n,l){&quot;use strict&quot;;!function(a){l.d(n,&quot;a&quot;,function(){return e});var t=l(6),r=l.n(t),i=l(85),o=l(86);function c(e,t){var n=Object.keys(e),r;return Object.getOwnPropertySymbols&amp;&amp;(r=Object.getOwnPropertySymbols(e),t&amp;&amp;(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function u(e){for(var t=1;t&lt;arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var s={activeModules:[],isAuthenticated:!1,referenceSiteURL:&quot;&quot;,trackingEnabled:!1,trackingID:&quot;&quot;,userIDHash:&quot;&quot;,userRoles:[]};function e(t){var e=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:a,n=2&lt;arguments.length&amp;&amp;void 0!==arguments[2]?arguments[2]:a,r=u(u({},s),t);r.referenceSiteURL&amp;&amp;(r.referenceSiteURL=r.referenceSiteURL.toString().replace(/\\/+$/,&quot;&quot;));var t=Object(i.a)(r,e);return{enableTracking:function(){r.trackingEnabled=!0},disableTracking:function(){r.trackingEnabled=!1},initializeSnippet:t,isTrackingEnabled:function(){return!!r.trackingEnabled},trackEvent:Object(o.a)(r,e,t,n)}}}.call(this,l(21))},85:function(t,n,r){&quot;use strict&quot;;!function(i){r.d(n,&quot;a&quot;,function(){return t});var e=r(48),o=r(29);function t(n,t){var r,a=Object(e.a)(t);return function(){var t=i.document,e;(r=void 0===r?!!t.querySelector(&quot;script[&quot;.concat(o.b,&quot;]&quot;)):r)||((e=t.createElement(&quot;script&quot;)).setAttribute(o.b,&quot;&quot;),e.async=!0,e.src=&quot;https://www.googletagmanager.com/gtag/js?id=&quot;.concat(n.trackingID,&quot;&amp;l=&quot;).concat(o.a),t.head.appendChild(e),a(&quot;js&quot;,new Date),a(&quot;config&quot;,n.trackingID,{send_page_view:n.isSiteKitScreen}),r=!0)}}}.call(this,r(21))},86:function(t,e,n){&quot;use strict&quot;;n.d(e,&quot;a&quot;,function(){return c});var e=n(5),m=n.n(e),e=n(6),r=n.n(e),e=n(14),i=n.n(e),o=n(48),y=n(34);function a(e,t){var n=Object.keys(e),r;return Object.getOwnPropertySymbols&amp;&amp;(r=Object.getOwnPropertySymbols(e),t&amp;&amp;(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)),n}function w(e){for(var t=1;t&lt;arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach(function(t){r()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function c(p,t,g,b){var h=Object(o.a)(t),a;return a=i()(m.a.mark(function t(i,o,e,n){var r,a,c,u,s,l,f,d,l,v;return m.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(r=p.activeModules,a=p.referenceSiteURL,c=p.trackingEnabled,u=p.trackingID,s=p.userIDHash,l=p.userRoles,f=void 0===l?[]:l,d=p.isAuthenticated,l=p.pluginVersion,c){t.next=3;break}return t.abrupt(&quot;return&quot;);case 3:return g(),v={send_to:u,event_category:i,event_label:e,value:n,dimension1:a,dimension2:f.join(&quot;,&quot;),dimension3:s,dimension4:l||&quot;&quot;,dimension5:Array.from(y.a).join(&quot;,&quot;),dimension6:r.join(&quot;,&quot;),dimension7:d?1:0},t.abrupt(&quot;return&quot;,new Promise(function(t){var e,n,r=setTimeout(function(){b.console.warn(&#039;Tracking event &quot;&#039;.concat(o,&#039;&quot; (category &quot;&#039;).concat(i,&#039;&quot;) took too long to fire.&#039;)),t()},1e3),a=function(){clearTimeout(r),t()};h(&quot;event&quot;,o,w(w({},v),{},{event_callback:a})),null!==(e=b._gaUserPrefs)&amp;&amp;void 0!==e&amp;&amp;null!==(n=e.ioo)&amp;&amp;void 0!==n&amp;&amp;n.call(e)&amp;&amp;a()}));case 6:case&quot;end&quot;:return t.stop()}},t)})),function(t,e,n,r){return a.apply(this,arguments)}}},881:function(t,n,r){&quot;use strict&quot;;r.r(n),function(t){var e=r(598);void 0===t.googlesitekit&amp;&amp;(t.googlesitekit={}),void 0===t.googlesitekit.api&amp;&amp;(t.googlesitekit.api=e.a),n.default=e.a}.call(this,r(21))}},[[881,1,0]]]);\n(window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[9],{141:function(t,n,e){&quot;use strict&quot;;var e=e(2),e=Object(e.createContext)(!1);n.a=e},41:function(t,n,e){&quot;use strict&quot;;e.d(n,&quot;b&quot;,function(){return r}),e.d(n,&quot;a&quot;,function(){return o});var r=&quot;core/ui&quot;,o=&quot;activeContextID&quot;},599:function(t,o,c){&quot;use strict&quot;;!function(t){var t,n=c(98),e=c(875),r=c(68),t=Object(n.c)({},null===(t=t.wp)||void 0===t?void 0:t.data);t.combineStores=r.a,t.commonActions=r.b,t.commonControls=r.c,t.commonStore=r.d,t.useInViewSelect=e.a,t.createRegistryControl=n.d,t.createRegistrySelector=n.e,t.useSelect=n.h,t.useDispatch=n.f,t.useRegistry=n.g,t.withSelect=n.j,t.withDispatch=n.i,t.RegistryProvider=n.a,o.a=t}.call(this,c(21))},68:function(t,n,e){&quot;use strict&quot;;e.d(n,&quot;a&quot;,function(){return h}),e.d(n,&quot;b&quot;,function(){return O}),e.d(n,&quot;c&quot;,function(){return j}),e.d(n,&quot;d&quot;,function(){return m}),e.d(n,&quot;e&quot;,function(){return S}),e.d(n,&quot;g&quot;,function(){return R}),e.d(n,&quot;f&quot;,function(){return A});var e,n=e(5),r=e.n(n),n=e(24),c=e.n(n),n=e(6),o=e.n(n),n=e(7),i=e.n(n),n=e(205),u=e.n(n),n=e(70),n=e.n(n),f=e(98);function a(n,t){var e=Object.keys(n),r;return Object.getOwnPropertySymbols&amp;&amp;(r=Object.getOwnPropertySymbols(n),t&amp;&amp;(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),e.push.apply(e,r)),e}function s(n){for(var t=1;t&lt;arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?a(Object(e),!0).forEach(function(t){o()(n,t,e[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):a(Object(e)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))})}return n}var e=function(){for(var t=arguments.length,n=new Array(t),e=0;e&lt;t;e++)n[e]=arguments[e];var r=n.reduce(function(t,n){return s(s({},t),n)},{}),o=n.reduce(function(t,n){return[].concat(c()(t),c()(Object.keys(n)))},[]),o=w(o);return i()(0===o.length,&quot;collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: &quot;.concat(o.join(&quot;, &quot;),&quot;. Check your data stores for duplicates.&quot;)),r},l=e,p=e,d=function(){for(var t=arguments.length,n=new Array(t),e=0;e&lt;t;e++)n[e]=arguments[e];var r,o=[].concat(n);return&quot;function&quot;!=typeof o[0]&amp;&amp;(r=o.shift()),function(){var t=0&lt;arguments.length&amp;&amp;void 0!==arguments[0]?arguments[0]:r,e=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:{};return o.reduce(function(t,n){return n(t,e)},t)}},v=e,y=e,g=e,b=function(t){return t},h=function(){for(var t=arguments.length,n=new Array(t),e=0;e&lt;t;e++)n[e]=arguments[e];var r=g.apply(void 0,c()(n.map(function(t){return t.initialState||{}})));return{initialState:r,controls:p.apply(void 0,c()(n.map(function(t){return t.controls||{}}))),actions:l.apply(void 0,c()(n.map(function(t){return t.actions||{}}))),reducer:d.apply(void 0,[r].concat(c()(n.map(function(t){return t.reducer||b})))),resolvers:v.apply(void 0,c()(n.map(function(t){return t.resolvers||{}}))),selectors:y.apply(void 0,c()(n.map(function(t){return t.selectors||{}})))}},O={getRegistry:function(){return{payload:{},type:&quot;GET_REGISTRY&quot;}},await:r.a.mark(function t(n){return r.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt(&quot;return&quot;,{payload:{value:n},type:&quot;AWAIT&quot;});case 1:case&quot;end&quot;:return t.stop()}},t)})},j=(e={},o()(e,&quot;GET_REGISTRY&quot;,Object(f.d)(function(t){return function(){return t}})),o()(e,&quot;AWAIT&quot;,function(t){return t.payload.value}),e),w=function(t){for(var n=[],e={},r=0;r&lt;t.length;r++){var o=t[r];e[o]=1&lt;=e[o]?e[o]+1:1,1&lt;e[o]&amp;&amp;n.push(o)}return n},m={actions:O,controls:j,reducer:b},S=function(n){return function(t){return k(n(t))}},k=n()(function(t){return u()(t,function(n,e){return function(){var t=n.apply(void 0,arguments);return i()(void 0!==t,&quot;&quot;.concat(e,&quot;(...) is not resolved&quot;)),t}})});function R(u){var t,n=(1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:{}).negate,a=void 0!==n&amp;&amp;n,e,r;return{safeSelector:Object(f.e)(function(i){return function(t){var n=!a,e=!!a;try{for(var r=arguments.length,o=new Array(1&lt;r?r-1:0),c=1;c&lt;r;c++)o[c-1]=arguments[c];return u.apply(void 0,[i,t].concat(o)),n}catch(t){return e}}}),dangerousSelector:Object(f.e)(function(o){return function(t){for(var n=arguments.length,e=new Array(1&lt;n?n-1:0),r=1;r&lt;n;r++)e[r-1]=arguments[r];u.apply(void 0,[o,t].concat(e))}})}}function A(t,n){return i()(&quot;function&quot;==typeof t,&quot;a validator function is required.&quot;),i()(&quot;function&quot;==typeof n,&quot;an action creator function is required.&quot;),i()(&quot;Generator&quot;!==t[Symbol.toStringTag]&amp;&amp;&quot;GeneratorFunction&quot;!==t[Symbol.toStringTag],&quot;an action’s validator function must not be a generator.&quot;),function(){return t.apply(void 0,arguments),n.apply(void 0,arguments)}}},875:function(t,n,e){&quot;use strict&quot;;e.d(n,&quot;a&quot;,function(){return r});var n=e(24),o=e.n(n),i=e(98),u=e(2),n=e(13),a=e.n(n),f=e(394),s=e(141),l=e(41),c=function(){var t,n=(0&lt;arguments.length&amp;&amp;void 0!==arguments[0]?arguments[0]:{}).sticky,e=void 0!==n&amp;&amp;n,r=Object(u.useContext)(s.a),n=Object(u.useState)(!1),n=a()(n,2),o=n[0],c=n[1],n=Object(i.h)(function(t){return t(l.b).getInViewResetHook()});return Object(u.useEffect)(function(){r.value&amp;&amp;!o&amp;&amp;c(!0)},[o,r,c]),Object(f.a)(function(){c(!1)},[n]),!(!e||!o)||!!r.value},r=function(t){var n=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:[],e=c({sticky:!0}),r=Object(u.useRef)(),t=Object(u.useCallback)(t,[].concat(o()(n),[t])),t=Object(i.h)(e?t:function(){});return e&amp;&amp;(r.current=t),r.current}},911:function(t,e,r){&quot;use strict&quot;;r.r(e),function(t){var n=r(599);void 0===t.googlesitekit&amp;&amp;(t.googlesitekit={}),t.googlesitekit.data=n.a,e.default=n.a}.call(this,r(21))}},[[911,1,0]]]);\n(window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[10],{1:function(t,r){t.exports=googlesitekit.i18n},10:function(t,r,e){&quot;use strict&quot;;e.d(r,&quot;y&quot;,function(){return a.b}),e.d(r,&quot;v&quot;,function(){return i.a}),e.d(r,&quot;z&quot;,function(){return i.b}),e.d(r,&quot;x&quot;,function(){return s}),e.d(r,&quot;f&quot;,function(){return l.a}),e.d(r,&quot;m&quot;,function(){return l.b}),e.d(r,&quot;t&quot;,function(){return f.c}),e.d(r,&quot;u&quot;,function(){return f.d}),e.d(r,&quot;q&quot;,function(){return f.b}),e.d(r,&quot;l&quot;,function(){return f.a}),e.d(r,&quot;r&quot;,function(){return g}),e.d(r,&quot;g&quot;,function(){return b}),e.d(r,&quot;b&quot;,function(){return h.b}),e.d(r,&quot;a&quot;,function(){return h.a}),e.d(r,&quot;c&quot;,function(){return h.e}),e.d(r,&quot;i&quot;,function(){return h.f}),e.d(r,&quot;w&quot;,function(){return h.k}),e.d(r,&quot;j&quot;,function(){return y.b}),e.d(r,&quot;p&quot;,function(){return y.c}),e.d(r,&quot;e&quot;,function(){return y.a}),e.d(r,&quot;o&quot;,function(){return m.b}),e.d(r,&quot;k&quot;,function(){return m.a}),e.d(r,&quot;s&quot;,function(){return m.d}),e.d(r,&quot;n&quot;,function(){return O}),e.d(r,&quot;d&quot;,function(){return w}),e.d(r,&quot;A&quot;,function(){return j}),e.d(r,&quot;h&quot;,function(){return S});var r=e(120),n=e.n(r),r=e(115),o=e.n(r),a=e(32),i=e(63),r=e(28),c=e.n(r),r=e(76),u=e.n(r),s=function(t){return u()(JSON.stringify(function e(n){var o={};return Object.keys(n).sort().forEach(function(t){var r=n[t];r&amp;&amp;&quot;object&quot;===c()(r)&amp;&amp;!Array.isArray(r)&amp;&amp;(r=e(r)),o[t]=r}),o}(t)))},l=e(78),f=(e(82),e(72));function d(t){return t.replace(/\\[([^\\]]+)\\]\\((https?:\\/\\/[^\\/]+\\.\\w+\\/?.*?)\\)/gi,&#039;<a href="$2" target="_blank" rel="noopener noreferrer">$1</a>'')}function p(t){return"<p>".concat(t.replace(/\\n{2,}/g,"</p><p>"),"</p>")}function v(t){return t.replace(/\\n/gi,"<br>")}function g(t){for(var r=t,e=0,n=[d,p,v];e&lt;n.length;e++)r=(0,n[e])(r);return r}var b=function(t){return t=parseFloat(t),isNaN(t)||0===t?[0,0,0,0]:[Math.floor(t/60/60),Math.floor(t/60%60),Math.floor(t%60),Math.floor(1e3*t)-1e3*Math.floor(t)]},h=e(56),y=e(83),m=e(50),O=function(t){switch(t){case&quot;minute&quot;:return 60;case&quot;hour&quot;:return 3600;case&quot;day&quot;:return 86400;case&quot;week&quot;:return 604800;case&quot;month&quot;:return 2592e3;case&quot;year&quot;:return 31536e3}},w=function(t,r){if(&quot;0&quot;===t||0===t||isNaN(t))return null;var t=(r-t)/t;return isNaN(t)||!n()(t)?null:t},j=function(t){try{return JSON.parse(t)&amp;&amp;!!t}catch(t){return!1}},S=function(t){if(!t)return&quot;&quot;;var t=t.replace(/&amp;#(\\d+);/g,function(t,r){return String.fromCharCode(r)}).replace(/(\\\\)/g,&quot;&quot;);return o()(t)}},1077:function(t,r,e){&quot;use strict&quot;;e.r(r);var n=e(4),o=e.n(n),a=e(49),r=e(97),n=e(6),i=e.n(n),n=e(7),c=e.n(n),n=e(54),u=e.n(n);function s(r,t){var e=Object.keys(r),n;return Object.getOwnPropertySymbols&amp;&amp;(n=Object.getOwnPropertySymbols(r),t&amp;&amp;(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})),e.push.apply(e,n)),e}function l(r){for(var t=1;t&lt;arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?s(Object(e),!0).forEach(function(t){i()(r,t,e[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(e)):s(Object(e)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(e,t))})}return r}var n={initialState:{},actions:{setValues:function(t,r){return c()(t&amp;&amp;&quot;string&quot;==typeof t,&quot;a valid formName is required for setting values.&quot;),c()(u()(r),&quot;formData must be an object.&quot;),{payload:{formName:t,formData:r},type:&quot;SET_FORM_VALUES&quot;}}},controls:{},reducer:function(t,r){var e=r.type,r=r.payload;if(&quot;SET_FORM_VALUES&quot;!==e)return t;var e=r.formName,r=r.formData;return l(l({},t),{},i()({},e,l(l({},t[e]||{}),r)))},resolvers:{},selectors:{getValue:function(t,r,e){return(t[r]||{})[e]},hasForm:function(t,r){return!!t[r]}}},e=e(35),a=o.a.combineStores(o.a.commonStore,n,Object(r.a)(e.a),Object(a.b)(e.a));a.initialState,a.actions,a.controls,a.reducer,a.resolvers,a.selectors,o.a.registerStore(e.a,a)},29:function(t,r,e){&quot;use strict&quot;;e.d(r,&quot;a&quot;,function(){return n}),e.d(r,&quot;b&quot;,function(){return o});var n=&quot;_googlesitekitDataLayer&quot;,o=&quot;data-googlesitekit-gtag&quot;},32:function(t,v,g){&quot;use strict&quot;;!function(t){g.d(v,&quot;a&quot;,function(){return p}),g.d(v,&quot;b&quot;,function(){return d});var r=g(84),e=t._googlesitekitTrackingData||{},n=e.activeModules,o,a=e.isSiteKitScreen,i=e.trackingEnabled,c=e.trackingID,u=e.referenceSiteURL,s=e.userIDHash,t=e.isAuthenticated,t={activeModules:void 0===n?[]:n,trackingEnabled:i,trackingID:c,referenceSiteURL:u,userIDHash:s,isSiteKitScreen:a,userRoles:e.userRoles,isAuthenticated:t,pluginVersion:&quot;1.78.0&quot;},r=Object(r.a)(t),l=r.enableTracking,f=r.disableTracking,t=(r.isTrackingEnabled,r.initializeSnippet),d=r.trackEvent;function p(t){(t?l:f)()}a&amp;&amp;i&amp;&amp;t()}.call(this,g(21))},33:function(t,r,e){&quot;use strict&quot;;e.d(r,&quot;a&quot;,function(){return n});var n=function(t){return t instanceof Date&amp;&amp;!isNaN(t)}},34:function(t,a,i){&quot;use strict&quot;;!function(t){var r,e;i.d(a,&quot;a&quot;,function(){return n}),i.d(a,&quot;b&quot;,function(){return o});var n=new Set((null===t||void 0===t||null===(e=t._googlesitekitBaseData)||void 0===e?void 0:e.enabledFeatures)||[]),o=function(t){var r=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:n;return r instanceof Set&amp;&amp;r.has(t)}}.call(this,i(21))},35:function(t,r,e){&quot;use strict&quot;;e.d(r,&quot;a&quot;,function(){return n});var n=&quot;core/forms&quot;},4:function(t,r){t.exports=googlesitekit.data},40:function(t,r,e){&quot;use strict&quot;;e.d(r,&quot;a&quot;,function(){return o});var n=e(33),o=function(){var t=0=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,i=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return a=t.done,t},e:function(t){i=!0,o=t},f:function(){try{a||null==e.return||e.return()}finally{if(i)throw o}}}}function c(t,r){(null==r||r&gt;t.length)&amp;&amp;(r=t.length);for(var e=0,n=new Array(r);e&lt;r;e++)n[e]=t[e];return n}var a,f=&quot;googlesitekit_&quot;.concat(&quot;1.78.0&quot;,&quot;_&quot;),e,i=[].concat([&quot;sessionStorage&quot;,&quot;localStorage&quot;]),d=(n=r()(s.a.mark(function t(r){var e,n;return s.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(e=u[r]){t.next=3;break}return t.abrupt(&quot;return&quot;,!1);case 3:return t.prev=3,n=&quot;__storage_test__&quot;,e.setItem(n,n),e.removeItem(n),t.abrupt(&quot;return&quot;,!0);case 10:return t.prev=10,t.t0=t.catch(3),t.abrupt(&quot;return&quot;,t.t0 instanceof DOMException&amp;&amp;(22===t.t0.code||1014===t.t0.code||&quot;QuotaExceededError&quot;===t.t0.name||&quot;NS_ERROR_DOM_QUOTA_REACHED&quot;===t.t0.name)&amp;&amp;0!==e.length);case 13:case&quot;end&quot;:return t.stop()}},t,null,[[3,10]])})),function(t){return n.apply(this,arguments)}),n;function p(){return v.apply(this,arguments)}function v(){return(v=r()(s.a.mark(function t(){var r,e,n;return s.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(void 0!==a)return t.abrupt(&quot;return&quot;,a);t.next=2;break;case 2:r=o(i),t.prev=3,r.s();case 5:if((e=r.n()).done){t.next=15;break}if(n=e.value,a)return t.abrupt(&quot;continue&quot;,13);t.next=9;break;case 9:return t.next=11,d(n);case 11:if(!t.sent){t.next=13;break}a=u[n];case 13:t.next=5;break;case 15:t.next=20;break;case 17:t.prev=17,t.t0=t.catch(3),r.e(t.t0);case 20:return t.prev=20,r.f(),t.finish(20);case 23:return void 0===a&amp;&amp;(a=null),t.abrupt(&quot;return&quot;,a);case 25:case&quot;end&quot;:return t.stop()}},t,null,[[3,17,20,23]])}))).apply(this,arguments)}var g=(j=r()(s.a.mark(function t(r){var e,n,o,a,i,e,o;return s.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p();case 2:if(!(e=t.sent)){t.next=10;break}if(!(n=e.getItem(&quot;&quot;.concat(f).concat(r)))){t.next=10;break}if(o=JSON.parse(n),a=o.timestamp,i=o.ttl,e=o.value,o=o.isError,a&amp;&amp;(!i||Math.round(Date.now()/1e3)-a&lt;i))return t.abrupt(&quot;return&quot;,{cacheHit:!0,value:e,isError:o});t.next=10;break;case 10:return t.abrupt(&quot;return&quot;,{cacheHit:!1,value:void 0});case 11:case&quot;end&quot;:return t.stop()}},t)})),function(t){return j.apply(this,arguments)}),b=(w=r()(s.a.mark(function t(r,e){var n,o,a,i,o,i,n,i,c=arguments;return s.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return o=(n=2&lt;c.length&amp;&amp;void 0!==c[2]?c[2]:{}).ttl,a=void 0===o?l.b:o,i=n.timestamp,o=void 0===i?Math.round(Date.now()/1e3):i,i=n.isError,n=void 0!==i&amp;&amp;i,t.next=3,p();case 3:if(i=t.sent)return t.prev=5,i.setItem(&quot;&quot;.concat(f).concat(r),JSON.stringify({timestamp:o,ttl:a,value:e,isError:n})),t.abrupt(&quot;return&quot;,!0);t.next=14;break;case 10:return t.prev=10,t.t0=t.catch(5),u.console.warn(&quot;Encountered an unexpected storage error:&quot;,t.t0),t.abrupt(&quot;return&quot;,!1);case 14:return t.abrupt(&quot;return&quot;,!1);case 15:case&quot;end&quot;:return t.stop()}},t,null,[[5,10]])})),function(t,r){return w.apply(this,arguments)}),h=(O=r()(s.a.mark(function t(r){var e;return s.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p();case 2:if(e=t.sent)return t.prev=4,e.removeItem(&quot;&quot;.concat(f).concat(r)),t.abrupt(&quot;return&quot;,!0);t.next=13;break;case 9:return t.prev=9,t.t0=t.catch(4),u.console.warn(&quot;Encountered an unexpected storage error:&quot;,t.t0),t.abrupt(&quot;return&quot;,!1);case 13:return t.abrupt(&quot;return&quot;,!1);case 14:case&quot;end&quot;:return t.stop()}},t,null,[[4,9]])})),function(t){return O.apply(this,arguments)}),y=(m=r()(s.a.mark(function t(){var r,e,n,o;return s.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p();case 2:if(!(r=t.sent)){t.next=14;break}for(t.prev=4,e=[],n=0;n&lt;r.length;n++)0===(o=r.key(n)).indexOf(f)&amp;&amp;e.push(o.substring(f.length));return t.abrupt(&quot;return&quot;,e);case 10:return t.prev=10,t.t0=t.catch(4),u.console.warn(&quot;Encountered an unexpected storage error:&quot;,t.t0),t.abrupt(&quot;return&quot;,[]);case 14:return t.abrupt(&quot;return&quot;,[]);case 15:case&quot;end&quot;:return t.stop()}},t,null,[[4,10]])})),function(){return m.apply(this,arguments)}),m,O,w,j}.call(this,E(21))},48:function(t,r,e){&quot;use strict&quot;;e.d(r,&quot;a&quot;,function(){return o});var n=e(29);function o(t){return function(){t[n.a]=t[n.a]||[],t[n.a].push(arguments)}}},49:function(t,r,e){&quot;use strict&quot;;e.d(r,&quot;a&quot;,function(){return u}),e.d(r,&quot;b&quot;,function(){return s});var r=e(6),l=e.n(r),r=e(28),n=e.n(r),r=e(7),a=e.n(r),r=e(76),o=e.n(r),i=e(10);function c(r,t){var e=Object.keys(r),n;return Object.getOwnPropertySymbols&amp;&amp;(n=Object.getOwnPropertySymbols(r),t&amp;&amp;(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})),e.push.apply(e,n)),e}function f(r){for(var t=1;t&lt;arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?c(Object(e),!0).forEach(function(t){l()(r,t,e[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(e)):c(Object(e)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(e,t))})}return r}function d(t,r){if(r&amp;&amp;Array.isArray(r)){var r=r.map(function(t){return&quot;object&quot;===n()(t)?Object(i.x)(t):t});return&quot;&quot;.concat(t,&quot;::&quot;).concat(o()(JSON.stringify(r)))}return t}var u={receiveError:function(t,r,e){return a()(t,&quot;error is required.&quot;),r&amp;&amp;a()(e&amp;&amp;Array.isArray(e),&quot;args is required (and must be an array) when baseName is specified.&quot;),{type:&quot;RECEIVE_ERROR&quot;,payload:{error:t,baseName:r,args:e}}},clearError:function(t,r){return t&amp;&amp;a()(r&amp;&amp;Array.isArray(r),&quot;args is required (and must be an array) when baseName is specified.&quot;),{type:&quot;CLEAR_ERROR&quot;,payload:{baseName:t,args:r}}},clearErrors:function(t){return{type:&quot;CLEAR_ERRORS&quot;,payload:{baseName:t}}}};function s(n){a()(n,&quot;storeName must be defined.&quot;);var o={getErrorForSelector:function(t,r){var e=2&lt;arguments.length&amp;&amp;void 0!==arguments[2]?arguments[2]:[];a()(r,&quot;selectorName is required.&quot;);var t=o.getError(t,r,e);if(t)return f(f({},t),{},{selectorData:{storeName:n,name:r,args:e}})},getErrorForAction:function(t,r){var e=2&lt;arguments.length&amp;&amp;void 0!==arguments[2]?arguments[2]:[];return a()(r,&quot;actionName is required.&quot;),o.getError(t,r,e)},getError:function(t,r,e){var n=t.error,t=t.errors;return r||e?(a()(r,&quot;baseName is required.&quot;),t[d(r,e)]):n},getErrors:function(t){var r=new Set(Object.values(t.errors));return void 0!==t.error&amp;&amp;r.add(t.error),Array.from(r)},hasErrors:function(t){return 0&lt;o.getErrors(t).length}};return{initialState:{errors:{},error:void 0},actions:u,controls:{},reducer:function(t,r){var e=r.type,n=r.payload;switch(e){case&quot;RECEIVE_ERROR&quot;:var o=n.baseName,a=n.args,i=n.error;return f(f({},t),{},o?{errors:f(f({},t.errors||{}),{},l()({},d(o,a),i))}:{error:i});case&quot;CLEAR_ERROR&quot;:var o=n.baseName,a=n.args,i=f({},t),a;return o?(a=d(o,a),i.errors=f({},t.errors||{}),delete i.errors[a]):i.error=void 0,i;case&quot;CLEAR_ERRORS&quot;:var c=n.baseName,u=f({},t);if(c)for(var s in u.errors=f({},t.errors||{}),u.errors)s!==c&amp;&amp;!s.startsWith(&quot;&quot;.concat(c,&quot;::&quot;))||delete u.errors[s];else u.errors={},u.error=void 0;return u;default:return t}},resolvers:{},selectors:o}}},50:function(t,r,e){&quot;use strict&quot;;e.d(r,&quot;b&quot;,function(){return o}),e.d(r,&quot;a&quot;,function(){return a}),e.d(r,&quot;d&quot;,function(){return i}),e.d(r,&quot;c&quot;,function(){return c}),e.d(r,&quot;e&quot;,function(){return u});var n=e(112);function o(t){try{return new URL(t).pathname}catch(t){}return null}function a(t,r){try{return new URL(r,t).href}catch(t){}return(&quot;string&quot;==typeof t?t:&quot;&quot;)+(&quot;string&quot;==typeof r?r:&quot;&quot;)}function i(t){return&quot;string&quot;!=typeof t?t:t.replace(/^https?:\\/\\/(www\\.)?/i,&quot;&quot;).replace(/\\/$/,&quot;&quot;)}function c(t){return/^#\\w[A-Za-z0-9-_]*$/.test(t)}function u(t,r){if(!Object(n.a)(t))return t;if(t.length&lt;=r)return t;var e=new URL(t),e=t.replace(e.origin,&quot;&quot;);if(e.length&lt;r)return e;var r=e.length-Math.floor(r)+1;return&quot;…&quot;+e.substr(r)}},56:function(t,r,e){&quot;use strict&quot;;e.d(r,&quot;d&quot;,function(){return n}),e.d(r,&quot;c&quot;,function(){return o}),e.d(r,&quot;b&quot;,function(){return a}),e.d(r,&quot;a&quot;,function(){return i}),e.d(r,&quot;e&quot;,function(){return c}),e.d(r,&quot;g&quot;,function(){return l}),e.d(r,&quot;h&quot;,function(){return v}),e.d(r,&quot;i&quot;,function(){return g}),e.d(r,&quot;j&quot;,function(){return d.a}),e.d(r,&quot;f&quot;,function(){return h}),e.d(r,&quot;k&quot;,function(){return p});var n=&quot;Invalid dateString parameter, it must be a string.&quot;,o=&#039;Invalid date range, it must be a string with the format &quot;last-x-days&quot;.&#039;,a=3600,i=86400,c=604800,r=e(7),u=e.n(r),s=e(33),l=function(t){var r=new Date(t);u()(Object(s.a)(r),&quot;Date param must construct to a valid date instance or be a valid date instance itself.&quot;);var e=&quot;&quot;.concat(r.getMonth()+1),t=&quot;&quot;.concat(r.getDate());return[r.getFullYear(),e.length&lt;2?&quot;0&quot;.concat(e):e,t.length&lt;2?&quot;0&quot;.concat(t):t].join(&quot;-&quot;)},r=e(13),f=e.n(r),d=e(40),p=function(t){u()(Object(d.a)(t),n);var r=t.split(&quot;-&quot;),e=f()(r,3),t=e[0],r=e[1],e=e[2];return new Date(t,r-1,e)},v=function(){var t=0&lt;arguments.length&amp;&amp;void 0!==arguments[0]?arguments[0]:&quot;&quot;,r=1&lt;arguments.length?arguments[1]:void 0,t=p(t);return t.setDate(t.getDate()-r),l(t)},g=function(){var t,r=(0&lt;arguments.length&amp;&amp;void 0!==arguments[0]?arguments[0]:&quot;&quot;).split(&quot;-&quot;);return 3===r.length&amp;&amp;&quot;last&quot;===r[0]&amp;&amp;!Number.isNaN(r[1])&amp;&amp;!Number.isNaN(parseFloat(r[1]))&amp;&amp;&quot;days&quot;===r[2]},b=e(1);function h(){var t=function(t){return Object(b.sprintf)(Object(b._n)(&quot;Last %s day&quot;,&quot;Last %s days&quot;,t,&quot;google-site-kit&quot;),t)};return{&quot;last-7-days&quot;:{slug:&quot;last-7-days&quot;,label:t(7),days:7},&quot;last-14-days&quot;:{slug:&quot;last-14-days&quot;,label:t(14),days:14},&quot;last-28-days&quot;:{slug:&quot;last-28-days&quot;,label:t(28),days:28},&quot;last-90-days&quot;:{slug:&quot;last-90-days&quot;,label:t(90),days:90}}}},60:function(t,n,i){&quot;use strict&quot;;!function(o){var t=i(0),r=i.n(t),t=i(8),a=i.n(t);function e(t){var r=t.direction,e=t.invertColor,n=t.width,t=t.height;return o.createElement(&quot;svg&quot;,{className:a()(&quot;googlesitekit-change-arrow&quot;,&quot;googlesitekit-change-arrow--&quot;.concat(r),{&quot;googlesitekit-change-arrow--inverted-color&quot;:e}),width:n,height:t,viewBox:&quot;0 0 10 10&quot;,fill:&quot;none&quot;,xmlns:&quot;http://www.w3.org/2000/svg&quot;},o.createElement(&quot;path&quot;,{d:&quot;M5.625 10L5.625 2.375L9.125 5.875L10 5L5 -1.76555e-07L-2.7055e-07 5L0.875 5.875L4.375 2.375L4.375 10L5.625 10Z&quot;,fill:&quot;currentColor&quot;}))}e.propTypes={direction:r.a.string,invertColor:r.a.bool,width:r.a.number,height:r.a.number},e.defaultProps={direction:&quot;up&quot;,invertColor:!1,width:9,height:9},n.a=e}.call(this,i(3))},63:function(t,r,e){&quot;use strict&quot;;e.d(r,&quot;a&quot;,function(){return a}),e.d(r,&quot;b&quot;,function(){return i});var r=e(28),n=e.n(r),o=e(73),a=function(t){var r;return{__html:o.a.sanitize(t,1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:{})}};function i(t){var r,t=&quot;object&quot;===n()(t)?t.toString():t;return null==t||null===(r=t.replace)||void 0===r?void 0:r.call(t,/\\/+$/,&quot;&quot;)}},72:function(t,m,O){&quot;use strict&quot;;!function(e){O.d(m,&quot;c&quot;,function(){return r}),O.d(m,&quot;d&quot;,function(){return b}),O.d(m,&quot;b&quot;,function(){return h}),O.d(m,&quot;a&quot;,function(){return y});var t=O(13),f=O.n(t),t=O(28),d=O.n(t),t=O(6),n=O.n(t),t=O(19),p=O.n(t),a=O(25),t=O(70),t=O.n(t),c=O(1);function o(r,t){var e=Object.keys(r),n;return Object.getOwnPropertySymbols&amp;&amp;(n=Object.getOwnPropertySymbols(r),t&amp;&amp;(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})),e.push.apply(e,n)),e}function u(r){for(var t=1;t&lt;arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?o(Object(e),!0).forEach(function(t){n()(r,t,e[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(e)):o(Object(e)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(e,t))})}return r}var i=function(t){var r,e=s(t,1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:{}),n=e.formatUnit,e=e.formatDecimal;try{return n()}catch(t){return e()}},s=function(n){var r=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:{};n=parseInt(n,10),Number.isNaN(n)&amp;&amp;(n=0);var o=Math.floor(n/60/60),a=Math.floor(n/60%60),i=Math.floor(n%60);return{hours:o,minutes:a,seconds:i,formatUnit:function(){var t=r.unitDisplay,t=u(u({unitDisplay:void 0===t?&quot;short&quot;:t},p()(r,[&quot;unitDisplay&quot;])),{},{style:&quot;unit&quot;});return 0===n?b(i,u(u({},t),{},{unit:&quot;second&quot;})):Object(c.sprintf)(Object(c._x)(&quot;%3$s %2$s %1$s&quot;,&quot;duration of time: hh mm ss&quot;,&quot;google-site-kit&quot;),i?b(i,u(u({},t),{},{unit:&quot;second&quot;})):&quot;&quot;,a?b(a,u(u({},t),{},{unit:&quot;minute&quot;})):&quot;&quot;,o?b(o,u(u({},t),{},{unit:&quot;hour&quot;})):&quot;&quot;).trim()},formatDecimal:function(){var t=Object(c.sprintf)(Object(c.__)(&quot;%ds&quot;,&quot;google-site-kit&quot;),i);if(0===n)return t;var r=Object(c.sprintf)(Object(c.__)(&quot;%dm&quot;,&quot;google-site-kit&quot;),a),e=Object(c.sprintf)(Object(c.__)(&quot;%dh&quot;,&quot;google-site-kit&quot;),o);return Object(c.sprintf)(Object(c._x)(&quot;%3$s %2$s %1$s&quot;,&quot;duration of time: hh mm ss&quot;,&quot;google-site-kit&quot;),i?t:&quot;&quot;,a?r:&quot;&quot;,o?e:&quot;&quot;).trim()}}},l=function(t){return 1e6&lt;=t?Math.round(t/1e5)/10:1e4&lt;=t?Math.round(t/1e3):1e3&lt;=t?Math.round(t/100)/10:t},v=function(t){var r={minimumFractionDigits:1,maximumFractionDigits:1};return 1e6&lt;=t?Object(c.sprintf)(Object(c.__)(&quot;%sM&quot;,&quot;google-site-kit&quot;),b(l(t),t%10==0?{}:r)):1e4&lt;=t?Object(c.sprintf)(Object(c.__)(&quot;%sK&quot;,&quot;google-site-kit&quot;),b(l(t))):1e3&lt;=t?Object(c.sprintf)(Object(c.__)(&quot;%sK&quot;,&quot;google-site-kit&quot;),b(l(t),t%10==0?{}:r)):b(t,{signDisplay:&quot;never&quot;,maximumFractionDigits:1})},r=function(t){var r=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:{};t=Object(a.isFinite)(t)?t:Number(t),Object(a.isFinite)(t)||(console.warn(&quot;Invalid number&quot;,t,d()(t)),t=0);var e={};if(&quot;%&quot;===r)e={style:&quot;percent&quot;,maximumFractionDigits:2};else{if(&quot;s&quot;===r)return i(t,{unitDisplay:&quot;narrow&quot;});r&amp;&amp;&quot;string&quot;==typeof r?e={style:&quot;currency&quot;,currency:r}:Object(a.isPlainObject)(r)&amp;&amp;(e=u({},r))}var n,o=e.style,o=void 0===o?&quot;metric&quot;:o;return&quot;metric&quot;===o?v(t):&quot;duration&quot;===o?i(t,r):b(t,e)},g=t()(console.warn),b=function(t){var r=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:{},e=r.locale,n=void 0===e?y():e,e=p()(r,[&quot;locale&quot;]);try{return new Intl.NumberFormat(n,e).format(t)}catch(r){g(&quot;Site Kit numberFormat error: Intl.NumberFormat( &quot;.concat(JSON.stringify(n),&quot;, &quot;).concat(JSON.stringify(e),&quot; ).format( &quot;).concat(d()(t),&quot; )&quot;),r.message)}for(var o={currencyDisplay:&quot;narrow&quot;,currencySign:&quot;accounting&quot;,style:&quot;unit&quot;},a=[&quot;signDisplay&quot;,&quot;compactDisplay&quot;],i={},c=0,u=Object.entries(e);c&lt;u.length;c++){var s=f()(u[c],2),l=s[0],s=s[1];o[l]&amp;&amp;s===o[l]||a.includes(l)||(i[l]=s)}try{return new Intl.NumberFormat(n,i).format(t)}catch(r){return new Intl.NumberFormat(n).format(t)}},h=function(t){var r=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:{},e=r.locale,n=void 0===e?y():e,e=r.style,e=void 0===e?&quot;long&quot;:e,r=r.type,r=void 0===r?&quot;conjunction&quot;:r,o;if(Intl.ListFormat)return new Intl.ListFormat(n,{style:e,type:r}).format(t);var r=Object(c.__)(&quot;, &quot;,&quot;google-site-kit&quot;);return t.join(r)},y=function(){var t=0=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,i=!1;return{s:function(){e=e.call(t)},n:function(){var t=e.next();return a=t.done,t},e:function(t){i=!0,o=t},f:function(){try{a||null==e.return||e.return()}finally{if(i)throw o}}}}function c(t,r){(null==r||r&gt;t.length)&amp;&amp;(r=t.length);for(var e=0,n=new Array(r);e&lt;r;e++)n[e]=t[e];return n}var e=function(){t.localStorage&amp;&amp;t.localStorage.clear(),t.sessionStorage&amp;&amp;t.sessionStorage.clear()},l=function(t){for(var r=location.search.substr(1).split(&quot;&amp;&quot;),e={},n=0;n&lt;r.length;n++)e[r[n].split(&quot;=&quot;)[0]]=decodeURIComponent(r[n].split(&quot;=&quot;)[1]);return t?e.hasOwnProperty(t)?decodeURIComponent(e[t].replace(/\\+/g,&quot; &quot;)):&quot;&quot;:e},n=function(t){var r=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:location,r=new URL(r.href);if(t)return r.searchParams&amp;&amp;r.searchParams.get?r.searchParams.get(t):l(t);var e,n={},o=s(r.searchParams.entries());try{for(o.s();!(e=o.n()).done;){var a=u()(e.value,2),i=a[0],c=a[1];n[i]=c}}catch(t){o.e(t)}finally{o.f()}return n}}.call(this,a(21))},82:function(t,r,e){&quot;use strict&quot;;!function(t){e(46),e(47)}.call(this,e(21))},83:function(t,i,c){&quot;use strict&quot;;!function(e){c.d(i,&quot;b&quot;,function(){return t}),c.d(i,&quot;c&quot;,function(){return r}),c.d(i,&quot;a&quot;,function(){return a});var n=c(167),o=c(60),t=function(t){var r=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:{};if(Number.isNaN(Number(t)))return&quot;&quot;;var r=r.invertColor,r=void 0!==r&amp;&amp;r;return Object(n.a)(e.createElement(o.a,{direction:0&lt;t?&quot;up&quot;:&quot;down&quot;,invertColor:r}))},r=function(t){var r,e,n,o,a,i,c,u,s,l,f,d,p,v,g;if(void 0!==t)return 1===(null==t||null===(r=t[0])||void 0===r||null===(e=r.data)||void 0===e||null===(n=e.rows)||void 0===n?void 0:n.length)||(null==t||null===(o=t[0])||void 0===o||null===(a=o.data)||void 0===a||null===(i=a.rows)||void 0===i||null===(c=i[0])||void 0===c||null===(u=c.metrics)||void 0===u||null===(s=u[0])||void 0===s||null===(l=s.values)||void 0===l?void 0:l[0])===(null==t||null===(f=t[0])||void 0===f||null===(d=f.data)||void 0===d||null===(p=d.totals)||void 0===p||null===(v=p[0])||void 0===v||null===(g=v.values)||void 0===g?void 0:g[0])},a=function(t,r){return 0&lt;t&amp;&amp;0&lt;r?t/r-1:0&lt;t?1:0&lt;r?-1:0}}.call(this,c(3))},84:function(t,e,l){&quot;use strict&quot;;!function(o){l.d(e,&quot;a&quot;,function(){return r});var t=l(6),n=l.n(t),a=l(85),i=l(86);function c(r,t){var e=Object.keys(r),n;return Object.getOwnPropertySymbols&amp;&amp;(n=Object.getOwnPropertySymbols(r),t&amp;&amp;(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})),e.push.apply(e,n)),e}function u(r){for(var t=1;t&lt;arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?c(Object(e),!0).forEach(function(t){n()(r,t,e[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(e)):c(Object(e)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(e,t))})}return r}var s={activeModules:[],isAuthenticated:!1,referenceSiteURL:&quot;&quot;,trackingEnabled:!1,trackingID:&quot;&quot;,userIDHash:&quot;&quot;,userRoles:[]};function r(t){var r=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:o,e=2&lt;arguments.length&amp;&amp;void 0!==arguments[2]?arguments[2]:o,n=u(u({},s),t);n.referenceSiteURL&amp;&amp;(n.referenceSiteURL=n.referenceSiteURL.toString().replace(/\\/+$/,&quot;&quot;));var t=Object(a.a)(n,r);return{enableTracking:function(){n.trackingEnabled=!0},disableTracking:function(){n.trackingEnabled=!1},initializeSnippet:t,isTrackingEnabled:function(){return!!n.trackingEnabled},trackEvent:Object(i.a)(n,r,t,e)}}}.call(this,l(21))},85:function(t,e,n){&quot;use strict&quot;;!function(a){n.d(e,&quot;a&quot;,function(){return t});var r=n(48),i=n(29);function t(e,t){var n,o=Object(r.a)(t);return function(){var t=a.document,r;(n=void 0===n?!!t.querySelector(&quot;script[&quot;.concat(i.b,&quot;]&quot;)):n)||((r=t.createElement(&quot;script&quot;)).setAttribute(i.b,&quot;&quot;),r.async=!0,r.src=&quot;https://www.googletagmanager.com/gtag/js?id=&quot;.concat(e.trackingID,&quot;&amp;l=&quot;).concat(i.a),t.head.appendChild(r),o(&quot;js&quot;,new Date),o(&quot;config&quot;,e.trackingID,{send_page_view:e.isSiteKitScreen}),n=!0)}}}.call(this,n(21))},86:function(t,r,e){&quot;use strict&quot;;e.d(r,&quot;a&quot;,function(){return c});var r=e(5),y=e.n(r),r=e(6),n=e.n(r),r=e(14),a=e.n(r),i=e(48),m=e(34);function o(r,t){var e=Object.keys(r),n;return Object.getOwnPropertySymbols&amp;&amp;(n=Object.getOwnPropertySymbols(r),t&amp;&amp;(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable})),e.push.apply(e,n)),e}function O(r){for(var t=1;t&lt;arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?o(Object(e),!0).forEach(function(t){n()(r,t,e[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(e)):o(Object(e)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(e,t))})}return r}function c(v,t,g,b){var h=Object(i.a)(t),o;return o=a()(y.a.mark(function t(a,i,r,e){var n,o,c,u,s,l,f,d,l,p;return y.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if(n=v.activeModules,o=v.referenceSiteURL,c=v.trackingEnabled,u=v.trackingID,s=v.userIDHash,l=v.userRoles,f=void 0===l?[]:l,d=v.isAuthenticated,l=v.pluginVersion,c){t.next=3;break}return t.abrupt(&quot;return&quot;);case 3:return g(),p={send_to:u,event_category:a,event_label:r,value:e,dimension1:o,dimension2:f.join(&quot;,&quot;),dimension3:s,dimension4:l||&quot;&quot;,dimension5:Array.from(m.a).join(&quot;,&quot;),dimension6:n.join(&quot;,&quot;),dimension7:d?1:0},t.abrupt(&quot;return&quot;,new Promise(function(t){var r,e,n=setTimeout(function(){b.console.warn(&#039;Tracking event &quot;&#039;.concat(i,&#039;&quot; (category &quot;&#039;).concat(a,&#039;&quot;) took too long to fire.&#039;)),t()},1e3),o=function(){clearTimeout(n),t()};h(&quot;event&quot;,i,O(O({},p),{},{event_callback:o})),null!==(r=b._gaUserPrefs)&amp;&amp;void 0!==r&amp;&amp;null!==(e=r.ioo)&amp;&amp;void 0!==e&amp;&amp;e.call(r)&amp;&amp;o()}));case 6:case&quot;end&quot;:return t.stop()}},t)})),function(t,r,e,n){return o.apply(this,arguments)}}},97:function(t,r,e){&quot;use strict&quot;;e.d(r,&quot;a&quot;,function(){return f}),e.d(r,&quot;c&quot;,function(){return p}),e.d(r,&quot;b&quot;,function(){return v});var r=e(19),a=e.n(r),r=e(6),n=e.n(r),r=e(5),i=e.n(r),r=e(7),c=e.n(r),r=e(4),o=e.n(r),u=e(43),s=e(10),l=o.a.createRegistryControl,f=function(r){var t;c()(r,&quot;storeName is required to create a snapshot store.&quot;);var o={},e={deleteSnapshot:i.a.mark(function t(){var r;return i.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{payload:{},type:&quot;DELETE_SNAPSHOT&quot;};case 2:return r=t.sent,t.abrupt(&quot;return&quot;,r);case 4:case&quot;end&quot;:return t.stop()}},t)}),restoreSnapshot:i.a.mark(function t(){var r,e,n,e,o,e,a=arguments;return i.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e=(r=0&lt;a.length&amp;&amp;void 0!==a[0]?a[0]:{}).clearAfterRestore,n=void 0===e||e,t.next=4,{payload:{},type:&quot;RESTORE_SNAPSHOT&quot;};case 4:if(e=t.sent,o=e.cacheHit,e=e.value,o)return t.next=10,{payload:{snapshot:e},type:&quot;SET_STATE_FROM_SNAPSHOT&quot;};t.next=13;break;case 10:if(n)return t.next=13,{payload:{},type:&quot;DELETE_SNAPSHOT&quot;};t.next=13;break;case 13:return t.abrupt(&quot;return&quot;,o);case 14:case&quot;end&quot;:return t.stop()}},t)}),createSnapshot:i.a.mark(function t(){var r;return i.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,{payload:{},type:&quot;CREATE_SNAPSHOT&quot;};case 2:return r=t.sent,t.abrupt(&quot;return&quot;,r);case 4:case&quot;end&quot;:return t.stop()}},t)})},t=(t={},n()(t,&quot;DELETE_SNAPSHOT&quot;,function(){return Object(u.a)(&quot;datastore::cache::&quot;.concat(r))}),n()(t,&quot;CREATE_SNAPSHOT&quot;,l(function(t){return function(){return Object(u.d)(&quot;datastore::cache::&quot;.concat(r),t.stores[r].store.getState())}})),n()(t,&quot;RESTORE_SNAPSHOT&quot;,function(){return Object(u.b)(&quot;datastore::cache::&quot;.concat(r),s.b)}),t);return{initialState:o,actions:e,controls:t,reducer:function(){var t=0&lt;arguments.length&amp;&amp;void 0!==arguments[0]?arguments[0]:o,r=1&lt;arguments.length?arguments[1]:void 0,e=r.type,r=r.payload;if(&quot;SET_STATE_FROM_SNAPSHOT&quot;!==e)return t;var r=r.snapshot,n;return r.error,a()(r,[&quot;error&quot;])}}},d=function(){var t=0&lt;arguments.length&amp;&amp;void 0!==arguments[0]?arguments[0]:o.a;return Object.values(t.stores).filter(function(t){return Object.keys(t.getActions()).includes(&quot;restoreSnapshot&quot;)})},p=function(){var t=0&lt;arguments.length&amp;&amp;void 0!==arguments[0]?arguments[0]:o.a;return Promise.all(d(t).map(function(t){return t.getActions().createSnapshot()}))},v=function(){var t=0&lt;arguments.length&amp;&amp;void 0!==arguments[0]?arguments[0]:o.a;return Promise.all(d(t).map(function(t){return t.getActions().restoreSnapshot()}))}}},[[1077,1,0]]]);\n(window.__googlesitekit_webpackJsonp=window.__googlesitekit_webpackJsonp||[]).push([[11],{1079:function(t,n,r){&quot;use strict&quot;;r.r(n);var e=r(4),n=r.n(e),e=r(38),r=r(724),r=n.a.combineStores(n.a.commonStore,r.a);r.initialState,r.actions,r.controls,r.reducer,r.resolvers,r.selectors,n.a.registerStore(e.a,r)},38:function(t,n,r){&quot;use strict&quot;;r.d(n,&quot;a&quot;,function(){return e});var e=&quot;core/location&quot;},4:function(t,n){t.exports=googlesitekit.data},68:function(t,n,r){&quot;use strict&quot;;r.d(n,&quot;a&quot;,function(){return b}),r.d(n,&quot;b&quot;,function(){return w}),r.d(n,&quot;c&quot;,function(){return h}),r.d(n,&quot;d&quot;,function(){return T}),r.d(n,&quot;e&quot;,function(){return m}),r.d(n,&quot;g&quot;,function(){return A}),r.d(n,&quot;f&quot;,function(){return P});var r,n=r(5),e=r.n(n),n=r(24),c=r.n(n),n=r(6),o=r.n(n),n=r(7),i=r.n(n),n=r(205),a=r.n(n),n=r(70),n=r.n(n),s=r(98);function u(n,t){var r=Object.keys(n),e;return Object.getOwnPropertySymbols&amp;&amp;(e=Object.getOwnPropertySymbols(n),t&amp;&amp;(e=e.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,e)),r}function f(n){for(var t=1;t&lt;arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){o()(n,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(r,t))})}return n}var r=function(){for(var t=arguments.length,n=new Array(t),r=0;r&lt;t;r++)n[r]=arguments[r];var e=n.reduce(function(t,n){return f(f({},t),n)},{}),o=n.reduce(function(t,n){return[].concat(c()(t),c()(Object.keys(n)))},[]),o=j(o);return i()(0===o.length,&quot;collect() cannot accept collections with duplicate keys. Your call to collect() contains the following duplicated functions: &quot;.concat(o.join(&quot;, &quot;),&quot;. Check your data stores for duplicates.&quot;)),e},l=r,p=r,v=function(){for(var t=arguments.length,n=new Array(t),r=0;r&lt;t;r++)n[r]=arguments[r];var e,o=[].concat(n);return&quot;function&quot;!=typeof o[0]&amp;&amp;(e=o.shift()),function(){var t=0&lt;arguments.length&amp;&amp;void 0!==arguments[0]?arguments[0]:e,r=1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:{};return o.reduce(function(t,n){return n(t,r)},t)}},g=r,d=r,y=r,O=function(t){return t},b=function(){for(var t=arguments.length,n=new Array(t),r=0;r&lt;t;r++)n[r]=arguments[r];var e=y.apply(void 0,c()(n.map(function(t){return t.initialState||{}})));return{initialState:e,controls:p.apply(void 0,c()(n.map(function(t){return t.controls||{}}))),actions:l.apply(void 0,c()(n.map(function(t){return t.actions||{}}))),reducer:v.apply(void 0,[e].concat(c()(n.map(function(t){return t.reducer||O})))),resolvers:g.apply(void 0,c()(n.map(function(t){return t.resolvers||{}}))),selectors:d.apply(void 0,c()(n.map(function(t){return t.selectors||{}})))}},w={getRegistry:function(){return{payload:{},type:&quot;GET_REGISTRY&quot;}},await:e.a.mark(function t(n){return e.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt(&quot;return&quot;,{payload:{value:n},type:&quot;AWAIT&quot;});case 1:case&quot;end&quot;:return t.stop()}},t)})},h=(r={},o()(r,&quot;GET_REGISTRY&quot;,Object(s.d)(function(t){return function(){return t}})),o()(r,&quot;AWAIT&quot;,function(t){return t.payload.value}),r),j=function(t){for(var n=[],r={},e=0;e&lt;t.length;e++){var o=t[e];r[o]=1&lt;=r[o]?r[o]+1:1,1&lt;r[o]&amp;&amp;n.push(o)}return n},T={actions:w,controls:h,reducer:O},m=function(n){return function(t){return S(n(t))}},S=n()(function(t){return a()(t,function(n,r){return function(){var t=n.apply(void 0,arguments);return i()(void 0!==t,&quot;&quot;.concat(r,&quot;(...) is not resolved&quot;)),t}})});function A(a){var t,n=(1&lt;arguments.length&amp;&amp;void 0!==arguments[1]?arguments[1]:{}).negate,u=void 0!==n&amp;&amp;n,r,e;return{safeSelector:Object(s.e)(function(i){return function(t){var n=!u,r=!!u;try{for(var e=arguments.length,o=new Array(1&lt;e?e-1:0),c=1;c&lt;e;c++)o[c-1]=arguments[c];return a.apply(void 0,[i,t].concat(o)),n}catch(t){return r}}}),dangerousSelector:Object(s.e)(function(o){return function(t){for(var n=arguments.length,r=new Array(1&lt;n?n-1:0),e=1;e&lt;n;e++)r[e-1]=arguments[e];a.apply(void 0,[o,t].concat(r))}})}}function P(t,n){return i()(&quot;function&quot;==typeof t,&quot;a validator function is required.&quot;),i()(&quot;function&quot;==typeof n,&quot;an action creator function is required.&quot;),i()(&quot;Generator&quot;!==t[Symbol.toStringTag]&amp;&amp;&quot;GeneratorFunction&quot;!==t[Symbol.toStringTag],&quot;an action’s validator function must not be a generator.&quot;),function(){return t.apply(void 0,arguments),n.apply(void 0,arguments)}}},724:function(t,f,l){&quot;use strict&quot;;!function(n){var t=l(6),e=l.n(t),r=l(5),o=l.n(r),c=l(7),i=l.n(c),t=l(68);function a(n,t){var r=Object.keys(n),e;return Object.getOwnPropertySymbols&amp;&amp;(e=Object.getOwnPropertySymbols(n),t&amp;&amp;(e=e.filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable})),r.push.apply(r,e)),r}function u(n){for(var t=1;t&lt;arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(t){e()(n,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(r,t))})}return n}var r={navigatingTo:void 0},c={navigateTo:Object(t.f)(function(t){var n=!1;try{n=new URL(t)}catch(t){}i()(!!n,&quot;url must be a valid URI.&quot;)},o.a.mark(function t(n){var r;return o.a.wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return r={url:n},t.next=3,{type:&quot;SET_NAVIGATING_TO&quot;,payload:r};case 3:return t.next=5,{type:&quot;DO_NAVIGATE_TO&quot;,payload:r};case 5:return t.abrupt(&quot;return&quot;,t.sent);case 6:case&quot;end&quot;:return t.stop()}},t)}))},t=e()({},&quot;DO_NAVIGATE_TO&quot;,function(t){var t=t.payload;n.location.assign(t.url)}),s;f.a={initialState:r,actions:c,controls:t,reducer:function(t,n){var r=n.type,n=n.payload;return&quot;SET_NAVIGATING_TO&quot;!==r?t:u(u({},t),{},{navigatingTo:n.url})},resolvers:{},selectors:{isNavigating:function(t){return!!t.navigatingTo},isNavigatingTo:function(t,n){var t=t.navigatingTo;return i()(&quot;string&quot;==typeof n||n instanceof RegExp,&quot;url must be either a string or a regular expression.&quot;),&quot;string&quot;==typeof n?t===n:n.test(t)},getNavigateURL:function(t){return t.navigatingTo||null}}}}.call(this,l(21))}},[[1079,1,0]]]);', '1bee3ac3b35563b511928e5b69bc2d31-scripts', '', 'publish', 'closed', 'closed', '', '1bee3ac3b35563b511928e5b69bc2d31-scripts', '', '', '2022-07-08 19:58:12', '2022-07-08 17:58:12', '', 0, 'https://www.avo.co.bw/?post_type=wphb_minify_group&amp;p=5632', 0, 'wphb_minify_group', '', 0);
