PageSourceSearch

https://www.smartricity.de/_next/static/chunks/5491.6cc0858ecc8422ee.js

js smartricity.de collected 2026-10-02 21:38:16 UTC 3,813 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5491],{67155:function(e,l,s){var i=s(64836);l.Z=void 0;var t=i(s(33651)),a=s(85893),r=(0,t.default)((0,a.jsx)("path",{d:"M7.5 5.6 10 7 8.6 4.5 10 2 7.5 3.4 5 2l1.4 2.5L5 7zm12 9.8L17 14l1.4 2.5L17 19l2.5-1.4L22 19l-1.4-2.5L22 14zM22 2l-2.5 1.4L17 2l1.4 2.5L17 7l2.5-1.4L22 7l-1.4-2.5zm-7.63 5.29a.9959.9959 0 0 0-1.41 0L1.29 18.96c-.39.39-.39 1.02 0 1.41l2.34 2.34c.39.39 1.02.39 1.41 0L16.7 11.05c.39-.39.39-1.02 0-1.41l-2.33-2.35zm-1.03 5.49-2.12-2.12 2.44-2.44 2.12 2.12-2.44 2.44z"}),"AutoFixHigh");l.Z=r},89246:function(e,l,s){var i=s(64836);l.Z=void 0;var t=i(s(33651)),a=s(85893),r=(0,t.default)((0,a.jsx)("path",{d:"m20 7 .94-2.06L23 4l-2.06-.94L20 1l-.94 2.06L17 4l2.06.94zM8.5 7l.94-2.06L11.5 4l-2.06-.94L8.5 1l-.94 2.06L5.5 4l2.06.94zM20 12.5l-.94 2.06-2.06.94 2.06.94.94 2.06.94-2.06L23 15.5l-2.06-.94zm-2.29-3.38-2.83-2.83c-.2-.19-.45-.29-.71-.29-.26 0-.51.1-.71.29L2.29 17.46c-.39.39-.39 1.02 0 1.41l2.83 2.83c.2.2.45.3.71.3s.51-.1.71-.29l11.17-11.17c.39-.39.39-1.03 0-1.42zm-3.54-.7 1.41 1.41L14.41 11 13 9.59l1.17-1.17zM5.83 19.59l-1.41-1.41L11.59 11 13 12.41l-7.17 7.18z"}),"AutoFixHighOutlined");l.Z=r},5491:function(e,l,s){s.r(l);var i=s(85893),t=s(19604),a=s(88747),r=s(45399),o=s(9473),n=s(18212),c=s(54443),d=s(89171);let v={color:"gray",fontStyle:"italic",my:.25};l.default=e=>{let{slug:l,category:s,subcategory:u,industry:h="household"}=e,m=(0,c.T)(),g=(0,o.v9)(e=>e.devices.items[l]),L=(0,o.v9)(e=>e.oldDevices.items),x=(0,o.v9)(e=>e.devices.comparisonDevice);"gastronomy"==h?(0,o.v9)(e=>e.restaurant.restaurantDevices):(0,o.v9)(e=>e.household.householdDevices);let f="gastronomy"==h?(0,o.v9)(e=>e.restaurant.restaurantDevicesList):(0,o.v9)(e=>e.household.householdDevicesList);"gastronomy"==h?(0,o.v9)(e=>e.restaurant.watchlistDevices):(0,o.v9)(e=>e.household.watchlistDevices);let p=(0,o.v9)(e=>e.oldDevices.useCategory);(L[s]||{})[p?"categoryDevice":u];let z=(0,o.v9)(e=>e.devices.comparisonDevicesList),j=(0,o.v9)(e=>e.devices.comparisonSlug);return(0,i.jsx)(i.Fragment,{children:(0,i.jsxs)(t.Z,{sx:{display:"flex",alignItems:"center",justifyConten:"space-between",mr:1,...v},children:["vs."," ",(0,i.jsxs)(a.Z,{select:!0,fullWidth:!0,value:j||"-no-comparison-device-",id:"grouped-native-select",onChange:e=>{let l=e.target.value;m((0,d.v_)(l))},placeholder:"Vergleichsger\xe4t",size:"small",sx:{m:1,fontWeight:"bold",verflow:"ellipsis"},children:[(0,i.jsx)(r.Z,{value:"-no-comparison-device-",children:"Kein Vergleich"},"-no-comparison-device-"),Object.values(z).map((e,l)=>(0,i.jsx)(r.Z,{value:e.slug,children:e.name},e.slug))]}),x&&f.includes(x.slug)&&(0,i.jsx)(n.Z,{deviceAdded:g,deviceRemoved:x})]})})}},18212:function(e,l,s){var i=s(85893),t=s(33034),a=s(7727),r=s(54443),o=s(23596),n=s(9473),c=s(98253),d=s(67155),v=s(89246);l.Z=e=>{let l=(0,r.T)(),{deviceRemoved:s,deviceAdded:u,fontSize:h="medium",industry:m="household"}=e,g="gastronomy"==m?(0,n.v9)(e=>e.restaurant.targetUnit.deviceExchangePairs):(0,n.v9)(e=>e.household.targetUnit.deviceExchangePairs),L={remove:s.slug,add:u.slug},x=g.some(e=>e.remove==L.remove&&e.add==L.add),f=(e,s)=>{"gastronomy"==m?(l((0,c.bD)(e)),l((0,c.Um)(s))):(l((0,o.mt)(e)),l((0,o.GM)(s)))},p=(e,s)=>{"gastronomy"==m?l((0,c.zR)(s)):l((0,o.Lr)(s))};return(0,i.jsx)(i.Fragment,{children:x?(0,i.jsx)(t.Z,{title:"Ger\xe4tepaar von der Tauschliste entfernen",children:(0,i.jsx)(a.Z,{onClick:()=>p(u,L),size:"large",children:(0,i.jsx)(d.Z,{sx:{color:"#CCBA14"},fontSize:h,"aria-label":"Ger\xe4tepaar von Tauschliste entfernen"})})}):(0,i.jsx)(t.Z,{title:"Ger\xe4tepaar zur Tauschliste hinzuf\xfcgen",children:(0,i.jsx)(a.Z,{onClick:()=>{f(u,L)},size:"large",children:(0,i.jsx)(v.Z,{color:"disabled",fontSize:h,"aria-label":"Ger\xe4tepaar zu Tauschliste hinzuf\xfcgen"})})})})}}}]);

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.