PageSourceSearch

https://www.medi.se/typo3conf/ext/mediprovider/Resources/Public/ReactBuild/BlockGrid.chunk.js

js medi.se collected 2026-10-02 13:36:34 UTC 7,617 bytes, 1 lines download raw bytes

1export const id=3763;export const ids=[3763,1432];export const modules={4102:(e,t,s)=>{"use strict";var r=s(4135);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,s,o,i,n){if(n!==r){var p=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw p.name="Invariant Violation",p}}function t(){return e}e.isRequired=e;var s={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return s.PropTypes=s,s}},3398:(e,t,s)=>{e.exports=s(4102)()},4135:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6865:(e,t,s)=>{"use strict";s.d(t,{Z:()=>a});var r=s(7401),o=s(3398),i=s.n(o),n=s(2674),p=s(6819);class l extends r.Component{constructor(e){super(e),this._name=this.constructor.name,this.state={},this.state.isReady=!1,this.state.ownWidth=null,this.state.isMounted=!1}static getViewportName(){if("undefined"!=typeof window){let e,t=window.innerWidth,s=this.getBreakpoints(),r=this.getViewPorts();for(let o in s)t>=s[o]&&(e=r[o]);return e}}static getViewPorts(){return{xs:"xs",sm:"sm sm-up",md:"md sm-up md-up",lg:"lg sm-up md-up lg-up",xl:"xl sm-up md-up lg-up xl-up"}}
1static getBreakpoints(){return{xs:0,sm:376,md:768,lg:992,xl:1200}}determineOwnWidthAsBreakpointUnit(){let e=this._domElement.offsetWidth,t=l.getBreakpoints(),s="";for(let r in t)e>=t[r]&&(s=r);return s}assembleClassName(){let e=[];const t=this.extendClassName();"string"==typeof t?e.push(t):Array.isArray(t)&&e.push(t.filter((e=>e)).join(" ")),this.props.gridClass&&e.push(this.props.gridClass),this.props.variantColor&&(Array.isArray(this.props.variantColor)?e.concat(this.props.variantColor):e.push(this.props.variantColor)),this.props.blockElement&&e.push(this.props.blockElement),("true"===this.props.isReady||this.state.isReady)&&e.push("is-ready"),"true"===this.props.isActive&&e.push("is-active"),"true"===this.props.isCurrent&&e.push("is-current"),"true"===this.props.isDisabled&&e.push("is-disabled"),this.props.isFocused&&e.push("is-focused"),this.props.isHidden&&e.push("component-is-hidden"),"true"===this.props.isBreakpointSensitive&&e.push("is-breakpoint-sensitive"),this.state.isMounted&&e.push("is-mounted"),this.state.ownWidth&&e.push("own-width--"+this.state.ownWidth);let s=e.join(" ").split(" ");return s.filter(((e,t,s)=>s.indexOf(e)===t)),s.join(" ")}extendClassName(){}getCurrentWidth(){return this._domElement.offsetWidth}mediComponentDidMount(e){this._domElement=n.findDOMNode(this);let t={isMounted:!0,...e};"true"===this.props.renderOwnWidth&&(t.ownWidth=this.determineOwnWidthAsBreakpointUnit()),this.setState(t)}componentDidMount(){this.mediComponentDidMount()}render(){return r.createElement(r.Fragment,null)}}l.propTypes={id:i().string,variantType:i().string,variantModifier:i().string,variantColor:i().string,blockElement:i().string,gridClass:i().string,clickHandler:i().func,blurHandler:i().func,focusHandler:i().func,keyPressHandler:i().func,isDisabled:i().oneOf(["false","true"]),isCurrent:i().oneOf(["false","true"]),isActive:i().oneOf(["false","true"]),isReady:i().oneOf(["false","true"]),renderOwnWidth:i().oneOf(["false","true"]),isFocused:i().bool,isBreakpointSensitive:i().oneOf(["false","true"]),isHidden:i().bool},l.defaultProps={};const a={Component:l,ProptypeValidators:p.Z}},6529:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>p});var r=s(7401),o=s(3398),i=s.n(o),n=s(6865);class p extends n.Z.Component{extendClassName(){let e=["g-block-grid"];return"left"===this.props.itemsAlign&&e.push("g-block-grid--items-align--left"),"true"===this.props.equalHeightItems&&e.push("g-block-grid--equal-height-items"),"true"===this.props.singleGutters&&e.push("g-block-grid--single-gutters"),"true"===this.props.smallerWidth&&e.push("g-block-grid--smallerWidth"),e.join(" ")}render(){let e=["g-block-grid__item"];this.props.xs&&e.push("col-"+12/this.props.xs),this.props.sm&&e.push("col-sm-"+12/this.props.sm),this.props.md&&e.push("col-md-"+12/this.props.md),this.props.lg&&e.push("col-lg-"+12/this.props.lg),this.props.xl&&e.push("col-xl-"+12/this.props.xl);let t=this.props.children;return Array.isArray(t)||(t=[t]),r.createElement(r.Fragment,null,r.createElement("div",{id:this.props.id,className:this.assembleClassName()},r.createElement("div",{className:"row g-block-grid__row"+("true"===this.props.noGutters?" g-0":"")},this.props.children?t.map(((t,s)=>{let o=e.join(" ");return this.props.fullWidthItemsByIndex&&-1!==this.props.fullWidthItemsByIndex.indexOf(""+(s+1))&&(o="g-block-grid__item col-sm-12"),r.createElement("div",{key:"child"+s,className:o},t)})):"")))}}p.defaultProps={md:2,itemsAlign:"",noGutters:"false",singleGutters:"false",equalHeightItems:"false",smallerWi
1dth:"false"},p.propTypes={children:i().any,xs:i().oneOf([1,2]),sm:i().oneOf([1,2]),md:i().oneOf([1,2,3]),lg:i().oneOf([1,2,3,4,6]),xl:i().oneOf([1,2,3,4,6]),fullWidthItemsByIndex:i().arrayOf(i().number),itemsAlign:i().oneOf(["","left"]),noGutters:i().oneOf(["false","true"]),singleGutters:i().oneOf(["false","true"]),equalHeightItems:i().oneOf(["false","true"]),smallerWidth:i().oneOf(["false","true"])}},6819:(e,t,s)=>{"use strict";s.d(t,{Z:()=>i});var r=s(1519);class o{static validateAllowedValues(e,t,s,r,o,i){let n=e[t];if("function"==typeof o&&(o=o()),n){let e=n;Array.isArray(n)||(e=i?n.split(i):[n]),e.forEach(((e,o)=>{-1===r.indexOf(e)&&console.error('Invalid value "'+e+'" for prop `'+t+"` supplied to `"+s+'`.\nExpected one of: "'+r.join(",")+'".\n')}))}else o&&console.error("Empty value for prop `"+t+"` supplied to `"+s+'`.\nExpected one of: "'+r.join(",")+'".\n')}static validateAllowedSubcomponents(e,t,s,r){let o=[].concat(e,["ComponentFromJson"]),i=t[s];if(i&&i.type)if("object"==typeof i.type)i.type.load(i.props).then((e=>{let t=(new e.default).constructor.name;-1===o.indexOf(t)&&console.error("Invalid component type "+t+" for prop `"+s+"` supplied to `"+r+'`.\nExpected one of: "'+o.join(",")+'".\n')}));else{let e=i.type.name;-1===o.indexOf(e)&&console.error("Invalid component type "+e+" for prop `"+s+"` supplied to `"+r+'`.\nExpected one of: "'+o.join(",")+'".\n')}}static validateAllowedComponentTypes(e,t,s,r){r.push("ComponentFromJson");let o=e[t];o&&o.type&&o.type.load(o.props).then((e=>{let o=(new e.default).constructor.name;-1===r.indexOf(o)&&console.error("Invalid component type "+o+" for prop `"+t+"` supplied to `"+s+'`.\nExpected one of: "'+r.join(",")+'".\n')}))}}(0,r.Z)(o,"allowedTextTags",["a","p","ul","ol","li","i","b","strong","br","em","quote","span","h1","h2","h3","h4","h5","h6","blockquote","footer","cite"]),(0,r.Z)(o,"allowedHeadlineTags",["h1","h2","h3","h4","h5","h6","span"]),(0,r.Z)(o,"allowedHtmlTags",["div","table","tbody","tr","td","th","br"]);const i=o},1519:(e,t,s)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t,s){return o=function(e,t){if("object"!=r(e)||!e)return e;var s=e[Symbol.toPrimitive];if(void 0!==s){var o=s.call(e,"string");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t),(t="symbol"==r(o)?o:String(o))in e?Object.defineProperty(e,t,{value:s,enumerable:!0,configurable:!0,writable:!0}):e[t]=s,e;var o}s.d(t,{Z:()=>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.