PageSourceSearch

https://dataskillsup.ai/_next/static/chunks/3930-a52baf33b58d9332b0ac.js

js dataskillsup.ai collected 2026-10-05 15:33:12 UTC 7,359 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3930],{10533:function(e,t,n){"use strict";n.d(t,{e:function(){return p}});var r=n(809),o=n.n(r),a=n(30266),l=n(67294),i=n(39717),c=n(75655),s=n(32217),u=n(49058),p=function(e){var t=e.mediaUrl,n=e.light,r=e.optimizeUsingThumbnail,p=e.lightImgFetchWidth,m=function(e){return"string"===typeof e&&e},f=m(n)&&p?(0,i.m)({imageUrl:n,fetchWidth:p}):n,d=(0,l.useState)(f),y=d[0],h=d[1],v=function(){var e=(0,a.Z)(o().mark((function e(){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!m(f)){e.next=2;break}return e.abrupt("return");case 2:if(e.prev=2,!f||!r){e.next=20;break}if(n=null,!(0,s.$I)(t)){e.next=9;break}n=(0,s.YL)(t),e.next=19;break;case 9:if(!(0,s.q7)(t)){e.next=15;break}return e.next=12,(0,s.W$)(t,c.E_.vimeo);case 12:n=e.sent,e.next=19;break;case 15:if(!(0,s.rA)(t)){e.next=19;break}return e.next=18,(0,s.W$)(t,c.E_.wisita);case 18:n=e.sent;case 19:h(n||!1);case 20:e.next=25;break;case 22:e.prev=22,e.t0=e.catch(2),(0,u.H)({error:e.t0,when:"calling fetchOembed",occuredAt:"repoV2/components/common/VideoPlayer/VideoPlayer.utils.ts"});case 25:case"end":return e.stop()}}),e,null,[[2,22]])})));return function(){return e.apply(this,arguments)}}();return(0,l.useEffect)((function(){v()}),[t]),{lightProp:y}}},93930:function(e,t,n){"use strict";var r=n(85893),o=n(44333),a=n(67294),l=n(32053),i=n(4905),c=n(32217),s=n(10533),u=n(28536),p=n(90231),m=n(58570),f=n.n(m),d=n(14815);t.Z=function(e){var t=e.url,n=e.controls,m=e.playIcon,y=e.style,h=e.className,v=e.parentRef,_=e.autoPlay,b=e.volume,P=e.isMuted,g=e.loop,C=e.light,x=e.fitParent,k=e.playsinline,j=e.videoSrcType,w=e.wrapperClassName,N=e.showPlayIcon,O=void 0===N||N,E=e.optimizeUsingThumbnail,I=void 0===E||E,U=e.lightImgFetchWidth,T=C||!_,W=(0,s.e)({mediaUrl:t,light:T,optimizeUsingThumbnail:I,lightImgFetchWidth:U}).lightProp,Z=(0,l.l)(!!_),F=(0,o.Z)(Z,4),V=F[0],S=F[1],R=F[2],A=F[3],D=(0,a.useState)(!!_),L=D[0],M=D[1],H=(0,l.l)(!(!P&&!_)),Y=(0,o.Z)(H,3),q=Y[0],z=Y[2];if(t&&j===u.o9.ADD_EMBED_CODE.slug)return(0,r.jsx)("div",{className:(0,i.A)(f().embedRoot,h),dangerouslySetInnerHTML:{__html:t}});var $=(0,c.nK)(t),K=!(!t||!(0,c.$I)(t)),X=!n&&_&&q&&!$,B=(!W||L)&&!n&&!$,G=(!W||L)&&!n&&!V&&O;return(0,r.jsx)(d.Z,{showPlayCta:G,showUnmuteCta:X,showControlsLayer:B,isYouTubeVideo:K,onClickPlay:function(){X&&z(),(B||G)&&A()},onClickUnmute:z,className:w,children:(0,r.jsx)(p.Z,{playing:V,url:t,controls:n,playIcon:m,style:y,className:(0,i.A)(f().root,h),parentRef:v,autoPlay:_,volume:b,isMuted:q,loop:g,light:W,fitParent:x,playsinline:k,width:"100%",height:"100%",onEnded:R,onPlay:function(){L||M(!0),S()}})})}},14815:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(85893),o=n(20036),a=n(54799),l=n(67294),i=n(4905),c=n(51103),s=n.n(c),u=n(26340),p=n(35432),m=n.n(p),f=function(e){var t=e.className,n=e.onClick,o=(0,l.useState)(!1),c=o[0],s=o[1];(0,l.useEffect)((function(){s(!0),setTimeout((function(){s(!1)}),2e3)}),[]);return(0,r.jsx)("div",{className:t,onClick:function(e){e.stopPropagation(),n&&n()},children:(0,r.jsxs)("div",{className:(0,i.A)(m().root,c&&m().showText),children:[(0,r.jsx)("span",{className:m().text,children:"Click for sound"}),(0,r.jsx)(a.Z,{children:(0,r.jsx)(u.Z,{})})]})})},d=function(e){var t=e.children,n=e.showPlayCta,l=e.showUnmuteCta,c=e.showControlsLayer,u=e.isYouTubeVideo,p=e.onClickPlay,m=e.onClickUnmute,d=e.className,y=e.customPlayIcon;return(0,r.jsxs)("div",{className:(0,i.A)(d,s().root),onClick:c?void 0:p,children:[t,n?(0,r.jsx)(a.Z,{className:s().playCta,onClick:p,children:y||(0,r.jsx)(o.Z,{})}):null,l?(0,r.jsx)(f,{className:(0,i.A)(s().unmuteCta,u&&s().ytUnmuteCta),onClick:m}):null,n?(0,r.jsx)("div",{className:s().backdrop}):null,c?(0,r.jsx)("div",{className:s().controlsLayer,onClick:p}):null]})}},90231:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(92809),o=n(85893),a=n(67288),l=n(67294),i=n(56310),c=n(88316),s=n(4905),u=n(32217),p=n(9615),m=n(47754),f=n(466),d=n.n(f);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var h=function(e){var t,n=e.url,f=e.controls,h=e.playIcon,v=e.style,_=e.className,b=e.parentRef,P=e.autoPlay,g=e.volume,C=e.isMuted,x=e.loop,
1k=e.light,j=e.fitParent,w=e.playsinline,N=(0,a.Z)(e,["url","controls","playIcon","style","className","parentRef","autoPlay","volume","isMuted","loop","light","fitParent","playsinline"]),O=(0,c.t)(),E=l.useRef(null);return(0,l.useEffect)((function(){var e;O&&P&&(0,m.XFl)(null===E||void 0===E||null===(e=E.current)||void 0===e?void 0:e.play)&&E.current.play().catch((function(e){console.error("Error attempting to play",e)}))}),[]),O?n&&(0,u.nK)(n)?(0,o.jsx)("div",{className:d().loomIframeRoot,children:(0,o.jsx)("iframe",{title:n,width:j?b.current.clientWidth:"100%",height:j?b.current.clientHeight:"100%",className:d().loomIframe,src:(0,p.Ee)((0,u.qh)(n),{autoplay:P?1:void 0}),allowFullScreen:!0})}):n&&!i.default.canPlay(n)?null:b&&b.current&&(0,o.jsx)(i.default,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({url:n,ref:E,playing:P,playsinline:w,controls:f,playIcon:h,style:v,width:j?b.current.clientWidth:"100%",height:j?b.current.clientHeight:"100%",className:(0,s.A)(d().videoPlayerCommonStyle,_),volume:g&&P?g:1,muted:null!==(t=C&&P)&&void 0!==t&&t,loop:x,light:k,keyboard:f,config:{facebook:{attributes:{"data-width":"".concat(b&&b.current?b.current.clientWidth:"400","px"),"data-height":"".concat(b&&b.current?b.current.clientHeight:"320","px")}},youtube:{playerVars:{disablekb:f?0:1}},vimeo:{playerOptions:{colors:["000000","00ADEF","FFFFFF","000000"],keyboard:f}}}},N)):null};h.defaultProps={controls:!1,playIcon:void 0,style:{},className:"",autoPlay:!1,volume:1,isMuted:!1,loop:!1,light:!1,fitParent:!1,playsinline:!0};var v=h},32053:function(e,t,n){"use strict";n.d(t,{l:function(){return o}});var r=n(67294),o=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=(0,r.useState)(e),n=t[0],o=t[1],a=(0,r.useCallback)((function(){return o(!0)}),[]),l=(0,r.useCallback)((function(){return o(!1)}),[]),i=(0,r.useCallback)((function(){return o((function(e){return!e}))}),[]);return[n,a,l,i]}},58570:function(e){e.exports={embedRoot:"EmbedNUrlVideoPlayer_embedRoot__19acC",root:"EmbedNUrlVideoPlayer_root__3EUDq"}},35432:function(e){e.exports={root:"ClickToUnmuteCta_root__3b2mV",text:"ClickToUnmuteCta_text__3df7k",showText:"ClickToUnmuteCta_showText__jdm-s"}},51103:function(e){e.exports={root:"PlayerWrapper_root__1XP5g",playCta:"PlayerWrapper_playCta__3m8Wq",backdrop:"PlayerWrapper_backdrop__2YVcT",unmuteCta:"PlayerWrapper_unmuteCta__2THL6",ytUnmuteCta:"PlayerWrapper_ytUnmuteCta__3GzCF",controlsLayer:"PlayerWrapper_controlsLayer__2tEYp"}},466:function(e){e.exports={videoPlayerCommonStyle:"VideoPlayer_videoPlayerCommonStyle__3O9-0",loomIframeRoot:"VideoPlayer_loomIframeRoot__22y6d",loomIframe:"VideoPlayer_loomIframe__2vaxi"}}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.