(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5872],{45390:function(n,t,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/applications/authorization-pursuant-to-ss-11-tierschg",function(){return e(72715)}])},71932:function(n,t,e){"use strict";e.d(t,{T:function(){return r}});var o=e(50319),i=e(25420),a=e(78553);let r=(n,t)=>{let e=(0,a.in)(),{adminAuthentication:r}=(0,i.h)(),[u]=(0,o.D)(n,{client:e}),s=(null==r?void 0:r.isLoggedIn)||!1,c=async(n,e)=>{await u({variables:{data:{[n]:e},locale:t}})};return{updatePage:c,isAdmin:s}}},72715:function(n,t,e){"use strict";e.r(t),e.d(t,{AUTHORIZATION_PURSUANT_TO_TIERSCHG_QUERY:function(){return g},__N_SSP:function(){return p},default:function(){return S}});var o=e(85893),i=e(37887),a=e(67294),r=e(28714),u=e(12913),s=e(89885),c=e(37837),l=e(47388),d=e(25223),h=e(71932),T=e(25420);let _=(0,r.Ps)("\n  mutation updateAuthorizationPursuantToSs11Tierschg(\n    $data: AuthorizationPursuantToSs11TierschgInput!\n    $locale: I18NLocaleCode\n  ) {\n    updateAuthorizationPursuantToSs11Tierschg(locale: $locale, data: $data) {\n      data {\n        id\n        attributes {\n          ...AuthorizationOPursuantToTierschgView\n        }\n      }\n    }\n  }\n"),P=n=>{let{authorizationPursuantToSs11Tierschg:t,locale:e}=n,{setBreadcrumb:i,setStrapi:r}=(0,T.h)(),{updatePage:P,isAdmin:p}=(0,h.T)(_,e);return(0,a.useEffect)(()=>{var n;r({entity:t.__typename}),i({isActivated:!0,title:null===(n=t.hero)||void 0===n?void 0:n.title,links:t.Breadcrumb})},[i,t]),(0,o.jsx)(u.VWp,{children:(0,o.jsxs)(d.Uq,{children:[(0,o.jsx)(l.p,{seo:t.seo,editable:p,onEdit:P}),(0,o.jsx)(u.VWp,{marginBottom:"-80px",children:(0,o.jsx)(s.z,{componentContentHero:t.hero,locale:e,editable:p,onEdit:P})}),(0,o.jsx)(c.N,{componentContentSections:t.sections,showStickySideNav:!1,locale:e,editable:p,onEdit:P})]})})};P.fragments={authorizationPursuantToSs11Tierschg:(0,r.Ps)("\n    fragment AuthorizationOPursuantToTierschgView on AuthorizationPursuantToSs11Tierschg {\n      __typename\n      hero {\n        ...PageContentHero_componentContentHero\n      }\n      sections {\n        ...PageContentSections_componentContentSection\n      }\n      seo {\n        ...SeoFields\n      }\n      Breadcrumb {\n        ...Breadcrumb_componentContentBreadcrumb\n      }\n    }\n  ")};var p=!0;let g=(0,r.Ps)("\n  query AuthorizationPursuantToSs11Tierschg($locale: I18NLocaleCode!) {\n    authorizationPursuantToSs11Tierschg(locale: $locale) {\n      data {\n        id\n        attributes {\n          ...AuthorizationOPursuantToTierschgView\n        }\n      }\n    }\n    ...Header_query\n    ...Footer_query\n  }\n");var S=n=>{var t,e;let{locale:a}=n,{data:r}=(0,i.a)(g,{variables:{locale:a},fetchPolicy:"cache-and-network"}),u=null==r?void 0:null===(e=r.authorizationPursuantToSs11Tierschg)||void 0===e?void 0:null===(t=e.data)||void 0===t?void 0:t.attributes;return u?(0,o.jsx)(P,{authorizationPursuantToSs11Tierschg:u,locale:a}):null}}},function(n){n.O(0,[9041,2503,158,7388,3630,5977,7837,9774,2888,179],function(){return n(n.s=45390)}),_N_E=n.O()}]);