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K,KA5CgB,WACd,MAAwBA,EAAK,aAErC,UAFoB,IAAG,OAAI,GAG1B,OAAOA,EAIP,MAKGA,EAAK,aAJP,IAAAgB,aAAAA,OAAY,IAAG,GAAK,EACpBE,EAAa,gBAEdM,EACGxB,EAAK,SAEHiB,EAAQ,GAqBd,OAnBIO,EAASC,OAAS,GACrBD,EAASL,KAAI,SAAAO,GACJ,IAAAzB,EAASyB,EAAI,KACbnB,EAAUmB,EAAI,MACtBA,EAAOA,EAAKC,aAEZV,EAAMW,KAAK,CACVrB,MAAOA,EACPC,gBAAiBkB,EAAKlB,gBACtBH,GAAIqB,EAAKG,gBACTzB,MAAOsB,EAAKtB,MACZD,SAAUuB,EAAKvB,SACfG,QAASoB,EAAKpB,QACdJ,SAAUwB,EAAKxB,SACfD,KAAMA,GAER,IAGM,CACNe,aAAY,EACZC,MAAK,EACLC,cAAa,EAEf,CAIOY,IAGR,C","sources":["webpack://forca/./Static/react/components/tiles/component/tile/tile.component.tsx","webpack://forca/./Static/react/components/tiles/tiles.component.tsx","webpack://forca/./Static/react/components/tiles/tiles.container.tsx"],"sourcesContent":["/*\r\n * Project: forca\r\n * File Created: Friday, 15th October 2021 9:00:00 am\r\n * Author: Teodor Moquist (teodor@moquist.dk)\r\n */\r\n\r\nimport React from 'react';\r\n\r\nimport { TilesBox } from '../../tiles.definition';\r\n\r\nexport const Tile = (props: TilesBox) => {\r\n\tconst { subtitle, title, bg, content, image, showTextOnImage } = props;\r\n\r\n\tconst renderContentText = () => (\r\n\t\t<>\r\n\t\t\t
{ subtitle }
\r\n\t\t\t) }\r\n\r\n\t\t\t\r\n\t\t>\r\n\t);\r\n\r\n\tconst renderContentButton = () => {\r\n\t\tconst { link, linkText } = props;\r\n\r\n\t\tif (!link) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\r\n\t\treturn (\r\n\t\t\t\r\n\t\t\t\t{ linkText }\r\n\t\t\t\r\n\t\t);\r\n\t};\r\n\r\n\tconst style = {\r\n\t\tbackgroundImage: `url(\"${image}\")`\r\n\t};\r\n\r\n\treturn (\r\n\t\t