PageSourceSearch

https://www.bisenzio.it/static/js/volto-blocks-widget-manage.f25d7315.chunk.js

js bisenzio.it collected 2026-10-01 23:50:02 UTC 2,084 bytes, 2 lines download raw bytes

1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[38050],{14216:(e,l,t)=>{t.r(l),t.d(l,{default:()=>w});var o=t(89958),n=t(41609),s=t.n(n),i=t(67294),c=t(36247),d=t(26519),u=t(44586),a=t(43409),r=t(73935),v=t(33106),k=t(91555),f=t(13515),b=t(68706),g=t(32951),m=t(81667),_=i.createElement;const w=function(e){var l,t,n,w,y,Z=(0,m.TH)(),E=(0,c.useDispatch)(),h="18"===(g.Z.settings["volto-blocks-widget"].voltoVersion+"").split(".")[0],B=e.value,p=void 0===B?{}:B,D=e.id,L=e.onChange,A=(e.required,(0,c.useSelector)((function(e){var l;return null===(l=e.blocksWidgetSelected)||void 0===l?void 0:l.value}))),F=(0,i.useRef)(A);(0,i.useEffect)((function(){F.current=A}),[A]);var O=(0,i.useRef)(),R=(0,u.Z)();p.blocks_layout&&!s()(p.blocks_layout.items)||(p.blocks_layout={items:[R]}),p.blocks&&!s()(p.blocks)||(p.blocks=(0,o.Z)({},R,{"@type":g.Z.settings.defaultBlockType}));var S=function(){F.current!==D&&E((0,b.Y)(D))};return(0,i.useEffect)((function(){if(O){var e=O.current;return e.addEventListener("click",S),function(){e.removeEventListener("click",S)}}}),[O]),_(i.Fragment,null,_("div",{className:"blocks-widget",ref:O,onBlur:function(){e.onBlur(D,p)}},_(a.Z.Field,{inline:!0,id:D},_(f.Z,e,_("div",{className:"blocks-widget-container"},_(k.Z,{key:D,formData:p,visual:!0,hideActions:!0,onChangeFormData:function(e){L(D,{blocks:e.blocks,blocks_layout:e.blocks_layout})},allowedBlocks:null!==(l=null===e||void 0===e||null===(t=e.widgetOptions)||void 0===t?void 0:t.allowedBlocks)&&void 0!==l?l:null===(n=g.Z.settings["volto-blocks-widget"])||void 0===n?void 0:n.allowedBlocks,showRestricted:null!==(w=e.showRestricted)&&void 0!==w?w:null===(y=g.Z.settings["volto-blocks-widget"])||void 0===y?void 0:y.showRestricted,isFormSelected:A===D,pathname:Z.pathname}))))),h?_(i.Fragment,null,(0,r.createPortal)(_("div",{style:{display:A===D?"block":"none"}},_(v.Z,null)),document.getElementById("sidebar"))):_(d.Z,{node:document.getElementById("sidebar")},A===D&&_(v.Z,null)))}}}]);
2//# sourceMappingURL=volto-blocks-widget-manage.f25d7315.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.