New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bentoproject/dailymotion

Package Overview
Dependencies
Maintainers
3
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bentoproject/dailymotion - npm Package Compare versions

Comparing version 1.2203041950.0 to 1.2203101844.0

2

dist/web-component.js
;
var n=Object.create,t=Object.defineProperty,e=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,o=Object.getPrototypeOf,i=Object.prototype.hasOwnProperty,a=function(n){return t(n,"__esModule",{value:!0})},u=function(u){return function(n,o,a){if(o&&"object"==typeof o||"function"==typeof o)for(var u,l=r(o),c=0,f=l.length;c<f;c++)u=l[c],i.call(n,u)||"default"===u||t(n,u,{get:function(n){return o[n]}.bind(null,u),enumerable:!(a=e(o,u))||a.enumerable});return n}(a(t(null!=u?n(o(u)):{},"default",u&&u.__esModule&&"default"in u?{get:function(){return u.default},enumerable:!0}:{value:u,enumerable:!0})),u)};function l(n,t){return(l=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function c(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),t&&l(n,t)}function f(n){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function s(n){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function d(n,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n)}function v(n){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}();return function(){var e,r=f(n);if(t){var o=f(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return d(this,e)}}!function(n,e){for(var r in a(n),e)t(n,r,{get:e[r],enumerable:!0})}(exports,{defineElement:function(){return Rn}});var p,b=u(require("@bentoproject/core"));function m(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=new Array(t);e<t;e++)r[e]=n[e];return r}function y(n,t){if(n){if("string"==typeof n)return m(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?m(n,t):void 0}}function h(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var r,o,i=[],a=!0,u=!1;try{for(e=e.call(n);!(a=(r=e.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(n){u=!0,o=n}finally{try{a||null==e.return||e.return()}finally{if(u)throw o}}return i}}(n,t)||y(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(n,t){if(null==n)return{};var e,r,o={},i=Object.keys(n);for(r=0;r<i.length;r++)e=i[r],t.indexOf(e)>=0||(o[e]=n[e]);return o}function w(n){var t=function(n,t){if("object"!==s(n)||null===n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var r=e.call(n,"string");if("object"!==s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===s(t)?t:String(t)}function j(n,t,e){return t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function O(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,r)}return e}function q(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?O(Object(e),!0).forEach((function(t){j(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):O(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}var k=(j(p={},"auto",0),j(p,"lazy",1),j(p,"eager",2),j(p,"unload",3),"loading");function x(n,t){var e="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(e)return(e=e.call(n)).next.bind(e);if(Array.isArray(n)||(e=y(n))||t&&n&&"number"==typeof n.length){e&&(n=e);var r=0;return function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var S=function(){var n=this;this.promise=new Promise((function(t,e){n.resolve=t,n.reject=e}))};function E(n){return new Promise((function(t){t(n())}))}var I,R=Array.isArray,P=Object.prototype;function C(n){var t=Object.create(null);return n&&Object.assign(t,n),t}function A(n){var t=Object.getOwnPropertyDescriptor(n,"message");if(null!=t&&t.writable)return n;var e=n.message,r=n.stack,o=new Error(e);for(var i in n)o[i]=n[i];return o.stack=r,o}function M(n){for(var t,e=null,r="",o=x(arguments,!0);!(t=o()).done;){var i=t.value;i instanceof Error&&!e?e=A(i):(r&&(r+=" "),r+=i)}return e?r&&(e.message=r+": "+e.message):e=new Error(r),e}function T(n){var t,e;null===(t=(e=self).__AMP_REPORT_ERROR)||void 0===t||t.call(e,n)}function N(n){var t=M.apply(null,arguments);return t.expected=!0,t}P.hasOwnProperty,P.toString;var z=["Webkit","webkit","Moz","moz","ms","O","o"];function U(n,t,e,r,o){var i=function(n,t,e){if(t.startsWith("--"))return t;I||(I=C());var r=I[t];if(!r||e){if(r=t,void 0===n[t]){var o=function(n){return n.charAt(0).toUpperCase()+n.slice(1)}(t),i=function(n,t){for(var e=0;e<z.length;e++){var r=z[e]+t;if(void 0!==n[r])return r}return""}(n,o);void 0!==n[i]&&(r=i)}e||(I[t]=r)}return r}(n.style,t,o);if(i){var a,u=r?e+r:e;n.style.setProperty((a=i.replace(/[A-Z]/g,(function(n){return"-"+n.toLowerCase()})),z.some((function(n){return a.startsWith(n+"-")}))?"-".concat(a):a),u)}}function L(n){return null==n.__AMP_AUTOPLAY&&(n.__AMP_AUTOPLAY=function(n){var t,e=n.document.createElement("video");return e.setAttribute("muted",""),e.setAttribute("playsinline",""),e.setAttribute("webkit-playsinline",""),e.setAttribute("height","0"),e.setAttribute("width","0"),e.muted=!0,e.playsInline=!0,e.playsinline=!0,e.webkitPlaysinline=!0,function(n,t){for(var e in t)U(n,e,t[e])}(e,{position:"fixed",top:"0",width:"0",height:"0",opacity:"0"}),t=e,E((function(){return t.play()})).catch((function(){})),Promise.resolve(!e.paused)}(n)),n.__AMP_AUTOPLAY}var F=u(require("@bentoproject/core")),Y=u(require("@bentoproject/core")),B=u(require("@bentoproject/core")),V=u(require("@bentoproject/core")),_=u(require("@bentoproject/core")),D=u(require("@bentoproject/core")),H=u(require("@bentoproject/core")),J={bubbles:!0,cancelable:!0};function W(n,t,e,r){var o=e||{};n.ownerDocument;var i=n.ownerDocument.createEvent("Event");i.data=o;var a=r||J,u=a.bubbles,l=a.cancelable;i.initEvent(t,u,l),n.dispatchEvent(i)}var Z=self.AMP_CONFIG||{},$=("string"==typeof Z.thirdPartyFrameRegex?new RegExp(Z.thirdPartyFrameRegex):Z.thirdPartyFrameRegex,("string"==typeof Z.cdnProxyRegex?new RegExp(Z.cdnProxyRegex):Z.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function G(n){if(!self.document||!self.document.head)return null;if(self.location&&$.test(self.location.origin))return null;var t=self.document.head.querySelector('meta[name="'.concat(n,'"]'));return t&&t.getAttribute("content")||null}Z.thirdPartyUrl,Z.thirdPartyFrameHost,Z.cdnUrl||G("runtime-host"),Z.errorReportingUrl,Z.betaErrorReportingUrl,Z.localDev,Z.geoApiUrl||G("amp-geo-api");var K=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function Q(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{return decodeURIComponent(n)}catch(n){return t}}self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG;var X={"title":"","artist":"","album":"","artwork":[{"src":""}]};function nn(n){var t=n.querySelector('script[type="application/ld+json"]');if(t){var e=function(n,t){try{return function(n){return JSON.parse(n)}(n)}catch(n){return null}}(t.textContent);if(e&&e.image)return"string"==typeof e.image?e.image:e.image["@list"]&&"string"==typeof e.image["@list"][0]?e.image["@list"][0]:"string"==typeof e.image.url?e.image.url:"string"==typeof e.image[0]?e.image[0]:void 0}}function tn(n){var t=n.querySelector('link[rel="shortcut icon"]')||n.querySelector('link[rel="icon"]');return t?t.getAttribute("href"):void 0}function en(n){var t=n.displayIcon,e=n.displayOverlay,r=n.metadata,o=n.onOverlayClick,i=n.pause,a=n.play,u=n.playing,l=n.wrapperRef,c=(0,_.useAmpContext)().playable;return(0,Y.useEffect)((function(){if(c){var n=new IntersectionObserver((function(n){n[n.length-1].isIntersecting?a().catch((function(){})):i()}),{threshold:.5});return n.observe(l.current),function(){n.disconnect()}}i()}),[l,a,i,c]),F.createElement(F.Fragment,null,t&&F.createElement("div",{class:"eq-9e7199f"+(u?" eq-playing-9e7199f":"")},F.createElement(un,null)),e&&F.createElement("button",{"aria-label":r&&r.title||"Unmute video",tabindex:"0",class:"autoplay-mask-button-9e7199f fill-content-overlay-fc551a7",onClick:o}))}var rn,on,an,un=(rn=!1,on=null,an=function(){return[1,2,3,4].map((function(n){return F.createElement("div",{class:"eq-col-9e7199f",key:n})}))},function(){if(!rn){for(var n=arguments.length,t=new Array(n),e=0;e<n;e++)t[e]=arguments[e];on=an.apply(self,t),rn=!0,an=null}return on}),ln=(0,B.forwardRef)((function(n,t){var e,r="class",o=n.autoplay,i=void 0!==o&&o,a=n.component,u=void 0===a?"video":a,l=n.controls,c=void 0!==l&&l,f=n.loading,s=n.loop,d=void 0!==s&&s,v=n.mediasession,p=void 0===v||v,b=n.noaudio,m=void 0!==b&&b,y=n.onPlayingState,j=n.onReadyState,O=n.poster,x=n.sources,I=n.src,R=n.style,P=n[r],C=g(n,["autoplay","component","controls","loading","loop","mediasession","noaudio","onPlayingState","onReadyState","poster","sources","src","style",r].map(w));e=(0,H.useAmpContext)().notify,(0,D.useLayoutEffect)((function(){e&&e()}));var A=(0,_.useAmpContext)().playable,M=(0,_.useLoading)(f),z="unload"!==M,U=h((0,Y.useState)(i),2),L=U[0],B=U[1],J=h((0,Y.useState)(!1),2),W=J[0],Z=J[1],$=h((0,Y.useState)(null),2),G=$[0],K=$[1],Q=h((0,Y.useState)(!i),2),rn=Q[0],on=Q[1],an=(0,Y.useRef)(null),un=(0,Y.useRef)(null),ln=(0,Y.useMemo)((function(){return new S}),[]),cn=(0,Y.useRef)(k),fn=(0,V.useValueRef)(j),sn=(0,Y.useCallback)((function(n,t){if(n!==cn.current){cn.current=n;var e=fn.current;e&&e(n,t)}}),[fn]),dn=(0,V.useValueRef)(y),vn=(0,Y.useCallback)((function(n){Z(n);var t=dn.current;t&&t(n)}),[dn]);(0,Y.useLayoutEffect)((function(){z||vn(!1)}),[z,vn]);var pn=(0,Y.useCallback)((function(){return ln.promise.then((function(){return n=un.current,(t=E((function(){return n.play(!1)}))).catch((function(n){!function(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];T(N.apply(null,e))}("TRYPLAY",n)})),t;var n,t}))}),[ln]),bn=(0,Y.useCallback)((function(){ln.promise.then((function(){var n;return null===(n=un.current)||void 0===n?void 0:n.pause()}))}),[ln]),mn=(0,Y.useCallback)((function(){return ln.promise.then((function(){return un.current.requestFullscreen()}))}),[ln]),yn=(0,Y.useCallback)((function(){B(!1),on(!0)}),[]);return(0,Y.useLayoutEffect)((function(){var n,t=null===(n=un.current)||void 0===n?void 0:n.readyState;null!=t&&sn(t>0?"complete":k)}),[sn]),(0,Y.useLayoutEffect)((function(){return p&&W&&G&&function(n,t,e,r){var o=n.navigator;"mediaSession"in o&&n.MediaMetadata&&(o.mediaSession.metadata=new n.MediaMetadata(X),o.mediaSession.metadata=new n.MediaMetadata(t),o.mediaSession.setActionHandler("play",e),o.mediaSession.setActionHandler("pause",r))}(window,G,pn,bn),function(){}}),[p,W,G,pn,bn]),(0,Y.useEffect)((function(){A||bn()}),[A,bn]),(0,Y.useImperativeHandle)(t,(function(){return{get readyState(){return cn.current},play:pn,pause:bn,requestFullscreen:mn,get currentTime(){return un.current?un.current.currentTime:0},get duration(){return un.current?un.current.duration:NaN},get autoplay(){return i},get controls(){return c},get loop(){return d},userInteracted:yn,mute:function(){return B(!0)},unmute:function(){rn&&B(!1)}}}),[pn,bn,mn,yn,rn,i,c,d]),F.createElement(V.ContainWrapper,{contentRef:an,class:P,style:R,size:!0,layout:!0,paint:!0},z&&F.createElement(u,q(q({},C),{},{ref:un,loading:M,muted:L,loop:d,controls:c&&(!i||rn),onCanPlay:function(){ln.resolve(),sn("complete")},onLoadedMetadata:function(){p&&ln.promise.then((function(){var n,t,e,r;K((n=un.current,q({"title":(t=C).title||t["aria-label"]||document.title,"artist":t.artist||"","album":t.album||"","artwork":[{"src":t.artwork||t.poster||nn(document)||(e=document,r=e.querySelector('meta[property="og:image"]'),r?r.getAttribute("content"):void 0)||tn(document)||""}]},n&&n.getMetadata?n.getMetadata():Object.create(null))))})),sn("complete")},onPlaying:function(){return vn(!0)},onPause:function(){return vn(!1)},onEnded:function(){return vn(!1)},onError:function(n){sn("error",n),ln.reject(n)},class:"fill-stretch-fc551a7",src:I,poster:O}),x),i&&!rn&&F.createElement(en,{metadata:G,playing:W,displayIcon:!m&&L,wrapperRef:an,play:pn,pause:bn,displayOverlay:c,onOverlayClick:yn}))}));ln.displayName="VideoWrapper";var cn=function(n){c(e,b.PreactBaseElement);var t=v(e);function e(){return t.apply(this,arguments)}return e}();function fn(n,t){return function(n,t,e){if(!t)return n;var r=n.split("#",2),o=r[0].split("?",2);return o[0]+(o[1]?"?".concat(o[1],"&").concat(t):"?".concat(t))+(r[1]?"#".concat(r[1]):"")}(n,function(n){var t,e,r,o=[];for(var i in n){var a=n[i];if(null!=a){a=R(r=a)?r:[r];for(var u=0;u<a.length;u++)o.push((t=i,e=a[u],"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e))))}}return o.join("&")}(t))}function sn(n,t){return JSON.stringify({"command":n,"parameters":t})}cn.Component=ln,cn.loadable=!0,cn.layoutSizeDefined=!0,cn.staticProps,cn.props={"album":{attr:"album"},"alt":{attr:"alt"},"artist":{attr:"artist"},"artwork":{attr:"artwork"},"attribution":{attr:"attribution"},"autoplay":{attr:"autoplay",type:"boolean"},"controls":{attr:"controls",type:"boolean"},"controlslist":{attr:"controlslist"},"crossorigin":{attr:"crossorigin"},"disableremoteplayback":{attr:"disableremoteplayback"},"loop":{attr:"loop",type:"boolean"},"noaudio":{attr:"noaudio",type:"boolean"},"poster":{attr:"poster"},"sources":{selector:"source",single:!1,clone:!0},"src":{attr:"src"},"title":{attr:"title"},"dock":{attr:"dock",media:!0},"rotate-to-fullscreen":{attr:"rotate-to-fullscreen",type:"boolean",media:!0}},cn.shadowCss='.fill-stretch-fc551a7{width:100%;height:100%;position:relative}.fill-content-overlay-fc551a7{top:0;left:0;right:0;bottom:0;position:absolute}.autoplay-mask-button-9e7199f{width:100%;border:none;display:block;-webkit-appearance:none;appearance:none;background:transparent}.eq-9e7199f{right:7px;width:20px;bottom:7px;height:12px;display:-ms-flexbox;display:flex;opacity:0.8;z-index:1;overflow:hidden;position:absolute;-ms-flex-align:end;align-items:flex-end;pointer-events:none!important}.eq-playing-9e7199f>div:after,.eq-playing-9e7199f>div:before{animation-play-state:running}.eq-col-9e7199f{-ms-flex:1;flex:1;height:100%;position:relative;margin-right:1px}.eq-col-9e7199f:after,.eq-col-9e7199f:before{width:100%;height:100%;content:"";position:absolute;animation:keyframes-eq-animation-9e7199f 0s linear infinite alternate;will-change:transform;background-color:#fafafa;animation-play-state:paused}.eq-col-9e7199f:nth-child(4):before{animation-duration:0.4s}.eq-col-9e7199f:nth-child(4):after{animation-duration:0.25s}.eq-col-9e7199f:nth-child(3):before{animation-duration:0.3s}.eq-col-9e7199f:nth-child(3):after{animation-duration:0.35s}.eq-col-9e7199f:nth-child(2):before{animation-duration:0.5s}.eq-col-9e7199f:nth-child(2):after{animation-duration:0.4s}.eq-col-9e7199f:first-child:before{animation-duration:0.3s}.eq-col-9e7199f:first-child:after{animation-duration:0.45s}@keyframes keyframes-eq-animation-9e7199f{0%{transform:translateY(100%)}to{transform:translateY(0)}}',cn.usesShadowDom=!0,new Set(["c","v","a","ad"]);var dn=u(require("@bentoproject/core")),vn=u(require("@bentoproject/core")),pn=u(require("@bentoproject/core")),bn=["loading","unloadOnPause","sandbox","muted","controls","origin","onCanPlay","onMessage","playerStateRef","makeMethodMessage","makeFullscreenMessage","onIframeLoad"],mn=["allow-scripts","allow-same-origin","allow-popups","allow-popups-to-escape-sandbox","allow-top-navigation-by-user-activation"].join(" ");function yn(n,t,e){n&&n.contentWindow&&t.then((function(){n.contentWindow.postMessage(e(),"*")}))}var hn=(0,pn.forwardRef)((function(n,t){var e=n.loading,r=n.unloadOnPause,o=void 0!==r&&r,i=n.sandbox,a=void 0===i?mn:i,u=n.muted,l=void 0!==u&&u,c=n.controls,f=void 0!==c&&c,s=n.origin,d=n.onCanPlay,v=n.onMessage,p=n.playerStateRef,b=n.makeMethodMessage,m=n.makeFullscreenMessage,y=n.onIframeLoad,h=g(n,bn),w=(0,vn.useRef)(null),j=(0,vn.useMemo)((function(){return new S}),[]),O=(0,vn.useRef)(b),k=(0,vn.useCallback)((function(n){yn(null==w?void 0:w.current,j.promise,(function(){return O.current(n)}))}),[j.promise]),x=(0,vn.useRef)(m),E=(0,vn.useCallback)((function(){return yn(null==w?void 0:w.current,j.promise,x.current)}),[j.promise]);(0,vn.useImperativeHandle)(t,(function(){return{get currentTime(){var n,t;return null!==(n=null==p||null===(t=p.current)||void 0===t?void 0:t.currentTime)&&void 0!==n?n:NaN},get duration(){var n,t;return null!==(n=null==p||null===(t=p.current)||void 0===t?void 0:t.duration)&&void 0!==n?n:NaN},requestFullscreen:function(){if(!x.current)return j.promise.then((function(){w.current.requestFullscreen()}));E()},play:function(){return k("play")},pause:function(){if(o){var n=w.current;n&&(n.src=n.src)}else k("pause")}}}),[p,k,E,j.promise,o]);var I=function(n){var t=(0,vn.useRef)(null);return t.current=n,t}(v);return(0,vn.useLayoutEffect)((function(){if(w.current){var n=w.current.ownerDocument.defaultView;return n.addEventListener("message",t),function(){return n.removeEventListener("message",t)}}function t(n){I.current&&(s&&!s.test(n.origin)||n.source!=w.current.contentWindow||I.current({currentTarget:w.current,target:w.current,data:n.data}))}}),[s,I]),(0,vn.useLayoutEffect)((function(){k(l?"mute":"unmute")}),[l,k]),(0,vn.useLayoutEffect)((function(){k(f?"showControls":"hideControls")}),[f,k]),dn.createElement("iframe",q(q({},h),{},{ref:w,allowfullscreen:!0,frameborder:"0",sandbox:a,loading:e,onCanPlay:function(){d&&j.promise.then(d),j.resolve()},onLoad:function(n){null==y||y(n)}}))}));hn.displayName="VideoIframeInternal";var gn=(0,pn.forwardRef)((function(n,t){return dn.createElement(ln,q(q({ref:t},n),{},{component:hn}))}));gn.displayName="VideoIframe";var wn=u(require("@bentoproject/core")),jn=u(require("@bentoproject/core")),On=u(require("@bentoproject/core")),qn=["autoplay","endscreenEnable","info","mute","sharingEnable","start","uiHighlight","uiLogo","videoId"];function kn(n){switch(n){case"mute":return sn("muted",[!0]);case"unmute":return sn("muted",[!1]);case"showControls":return sn("controls",[!0]);case"hideControls":return sn("controls",[!1]);default:return sn(n)}}function xn(n){var t=n.currentTarget,e=function(n){var t,e=C();if(!n)return e;for(;t=K.exec(n);){var r=Q(t[1],t[1]),o=t[2]?Q(t[2].replace(/\+/g," "),t[2]):"";e[r]=o}return e}(n.data),r=null==e?void 0:e.event;"pause"===r?W(t,"pause"):"play"===r?W(t,"playing"):"end"===r?(W(t,"pause"),W(t,"end")):"apiready"===r&&W(t,"canplay")}var Sn=(0,On.forwardRef)((function(n,t){var e=n.autoplay,r=n.endscreenEnable,o=n.info,i=n.mute,a=n.sharingEnable,u=n.start,l=n.uiHighlight,c=n.uiLogo,f=n.videoId,s=g(n,qn),d=(0,jn.useMemo)((function(){return function(n,t){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=!(arguments.length>6&&void 0!==arguments[6])||arguments[6],u=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0,c=!(arguments.length>9&&void 0!==arguments[9])||arguments[9],f=arguments.length>10?arguments[10]:void 0;return fn("https://www.dailymotion.com/embed/video/".concat(encodeURIComponent(t),"?api=1&html=1&app=amp"),q({"endscreen-enable":r?void 0:r,"info":o?void 0:o,"mute":i||e&&L(n)?1:void 0,"sharing-enable":a?void 0:a,"start":u,"ui-highlight":l,"ui-logo":c?void 0:c},f))}(window,f,e,r,o,i,a,u,l,c)}),[f,e,r,o,i,a,u,l,c]);return wn.createElement(gn,q(q({autoplay:e,controls:!0,ref:t},s),{},{src:d,makeMethodMessage:kn,onMessage:xn}))}));Sn.displayName="BentoDailymotion";var En=function(n){c(e,cn);var t=v(e);function e(){return t.apply(this,arguments)}return e}();En.Component=Sn,En.props={"autoplay":{attr:"autoplay",type:"boolean"},"videoId":{attr:"data-videoid"},"start":{attr:"data-start"},"uiHighlight":{attr:"data-ui-highlight"},"implicitParams":{attrPrefix:"data-param-"}},En.layoutSizeDefined=!0,En.usesShadowDom=!0;var In=u(require("@bentoproject/core"));function Rn(){(0,In.defineBentoElement)("bento-dailymotion",En)}
var n=Object.create,t=Object.defineProperty,e=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,o=Object.getPrototypeOf,i=Object.prototype.hasOwnProperty,a=function(n){return t(n,"__esModule",{value:!0})},u=function(u){return function(n,o,a){if(o&&"object"==typeof o||"function"==typeof o)for(var u,l=r(o),c=0,f=l.length;c<f;c++)u=l[c],i.call(n,u)||"default"===u||t(n,u,{get:function(n){return o[n]}.bind(null,u),enumerable:!(a=e(o,u))||a.enumerable});return n}(a(t(null!=u?n(o(u)):{},"default",u&&u.__esModule&&"default"in u?{get:function(){return u.default},enumerable:!0}:{value:u,enumerable:!0})),u)};function l(n,t){return(l=Object.setPrototypeOf||function(n,t){return n.__proto__=t,n})(n,t)}function c(n,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(t&&t.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),t&&l(n,t)}function f(n){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)})(n)}function s(n){return(s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(n)}function d(n,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(n){if(void 0===n)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}(n)}function v(n){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(n){return!1}}();return function(){var e,r=f(n);if(t){var o=f(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return d(this,e)}}!function(n,e){for(var r in a(n),e)t(n,r,{get:e[r],enumerable:!0})}(exports,{defineElement:function(){return Rn}});var p,b=u(require("@bentoproject/core"));function m(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=new Array(t);e<t;e++)r[e]=n[e];return r}function y(n,t){if(n){if("string"==typeof n)return m(n,t);var e=Object.prototype.toString.call(n).slice(8,-1);return"Object"===e&&n.constructor&&(e=n.constructor.name),"Map"===e||"Set"===e?Array.from(n):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?m(n,t):void 0}}function h(n,t){return function(n){if(Array.isArray(n))return n}(n)||function(n,t){var e=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=e){var r,o,i=[],a=!0,u=!1;try{for(e=e.call(n);!(a=(r=e.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(n){u=!0,o=n}finally{try{a||null==e.return||e.return()}finally{if(u)throw o}}return i}}(n,t)||y(n,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(n,t){if(null==n)return{};var e,r,o={},i=Object.keys(n);for(r=0;r<i.length;r++)e=i[r],t.indexOf(e)>=0||(o[e]=n[e]);return o}function w(n){var t=function(n,t){if("object"!==s(n)||null===n)return n;var e=n[Symbol.toPrimitive];if(void 0!==e){var r=e.call(n,"string");if("object"!==s(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===s(t)?t:String(t)}function j(n,t,e){return t in n?Object.defineProperty(n,t,{value:e,enumerable:!0,configurable:!0,writable:!0}):n[t]=e,n}function O(n,t){var e=Object.keys(n);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(n);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),e.push.apply(e,r)}return e}function q(n){for(var t=1;t<arguments.length;t++){var e=null!=arguments[t]?arguments[t]:{};t%2?O(Object(e),!0).forEach((function(t){j(n,t,e[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(e)):O(Object(e)).forEach((function(t){Object.defineProperty(n,t,Object.getOwnPropertyDescriptor(e,t))}))}return n}var k=(j(p={},"auto",0),j(p,"lazy",1),j(p,"eager",2),j(p,"unload",3),"loading");function x(n,t){var e="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(e)return(e=e.call(n)).next.bind(e);if(Array.isArray(n)||(e=y(n))||t&&n&&"number"==typeof n.length){e&&(n=e);var r=0;return function(){return r>=n.length?{done:!0}:{done:!1,value:n[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var S=function(){var n=this;this.promise=new Promise((function(t,e){n.resolve=t,n.reject=e}))};function E(n){return new Promise((function(t){t(n())}))}var I,R=Array.isArray,P=Object.prototype;function C(n){var t=Object.create(null);return n&&Object.assign(t,n),t}function A(n){var t=Object.getOwnPropertyDescriptor(n,"message");if(null!=t&&t.writable)return n;var e=n.message,r=n.stack,o=new Error(e);for(var i in n)o[i]=n[i];return o.stack=r,o}function M(n){for(var t,e=null,r="",o=x(arguments,!0);!(t=o()).done;){var i=t.value;i instanceof Error&&!e?e=A(i):(r&&(r+=" "),r+=i)}return e?r&&(e.message=r+": "+e.message):e=new Error(r),e}function T(n){var t,e;null===(t=(e=self).__AMP_REPORT_ERROR)||void 0===t||t.call(e,n)}function N(n){var t=M.apply(null,arguments);return t.expected=!0,t}P.hasOwnProperty,P.toString;var z=["Webkit","webkit","Moz","moz","ms","O","o"];function U(n,t,e,r,o){var i=function(n,t,e){if(t.startsWith("--"))return t;I||(I=C());var r=I[t];if(!r||e){if(r=t,void 0===n[t]){var o=function(n){return n.charAt(0).toUpperCase()+n.slice(1)}(t),i=function(n,t){for(var e=0;e<z.length;e++){var r=z[e]+t;if(void 0!==n[r])return r}return""}(n,o);void 0!==n[i]&&(r=i)}e||(I[t]=r)}return r}(n.style,t,o);if(i){var a,u=r?e+r:e;n.style.setProperty((a=i.replace(/[A-Z]/g,(function(n){return"-"+n.toLowerCase()})),z.some((function(n){return a.startsWith(n+"-")}))?"-".concat(a):a),u)}}function L(n){return null==n.__AMP_AUTOPLAY&&(n.__AMP_AUTOPLAY=function(n){var t,e=n.document.createElement("video");return e.setAttribute("muted",""),e.setAttribute("playsinline",""),e.setAttribute("webkit-playsinline",""),e.setAttribute("height","0"),e.setAttribute("width","0"),e.muted=!0,e.playsInline=!0,e.playsinline=!0,e.webkitPlaysinline=!0,function(n,t){for(var e in t)U(n,e,t[e])}(e,{position:"fixed",top:"0",width:"0",height:"0",opacity:"0"}),t=e,E((function(){return t.play()})).catch((function(){})),Promise.resolve(!e.paused)}(n)),n.__AMP_AUTOPLAY}var F=u(require("@bentoproject/core")),Y=u(require("@bentoproject/core")),B=u(require("@bentoproject/core")),V=u(require("@bentoproject/core")),_=u(require("@bentoproject/core")),D=u(require("@bentoproject/core")),H=u(require("@bentoproject/core")),J={bubbles:!0,cancelable:!0};function W(n,t,e,r){var o=e||{};n.ownerDocument;var i=n.ownerDocument.createEvent("Event");i.data=o;var a=r||J,u=a.bubbles,l=a.cancelable;i.initEvent(t,u,l),n.dispatchEvent(i)}var Z=self.AMP_CONFIG||{},$=("string"==typeof Z.thirdPartyFrameRegex?new RegExp(Z.thirdPartyFrameRegex):Z.thirdPartyFrameRegex,("string"==typeof Z.cdnProxyRegex?new RegExp(Z.cdnProxyRegex):Z.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function G(n){if(!self.document||!self.document.head)return null;if(self.location&&$.test(self.location.origin))return null;var t=self.document.head.querySelector('meta[name="'.concat(n,'"]'));return t&&t.getAttribute("content")||null}Z.thirdPartyUrl,Z.thirdPartyFrameHost,Z.cdnUrl||G("runtime-host"),Z.errorReportingUrl,Z.betaErrorReportingUrl,Z.localDev,Z.geoApiUrl||G("amp-geo-api");var K=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function Q(n){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{return decodeURIComponent(n)}catch(n){return t}}self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG;var X={"title":"","artist":"","album":"","artwork":[{"src":""}]};function nn(n){var t=n.querySelector('script[type="application/ld+json"]');if(t){var e=function(n,t){try{return function(n){return JSON.parse(n)}(n)}catch(n){return null}}(t.textContent);if(e&&e.image)return"string"==typeof e.image?e.image:e.image["@list"]&&"string"==typeof e.image["@list"][0]?e.image["@list"][0]:"string"==typeof e.image.url?e.image.url:"string"==typeof e.image[0]?e.image[0]:void 0}}function tn(n){var t=n.querySelector('link[rel="shortcut icon"]')||n.querySelector('link[rel="icon"]');return t?t.getAttribute("href"):void 0}function en(n){var t=n.displayIcon,e=n.displayOverlay,r=n.metadata,o=n.onOverlayClick,i=n.pause,a=n.play,u=n.playing,l=n.wrapperRef,c=(0,_.useAmpContext)().playable;return(0,Y.useEffect)((function(){if(c){var n=new IntersectionObserver((function(n){n[n.length-1].isIntersecting?a().catch((function(){})):i()}),{threshold:.5});return n.observe(l.current),function(){n.disconnect()}}i()}),[l,a,i,c]),F.createElement(F.Fragment,null,t&&F.createElement("div",{class:"eq-9e7199f"+(u?" eq-playing-9e7199f":"")},F.createElement(un,null)),e&&F.createElement("button",{"aria-label":r&&r.title||"Unmute video",tabindex:"0",class:"autoplay-mask-button-9e7199f fill-content-overlay-fc551a7",onClick:o}))}var rn,on,an,un=(rn=!1,on=null,an=function(){return[1,2,3,4].map((function(n){return F.createElement("div",{class:"eq-col-9e7199f",key:n})}))},function(){if(!rn){for(var n=arguments.length,t=new Array(n),e=0;e<n;e++)t[e]=arguments[e];on=an.apply(self,t),rn=!0,an=null}return on}),ln=(0,B.forwardRef)((function(n,t){var e,r="class",o=n.autoplay,i=void 0!==o&&o,a=n.component,u=void 0===a?"video":a,l=n.controls,c=void 0!==l&&l,f=n.loading,s=n.loop,d=void 0!==s&&s,v=n.mediasession,p=void 0===v||v,b=n.noaudio,m=void 0!==b&&b,y=n.onPlayingState,j=n.onReadyState,O=n.poster,x=n.sources,I=n.src,R=n.style,P=n[r],C=g(n,["autoplay","component","controls","loading","loop","mediasession","noaudio","onPlayingState","onReadyState","poster","sources","src","style",r].map(w));e=(0,H.useAmpContext)().notify,(0,D.useLayoutEffect)((function(){e&&e()}));var A=(0,_.useAmpContext)().playable,M=(0,_.useLoading)(f),z="unload"!==M,U=h((0,Y.useState)(i),2),L=U[0],B=U[1],J=h((0,Y.useState)(!1),2),W=J[0],Z=J[1],$=h((0,Y.useState)(null),2),G=$[0],K=$[1],Q=h((0,Y.useState)(!i),2),rn=Q[0],on=Q[1],an=(0,Y.useRef)(null),un=(0,Y.useRef)(null),ln=(0,Y.useMemo)((function(){return new S}),[]),cn=(0,Y.useRef)(k),fn=(0,V.useValueRef)(j),sn=(0,Y.useCallback)((function(n,t){if(n!==cn.current){cn.current=n;var e=fn.current;e&&e(n,t)}}),[fn]),dn=(0,V.useValueRef)(y),vn=(0,Y.useCallback)((function(n){Z(n);var t=dn.current;t&&t(n)}),[dn]);(0,Y.useLayoutEffect)((function(){z||vn(!1)}),[z,vn]);var pn=(0,Y.useCallback)((function(){return ln.promise.then((function(){return n=un.current,(t=E((function(){return n.play(!1)}))).catch((function(n){!function(n){for(var t=arguments.length,e=new Array(t>1?t-1:0),r=1;r<t;r++)e[r-1]=arguments[r];T(N.apply(null,e))}("TRYPLAY",n)})),t;var n,t}))}),[ln]),bn=(0,Y.useCallback)((function(){ln.promise.then((function(){var n;return null===(n=un.current)||void 0===n?void 0:n.pause()}))}),[ln]),mn=(0,Y.useCallback)((function(){return ln.promise.then((function(){return un.current.requestFullscreen()}))}),[ln]),yn=(0,Y.useCallback)((function(){B(!1),on(!0)}),[]);return(0,Y.useLayoutEffect)((function(){var n,t=null===(n=un.current)||void 0===n?void 0:n.readyState;null!=t&&sn(t>0?"complete":k)}),[sn]),(0,Y.useLayoutEffect)((function(){return p&&W&&G&&function(n,t,e,r){var o=n.navigator;"mediaSession"in o&&n.MediaMetadata&&(o.mediaSession.metadata=new n.MediaMetadata(X),o.mediaSession.metadata=new n.MediaMetadata(t),o.mediaSession.setActionHandler("play",e),o.mediaSession.setActionHandler("pause",r))}(window,G,pn,bn),function(){}}),[p,W,G,pn,bn]),(0,Y.useEffect)((function(){A||bn()}),[A,bn]),(0,Y.useImperativeHandle)(t,(function(){return{get readyState(){return cn.current},play:pn,pause:bn,requestFullscreen:mn,get currentTime(){return un.current?un.current.currentTime:0},get duration(){return un.current?un.current.duration:NaN},get autoplay(){return i},get controls(){return c},get loop(){return d},userInteracted:yn,mute:function(){return B(!0)},unmute:function(){rn&&B(!1)}}}),[pn,bn,mn,yn,rn,i,c,d]),F.createElement(V.ContainWrapper,{contentRef:an,class:P,style:R,size:!0,layout:!0,paint:!0},z&&F.createElement(u,q(q({},C),{},{ref:un,loading:M,muted:L,loop:d,controls:c&&(!i||rn),onCanPlay:function(){ln.resolve(),sn("complete")},onLoadedMetadata:function(){p&&ln.promise.then((function(){var n,t,e,r;K((n=un.current,q({"title":(t=C).title||t["aria-label"]||document.title,"artist":t.artist||"","album":t.album||"","artwork":[{"src":t.artwork||t.poster||nn(document)||(e=document,r=e.querySelector('meta[property="og:image"]'),r?r.getAttribute("content"):void 0)||tn(document)||""}]},n&&n.getMetadata?n.getMetadata():Object.create(null))))})),sn("complete")},onPlaying:function(){return vn(!0)},onPause:function(){return vn(!1)},onEnded:function(){return vn(!1)},onError:function(n){sn("error",n),ln.reject(n)},class:"fill-stretch-fc551a7",src:I,poster:O}),x),i&&!rn&&F.createElement(en,{metadata:G,playing:W,displayIcon:!m&&L,wrapperRef:an,play:pn,pause:bn,displayOverlay:c,onOverlayClick:yn}))}));ln.displayName="VideoWrapper";var cn=function(n){c(e,b.PreactBaseElement);var t=v(e);function e(){return t.apply(this,arguments)}return e}();function fn(n,t){return function(n,t,e){if(!t)return n;var r=n.split("#",2),o=r[0].split("?",2);return o[0]+(o[1]?"?".concat(o[1],"&").concat(t):"?".concat(t))+(r[1]?"#".concat(r[1]):"")}(n,function(n){var t,e,r,o=[];for(var i in n){var a=n[i];if(null!=a){a=R(r=a)?r:[r];for(var u=0;u<a.length;u++)o.push((t=i,e=a[u],"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e))))}}return o.join("&")}(t))}function sn(n,t){return JSON.stringify({"command":n,"parameters":t})}cn.Component=ln,cn.loadable=!0,cn.layoutSizeDefined=!0,cn.staticProps,cn.props={"album":{attr:"album"},"alt":{attr:"alt"},"artist":{attr:"artist"},"artwork":{attr:"artwork"},"attribution":{attr:"attribution"},"autoplay":{attr:"autoplay",type:"boolean"},"controls":{attr:"controls",type:"boolean"},"controlslist":{attr:"controlslist"},"crossorigin":{attr:"crossorigin"},"disableremoteplayback":{attr:"disableremoteplayback"},"loop":{attr:"loop",type:"boolean"},"noaudio":{attr:"noaudio",type:"boolean"},"poster":{attr:"poster"},"sources":{selector:"source",single:!1,clone:!0},"src":{attr:"src"},"title":{attr:"title"},"dock":{attr:"dock",media:!0},"rotate-to-fullscreen":{attr:"rotate-to-fullscreen",type:"boolean",media:!0}},cn.shadowCss='.fill-stretch-fc551a7{width:100%;height:100%;position:relative}.fill-content-overlay-fc551a7{top:0;left:0;right:0;bottom:0;position:absolute}.autoplay-mask-button-9e7199f{width:100%;border:none;display:block;-webkit-appearance:none;appearance:none;background:transparent}.eq-9e7199f{right:7px;width:20px;bottom:7px;height:12px;display:-ms-flexbox;display:flex;opacity:0.8;z-index:1;overflow:hidden;position:absolute;-ms-flex-align:end;align-items:flex-end;pointer-events:none!important}.eq-playing-9e7199f>div:after,.eq-playing-9e7199f>div:before{animation-play-state:running}.eq-col-9e7199f{-ms-flex:1;flex:1;height:100%;position:relative;margin-right:1px}.eq-col-9e7199f:after,.eq-col-9e7199f:before{width:100%;height:100%;content:"";position:absolute;animation:keyframes-eq-animation-9e7199f 0s linear infinite alternate;will-change:transform;background-color:#fafafa;animation-play-state:paused}.eq-col-9e7199f:nth-child(4):before{animation-duration:0.4s}.eq-col-9e7199f:nth-child(4):after{animation-duration:0.25s}.eq-col-9e7199f:nth-child(3):before{animation-duration:0.3s}.eq-col-9e7199f:nth-child(3):after{animation-duration:0.35s}.eq-col-9e7199f:nth-child(2):before{animation-duration:0.5s}.eq-col-9e7199f:nth-child(2):after{animation-duration:0.4s}.eq-col-9e7199f:first-child:before{animation-duration:0.3s}.eq-col-9e7199f:first-child:after{animation-duration:0.45s}@keyframes keyframes-eq-animation-9e7199f{0%{transform:translateY(100%)}to{transform:translateY(0)}}',cn.usesShadowDom=!0,new Set(["c","v","a","ad"]);var dn=u(require("@bentoproject/core")),vn=u(require("@bentoproject/core")),pn=u(require("@bentoproject/core")),bn=["loading","unloadOnPause","sandbox","muted","controls","origin","onCanPlay","onMessage","playerStateRef","makeMethodMessage","makeFullscreenMessage","onIframeLoad"],mn=["allow-scripts","allow-same-origin","allow-popups","allow-popups-to-escape-sandbox","allow-top-navigation-by-user-activation"].join(" ");function yn(n,t,e){n&&n.contentWindow&&t.then((function(){n.contentWindow.postMessage(e(),"*")}))}var hn=(0,pn.forwardRef)((function(n,t){var e=n.loading,r=n.unloadOnPause,o=void 0!==r&&r,i=n.sandbox,a=void 0===i?mn:i,u=n.muted,l=void 0!==u&&u,c=n.controls,f=void 0!==c&&c,s=n.origin,d=n.onCanPlay,v=n.onMessage,p=n.playerStateRef,b=n.makeMethodMessage,m=n.makeFullscreenMessage,y=n.onIframeLoad,h=g(n,bn),w=(0,vn.useRef)(null),j=(0,vn.useMemo)((function(){return new S}),[]),O=(0,vn.useRef)(b),k=(0,vn.useCallback)((function(n){yn(null==w?void 0:w.current,j.promise,(function(){return O.current(n)}))}),[j.promise]),x=(0,vn.useRef)(m),E=(0,vn.useCallback)((function(){return yn(null==w?void 0:w.current,j.promise,x.current)}),[j.promise]);(0,vn.useImperativeHandle)(t,(function(){return{get currentTime(){var n,t;return null!==(n=null==p||null===(t=p.current)||void 0===t?void 0:t.currentTime)&&void 0!==n?n:NaN},get duration(){var n,t;return null!==(n=null==p||null===(t=p.current)||void 0===t?void 0:t.duration)&&void 0!==n?n:NaN},requestFullscreen:function(){if(!x.current)return j.promise.then((function(){w.current.requestFullscreen()}));E()},play:function(){return k("play")},pause:function(){if(o){var n=w.current;n&&(n.src=n.src)}else k("pause")}}}),[p,k,E,j.promise,o]);var I=function(n){var t=(0,vn.useRef)(null);return t.current=n,t}(v);return(0,vn.useLayoutEffect)((function(){if(w.current){var n=w.current.ownerDocument.defaultView;return n.addEventListener("message",t),function(){return n.removeEventListener("message",t)}}function t(n){I.current&&(s&&!s.test(n.origin)||n.source!=w.current.contentWindow||I.current({currentTarget:w.current,target:w.current,data:n.data}))}}),[s,I]),(0,vn.useLayoutEffect)((function(){k(l?"mute":"unmute")}),[l,k]),(0,vn.useLayoutEffect)((function(){k(f?"showControls":"hideControls")}),[f,k]),dn.createElement("iframe",q(q({},h),{},{ref:w,allowfullscreen:!0,frameborder:"0",sandbox:a,loading:e,onCanPlay:function(){d&&j.promise.then(d),j.resolve()},onLoad:function(n){null==y||y(n)}}))}));hn.displayName="VideoIframeInternal";var gn=(0,pn.forwardRef)((function(n,t){return dn.createElement(ln,q(q({ref:t},n),{},{component:hn}))}));gn.displayName="VideoIframe";var wn=u(require("@bentoproject/core")),jn=u(require("@bentoproject/core")),On=u(require("@bentoproject/core")),qn=["autoplay","endscreenEnable","info","mute","sharingEnable","start","uiHighlight","uiLogo","videoId"];function kn(n){switch(n){case"mute":return sn("muted",[!0]);case"unmute":return sn("muted",[!1]);case"showControls":return sn("controls",[!0]);case"hideControls":return sn("controls",[!1]);default:return sn(n)}}function xn(n){var t=n.currentTarget,e=function(n){var t,e=C();if(!n)return e;for(;t=K.exec(n);){var r=Q(t[1],t[1]),o=t[2]?Q(t[2].replace(/\+/g," "),t[2]):"";e[r]=o}return e}(n.data),r=null==e?void 0:e.event;"pause"===r?W(t,"pause"):"play"===r?W(t,"playing"):"end"===r?(W(t,"pause"),W(t,"end")):"apiready"===r&&W(t,"canplay")}var Sn=(0,On.forwardRef)((function(n,t){var e=n.autoplay,r=n.endscreenEnable,o=n.info,i=n.mute,a=n.sharingEnable,u=n.start,l=n.uiHighlight,c=n.uiLogo,f=n.videoId,s=g(n,qn),d=(0,jn.useMemo)((function(){return function(n,t){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=!(arguments.length>6&&void 0!==arguments[6])||arguments[6],u=arguments.length>7?arguments[7]:void 0,l=arguments.length>8?arguments[8]:void 0,c=!(arguments.length>9&&void 0!==arguments[9])||arguments[9],f=arguments.length>10?arguments[10]:void 0;return fn("https://www.dailymotion.com/embed/video/".concat(encodeURIComponent(t),"?api=1&html=1&app=amp"),q({"endscreen-enable":r?void 0:r,"info":o?void 0:o,"mute":i||e&&L(n)?1:void 0,"sharing-enable":a?void 0:a,"start":u,"ui-highlight":l,"ui-logo":c?void 0:c},f))}(window,f,e,r,o,i,a,u,l,c)}),[f,e,r,o,i,a,u,l,c]);return wn.createElement(gn,q(q({autoplay:e,controls:!0,ref:t},s),{},{src:d,makeMethodMessage:kn,onMessage:xn}))}));Sn.displayName="BentoDailymotion";var En=function(n){c(e,cn);var t=v(e);function e(){return t.apply(this,arguments)}return e}();En.Component=Sn,En.props={"autoplay":{attr:"autoplay",type:"boolean"},"videoId":{attr:"data-videoid"},"start":{attr:"data-start"},"uiHighlight":{attr:"data-ui-highlight"},"implicitParams":{attrPrefix:"data-param-"}},En.layoutSizeDefined=!0,En.usesShadowDom=!0;var In=u(require("@bentoproject/core"));function Rn(n){(0,In.defineBentoElement)("bento-dailymotion",En,n)}
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */
//# sourceMappingURL=web-component.js.map

@@ -1336,4 +1336,4 @@ var __create = Object.create;

var import_bento_ce = __toModule(require("@bentoproject/core"));
function defineElement() {
(0, import_bento_ce.defineBentoElement)("bento-dailymotion", BaseElement);
function defineElement(win) {
(0, import_bento_ce.defineBentoElement)("bento-dailymotion", BaseElement, win);
}

@@ -1340,0 +1340,0 @@ /*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */

@@ -1236,4 +1236,4 @@ // src/bento/components/bento-video/1.0/base-element.js

import { defineBentoElement } from "@bentoproject/core";
function defineElement() {
defineBentoElement("bento-dailymotion", BaseElement);
function defineElement(win) {
defineBentoElement("bento-dailymotion", BaseElement, win);
}

@@ -1240,0 +1240,0 @@ export {

;
import{PreactBaseElement as t}from"@bentoproject/core";function e(t,e){if(null==t)return{};var n,o,r={},a=Object.keys(t);for(o=0;o<a.length;o++)n=a[o],e.indexOf(n)>=0||(r[n]=t[n]);return r}function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,"string");if("object"!==n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===n(e)?e:String(e)}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function s(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u=class{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}};function c(t){return new Promise((e=>{e(t())}))}var f,{isArray:p}=Array,{hasOwnProperty:d,toString:m}=Object.prototype;function b(t){const e=Object.create(null);return t&&Object.assign(e,t),e}function y(t){const e=Object.getOwnPropertyDescriptor(t,"message");if(null!=e&&e.writable)return t;const{message:n,stack:o}=t,r=new Error(n);for(const e in t)r[e]=t[e];return r.stack=o,r}function g(t){let e=null,n="";for(var o,r=s(arguments,!0);!(o=r()).done;){const t=o.value;t instanceof Error&&!e?e=y(t):(n&&(n+=" "),n+=t)}return e?n&&(e.message=n+": "+e.message):e=new Error(n),e}function v(t){const e=g.apply(null,arguments);return e.expected=!0,e}function h(t,...e){var n,o,r;n=v.apply(null,e),null===(o=(r=self).__AMP_REPORT_ERROR)||void 0===o||o.call(r,n)}var w=["Webkit","webkit","Moz","moz","ms","O","o"];function j(t,e,n,o,r){const a=function(t,e,n){if(e.startsWith("--"))return e;f||(f=b());let o=f[e];if(!o||n){if(o=e,void 0===t[e]){const n=function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(e),r=function(t,e){for(let n=0;n<w.length;n++){const o=w[n]+e;if(void 0!==t[o])return o}return""}(t,n);void 0!==t[r]&&(o=r)}n||(f[e]=o)}return o}(t.style,e,r);if(!a)return;const i=o?n+o:n;t.style.setProperty(function(t){const e=t.replace(/[A-Z]/g,(t=>"-"+t.toLowerCase()));return w.some((t=>e.startsWith(t+"-")))?`-${e}`:e}(a),i)}function k(t){return null==t.__AMP_AUTOPLAY&&(t.__AMP_AUTOPLAY=function(t){const e=t.document.createElement("video");var n;return e.setAttribute("muted",""),e.setAttribute("playsinline",""),e.setAttribute("webkit-playsinline",""),e.setAttribute("height","0"),e.setAttribute("width","0"),e.muted=!0,e.playsInline=!0,e.playsinline=!0,e.webkitPlaysinline=!0,function(t,e){for(const n in e)j(t,n,e[n])}(e,{position:"fixed",top:"0",width:"0",height:"0",opacity:"0"}),n=e,c((()=>n.play())).catch((()=>{})),Promise.resolve(!e.paused)}(t)),t.__AMP_AUTOPLAY}import{Fragment as O,createElement as x}from"@bentoproject/core";import{useCallback as S,useEffect as q,useImperativeHandle as I,useLayoutEffect as C,useMemo as E,useRef as P,useState as M}from"@bentoproject/core";import{forwardRef as R}from"@bentoproject/core";import{ContainWrapper as $,useValueRef as A}from"@bentoproject/core";import{useAmpContext as L,useLoading as N}from"@bentoproject/core";import{useCallback as T,useLayoutEffect as U}from"@bentoproject/core";import{useAmpContext as z}from"@bentoproject/core";var F={bubbles:!0,cancelable:!0};function H(t,e,n,o){const r=n||{};t.ownerDocument;const a=t.ownerDocument.createEvent("Event");a.data=r;const{bubbles:i,cancelable:l}=o||F;a.initEvent(e,i,l),t.dispatchEvent(a)}var V=self.AMP_CONFIG||{},J=("string"==typeof V.thirdPartyFrameRegex?new RegExp(V.thirdPartyFrameRegex):V.thirdPartyFrameRegex,("string"==typeof V.cdnProxyRegex?new RegExp(V.cdnProxyRegex):V.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function W(t){if(!self.document||!self.document.head)return null;if(self.location&&J.test(self.location.origin))return null;const e=self.document.head.querySelector(`meta[name="${t}"]`);return e&&e.getAttribute("content")||null}V.thirdPartyUrl,V.thirdPartyFrameHost,V.cdnUrl||W("runtime-host"),V.errorReportingUrl,V.betaErrorReportingUrl,V.localDev,V.geoApiUrl||W("amp-geo-api");var Y=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function Z(t,e=""){try{return decodeURIComponent(t)}catch(t){return e}}self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG;var B={"title":"","artist":"","album":"","artwork":[{"src":""}]};function D(t){const e=t.querySelector('script[type="application/ld+json"]');if(!e)return;const n=function(t,e){try{return function(t){return JSON.parse(t)}(t)}catch(t){return null}}(e.textContent);return n&&n.image?"string"==typeof n.image?n.image:n.image["@list"]&&"string"==typeof n.image["@list"][0]?n.image["@list"][0]:"string"==typeof n.image.url?n.image.url:"string"==typeof n.image[0]?n.image[0]:void 0:void 0}function _(t){const e=t.querySelector('meta[property="og:image"]');return e?e.getAttribute("content"):void 0}function G(t){const e=t.querySelector('link[rel="shortcut icon"]')||t.querySelector('link[rel="icon"]');return e?e.getAttribute("href"):void 0}function K({displayIcon:t,displayOverlay:e,metadata:n,onOverlayClick:o,pause:r,play:a,playing:i,wrapperRef:l}){const{playable:s}=L();return q((()=>{if(!s)return void r();const t=new IntersectionObserver((t=>{t[t.length-1].isIntersecting?a().catch((()=>{})):r()}),{threshold:.5});return t.observe(l.current),()=>{t.disconnect()}}),[l,a,r,s]),x(O,null,t&&x("div",{class:"eq-9e7199f"+(i?" eq-playing-9e7199f":"")},x(Q,null)),e&&x("button",{"aria-label":n&&n.title||"Unmute video",tabindex:"0",class:"autoplay-mask-button-9e7199f fill-content-overlay-fc551a7",onClick:o}))}var Q=function(t){let e=!1,n=null,o=()=>[1,2,3,4].map((t=>x("div",{class:"eq-col-9e7199f",key:t})));return(...t)=>(e||(n=o.apply(self,t),e=!0,o=null),n)}(),X=R((function(t,n){let r="class",{autoplay:a=!1,component:l="video",controls:s=!1,loading:f,loop:p=!1,mediasession:d=!0,noaudio:m=!1,onPlayingState:b,onReadyState:y,poster:g,sources:v,src:w,style:j,[r]:k}=t,O=e(t,["autoplay","component","controls","loading","loop","mediasession","noaudio","onPlayingState","onReadyState","poster","sources","src","style",r].map(o));!function(){const{notify:t}=z();U((()=>{t&&t()}))}();const{playable:R}=L(),T=N(f),F="unload"!==T,[H,V]=M(a),[J,W]=M(!1),[Y,Z]=M(null),[Q,X]=M(!a),tt=P(null),et=P(null),nt=E((()=>new u),[]),ot=P("loading"),rt=A(y),at=S(((t,e)=>{if(t!==ot.current){ot.current=t;const n=rt.current;n&&n(t,e)}}),[rt]),it=A(b),lt=S((t=>{W(t);const e=it.current;e&&e(t)}),[it]);C((()=>{F||lt(!1)}),[F,lt]);const st=S((()=>nt.promise.then((()=>function(t,e){const n=c((()=>t.play(!1)));return n.catch((t=>{h(0,t)})),n}(et.current)))),[nt]),ut=S((()=>{nt.promise.then((()=>{var t;return null===(t=et.current)||void 0===t?void 0:t.pause()}))}),[nt]),ct=S((()=>nt.promise.then((()=>et.current.requestFullscreen()))),[nt]),ft=S((()=>{V(!1),X(!0)}),[]);return C((()=>{var t;const e=null===(t=et.current)||void 0===t?void 0:t.readyState;null!=e&&at(e>0?"complete":"loading")}),[at]),C((()=>(d&&J&&Y&&function(t,e,n,o){const{navigator:r}=t;"mediaSession"in r&&t.MediaMetadata&&(r.mediaSession.metadata=new t.MediaMetadata(B),r.mediaSession.metadata=new t.MediaMetadata(e),r.mediaSession.setActionHandler("play",n),r.mediaSession.setActionHandler("pause",o))}(window,Y,st,ut),()=>{})),[d,J,Y,st,ut]),q((()=>{R||ut()}),[R,ut]),I(n,(()=>({get readyState(){return ot.current},play:st,pause:ut,requestFullscreen:ct,get currentTime(){return et.current?et.current.currentTime:0},get duration(){return et.current?et.current.duration:NaN},get autoplay(){return a},get controls(){return s},get loop(){return p},userInteracted:ft,mute:()=>V(!0),unmute:()=>{Q&&V(!1)}})),[st,ut,ct,ft,Q,a,s,p]),x($,{contentRef:tt,class:k,style:j,size:!0,layout:!0,paint:!0},F&&x(l,i(i({},O),{},{ref:et,loading:T,muted:H,loop:p,controls:s&&(!a||Q),onCanPlay:()=>{nt.resolve(),at("complete")},onLoadedMetadata:()=>{d&&nt.promise.then((()=>{var t,e;Z((t=et.current,i({"title":(e=O).title||e["aria-label"]||document.title,"artist":e.artist||"","album":e.album||"","artwork":[{"src":e.artwork||e.poster||D(document)||_(document)||G(document)||""}]},t&&t.getMetadata?t.getMetadata():Object.create(null))))})),at("complete")},onPlaying:()=>lt(!0),onPause:()=>lt(!1),onEnded:()=>lt(!1),onError:t=>{at("error",t),nt.reject(t)},class:"fill-stretch-fc551a7",src:w,poster:g}),v),a&&!Q&&x(K,{metadata:Y,playing:J,displayIcon:!m&&H,wrapperRef:tt,play:st,pause:ut,displayOverlay:s,onOverlayClick:ft}))}));X.displayName="VideoWrapper";var tt=class extends t{};function et(t,e){return JSON.stringify({"command":t,"parameters":e})}tt.Component=X,tt.loadable=!0,tt.layoutSizeDefined=!0,tt.staticProps,tt.props={"album":{attr:"album"},"alt":{attr:"alt"},"artist":{attr:"artist"},"artwork":{attr:"artwork"},"attribution":{attr:"attribution"},"autoplay":{attr:"autoplay",type:"boolean"},"controls":{attr:"controls",type:"boolean"},"controlslist":{attr:"controlslist"},"crossorigin":{attr:"crossorigin"},"disableremoteplayback":{attr:"disableremoteplayback"},"loop":{attr:"loop",type:"boolean"},"noaudio":{attr:"noaudio",type:"boolean"},"poster":{attr:"poster"},"sources":{selector:"source",single:!1,clone:!0},"src":{attr:"src"},"title":{attr:"title"},"dock":{attr:"dock",media:!0},"rotate-to-fullscreen":{attr:"rotate-to-fullscreen",type:"boolean",media:!0}},tt.shadowCss='.fill-stretch-fc551a7{width:100%;height:100%;position:relative}.fill-content-overlay-fc551a7{top:0;left:0;right:0;bottom:0;position:absolute}.autoplay-mask-button-9e7199f{width:100%;border:none;display:block;-webkit-appearance:none;appearance:none;background:transparent}.eq-9e7199f{right:7px;width:20px;bottom:7px;height:12px;display:-ms-flexbox;display:flex;opacity:0.8;z-index:1;overflow:hidden;position:absolute;-ms-flex-align:end;align-items:flex-end;pointer-events:none!important}.eq-playing-9e7199f>div:after,.eq-playing-9e7199f>div:before{animation-play-state:running}.eq-col-9e7199f{-ms-flex:1;flex:1;height:100%;position:relative;margin-right:1px}.eq-col-9e7199f:after,.eq-col-9e7199f:before{width:100%;height:100%;content:"";position:absolute;animation:keyframes-eq-animation-9e7199f 0s linear infinite alternate;will-change:transform;background-color:#fafafa;animation-play-state:paused}.eq-col-9e7199f:nth-child(4):before{animation-duration:0.4s}.eq-col-9e7199f:nth-child(4):after{animation-duration:0.25s}.eq-col-9e7199f:nth-child(3):before{animation-duration:0.3s}.eq-col-9e7199f:nth-child(3):after{animation-duration:0.35s}.eq-col-9e7199f:nth-child(2):before{animation-duration:0.5s}.eq-col-9e7199f:nth-child(2):after{animation-duration:0.4s}.eq-col-9e7199f:first-child:before{animation-duration:0.3s}.eq-col-9e7199f:first-child:after{animation-duration:0.45s}@keyframes keyframes-eq-animation-9e7199f{0%{transform:translateY(100%)}to{transform:translateY(0)}}',tt.usesShadowDom=!0,new Set(["c","v","a","ad"]);import{createElement as nt}from"@bentoproject/core";import{useCallback as ot,useImperativeHandle as rt,useLayoutEffect as at,useMemo as it,useRef as lt}from"@bentoproject/core";import{forwardRef as st}from"@bentoproject/core";var ut=["loading","unloadOnPause","sandbox","muted","controls","origin","onCanPlay","onMessage","playerStateRef","makeMethodMessage","makeFullscreenMessage","onIframeLoad"],ct=["allow-scripts","allow-same-origin","allow-popups","allow-popups-to-escape-sandbox","allow-top-navigation-by-user-activation"].join(" ");function ft(t,e,n){t&&t.contentWindow&&e.then((()=>{t.contentWindow.postMessage(n(),"*")}))}var pt=st((function(t,n){let{loading:o,unloadOnPause:r=!1,sandbox:a=ct,muted:l=!1,controls:s=!1,origin:c,onCanPlay:f,onMessage:p,playerStateRef:d,makeMethodMessage:m,makeFullscreenMessage:b,onIframeLoad:y}=t,g=e(t,ut);const v=lt(null),h=it((()=>new u),[]),w=lt(m),j=ot((t=>{ft(null==v?void 0:v.current,h.promise,(()=>w.current(t)))}),[h.promise]),k=lt(b),O=ot((()=>ft(null==v?void 0:v.current,h.promise,k.current)),[h.promise]);rt(n,(()=>({get currentTime(){var t,e;return null!==(t=null==d||null===(e=d.current)||void 0===e?void 0:e.currentTime)&&void 0!==t?t:NaN},get duration(){var t,e;return null!==(t=null==d||null===(e=d.current)||void 0===e?void 0:e.duration)&&void 0!==t?t:NaN},requestFullscreen:()=>{if(!k.current)return h.promise.then((()=>{v.current.requestFullscreen()}));O()},play:()=>j("play"),pause:()=>{if(r){const t=v.current;t&&(t.src=t.src)}else j("pause")}})),[d,j,O,h.promise,r]);const x=function(t){const e=lt(null);return e.current=t,e}(p);return at((()=>{if(!v.current)return;function t(t){x.current&&(c&&!c.test(t.origin)||t.source!=v.current.contentWindow||x.current({currentTarget:v.current,target:v.current,data:t.data}))}const{defaultView:e}=v.current.ownerDocument;return e.addEventListener("message",t),()=>e.removeEventListener("message",t)}),[c,x]),at((()=>{j(l?"mute":"unmute")}),[l,j]),at((()=>{j(s?"showControls":"hideControls")}),[s,j]),nt("iframe",i(i({},g),{},{ref:v,allowfullscreen:!0,frameborder:"0",sandbox:a,loading:o,onCanPlay:()=>{f&&h.promise.then(f),h.resolve()},onLoad:t=>{null==y||y(t)}}))}));pt.displayName="VideoIframeInternal";var dt=st((function(t,e){return nt(X,i(i({ref:e},t),{},{component:pt}))}));dt.displayName="VideoIframe";import{createElement as mt}from"@bentoproject/core";import{useMemo as bt}from"@bentoproject/core";import{forwardRef as yt}from"@bentoproject/core";var gt=["autoplay","endscreenEnable","info","mute","sharingEnable","start","uiHighlight","uiLogo","videoId"];function vt(t){switch(t){case"mute":return et("muted",[!0]);case"unmute":return et("muted",[!1]);case"showControls":return et("controls",[!0]);case"hideControls":return et("controls",[!1]);default:return et(t)}}function ht({currentTarget:t,data:e}){const n=function(t){const e=b();if(!t)return e;let n;for(;n=Y.exec(t);){const t=Z(n[1],n[1]),o=n[2]?Z(n[2].replace(/\+/g," "),n[2]):"";e[t]=o}return e}(e),o=null==n?void 0:n.event;"pause"===o?H(t,"pause"):"play"===o?H(t,"playing"):"end"===o?(H(t,"pause"),H(t,"end")):"apiready"===o&&H(t,"canplay")}var wt=yt((function(t,n){let{autoplay:o,endscreenEnable:r,info:a,mute:l,sharingEnable:s,start:u,uiHighlight:c,uiLogo:f,videoId:d}=t,m=e(t,gt);const b=bt((()=>function(t,e,n=!1,o=!0,r=!0,a=!1,l=!0,s,u,c=!0,f){return function(t,e,n){if(!e)return t;const o=t.split("#",2),r=o[0].split("?",2);let a=r[0]+(r[1]?`?${r[1]}&${e}`:`?${e}`);return a+=o[1]?`#${o[1]}`:"",a}(`https://www.dailymotion.com/embed/video/${encodeURIComponent(e)}?api=1&html=1&app=amp`,function(t){const e=[];for(const a in t){let i=t[a];if(null!=i){i=p(r=i)?r:[r];for(let t=0;t<i.length;t++)e.push((n=a,o=i[t],`${encodeURIComponent(n)}=${encodeURIComponent(o)}`))}}var n,o,r;return e.join("&")}(i({"endscreen-enable":o?void 0:o,"info":r?void 0:r,"mute":a||n&&k(t)?1:void 0,"sharing-enable":l?void 0:l,"start":s,"ui-highlight":u,"ui-logo":c?void 0:c},f)))}(window,d,o,r,a,l,s,u,c,f)),[d,o,r,a,l,s,u,c,f]);return mt(dt,i(i({autoplay:o,controls:!0,ref:n},m),{},{src:b,makeMethodMessage:vt,onMessage:ht}))}));wt.displayName="BentoDailymotion";var jt=class extends tt{};jt.Component=wt,jt.props={"autoplay":{attr:"autoplay",type:"boolean"},"videoId":{attr:"data-videoid"},"start":{attr:"data-start"},"uiHighlight":{attr:"data-ui-highlight"},"implicitParams":{attrPrefix:"data-param-"}},jt.layoutSizeDefined=!0,jt.usesShadowDom=!0;import{defineBentoElement as kt}from"@bentoproject/core";function Ot(){kt("bento-dailymotion",jt)}export{Ot as defineElement};
import{PreactBaseElement as t}from"@bentoproject/core";function e(t,e){if(null==t)return{};var n,o,r={},a=Object.keys(t);for(o=0;o<a.length;o++)n=a[o],e.indexOf(n)>=0||(r[n]=t[n]);return r}function n(t){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var o=t[Symbol.toPrimitive];if(void 0!==o){var r=o.call(t,"string");if("object"!==n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===n(e)?e:String(e)}function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,o)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function s(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(n)return(n=n.call(t)).next.bind(n);if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var o=0;return function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u=class{constructor(){this.promise=new Promise(((t,e)=>{this.resolve=t,this.reject=e}))}};function c(t){return new Promise((e=>{e(t())}))}var f,{isArray:p}=Array,{hasOwnProperty:d,toString:m}=Object.prototype;function b(t){const e=Object.create(null);return t&&Object.assign(e,t),e}function y(t){const e=Object.getOwnPropertyDescriptor(t,"message");if(null!=e&&e.writable)return t;const{message:n,stack:o}=t,r=new Error(n);for(const e in t)r[e]=t[e];return r.stack=o,r}function g(t){let e=null,n="";for(var o,r=s(arguments,!0);!(o=r()).done;){const t=o.value;t instanceof Error&&!e?e=y(t):(n&&(n+=" "),n+=t)}return e?n&&(e.message=n+": "+e.message):e=new Error(n),e}function v(t){const e=g.apply(null,arguments);return e.expected=!0,e}function h(t,...e){var n,o,r;n=v.apply(null,e),null===(o=(r=self).__AMP_REPORT_ERROR)||void 0===o||o.call(r,n)}var w=["Webkit","webkit","Moz","moz","ms","O","o"];function j(t,e,n,o,r){const a=function(t,e,n){if(e.startsWith("--"))return e;f||(f=b());let o=f[e];if(!o||n){if(o=e,void 0===t[e]){const n=function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(e),r=function(t,e){for(let n=0;n<w.length;n++){const o=w[n]+e;if(void 0!==t[o])return o}return""}(t,n);void 0!==t[r]&&(o=r)}n||(f[e]=o)}return o}(t.style,e,r);if(!a)return;const i=o?n+o:n;t.style.setProperty(function(t){const e=t.replace(/[A-Z]/g,(t=>"-"+t.toLowerCase()));return w.some((t=>e.startsWith(t+"-")))?`-${e}`:e}(a),i)}function k(t){return null==t.__AMP_AUTOPLAY&&(t.__AMP_AUTOPLAY=function(t){const e=t.document.createElement("video");var n;return e.setAttribute("muted",""),e.setAttribute("playsinline",""),e.setAttribute("webkit-playsinline",""),e.setAttribute("height","0"),e.setAttribute("width","0"),e.muted=!0,e.playsInline=!0,e.playsinline=!0,e.webkitPlaysinline=!0,function(t,e){for(const n in e)j(t,n,e[n])}(e,{position:"fixed",top:"0",width:"0",height:"0",opacity:"0"}),n=e,c((()=>n.play())).catch((()=>{})),Promise.resolve(!e.paused)}(t)),t.__AMP_AUTOPLAY}import{Fragment as O,createElement as x}from"@bentoproject/core";import{useCallback as S,useEffect as q,useImperativeHandle as I,useLayoutEffect as C,useMemo as E,useRef as P,useState as M}from"@bentoproject/core";import{forwardRef as R}from"@bentoproject/core";import{ContainWrapper as $,useValueRef as A}from"@bentoproject/core";import{useAmpContext as L,useLoading as N}from"@bentoproject/core";import{useCallback as T,useLayoutEffect as U}from"@bentoproject/core";import{useAmpContext as z}from"@bentoproject/core";var F={bubbles:!0,cancelable:!0};function H(t,e,n,o){const r=n||{};t.ownerDocument;const a=t.ownerDocument.createEvent("Event");a.data=r;const{bubbles:i,cancelable:l}=o||F;a.initEvent(e,i,l),t.dispatchEvent(a)}var V=self.AMP_CONFIG||{},J=("string"==typeof V.thirdPartyFrameRegex?new RegExp(V.thirdPartyFrameRegex):V.thirdPartyFrameRegex,("string"==typeof V.cdnProxyRegex?new RegExp(V.cdnProxyRegex):V.cdnProxyRegex)||/^https:\/\/([a-zA-Z0-9_-]+\.)?cdn\.ampproject\.org$/);function W(t){if(!self.document||!self.document.head)return null;if(self.location&&J.test(self.location.origin))return null;const e=self.document.head.querySelector(`meta[name="${t}"]`);return e&&e.getAttribute("content")||null}V.thirdPartyUrl,V.thirdPartyFrameHost,V.cdnUrl||W("runtime-host"),V.errorReportingUrl,V.betaErrorReportingUrl,V.localDev,V.geoApiUrl||W("amp-geo-api");var Y=/(?:^[#?]?|&)([^=&]+)(?:=([^&]*))?/g;function Z(t,e=""){try{return decodeURIComponent(t)}catch(t){return e}}self.__AMP_LOG=self.__AMP_LOG||{user:null,dev:null,userForEmbed:null},self.__AMP_LOG;var B={"title":"","artist":"","album":"","artwork":[{"src":""}]};function D(t){const e=t.querySelector('script[type="application/ld+json"]');if(!e)return;const n=function(t,e){try{return function(t){return JSON.parse(t)}(t)}catch(t){return null}}(e.textContent);return n&&n.image?"string"==typeof n.image?n.image:n.image["@list"]&&"string"==typeof n.image["@list"][0]?n.image["@list"][0]:"string"==typeof n.image.url?n.image.url:"string"==typeof n.image[0]?n.image[0]:void 0:void 0}function _(t){const e=t.querySelector('meta[property="og:image"]');return e?e.getAttribute("content"):void 0}function G(t){const e=t.querySelector('link[rel="shortcut icon"]')||t.querySelector('link[rel="icon"]');return e?e.getAttribute("href"):void 0}function K({displayIcon:t,displayOverlay:e,metadata:n,onOverlayClick:o,pause:r,play:a,playing:i,wrapperRef:l}){const{playable:s}=L();return q((()=>{if(!s)return void r();const t=new IntersectionObserver((t=>{t[t.length-1].isIntersecting?a().catch((()=>{})):r()}),{threshold:.5});return t.observe(l.current),()=>{t.disconnect()}}),[l,a,r,s]),x(O,null,t&&x("div",{class:"eq-9e7199f"+(i?" eq-playing-9e7199f":"")},x(Q,null)),e&&x("button",{"aria-label":n&&n.title||"Unmute video",tabindex:"0",class:"autoplay-mask-button-9e7199f fill-content-overlay-fc551a7",onClick:o}))}var Q=function(t){let e=!1,n=null,o=()=>[1,2,3,4].map((t=>x("div",{class:"eq-col-9e7199f",key:t})));return(...t)=>(e||(n=o.apply(self,t),e=!0,o=null),n)}(),X=R((function(t,n){let r="class",{autoplay:a=!1,component:l="video",controls:s=!1,loading:f,loop:p=!1,mediasession:d=!0,noaudio:m=!1,onPlayingState:b,onReadyState:y,poster:g,sources:v,src:w,style:j,[r]:k}=t,O=e(t,["autoplay","component","controls","loading","loop","mediasession","noaudio","onPlayingState","onReadyState","poster","sources","src","style",r].map(o));!function(){const{notify:t}=z();U((()=>{t&&t()}))}();const{playable:R}=L(),T=N(f),F="unload"!==T,[H,V]=M(a),[J,W]=M(!1),[Y,Z]=M(null),[Q,X]=M(!a),tt=P(null),et=P(null),nt=E((()=>new u),[]),ot=P("loading"),rt=A(y),at=S(((t,e)=>{if(t!==ot.current){ot.current=t;const n=rt.current;n&&n(t,e)}}),[rt]),it=A(b),lt=S((t=>{W(t);const e=it.current;e&&e(t)}),[it]);C((()=>{F||lt(!1)}),[F,lt]);const st=S((()=>nt.promise.then((()=>function(t,e){const n=c((()=>t.play(!1)));return n.catch((t=>{h(0,t)})),n}(et.current)))),[nt]),ut=S((()=>{nt.promise.then((()=>{var t;return null===(t=et.current)||void 0===t?void 0:t.pause()}))}),[nt]),ct=S((()=>nt.promise.then((()=>et.current.requestFullscreen()))),[nt]),ft=S((()=>{V(!1),X(!0)}),[]);return C((()=>{var t;const e=null===(t=et.current)||void 0===t?void 0:t.readyState;null!=e&&at(e>0?"complete":"loading")}),[at]),C((()=>(d&&J&&Y&&function(t,e,n,o){const{navigator:r}=t;"mediaSession"in r&&t.MediaMetadata&&(r.mediaSession.metadata=new t.MediaMetadata(B),r.mediaSession.metadata=new t.MediaMetadata(e),r.mediaSession.setActionHandler("play",n),r.mediaSession.setActionHandler("pause",o))}(window,Y,st,ut),()=>{})),[d,J,Y,st,ut]),q((()=>{R||ut()}),[R,ut]),I(n,(()=>({get readyState(){return ot.current},play:st,pause:ut,requestFullscreen:ct,get currentTime(){return et.current?et.current.currentTime:0},get duration(){return et.current?et.current.duration:NaN},get autoplay(){return a},get controls(){return s},get loop(){return p},userInteracted:ft,mute:()=>V(!0),unmute:()=>{Q&&V(!1)}})),[st,ut,ct,ft,Q,a,s,p]),x($,{contentRef:tt,class:k,style:j,size:!0,layout:!0,paint:!0},F&&x(l,i(i({},O),{},{ref:et,loading:T,muted:H,loop:p,controls:s&&(!a||Q),onCanPlay:()=>{nt.resolve(),at("complete")},onLoadedMetadata:()=>{d&&nt.promise.then((()=>{var t,e;Z((t=et.current,i({"title":(e=O).title||e["aria-label"]||document.title,"artist":e.artist||"","album":e.album||"","artwork":[{"src":e.artwork||e.poster||D(document)||_(document)||G(document)||""}]},t&&t.getMetadata?t.getMetadata():Object.create(null))))})),at("complete")},onPlaying:()=>lt(!0),onPause:()=>lt(!1),onEnded:()=>lt(!1),onError:t=>{at("error",t),nt.reject(t)},class:"fill-stretch-fc551a7",src:w,poster:g}),v),a&&!Q&&x(K,{metadata:Y,playing:J,displayIcon:!m&&H,wrapperRef:tt,play:st,pause:ut,displayOverlay:s,onOverlayClick:ft}))}));X.displayName="VideoWrapper";var tt=class extends t{};function et(t,e){return JSON.stringify({"command":t,"parameters":e})}tt.Component=X,tt.loadable=!0,tt.layoutSizeDefined=!0,tt.staticProps,tt.props={"album":{attr:"album"},"alt":{attr:"alt"},"artist":{attr:"artist"},"artwork":{attr:"artwork"},"attribution":{attr:"attribution"},"autoplay":{attr:"autoplay",type:"boolean"},"controls":{attr:"controls",type:"boolean"},"controlslist":{attr:"controlslist"},"crossorigin":{attr:"crossorigin"},"disableremoteplayback":{attr:"disableremoteplayback"},"loop":{attr:"loop",type:"boolean"},"noaudio":{attr:"noaudio",type:"boolean"},"poster":{attr:"poster"},"sources":{selector:"source",single:!1,clone:!0},"src":{attr:"src"},"title":{attr:"title"},"dock":{attr:"dock",media:!0},"rotate-to-fullscreen":{attr:"rotate-to-fullscreen",type:"boolean",media:!0}},tt.shadowCss='.fill-stretch-fc551a7{width:100%;height:100%;position:relative}.fill-content-overlay-fc551a7{top:0;left:0;right:0;bottom:0;position:absolute}.autoplay-mask-button-9e7199f{width:100%;border:none;display:block;-webkit-appearance:none;appearance:none;background:transparent}.eq-9e7199f{right:7px;width:20px;bottom:7px;height:12px;display:-ms-flexbox;display:flex;opacity:0.8;z-index:1;overflow:hidden;position:absolute;-ms-flex-align:end;align-items:flex-end;pointer-events:none!important}.eq-playing-9e7199f>div:after,.eq-playing-9e7199f>div:before{animation-play-state:running}.eq-col-9e7199f{-ms-flex:1;flex:1;height:100%;position:relative;margin-right:1px}.eq-col-9e7199f:after,.eq-col-9e7199f:before{width:100%;height:100%;content:"";position:absolute;animation:keyframes-eq-animation-9e7199f 0s linear infinite alternate;will-change:transform;background-color:#fafafa;animation-play-state:paused}.eq-col-9e7199f:nth-child(4):before{animation-duration:0.4s}.eq-col-9e7199f:nth-child(4):after{animation-duration:0.25s}.eq-col-9e7199f:nth-child(3):before{animation-duration:0.3s}.eq-col-9e7199f:nth-child(3):after{animation-duration:0.35s}.eq-col-9e7199f:nth-child(2):before{animation-duration:0.5s}.eq-col-9e7199f:nth-child(2):after{animation-duration:0.4s}.eq-col-9e7199f:first-child:before{animation-duration:0.3s}.eq-col-9e7199f:first-child:after{animation-duration:0.45s}@keyframes keyframes-eq-animation-9e7199f{0%{transform:translateY(100%)}to{transform:translateY(0)}}',tt.usesShadowDom=!0,new Set(["c","v","a","ad"]);import{createElement as nt}from"@bentoproject/core";import{useCallback as ot,useImperativeHandle as rt,useLayoutEffect as at,useMemo as it,useRef as lt}from"@bentoproject/core";import{forwardRef as st}from"@bentoproject/core";var ut=["loading","unloadOnPause","sandbox","muted","controls","origin","onCanPlay","onMessage","playerStateRef","makeMethodMessage","makeFullscreenMessage","onIframeLoad"],ct=["allow-scripts","allow-same-origin","allow-popups","allow-popups-to-escape-sandbox","allow-top-navigation-by-user-activation"].join(" ");function ft(t,e,n){t&&t.contentWindow&&e.then((()=>{t.contentWindow.postMessage(n(),"*")}))}var pt=st((function(t,n){let{loading:o,unloadOnPause:r=!1,sandbox:a=ct,muted:l=!1,controls:s=!1,origin:c,onCanPlay:f,onMessage:p,playerStateRef:d,makeMethodMessage:m,makeFullscreenMessage:b,onIframeLoad:y}=t,g=e(t,ut);const v=lt(null),h=it((()=>new u),[]),w=lt(m),j=ot((t=>{ft(null==v?void 0:v.current,h.promise,(()=>w.current(t)))}),[h.promise]),k=lt(b),O=ot((()=>ft(null==v?void 0:v.current,h.promise,k.current)),[h.promise]);rt(n,(()=>({get currentTime(){var t,e;return null!==(t=null==d||null===(e=d.current)||void 0===e?void 0:e.currentTime)&&void 0!==t?t:NaN},get duration(){var t,e;return null!==(t=null==d||null===(e=d.current)||void 0===e?void 0:e.duration)&&void 0!==t?t:NaN},requestFullscreen:()=>{if(!k.current)return h.promise.then((()=>{v.current.requestFullscreen()}));O()},play:()=>j("play"),pause:()=>{if(r){const t=v.current;t&&(t.src=t.src)}else j("pause")}})),[d,j,O,h.promise,r]);const x=function(t){const e=lt(null);return e.current=t,e}(p);return at((()=>{if(!v.current)return;function t(t){x.current&&(c&&!c.test(t.origin)||t.source!=v.current.contentWindow||x.current({currentTarget:v.current,target:v.current,data:t.data}))}const{defaultView:e}=v.current.ownerDocument;return e.addEventListener("message",t),()=>e.removeEventListener("message",t)}),[c,x]),at((()=>{j(l?"mute":"unmute")}),[l,j]),at((()=>{j(s?"showControls":"hideControls")}),[s,j]),nt("iframe",i(i({},g),{},{ref:v,allowfullscreen:!0,frameborder:"0",sandbox:a,loading:o,onCanPlay:()=>{f&&h.promise.then(f),h.resolve()},onLoad:t=>{null==y||y(t)}}))}));pt.displayName="VideoIframeInternal";var dt=st((function(t,e){return nt(X,i(i({ref:e},t),{},{component:pt}))}));dt.displayName="VideoIframe";import{createElement as mt}from"@bentoproject/core";import{useMemo as bt}from"@bentoproject/core";import{forwardRef as yt}from"@bentoproject/core";var gt=["autoplay","endscreenEnable","info","mute","sharingEnable","start","uiHighlight","uiLogo","videoId"];function vt(t){switch(t){case"mute":return et("muted",[!0]);case"unmute":return et("muted",[!1]);case"showControls":return et("controls",[!0]);case"hideControls":return et("controls",[!1]);default:return et(t)}}function ht({currentTarget:t,data:e}){const n=function(t){const e=b();if(!t)return e;let n;for(;n=Y.exec(t);){const t=Z(n[1],n[1]),o=n[2]?Z(n[2].replace(/\+/g," "),n[2]):"";e[t]=o}return e}(e),o=null==n?void 0:n.event;"pause"===o?H(t,"pause"):"play"===o?H(t,"playing"):"end"===o?(H(t,"pause"),H(t,"end")):"apiready"===o&&H(t,"canplay")}var wt=yt((function(t,n){let{autoplay:o,endscreenEnable:r,info:a,mute:l,sharingEnable:s,start:u,uiHighlight:c,uiLogo:f,videoId:d}=t,m=e(t,gt);const b=bt((()=>function(t,e,n=!1,o=!0,r=!0,a=!1,l=!0,s,u,c=!0,f){return function(t,e,n){if(!e)return t;const o=t.split("#",2),r=o[0].split("?",2);let a=r[0]+(r[1]?`?${r[1]}&${e}`:`?${e}`);return a+=o[1]?`#${o[1]}`:"",a}(`https://www.dailymotion.com/embed/video/${encodeURIComponent(e)}?api=1&html=1&app=amp`,function(t){const e=[];for(const a in t){let i=t[a];if(null!=i){i=p(r=i)?r:[r];for(let t=0;t<i.length;t++)e.push((n=a,o=i[t],`${encodeURIComponent(n)}=${encodeURIComponent(o)}`))}}var n,o,r;return e.join("&")}(i({"endscreen-enable":o?void 0:o,"info":r?void 0:r,"mute":a||n&&k(t)?1:void 0,"sharing-enable":l?void 0:l,"start":s,"ui-highlight":u,"ui-logo":c?void 0:c},f)))}(window,d,o,r,a,l,s,u,c,f)),[d,o,r,a,l,s,u,c,f]);return mt(dt,i(i({autoplay:o,controls:!0,ref:n},m),{},{src:b,makeMethodMessage:vt,onMessage:ht}))}));wt.displayName="BentoDailymotion";var jt=class extends tt{};jt.Component=wt,jt.props={"autoplay":{attr:"autoplay",type:"boolean"},"videoId":{attr:"data-videoid"},"start":{attr:"data-start"},"uiHighlight":{attr:"data-ui-highlight"},"implicitParams":{attrPrefix:"data-param-"}},jt.layoutSizeDefined=!0,jt.usesShadowDom=!0;import{defineBentoElement as kt}from"@bentoproject/core";function Ot(t){kt("bento-dailymotion",jt,t)}export{Ot as defineElement};
/*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license */
//# sourceMappingURL=web-component.module.js.map
{
"name": "@bentoproject/dailymotion",
"version": "1.2203041950.0",
"version": "1.2203101844.0",
"description": "Bento dailymotion Component",

@@ -44,4 +44,4 @@ "author": "Bento Authors",

"dependencies": {
"@bentoproject/core": "0.2203041950.0"
"@bentoproject/core": "0.2203101844.0"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc