File Editor
Directories:
.. (Back)
Files:
view.asset.php
view.css
view.js
view.js.LICENSE.txt
view.rtl.css
Create New File
Create
Edit File: view.js
/*! For license information please see view.js.LICENSE.txt */ (()=>{var e={95723:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(84265);let a,o,s,i;const c=/<(\/)?(\w+)\s*(\/)?>/g;function l(e,t,r,n,a){return{element:e,tokenStart:t,tokenLength:r,prevOffset:n,leadingTextStart:a,children:[]}}const u=e=>{const t="object"==typeof e,r=t&&Object.values(e);return t&&r.length&&r.every((e=>(0,n.isValidElement)(e)))};function d(e){const t=function(){const e=c.exec(a);if(null===e)return["no-more-tokens"];const t=e.index,[r,n,o,s]=e,i=r.length;if(s)return["self-closed",o,t,i];if(n)return["closer",o,t,i];return["opener",o,t,i]}(),[r,u,d,m]=t,h=i.length,y=d>o?o:null;if(!e[u])return p(),!1;switch(r){case"no-more-tokens":if(0!==h){const{leadingTextStart:e,tokenStart:t}=i.pop();s.push(a.substr(e,t))}return p(),!1;case"self-closed":return 0===h?(null!==y&&s.push(a.substr(y,d-y)),s.push(e[u]),o=d+m,!0):(f(l(e[u],d,m)),o=d+m,!0);case"opener":return i.push(l(e[u],d,m,d+m,y)),o=d+m,!0;case"closer":if(1===h)return function(e){const{element:t,leadingTextStart:r,prevOffset:o,tokenStart:c,children:l}=i.pop(),u=e?a.substr(o,e-o):a.substr(o);u&&l.push(u);null!==r&&s.push(a.substr(r,c-r));s.push((0,n.cloneElement)(t,null,...l))}(d),o=d+m,!0;const t=i.pop(),r=a.substr(t.prevOffset,d-t.prevOffset);t.children.push(r),t.prevOffset=d+m;const c=l(t.element,t.tokenStart,t.tokenLength,d+m);return c.children=t.children,f(c),o=d+m,!0;default:return p(),!1}}function p(){const e=a.length-o;0!==e&&s.push(a.substr(o,e))}function f(e){const{element:t,tokenStart:r,tokenLength:o,prevOffset:s,children:c}=e,l=i[i.length-1],u=a.substr(l.prevOffset,r-l.prevOffset);u&&l.children.push(u),l.children.push((0,n.cloneElement)(t,null,...c)),l.prevOffset=s||r+o}t.default=(e,t)=>{if(a=e,o=0,s=[],i=[],c.lastIndex=0,!u(t))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are React Elements");do{}while(d(t));return(0,n.createElement)(n.Fragment,null,...s)}},82170:(e,t,r)=>{"use strict";var n=r(98504);Object.defineProperty(t,"__esModule",{value:!0});var a={createInterpolateElement:!0,Platform:!0,renderToString:!0,RawHTML:!0};Object.defineProperty(t,"Platform",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"RawHTML",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"createInterpolateElement",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"renderToString",{enumerable:!0,get:function(){return u.default}});var o=n(r(95723)),s=r(84265);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(a,e)||e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var i=r(81649);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(a,e)||e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var c=r(98219);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(a,e)||e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var l=n(r(52595)),u=n(r(54852)),d=n(r(94468))},52595:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={OS:"web",select:e=>"web"in e?e.web:e.default,isWeb:!0}},94468:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({children:e,...t}){let r="";return n.Children.toArray(e).forEach((e=>{"string"==typeof e&&""!==e.trim()&&(r+=e)})),(0,n.createElement)("div",{dangerouslySetInnerHTML:{__html:r},...t})};var n=r(84265)},81649:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createPortal",{enumerable:!0,get:function(){return n.createPortal}}),Object.defineProperty(t,"createRoot",{enumerable:!0,get:function(){return a.createRoot}}),Object.defineProperty(t,"findDOMNode",{enumerable:!0,get:function(){return n.findDOMNode}}),Object.defineProperty(t,"flushSync",{enumerable:!0,get:function(){return n.flushSync}}),Object.defineProperty(t,"hydrate",{enumerable:!0,get:function(){return n.hydrate}}),Object.defineProperty(t,"hydrateRoot",{enumerable:!0,get:function(){return a.hydrateRoot}}),Object.defineProperty(t,"render",{enumerable:!0,get:function(){return n.render}}),Object.defineProperty(t,"unmountComponentAtNode",{enumerable:!0,get:function(){return n.unmountComponentAtNode}});var n=r(75795),a=r(18950)},84265:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Children",{enumerable:!0,get:function(){return n.Children}}),Object.defineProperty(t,"Component",{enumerable:!0,get:function(){return n.Component}}),Object.defineProperty(t,"Fragment",{enumerable:!0,get:function(){return n.Fragment}}),Object.defineProperty(t,"PureComponent",{enumerable:!0,get:function(){return n.PureComponent}}),Object.defineProperty(t,"StrictMode",{enumerable:!0,get:function(){return n.StrictMode}}),Object.defineProperty(t,"Suspense",{enumerable:!0,get:function(){return n.Suspense}}),Object.defineProperty(t,"cloneElement",{enumerable:!0,get:function(){return n.cloneElement}}),t.concatChildren=function(...e){return e.reduce(((e,t,r)=>(n.Children.forEach(t,((t,a)=>{t&&"string"!=typeof t&&(t=(0,n.cloneElement)(t,{key:[r,a].join()})),e.push(t)})),e)),[])},Object.defineProperty(t,"createContext",{enumerable:!0,get:function(){return n.createContext}}),Object.defineProperty(t,"createElement",{enumerable:!0,get:function(){return n.createElement}}),Object.defineProperty(t,"createRef",{enumerable:!0,get:function(){return n.createRef}}),Object.defineProperty(t,"forwardRef",{enumerable:!0,get:function(){return n.forwardRef}}),Object.defineProperty(t,"isValidElement",{enumerable:!0,get:function(){return n.isValidElement}}),Object.defineProperty(t,"lazy",{enumerable:!0,get:function(){return n.lazy}}),Object.defineProperty(t,"memo",{enumerable:!0,get:function(){return n.memo}}),Object.defineProperty(t,"startTransition",{enumerable:!0,get:function(){return n.startTransition}}),t.switchChildrenNodeName=function(e,t){return e&&n.Children.map(e,((e,r)=>{if("string"==typeof e?.valueOf())return(0,n.createElement)(t,{key:r},e);const{children:a,...o}=e.props;return(0,n.createElement)(t,{key:r,...o},a)}))},Object.defineProperty(t,"useCallback",{enumerable:!0,get:function(){return n.useCallback}}),Object.defineProperty(t,"useContext",{enumerable:!0,get:function(){return n.useContext}}),Object.defineProperty(t,"useDebugValue",{enumerable:!0,get:function(){return n.useDebugValue}}),Object.defineProperty(t,"useDeferredValue",{enumerable:!0,get:function(){return n.useDeferredValue}}),Object.defineProperty(t,"useEffect",{enumerable:!0,get:function(){return n.useEffect}}),Object.defineProperty(t,"useId",{enumerable:!0,get:function(){return n.useId}}),Object.defineProperty(t,"useImperativeHandle",{enumerable:!0,get:function(){return n.useImperativeHandle}}),Object.defineProperty(t,"useInsertionEffect",{enumerable:!0,get:function(){return n.useInsertionEffect}}),Object.defineProperty(t,"useLayoutEffect",{enumerable:!0,get:function(){return n.useLayoutEffect}}),Object.defineProperty(t,"useMemo",{enumerable:!0,get:function(){return n.useMemo}}),Object.defineProperty(t,"useReducer",{enumerable:!0,get:function(){return n.useReducer}}),Object.defineProperty(t,"useRef",{enumerable:!0,get:function(){return n.useRef}}),Object.defineProperty(t,"useState",{enumerable:!0,get:function(){return n.useState}}),Object.defineProperty(t,"useSyncExternalStore",{enumerable:!0,get:function(){return n.useSyncExternalStore}}),Object.defineProperty(t,"useTransition",{enumerable:!0,get:function(){return n.useTransition}});var n=r(51609)},54852:(e,t,r)=>{"use strict";var n=r(98504);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.hasPrefix=g,t.renderAttributes=T,t.renderComponent=O,t.renderElement=j,t.renderNativeComponent=M,t.renderStyle=A;var a=r(21214),o=r(61433),s=r(89877),i=r(84265),c=n(r(94468));const{Provider:l,Consumer:u}=(0,i.createContext)(void 0),d=(0,i.forwardRef)((()=>null)),p=new Set(["string","boolean","number"]),f=new Set(["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]),m=new Set(["allowfullscreen","allowpaymentrequest","allowusermedia","async","autofocus","autoplay","checked","controls","default","defer","disabled","download","formnovalidate","hidden","ismap","itemscope","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected","typemustmatch"]),h=new Set(["autocapitalize","autocomplete","charset","contenteditable","crossorigin","decoding","dir","draggable","enctype","formenctype","formmethod","http-equiv","inputmode","kind","method","preload","scope","shape","spellcheck","translate","type","wrap"]),y=new Set(["animation","animationIterationCount","baselineShift","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","cx","cy","fillOpacity","flexGrow","flexShrink","floodOpacity","fontWeight","gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart","lineHeight","opacity","order","orphans","r","rx","ry","shapeImageThreshold","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","widows","x","y","zIndex","zoom"]);function g(e,t){return t.some((t=>0===e.indexOf(t)))}function b(e){return"key"===e||"children"===e}function v(e,t){return"style"===e?A(t):t}const C=["accentHeight","alignmentBaseline","arabicForm","baselineShift","capHeight","clipPath","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","dominantBaseline","enableBackground","fillOpacity","fillRule","floodColor","floodOpacity","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","horizAdvX","horizOriginX","imageRendering","letterSpacing","lightingColor","markerEnd","markerMid","markerStart","overlinePosition","overlineThickness","paintOrder","panose1","pointerEvents","renderingIntent","shapeRendering","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","textAnchor","textDecoration","textRendering","underlinePosition","underlineThickness","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","vHanging","vIdeographic","vMathematical","vectorEffect","vertAdvY","vertOriginX","vertOriginY","wordSpacing","writingMode","xmlnsXlink","xHeight"].reduce(((e,t)=>(e[t.toLowerCase()]=t,e)),{}),k=["allowReorder","attributeName","attributeType","autoReverse","baseFrequency","baseProfile","calcMode","clipPathUnits","contentScriptType","contentStyleType","diffuseConstant","edgeMode","externalResourcesRequired","filterRes","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","suppressContentEditableWarning","suppressHydrationWarning","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector"].reduce(((e,t)=>(e[t.toLowerCase()]=t,e)),{}),E=["xlink:actuate","xlink:arcrole","xlink:href","xlink:role","xlink:show","xlink:title","xlink:type","xml:base","xml:lang","xml:space","xmlns:xlink"].reduce(((e,t)=>(e[t.replace(":","").toLowerCase()]=t,e)),{});function w(e){switch(e){case"htmlFor":return"for";case"className":return"class"}const t=e.toLowerCase();return k[t]?k[t]:C[t]?(0,o.paramCase)(C[t]):E[t]?E[t]:t}function S(e){return e.startsWith("--")?e:g(e,["ms","O","Moz","Webkit"])?"-"+(0,o.paramCase)(e):(0,o.paramCase)(e)}function _(e,t){return"number"!=typeof t||0===t||y.has(e)?t:t+"px"}function j(e,t,r={}){if(null==e||!1===e)return"";if(Array.isArray(e))return P(e,t,r);switch(typeof e){case"string":return(0,s.escapeHTML)(e);case"number":return e.toString()}const{type:n,props:a}=e;switch(n){case i.StrictMode:case i.Fragment:return P(a.children,t,r);case c.default:const{children:e,...n}=a;return M(Object.keys(n).length?"div":null,{...n,dangerouslySetInnerHTML:{__html:e}},t,r)}switch(typeof n){case"string":return M(n,a,t,r);case"function":return n.prototype&&"function"==typeof n.prototype.render?O(n,a,t,r):j(n(a,r),t,r)}switch(n&&n.$$typeof){case l.$$typeof:return P(a.children,a.value,r);case u.$$typeof:return j(a.children(t||n._currentValue),t,r);case d.$$typeof:return j(n.render(a),t,r)}return""}function M(e,t,r,n={}){let a="";if("textarea"===e&&t.hasOwnProperty("value")){a=P(t.value,r,n);const{value:e,...o}=t;t=o}else t.dangerouslySetInnerHTML&&"string"==typeof t.dangerouslySetInnerHTML.__html?a=t.dangerouslySetInnerHTML.__html:void 0!==t.children&&(a=P(t.children,r,n));if(!e)return a;const o=T(t);return f.has(e)?"<"+e+o+"/>":"<"+e+o+">"+a+"</"+e+">"}function O(e,t,r,n={}){const a=new e(t,n);"function"==typeof a.getChildContext&&Object.assign(n,a.getChildContext());return j(a.render(),r,n)}function P(e,t,r={}){let n="";e=Array.isArray(e)?e:[e];for(let a=0;a<e.length;a++){n+=j(e[a],t,r)}return n}function T(e){let t="";for(const r in e){const n=w(r);if(!(0,s.isValidAttributeName)(n))continue;let a=v(r,e[r]);if(!p.has(typeof a))continue;if(b(r))continue;const o=m.has(n);if(o&&!1===a)continue;const i=o||g(r,["data-","aria-"])||h.has(n);("boolean"!=typeof a||i)&&(t+=" "+n,o||("string"==typeof a&&(a=(0,s.escapeAttribute)(a)),t+='="'+a+'"'))}return t}function A(e){if(!(0,a.isPlainObject)(e))return e;let t;for(const r in e){const n=e[r];if(null==n)continue;t?t+=";":t="";t+=S(r)+":"+_(r,n)}return t}t.default=j},98219:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isEmptyElement=void 0;t.isEmptyElement=e=>"number"!=typeof e&&("string"==typeof e?.valueOf()||Array.isArray(e)?!e.length:!e)},51889:(e,t,r)=>{"use strict";r.d(t,{$4:()=>o,fZ:()=>s,xQ:()=>i});var n=r(54715),a=r(82769);function o(e,t){return 0===t?e.toLowerCase():(0,a.l3)(e,t)}function s(e,t){return 0===t?e.toLowerCase():(0,a.$7)(e)}function i(e,t){return void 0===t&&(t={}),(0,a.fL)(e,(0,n.Cl)({transform:o},t))}},91859:(e,t,r)=>{"use strict";r.d(t,{D:()=>i,f:()=>s});var n=r(54715),a=r(2532),o=r(21644);function s(e){return(0,o.R)(e.toLowerCase())}function i(e,t){return void 0===t&&(t={}),(0,a.W)(e,(0,n.Cl)({delimiter:" ",transform:s},t))}},61433:(e,t,r)=>{"use strict";r.r(t),r.d(t,{camelCase:()=>n.xQ,camelCaseTransform:()=>n.$4,camelCaseTransformMerge:()=>n.fZ,capitalCase:()=>a.D,capitalCaseTransform:()=>a.f,constantCase:()=>o.F,dotCase:()=>s.a,headerCase:()=>i.u,noCase:()=>c.W,paramCase:()=>l.c,pascalCase:()=>u.fL,pascalCaseTransform:()=>u.l3,pascalCaseTransformMerge:()=>u.$7,pathCase:()=>d.y,sentenceCase:()=>p.o,sentenceCaseTransform:()=>p.u,snakeCase:()=>f.L});var n=r(51889),a=r(91859),o=r(55633),s=r(19382),i=r(22774),c=r(2532),l=r(74572),u=r(82769),d=r(70320),p=r(82682),f=r(68963)},55633:(e,t,r)=>{"use strict";r.d(t,{F:()=>s});var n=r(54715),a=r(2532),o=r(88415);function s(e,t){return void 0===t&&(t={}),(0,a.W)(e,(0,n.Cl)({delimiter:"_",transform:o.l},t))}},19382:(e,t,r)=>{"use strict";r.d(t,{a:()=>o});var n=r(54715),a=r(2532);function o(e,t){return void 0===t&&(t={}),(0,a.W)(e,(0,n.Cl)({delimiter:"."},t))}},22774:(e,t,r)=>{"use strict";r.d(t,{u:()=>o});var n=r(54715),a=r(91859);function o(e,t){return void 0===t&&(t={}),(0,a.D)(e,(0,n.Cl)({delimiter:"-"},t))}},21214:(e,t)=>{"use strict";function r(e){return"[object Object]"===Object.prototype.toString.call(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.isPlainObject=function(e){var t,n;return!1!==r(e)&&(void 0===(t=e.constructor)||!1!==r(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}},25700:(e,t,r)=>{"use strict";r.d(t,{g:()=>n});function n(e){return e.toLowerCase()}},44997:e=>{var t=1e3,r=60*t,n=60*r,a=24*n,o=7*a,s=365.25*a;function i(e,t,r,n){var a=t>=1.5*r;return Math.round(e/r)+" "+n+(a?"s":"")}e.exports=function(e,c){c=c||{};var l=typeof e;if("string"===l&&e.length>0)return function(e){if((e=String(e)).length>100)return;var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!i)return;var c=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return c*s;case"weeks":case"week":case"w":return c*o;case"days":case"day":case"d":return c*a;case"hours":case"hour":case"hrs":case"hr":case"h":return c*n;case"minutes":case"minute":case"mins":case"min":case"m":return c*r;case"seconds":case"second":case"secs":case"sec":case"s":return c*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:return}}(e);if("number"===l&&isFinite(e))return c.long?function(e){var o=Math.abs(e);if(o>=a)return i(e,o,a,"day");if(o>=n)return i(e,o,n,"hour");if(o>=r)return i(e,o,r,"minute");if(o>=t)return i(e,o,t,"second");return e+" ms"}(e):function(e){var o=Math.abs(e);if(o>=a)return Math.round(e/a)+"d";if(o>=n)return Math.round(e/n)+"h";if(o>=r)return Math.round(e/r)+"m";if(o>=t)return Math.round(e/t)+"s";return e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},2532:(e,t,r)=>{"use strict";r.d(t,{W:()=>s});var n=r(25700),a=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],o=/[^A-Z0-9]+/gi;function s(e,t){void 0===t&&(t={});for(var r=t.splitRegexp,s=void 0===r?a:r,c=t.stripRegexp,l=void 0===c?o:c,u=t.transform,d=void 0===u?n.g:u,p=t.delimiter,f=void 0===p?" ":p,m=i(i(e,s,"$1\0$2"),l,"\0"),h=0,y=m.length;"\0"===m.charAt(h);)h++;for(;"\0"===m.charAt(y-1);)y--;return m.slice(h,y).split("\0").map(d).join(f)}function i(e,t,r){return t instanceof RegExp?e.replace(t,r):t.reduce((function(e,t){return e.replace(t,r)}),e)}},74572:(e,t,r)=>{"use strict";r.d(t,{c:()=>o});var n=r(54715),a=r(19382);function o(e,t){return void 0===t&&(t={}),(0,a.a)(e,(0,n.Cl)({delimiter:"-"},t))}},82769:(e,t,r)=>{"use strict";r.d(t,{$7:()=>s,fL:()=>i,l3:()=>o});var n=r(54715),a=r(2532);function o(e,t){var r=e.charAt(0),n=e.substr(1).toLowerCase();return t>0&&r>="0"&&r<="9"?"_"+r+n:""+r.toUpperCase()+n}function s(e){return e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()}function i(e,t){return void 0===t&&(t={}),(0,a.W)(e,(0,n.Cl)({delimiter:"",transform:o},t))}},70320:(e,t,r)=>{"use strict";r.d(t,{y:()=>o});var n=r(54715),a=r(19382);function o(e,t){return void 0===t&&(t={}),(0,a.a)(e,(0,n.Cl)({delimiter:"/"},t))}},18950:(e,t,r)=>{"use strict";var n=r(75795);t.createRoot=n.createRoot,t.hydrateRoot=n.hydrateRoot},82682:(e,t,r)=>{"use strict";r.d(t,{o:()=>i,u:()=>s});var n=r(54715),a=r(2532),o=r(21644);function s(e,t){var r=e.toLowerCase();return 0===t?(0,o.R)(r):r}function i(e,t){return void 0===t&&(t={}),(0,a.W)(e,(0,n.Cl)({delimiter:" ",transform:s},t))}},68963:(e,t,r)=>{"use strict";r.d(t,{L:()=>o});var n=r(54715),a=r(19382);function o(e,t){return void 0===t&&(t={}),(0,a.a)(e,(0,n.Cl)({delimiter:"_"},t))}},82389:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(82170),a=r(86087),o=r(13022),s=r(79094);const i=(0,a.memo)((({playerId:e,title:t,cover:r,link:a,track:o,children:s,showEpisodeTitle:i,showCoverArt:l,showEpisodeDescription:u,colors:d})=>l||i||u?(0,n.createElement)("div",{className:"jetpack-podcast-player__header"},(0,n.createElement)("div",{className:"jetpack-podcast-player__current-track-info"},l&&r&&(0,n.createElement)("div",{className:"jetpack-podcast-player__cover"},(0,n.createElement)("img",{className:"jetpack-podcast-player__cover-image",src:r,alt:""})),i&&!!(t||o&&o.title)&&(0,n.createElement)(c,{playerId:e,title:t,link:a,track:o,colors:d})),!!(u&&o&&o.description)&&(0,n.createElement)("p",{id:`${e}__track-description`,className:"jetpack-podcast-player__track-description"},o.description),s):s)),c=(0,a.memo)((({playerId:e,title:t,link:r,track:a,colors:i={primary:{name:null,custom:null,classes:""}}})=>(0,n.createElement)("h2",{id:`${e}__title`,className:"jetpack-podcast-player__title"},!(!a||!a.title)&&(0,n.createElement)("span",{className:(0,o.A)("jetpack-podcast-player__current-track-title",i.primary.classes),style:{color:i.primary.custom}},a.title,(0,n.createElement)("a",{className:"jetpack-podcast-player__track-title-link",href:a.link||a.src,target:"_blank",rel:"noopener noreferrer nofollow"},s.A)),!!(a&&a.title&&t)&&(0,n.createElement)("span",{className:"jetpack-podcast-player--visually-hidden"}," - "),!!t&&(0,n.createElement)(l,{title:t,link:r,colors:i})))),l=(0,a.memo)((({title:e,link:t})=>(0,n.createElement)("span",{className:"jetpack-podcast-player__podcast-title"},t?(0,n.createElement)("a",{className:"jetpack-podcast-player__link",href:t,target:"_blank",rel:"noopener noreferrer nofollow"},e):{title:e}))),u=i},3750:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(82170),a=r(86087),o=r(23117),s=r(91677);const i=(0,a.memo)((({playerId:e,tracks:t,selectTrack:r,currentTrack:a,playerState:i,colors:c})=>(0,n.createElement)("ol",{className:"jetpack-podcast-player__tracks","aria-labelledby":`jetpack-podcast-player__tracklist-title--${e}`,"aria-describedby":`jetpack-podcast-player__tracklist-description--${e}`},t.map(((e,t)=>{const l=a===t;return(0,n.createElement)(s.A,{key:e.id,index:t,track:e,selectTrack:r,isActive:l,isPlaying:l&&i===o.v8,isError:l&&i===o.pF,colors:c})})))))},57162:(e,t,r)=>{"use strict";r.d(t,{A:()=>g});var n=r(82170),a=r(20195),o=r(29491),s=r(47143),i=r(86087),c=r(27723),l=r(13022),u=r(72445),d=r(23117),p=r(19812),f=r(82389),m=r(3750),h=r(81166);const __=c.__;class y extends i.Component{state={currentTrack:0,hasUserInteraction:!1};recordUserInteraction=()=>{this.state.hasUserInteraction||this.setState({hasUserInteraction:!0})};selectTrack=e=>{const{currentTrack:t}=this.state;if(t===e)return this.recordUserInteraction(),void this.props.toggleMediaSource(this.props.playerId);-1!==t&&this.props.pauseMediaSource(this.props.playerId),this.loadAndPlay(e)};loadTrack=e=>{const t=this.getTrack(e);if(!t)return!1;this.state.currentTrack!==e&&this.setState({currentTrack:e});const{title:r,link:n,description:o}=t;return this.props.updateMediaSourceData(this.props.playerId,{title:r,link:n}),(0,a.speak)(/* translators: %s is the track title. It describes the current state of the track as "Loading: [track title]". */ `${(0,c.sprintf)(__("Loading: %s","jetpack"),r)} ${o}`,"assertive"),!0};loadAndPlay=e=>{this.recordUserInteraction(),this.loadTrack(e)&&this.props.playMediaSource(this.props.playerId)};getTrack=e=>this.props.tracks[e];handleError=e=>{if(!this.state.hasUserInteraction){const t=window.navigator.userAgent.match(/Trident\/7\./)?"IE11: Playing sounds in webpages setting is not checked":e;this.setState((()=>{throw new Error(t)}))}this.props.errorMediaSource(this.props.playerId),(0,a.speak)(`${__("Error: Episode unavailable - Open in a new tab","jetpack")}`,"assertive")};handlePlay=()=>{this.props.playMediaSource(this.props.playerId),this.setState({hasUserInteraction:!0})};handlePause=()=>{this.props.pauseMediaSource(this.props.playerId),this.props.playerState!==d.pF&&this.props.pauseMediaSource(this.props.playerId)};handleTimeChange=e=>{this.props.setMediaSourceCurrentTime(this.props.playerId,e)};handleJump=()=>{this.props.setMediaSourceCurrentTime(this.props.playerId,this.props.currentTime-5)};handleSkip=()=>{this.props.setMediaSourceCurrentTime(this.props.playerId,this.props.currentTime+30)};updateMediaData=e=>{this.props.updateMediaSourceData(this.props.playerId,{duration:e.target?.duration,domId:e.target?.id})};registerPlayer(){const e=this.getTrack(this.state.currentTrack)||{},{playerId:t}=this.props;this.props.registerMediaSource(t,{title:e.title,link:e.link,state:d.vh}),this.props.setDefaultMediaSource(t)}componentDidMount(){this.props.playerId&&this.registerPlayer()}componentWillUnmount(){this.props.playerId&&this.props.unregisterMediaSource(this.props.playerId)}componentDidUpdate(e){const t=e=>e?.length?e.map((e=>e.guid)):[],r=t(this.props.tracks),n=new Set(t(e.tracks));r.length===n.size&&r.every((e=>n.has(e)))||this.loadTrack(0)}static getDerivedStateFromProps(e,t){return e.tracks.length<=t.currentTrack?{...t,currentTrack:0}:null}render(){const{playerId:e,title:t,link:r,cover:a,tracks:o,attributes:s,currentTime:i,playerState:d}=this.props,{itemsToShow:h,primaryColor:y,customPrimaryColor:g,hexPrimaryColor:b,secondaryColor:v,customSecondaryColor:C,hexSecondaryColor:k,backgroundColor:E,customBackgroundColor:w,hexBackgroundColor:S,showCoverArt:_,showEpisodeTitle:j,showEpisodeDescription:M}=s,{currentTrack:O}=this.state,P=o.slice(0,h),T=this.getTrack(O),A=(0,p.GU)({primaryColor:y,customPrimaryColor:g,secondaryColor:v,customSecondaryColor:C,backgroundColor:E,customBackgroundColor:w}),x={color:C,backgroundColor:w,"--jetpack-podcast-player-primary":b,"--jetpack-podcast-player-secondary":k,"--jetpack-podcast-player-background":S},F=(0,l.A)("jetpack-podcast-player",d,A.secondary.classes,A.background.classes);return(0,n.createElement)("section",{className:F,style:x,"aria-labelledby":t||T&&T.title?`${e}__title`:void 0,"aria-describedby":T&&T.description?`${e}__track-description`:void 0,"data-jetpack-iframe-ignore":!0},(0,n.createElement)(f.A,{playerId:e,title:t,link:r,cover:a,track:this.getTrack(O),showCoverArt:_,showEpisodeTitle:j,showEpisodeDescription:M,colors:A},(0,n.createElement)(u.A,{onJumpBack:this.handleJump,onSkipForward:this.handleSkip,trackSource:this.getTrack(O).src,onPlay:this.handlePlay,onPause:this.handlePause,onError:this.handleError,playStatus:d,currentTime:i,onTimeChange:this.handleTimeChange,onMetadataLoaded:this.updateMediaData})),P.length>1&&(0,n.createElement)(n.Fragment,null,(0,n.createElement)("h4",{id:`jetpack-podcast-player__tracklist-title--${e}`,className:"jetpack-podcast-player--visually-hidden"},(0,c.sprintf)( // translators: %s is the track title. __("Playlist: %s","jetpack"),t)),(0,n.createElement)("p",{id:`jetpack-podcast-player__tracklist-description--${e}`,className:"jetpack-podcast-player--visually-hidden"},__("Select an episode to play it in the audio player.","jetpack")),(0,n.createElement)(m.A,{playerId:e,playerState:d,currentTrack:O,tracks:P,selectTrack:this.selectTrack,colors:A})))}}y.defaultProps={title:"",cover:"",link:"",attributes:{url:null,itemsToShow:5,showCoverArt:!0,showEpisodeTitle:!0,showEpisodeDescription:!0},tracks:[]};const g=(0,o.compose)([h.A,(0,s.withSelect)(((e,t)=>{const{playerId:r}=t,{getMediaSourceCurrentTime:n,getMediaPlayerState:a}=e(d.ax);return{currentTime:n(r),playerState:a(r)}})),(0,s.withDispatch)((e=>{const{registerMediaSource:t,updateMediaSourceData:r,unregisterMediaSource:n,setDefaultMediaSource:a,playMediaSource:o,pauseMediaSource:s,toggleMediaSource:i,errorMediaSource:c,setMediaSourceCurrentTime:l}=e(d.ax);return{registerMediaSource:t,updateMediaSourceData:r,unregisterMediaSource:n,setDefaultMediaSource:a,playMediaSource:o,pauseMediaSource:s,toggleMediaSource:i,errorMediaSource:c,setMediaSourceCurrentTime:l}}))])(y)},74050:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(82170),a=r(86087),o=r(27723);const __=o.__,s=(0,a.memo)((({link:e,title:t,colors:r})=>(0,n.createElement)("div",{className:"jetpack-podcast-player__track-error"},__("Episode unavailable.","jetpack")," ",e&&(0,n.createElement)("span",{className:r.secondary.classes,style:{color:r.secondary.custom}},(0,n.createElement)("a",{className:"jetpack-podcast-player__link",href:e,rel:"noopener noreferrer nofollow",target:"_blank"},(0,n.createElement)("span",{className:"jetpack-podcast-player--visually-hidden"},`${(0,o.sprintf)(/* translators: %s is the title of the track. This text is visually hidden from the screen, but available to screen readers. */ __("%s:","jetpack"),t)} `),__("Open in a new tab","jetpack"))))))},35311:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(82170),a=r(86087),o=r(27723),s=r(62796);const __=o.__,i=(0,a.memo)((({isPlaying:e,isError:t,className:r})=>{let a,o;t?(o="error", /* translators: This is text to describe the current state. This will go before the track title, such as "Error: [The title of the track]". */ a=__("Error:","jetpack")):e&&(o="playing", /* translators: Text to describe the current state. This will go before the track title, such as "Playing: [The title of the track]". */ a=__("Playing:","jetpack"));const i=s[o];return i?(0,n.createElement)("span",{className:`${r} ${r}--${o}`},(0,n.createElement)("span",{className:"jetpack-podcast-player--visually-hidden"},`${a} `),i):(0,n.createElement)("span",{className:r})}))},91677:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(82170),a=r(86087),o=r(27723),s=r(13022),i=r(19812),c=r(74050),l=r(35311);const __=o.__,u=(0,a.memo)((({track:e,isActive:t,isPlaying:r,isError:a,selectTrack:o,index:u,colors:d={primary:{},secondary:{}}})=>{const p=(0,i.tQ)("color",d.primary.name),f=(0,i.tQ)("color",d.secondary.name),m=(0,s.A)("jetpack-podcast-player__track",{"is-active":t,"has-primary":t&&(d.primary.name||d.primary.custom),[p]:t&&!!p,"has-secondary":!t&&(d.secondary.name||d.secondary.custom),[f]:!t&&!!f}),h={};t&&d.primary.custom&&!p?h.color=d.primary.custom:t||!d.secondary.custom||f||(h.color=d.secondary.custom);const /* translators: This needs to be a single word with no spaces. It describes the current item in the group. A screen reader will announce it as "[title], current track". */ y=t?__("track","jetpack"):void 0;return(0,n.createElement)("li",{className:m,style:Object.keys(h).length?h:null},(0,n.createElement)("a",{className:"jetpack-podcast-player__link jetpack-podcast-player__track-link",href:e.link||e.src,role:"button","aria-current":y,onClick:e=>{e.shiftKey||e.metaKey||e.altKey||(e.preventDefault(),o(u))},onKeyDown:e=>{" "===event.key&&(e.preventDefault(),o(u))}},(0,n.createElement)(l.A,{className:"jetpack-podcast-player__track-status-icon",isPlaying:r,isError:a}),(0,n.createElement)("span",{className:"jetpack-podcast-player__track-title"},e.title),e.duration&&(0,n.createElement)("time",{className:"jetpack-podcast-player__track-duration",dateTime:e.duration},e.duration)),t&&a&&(0,n.createElement)(c.A,{link:e.link,title:e.title,colors:d}))}))},81166:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(82170),a=r(86087),o=r(27723);const __=o.__;function s(e){class t extends a.Component{state={didError:!1,isIE11AudioIssue:!1};componentDidCatch=(e,t)=>{this.props.onError(e,t)};static getDerivedStateFromError=e=>({didError:!0,isIE11AudioIssue:!!e.message.match(/IE11/)});render(){const{didError:t,isIE11AudioIssue:r}=this.state;return t?(0,n.createElement)("section",{className:"jetpack-podcast-player"},(0,n.createElement)("p",{className:"jetpack-podcast-player__error"},r?__('The podcast player cannot be displayed as your browser settings do not allow for sounds to be played in webpages. This can be changed in your browser’s "Internet options" settings. In the "Advanced" tab you will have to check the box next to "Play sounds in webpages" in the "Multimedia" section. Once you have confirmed that the box is checked, please press "Apply" and then reload this page.',"jetpack"):__("An unexpected error occured within the Podcast Player. Reloading this page might fix the problem.","jetpack",0))):(0,n.createElement)(e,this.props)}}return t.defaultProps={onError:()=>{}},t}},79094:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(82170),a=r(5573);const o=(0,n.createElement)(a.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,n.createElement)(a.Path,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"}))},62796:(e,t,r)=>{"use strict";r.r(t),r.d(t,{error:()=>i,playing:()=>s});var n=r(82170),a=r(5573);const o={height:"24",viewBox:"0 0 24 24",width:"24",xmlns:"http://www.w3.org/2000/svg"},s=(0,n.createElement)(a.SVG,o,(0,n.createElement)(a.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),(0,n.createElement)(a.Path,{d:"M3 9v6h4l5 5V4L7 9H3zm7-.17v6.34L7.83 13H5v-2h2.83L10 8.83zM16.5 12c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77 0-4.28-2.99-7.86-7-8.77z"})),i=(0,n.createElement)(a.SVG,o,(0,n.createElement)(a.Path,{d:"M0 0h24v24H0V0z",fill:"none"}),(0,n.createElement)(a.Path,{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}))},19812:(e,t,r)=>{"use strict";r.d(t,{GU:()=>s,tQ:()=>o});var n=r(13022),a=r(66087);function o(e,t){if(e&&t)return`has-${t}-${e}`}const s=(0,a.memoize)((({primaryColor:e,customPrimaryColor:t,secondaryColor:r,customSecondaryColor:a,backgroundColor:s,customBackgroundColor:i})=>{const c=o("color",e),l=o("color",r),u=o("background-color",s);return{primary:{name:e,custom:t,classes:(0,n.A)({"has-primary":c||t,[c]:c})},secondary:{name:r,custom:a,classes:(0,n.A)({"has-secondary":l||a,[l]:l})},background:{name:s,custom:i,classes:(0,n.A)({"has-background":u||i,[u]:u})}}}),(e=>Object.values(e).join()))},72445:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(82170),a=r(20195),o=r(86087),s=r(27723),i=r(66087),c=r(23117);const __=s.__,l="undefined"!=typeof _wpmejsSettings?_wpmejsSettings:{};function u(e,t,r){const n=document.createElement("div");n.className=e;const a=document.createElement("button");return a.innerText=t,a.addEventListener("click",r),a.setAttribute("aria-label",t),a.setAttribute("title",t),n.appendChild(a),n}const d=function({trackSource:e,onPlay:t,onPause:r,onError:s,onTimeChange:d,onSkipForward:p,onJumpBack:f,currentTime:m,playStatus:h=c.vh,onMetadataLoaded:y,loadWhenReady:g=!1,preload:b="metadata"}){const v=(0,o.useRef)(void 0),C=()=>{v.current.play().catch((()=>{}))},k=()=>{v.current.pause(),(0,a.speak)(__("Paused","jetpack"),"assertive")};return(0,o.useEffect)((()=>{MediaElementPlayer.prototype._setResponsiveMode||(MediaElementPlayer.prototype._setResponsiveMode=MediaElementPlayer.prototype.setResponsiveMode,MediaElementPlayer.prototype.setResponsiveMode=function(){const e=this;e.getElement(e.container).parentNode&&e._setResponsiveMode()})}),[]),(0,o.useEffect)((()=>{const e=v.current;e.preload=b;const n=new MediaElementPlayer(e,{...l,success:()=>g&&e?.load()});if(f||p){const e=`${n.options.classPrefix}button ${n.options.classPrefix}jump-button`;if(f){const t=`${e} ${n.options.classPrefix}jump-backward-button`;n.addControlElement(u(t,__("Jump Back","jetpack"),f),"jumpBackwardButton")}if(p){const t=`${e} ${n.options.classPrefix}skip-forward-button`;n.addControlElement(u(t,__("Skip Forward","jetpack"),p),"skipForwardButton")}}return t&&e.addEventListener("play",t),r&&e.addEventListener("pause",r),s&&e.addEventListener("error",s),y&&e.addEventListener("loadedmetadata",y),()=>{n.remove(),t&&e.removeEventListener("play",t),r&&e.removeEventListener("pause",r),s&&e.removeEventListener("error",s),y&&e.removeEventListener("loadedmetadata",y)}}),[t,r,s,f,p,y,g,b]),(0,o.useEffect)((()=>{const[e,t]=!1===v.current?.paused?[c.v8,k]:[c.vh,C],r=(0,i.debounce)(t,100);return c.pF!==h&&e!==h&&r(),()=>{r.cancel()}}),[v,h,e]),(0,o.useEffect)((()=>{if(!d)return;const e=v.current,t=(0,i.throttle)((e=>d(e)),1e3,{leading:!0,trailing:!1}),r=e=>t(e.target.currentTime);return d&&e?.addEventListener("timeupdate",r),()=>{t.cancel(),e?.removeEventListener("timeupdate",r)}}),[v,d]),(0,o.useEffect)((()=>{const e=v.current;m&&e&&Math.abs(Math.floor(m-e.currentTime))>1&&(e.currentTime=m)}),[v,m]),(0,n.createElement)("div",{className:"jetpack-audio-player"},(0,n.createElement)("audio",{src:e,ref:v}))}},79366:(e,t,r)=>{"object"==typeof window&&window.Jetpack_Block_Assets_Base_Url&&(r.p=window.Jetpack_Block_Assets_Base_Url)},23117:(e,t,r)=>{"use strict";r.d(t,{ax:()=>n,pF:()=>o,v8:()=>a,vh:()=>s});const n="jetpack/media-source",a="is-playing",o="is-error",s="is-paused"},12088:(e,t,r)=>{"use strict";var n=r(47143),a=r(23117),o=r(11267);if(void 0!==n.createReduxStore){const e=(0,n.createReduxStore)(a.ax,o.A);(0,n.register)(e)}else(0,n.registerStore)(a.ax,o.A)},11267:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(23117);const a={sources:{},default:null},o={registerMediaSource:(e,t)=>({type:"REGISTER_MEDIA_SOURCE",id:e,mediaSourceState:t}),updateMediaSourceData:(e,t)=>({type:"UPDATE_MEDIA_SOURCE_DATA",id:e,data:t}),unregisterMediaSource:e=>({type:"UNREGISTER_MEDIA_SOURCE",id:e}),setDefaultMediaSource:e=>({type:"SET_DEFAULT_MEDIA_SOURCE",id:e}),playMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:n.v8}),toggleMediaSource:e=>({type:"TOGGLE_MEDIA_PLAYER_STATE",id:e}),pauseMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:n.vh}),errorMediaSource:e=>({type:"SET_MEDIA_PLAYER_STATE",id:e,state:n.pF}),setMediaSourceCurrentTime:(e,t)=>({type:"SET_MEDIA_PLAYER_CURRENT_TIME",id:e,currentTime:t})},s={getDefaultMediaSource(e){let t=null;const r=Object.keys(e.sources);if(e.default?t=e.default:r?.length&&(t=e.sources[r[0]].id),t)return e.sources[t]},getMediaPlayerState(e,t){const r=t?e.sources?.[t]:s.getDefaultMediaSource(e);return r?.state},getMediaSourceCurrentTime(e,t){const r=t?e.sources?.[t]:s.getDefaultMediaSource(e);return r?.currentTime},getMediaSourceDuration(e,t){if(!t){const t=s.getDefaultMediaSource(e);return t?.duration}return e.sources?.[t]?.duration},getMediaSourceDomReference(e,t){const r=t?e.sources?.[t]:s.getDefaultMediaSource(e);if(!r)return;const n=r?.domId;return n?document.getElementById(n):void 0}},i={reducer(e=a,t){const r=t.id||e.default||Object.keys(e.sources)?.[0];switch(t.type){case"REGISTER_MEDIA_SOURCE":return{...e,sources:{...e.sources,[t.id]:{id:t.id,...t.mediaSourceState}}};case"UPDATE_MEDIA_SOURCE_DATA":return{...e,sources:{...e.sources,[t.id]:{...e.sources[t.id],...t.data}}};case"UNREGISTER_MEDIA_SOURCE":{const r=Object.assign({},e);return r.sources[t.id]&&delete r.sources[t.id],t.id===e.default&&(r.default=Object.keys(e.sources)?.[0]),r}case"SET_DEFAULT_MEDIA_SOURCE":return{...e,default:t.id};case"SET_MEDIA_PLAYER_STATE":return{...e,sources:{...e.sources,[r]:{...e.sources[r],state:t.state}}};case"TOGGLE_MEDIA_PLAYER_STATE":return{...e,sources:{...e.sources,[r]:{...e.sources[r],state:e.sources[r].state===n.v8?n.vh:n.v8}}};case"SET_MEDIA_PLAYER_CURRENT_TIME":return{...e,sources:{...e.sources,[r]:{...e.sources[r],currentTime:t.currentTime}}}}return e},actions:o,selectors:s}},10067:(e,t,r)=>{t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,a=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(n++,"%c"===e&&(a=n))})),t.splice(a,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG);return e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(78926)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},78926:(e,t,r)=>{e.exports=function(e){function t(e){let r,a,o,s=null;function i(...e){if(!i.enabled)return;const n=i,a=Number(new Date),o=a-(r||a);n.diff=o,n.prev=r,n.curr=a,r=a,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((r,a)=>{if("%%"===r)return"%";s++;const o=t.formatters[a];if("function"==typeof o){const t=e[s];r=o.call(n,t),e.splice(s,1),s--}return r})),t.formatArgs.call(n,e);(n.log||t.log).apply(n,e)}return i.namespace=e,i.useColors=t.useColors(),i.color=t.selectColor(e),i.extend=n,i.destroy=t.destroy,Object.defineProperty(i,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(a!==t.namespaces&&(a=t.namespaces,o=t.enabled(e)),o),set:e=>{s=e}}),"function"==typeof t.init&&t.init(i),i}function n(e,r){const n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function a(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(a),...t.skips.map(a).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),a=n.length;for(r=0;r<a;r++)n[r]&&("-"===(e=n[r].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.slice(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let r,n;for(r=0,n=t.skips.length;r<n;r++)if(t.skips[r].test(e))return!1;for(r=0,n=t.names.length;r<n;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=r(44997),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((r=>{t[r]=e[r]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},54715:(e,t,r)=>{"use strict";r.d(t,{Cl:()=>n});var n=function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var a in t=arguments[r])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},n.apply(this,arguments)};Object.create;Object.create},21644:(e,t,r)=>{"use strict";function n(e){return e.charAt(0).toUpperCase()+e.substr(1)}r.d(t,{R:()=>n})},88415:(e,t,r)=>{"use strict";r.d(t,{l:()=>n});function n(e){return e.toUpperCase()}},51609:e=>{"use strict";e.exports=window.React},75795:e=>{"use strict";e.exports=window.ReactDOM},66087:e=>{"use strict";e.exports=window.lodash},20195:e=>{"use strict";e.exports=window.wp.a11y},29491:e=>{"use strict";e.exports=window.wp.compose},47143:e=>{"use strict";e.exports=window.wp.data},86087:e=>{"use strict";e.exports=window.wp.element},89877:e=>{"use strict";e.exports=window.wp.escapeHtml},27723:e=>{"use strict";e.exports=window.wp.i18n},5573:e=>{"use strict";e.exports=window.wp.primitives},98504:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},13022:(e,t,r)=>{"use strict";function n(e){var t,r,a="";if("string"==typeof e||"number"==typeof e)a+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=n(e[t]))&&(a&&(a+=" "),a+=r)}else for(r in e)e[r]&&(a&&(a+=" "),a+=r);return a}r.d(t,{A:()=>a});const a=function(){for(var e,t,r=0,a="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=n(e))&&(a&&(a+=" "),a+=t);return a}}},t={};function r(n){var a=t[n];if(void 0!==a)return a.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var a=n.length-1;a>-1&&(!e||!/^http(s?):/.test(e));)e=n[a--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e+"../"})(),(()=>{"use strict";r(79366)})(),(()=>{"use strict";var e=r(86087),t=r(10067),n=r.n(t),a=(r(12088),r(57162));const o=n()("jetpack:podcast-player"),s={},i=function(e){e.classList.add("is-default"),e.setAttribute("data-jetpack-block-initialized","true")};document.addEventListener("DOMContentLoaded",(()=>{document.querySelectorAll(".wp-block-jetpack-podcast-player:not([data-jetpack-block-initialized])").forEach((t=>{t.classList.remove("is-default"),function(t){const r=document.getElementById(t);if(o("initializing",t,r),!r)return;if("true"===r.getAttribute("data-jetpack-block-initialized"))return;const n=r.querySelector('script[type="application/json"]');if(!n)return void i(r);let c;try{c=JSON.parse(n.text)}catch(e){return o("error parsing json",e),void i(r)}n.remove();const l=r.innerHTML;if(!c?.tracks?.length)return o("no tracks found"),void i(r);try{const n=(0,e.createRoot)(r),o=(0,e.createElement)(a.A,{...c,onError:function(){requestAnimationFrame((()=>{n.unmount(),r.innerHTML=l,i(r)}))}});n.render(o),s[t]=n}catch(e){o("unable to render",e),i(r)}r.setAttribute("data-jetpack-block-initialized","true")}(t.id)}))}))})()})();
Save Changes
Rename File
Rename