PageSourceSearch

https://www.tunderella.hu/_next/static/chunks/pages/GDPR-ebc4aa3c8d64ef66.js

js tunderella.hu collected 2026-10-08 23:15:06 UTC 14,004 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[872],{91225:function(__unused_webpack_module,__unused_webpack_exports,__webpack_require__){(window.__NEXT_P=window.__NEXT_P||[]).push(["/GDPR",function(){return __webpack_require__(16164)}])},27177:function(__unused_webpack_module,__webpack_exports__){"use strict";__webpack_exports__.Z={src:"/_next/static/media/levendulaContact.437343a8.png",height:1001,width:800,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAYAAAAICAMAAADtGH4KAAAAOVBMVEWKcZNiVWZmY4FdYmJORWVJQmFUSmhKR1dbUXtaUm9UUl1jYHN2a4s/OFo5NEhybXh4dW1/cHpiVVwtqaEBAAAAAXRSTlP+GuMHfQAAAAlwSFlzAAAuIwAALiMBeKU/dgAAADRJREFUeJwFwYcBACAIA7CiQMGt/x9rglZ7GQW0jAgsm6ZEy7lYscW9b5wrGolznzoxIJr8KxwBkHPasRMAAAAASUVORK5CYII=",blurWidth:6,blurHeight:8}},8578:function(__unused_webpack_module,__webpack_exports__){"use strict";__webpack_exports__.Z={src:"/_next/static/media/szorpokSyrup.ab17e5b8.png",height:1080,width:1600,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAS1BMVEWXl5d9Z1TCv7mbf3eTk46Bc1emmntcRDaGgYKyqJyjj2m3s6apiYenpqSWjnt6dWqloZyOflqdl4eakH2xpoZjNiifcmaNdm3PyscLtNYbAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAMUlEQVR4nAXBhQEAIAwDsKLbcIf/LyUBg4lgM1DG3MZpSA/hJK/RrF/JxAeqTl0V5QMf3QGCrF69WQAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:5}},16164:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{__N_SSP:function(){return __N_SSP},default:function(){return GDPR}});var jsx_runtime=__webpack_require__(85893),react=__webpack_require__(67294),next_router=__webpack_require__(11163),Container=__webpack_require__(65582),Typography=__webpack_require__(15861);__webpack_require__(59511),__webpack_require__(44798),__webpack_require__(31906);var appHeader=__webpack_require__(82034);__webpack_require__(25675);var Grid=__webpack_require__(86886);__webpack_require__(8578);var appFooter=__webpack_require__(27247),levendulaContact=__webpack_require__(27177),lib=__webpack_require__(47041),drawerCookie=__webpack_require__(92665);__webpack_require__(85048);var postData=__webpack_require__(77861);__webpack_require__(63530);var dynamic=__webpack_require__(5152),dynamic_default=__webpack_require__.n(dynamic);let PDFViewer=dynamic_default()(()=>Promise.all([__webpack_require__.e(9506),__webpack_require__.e(2971)]).then(__webpack_require__.bind(__webpack_require__,72971)),{loadableGenerated:{webpack:()=>[72971]},ssr:!1});var __N_SSP=!0;function GDPR(param){let{hasc,products,cartFromServer,cartQuantity,cartTotal}=param,[drawerOpen,setDrawerOpen]=react.useState(!hasc),[cartSt,setCartSt]=react.useState(cartFromServer),[cartLength,setCartLength]=react.useState(cartQuantity),[total,setTotal]=react.useState(cartTotal),router=(0,next_router.useRouter)(),cartRefreshInPage=async()=>{let user=await (0,lib.getCookie)("user_id"),cartData=await (0,postData.q)("/cart",{user:user}),cartD=cartData.cart,cartQ=cartData.quantity,cartT=cartData.total;setCartSt(cartD),setCartLength(cartQ),setTotal(cartT)},deleteProductFromCart=async data=>{await (0,postData.q)("/delete_from_cart",data),setCartSt([]),setCartLength(0),setTotal(""),cartRefreshInPage()},updateProductToCart=async data=>{let cartData=await (0,postData.q)("/update_cart_quantity",data);return cartRefreshInPage(),"fetch: "+cartData.message},createOrder=async()=>{let orderId=await (0,lib.getCookie)("order_id");if(console.log("cookie order_id: "+orderId),"readyForNewOrder"===orderId||void 0===orderId){let user=await (0,lib.getCookie)("user_id"),order=await (0,postData.q)("/create_order",{user:user});await (0,lib.setCookie)("order_id",order.message),await console.log("Order id :"+order.message),await router.push("/checkout")}else router.push("/checkout")};return(0,jsx_runtime.jsxs)(Container.Z,{disableGutters:!0,maxWidth:"xl",children:[(0,jsx_runtime.jsx)(appHeader.Z,{cartLength:cartLength,cartTo:cartSt,deleteTo:deleteProductFromCart,updateTo:updateProductToCart,totalTo:total,createOrderTo:createOrder}),(0,jsx_runtime.jsxs)(Grid.ZP,{container:!0,sx:{backgroundImage:"url(".concat(levendulaContact.Z.src,")"),backgroundSize:"cover"},children:[(0,jsx_runtime.jsx)(Grid.ZP,{item:!0,sx:{minHeight:{xs:"105px",md:"120px",lg:"150px"},border:"transparent 2px solid"}}),(0,jsx_runtime.jsx)(Grid.ZP,{item:!0,xs:12,sx:{backgroundColor:"rgb(0, 128, 0, 0.5)",display:"flex",justifyContent:"center"},children:(0,jsx_runtime.jsx)(Typography.Z,{variant:"h4",component:"h1",gutterBottom:!0,sx:{color:"white",fontWeight:"bold",fontSize:{xs:25,sm:27,md:30,lg:45,xl:50},marginTop:{xs:" 8%",md:"6%"},marginBottom:{xs:"8%",md:"6%"}},children:"ADATV\xc9DELMI T\xc1J\xc9KOZTAT\xd3"})}),(0,jsx_runtime.jsx)(Grid.ZP,{item:!0,xs:12,sx:{backgroundColor:"rgb(255, 255, 255, 0.6)",display:"flex",justifyContent:"center"}}),(0,jsx_runtime.jsx)(Grid.ZP,{container:!0,sx:{backgroundColor:"rgb(255, 255, 255, 0.6)",display:"flex",justifyContent:"space-around",paddingBottom:5,paddingTop:5},children:(0,jsx_runtime.jsx)(Grid.ZP,{item:!0,children:(0,jsx_runtime.jsx)(PDFViewer,{pdf:"./Adatvedelmi.pdf"})})})]}),(0,jsx_runtime.jsx)(appFooter.Z,{}),(0,jsx_runtime.jsx)(drawerCookie.Z,{open:drawerOpen})]})}},63530:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(85893),__webpack_require__(67294);var react_pdf__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(67286);react_pdf__WEBPACK_IMPORTED_MODULE_2__.v0.GlobalWorkerOptions.workerSrc="//cdnjs.cloudflare.com/ajax/libs/pdf.js/".concat(react_pdf__WEBPACK_IMPORTED_MODULE_2__.v0.version,"/pdf.worker.js")},31906:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Z:function(){return Copyright}});var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(85893);__webpack_require__(67294);var _mui_material_Typography__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(15861),_mui_material_Link__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(23795);function Copyright(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_2__.Z,{variant:"body2",color:"text.secondary",align:"center",children:["Copyright \xa9 ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_mui_material_Link__WEBPACK_IMPORTED_MODULE_3__.Z,{color:"inherit",href:"https://mui.com/",children:"Your Website"})," ",new Date().getFullYear(),"."]})}},59511:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Z:function(){return ProTip}});var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(85893);__webpack_require__(67294);var _mui_material_Link__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(23795),_mui_material_SvgIcon__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(53219),_mui_material_Typography__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(15861);function LightBulbIcon(props){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_mui_material_SvgIcon__WEBPACK_IMPORTED_MODULE_2__.Z,{...props,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("path",{d:"M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7zm2.85 11.1l-.85.6V16h-4v-2.3l-.85-.6C7.8 12.16 7 10.63 7 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1z"})})}function ProTip(){return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_3__.Z,{sx:{mt:6,mb:3},color:"text.secondary",children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(LightBulbIcon,{sx:{mr:1,verticalAlign:"middle"}}),"Pro tip: See more ",(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_mui_material_Link__WEBPACK_IMPORTED_MODULE_4__.Z,{href:"https://mui.com/getting-started/templates/",children:"templates"})," on the MUI documentation."]})}},92665:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Z:function(){return DrawerCookie}});var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(85893),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(67294),_mui_material_Box__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(87357),_mui_material_Drawer__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(58826),_mui_material_Button__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(11057),_mui_material_Typography__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(15861),cookies_next__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(47041),uuid__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(25934),_mui_material_styles__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(90948),_mui_material_colors__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(47036);function DrawerCookie(props){let[open,setOpen]=react__WEBPACK_IMPORTED_MODULE_1__.useState(props.open),ColorButton=(0,_mui_material_styles__WEBPACK_IMPORTED_MODULE_3__.ZP)(_mui_material_Button__WEBPACK_IMPORTED_MODULE_4__.Z)(param=>{let{theme}=param;return{color:"white",backgroundColor:_mui_material_colors__WEBPACK_IMPORTED_MODULE_5__.Z[500],"&:hover":{backgroundColor:_mui_material_colors__WEBPACK_IMPORTED_MODULE_5__.Z[600]}}}),handleDrawerClose=()=>{setOpen(!1);var user_id=(0,uuid__WEBPACK_IMPORTED_MODULE_6__.Z)();(0,cookies_next__WEBPACK_IMPORTED_MODULE_2__.setCookie)("user_id",user_id,{maxAge:86400})};return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)("div",{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(react__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_mui_material_Drawer__WEBPACK_IMPORTED_MODULE_7__.ZP,{anchor:"bottom",open:open,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_mui_material_Box__WEBPACK_IMPORTED_MODULE_8__.Z,{sx:{display:"flex",flexDirection:"column",alignItems:"center",paddingTop:"20px",paddingBottom:"20px"},children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_9__.Z,{component:"h3",sx:{fontWeight:"bolder",color:"green",marginBottom:"10px"},children:"Ez a weboldal cookie-kat (s\xfctiket) haszn\xe1l, hogy biztons\xe1gos b\xf6ng\xe9sz\xe9s mellett a legjobb felhaszn\xe1l\xf3i \xe9lm\xe9nyt ny\xfajtsa."}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(ColorButton,{onClick:handleDrawerClose,children:"Elfogadom"})]})})},"bottom")})}},85048:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{Z:function(){return DistributorCard}});var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(85893),react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(67294),_mui_material_Box__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(87357),_mui_material_Card__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(66242),_mui_material_CardActions__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(62023),_mui_material_CardContent__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(44267),_mui_material_Button__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(11057),_mui_material_Typography__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(15861),_Link__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(44798);function DistributorCard(param){let{name,address,web,phone,aliasweb}=param;return(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_mui_material_Box__WEBPACK_IMPORTED_MODULE_3__.Z,{sx:{minWidth:320,border:"2px s
1olid green",marginBottom:3},children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_mui_material_Card__WEBPACK_IMPORTED_MODULE_4__.Z,{variant:"outlined",sx:{minHeight:160},children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(react__WEBPACK_IMPORTED_MODULE_1__.Fragment,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_mui_material_CardContent__WEBPACK_IMPORTED_MODULE_5__.Z,{children:[(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_6__.Z,{variant:"h5",component:"div",children:name}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_6__.Z,{variant:"body2",sx:{marginBottom:1},children:address}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_mui_material_Typography__WEBPACK_IMPORTED_MODULE_6__.Z,{variant:"body2",children:phone})]}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsx)(_mui_material_CardActions__WEBPACK_IMPORTED_MODULE_7__.Z,{children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxs)(_mui_material_Button__WEBPACK_IMPORTED_MODULE_8__.Z,{size:"small",sx:{textTransform:"none"},component:_Link__WEBPACK_IMPORTED_MODULE_2__.C,href:"https://".concat(web),children:[" ",aliasweb," "]})})]})})})}_mui_material_Box__WEBPACK_IMPORTED_MODULE_3__.Z},24008:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{y:function(){return backend}});let backend="https://backend.tunderella.powerpi.hu:4431"},77861:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,{q:function(){return postData}});var _backend__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(24008);let postData=async(endpoint,data)=>{let url=_backend__WEBPACK_IMPORTED_MODULE_0__.y+endpoint,myData=JSON.stringify(data),resp=await fetch(url,{method:"post",mode:"cors",headers:{"Content-type":"application/json"},body:myData});return await resp.json()}},93414:function(){},70172:function(){},2001:function(){},33779:function(){},82258:function(){}},function(__webpack_require__){__webpack_require__.O(0,[4577,6348,6769,8195,8540,6810,1942,9774,2888,179],function(){return __webpack_require__(__webpack_require__.s=91225)}),_N_E=__webpack_require__.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.