{"version":3,"sources":["redux/reducers/ayarlar.js","redux/rootReducer.js","redux/store.js","index.js","components/Home.js","App.js","ApiFetch.js","components/Loading.js"],"names":["initialState","Organizasyon","IsIlanlari","Market","Bultenler","Iletisim","allReducers","ayarlar","state","arguments","length","undefined","action","type","payload","rootReducer","combineReducers","store","createStore","dotenv","rootElement","document","getElementById","ReactDOM","render","React","createElement","Provider","App","Home","Component","constructor","props","super","this","data","className","classNameHome","url","componentWillMount","renderMyData","setState","apifetch","method","then","WelcomeHtml","Iframe","position","styles","id","width","height","href","style","cursor","target","alt","src","Layout","lazy","IK_Ilanlar","IK_IlanlarForm","Market_Urun","Market_Urun_Detay","Interaktif_Bulten_Liste","Interaktif_Bulten_Form","EOfis_Iletisim_Form","preMessages","msgFunc","message","description","push","notify","connect","mapStateToProps","ownProps","dispatch","setAyarlar","_ref","history","useHistory","api","contextHolder","notification","useNotification","loading","setLoading","useState","newMsgFunc","placement","i","useEffect","window","globalLoading","routes","Route","exact","key","path","component","baseUrl","getElementsByTagName","getAttribute","embed","location","includes","_embed","myParam","URLSearchParams","search","get","pathname","replace","origin","BrowserRouter","basename","Suspense","fallback","Loading","Spin","spinning","Container","openRequestCount","options","hideLoading","callbackFunction","responseCallbackFunction","catchCallbackFunction","finallyCallbackFunction","fetch","port","credentials","response","ok","err","Error","status","text","JSON","parse","catch","jsonData","Message","finally","result","callback"],"mappings":"wfAAA,MAAMA,EAAe,CACjBC,aAAc,GACdC,YAAY,EACZC,QAAQ,EACRC,WAAW,EACXC,UAAS,GCFPC,EAAc,CAChBC,QDImB,WAAyC,IAA/BC,EAAKC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAGT,EAAcY,EAAMH,UAAAC,OAAA,EAAAD,UAAA,QAAAE,EACzD,OAAQC,EAAOC,MACX,IAAK,cACD,OAAOD,EAAOE,QAClB,QACI,OAAON,KCNNO,EAAcC,YAAgBV,GCJ9BW,EAAQC,YACjBH,GCOJI,WAEA,MAAMC,EA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IACFL,EACAA,EAAsBK,GAGlBA,EAASA,SACTA,EAASA,SAASK,OAAO7F,KAAMT,IAC3B,IAAI0G,EAAW1G,EAAOuG,KAAKC,MAAMxG,GAAQ,GACrC0G,EAASC,QAETtE,YAAO,2CAAmBqE,EAASC,QAAQ,SAG3CtE,YAAO,2CAAmB,wBAAoB,WAKtDA,YAAO,2CAAmB,wBAAoB,WAGzDuE,QAASX,IACFJ,GACAA,EAAwBI,GAExBxC,OAAOC,gBAAkB+B,IACzBF,IACIA,GAAoB,IACpBA,EAAmB,EACnB9B,OAAOC,eAAc,OAIrC,IAAImD,EAAS,CACTpG,KAAOqG,IACHpB,EAAmBoB,EACZD,GAEXZ,SAAWa,IACPnB,EAA2BmB,EACpBD,GAEXJ,MAAQK,IACJlB,EAAwBkB,EACjBD,GAEXD,QAAUE,IACNjB,EAA0BiB,EACnBD,IAGf,OAAOA,I,gCChFX,sDAEe,MAAM1B,UAAgBxF,YAEnCN,SACE,OACEC,IAAAC,cAAA,OAAKU,UAAU,sBAAqB,qB","file":"static/js/main.db8a6a36.chunk.js","sourcesContent":["const initialState = {\r\n Organizasyon: \"\",\r\n IsIlanlari: false,\r\n Market: false,\r\n Bultenler: false,\r\n Iletisim:false\r\n};\r\n\r\nexport const ayarlar = function (state = initialState, action) {\r\n switch (action.type) {\r\n case 'AYARLAR.SET':\r\n return action.payload\r\n default:\r\n return state;\r\n }\r\n};\r\n","import { combineReducers } from 'redux';\r\nimport { ayarlar } from './reducers/ayarlar';\r\n\r\nconst allReducers = {\r\n ayarlar\r\n};\r\n\r\nexport const rootReducer = combineReducers(allReducers);","import { createStore } from 'redux';\r\nimport { rootReducer } from './rootReducer';\r\n\r\nexport const store = createStore(\r\n rootReducer\r\n);","import 'bootstrap/dist/css/bootstrap.css';\r\nimport 'font-awesome/css/font-awesome.css';\r\nimport 'bootstrap/dist/js/bootstrap.js';\r\nimport React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport { BrowserRouter } from 'react-router-dom';\r\nimport App from './App';\r\n//import registerServiceWorker from './registerServiceWorker';\r\nimport * as dotenv from 'dotenv';\r\nimport { Provider } from 'react-redux';\r\nimport { store } from './redux/store';\r\ndotenv.config()\r\n\r\nconst rootElement = document.getElementById('root');\r\n\r\nReactDOM.render(\r\n \r\n \r\n ,\r\n rootElement);\r\n\r\n//registerServiceWorker();\r\n\r\n","import React, {Component, useEffect} from 'react';\r\nimport Iframe from 'react-iframe'\r\nimport {apifetch} from \"../ApiFetch\";\r\nexport class Home extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n data : null,\r\n className:\"d-none\",\r\n classNameHome:\"d-none\",\r\n url:\"\",\r\n };\r\n }\r\n componentWillMount() {\r\n this.renderMyData();\r\n }\r\n renderMyData(){\r\n\r\n this.setState({ className : \"d-none\",classNameHome:\"d-none\"})\r\n \r\n apifetch(\"/Genel/Ayarlar\", { method: 'get' }).then((data) => {\r\n\r\n if(data.WelcomeHtml !== \"\"){\r\n this.setState({ classNameHome : \"d-none\" })\r\n this.setState({ className : \"d-flex\" })\r\n this.setState({ url : data.WelcomeHtml})\r\n }else{\r\n this.setState({ classNameHome : \"\" })\r\n this.setState({ className : \"d-none\" })\r\n this.setState({ url :\"\"})\r\n }\r\n });\r\n\r\n }\r\n render () {\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n return (\r\n
\r\n
\r\n
\r\n