PageSourceSearch

https://www.standardelectricsupply.com/dist/tsescoseimageformChunk_1ec5c69fb9106aafdbb8.chunk.js

js standardelectricsupply.com collected 2026-09-28 06:53:39 UTC 9,880 bytes, 100 lines download raw bytes

1"use strict";(self.webpackChunkroot=self.webpackChunkroot||[]).push([[6970],{73009:(e,t,a)=>{a.r(t),a.d(t,{ImageFormWidget:()=>b,default:()=>h,descriptionWidgetStyles:()=>y});var i,n=a(44082),l=a(17126),o=a(73746),r=a(41696),p=a(2804),d=a(35683),m=a(44575),s=a(39881),g=a(23573),c=a(15385),u=a(10900),x=a(96540),f=a(73802);!function(e){e.title="title",e.image="image",e.description="description",e.position="position",e.backgroundcolor="backgroundcolor",e.variant="variant",e.label="label",e.buttonurl="buttonurl",e.link="link",e.alignment="alignment"}(i||(i={}));const y={wrapper:{css:f.AH`width:100%;display:flex;${p.eM}{font-family:"Roboto-medium";background:${(0,c.A)("primary")};border:none;font-size:1em;border-radius:3px;margin:20px 0;padding:17px 41px;color:${(0,c.A)("primary.contrast")};display:inline-block;text-align:center;&:hover{background:${(0,c.A)("common.backgroundContrast")};}${({theme:e})=>(0,g.Ay)(e,[f.AH`
2                            font-size: 0.875rem;
3                        `,f.AH`
4                            font-size: 0.875rem;
5                        `,f.AH`
6                            font-size: 0.875rem;
7                        `,null,null])}}.banner-subheading{h1{font-weight:600;margin-top:20px;font-size:24px;width:100%;text-align:center;margin-bottom:20px;color:${(0,c.A)("primary")};font-family:"Roboto-medium";padding:0;}p{font-size:16px;text-align:justify;font-family:"Roboto-medium";color:${(0,c.A)("text.accent")};${({theme:e})=>(0,g.Ay)(e,[f.AH`
8                                font-weight: 500;
9                                margin-bottom: 10px;
10                                text-align: justify;
11                            `,f.AH`
12                                font-weight: 500;
13                                margin-bottom: 10px;
14                                text-align: justify;
15                            `,f.AH`
16                                font-weight: 500;
17                                margin-bottom: 10px;
18                                text-align: justify;
19                            `,null,null])}}}`},Title:{css:f.AH`text-align:center;color:${(0,c.A)("common.backgroundContrast")};max-width:60rem;width:100%;margin:0 auto;float:none;font-size:24px;font-family:"Roboto-bold";${({theme:e})=>(0,g.Ay)(e,[f.AH`
20                        font-size: 24px;
21                        text-align: center;
22                        margin-top: 0;
23                    `,f.AH`
24                        font-size: 24px;
25                        text-align: center;
26                        margin-top: 0;
27                    `,f.AH`
28                        font-size: 24px;
29                        text-align: center;
30                        margin-top: 0;
31                    `,null,null])}`},slideCenteringWrapperStyles:{css:f.AH`height:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;max-width:96%;margin-left:auto;margin-top:-10px;padding-right:15px;${({theme:e})=>(0,g.Ay)(e,[f.AH`
32                            padding: 0px 0px;
33                            margin: 0px;
34                            padding-left: 0px !important;
35                            padding-right: 0px !important;
36                        `,f.AH`
37                            padding: 0px 0px;
38                            margin: 0px;
39                            padding-left: 0px !important;
40                            padding-right: 0px !important;
41                        `,f.AH`
42                            padding: 0px 0px;
43                            max-width: 100% !important;
44                            margin: 0px auto;
45                            padding-left: 0px !important;
46                            padding-right: 0px !important;
47                        `,f.AH`
48                            padding-left: 30px;
49                            padding-right: 15px;
50                        `,f.AH`
51                            padding-left: 57px;
52                            padding-right: 15px;
53                        `],"max")} ul{li{margin:12px 0;font-size:14.4px;text-align:justify;font-family:"Roboto-medium";span{font-size:14.4px;font-family:"Roboto-medium";color:${(0,c.A)("primary")};text-decoration:underline;${({theme:e})=>(0,g.Ay)(e,[f.AH`
54                                    font-size: 14.4px;
55                                `,f.AH`
56                                    font-size: 14.4px;
57                                `,f.AH``,null,null])}}}}form{margin:auto;width:100%;margin-top:30px;padding:30px;background-color:${(0,c.A)("primary.contrast")};box-shadow:0 1px 6px 1px rgba(133, 133, 133, 0.25);${m.S}{background-color:#eaeaea !important;border:1px solid transparent;box-shadow:none;font-size:0.875rem;padding:0.625rem 0.9375rem;color:#000;margin-bottom:0;transition:all 0.2s;}}
57`},Content:{css:f.AH`width:60%;padding-top:0;padding-left:0px;padding-right:22px;padding-bottom:34px;${({theme:e})=>(0,g.Ay)(e,[f.AH`
58                        display: block;
59                        width: 100%;
60                        padding: 0 14px !important;
61                    `,f.AH`
62                        display: block;
63                        width: 100%;
64                        padding: 0 14px !important;
65                    `,f.AH`
66                        display: block;
67                        width: 100%;
68                        padding: 0 14px !important;
69                    `,null,null])}`}},b=({fields:e,extendedStyles:t})=>{var a;const i=(0,r.CZ)("banner",y,t),c={css:f.AH`${(null===(a=i.wrapper)||void 0===a?void 0:a.css)||""} height:100%;margin-top:45px;margin-bottom:53px;${"left"===e.position&&"\n                                        display: flex;\n                                        flex-direction: row;"};${"right"===e.position&&"\n                                        display: flex;\n                                        flex-direction: row-reverse;"};${({theme:e})=>(0,g.Ay)(e,[f.AH`
70                        display: block;
71                        width: 100%;
72                        margin-bottom: 30px;
73                    `,f.AH`
74                        display: block;
75                        width: 100%;
76                        margin-bottom: 30px;
77                    `,f.AH`
78                        display: block;
79                        width: 100%;
80                        margin-bottom: 30px;
81                    `,null,null])}`},b={css:f.AH`width:40%;${({theme:e})=>(0,g.Ay)(e,[f.AH`
82                        width: 100%;
83                    `,f.AH`
84                        width: 100%;
85                    `,f.AH`
86                        width: 100%;
87                    `,null,null])} img{height:100%;width:90%;${"left"===e.position&&"\n                                       width:100%"};${({theme:e})=>(0,g.Ay)(e,[f.AH`
88                            display: block;
89                            width: 100%;
90                            margin-bottom: 30px;
91                        `,f.AH`
92                            display: block;
93                            width: 100%;
94                            margin-bottom: 30px;
95                        `,f.AH`
96                            display: block;
97                            width: 100%;
98                            margin-bottom: 30px;
99                        `,null,null])}}`};return x.createElement(l.A,{css:f.AH`padding:5px 0;${"yes"===e.backgroundcolor&&" background:#f6f6f6;"};${"no"===e.backgroundcolor&&" background:none;"};`},x.createElement(l.A,Object.assign({},i.Title),e.title),x.createElement(l.A,Object.assign({className:"banner-wrapper"},c),x.createElement(d.A,Object.assign({src:e.image},b)),x.createElement(l.A,Object.assign({},i.Content),x.createElement(l.A,Object.assign({className:"banner-center-wrapper"},i.slideCenteringWrapperStyles),x.createElement(s.A,{className:"banner-subheading"},(0,u.Ay)(e.description,n.q)),x.createElement("form",{id:""},x.createElement(x.Fragment,null," ",x.createElement(m.A,{type:"email",id:"subscribeEmailId",label:(0,o.Ay)("Email"),required:!0}),x.createElement(p.Ay,{className:"button",type:"submit",onClick:()=>(()=>{const e=document.getElementById("subscribeEmailId").value;if(!e.match(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/))return!1;window.open(`mailto: ${e}`)})()},...null==i?void 0:i.label," ",e.label)))))))},h={component:b,definition:{group:"Basic",icon:"image-landscape",displayName:"SE Image Form Widget",fieldDefinitions:[{name:i.title,displayName:"Tittle",editorTemplate:"TextField",defaultValue:"",fieldType:"General",tooltip:"text tip",placeholder:"text placeholder",sortOrder:0},{fieldType:"Translatable",name:i.image,editorTemplate:"ImagePickerField",defaultValue:""},{fieldType:"Translatable",name:i.description,editorTemplate:"RichTextField",displayName:"Description",defaultValue:""},{fieldType:"Translatable",name:i.backgroundcolor,displayName:"Change Background Color",editorTemplate:"DropDownField",options:[{displayName:"Yes",value:"yes"},{displayName:"No",value:"no"}],defaultValue:"left"},{fieldType:"Translatable",name:i.position,displayName:"Change Image Position",editorTemplate:"DropDownField",options:[{displayName:"Left",value:"left"},{displayName:"Right",value:"right"}],defaultValue:"left"},{name:i.variant,displayName:"Button Variant",editorTemplate:"DropDownField",options:[{displayName:"Primary",value:"primary"},{displayName:"Secondary",value:"secondary"},{displayName:"Tertiary",value:"tertiary"}],defaultValue:"primary",fieldType:"General"},{name:i.label,displayName:"Button Label",editorTemplate:"TextField",defaultValue:"",fieldType:"Translatable"},{name:i.alignment,displayName:"Button Alignment",editorTemplate:"DropDownField",options:[{displayName:"Left",value:"flex-start"},{displayName:"Center",value:"center"},{displayName:"Right",value:"flex-end"}],defaultValue:"primary",fieldType:"General"}]}}}}]);
100//# sourceMappingURL=tsescoseimageformChunk_1ec5c69fb9106aafdbb8.chunk.js.map

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.