PageSourceSearch

https://secure-static.schutz.com.br/_next/static/chunks/pages/influencers/[...paths]-147270b36895c136.js

js schutz.com.br collected 2026-09-24 11:13:05 UTC 15,012 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5747],{12474:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/influencers/[...paths]",function(){return n(71748)}])},81596:function(e,t,n){"use strict";n.d(t,{a:function(){return Breadcrumb}});var o=n(85893);n(67294);var r=n(41664),i=n.n(r),a=n(37340),u=n(20256);function _templateObject(){let e=(0,a._)(["\n  @media only screen and (max-width: 768px) {\n    padding: 0 1.25rem;\n  }\n\n  .breadcrumb-list {\n    text-align: left;\n    width: 100%;\n    padding: 20px 40px;\n    display: flex;\n    align-items: center;\n\n    &__item {\n      list-style: none;\n      align-items: center;\n      padding-right: 5px;\n      display: flex;\n      align-items: center;\n\n      &::after {\n        margin-left: 5px;\n        content: '/';\n        font: inherit;\n      }\n\n      &:last-of-type {\n        &::after {\n          display: none;\n        }\n\n        .zz-icon {\n          display: none;\n        }\n      }\n\n      a {\n        font-size: 12px;\n        color: ",";\n        letter-spacing: 2px;\n        text-decoration: none;\n      }\n    }\n  }\n"]);return _templateObject=function(){return e},e}let l=u.ZP.div.withConfig({componentId:"sc-12a378a7-0"})(_templateObject(),e=>e.theme.colors.breadcrumb.color);function Breadcrumb(e){let{data:t,className:n,icon:r,...a}=e;return(0,o.jsx)(l,{...a,className:n,children:(0,o.jsx)("ul",{className:"breadcrumb-list",children:null==t?void 0:t.map(e=>{let{url:t,name:n}=e;return(0,o.jsxs)("li",{className:"breadcrumb-list__item",children:[(0,o.jsx)(i(),{href:t,children:n},t),null==r?void 0:r()]},n)})})})}},60439:function(e,t,n){"use strict";n.d(t,{F:function(){return Head}});var o=n(85893),r=n(9008),i=n.n(r),a=n(12012),u=n(45907);function Head(e){let{title:t,description:n,ogTitle:r,ogDescription:l,ogImage:c,children:s}=e,{renderCanonicalLink:d}=(0,a.K)();return(0,o.jsxs)(i(),{children:[(0,o.jsx)("title",{children:t}),(0,o.jsx)("meta",{name:"description",content:n?u.aS({text:n,size:160}):""}),function(){let e=r||t;return e?(0,o.jsx)("meta",{property:"og:title",content:e}):null}(),function(){if(l)return(0,o.jsx)("meta",{property:"og:description",content:l});if(n){let e=u.aS({text:n,size:200});return(0,o.jsx)("meta",{property:"og:description",content:e})}return null}(),function(){let e=c||"https://secure-static.schutz.com.br/content/sch/images/e-commerce/logo-schutz.png";return e?(0,o.jsx)("meta",{property:"og:image",content:"".concat(e,"?ims=x276")}):null}(),d(),(0,o.jsx)("meta",{property:"og:locale",content:"pt_BR"}),(0,o.jsx)("meta",{property:"og:site_name",content:"Schutz"}),(0,o.jsx)("meta",{property:"og:type",content:"website"}),s]})}},78951:function(e,t,n){"use strict";n.d(t,{n:function(){return Video}});var o=n(85893),r=n(67294),i=n(5152),a=n.n(i),u=n(41664),l=n.n(u),c=n(20256),s=n(57207),d=n(65856),m=n(42048),p=n(62854),f=n(6783),h=n(37340);function _templateObject(){let e=(0,h._)(["\n  position: relative;\n  height: 100%;\n\n  > .video-icon {\n    position: absolute;\n    top: 50%;\n    left: 50%;\n    transform: translate(-50%, -50%);\n  }\n"]);return _templateObject=function(){return e},e}function _templateObject1(){let e=(0,h._)(["\n  position: relative;\n  height: 100%;\n  z-index: ",";\n\n  > iframe {\n    pointer-events: none;\n    position: absolute;\n    top: 0;\n    left: 0;\n  }\n\n  .video-player {\n    animation: fade-in 0.5s linear;\n  }\n\n  .video-player-wrapper {\n    clip-path: inset(0 1px 1px 0);\n    height: 100%;\n    display: block;\n    width: 100%;\n\n    @media only screen and (max-width: 768px) {\n      clip-path: unset;\n    }\n\n    div > video {\n      filter: brightness(1);\n    }\n\n    &.is-visible {\n      opacity: 1;\n    }\n\n    &.is-hidden {\n      opacity: 0;\n    }\n\n    &.is-touchable {\n      iframe {\n        pointer-events: none;\n      }\n    }\n\n    &.is-absolute {\n      position: absolute;\n    }\n  }\n\n  .button {\n    position: absolute;\n    top: 0;\n    width: 100%;\n    height: 100%;\n    background: none;\n    border: none;\n    cursor: pointer;\n    display: flex;
1\n    align-items: center;\n    justify-content: center;\n  }\n\n  .video-icon {\n    border-radius: 50%;\n  }\n"]);return _templateObject1=function(){return e},e}let g=c.ZP.div.withConfig({componentId:"sc-da0127fc-0"})(_templateObject()),v=c.ZP.div.withConfig({componentId:"sc-da0127fc-1"})(_templateObject1(),e=>e.layer),b=a()(()=>Promise.all([n.e(2422),n.e(8502)]).then(n.bind(n,56310)),{loadableGenerated:{webpack:()=>[56310]},ssr:!1}),y={AUTO:"auto",LOWER:-1};function Video(e){let{options:t={},className:n,thumbnail:i,isTouchable:a=!1,shouldUseCustomControl:u=!1,onVideoReady:h,controlButtonConfigs:x={},audioButtonConfigs:O={},linkUrl:S,classNameWrapper:w,onVideoProgress:C,onVideoStart:j,outerClassName:P,shouldUsePreview:_=!0}=e,E=(0,c.Fg)(),T="video-player-wrapper ".concat(w," ").concat(a?"is-touchable":""," "),[k,N]=(0,r.useState)({hasStartedPlaying:!1,isPlaying:!1,isPaused:!1});function renderPlayButton(){return(0,o.jsx)(s.X,{name:"playButton",size:60,mobileSize:40,className:"video-icon",fillColor:E.colors.video.iconBackground})}let[I,F]=(0,r.useState)({volume:0,muted:!0,loop:!0,width:"100%",height:"auto",playIcon:renderPlayButton(),playsinline:!0,fallback:(0,o.jsx)(d.a,{}),config:{file:{attributes:{poster:function(){if(!_)return!1;let e=(0,f.zE)(t.url);return i||"".concat(m.Z.THUMBNAIL).concat(e)}()}},vimeo:{playerOptions:{responsive:!0}}},onReady:function(){null==h||h()},onStart:function(){null==j||j(),N({...k,hasStartedPlaying:!0})},onPlay:function(){N(e=>({...e,isPlaying:!0,isPaused:!1}))},onPause:function(){N(e=>({...e,isPlaying:!1,isPaused:!0}))},onProgress:function(e){null==C||C(e)},...t}),L=(0,r.useCallback)(e=>{F(t=>({...t,...e}))},[]);function handleCustomControl(e){e.preventDefault();let{hasStartedPlaying:t,isPaused:n,isPlaying:o}=k;t&&n&&L({playing:!0}),t&&o&&L({playing:!1})}function renderVideoContent(){return(0,o.jsx)(v,{layer:function(){let{hasStartedPlaying:e}=k;return u&&e?y.LOWER:y.AUTO}(),className:"outer-video-container ".concat(P),children:(0,o.jsx)("div",{className:T.trim(),children:(0,o.jsx)(b,{className:n,...I})})})}function renderVideoContainer(){return S?(0,o.jsx)(l(),{href:S,prefetch:!1,children:renderVideoContent()}):renderVideoContent()}function handleMutedConfig(e){e.preventDefault(),F(e=>({...e,muted:!e.muted,volume:e.muted?1:0}))}return(0,r.useEffect)(()=>{L(t)},[t,L]),u?(0,o.jsxs)(g,{onClick:handleCustomControl,children:[u?k.isPaused?t.playIcon||renderPlayButton():t.pauseIcon||(0,o.jsx)(s.X,{name:"pauseVideo",size:60,mobileSize:40,className:"video-icon",fillColor:E.colors.video.iconBackground}):null,renderVideoContainer()]}):(0,o.jsxs)(o.Fragment,{children:[renderVideoContainer(),function(){let{iconSize:e={PLAY:24,PAUSE:24},className:t="",pausedClassName:n="is-paused",shouldRenderControlButton:r=!1}=x;if(!r)return null;let{isPaused:i}=k,a=i?e.PLAY:e.PAUSE,u=i?n:"",l=i?"Play video":"Pausar video";return(0,o.jsx)("button",{onClick:handleCustomControl,className:(0,p.C$)({_common:"control-button ".concat(t," ").concat(u).trim(),alexandre_birman:"tw-absolute"}),"aria-label":l,title:l,children:(0,o.jsx)(s.X,{name:i?"playVideo":"pauseVideo",size:a,className:(0,p.C$)({alexandre_birman:"tw-text-mirage"})})})}(),function(){let{iconSize:e={ON:20,OFF:23},className:t="",mutedClassName:n="is-muted",shouldRenderAudioButton:r=!1}=O;if(!r)return null;let{muted:i}=I,a=i?e.OFF:e.ON,u=i?n:"",l=i?"Ativar som":"Desativar som";return(0,o.jsx)("button",{onClick:handleMutedConfig,className:(0,p.C$)({_common:"audio-button ".concat(t," ").concat(u).trim(),arezzo:"tw-absolute tw-bottom-5 tw-right-5 tw-flex tw-size-14\n          tw-items-center tw-justify-center tw-rounded-full tw-border-0\n          tw-bg-zorba-dark/80",alexandre_birman:"tw-absolute"}),"aria-label":l,title:l,children:(0,o.jsx)(s.X,{name:i?"audioOff":"audioOn",size:a,className:(0,p.C$)({alexandre_birman:"tw-text-mirage"})})})}()]})}},2243:function(e,t,n){"use strict";var o,r;n.d(t,{e:function(){return o}}),(r=o||(o={})).HEADER="Header",r.FOOTER="Footer"},10375:function(e,t,n){"use strict";n.d(t,{Gk:function(){return a},ZS:function(){return r},a7:function(){return i}});var o=n(42048);let BreadcrumbModel=class BreadcrumbModel{constructor(e={}){this.name=e.name||"",this.url=e.url||""}};let r={imageUrl:"/images/schutz/title-shop-the-look-mobile.gif",title:"IN MY SCHUTZ",subtitle:"INSPIRE-SE NOS LOOKS DAS INFLUENCIADORAS COMPARTILHADOS NAS REDES SOCIAIS @SCHUTZOFICIAL"},i=8,a=[new BreadcrumbModel({name:"HOME",url:o.Z.HOME}),new BreadcrumbModel({name:"IN MY SCHUTZ",url:o.Z.SHOP_THE_LOOK})]},12012:function(e,t,n){"use strict";n.d(t,{K:function(){return useHead}});var o=n(85893),r=n(39332);function useHead(){let e=(0,r.usePathname)();return{renderCanonicalLink:function(){let t="".concat("https://www.schutz.com.br").concat(e);return(0,o.jsx)("link",{rel:"canonical",href:t})}}}},4271:function(e,t,n){"use strict";n.d(t,{f:function(){return useShopTheLook}});var o=n(67294),r=n(11163),i=n(8100),a=n(10375);function shopTheLookMediaFactory(){var e;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{mediaType:t.mediaType||"IMAGE",url:t.url||"",altText:null!==(e=t.altText)&&void 0!==e?e:null}}function shopTheLookCreatorFactory(){var e,t,n;let o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{username:o.username||"",name:o.name||"",profileUrl:null!==(e=o.profileUrl)&&void 0!==e?e:null,avatarUrl:null!==(t=o.avatarUrl)&&void 0!==t?t:null,bio:null!==(n=o.bio)&&void 0!==n?n:null}}var u=n(45613),l=n(23455);let c="/shop-the-look";async function getPosts(e){let t=await u.hi.get("".concat(c,"?currentPage=").concat(e,"&pageSize=").concat(a.a7));return(0,l.m9)(t.data,e=>(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{posts:(e.posts||[]).map(e=>(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{slug:e.slug||"",coverMedia:shopTheLookMediaFactory(e.coverMedia),creator:shopTheLookCreatorFactory(e.creator)}})(e)),pagination:function(){var e,t,n,o;let r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{currentPage:null!==(e=r.currentPage)&&void 0!==e?e:0,pageSize:null!==(t=r.pageSize)&&void 0!==t?t:0,totalPages:null!==(n=r.totalPages)&&void 0!==n?n:0,totalResults:null!==(o=r.totalResults)&&void 0!==o?o:0}}(e.pagination)}})(e))}async function getPostBySlug(e){let t=await u.hi.get("".concat(c,"/").concat(e));return(0,l.m9)(t.data,e=>(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{slug:e.slug||"",creator:shopTheLookCreatorFactory(e.creator),media:(e.media||[]).map(e=>shopTheLookMediaFactory(e)),products:(e.products||[]).map(e=>(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{code:e.code||"",name:e.name||"",url:e.url||"",imageUrl:e.imageUrl||""}})(e))}})(e))}let s={getPosts,getPostBySlug};var d=n(73866);function useShopTheLook(e){let{initialPosts:t,initialTotalResults:n,initialTotalPages:a}=e,u=(0,r.useRouter)(),[l,c]=(0,o.useState)(0),[m,p]=(0,o.useState)([]),[f,h]=(0,o.useState)(n),[g,v]=(0,o.useState)(a),[b,y]=(0,o.useState)(!1),x=l>0,O=(0,o.useCallback)(async()=>{let e=await s.getPosts(l);if(e.hasError||!e.result)throw Error("Erro ao carregar posts");return e.result},[l]),{isValidating:S}
1=(0,i.ZP)(x?"".concat("shop-the-look-page","-").concat(l):null,O,{revalidateIfStale:!1,revalidateOnFocus:!1,revalidateOnReconnect:!1,onSuccess:e=>{p(t=>[...t,...e.posts]),h(e.pagination.totalResults),v(e.pagination.totalPages),y(!1),u.push({query:{...u.query,currentPage:e.pagination.currentPage}},void 0,{shallow:!0})},onError:e=>{d.vU({title:"Erro ao carregar mais posts do Shop The Look",stack:[e]}),y(!0)}}),w=(0,o.useMemo)(()=>[...t,...m],[t,m]),C=l<g-1,j=(0,o.useCallback)(()=>{!S&&C&&(y(!1),c(e=>e+1))},[S,C]);return{posts:w,totalResults:f,isLoadingMore:S,hasMorePages:C,error:b,loadMore:j}}},71748:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return l},default:function(){return ShopTheLook}});var o=n(85893),r=n(60439),i=n(78029),a=n(99628);let u="In My Schutz";var l=!0;function ShopTheLook(e){if("detail"===e.pageType){let{creatorName:t,pageType:n,...a}=e,l=t?"".concat(u," - ").concat(t):u;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(r.F,{title:l,description:"Confira o look completo e descubra os produtos usados."}),(0,o.jsx)(i.K,{...a})]})}let{pageType:t,...n}=e;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(r.F,{title:u,description:"Inspire-se nos looks das influenciadoras e descubra os produtos usados."}),(0,o.jsx)(a.C,{...n})]})}},6900:function(e,t,n){"use strict";n.d(t,{c:function(){return o},j:function(){return r}});let o={YOUTUBE:"YOUTUBE",VIMEO:"VIMEO",GALLERY:"GALLERY"},r=[o.VIMEO,o.YOUTUBE]},24998:function(e,t,n){"use strict";n.d(t,{Nm:function(){return roundToNearest},Qt:function(){return parseCurrencyToDecimal},XF:function(){return getRandomInt},bO:function(){return removeInstallmentPrefix},wt:function(){return getOnlyNumbers}});let getOnlyNumbers=e=>e.replace(/\D/g,""),o=/[^\d,.]/g,r=/\./g,i=/1x/g;function parseCurrencyToDecimal(e){return e.replace(o,"").replace(r,"").replace(",",".")}function removeInstallmentPrefix(e){return e.replace(i,"")}function getRandomInt(e){return Math.floor(Math.random()*Math.floor(e))}function roundToNearest(e,t){return Math.round(e/t)*t}},6783:function(e,t,n){"use strict";n.d(t,{Ei:function(){return getYouTubeVideoId},X8:function(){return getVideoOptions},aZ:function(){return getWatchedVideoFraction},tV:function(){return getCustomVideoOptions},vj:function(){return getVideosWatchedFromStorage},zE:function(){return getVimeoIdFromUrl}});var o=n(62294),r=n(6900),i=n(2182),a=n(24998);let u=/(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/[^/]*\/v
1ideos\/|album\/\d+\/video\/|video\/|)(\d+)(?:[\w\-]+)?/i,l=/\/(\d+)\//,c=/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#&?]*).*/;function getYouTubeVideoId(e){if(!e)return"";let t=e.match(c),n=t&&11===t[7].length?t[7]:"";return n}function getVimeoIdFromUrl(e){if(!e)return"";let t=e.match(u);e.includes("progressive_redirect")&&(t=e.match(l));let n=(null==t?void 0:t[1])||"";return n}function getVideoOptions(e){let t={url:e.url,light:e.thumb,volume:(null==e?void 0:e.muted)?1:0,muted:e.muted||!0,playing:!0,height:"100%"},n=e.type===r.c.YOUTUBE;return n?{...t,volume:(null==e?void 0:e.muted)?0:1,muted:e.muted||!1,width:"100%",height:"100%"}:t}function getCustomVideoOptions(e,t){let n={url:e.url,light:e.thumb,volume:(null==e?void 0:e.muted)?1:0,muted:e.muted||!0,playing:!!t,height:"100%"};return n}function getWatchedVideoFraction(e){let{played:t}=e,n=Number((100*t).toFixed(1)),o=(0,a.Nm)(n,25);return o}function getVideosWatchedFromStorage(){if((0,i.sk)())return{};let e=localStorage.getItem(o.LOCAL_STORAGE.VIDEOS_WATCHED_FRACTION);return JSON.parse(e||"{}")}}},function(e){e.O(0,[2422,741,3985,8597,3445,4607,9774,2888,179],function(){return e(e.s=12474)}),_N_E=e.O()}]);

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.