{"version":3,"sources":["webpack:///./components/latex.css","webpack:///./components/panel.css","webpack:///./components/example.css","webpack:///./components/todo.js","webpack:///./components/timer.js","webpack:///./components/panel.js","webpack:///./routes/basiDiDati.js","webpack:///./components/example.js","webpack:///./components/timer.less","webpack:///./components/latex.js","webpack:///./components/split.js","webpack:///./components/todo.css","webpack:///./components/split.css"],"names":["module","exports","Todo","render","class","style","todo","this","props","children","Component","Timer","state","Date","now","timer","componentDidMount","setInterval","setState","componentWillUnmount","clearInterval","dateTo","className","parts","milliseconds","seconds","minutes","hours","days","to","timeLeft","Math","floor","expired","unknown","title","count","text","remaining","Panel","getStyle","panel","undefined","id","BasiDiDati","href","Example","example","Latex","src","alt","latex","Split","Array","isArray","map","element","splitchild","split","splitparent"],"mappings":"4EACAA,EAAOC,QAAU,CAAC,MAAQ,iB,mBCA1BD,EAAOC,QAAU,CAAC,MAAQ,iB,mBCA1BD,EAAOC,QAAU,CAAC,QAAU,mB,4GCEPC,E,gLACpBC,OAAA,WACC,OAAO,UAAMC,MAAOC,IAAMC,MAAOC,KAAKC,MAAMC,W,aAFZC,a,gJCCbC,E,YACjB,aAAc,aACV,sBACKC,MAAQ,CACT,IAAOC,KAAKC,OAEhB,EAAKC,MAAQ,KALH,E,0HAQdC,kBAAA,WAAoB,WAChBT,KAAKQ,MAAQE,aAAY,WACrB,EAAKC,SAAS,CAAC,IAAOL,KAAKC,UAC5B,M,EAGPK,qBAAA,WACsB,OAAfZ,KAAKQ,OACJK,cAAcb,KAAKQ,Q,EAI3BZ,OAAA,WACI,IAAIkB,EAAS,eACTC,EAAYjB,IAAMU,MAElBQ,EAAQ,CACRC,aAAc,IACdC,QAAS,IACTC,QAAS,IACTC,MAAO,IACPC,KAAM,KAGV,GAAGrB,KAAKC,MAAMqB,GAAI,CAEd,IAAIC,GADJT,EAAS,IAAIR,KAAKN,KAAKC,MAAMqB,KACLtB,KAAKK,MAAME,IAEhCgB,EAAW,EACVP,EAAQ,CACJC,aAAcM,EAAW,IACz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AAOC,QAAU,CAAC,KAAO,gB,iBCAzBD,EAAOC,QAAU,CAAC,MAAQ,eAAe,YAAc,qBAAqB,WAAa","file":"route-basiDiDati.chunk.8a7fd.js","sourcesContent":["// extracted by mini-css-extract-plugin\nmodule.exports = {\"latex\":\"latex__3Esv7\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"panel\":\"panel__1ubJw\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"example\":\"example__P0_NL\"};","import style from \"./todo.css\";\r\nimport { Component } from 'preact';\r\n\r\nexport default class Todo extends Component {\r\n\trender() {\r\n\t\treturn {this.props.children};\r\n\t}\r\n}\r\n","import {Component} from 'preact'\r\nimport style from \"./timer.less\"\r\n\r\n\r\nexport default class Timer extends Component {\r\n constructor() {\r\n super();\r\n this.state = {\r\n \"now\": Date.now()\r\n };\r\n this.timer = null;\r\n }\r\n\r\n componentDidMount() {\r\n this.timer = setInterval(() => {\r\n this.setState({\"now\": Date.now()})\r\n }, 1000)\r\n }\r\n\r\n componentWillUnmount() {\r\n if(this.timer !== null) {\r\n clearInterval(this.timer)\r\n }\r\n }\r\n\r\n render() {\r\n let dateTo = \"Unknown date\";\r\n let className = style.timer;\r\n\r\n let parts = {\r\n milliseconds: \"?\",\r\n seconds: \"?\",\r\n minutes: \"?\",\r\n hours: \"?\",\r\n days: \"?\",\r\n };\r\n\r\n if(this.props.to) {\r\n dateTo = new Date(this.props.to);\r\n let timeLeft = dateTo - this.state.now;\r\n\r\n if(timeLeft > 0) {\r\n parts = {\r\n milliseconds: timeLeft % 1000,\r\n seconds: Math.floor(timeLeft / 1000) % 60,\r\n minutes: Math.floor(timeLeft / 60000) % 60,\r\n hours: Math.floor(timeLeft / 3600000) % 24,\r\n days: Math.floor(timeLeft / 86400000),\r\n };\r\n }\r\n\r\n else {\r\n parts = {\r\n milliseconds: 0,\r\n seconds: 0,\r\n minutes: 0,\r\n hours: 0,\r\n days: 0,\r\n };\r\n\r\n className += \" \" + style.expired;\r\n }\r\n }\r\n else {\r\n className += \" \" + style.unknown;\r\n }\r\n\r\n return (\r\n
\n Uno scritto con tre domande:\n
\n\n Prossimo appello:\n
\n\n In gruppo, progettare un database secondo queste specifiche.\n
\n\n Termine ultimo per la consegna:\n
\n\n Consegnando il progetto prima della fine di Luglio si otterrà un bonus!\n
\n\n Esempi di progetti degli anni passati:\n
\n \n\n Presentando il progetto si otterrà un bonus!\n
\n\n {this.props.children}\n\n )\n }\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"timer\":\"timer__23gHK\",\"days\":\"days__3ZzFX\",\"hours\":\"hours__3LtGw\",\"minutes\":\"minutes__1_j61\",\"seconds\":\"seconds__gE-gj\",\"count\":\"count__28Md8\",\"text\":\"text__2kIQZ\",\"remaining\":\"remaining__1HVwa\",\"unknown\":\"unknown__teMQN\",\"expired\":\"expired__3wewI\"};","import style from './latex.css';\nimport { Component } from 'preact';\n\nexport default class Latex extends Component {\n\trender() {\n\t\tlet equation = `{\\\\color{White} ${this.props.children} }`;\n\t\treturn (\n\t\t\t);\n\t}\n}","import style from \"./split.css\";\nimport { Component } from 'preact';\n\nexport default class Split extends Component {\n\trender() {\n\t let title = null;\n\t if(this.props.title !== undefined) {\n title = (