(()=>{var e={610:(e,t,a)=>{var i={"./amp-brid-player/index.js":519,"./amp-ima-video/index.js":337,"./amp-jwplayer/index.js":992,"./amp-mathml/index.js":279,"./amp-o2-player/index.js":819,"./amp-ooyala-player/index.js":1,"./amp-reach-player/index.js":475,"./amp-springboard-player/index.js":211,"./amp-timeago/index.js":831};function r(e){var t=o(e);return a(t)}function o(e){if(!a.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=o,e.exports=r,r.id=610},807:(e,t,a)=>{var i={"./amp-preview-item.js":561,"./post-status-info.js":815,"./pre-publish-panel.js":569};function r(e){var t=o(e);return a(t)}function o(e){if(!a.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=o,e.exports=r,r.id=807},519:(e,t,a)=>{"use strict";a.r(t),a.d(t,{name:()=>n,settings:()=>d});var i=a(723),r=a(715),o=a(427),s=a(95),l=a(790);const n="amp/amp-brid-player",d={title:(0,i.__)("AMP Brid Player","amp"),description:(0,i.__)("Displays the Brid Player used in Brid.tv Video Platform.","amp"),category:"embed",icon:"embed-generic",keywords:[(0,i.__)("Embed","amp")],attributes:{autoPlay:{type:"boolean"},dataPartner:{source:"attribute",selector:"amp-brid-player",attribute:"data-partner"},dataPlayer:{source:"attribute",selector:"amp-brid-player",attribute:"data-player"},dataVideo:{source:"attribute",selector:"amp-brid-player",attribute:"data-video"},dataPlaylist:{source:"attribute",selector:"amp-brid-player",attribute:"data-playlist"},dataOutstream:{source:"attribute",selector:"amp-brid-player",attribute:"data-outstream"},ampLayout:{default:"responsive",source:"attribute",selector:"amp-brid-player",attribute:"layout"},width:{type:"number",default:600},height:{default:400,source:"attribute",selector:"amp-brid-player",attribute:"height"}},edit:e=>{const{attributes:t,setAttributes:a}=e,{autoPlay:n,dataPartner:d,dataPlayer:p,dataVideo:u,dataPlaylist:m,dataOutstream:c}=t,h=[{value:"responsive",label:(0,i.__)("Responsive","amp")},{value:"fixed-height",label:(0,i.__)("Fixed Height","amp")},{value:"fixed",label:(0,i.__)("Fixed","amp")},{value:"fill",label:(0,i.__)("Fill","amp")},{value:"flex-item",label:(0,i.__)("Flex-item","amp")},{value:"nodisplay",label:(0,i.__)("No Display","amp")}];let b=!1;return d&&p&&(u||m||c)&&(b=`http://cdn.brid.tv/live/partners/${d}`),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.InspectorControls,{children:(0,l.jsxs)(o.PanelBody,{title:(0,i.__)("Brid Player Settings","amp"),children:[(0,l.jsx)(o.TextControl,{label:(0,i.__)("Partner ID (required)","amp"),value:d,onChange:e=>a({dataPartner:e})}),(0,l.jsx)(o.TextControl,{label:(0,i.__)("Player ID (required)","amp"),value:p,onChange:e=>a({dataPlayer:e})}),(0,l.jsx)(o.TextControl,{label:(0,i.__)("Video ID (one of video / playlist / outstream ID is required)","amp"),value:u,onChange:e=>a({dataVideo:e})}),(0,l.jsx)(o.TextControl,{label:(0,i.__)("Outstream unit ID (one of video / playlist / outstream ID is required)","amp"),value:c,onChange:e=>a({dataOutstream:e})}),(0,l.jsx)(o.TextControl,{label:(0,i.__)("Playlist ID (one of video / playlist / outstream ID is required)","amp"),value:m,onChange:e=>a({dataPlaylist:e})}),(0,l.jsx)(o.ToggleControl,{label:(0,i.__)("Autoplay","amp"),checked:n,onChange:()=>a({autoPlay:!n}),__nextHasNoMarginBottom:!0}),(0,l.jsx)(s.r3,{...e,ampLayoutOptions:h})]})}),b&&(0,l.jsx)(s.Ud,{name:(0,i.__)("Brid Player","amp"),url:b}),!b&&(0,l.jsx)(o.Placeholder,{label:(0,i.__)("Brid Player","amp"),children:(0,l.jsx)("p",{children:(0,i.__)("Add required data to use the block.","amp")})})]})},save:({attributes:e})=>{const{dataPlayer:t,dataOutstream:a,dataPartner:i,ampLayout:r,width:o,height:s,dataVideo:n,autoPlay:d,dataPlaylist:p}=e,u={layout:r,height:s,"data-player":t,"data-partner":i};return"fixed-height"!==r&&o&&(u.width=o),p&&(u["data-playlist"]=p),n&&(u["data-video"]=n),a&&(u["data-outstream"]=a),d&&(u.autoplay=d),(0,l.jsx)("amp-brid-player",{...u})}}},337:(e,t,a)=>{"use strict";a.r(t),a.d(t,{name:()=>n,settings:()=>d});var i=a(723),r=a(715),o=a(427),s=a(95),l=a(790);const n="amp/amp-ima-video",d={title:(0,i.__)("AMP IMA Video","amp"),description:(0,i.__)("Embeds a video player for instream video ads that are integrated with the IMA SDK","amp"),category:"embed",icon:"embed-generic",keywords:[(0,i.__)("Embed","amp")],attributes:{dataDelayAdRequest:{default:!1,source:"attribute",selector:"amp-ima-video",attribute:"data-delay-ad-request"},dataTag:{source:"attribute",selector:"amp-ima-video",attribute:"data-tag"},dataSrc:{source:"attribute",selector:"amp-ima-video",attribute:"data-src"},dataPoster:{source:"attribute",selector:"amp-ima-video",attribute:"data-poster"},ampLayout:{default:"responsive",source:"attribute",selector:"amp-ima-video",attribute:"layout"},width:{default:600,source:"attribute",selector:"amp-ima-video",attribute:"width"},height:{default:400,source:"attribute",selector:"amp-ima-video",attribute:"height"}},edit:e=>{const{attributes:t,setAttributes:a}=e,{dataDelayAdRequest:n,dataTag:d,dataSrc:p,dataPoster:u}=t,m=[{value:"responsive",label:(0,i.__)("Responsive","amp")},{value:"fixed",label:(0,i.__)("Fixed","amp")}];let c=!1;return d&&p&&(c=!0),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.InspectorControls,{children:(0,l.jsxs)(o.PanelBody,{title:(0,i.__)("IMA Video Settings","amp"),children:[(0,l.jsx)(o.TextControl,{label:(0,i.__)("HTTPS URL for your VAST ad document (required)","amp"),value:d,onChange:e=>a({dataTag:e})}),(0,l.jsx)(o.TextControl,{label:(0,i.__)("HTTPS URL of your video content (required)","amp"),value:p,onChange:e=>a({dataSrc:e})}),(0,l.jsx)(o.TextControl,{label:(0,i.__)("HTTPS URL to preview image","amp"),value:u,onChange:e=>a({dataPoster:e})}),(0,l.jsx)(o.ToggleControl,{label:(0,i.__)("Delay Ad Request","amp"),checked:n,onChange:()=>a({dataDelayAdRequest:!n}),__nextHasNoMarginBottom:!0}),(0,l.jsx)(s.r3,{...e,ampLayoutOptions:m})]})}),c&&(0,l.jsx)(s.Ud,{name:(0,i.__)("IMA Video","amp"),url:p}),!c&&(0,l.jsx)(o.Placeholder,{label:(0,i.__)("IMA Video","amp"),children:(0,l.jsx)("p",{children:(0,i.__)("Add required data to use the block.","amp")})})]})},save:({attributes:e})=>{const{width:t,dataSrc:a,ampLayout:i,dataTag:r,dataDelayAdRequest:o,height:s,dataPoster:n}=e,d={layout:i,height:s,width:t,"data-tag":r,"data-src":a};return n&&(d["data-poster"]=n),o&&(d["data-delay-ad-request"]=o),(0,l.jsx)("amp-ima-video",{...d})}}},992:(e,t,a)=>{"use strict";a.r(t),a.d(t,{name:()=>n,settings:()=>d});var i=a(723),r=a(715),o=a(427),s=a(95),l=a(790);const n="amp/amp-jwplayer",d={title:(0,i.__)("AMP JW Player","amp"),description:(0,i.__)("Displays a cloud-hosted JW Player.","amp"),category:"embed",icon:"embed-generic",keywords:[(0,i.__)("Embed","amp")],attributes:{dataPlayerId:{source:"attribute",selector:"amp-jwplayer",attribute:"data-player-id"},dataMediaId:{source:"attribute",selector:"amp-jwplayer",attribute:"data-media-id"},dataPlaylistId:{source:"attribute",selector:"amp-jwplayer",attribute:"data-playlist-id"},ampLayout:{default:"responsive",source:"attribute",selector:"amp-jwplayer",attribute:"layout"},width:{default:600,source:"attribute",selector:"amp-jwplayer",attribute:"width"},height:{default:400,source:"attribute",selector:"amp-jwplayer",attribute:"height"}},edit:e=>{const{attributes:t,setAttributes:a}=e,{dataPlayerId:n,dataMediaId:d,dataPlaylistId:p}=t,u=[{value:"responsive",label:(0,i.__)("Responsive","amp")},{value:"fixed-height",label:(0,i.__)("Fixed Height","amp")},{value:"fixed",label:(0,i.__)("Fixed","amp")},{value:"fill",label:(0,i.__)("Fill","amp")},{value:"flex-item",label:(0,i.__)("Flex-item","amp")},{value:"nodisplay",label:(0,i.__)("No Display","amp")}];let m=!1;return n&&(d||p)&&(m=p?`https://content.jwplatform.com/players/${p}-${n}`:`https://content.jwplatform.com/players/${d}-${n}`),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.InspectorControls,{children:(0,l.jsxs)(o.PanelBody,{title:(0,i.__)("JW Player Settings","amp"),children:[(0,l.jsx)(o.TextControl,{label:(0,i.__)("Player ID (required)","amp"),value:n,onChange:e=>a({dataPlayerId:e})}),(0,l.jsx)(o.TextControl,{label:(0,i.__)("Media ID (required if playlist ID not set)","amp"),value:d,onChange:e=>a({dataMediaId:e})}),(0,l.jsx)(o.TextControl,{label:(0,i.__)("Playlist ID (required if media ID not set)","amp"),value:p,onChange:e=>a({dataPlaylistId:e})}),(0,l.jsx)(s.r3,{...e,ampLayoutOptions:u})]})}),m&&(0,l.jsx)(s.Ud,{name:(0,i.__)("JW Player","amp"),url:m}),!m&&(0,l.jsx)(o.Placeholder,{label:(0,i.__)("JW Player","amp"),children:(0,l.jsx)("p",{children:(0,i.__)("Add required data to use the block.","amp")})})]})},save:({attributes:e})=>{const{width:t,height:a,ampLayout:i,dataPlaylistId:r,dataPlayerId:o,dataMediaId:s}=e,n={layout:i,height:a,"data-player-id":o};return"fixed-height"!==i&&t&&(n.width=t),r&&(n["data-playlist-id"]=r),s&&(n["data-media-id"]=s),(0,l.jsx)("amp-jwplayer",{...n})}}},279:(e,t,a)=>{"use strict";a.r(t),a.d(t,{name:()=>s,settings:()=>l});var i=a(723),r=a(715),o=a(790);const s="amp/amp-mathml",l={title:(0,i.__)("AMP MathML","amp"),category:"common",icon:"welcome-learn-more",keywords:[(0,i.__)("Mathematical formula","amp"),(0,i.__)("Scientific content","amp")],attributes:{dataFormula:{source:"attribute",selector:"amp-mathml",attribute:"data-formula"}},edit:({attributes:e,setAttributes:t})=>{const{dataFormula:a}=e;return(0,o.jsx)(r.PlainText,{value:a,placeholder:(0,i.__)("Insert formula","amp"),onChange:e=>t({dataFormula:e})})},save:({attributes:e})=>{const{dataFormula:t}=e,a={"data-formula":t,layout:"container"};return(0,o.jsx)("amp-mathml",{...a})}}},819:(e,t,a)=>{"use strict";a.r(t),a.d(t,{name:()=>n,settings:()=>d});var i=a(723),r=a(715),o=a(427),s=a(95),l=a(790);const n="amp/amp-o2-player",d={title:(0,i.__)("AMP O2 Player","amp"),category:"embed",icon:"embed-generic",keywords:[(0,i.__)("Embed","amp"),(0,i.__)("AOL O2Player","amp")],attributes:{dataPid:{source:"attribute",selector:"amp-o2-player",attribute:"data-pid"},dataVid:{source:"attribute",selector:"amp-o2-player",attribute:"data-vid"},dataBcid:{source:"attribute",selector:"amp-o2-player",attribute:"data-bcid"},dataBid:{source:"attribute",selector:"amp-o2-player",attribute:"data-bid"},autoPlay:{default:!1},ampLayout:{default:"responsive",source:"attribute",selector:"amp-o2-player",attribute:"layout"},width:{default:600,source:"attribute",selector:"amp-o2-player",attribute:"width"},height:{default:400,source:"attribute",selector:"amp-o2-player",attribute:"height"}},edit:e=>{const{attributes:t,setAttributes:a}=e,{autoPlay:n,dataPid:d,dataVid:p,dataBcid:u,dataBid:m}=t,c=[{value:"responsive",label:(0,i.__)("Responsive","amp")},{value:"fixed-height",label:(0,i.__)("Fixed Height","amp")},{value:"fixed",label:(0,i.__)("Fixed","amp")},{value:"fill",label:(0,i.__)("Fill","amp")},{value:"flex-item",label:(0,i.__)("Flex-item","amp")},{value:"nodisplay",label:(0,i.__)("No Display","amp")}];let h=!1;return d&&(u||p)&&(h=`https://delivery.vidible.tv/htmlembed/pid=${d}/`),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.InspectorControls,{children:(0,l.jsxs)(o.PanelBody,{title:(0,i.__)("O2 Player Settings","amp"),children:[(0,l.jsx)(o.TextControl,{label:(0,i.__)("Player ID (required)","amp"),value:d,onChange:e=>a({dataPid:e})}),(0,l.jsx)(o.TextControl,{label:(0,i.__)("Buyer Company ID (either buyer or video ID is required)","amp"),value:u,onChange:e=>a({dataBcid:e})}),(0,l.jsx)(o.TextControl,{label:(0,i.__)("Video ID (either buyer or video ID is required)","amp"),value:p,onChange:e=>a({dataVid:e})}),(0,l.jsx)(o.TextControl,{label:(0,i.__)("Playlist ID","amp"),value:m,onChange:e=>a({dataBid:e})}),(0,l.jsx)(o.ToggleControl,{label:(0,i.__)("Autoplay","amp"),checked:n,onChange:()=>a({autoPlay:!n}),__nextHasNoMarginBottom:!0}),(0,l.jsx)(s.r3,{...e,ampLayoutOptions:c})]})}),h&&(0,l.jsx)(s.Ud,{name:(0,i.__)("O2 Player","amp"),url:h}),!h&&(0,l.jsx)(o.Placeholder,{label:(0,i.__)("O2 Player","amp"),children:(0,l.jsx)("p",{children:(0,i.__)("Add required data to use the block.","amp")})})]})},save:({attributes:e})=>{const{dataPid:t,width:a,height:i,ampLayout:r,dataBid:o,autoPlay:s,dataBcid:n,dataVid:d}=e,p={layout:r,height:i,"data-pid":t};return"fixed-height"!==r&&a&&(p.width=a),s||(p["data-macros"]="m.playback=click"),d?p["data-vid"]=d:n&&(p["data-bcid"]=n),o&&(p["data-bid"]=o),(0,l.jsx)("amp-o2-player",{...p})}}},1:(e,t,a)=>{"use strict";a.r(t),a.d(t,{name:()=>n,settings:()=>d});var i=a(723),r=a(715),o=a(427),s=a(95),l=a(790);const n="amp/amp-ooyala-player",d={title:(0,i.__)("AMP Ooyala Player","amp"),description:(0,i.__)("Displays an Ooyala video.","amp"),category:"embed",icon:"embed-generic",keywords:[(0,i.__)("Embed","amp"),(0,i.__)("Ooyala video","amp")],attributes:{dataEmbedCode:{source:"attribute",selector:"amp-ooyala-player",attribute:"data-embedcode"},dataPlayerId:{source:"attribute",selector:"amp-ooyala-player",attribute:"data-playerid"},dataPcode:{source:"attribute",selector:"amp-ooyala-player",attribute:"data-pcode"},dataPlayerVersion:{default:"v3",source:"attribute",selector:"amp-ooyala-player",attribute:"data-playerversion"},ampLayout:{default:"responsive",source:"attribute",selector:"amp-ooyala-player",attribute:"layout"},width:{default:600,source:"attribute",selector:"amp-ooyala-player",attribute:"width"},height:{default:400,source:"attribute",selector:"amp-ooyala-player",attribute:"height"}},edit:e=>{const{attributes:t,setAttributes:a}=e,{dataEmbedCode:n,dataPlayerId:d,dataPcode:p,dataPlayerVersion:u}=t,m=[{value:"responsive",label:(0,i.__)("Responsive","amp")},{value:"fixed",label:(0,i.__)("Fixed","amp")},{value:"fill",label:(0,i.__)("Fill","amp")},{value:"flex-item",label:(0,i.__)("Flex-item","amp")}];let c=!1;return n&&d&&p&&(c=`http://cf.c.ooyala.com/${n}`),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.InspectorControls,{children:(0,l.jsxs)(o.PanelBody,{title:(0,i.__)("Ooyala Settings","amp"),children:[(0,l.jsx)(o.TextControl,{label:(0,i.__)("Video embed code (required)","amp"),value:n,onChange:e=>a({dataEmbedCode:e})}),(0,l.jsx)(o.TextControl,{label:(0,i.__)("Player ID (required)","amp"),value:d,onChange:e=>a({dataPlayerId:e})}),(0,l.jsx)(o.TextControl,{label:(0,i.__)("Provider code for the account (required)","amp"),value:p,onChange:e=>a({dataPcode:e})}),(0,l.jsx)(o.SelectControl,{label:(0,i.__)("Player version","amp"),value:u,options:[{value:"v3",label:(0,i.__)("V3","amp")},{value:"v4",label:(0,i.__)("V4","amp")}],onChange:e=>a({dataPlayerVersion:e})}),(0,l.jsx)(s.r3,{...e,ampLayoutOptions:m})]})}),c&&(0,l.jsx)(s.Ud,{name:(0,i.__)("Ooyala Player","amp"),url:c}),!c&&(0,l.jsx)(o.Placeholder,{label:(0,i.__)("Ooyala Player","amp"),children:(0,l.jsx)("p",{children:(0,i.__)("Add required data to use the block.","amp")})})]})},save:({attributes:e})=>{const{dataEmbedCode:t,dataPlayerId:a,dataPcode:i,dataPlayerVersion:r,ampLayout:o,height:s,width:n}=e,d={layout:o,height:s,"data-embedcode":t,"data-playerid":a,"data-pcode":i,"data-playerversion":r};return"fixed-height"!==o&&n&&(d.width=n),(0,l.jsx)("amp-ooyala-player",{...d})}}},475:(e,t,a)=>{"use strict";a.r(t),a.d(t,{name:()=>n,settings:()=>d});var i=a(723),r=a(715),o=a(427),s=a(95),l=a(790);const n="amp/amp-reach-player",d={title:(0,i.__)("AMP Reach Player","amp"),description:(0,i.__)("Displays the Reach Player configured in the Beachfront Reach platform.","amp"),category:"embed",icon:"embed-generic",keywords:[(0,i.__)("Embed","amp"),(0,i.__)("Beachfront Reach video","amp")],attributes:{dataEmbedId:{source:"attribute",selector:"amp-reach-player",attribute:"data-embed-id"},ampLayout:{default:"fixed-height",source:"attribute",selector:"amp-reach-player",attribute:"layout"},width:{default:600,source:"attribute",selector:"amp-reach-player",attribute:"width"},height:{default:400,source:"attribute",selector:"amp-reach-player",attribute:"height"}},edit:e=>{const{attributes:t,setAttributes:a}=e,{dataEmbedId:n}=t,d=[{value:"responsive",label:(0,i.__)("Responsive","amp")},{value:"fixed-height",label:(0,i.__)("Fixed Height","amp")},{value:"fixed",label:(0,i.__)("Fixed","amp")},{value:"fill",label:(0,i.__)("Fill","amp")},{value:"flex-item",label:(0,i.__)("Flex-item","amp")}];let p=!1;return n&&(p="https://media-cdn.beachfrontreach.com/acct_1/video/"),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.InspectorControls,{children:(0,l.jsxs)(o.PanelBody,{title:(0,i.__)("Reach Settings","amp"),children:[(0,l.jsx)(o.TextControl,{label:(0,i.__)("Embed ID (required)","amp"),value:n,onChange:e=>a({dataEmbedId:e})}),(0,l.jsx)(s.r3,{...e,ampLayoutOptions:d})]})}),p&&(0,l.jsx)(s.Ud,{name:(0,i.__)("Reach Player","amp"),url:p}),!p&&(0,l.jsx)(o.Placeholder,{label:(0,i.__)("Reach Player","amp"),children:(0,l.jsx)("p",{children:(0,i.__)("Add Reach player embed ID to use the block.","amp")})})]})},save:({attributes:e})=>{const{dataEmbedId:t,ampLayout:a,height:i,width:r}=e,o={layout:a,height:i,"data-embed-id":t};return"fixed-height"!==a&&r&&(o.width=r),(0,l.jsx)("amp-reach-player",{...o})}}},211:(e,t,a)=>{"use strict";a.r(t),a.d(t,{name:()=>n,settings:()=>d});var i=a(723),r=a(715),o=a(427),s=a(95),l=a(790);const n="amp/amp-springboard-player",d={title:(0,i.__)("AMP Springboard Player","amp"),description:(0,i.__)("Displays the Springboard Player used in the Springboard Video Platform","amp"),category:"embed",icon:"embed-generic",keywords:[(0,i.__)("Embed","amp")],attributes:{dataSiteId:{source:"attribute",selector:"amp-springboard-player",attribute:"data-site-id"},dataContentId:{source:"attribute",selector:"amp-springboard-player",attribute:"data-content-id"},dataPlayerId:{source:"attribute",selector:"amp-springboard-player",attribute:"data-player-id"},dataDomain:{source:"attribute",selector:"amp-springboard-player",attribute:"data-domain"},dataMode:{default:"video",source:"attribute",selector:"amp-springboard-player",attribute:"data-mode"},dataItems:{default:1,source:"attribute",selector:"amp-springboard-player",attribute:"data-items"},ampLayout:{default:"responsive",source:"attribute",selector:"amp-springboard-player",attribute:"layout"},width:{default:600,source:"attribute",selector:"amp-springboard-player",attribute:"width"},height:{default:400,source:"attribute",selector:"amp-springboard-player",attribute:"height"}},edit:e=>{const{attributes:t,setAttributes:a}=e,{dataSiteId:n,dataPlayerId:d,dataContentId:p,dataDomain:u,dataMode:m,dataItems:c}=t,h=[{value:"responsive",label:(0,i.__)("Responsive","amp")},{value:"fixed",label:(0,i.__)("Fixed","amp")},{value:"fill",label:(0,i.__)("Fill","amp")},{value:"flex-item",label:(0,i.__)("Flex-item","amp")}];let b=!1;return n&&p&&u&&m&&c&&(b="https://cms.springboardplatform.com/embed_iframe/"),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.InspectorControls,{children:(0,l.jsxs)(o.PanelBody,{title:(0,i.__)("Springboard Player Settings","amp"),children:[(0,l.jsx)(o.TextControl,{label:(0,i.__)("Site ID (required)","amp"),value:n,onChange:e=>a({dataSiteId:e})}),(0,l.jsx)(o.TextControl,{label:(0,i.__)("Content ID (required)","amp"),value:p,onChange:e=>a({dataContentId:e})}),(0,l.jsx)(o.TextControl,{label:(0,i.__)("Player ID","amp"),value:d,onChange:e=>a({dataPlayerId:e})}),(0,l.jsx)(o.TextControl,{label:(0,i.__)("Springboard partner domain","amp"),value:u,onChange:e=>a({dataDomain:e})}),(0,l.jsx)(o.SelectControl,{label:(0,i.__)("Mode (required)","amp"),value:m,options:[{value:"video",label:(0,i.__)("Video","amp")},{value:"playlist",label:(0,i.__)("Playlist","amp")}],onChange:e=>a({dataMode:e})}),(0,l.jsx)(o.TextControl,{type:"number",label:(0,i.__)("Number of video is playlist (required)","amp"),value:c,onChange:e=>a({dataItems:e})}),(0,l.jsx)(s.r3,{...e,ampLayoutOptions:h})]})}),b&&(0,l.jsx)(s.Ud,{name:(0,i.__)("Springboard Player","amp"),url:b}),!b&&(0,l.jsx)(o.Placeholder,{label:(0,i.__)("Springboard Player","amp"),children:(0,l.jsx)("p",{children:(0,i.__)("Add required data to use the block.","amp")})})]})},save:({attributes:e})=>{const{dataSiteId:t,dataPlayerId:a,dataContentId:i,dataDomain:r,dataMode:o,dataItems:s,ampLayout:n,height:d,width:p}=e,u={layout:n,height:d,"data-site-id":t,"data-mode":o,"data-content-id":i,"data-player-id":a,"data-domain":r,"data-items":s};return"fixed-height"!==n&&p&&(u.width=e.width),(0,l.jsx)("amp-springboard-player",{...u})}}},831:(e,t,a)=>{"use strict";a.r(t),a.d(t,{name:()=>p,settings:()=>u});var i=a(723);const r=window.moment;var o=a.n(r),s=a(715),l=a(427),n=a(95),d=a(790);const p="amp/amp-timeago",u={title:(0,i.__)("AMP Timeago","amp"),category:"common",icon:"backup",keywords:[(0,i.__)("Time difference","amp"),(0,i.__)("Time ago","amp"),(0,i.__)("Date","amp")],attributes:{align:{type:"string"},cutoff:{source:"attribute",selector:"amp-timeago",attribute:"cutoff"},dateTime:{source:"attribute",selector:"amp-timeago",attribute:"datetime"},ampLayout:{default:"fixed-height",source:"attribute",selector:"amp-timeago",attribute:"layout"},width:{source:"attribute",selector:"amp-timeago",attribute:"width"},height:{default:20,source:"attribute",selector:"amp-timeago",attribute:"height"}},getEditWrapperProps(e){const{align:t}=e;if("left"===t||"right"===t||"center"===t)return{"data-align":t}},edit:e=>{const{attributes:t,setAttributes:a}=e,{align:r,cutoff:p,dateTime:u}=t;let m;u?m=p&&parseInt(p)a({dateTime:o()(e,o().ISO_8601,!0).format()})}),(0,d.jsx)(n.r3,{...e,ampLayoutOptions:c}),(0,d.jsx)(l.TextControl,{type:"number",className:"blocks-amp-timeout__cutoff",label:(0,i.__)("Cutoff (seconds)","amp"),value:void 0!==p?p:"",onChange:e=>a({cutoff:e})})]})}),(0,d.jsx)(s.BlockControls,{children:(0,d.jsx)(s.BlockAlignmentToolbar,{value:r,onChange:e=>{a({align:e})},controls:["left","center","right"]})}),(0,d.jsx)("time",{dateTime:u,children:m})]})},save:({attributes:e})=>{const{ampLayout:t,width:a,height:i,align:r,cutoff:s,dateTime:l}=e,n={layout:"responsive",className:"align"+(r||"none"),datetime:l,locale:"en"};if(s&&(n.cutoff=s),t)switch(t){case"fixed-height":i&&(n.height=i,n.layout=t);break;case"fixed":i&&a&&(n.height=i,n.width=a,n.layout=t)}return(0,d.jsx)("amp-timeago",{...n,children:o()(e.dateTime).format("dddd D MMMM HH:mm")})}}},95:(e,t,a)=>{"use strict";a.d(t,{r3:()=>l,Ud:()=>s,QU:()=>p});var i=a(427),r=a(723),o=a(790);const s=({name:e,url:t})=>(0,o.jsxs)(i.Placeholder,{label:e,children:[(0,o.jsx)("p",{className:"components-placeholder__error",children:t}),(0,o.jsx)("p",{className:"components-placeholder__error",children:(0,r.__)("Previews for this are unavailable in the editor, sorry!","amp")})]}),l=({attributes:e,setAttributes:t,ampLayoutOptions:a})=>{const{ampLayout:s,height:l,width:n}=e,d=!l&&("fixed"===s||"fixed-height"===s),p=!n&&"fixed"===s;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(i.SelectControl,{label:(0,r.__)("Layout","amp"),value:s,options:a,onChange:e=>t({ampLayout:e})}),p&&(0,o.jsx)(i.Notice,{status:"error",isDismissible:!1,children:(0,r.sprintf)(/* translators: %s is the layout name */ /* translators: %s is the layout name */ (0,r.__)("Width is required for %s layout","amp"),s)}),(0,o.jsx)(i.TextControl,{type:"number",label:(0,r.__)("Width (px)","amp"),value:void 0!==n?n:"",onChange:e=>t({width:e})}),d&&(0,o.jsx)(i.Notice,{status:"error",isDismissible:!1,children:(0,r.sprintf)(/* translators: %s is the layout name */ /* translators: %s is the layout name */ (0,r.__)("Height is required for %s layout","amp"),s)}),(0,o.jsx)(i.TextControl,{type:"number",label:(0,r.__)("Height (px)","amp"),value:l,onChange:e=>t({height:e})})]})};var n=a(87),d=a(666);const p=(e,t)=>{if(!(0,n.isFunction)(e))return e;const{width:a,height:i}=t,r=()=>{const{wp:e}=window;return e.media.view.MediaFrame.Select.extend({createSelectToolbar(e,t){(t=t||this.options.button||{}).controller=this,t={...t,allowedTypes:(0,n.get)(this,["options","allowedTypes"],null)},e.view=new d.Hi(t)},featuredImageToolbar(t){this.createSelectToolbar(t,{text:e.media.view.l10n.setFeaturedImage,state:this.options.state})},editState(){const t=this.state("featured-image").get("selection"),a=new e.media.view.EditImage({model:t.single(),controller:this}).render();this.content.set(a),a.loadEditor()},createStates:function(){this.on("toolbar:create:featured-image",this.featuredImageToolbar,this),this.on("content:render:edit-image",this.editState,this);const t=e.media.controller.FeaturedImage.extend({defaults:{...e.media.controller.FeaturedImage.prototype.defaults,date:!1,filterable:!1,suggestedWidth:a,suggestedHeight:i}});this.states.add([new t,new e.media.controller.EditImage({model:this.options.editImage})])}})};return class extends e{buildAndSetFeatureImageFrame(){const{wp:e}=window,t=r(),a=(e=>{const{wp:t}=window;return t.media.query({order:"ASC",orderby:"post__in",post__in:e,posts_per_page:-1,query:!0,type:"image"})})(this.props.value),i=new e.media.model.Selection(a.models,{props:a.props.toJSON()});this.frame=new t({mimeType:this.props.allowedTypes,state:"featured-image",multiple:this.props.multiple,selection:i,editing:Boolean(this.props.value)}),e.media.frame=this.frame}}}},644:(e,t,a)=>{"use strict";a.d(t,{VP:()=>m,XL:()=>b,y9:()=>f,f3:()=>c,V9:()=>h});var i=a(87),r=a(723),o=a(427),s=a(715),l=a(143),n=a(468);const d=["core/paragraph","core/heading","core/code","core/quote","core/subhead"];var p=a(707),u=a(790);const m=(e,t)=>(0,i.isObject)(e)&&(0,i.isString)(t)?("core/gallery"===t&&(e.attributes||(e.attributes={}),e.attributes.ampCarousel={type:"boolean",default:!(0,l.select)("amp/block-editor")?.hasThemeSupport()},e.attributes.ampLightbox={type:"boolean",default:!1}),"core/image"===t&&(e.attributes||(e.attributes={}),e.attributes.ampLightbox={type:"boolean",default:!1}),e):e,c=(e,t)=>{if(!(0,i.isObject)(e)||!(0,i.isString)(t))return e;if(d.includes(t)){e.deprecated||(e.deprecated=[]);for(const t of e.deprecated)if(t.attributes&&t.attributes.ampFitText)return e;e.deprecated.push({supports:e.supports,attributes:{...e.attributes||{},ampFitText:{type:"boolean",default:!1},minFont:{default:p.v0,source:"attribute",selector:"amp-fit-text",attribute:"min-font-size"},maxFont:{default:p.l6,source:"attribute",selector:"amp-fit-text",attribute:"max-font-size"},height:{default:"core/image"===t?200:10*Math.ceil(p.l6/10),source:"attribute",selector:"amp-fit-text",attribute:"height"}},save(t){const{attributes:a}=t,i={layout:"fixed-height"};return a.minFont&&(i["min-font-size"]=a.minFont),a.maxFont&&(i["max-font-size"]=a.maxFont),a.height&&(i.height=a.height),i.children=e.save(t),(0,u.jsx)("amp-fit-text",{...i})},isEligible:({ampFitText:e})=>void 0!==e,migrate:e=>(["ampFitText","minFont","maxFont","height"].forEach((t=>delete e[t])),e)})}return e},h=e=>{if((0,n.isValidElement)(e)&&"amp-fit-text"===e.type&&void 0!==e.props.className){const{className:t,...a}=e.props;a.className=null,e=(0,n.cloneElement)(e,a)}return e},b=e=>(0,i.isFunction)(e)?t=>{const{isSelected:a,name:i}=t;return a&&"core/image"===i?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(e,{...t}),(0,u.jsx)(y,{...t})]}):a&&"core/gallery"===i?(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)(e,{...t}),(0,u.jsx)(x,{...t})]}):(0,u.jsx)(e,{...t})}:e,g=e=>{const{attributes:{ampLightbox:t,linkTo:a},setAttributes:i}=e;return(0,u.jsx)(o.ToggleControl,{label:(0,r.__)("Add lightbox effect","amp"),checked:t,onChange:e=>{i({ampLightbox:!t}),e&&a&&"none"!==a&&i({linkTo:"none"})},__nextHasNoMarginBottom:!0})},_=e=>{const{attributes:{ampCarousel:t},setAttributes:a}=e;return(0,u.jsx)(o.ToggleControl,{label:(0,r.__)("Display as carousel","amp"),checked:t,onChange:()=>a({ampCarousel:!t}),__nextHasNoMarginBottom:!0})},y=e=>{const{clientId:t}=e;return(0,l.useSelect)((e=>e("core/block-editor").getBlockParentsByBlockName(t,"core/gallery").length>0),[t])?null:(0,u.jsx)(s.InspectorControls,{children:(0,u.jsx)(o.PanelBody,{title:(0,r.__)("AMP Settings","amp"),children:(0,u.jsx)(g,{...e})})})},x=e=>(0,u.jsx)(s.InspectorAdvancedControls,{children:(0,u.jsxs)(o.BaseControl,{__nextHasNoMarginBottom:!0,children:[(0,u.jsx)(o.BaseControl.VisualLabel,{children:(0,r.__)("AMP Settings","amp")}),(0,u.jsx)(g,{...e}),(0,u.jsx)(_,{...e})]})}),f=()=>{const{getEditedPostAttribute:e}=(0,l.select)("core/editor");return e("amp_enabled")||!1}},561:(e,t,a)=>{"use strict";a.r(t),a.d(t,{icon:()=>_,name:()=>g,onlyPaired:()=>y,render:()=>x});const i=window.wp.primitives;var r=a(790);const o=({viewBox:e="0 0 62 62",height:t="62px",width:a="62px"})=>(0,r.jsx)(i.SVG,{width:a,height:t,viewBox:e,version:"1.1",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)(i.G,{id:"AMP-Icon",fill:"#82878c",children:(0,r.jsx)(i.Path,{d:"M41.6288667,28.1614333 L28.6243667,49.8035667 L26.2683667,49.8035667 L28.5975,35.7016667 L21.3838,35.7109667 C21.3838,35.7109667 21.3156,35.7130333 21.2835667,35.7130333 C20.6336,35.7130333 20.1076333,35.1870667 20.1076333,34.5371 C20.1076333,34.2581 20.367,33.7858667 20.367,33.7858667 L33.3291333,12.1695667 L35.7244,12.1799 L33.3363667,26.3035 L40.5872667,26.2942 C40.5872667,26.2942 40.6647667,26.2931667 40.7019667,26.2931667 C41.3519333,26.2931667 41.8779,26.8191333 41.8779,27.4691 C41.8779,27.7326 41.7745667,27.9640667 41.6278333,28.1604 L41.6288667,28.1614333 Z M31,0 C13.8787,0 0,13.8797333 0,31 C0,48.1213 13.8787,62 31,62 C48.1202667,62 62,48.1213 62,31 C62,13.8797333 48.1202667,0 31,0 L31,0 Z",id:"Fill-1"})})}),s=({viewBox:e="0 0 98 98"})=>(0,r.jsxs)(i.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:e,children:[(0,r.jsx)(i.Path,{class:"outer",d:"M48 12c19.9 0 36 16.1 36 36S67.9 84 48 84 12 67.9 12 48s16.1-36 36-36",fill:"none"}),(0,r.jsx)(i.Path,{class:"inner",transform:"translate(33, 33)",d:"M15,0 C23.2845834,0 30,6.71583331 30,15 C30,23.2841667 23.2845834,30 15,30 C6.71583335,30 0,23.2841667 0,15 C0,6.71583331 6.71583335,0 15,0 Z M13.8508333,24.0979167 L20.1429167,13.6258333 C20.2141667,13.5308333 20.26375,13.41875 20.26375,13.29125 C20.26375,12.9766667 20.0091667,12.7220833 19.695,12.7220833 C19.6770834,12.7220833 19.6391667,12.7229167 19.6391667,12.7229167 L16.1308334,12.7270833 L17.28625,5.89291666 L16.1270833,5.88833331 L9.85541665,16.3479167 C9.85541665,16.3479167 9.72958334,16.57625 9.72958334,16.71125 C9.72958334,17.0254167 9.98458332,17.2804167 10.29875,17.2804167 C10.3145833,17.2804167 10.3475,17.2795833 10.3475,17.2795833 L13.8379167,17.2745833 L12.7108333,24.0979167 L13.8508333,24.0979167 Z",fill:"none"})]});var l=a(656),n=a(427),d=a(491),p=a(143),u=a(468),m=a(723),c=a(644);class h extends u.Component{constructor(...e){super(...e),this.itemRef=(0,u.createRef)(),this.openPreviewWindow=this.openPreviewWindow.bind(this)}componentDidUpdate(e){const{previewLink:t}=this.props;t&&!e.previewLink&&this.setPreviewWindowLink(t)}setPreviewWindowLink(e){const{previewWindow:t}=this;t&&!t.closed&&(t.location=e,this.itemRef.current&&this.itemRef.current.focus())}getWindowTarget(){const{postId:e}=this.props;return`amp-preview-${e}`}openPreviewWindow(e){e.preventDefault();const{target:t}=e;this.previewWindow&&!this.previewWindow.closed||(this.previewWindow=window.open("",this.getWindowTarget())),this.previewWindow.focus(),this.props.isAutosaveable?(this.props.isDraft?this.props.savePost({isPreview:!0}):this.props.autosave({isPreview:!0}),function(e){let t=(0,u.renderToString)((0,r.jsxs)("div",{className:"editor-post-preview-button__interstitial-message",children:[(0,r.jsx)(n.Icon,{icon:(0,r.jsx)(s,{viewBox:"0 0 98 98"})}),(0,r.jsx)("p",{children:(0,m.__)("Generating AMP preview…","amp")})]}));t+='\n\t\t\n\t',e.write(t),e.title=(0,m.__)("Generating AMP preview…","amp"),e.close()}(this.previewWindow.document)):this.setPreviewWindowLink(t.href)}render(){const{previewLink:e,currentPostLink:t,errorMessages:a,isEnabled:i,isStandardMode:o}=this.props,s=e||t;return"function"!=typeof l.PluginPreviewMenuItem?null:i&&!a.length&&!o&&(0,r.jsxs)(l.PluginPreviewMenuItem,{className:"amp-editor-post-preview",title:(0,m.__)("Preview AMP","amp"),onClick:this.openPreviewWindow,href:s,children:[/* translators: Button label for the AMP preview button */ /* translators: Button label for the AMP preview button */ (0,m.__)("Preview AMP","amp"),(0,r.jsx)(n.VisuallyHidden,{as:"span",children:/* translators: accessibility text */ /* translators: accessibility text */ (0,m.__)("(opens in a new tab)","amp")})]})}}const b=(0,d.compose)([(0,p.withSelect)(((e,{forcePreviewLink:t,forceIsAutosaveable:a})=>{const{getCurrentPostId:i,getEditedPostAttribute:r,isEditedPostSaveable:o,isEditedPostAutosaveable:s,getEditedPostPreviewLink:l}=e("core/editor"),{getAmpUrl:n,getAmpPreviewLink:d,getErrorMessages:p,isStandardMode:u}=e("amp/block-editor"),m=l(),h=m?((e,t)=>{const a=new URL(e),i=new URL(t);for(const[e,t]of a.searchParams.entries())i.searchParams.set(e,t);return i.href})(m,d()):void 0;return{postId:i(),currentPostLink:n(),previewLink:void 0!==t?t:h,isSaveable:o(),isAutosaveable:a||s(),isDraft:-1!==["draft","auto-draft"].indexOf(r("status")),isEnabled:(0,c.y9)(),errorMessages:p(),isStandardMode:u()}})),(0,p.withDispatch)((e=>({autosave:e("core/editor").autosave,savePost:e("core/editor").savePost})))])(h),g="amp-preview-menu-item",_=(0,r.jsx)(o,{viewBox:"0 0 62 62",height:18,width:18}),y=!0,x=b},815:(e,t,a)=>{"use strict";a.r(t),a.d(t,{name:()=>p,render:()=>u});var i=a(309),r=a(143),o=a(723),s=a(427),l=a(468),n=a(790);function d(){const{isAMPEnabled:e,toggleAMP:t}=function(){const e=(0,r.useSelect)((e=>e("core/editor").getEditedPostAttribute("amp_enabled")||!1),[]),{editPost:t}=(0,r.useDispatch)("core/editor");return{isAMPEnabled:e,toggleAMP:()=>t({amp_enabled:!e})}}(),a=(0,l.useRef)(`amp-toggle-${Math.random().toString(32).substr(-4)}`);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("label",{htmlFor:a.current,children:(0,o.__)("Enable AMP","amp")}),(0,n.jsx)(s.FormToggle,{checked:e,onChange:t,id:a.current})]})}const p="amp-post-status-info",u=function(){return(0,r.useSelect)((e=>e("amp/block-editor").isDevToolsEnabled()),[])?null:(0,n.jsx)(i.PluginPostStatusInfo,{children:(0,n.jsx)(d,{})})}},569:(e,t,a)=>{"use strict";a.r(t),a.d(t,{name:()=>o,render:()=>s});var i=a(48),r=a(790);const o="amp-post-featured-image-pre-publish-panel",s=()=>(0,r.jsx)(i.J6,{})},48:(e,t,a)=>{"use strict";a.d(t,{J6:()=>l,Iv:()=>c});var i=a(656),r=a(309),o=a(723),s=a(790);const l=()=>(0,s.jsx)(r.PluginPrePublishPanel,{title:(0,o.__)("Featured Image","amp"),initialOpen:"true",children:(0,s.jsx)(i.PostFeaturedImage,{})});var n=a(87),d=a(491),p=a(427),u=a(739);const m=(e,t)=>(0,s.jsx)(p.Notice,{status:t,isDismissible:!1,children:e.map(((e,t)=>(0,s.jsx)("p",{children:e},`message-${t}`)))}),c=(0,d.createHigherOrderComponent)((e=>(0,n.isFunction)(e)?t=>{const{media:a}=t;let i;if(a){const e=(0,u.O$)(a,(0,u.pU)());i=e?m(e,"warning"):null}else{const e=(0,o.__)("Selecting a featured image is recommended for an optimal user experience.","amp");i=m([e],"notice")}return(0,s.jsx)(e,{...t,noticeUI:i})}:e),"withFeaturedImageNotice");a(666);const{wp:h}=window},666:(e,t,a)=>{"use strict";a.d(t,{Hi:()=>d}),a(87);var i=a(723),r=a(739);const{wp:o}=window,s="notice notice-warning notice-alt inline",l=o.media.View.extend({className:s,template:(()=>{let e=(0,i.sprintf)(/* translators: 1: image width in pixels. 2: image height in pixels. */ /* translators: 1: image width in pixels. 2: image height in pixels. */ (0,i.__)("The selected image is too small (%1$s by %2$s pixels).","amp"),"{{width}}","{{height}}");return e+=" <# if ( minWidth && minHeight ) { #>",e+=(0,i.sprintf)(/* translators: 1: required minimum width in pixels. 2: required minimum height in pixels. */ /* translators: 1: required minimum width in pixels. 2: required minimum height in pixels. */ (0,i.__)("It should have a size of at least %1$s by %2$s pixels.","amp"),"{{minWidth}}","{{minHeight}}"),e+="<# } else if ( minWidth ) { #>",e+=(0,i.sprintf)(/* translators: placeholder is required minimum width in pixels. */ /* translators: placeholder is required minimum width in pixels. */ (0,i.__)("It should have a width of at least %s pixels.","amp"),"{{minWidth}}"),e+="<# } else if ( minHeight ) { #>",e+=(0,i.sprintf)(/* translators: placeholder is required minimum height in pixels. */ /* translators: placeholder is required minimum height in pixels. */ (0,i.__)("It should have a height of at least %s pixels.","amp"),"{{minHeight}}"),e+="<# } #>",(0,r.h4)(e)})()}),n=o.media.View.extend({className:"notice notice-warning notice-alt inline",template:(()=>{const e=(0,i.sprintf)(/* translators: 1: the selected file type. */ /* translators: 1: the selected file type. */ (0,i.__)("The selected file mime type, %1$s, is not allowed.","amp"),"{{mimeType}}");return(0,r.h4)(e)})()}),d=(o.media.View.extend({className:s,template:(()=>{const e=(0,i.sprintf)(/* translators: 1: the recommended max MB per second for videos. 2: the actual MB per second of the video. */ /* translators: 1: the recommended max MB per second for videos. 2: the actual MB per second of the video. */ (0,i.__)("A video size of less than %1$s MB per second is recommended. The selected video is %2$s MB per second.","amp"),"{{maxVideoMegabytesPerSecond}}","{{actualVideoMegabytesPerSecond}}");return(0,r.h4)(e)})()}),o.media.view.Toolbar.Select.extend({refresh(){o.media.view.Toolbar.Select.prototype.refresh.call(this);const e=this.controller.state(),t=e.get("selection").models[0],a=e.collection.get("featured-image").get("suggestedWidth"),i=e.collection.get("featured-image").get("suggestedHeight");t&&"image"===t.get("type")&&t.get("width")&&!(0,r.Wy)({width:t.get("width"),height:t.get("height")},{width:a,height:i})?this.secondary.set("select-error",new l({minWidth:a,minHeight:i,width:t.get("width"),height:t.get("height")})):this.secondary.unset("select-error"),r.PM.call(this,t,n)}}));o.media.view.Toolbar.Select.extend({refresh(){o.media.view.Toolbar.Select.prototype.refresh.call(this);const e=this.controller.state().get("selection").models[0];r.PM.call(this,e,n)}})},707:(e,t,a)=>{"use strict";a.d(t,{bM:()=>o,l6:()=>r,v0:()=>i});const i=6,r=72,o="select-file-type-error"},739:(e,t,a)=>{"use strict";a.d(t,{PM:()=>u,pU:()=>n,h4:()=>p,Wy:()=>l,O$:()=>d});var i=a(87);const r=ampBlockEditor;var o=a(723),s=a(707);const l=(e,t)=>{if(!e||!e.width||!e.height)return!1;const{width:a,height:i}=t;return(!a||e.width>=a)&&(!i||e.height>=i)},n=()=>({width:r.featuredImageMinimumWidth,height:r.featuredImageMinimumHeight}),d=(e,t)=>{if(!e)return[(0,o.__)("Selecting a featured image is required.","amp")];const a=[];if(["image/png","image/gif","image/jpeg","image/webp","image/svg+xml"].includes(e.mime_type)||a.push((0,o.sprintf)(/* translators: List of image formats */ /* translators: List of image formats */ (0,o.__)("The featured image must be of either %1$s, %2$s, %3$s, %4$s, or %5$s format.","amp"),"JPEG","PNG","GIF","WebP","SVG")),!l(e.media_details,t)){const{width:e,height:i}=t;e&&i?a.push((0,o.sprintf)(/* translators: 1: minimum width, 2: minimum height. */ /* translators: 1: minimum width, 2: minimum height. */ (0,o.__)("The featured image should have a size of at least %1$s by %2$s pixels.","amp"),Math.ceil(e),Math.ceil(i))):t.width?a.push((0,o.sprintf)(/* translators: placeholder is minimum width. */ /* translators: placeholder is minimum width. */ (0,o.__)("The featured image should have a width of at least %s pixels.","amp"),Math.ceil(e))):t.height&&a.push((0,o.sprintf)(/* translators: placeholder is minimum height. */ /* translators: placeholder is minimum height. */ (0,o.__)("The featured image should have a height of at least %s pixels.","amp"),Math.ceil(i)))}return 0===a.length?null:a},p=e=>{const t=(0,i.template)(`

${e}

`,{evaluate:/<#([\s\S]+?)#>/g,interpolate:/\{\{\{([\s\S]+?)\}\}\}/g,escape:/\{\{([^\}]+?)\}\}(?!\})/g});return e=>t(e)},u=function(e,t){if(!e)return;const a=(0,i.get)(this,["options","allowedTypes"],null),r=this.get("select");a&&e.get("type")&&!((e,t)=>{const a=e.get("type"),i=e.get("mime");return!(!t.includes(a)&&!t.includes(i))&&"video"!==a})(e,a)?(this.secondary.set(s.bM,new t({mimeType:e.get("mime")})),r&&r.model&&r.model.set("disabled",!0)):(this.secondary.unset(s.bM),r&&r.model&&r.model.set("disabled",!1))}},790:e=>{"use strict";e.exports=window.ReactJSXRuntime},87:e=>{"use strict";e.exports=window.lodash},715:e=>{"use strict";e.exports=window.wp.blockEditor},427:e=>{"use strict";e.exports=window.wp.components},491:e=>{"use strict";e.exports=window.wp.compose},143:e=>{"use strict";e.exports=window.wp.data},309:e=>{"use strict";e.exports=window.wp.editPost},656:e=>{"use strict";e.exports=window.wp.editor},468:e=>{"use strict";e.exports=window.wp.element},723:e=>{"use strict";e.exports=window.wp.i18n}},t={};function a(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={exports:{}};return e[i](o,o.exports,a),o.exports}a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var i in t)a.o(t,i)&&!a.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e={};a.r(e),a.d(e,{getAmpBlocksInUse:()=>g,getAmpPreviewLink:()=>h,getAmpUrl:()=>b,getErrorMessages:()=>c,hasThemeSupport:()=>p,isDevToolsEnabled:()=>u,isStandardMode:()=>m});const t=window.wp.hooks,i=window.wp.plugins,r=window.wp.blocks;var o=a(143),s=a(48),l=a(739),n=a(95),d=a(644);function p(e){return Boolean(e.hasThemeSupport)}function u(e){return e.isDevToolsEnabled}function m(e){return Boolean(e.isStandardMode)}function c(e){return e.errorMessages}function h(e){return e.ampPreviewLink}function b(e){return e.ampUrl}function g(e){return e.ampBlocksInUse}(0,o.register)((0,o.createReduxStore)("amp/block-editor",{reducer:e=>e,selectors:e,initialState:{...window.ampBlockEditor}}));const{isStandardMode:_,getAmpBlocksInUse:y}=(0,o.select)("amp/block-editor"),x=a(807);x.keys().forEach((e=>{const{name:t,render:a,icon:r,onlyPaired:o=!1}=x(e);o&&_()||(0,i.registerPlugin)(t,{icon:r,render:a})})),(0,t.addFilter)("blocks.registerBlockType","ampEditorBlocks/addAttributes",d.VP),(0,t.addFilter)("blocks.registerBlockType","ampEditorBlocks/deprecateAmpFitText",d.f3),(0,t.addFilter)("blocks.getSaveElement","ampEditorBlocks/deprecateAmpFitText/removeMiscAttrs",d.V9),(0,t.addFilter)("editor.BlockEdit","ampEditorBlocks/filterEdit",d.XL,20),(0,t.addFilter)("editor.PostFeaturedImage","ampEditorBlocks/withFeaturedImageNotice",s.Iv),(0,t.addFilter)("editor.MediaUpload","ampEditorBlocks/withMediaLibraryNotice",(e=>(0,n.QU)(e,(0,l.pU)())));const f=y(),v=a(610);v.keys().forEach((e=>{const{name:t,settings:a}=v(e);_()&&f.includes(t)&&(0,r.registerBlockType)(t,a)}))})()})();(()=>{var e={576:function(e){var t;t=function(){return function(){var e={686:function(e,t,n){"use strict";n.d(t,{default:function(){return E}});var r=n(279),o=n.n(r),c=n(370),i=n.n(c),a=n(817),u=n.n(a);function l(e){try{return document.execCommand(e)}catch(e){return!1}}var s=function(e){var t=u()(e);return l("cut"),t},d=function(e,t){var n=function(e){var t="rtl"===document.documentElement.getAttribute("dir"),n=document.createElement("textarea");n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[t?"right":"left"]="-9999px";var r=window.pageYOffset||document.documentElement.scrollTop;return n.style.top="".concat(r,"px"),n.setAttribute("readonly",""),n.value=e,n}(e);t.container.appendChild(n);var r=u()(n);return l("copy"),n.remove(),r},f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"==typeof e?n=d(e,t):e instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==e?void 0:e.type)?n=d(e.value,t):(n=u()(e),l("copy")),n};function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function m(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===y(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=i()(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget,n=this.action(t)||"copy",r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.action,n=void 0===t?"copy":t,r=e.container,o=e.target,c=e.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==o){if(!o||"object"!==p(o)||1!==o.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&o.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(o.hasAttribute("readonly")||o.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return c?f(c,{container:r}):o?"cut"===n?s(o):f(o,{container:r}):void 0}({action:n,container:this.container,target:this.target(t),text:this.text(t)});this.emit(r?"success":"error",{action:n,text:r,trigger:t,clearSelection:function(){t&&t.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(e){return g("action",e)}},{key:"defaultTarget",value:function(e){var t=g("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return g("text",e)}},{key:"destroy",value:function(){this.listener.destroy()}}],r=[{key:"copy",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return f(e,t)}},{key:"cut",value:function(e){return s(e)}},{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}],n&&m(t.prototype,n),r&&m(t,r),u}(o()),E=b},828:function(e){if("undefined"!=typeof Element&&!Element.prototype.matches){var t=Element.prototype;t.matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},438:function(e,t,n){var r=n(828);function o(e,t,n,r,o){var i=c.apply(this,arguments);return e.addEventListener(n,i,o),{destroy:function(){e.removeEventListener(n,i,o)}}}function c(e,t,n,o){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&o.call(e,n)}}e.exports=function(e,t,n,r,c){return"function"==typeof e.addEventListener?o.apply(null,arguments):"function"==typeof n?o.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return o(e,t,n,r,c)})))}},879:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},370:function(e,t,n){var r=n(879),o=n(438);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(r.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}(e,t,n);if(r.string(e))return function(e,t,n){return o(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(e){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(e),r.removeAllRanges(),r.addRange(o),t=r.toString()}return t}},279:function(e){function t(){}t.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e=window.wp.domReady;var t=n.n(e);const r=window.wp.i18n;var o=n(576),c=n.n(o);function i(e={}){const t=[...document.querySelectorAll("select.amp-validation-error-status")].map((e=>e.closest("tr")));return!0!==e.checkedOnly?t:t.filter((e=>e.querySelector(".check-column input[type=checkbox]").checked))}function a({trigger:e}){e.focus();const t=(0,r.__)("Copied to clipboard","amp");if(e.innerText===t)return;const n=e.innerText;e.innerText=t,setTimeout((()=>{document.body.contains(e)&&(e.innerText=n)}),4e3)}const u="number-errors",l="show-all-errors";t()((()=>{h(),v(),g(),b(),E(),f(),S(),function(){const e=[];e.push(new(c())("button.single-url-detail-copy",{text:e=>JSON.stringify(JSON.parse(e.getAttribute("data-error-json")),null,"\t")})),e.push(new(c())("button.copy-all",{text:()=>{const e=i({checkedOnly:!0}).map((e=>{const t=e.querySelector(".single-url-detail-copy");return t?JSON.parse(t.getAttribute("data-error-json")):null})).filter((e=>e));return JSON.stringify(e,null,"\t")}})),e.forEach((e=>{e.on("success",a)}))}()}));let s=!1;const d=()=>{s||(n.g.addEventListener("beforeunload",p),document.querySelector("#major-publishing-actions").addEventListener("click",(()=>{n.g.removeEventListener("beforeunload",p)})),s=!0)},f=()=>{const e=t=>{(t.target.matches(".amp-validation-error-status")||t.target.matches(".amp-validation-error-status-review"))&&(document.getElementById("post").removeEventListener("change",e),d())};document.getElementById("post").addEventListener("change",e)},p=e=>(e.preventDefault(),e.returnValue=(0,r.__)("You have unsaved changes. Are you sure you want to leave?","amp"),(0,r.__)("You have unsaved changes. Are you sure you want to leave?","amp")),y=(e,t)=>{const n=document.getElementById(l);let o,c,i=document.getElementById(u);const a=document.getElementsByTagName("thead");a[0]&&!i&&(o=a[0],i=document.createElement("tr"),c=document.createElement("th"),c.setAttribute("id",u),c.setAttribute("colspan","6"),i.appendChild(c),o.appendChild(i)),e===t?(n&&n.classList.add("hidden"),i.classList.add("hidden")):null!==e&&(document.getElementById(u).innerText=(0,r.sprintf)(/* translators: 1: number of errors being displayed. 2: total number of errors found. */ /* translators: 1: number of errors being displayed. 2: total number of errors found. */ (0,r._n)("Showing %1$s of %2$s validation error","Showing %1$s of %2$s validation errors",t,"amp"),e,t),document.getElementById(u).classList.remove("hidden"),m(),document.getElementById(l)&&document.getElementById(l).classList.remove("hidden"))},m=()=>{const e=document.getElementById("url-post-filter");let t=document.getElementById(l);!t&&e&&(t=document.createElement("button"),t.id=l,t.classList.add("button"),t.innerText=(0,r.__)("Show all","amp"),e.appendChild(t))},h=()=>{document.getElementById("url-post-filter").addEventListener("click",(e=>{if(!e.target.matches("#"+l))return;e.preventDefault();const t=document.querySelectorAll("[data-error-type]");t.forEach((e=>{e.parentElement.parentElement.classList.remove("hidden")})),y(t.length,t.length),e.target.classList.add("hidden"),document.getElementById("amp_validation_error_type").selectedIndex=0}))},v=()=>{document.getElementById("amp_validation_error_type").addEventListener("change",(e=>{if(!e.target.matches("select"))return;e.preventDefault();const t=document.getElementById(l),n="-1"===e.target.value,r=document.querySelectorAll("[data-error-type]");n&&t&&t.classList.add("hidden");let o=0;r.forEach((t=>{const r=t.getAttribute("data-error-type");n||!e.target.value||e.target.value===r?(t.parentElement.parentElement.classList.remove("hidden"),o++):t.parentElement.parentElement.classList.add("hidden")})),y(o,r.length)}))},g=()=>{const e=document.getElementById("search-submit");e&&e.addEventListener("click",(e=>{if(e.preventDefault(),!e.target.matches("input"))return;const t=document.getElementById("invalid-url-search-search-input").value,n=document.querySelectorAll("tbody .column-details");let r=0;n.forEach((e=>{let n=!1;e.querySelectorAll(".detailed").forEach((e=>{-1!==e.innerText.indexOf(t)&&(n=!0)})),n?(e.parentElement.classList.remove("hidden"),r++):e.parentElement.classList.add("hidden")})),y(r,n.length)}))},b=()=>{document.querySelectorAll('tr[id^="tag-"]').forEach((e=>{const t=e.querySelector(".amp-validation-error-status"),n=e.querySelector(".amp-validation-error-status-review");t&&t.addEventListener("change",(()=>e.classList.toggle("kept"))),n&&n.addEventListener("change",(()=>e.classList.toggle("new")))}))},E=()=>{const e=document.querySelector("button.action.remove"),t=document.querySelector("button.action.keep"),r=document.getElementById("remove-keep-buttons"),o=e=>{let t;e.target.matches("[type=checkbox]")&&(e.target.checked?r.classList.remove("hidden"):(t=!1,document.querySelectorAll(".check-column [type=checkbox]").forEach((e=>{e.checked&&(t=!0)})),t||r.classList.add("hidden")))};document.querySelectorAll(".check-column [type=checkbox]").forEach((e=>{e.addEventListener("change",o)})),e.addEventListener("click",(()=>{Array.prototype.forEach.call(document.querySelectorAll("select.amp-validation-error-status"),(e=>{const t=e.closest("tr");t.querySelector(".check-column input[type=checkbox]").checked&&(e.value="3",t.classList.remove("kept"),d())}))})),t.addEventListener("click",(()=>{Array.prototype.forEach.call(document.querySelectorAll("select.amp-validation-error-status"),(e=>{const t=e.closest("tr");t.querySelector(".check-column input[type=checkbox]").checked&&(e.value="2",t.classList.add("kept"),d())}))})),n.g.addEventListener("click",(({target:e})=>{if(!e.classList.contains("reviewed-toggle"))return;const t=e.classList.contains("reviewed");i({checkedOnly:!0}).forEach((e=>{e.querySelector("input[type=checkbox].amp-validation-error-status-review").checked=t,e.classList.toggle("new",!t),d()}))}))},S=()=>{const e=document.getElementById("amp_stylesheets");for(const t of e.querySelectorAll(".toggle-stylesheet-details")){const e=t.closest("tr");t.addEventListener("click",(()=>{e.classList.toggle("expanded")}))}for(const t of e.querySelectorAll(".stylesheet-details")){const e=t.querySelector(".shaken-stylesheet"),n=t.querySelector(".show-removed-styles");n&&n.addEventListener("click",(()=>{e.classList.toggle("removed-styles-shown",n.checked)}))}}})()})(); Monitor808 # Waduh Gila! Monitor808 Portal Abadi Untuk Pemain
  • Beranda
  • Slot Online
  • Live Casino
  • Sportsbook
  • Arcade
  • Togel Online
  • Poker
  • Whatsapp
  • Telegram
  • Livechat
  • Whatsapp
  • Telegram
  • Livechat
  • Daftar
  • Login
  • Beranda
  • Slot Online
  • Live Casino
  • Sportsbook
  • Arcade
  • Togel Online
  • Poker
monitor808
  • Daftar
  • Login
  • Home
  • Hot Games
  • Slots
  • Live Casino
  • Sports
  • Arcade
  • Poker
  • Togel Online
Jackpot Games
Into The Fay Ashley
Into The Fay Ashley
Into The Fay Snowie
Into The Fay Snowie
Itero
Itero
Jj 1000
Jj 1000
Journey To The Abyss
Journey To The Abyss
Krakens Sky Bounty
Krakens Sky Bounty
New Games
Mummys Jewels
Mummys Jewels
Mummys Jewels100
Mummys Jewels100
Pandemic Rising
Pandemic Rising
Power Of Ninja
Power Of Ninja
Release The Bison
Release The Bison
Resurrecting Riches
Resurrecting Riches
Game Populer
Robbed Strike
Robbed Strike
Sacred Fortune
Sacred Fortune
Santa In The Summer
Santa In The Summer
Shaolin Panda Chaos Reels
Shaolin Panda Chaos Reels
Sharkalicious
Sharkalicious
Space Ques Mars
Space Ques Mars

Monitor808 # Waduh Gila! Monitor808 Portal Abadi Untuk Pemain

Penyedia Games
Metode Pembayaran
Transfer Bank
Pulsa
E-Money
©2026 MONITOR808. All rights reserved | 18+
  • Livechat
  • Promosi
  • Login
  • Livechat