PageSourceSearch

https://www.localcommons.ca/_next/static/chunks/72372.3dd1439d0a4472ca.js

js localcommons.ca collected 2026-10-09 22:35:55 UTC 7,248 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[72372],{72372:(e,t,r)=>{r.d(t,{s:()=>I});var n=r(7620),i=r(97509),l=r(15577),o=r(72902),a=r(41564),c=r(72144),u=r(70455),f=r(73675);function s(){return(s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var p={align:"center",iconSize:14,inactiveColor:"#ccc",layout:"horizontal",verticalAlign:"middle"};function v(e){var t,{data:r,iconType:i,inactiveColor:l}=e,o=32/6,a=32/3,u=r.inactive?l:r.color,f=null!=i?i:r.type;if("none"===f)return null;if("plainline"===f)return n.createElement("line",{strokeWidth:4,fill:"none",stroke:u,strokeDasharray:null==(t=r.payload)?void 0:t.strokeDasharray,x1:0,y1:16,x2:32,y2:16,className:"recharts-legend-icon"});if("line"===f)return n.createElement("path",{strokeWidth:4,fill:"none",stroke:u,d:"M0,".concat(16,"h").concat(a,"\n            A").concat(o,",").concat(o,",0,1,1,").concat(2*a,",").concat(16,"\n            H").concat(32,"M").concat(2*a,",").concat(16,"\n            A").concat(o,",").concat(o,",0,1,1,").concat(a,",").concat(16),className:"recharts-legend-icon"});if("rect"===f)return n.createElement("path",{stroke:"none",fill:u,d:"M0,".concat(4,"h").concat(32,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(n.isValidElement(r.legendIcon)){var s=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach(function(t){var n,i,l;n=e,i=t,l=r[t],(i=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(i))in n?Object.defineProperty(n,i,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[i]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},r);return delete s.legendIcon,n.cloneElement(r.legendIcon,s)}return n.createElement(c.i,{fill:u,cx:16,cy:16,size:32,sizeType:"diameter",type:f})}function g(e){var{payload:t,iconSize:r,layout:i,formatter:l,inactiveColor:c,iconType:f}=e,h={x:0,y:0,width:32,height:32},p={display:"horizontal"===i?"inline-block":"block",marginRight:10},g={display:"inline-block",verticalAlign:"middle",marginRight:4};return t.map((t,i)=>{var y=t.formatter||l,d=(0,o.$)({"recharts-legend-item":!0,["legend-item-".concat(i)]:!0,inactive:t.inactive});if("none"===t.type)return null;var m=t.inactive?c:t.color,b=y?y(t.value,t,i):t.value;return n.createElement("li",s({className:d,style:p,key:"legend-item-".concat(i)},(0,u.XC)(e,t,i)),n.createElement(a.u,{width:r,height:r,viewBox:h,style:g,"aria-label":"".concat(b," legend icon")},n.createElement(v,{data:t,iconType:f,inactiveColor:c})),n.createElement("span",{className:"recharts-legend-item-text",style:{color:m}},b))})}var y=e=>{var t=(0,f.e)(e,p),{payload:r,layout:i,align:l}=t;return r&&r.length?n.createElement("ul",{className:"recharts-default-legend",style:{padding:0,margin:0,textAlign:"horizontal"===i?l:"left"}},n.createElement(g,s({},t,{payload:r}))):null}
1,d=r(20344),m=r(81132),b=r(89753),O=r(66533),j=r(12544),w=r(10864),E=r(12144),P=["contextPayload"];function k(){return(k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}function S(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function x(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?S(Object(r),!0).forEach(function(t){var n,i,l;n=e,i=t,l=r[t],(i=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(i))in n?Object.defineProperty(n,i,{value:l,enumerable:!0,configurable:!0,writable:!0}):n[i]=l}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function N(e){return e.value}function z(e){var{contextPayload:t}=e,r=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(e);for(n=0;n<l.length;n++)r=l[n],-1===t.indexOf(r)&&({}).propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,P),i=(0,m.s)(t,e.payloadUniqBy,N),l=x(x({},r),{},{payload:i});return n.isValidElement(e.content)?n.cloneElement(e.content,l):"function"==typeof e.content?n.createElement(e.content,l):n.createElement(y,l)}function D(e){var t=(0,b.j)();return(0,n.useEffect)(()=>{t((0,E.h1)(e))},[t,e]),null}function A(e){var t=(0,b.j)();return(0,n.useEffect)(()=>(t((0,E.hx)(e)),()=>{t((0,E.hx)({width:0,height:0}))}),[t,e]),null}var C={align:"center",iconSize:14,itemSorter:"value",layout:"horizontal",verticalAlign:"bottom"};function I(e){var t,r=(0,f.e)(e,C),o=(0,b.G)(O.g0),a=(0,l.M)(),c=(0,w.Kp)(),{width:u,height:s,wrapperStyle:h,portal:p}=r,[v,g]=(0,j.V)([o]),y=(0,w.yi)(),m=(0,w.rY)();if(null==y||null==m)return null;var E=y-((null==c?void 0:c.left)||0)-((null==c?void 0:c.right)||0),P=(t=r.layout,"vertical"===t&&(0,d.Et)(s)?{height:s}:"horizontal"===t?{width:u||E}:null),S=p?h:x(x({position:"absolute",width:(null==P?void 0:P.width)||u||"auto",height:(null==P?void 0:P.height)||s||"auto"},function(e,t,r,n,i,l){var o,a,{layout:c,align:u,verticalAlign:f}=t;return e&&(void 0!==e.left&&null!==e.left||void 0!==e.right&&null!==e.right)||(o="center"===u&&"vertical"===c?{left:((n||0)-l.width)/2}:"right"===u?{right:r&&r.right||0}:{left:r&&r.left||0}),e&&(void 0!==e.top&&null!==e.top||void 0!==e.bottom&&null!==e.bottom)||(a="middle"===f?{top:((i||0)-l.height)/2}:"bottom"===f?{bottom:r&&r.bottom||0}:{top:r&&r.top||0}),x(x({},o),a)}(h,r,c,y,m,v)),h),N=null!=p?p:a;if(null==N||null==o)return null;var I=n.createElement("div",{className:"recharts-legend-wrapper",style:S,ref:g},n.createElement(D,{layout:r.layout,align:r.align,verticalAlign:r.verticalAlign,itemSorter:r.itemSorter}),!p&&n.createElement(A,{width:v.width,height:v.height}),n.createElement(z,k({},r,P,{margin:c,chartWidth:y,chartHeight:m,contextPayload:o})));return(0,i.createPortal)(I,N)}I.displayName="Legend"}}]);

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.