PageSourceSearch

https://www.structube.com/122.dc96ce08727c4d8b73d9.js

js structube.com collected 2026-10-02 05:25:37 UTC 6,330 bytes, 12 lines download raw bytes

1/*! @version pwa-studio: 1.16.0, @magento/venia-ui: ^11.7.3, @magento/venia-sample-language-packs: ^0.0.22, @magento/venia-product-recommendations: ^1.0.2, @magento/venia-data-collector: ^1.0.7, @magento/venia-adobe-data-layer: ~1.0.1, @magento/upward-security-headers: ~1.1.21, @magento/upward-js: ^5.4.3, @magento/pwa-theme-venia: ~2.4.0, @magento/pwa-buildpack: ^11.5.5, @magento/peregrine: ^15.7.3, @magento/pagebuilder: ^9.3.8, @magento/eslint-config: ^1.5.3, @magento/babel-preset-peregrine: ~1.3.3, @apollo/client: ~3.5.0 */
2(window.webpackJsonp=window.webpackJsonp||[]).push([[122],{"5slC":function(e,n,a){"use strict"
3a.r(n),a.d(n,"default",function(){return v})
4var t=a("q1tI"),d=a.n(t),o=a("Rzx/"),i=a("rid2"),s=a("dDsW"),r=a("kriW"),c=a("17x9"),l=a("y1Xp"),m=a("YXm5"),g=a("DNTo"),u=a("fxPG"),h=a("LboF"),p=a.n(h),C=a("ujz8"),y={insert:"head",singleton:!1},b=(p()(C.a,y),C.a.locals||{})
5const f=e=>{const{classes:n,streamId:a,hashtag:t,product:c}=e,h=Object(l.a)(b,n),{formatMessage:p,locale:C}=Object(s.a)(),y=c?[String(c.id),String(c.sku)]:null
6Object(m.a)(c)&&c.variants&&c.variants.forEach(e=>{y.push(String(e.product.id))})
7const f=Object(u.a)({container:h.container}),{isLoading:v,isReady:w,handleAdd:E}=f,k=Array.isArray(y)?y.join(","):y,P=C.slice(0,-3),x={streamId:a,product:c,tags:y,language:P,form:{title:p({id:"getCandid.uploadPhotos",defaultMessage:"Upload your photos"}),submit:p({id:"getCandid.submit",defaultMessage:"Choose Files"}),required:p({id:"getCandid.required",defaultMessage:"Please enter your name & email"}),processing:p({id:"getCandid.processing",defaultMessage:"Processing uploads"}),thankYou:p({id:"getCandid.thankYou",defaultMessage:"Thank you! Your submission is being reviewed"}),name:p({id:"global.name",defaultMessage:"Name"}),email:p({id:"global.email",defaultMessage:"Email"})}},z=p({id:"getCandid.shopLook",defaultMessage:"Shop the look"}),j="getcandidContainer-".concat(c.id),I=w&&!v?d.a.createElement(i.a,null,d.a.createElement("script",{type:"text/javascript",id:"candid-pdp-iframe"},'\n                        window.candid.init({\n                            id: "'.concat(a,'",\n                            containerId: "').concat(j,'",\n                            placeholderId: "getcandidEmpty-').concat(c.id,'",\n                            tag: "').concat(k,'", // string of product ids seperated by a comma\n                            margin: ').concat(16,', // margin between thumbnails\n                            cache: false,\n                            sort: "likes",\n                            linksHeading: "').concat(z,'", // Title in the modal\n                            onlyDisplayCarouselLead: true, // show only 1 image if it\'s a carousel\n                            language: "').concat(P,"\",\n                            overlayPosition: 'bottom',\n                            min: ").concat(1,', // Minimum of imgs required\n                            width: (document.getElementById("').concat(j,'")?.clientWidth - (').concat(2," * ").concat(16,")) / ").concat(3,"\n                        });\n                    "))):null
8return d.a.createElement("div",{className:h.root},d.a.createElement("div",{className:h.header},d.a.createElement("span",{className:h.hashtag},t),d.a.createElement("button",{type:"button",className:h.addPhoto,onClick:()=>E(x)},d.a.createElement(r.a,{id:"getCandid.addPhoto",defaultMessage:"Add your photo"}))),d.a.createElement("div",{id:"getcandidContainer-".concat(c.id),className:h.container}),d.a.createElement("div",{id:"getcandidEmpty-".concat(c.id),className:h.noContent},d.a.createElement("button",{type:"button",onClick:()=>E(x),className:h.emptyZone},d.a.createElement("span",null,d.a.createElement(r.a,{id:"getCandid.shareDecors",defaultMessage:"Share your Structube-inspired decors with"})," ",d.a.createElement("span",null,t)),d.a.createElement(g.a,{className:h.plusIcon,src:o.a,size:40}))),I)}
9f.propTypes={classes:Object(c.shape)({container:c.string,header:c.string,noContent:c.string,root:c.string}),product:Object(c.shape)({}).isRequired,hashtag:c.string.isRequired,streamId:c.string.isRequired}
10var v=f},ujz8:function(e,n,a){"use strict"
11var t=a("JPst"),d=a.n(t),o=a("p2/v"),i=d()(function(e){return e[1]})
12i.i(o.a,"",!0),i.push([e.i,"/* ------------------------------------- */\n/* --- GetCandid --- */\n/* Iframe and Overlay custom css are\n   in custom-static/getCandid */\n/* ------------------------------------- */\n\n:root {\n    --getCandid-hashtag-size: 1.375rem; /* 22px */\n    --getCandid-addPhoto-size: 0.875rem; /* 14px */\n}\n\n.getCandid-module-header-3YW {\n    display: flex;\n    justify-content: space-between;\n    padding-bottom: 1.25rem;\n}\n\n.getCandid-module-container-1Rb {\n    display: block;\n}\n\n.getCandid-module-noContent-1oD {\n    display: none;\n}\n\n.getCandid-module-emptyZone-3q9 {\n    display: flex;\n    flex-direction: column;\n    justify-content: center;
12\n    align-items: center;\n    width: 100%;\n    padding: 2.5rem 3.75rem;\n    border: var(--common-border-width) solid rgb(var(--gray2));\n    color: rgb(var(--text-secondary-color));\n    font-weight: var(--medium-weight);\n    text-align: center;\n}\n\n.getCandid-module-emptyZone-3q9:focus {\n    opacity: 0.8;\n}\n\n.getCandid-module-plusIcon-5CG {\n    display: block;\n    height: 2.5rem;\n}\n\n.getCandid-module-hashtag-2tp {\n    color: rgb(var(--black));\n    font-size: var(--getCandid-hashtag-size);\n}\n\n.getCandid-module-addPhoto-2F0 {\n    color: rgb(var(--black));\n    font-size: var(--getCandid-addPhoto-size);\n    font-weight: var(--normal-weight);\n    text-align: right;\n    text-transform: uppercase;\n}\n\n@media only screen and (min-width: 23.75rem) {\n    :root {\n        --getCandid-hashtag-size: 1.6875rem; /* 27px */\n        --getCandid-addPhoto-size: 1rem; /* 16px */\n    }\n}\n\n@media only screen and (min-width: 40.0625rem) {\n    .getCandid-module-addPhoto-2F0 {\n        font-size: var(--h6-font-size);\n    }\n}\n",""]),i.locals={header:"getCandid-module-header-3YW",container:"getCandid-module-container-1Rb",noContent:"getCandid-module-noContent-1oD",emptyZone:"getCandid-module-emptyZone-3q9",plusIcon:"getCandid-module-plusIcon-5CG",hashtag:"getCandid-module-hashtag-2tp",addPhoto:"getCandid-module-addPhoto-2F0 "+o.a.locals.root_linkPriority},n.a=i}}])

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.