PageSourceSearch

https://www.wingsmodels.com/_next/static/chunks/7212-bbec5f573b4ffd67.js

js wingsmodels.com collected 2026-10-02 14:25:59 UTC 10,529 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7212],{91227:function(e,i,n){n.d(i,{Z:function(){return c}});var t=n(51776),o=n(65141),r=n(98578),l=n(1892),a=n(36734),s=(0,r.Z)((function(){return{root:{width:"100%",padding:24}}}));function c(e){var i=e.fetchNextPage,n=e.hasNextPage,r=(e.isFetchingNextPage,e.options),c=s(),d=(0,o.YD)(r),u=d.ref,h=d.inView;return t.useEffect((function(){h&&i()}),[h]),(0,a.jsx)(a.Fragment,{children:n&&(0,a.jsx)("div",{ref:u,className:c.root,children:(0,a.jsx)(l.Z,{})})})}},1892:function(e,i,n){n.d(i,{C:function(){return c},Z:function(){return s}});n(51776);var t=n(98578),o=n(16786),r=n(72123),l=n(36734),a=(0,t.Z)({root:{display:"block",position:"relative",height:"100%",width:"100%"},inner:{display:"flex",justifyContent:"center",alignItems:"center",height:"100%",width:"100%"},backdrop:{zIndex:10,position:"fixed",width:"100%",height:"100%",left:0,top:0,display:"flex",justifyContent:"center",alignItems:"center"}});function s(e){var i=e.color,n=a();return(0,l.jsx)(o.Z,{children:(0,l.jsx)("div",{className:n.root,children:(0,l.jsx)("div",{className:n.inner,children:(0,l.jsx)(r.Z,{color:i})})})})}function c(e){var i=e.open,n=a();return(0,l.jsx)(o.Z,{children:i&&(0,l.jsx)("div",{className:n.backdrop,children:(0,l.jsx)(r.Z,{color:"inherit"})})})}},47212:function(e,i,n){n.r(i),n.d(i,{default:function(){return D}});var t=n(23642),o=n(63200),r=n(46417),l=n(91784),a=n(26912),s=n(98578),c=n(40567),d=n(77889),u=n(10197),h=n(26870),v=n.n(h),f=n(51776),p=n(91337),m=n.n(p),g=n(22507),b=n(75685),x=n(90139),w=n(48684),j=n(65379),y=n(91227),C=n(14691),Z=n(36734);function k(e,i){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);i&&(t=t.filter((function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable}))),n.push.apply(n,t)}return n}function N(e){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{};i%2?k(Object(n),!0).forEach((function(i){(0,t.Z)(e,i,n[i])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(n,i))}))}return e}var P=(0,s.Z)((function(e){return{root:{},backdrop:{backgroundColor:"rgba(0,0,0,1) !important"},main:{paddingBottom:e.spacing(3),height:"calc(100vh - calc(100vh - 100%))",display:"flex",flexDirection:"column"},carousel:{height:"100%",color:"#fff",overflow:"hidden","& .swiper-pagination-bullet":{width:20,height:20,borderRadius:"unset",position:"relative",backgroundColor:"transparent",margin:"0px !important","&::after":{content:'" "',backgroundColor:"#fff",width:10,height:10,display:"block",borderRadius:"50%",position:"absolute",top:"25%",left:"25%"}}},carouselThumbnails:{height:"100%",color:"#fff",overflow:"hidden","& *":{minWidth:0},"& .swiper-slide":{filter:"brightness(0.5)",flexShrink:1,minWidth:"auto"},"& .swiper-slide-thumb-active":{boxSizing:"border-box",filter:"brightness(1)"}},carouselSlider:{position:"relative","& .react-transform-wrapper":{width:"100%",height:"100%",position:"relative"},"& .react-transform-component":{width:"100%",height:"100%",position:"relative"},"& video":{display:"block",width:"100% !important",height:"100% !important"}},buttonsWrapper:{color:"#fff",textAlign:"right",padding:e.spacing(2,0)},arrowButton:{color:"#fff","&:hover":{color:"#fff"}},thumbnailsCarousel:{overflow:"hidden"},zoomWrapper:{justifyContent:"center","&:hover":{cursor:"zoom-in"}},image:{objectFit:"contain",width:"auto",maxWidth:"100%",maxHeight:"100%",height:"auto"}}}));function D(e){var i=e.data,n=e.fetchNextPage,t=e.hasNextPage,s=e.isFetchingNextPage,h=P(),p=f.useState(!0),k=(0,o.Z)(p,2),D=k[0],O=k[1],S=f.useState(!1),T=(0,o.Z)(S,2),W=T[0],E=T[1],z=f.useContext(r.p2),B=z.state,F=z.dispatch,I=B.open,R=B.initialImage,_=f.useRef(null),M=f.useRef(null),L=f.useRef(null),V=f.useRef([]),H=(0,C.Z)(),A=function(){F({type:"closeLightBox"})},U=function(e){return function(){var i,n;1===(null===e||void 0===e||null===(i=e.instance)||void 0===i||null===(n=i.transformState)||void 0===n?void 0:n.scale)&&(e.zoomIn(.5),_.current.swiper.allowTouchMove=!1,e.instance.contentComponent.style.cursor="grab",e.instance.contentComponent.style.backgroundColor="rgba(255,255,255,0.15)",E(!0))}},Y=function(e){return function(){var i,n,t,o;null!==e&&void 0!==e&&null!==(i=e.instance)&&void 0!==i&&null!==(n=i.transformState)&&void 0!==n&&n.scale&&(null===e||void 0===e||null===(t=e.instance)||void 0===t||null===(o=t.transformState)||void 0===o?void 0:o.scale)>1&&(null===e||void 0===e||e.resetTransform(),_.current.swiper.allowTouchMove=!0,e.instance.contentComponent.style.cursor="zoom-in",e.instance.contentComponent.style.backgroundColor="unset",E(!1))}};f.useEffect((function(){var e=V.current;return e.forEach((function(e){var i;e&&(null===(i=e.instance.contentComponent)||void 0===i||i.addEventListener("click",U(e)))})),function(){e.forEach((function(e){var i;e&&(null===(i=e.instance.contentComponent)||void 0===i||i.removeEventListener("click",U(e)))}))}}
1),[R,I]),f.useEffect((function(){if(I){var e=(_.current||{}).swiper,i=(M.current||{}).swiper;null===e||void 0===e||e.slideToLoop(R,0),null===i||void 0===i||i.slideToLoop(R,0)}else V.current.forEach((function(e){null===e||void 0===e||e.resetTransform()}))}),[R,I]),f.useEffect((function(){if(M.current&&_.current){var e=_.current.swiper;L.current=e,e.thumbs.swiper=M.current.swiper,e.thumbs.init(),e.thumbs.update(!0)}}),[I,D]);var $=null===i||void 0===i?void 0:i.map((function(e,i){var n,t,o,r,s,c,d,u,f,p,b,w,j=(0,l.dx)(a.ds,e),y=(null===j||void 0===j||null===(n=j.thumbnails)||void 0===n||null===(t=n[0])||void 0===t||null===(o=t.mediaDetails)||void 0===o?void 0:o.width)||(null===j||void 0===j||null===(r=j.mediaDetails)||void 0===r?void 0:r.width)||0,C=(null===j||void 0===j||null===(s=j.thumbnails)||void 0===s||null===(c=s[0])||void 0===c||null===(d=c.mediaDetails)||void 0===d?void 0:d.height)||(null===j||void 0===j||null===(u=j.mediaDetails)||void 0===u?void 0:u.height)||0;return(0,Z.jsx)(x.o5,{className:h.carouselSlider,children:"Video"===(null===j||void 0===j||null===(f=j.mediaDetails)||void 0===f?void 0:f.type)?(0,Z.jsx)(m(),{url:(null===j||void 0===j?void 0:j.url)||"",width:"auto",height:"auto",controls:!0,playsinline:!0,muted:R===i,playing:R===i,style:{maxWidth:"100%",maxHeight:"100%",aspectRatio:"".concat(y/C)}}):(0,Z.jsx)(g.d$,{ref:function(e){V.current[i]=e},onZoom:function(e,i){e.state.scale>1?(_.current.swiper.allowTouchMove=!1,e.instance.contentComponent.style.cursor="grab",e.instance.contentComponent.style.backgroundColor="rgba(255,255,255,0.15)",e.instance.update(N(N({},e.instance.props),{},{panning:{disabled:!1}})),E(!0)):(_.current.swiper.allowTouchMove=!0,e.instance.contentComponent.style.cursor="zoom-in",e.instance.contentComponent.style.backgroundColor="unset",e.instance.update(N(N({},e.instance.props),{},{panning:{disabled:!0}})),E(!1))},doubleClick:{disabled:!0},limitToBounds:!0,disablePadding:!0,panning:{disabled:!0},children:(0,Z.jsx)(g.Uv,{contentClass:h.zoomWrapper,children:(0,Z.jsx)(v(),{alt:(null===j||void 0===j||null===(p=j.mediaDetails)||void 0===p?void 0:p.caption)||"Talent image ".concat(i),unoptimized:!0,className:h.image,src:(null===j||void 0===j?void 0:j.url)||"",height:(null===j||void 0===j||null===(b=j.mediaDetails)||void 0===b?void 0:b.height)||0,width:(null===j||void 0===j||null===(w=j.mediaDetails)||void 0===w?void 0:w.width)||0,sizes:"100vw",priority:!0})})})},i)})),q=null===i||void 0===i?void 0:i.map((function(e,i){var n,t,o,r,s,c,d,u,h,v,f,p,m=(0,l.dx)(a.ds,e);return(0,Z.jsx)(x.o5,{children:"Video"===(null===m||void 0===m||null===(n=m.mediaDetails)||void 0===n?void 0:n.type)?(0,Z.jsx)(j.Z,{alt:(null===m||void 0===m||null===(t=m.mediaDetails)||void 0===t?void 0:t.caption)||"Talent image ".concat(i),src:(null===m||void 0===m||null===(o=m.thumbnails)||void 0===o||null===(r=o[0])||void 0===r?void 0:r.url)||"",height:(null===m||void 0===m||null===(s=m.thumbnails)||void 0===s||null===(c=s[0])||void 0===c||null===(d=c.mediaDetails)||void 0===d?void 0:d.height)||0,width:(null===m||void 0===m||null===(u=m.thumbnails)||void 0===u||null===(h=u[0])||void 0===h||null===(v=h.mediaDetails)||void 0===v?void 0:v.width)||0,sizes:"100vw",style:{objectFit:"contain",width:"auto",height:"100%"},priority:!0}):(0,Z.jsx)(j.Z,{src:(null===m||void 0===m?void 0:m.url)||"",height:(null===m||void 0===m||null===(f=m.mediaDetails)||void 0===f?void 0:f.height)||0,width:(null===m||void 0===m||null===(p=m.mediaDetails)||void 0===p?void 0:p.width)||0,alt:"thumbnail",style:{objectFit:"cover",height:"100%",width:"auto"}})},i)}));return(0,Z.jsx)(Z.Fragment,{children:$&&(0,Z.jsx)(c.Z,{className:h.root,open:I,onClose:A,PaperComponent:"div",fullScreen:!0,fullWidth:!0,keepMounted:!0,BackdropProps:{className:h.backdrop},children:(0,Z.jsxs)(d.Z,{className:h.main,children:[(0,Z.jsxs)("div",{className:h.buttonsWrapper,children:[(0,Z.jsx)(u.Z,{color:"inherit",onClick:function(e){var i=_.current.swiper;if(i){var n=i.realIndex,t=V.current[n];E((function(e){return e?Y(t)():U(t)(),!e}))}},children:W?(0,Z.jsx)(w.Z,{code:"\ue900","aria-label":"view_carousel"}):(0,Z.jsx)(w.Z,{code:"\ue8ff","aria-label":"view_compact"})}),(0,Z.jsx)(u.Z,{color:"inherit",onClick:function(){O((function(e){return!e}))},children:D?(0,Z.jsx)(w.Z,{code:"\ue8eb","aria-label":"view_carousel"}):(0,Z.jsx)(w.Z,{code:"\ue8f0","aria-label":"view_compact"})}),(0,Z.jsx)(u.Z,{color:"inherit",onClick:A,children:(0,Z.jsx)(w.Z,{code:"\ue5cd","aria-label":"close"})})]}
1),(0,Z.jsxs)(b.ZP,{sliderRef:_,navigation:"sm"!==H&&"xs"!==H,pagination:{enabled:"sm"===H||"xs"===H,clickable:!0,dynamicBullets:!0,dynamicMainBullets:5},className:h.carousel,loop:!t,initialSlide:R,spaceBetween:20,onSlideChange:function(e){return function(e){if(Y(V.current[e.previousIndex])(),M.current){var i=M.current.swiper,n=i.slides[e.realIndex];if(n){var t=window.innerWidth/2,o=-(n.offsetLeft-t+n.offsetWidth/2);o<=n.offsetWidth/2-n.offsetWidth&&i.setTranslate(o)}}}(e)},children:[$,t&&(0,Z.jsx)(x.o5,{children:(0,Z.jsx)(y.Z,{fetchNextPage:n,isFetchingNextPage:s,hasNextPage:!0})})]}),(0,Z.jsx)("div",{style:{paddingTop:14,height:150,maxWidth:1200,margin:"0 auto"},hidden:D,children:(0,Z.jsxs)(b.ZP,{sliderRef:M,navigation:!1,slidesPerView:"auto",className:h.carouselThumbnails,freeMode:!0,centerInsufficientSlides:!0,spaceBetween:14,children:[q,(0,Z.jsx)(x.o5,{children:(0,Z.jsx)(y.Z,{fetchNextPage:n,hasNextPage:t,isFetchingNextPage:s})})]})})]})})})}}}]);

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.