1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="26cb5ded-6472-4422-9b60-d8b8e0f0bb61",e._sentryDebugIdIdentifier="sentry-dbid-26cb5ded-6472-4422-9b60-d8b8e0f0bb61")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3134],{30914:function(e,t,i){i.d(t,{VG:function(){return a},ch:function(){return r}});var o=i(62364),n=i(85717);let r=()=>(0,o.BX)("svg",{fill:"#000000",width:"20px",height:"20px",viewBox:"0 0 24 24",id:"triple-up-sign","data-name":"Line Color",xmlns:"http://www.w3.org/2000/svg",className:"icon line-color",children:[(0,o.tZ)("polyline",{id:"primary",points:"5 10 12 3 19 10",style:{fill:"none",stroke:n.Z.naviPink.main,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2}}),(0,o.tZ)("polyline",{id:"primary-2","data-name":"primary",points:"19 21 12 14 5 21",style:{stroke:n.Z.naviPurple.main,fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2}}),(0,o.tZ)("polyline",{id:"secondary",points:"19 15.5 12 8.5 5 15.5",style:{fill:"none",stroke:n.Z.naviBlue.main,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2}})]}),a=e=>{let{color:t}=e;return(0,o.tZ)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 195.000000 193.000000",preserveAspectRatio:"xMidYMid meet",children:(0,o.BX)("g",{transform:"translate(0.000000,193.000000) scale(0.100000,-0.100000)",fill:t,stroke:"none",children:[(0,o.tZ)("path",{d:"M838 1860 c-166 -29 -311 -181 -325 -342 l-6 -58 -128 0 -129 0 0 -502 c0 -484 1 -505 21 -548 26 -58 62 -96 124 -128 49 -27 53 -27 288 -30 130 -2 237 0 237 5 -1 4 -7 35 -15 68 -27 112 -15 214 39 325 100 207 365 319 577 245 23 -8 43 -15 45 -15 2 0 4 131 4 290 l0 290 -130 0 c-145 0 -132 -8 -144 83 -12 92 -95 212 -181 262 -85 50 -187 70 -277 55z m178 -168 c73 -38 125 -109 139 -189 l7 -43 -257 0 -256 0 7 38 c19 105 84 180 184 213 40 13 133 3 176 -19z"}),(0,o.tZ)("path",{d:"M1307 810 c-264 -45 -400 -355 -255 -582 40 -64 89 -105 167 -142 57 -26 77 -30 151 -30 155 1 275 75 342 212 31 62 33 74 33 167 0 87 -3 107 -27 157 -52 112 -159 195 -282 217 -65 12 -61 12 -129 1z m242 -249 c12 -12 17 -28 14 -39 -7 -30 -217 -232 -239 -232 -27 0 -147 123 -142 145 1 10 13 24 25 32 20 14 25 12 68 -28 l46 -42 93 91 c51 51 98 92 105 92 6 0 20 -9 30 -19z"})]})})}},63134:function(e,t,i){i.d(t,{Z:function(){return R}});var o=i(62364),n=i(41664),r=i.n(n),a=i(67294),l=i(29496),d=i(11163),s=i(73935),c=i(58171),h=i(15437);let p=h.ZP.div.withConfig({componentId:"sc-5cb427c7-0"})(["position:fixed;inset:0;z-index:2147483647;background:rgba(15,19,25,0.72);display:flex;justify-content:center;align-items:center;padding:2rem;"]),v=h.ZP.div.withConfig({componentId:"sc-5cb427c7-1"})(["position:relative;width:min(42rem,92vw);height:min(78rem,88vh);border-radius:1.6rem;overflow:hidden;background:black;box-shadow:0 2.4rem 6rem rgba(0,0,0,0.34);"]),u=h.ZP.div.withConfig({componentId:"sc-5cb427c7-2"})(["width:100%;height:100%;background:black;"]);var m=e=>{let{videoSrc:t,title:i,thumbnail:n,videoId:r,onClose:l}=e,[d,h]=(0,a.useState)(!1);return((0,a.useEffect)(()=>{h(!0)},[]),(0,a.useEffect)(()=>{if(!d)return;let e=document.body.style.overflow,t=e=>{"Escape"===e.key&&l()};return document.body.style.overflow="hidden",window.addEventListener("keydown",t),()=>{document.body.style.overflow=e,window.removeEventListener("keydown",t)}},[d,l]),d)?(0,s.createPortal)((0,o.tZ)(p,{onClick:l,children:(0,o.tZ)(v,{role:"dialog","aria-modal":"true","aria-label":"Preview ".concat(i),onClick:e=>e.stopPropagation(),children:(0,o.tZ)(u,{children:(0,o.tZ)(c.J,{videoSrc:t,title:i,thumbnail:n,videoId:r,forceControls:!0,showPreviewBadge:!0,onClose:l,showDetailsLink:!0})})})}),document.body):null},w=i(85918),f=i(5810),b=i(9965),g=i(4066),x=i(88894),y=i(46347),k=i(56732),Z=i(19062),_=i(26848),C=i(23552),P=e=>(0,o.tZ)("svg",{xmlns:"http://www.w3.org/2000/svg",width:e.width||"1em",height:e.height||"1em",fill:e.color||"#000",viewBox:"0 0 32 32",...e,children:(0,o.tZ)("path",{d:"M31.728 31.291a.99.99 0 0 1-.917.616h-6.96a.995.995 0 0 1-.995-.997c0-.551.445-.997.995-.997l4.554-.005-9.234-9.262a.998.998 0 0 1 0-1.41.993.993 0 0 1 1.406 0l9.329 9.357v-4.687c0-.551.355-.973.905-.973.549 0 .994.446.994.997v6.98c0 .13-.026.259-.077.381Zm-.917-22.318c-.55 0-.905-.516-.905-1.067V3.313l-9.329 9.356a.992.992
10 0 1-1.406 0 .998.998 0 0 1 0-1.41l9.326-9.353h-4.591c-.55 0-1.05-.36-1.05-.91 0-.551.445-.997.995-.997h6.961a.99.99 0 0 1 .916.616.986.986 0 0 1 .077.381v6.98c0 .55-.445.997-.994.997ZM3.387 29.908l4.555.005c.55 0 .994.446.994.997a.995.995 0 0 1-.994.997H.982a.997.997 0 0 1-.994-.997v-6.98c0-.551.445-.997.994-.997.55 0 .924.422.924.973v4.667l9.31-9.337a.993.993 0 0 1 1.406 0 .998.998 0 0 1 0 1.41l-9.235 9.262Zm8.532-16.946a.99.99 0 0 1-.703-.293l-9.31-9.337v4.574c0 .551-.374 1.067-.924 1.067a.996.996 0 0 1-.994-.997V.996a.997.997 0 0 1 .994-.997h6.96c.55 0 .994.446.994.997 0 .55-.48.91-1.03.91h-4.61l9.326 9.353a.998.998 0 0 1-.703 1.703Z"})}),I=e=>{var t,i,n;return(0,o.tZ)("svg",{xmlns:"http://www.w3.org/2000/svg",width:null!==(t=e.width)&&void 0!==t?t:"1rem",height:null!==(i=e.height)&&void 0!==i?i:"1rem",fill:"none",viewBox:"0 0 24 24",...e,children:(0,o.tZ)("path",{fill:null!==(n=e.color)&&void 0!==n?n:"#000",d:"M2 9.137C2 14 6.02 16.591 8.962 18.911 10 19.729 11 20.5 12 20.5s2-.77 3.038-1.59C17.981 16.592 22 14 22 9.138c0-4.863-5.5-8.312-10-3.636C7.5.825 2 4.274 2 9.137Z"})})},z=i(11084),O=e=>{var t,i,n;return(0,o.tZ)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",width:null!==(t=e.width)&&void 0!==t?t:"1em",height:null!==(i=e.height)&&void 0!==i?i:"1em",...e,children:(0,o.tZ)("path",{fill:null!==(n=e.color)&&void 0!==n?n:"",d:"M164.2 39.5 148.9 64h150.3l-15.4-24.5c-2.9-4.7-8.1-7.5-13.6-7.5h-92.5c-5.5 0-10.6 2.8-13.6 7.5zM311 22.6 336.9 64H432c8.8 0 16 7.2 16 16s-7.2 16-16 16h-16v336c0 44.2-35.8 80-80 80H112c-44.2 0-80-35.8-80-80V96H16C7.2 96 0 88.8 0 80s7.2-16 16-16h95.1L137 22.6A47.98 47.98 0 0 1 177.7 0h92.5c16.6 0 31.9 8.5 40.7 22.6zM64 96v336c0 26.5 21.5 48 48 48h224c26.5 0 48-21.5 48-48V96H64zm80 80v224c0 8.8-7.2 16-16 16s-16-7.2-16-16V176c0-8.8 7.2-16 16-16s16 7.2 16 16zm96 0v224c0 8.8-7.2 16-16 16s-16-7.2-16-16V176c0-8.8 7.2-16 16-16s16 7.2 16 16zm96 0v224c0 8.8-7.2 16-16 16s-16-7.2-16-16V176c0-8.8 7.2-16 16-16s16 7.2 16 16z"})})},D=i(61312),B=i(91600),L=i(30914);let S=e=>e?"linear-gradient(to bottom, rgba(15, 19, 25, 0.78) 0%, rgba(15, 19, 25, 0) 100%)":"linear-gradient(to top, rgba(15, 19, 25, 0.82) 0%, rgba(15, 19, 25, 0.38) 42%, rgba(15, 19, 25, 0) 100%)",$=h.ZP.div.withConfig({componentId:"sc-d4701bad-0"})(["position:relative;width:100%;max-width:100%;aspect-ratio:9 / 16;border-radius:8px;overflow:hidden;cursor:pointer;display:flex;justify-content:center;background:",";box-shadow:0 10px 30px ",";transition:transform 0.2s ease,box-shadow 0.2s ease;a{width:100%;height:100%;}video{width:100%;height:100%;object-fit:cover;}&:hover{transform:translateY(-3px);box-shadow:0 18px 44px ",';}&:hover [data-card-actions="true"]{opacity:1;transform:translateY(0);}&:hover [data-card-download="true"]{opacity:1;pointer-events:auto;transform:translate(-50%,-50%);}&:focus-visible{outline:2px solid ',";outline-offset:3px;}"],y.O9.background.soft,y.O9.shadow.soft,y.O9.shadow.medium,y.O9.brand.purple),V=h.ZP.div.withConfig({componentId:"sc-d4701bad-1"})(["position:absolute;"," left:0;right:0;z-index:3;display:flex;flex-direction:column;gap:0.3rem;padding:2.4rem 1.2rem 1.2rem;border-radius:0 0 8px 8px;background:",";box-sizing:border-box;pointer-events:none;*{margin:0;}"],e=>{let{$videoPlayerPathCheck:t}=e;return t?"top: 0;":"bottom: 0;"},e=>{let{$videoPlayerPathCheck:t}=e;return S(t)}),M=h.ZP.div.withConfig({componentId:"sc-d4701bad-2"})(["width:100%;color:",";font-size:",";font-weight:",";line-height:1.2;text-align:left;text-shadow:0 2px 14px rgba(0,0,0,0.4);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;"],y.O9.text.inverse,y.cp.body.sm,y.cp.weight.bold),j=h.ZP.div.withConfig({componentId:"sc-d4701bad-3"})(["width:100%;color:rgba(255,255,255,0.82);font-size:",";font-weight:",";line-height:1.25;text-align:left;text-shadow:0 2px 14px rgba(0,0,0,0.4);display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden;"],y.cp.body.xs,y.cp.weight.medium),E=h.ZP.div.withConfig({componentId:"sc-d4701bad-4"})(["position:absolute;top:1rem;right:1rem;z-index:4;display:flex;flex-direction:row;gap:0.6rem;pointer-events:all;opacity:0;transform:translateY(-4px);transition:opacity 0.2s ease,transform 0.2s ease;@media (max-width:767px){opacity:1;transform:none;}"]),H=h.ZP.button.withConfig({componentId:"sc-d4701bad-5"})(["border:none;cursor:pointer;display:flex;justify-content:center;align-items:center;width:3rem;height:3rem;border-radius:999px;padding:0;color:",";background-color:rgba(255,255,255,0.92);backdrop-filter:blur(8px);box-shadow:0 8px 20px ",";transition:background-color 0.2s ease,color 0.2s ease,transform 0.2s ease,box-shadow 0.2s ease;pointer-events:all;&:hover{color:",";background-color:",";transform:translateY(-1px);box-shadow:0 12px 26px ",";}&:focus{outline:none;}svg{max-width:1.7rem;max-height:1.7rem;}"],y.O9.text.secondary,y.O9.shadow.soft,y.O9.brand.pink,y.O9.background.panel,y.O9.shadow.medium),X=h.ZP.button.withConfig({componentId:"sc-d4701bad-6"})(["position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:6;display:inline-flex;align-items:center;gap:0.7rem;height:3.6rem;padding:0 1.6rem;border:none;border-radius:8px;background:",";color:",";font-size:",";font-weight:",";cursor:pointer;white-space:nowrap;box-shadow:0 10px 24px ",";opacity:0;pointer-events:none;transition:opacity 0.2s ease,box-shadow 0.2s ease;&:hover{color:",";box-shadow:0 14px 32px ",";}svg{width:1.7rem;height:1.7rem;}@media (max-width:767px){opacity:1;pointer-events:auto;}"],y.O9.brand.pink,y.O9.text.inverse,y.cp.button.sm,y.cp.weight.semibold,y.O9.shadow.pink,y.O9.text.inverse,y.O9.shadow.pinkHover),A=(e,t)=>
1t?e.ultra_high_res_file||e.original_file||e.standard_res_file||e.production_file||e.compressed_file||e.low_res_file||e.high_res_file||e.preview_file:e.preview_file||e.compressed_file||e.low_res_file||e.high_res_preview_file||e.production_file,Y=(e,t)=>t?A(e,t):e.high_res_preview_file||e.preview_file||e.standard_res_file||e.production_file||e.compressed_file||e.low_res_file||e.high_res_file,W=(e,t)=>null==e?void 0:e.some(e=>{var i;return null==e?void 0:null===(i=e.products)||void 0===i?void 0:i.some(e=>{var i;return null==e?void 0:null===(i=e.videos)||void 0===i?void 0:i.some(e=>(null==e?void 0:e.video_id)==t)})}),N=a.memo(e=>{var t,i,n;let{playlist:s,type:h,modal:p=!1,size:v="normal",variant:u="default",collectionId:S,collectionTitle:N,showDownload:R=!1,hideActions:G=!1,handleRemoveItemFromCollection:J,handleCardClick:U}=e,{user:F,isUserValid:Q}=(0,w.a)(),{userPurchaseData:q}=(0,f.iQ)(),K=(0,d.useRouter)(),T=null!==(i=null===(t=K.pathname)||void 0===t?void 0:t.startsWith("/video/"))&&void 0!==i&&i,{activeCollectionId:ee,handleCollectionModal:et}=(0,b.bX)(),{favorites:ei,toggleFavorite:eo}=(0,g.r)(),en=ei.includes(s.id),er=W(q,s.id)&&!T,[ea,el]=(0,a.useState)(!1),[ed,es]=(0,a.useState)(!1),ec=A(s,T),eh=Y(s,T),ep=null!==(n=(0,k.w)(s))&&void 0!==n?n:"",ev=(0,a.useCallback)(async(e,t)=>{if(e.preventDefault(),e.stopPropagation(),!F||!Q){(0,l.yv)("Login or Sign Up to save Favorites",{variant:"info"});return}el(!0),await eo(t),el(!1)},[F,Q,eo]),eu=(0,a.useCallback)(async(e,t)=>{if(e.preventDefault(),e.stopPropagation(),!F||!Q){(0,l.yv)("Login or Sign Up to add to Playlist",{variant:"info",preventDuplicate:!0});return}et(t)},[F,Q,et]),em=(0,a.useCallback)(e=>{e.preventDefault(),e.stopPropagation(),es(!0)},[]),ew=(0,a.useCallback)(async e=>{e.preventDefault(),e.stopPropagation(),el(!0);try{await (0,Z.j)(s)}finally{el(!1)}},[s]),ef="destination"===h?s.location_name||s.title:s.title||s.location_name,eb=s.location_name&&s.location_name!==ef?s.location_name:null,eg=y.O9.brand.pink,ex=y.O9.text.secondary;return(0,o.BX)(o.HY,{children:[(0,o.BX)($,{$size:v,$variant:u,tabIndex:0,"data-modal":p,children:[er?(0,o.tZ)(H,{$variant:u,style:{position:"absolute",top:"10px",left:"10px",zIndex:10},title:"Video Purchased",type:"button",children:(0,o.tZ)(L.VG,{color:eg})}):null,ea?(0,o.tZ)(D.Z,{style:{position:"absolute",width:"100%",height:"100%"}}):null,(0,o.tZ)(r(),{onClick:e=>{if(U){e.preventDefault(),U();return}sessionStorage.removeItem("search_results_cache"),sessionStorage.removeItem("search_scroll")},href:"/video/".concat(null==s?void 0:s.id),children:(0,o.tZ)(c.J,{videoSrc:ec,title:s.title,thumbnail:ep,videoId:s.id})}),G?null:(0,o.BX)(E,{$variant:u,"data-card-actions":"true",children:[(0,o.tZ)(H,{$variant:u,type:"button",onClick:e=>{if(e.preventDefault(),e.stopPropagation(),U){U();return}sessionStorage.removeItem("search_results_cache"),sessionStorage.removeItem("search_scroll"),K.push("/video/".concat(null==s?void 0:s.id))},title:"View video details","aria-label":"View video details",children:(0,o.tZ)(_.Z,{size:16})}),(0,o.tZ)(H,{$variant:u,type:"button",onClick:e=>eu(e,s.id),title:"Add to playlist","aria-label":"Add to playlist",children:(0,o.tZ)(z.Z,{color:"currentColor",height:16,width:16})}),(0,o.tZ)(H,{$variant:u,type:"button",title:en?"Remove from favorites":"Add to favorites","aria-label":en?"Remove from favorites":"Add to favorites",onClick:e=>ev(e,s.id),children:(0,o.tZ)(I,{color:en?eg:ex,height:15,width:15})}),S?(0,o.tZ)(H,{$variant:u,type:"button",onClick:e=>{e.preventDefault(),e.stopPropagation(),null==J||J(S,s.id)},title:N?"Delete video in ".concat(N," playlist"):"Delete video from playlist",children:(0,o.tZ)(O,{})}):null,(0,o.tZ)(H,{$variant:u,type:"button",onClick:em,title:"Open video preview","aria-label":"Open video preview",children:(0,o.tZ)(P,{color:"currentColor",width:13,height:13})})]}),R?(0,o.BX)(X,{"data-card-download":"true",type:"button",onClick:ew,title:"Download video","aria-label":"Download video",children:[(0,o.tZ)(C.Z,{size:17}),"Download"]}):null,!T&&(0,o.BX)(V,{$variant:u,$videoPlayerPathCheck:T,"data-card-footer":"true",children:[(0,o.tZ)(M,{$variant:u,$videoPlayerPathCheck:T,children:ef}),eb?(0,o.tZ)(j,{children:eb}):null]})]}),ee===s.id?(0,o.tZ)(B.Z,{styles:{width:"600px",height:"auto",maxWidth:"92vw",maxHeight:"90vh"},isOpen:ee===s.id,onClose:()=>et(null),children:(0,o.tZ)(x.Z,{itemId:s.id,image:ep,videoSrc:null==s?void 0:s.preview_file})}):null,ed?(0,o.tZ)(m,{videoSrc:eh,title:s.title,thumbnail:ep,videoId:s.id,onClose:()=>es(!1)}):null]})});N.displayName="PlaylistCard";var R=N}}]);
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.