{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./app/packs_helper/scripts/PostData.js","webpack:///./app/packs_helper/scripts/Decimal.js","webpack:///./app/packs_helper/scripts/DateDiff.js","webpack:///./app/packs_helper/scripts/Currency.js","webpack:///./app/packs_helper/scripts/RelativeDate.js","webpack:///./app/packs_helper/scripts/FitSlider.js","webpack:///./app/packs_helper/scripts/InputNumberFixer.js","webpack:///./app/packs/scripts/product-details/epin.js","webpack:///./app/packs_helper/scripts/DateFormat.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","PostData","url","arguments","length","undefined","data","options","Promise","resolve","reject","assign","redirect","rawHtml","fetchOptions","method","cache","credentials","headers","document","querySelector","getAttribute","referrerPolicy","FormData","_step","_iterator","_createForOfIteratorHelper","entries","done","err","e","f","JSON","stringify","fetch","then","response","redirected","status","text","jsonObj","parse","message","ShowPopup","title","redirect_to","autoSize","window","location","href","Decimal","number","Number","toString","replace","DateDiff","dateString1","dateString2","date1","Date","date2","Currency","toFixed","RelativeDate","dateString","diff","DateFormat","Math","floor","FitSlider","fitSlider","sliderIntervalId","prev","next","wrapper","slideCount","childElementCount","activeSlide","touchStart","cancelClick","addEventListener","style","transform","concat","StartSlider","StopSlider","setInterval","click","clearInterval","StartTouch","preventDefault","clientX","touches","StopTouch","touchEnd","changedTouches","abs","passive","Str2Number","element","_split$map2","_slicedToArray","dataset","split","map","parseInt","integerPartLength","fractionalPartLength","maxLength","newValue","regExp","RegExp","val","match","substr","parseFloat","JustFloat","currentTarget","InputNumberFixer","_toConsumableArray","querySelectorAll","forEach","productDetailComments","getElementById","PaginationButtonsInit","paginationButton","xhrResponse","detail","responseText","innerHTML","CalculatePrice","quantity","calculatedBy","price","unitPrice","innerText","ToggleFavorite","product_id","favorite_count","result_count","favorite_icon","favorite_title","favorite_class","setAttribute","_this","disabled","offerAd","category","active_tab","filter","category_id","offerCount","my_items","item","type","id","cost","join","autoResize","lastSeenEl","lastSeenResult","String","seen","includes","format","dateObj","getMonth","slice","getDate","getFullYear","getHours","getMinutes","getSeconds"],"mappings":"aACE,IAAIA,EAAmB,CAAC,EAGxB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,CAAC,GAUX,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,OACf,CAIAF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,GAEhE,EAGAZ,EAAoBkB,EAAI,SAAShB,GACX,qBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeb,EAAS,aAAc,CAAEmB,OAAO,GACvD,EAOArB,EAAoBsB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQrB,EAAoBqB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,kBAAVF,GAAsBA,GAASA,EAAMG,WAAY,OAAOH,EAChF,IAAII,EAAKX,OAAOY,OAAO,MAGvB,GAFA1B,EAAoBkB,EAAEO,GACtBX,OAAOC,eAAeU,EAAI,UAAW,CAAET,YAAY,EAAMK,MAAOA,IACtD,EAAPE,GAA4B,iBAATF,EAAmB,IAAI,IAAIM,KAAON,EAAOrB,EAAoBU,EAAEe,EAAIE,EAAK,SAASA,GAAO,OAAON,EAAMM,EAA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ACTC,MAAOA,EACPF,QAASA,EACToH,YAAY,GAEd,IAAE,OACK,SAACjI,GAER,GACF,IAED,IAAMkI,EAAa5I,SAASwG,eAAe,aACvCqC,EAAiBjG,YAAakG,OAAOF,EAAWzD,QAAQ4D,QAEzC,cAAlBF,GACGA,EAAeG,SAAS,eACvBH,EAAeG,SAAS,eAAc1D,SAASuD,EAAe9C,OAAO,EAAE,IAAM,KAEjF8C,EAAiB,wDACjB7I,SAASwG,eAAe,kBAAkBM,UAAY,IAEvD8B,EAAW9B,UAAY+B,C,iCChIR9F,IArBf,SAAoBF,EAAYoG,GAC3BA,IACHA,EAAS,oBAEV,IAAMC,EAAU,IAAI1G,KAAKK,GAGnBzD,EAAU,CACf,MAAO,MAAQ8J,EAAQC,WAAa,IAAIC,OAAO,GAC/C,MAAO,KAAOF,EAAQG,WAAWD,OAAO,GACxC,KAAMF,EAAQI,cACd,MAAO,KAAOJ,EAAQK,YAAYH,OAAO,GACzC,MAAO,KAAOF,EAAQM,cAAcJ,OAAO,GAC3C,MAAO,KAAOF,EAAQO,cAAcL,OAAO,IAK5C,OAFcH,EAAOnD,MAAM,eAEdT,KAAI,SAAAzH,GAAC,OAAIwB,EAAQxB,IAAMA,CAAC,IAAE8K,KAAK,GAC7C,C","file":"js/scripts/product-details/epin-8d9b0ce26acea171c105.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/packs/\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 346);\n","// export default async function PostData(url = \"\", data = {}) {\nexport default function PostData(url = \"\", data = {}, options = {}) {\n\treturn new Promise(function (resolve, reject) {\n\t\tconst defaultOptions = { redirect: true, rawHtml: false };\n\t\toptions = Object.assign({}, defaultOptions, options);\n\n\t\tconst fetchOptions = {\n\t\t\tmethod: \"POST\", // *GET, POST, PUT, DELETE, etc.\n\t\t\tmode: \"cors\", // no-cors, *cors, same-origin\n\t\t\tcache: \"no-cache\", // *default, no-cache, reload, force-cache, only-if-cached\n\t\t\tcredentials: \"same-origin\", // include, *same-origin, omit\n\t\t\theaders: {\n\t\t\t\t\"X-CSRF-Token\": document\n\t\t\t\t\t.querySelector('meta[name=\"csrf-token\"]')\n\t\t\t\t\t.getAttribute(\"content\"),\n\t\t\t\t\"X-Requested-With\": \"XMLHttpRequest\"\n\t\t\t},\n\t\t\tredirect: \"follow\", // manual, *follow, error\n\t\t\treferrerPolicy: \"no-referrer\", // no-referrer, *no-referrer-when-downgrade, origin, origin-when-cross-origin, same-origin, strict-origin, strict-origin-when-cross-origin, unsafe-url\n\t\t};\n\n\t\tlet formBody, formContentType;\n\t\tif (data instanceof FormData) {\n\t\t\tfetchOptions[\"body\"] = data;\n\t\t\t// formContentType = 'multipart/form-data';\n\t\t\t// formContentType = 'application/x-www-form-urlencoded';\n\t\t\t// formContentType = 'text/plain;charset=UTF-8';\n\t\t\t// formContentType = \"application/json\";\n\t\t\t// formContentType = 'multipart/form-data; boundary=----WebKitFormBoundaryIn312MOjBWdkffIM';\n\n\t\t\t// data.entries().forEach(function(a,b){\n\t\t\t// \tconsole.log(a)\n\t\t\t// \tconsole.log(b)\n\t\t\t// });\n\t\t\tfor (var value of data.entries()) {\n\n\t\t\t}\n\t\t} else {\n\t\t\t// formBody = JSON.stringify(data);\n\t\t\tfetchOptions[\"body\"] = JSON.stringify(data);\n\t\t\tfetchOptions.headers[\"Content-Type\"] = \"application/json\";\n\n\n\t\t}\n\n\t\t// Default options are marked with *\n\t\tfetch(url, fetchOptions).then((response) => {\n\t\t\tif (response.redirected) {\n\t\t\t\tredirect(response.url).then(resolve({ redirected: true }));\n\t\t\t} else {\n\n\n\t\t\t\t// return console.log(response.text());\n\n\t\t\t\t// response.headers.forEach(function(a,b,c){\n\t\t\t\t// \tconsole.log(\"***********************\");\n\t\t\t\t// \tconsole.log(\"a:\");\n\t\t\t\t// \tconsole.log(a);\n\t\t\t\t// \tconsole.log(\"b:\");\n\t\t\t\t// \tconsole.log(b);\n\t\t\t\t// \tconsole.log(\"######################\");\n\t\t\t\t// })\n\n\t\t\t\tswitch (response.status) {\n\t\t\t\t\tcase 200:\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tresponse\n\t\t\t\t\t\t\t\t.text()\n\t\t\t\t\t\t\t\t.then((text) => {\n\t\t\t\t\t\t\t\t\ttry{\n\t\t\t\t\t\t\t\t\t\tconst jsonObj = JSON.parse(text);\n\t\t\t\t\t\t\t\t\t\tif (jsonObj.message) {\n\t\t\t\t\t\t\t\t\t\t\tShowPopup({\n\t\t\t\t\t\t\t\t\t\t\t\ttitle: \"Site Mesajı\",\n\t\t\t\t\t\t\t\t\t\t\t\tmessage: jsonObj.message,\n\t\t\t\t\t\t\t\t\t\t\t\tredirect: options.redirect && jsonObj.redirect_to,\n\t\t\t\t\t\t\t\t\t\t\t\tautoSize: !options.rawHtml,\n\t\t\t\t\t\t\t\t\t\t\t\trawHtml: options.rawHtml\n\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t} else if (options.redirect && jsonObj.redirect_to) {\n\t\t\t\t\t\t\t\t\t\t\twindow.location.href = jsonObj.redirect_to;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\tresolve(jsonObj);\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tcatch(err){\n\n\n\t\t\t\t\t\t\t\t\t\tresolve(text);\n\t\t\t\t\t\t\t\t\t\tif(options.rawHtml){\n\t\t\t\t\t\t\t\t\t\t\tShowPopup({\n\t\t\t\t\t\t\t\t\t\t\t\tmessage: text,\n\t\t\t\t\t\t\t\t\t\t\t\trawHtml: true\n\t\t\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t.catch((err) => {\n\n\n\t\t\t\t\t\t\t\t\t// response.text().then((text) => {\n\t\t\t\t\t\t\t\t\t// \tresolve(text);\n\t\t\t\t\t\t\t\t\t// });\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t} catch (e) {\n\n\n\t\t\t\t\t\t\t// response.text().then((text) => {\n\t\t\t\t\t\t\t// \tresolve(text);\n\t\t\t\t\t\t\t// });\n\t\t\t\t\t\t}\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 204:\n\t\t\t\t\t\treject();\n\t\t\t\t\t\tShowPopup({\n\t\t\t\t\t\t\ttitle: \"Site Mesajı\",\n\t\t\t\t\t\t\tmessage:\n\t\t\t\t\t\t\t\t\"Sunucu boş yanıt verdi. Sayfayı yenileyerek işleminizin gerçekleştiğini kontrol ediniz.\",\n\t\t\t\t\t\t\tautoSize: true,\n\t\t\t\t\t\t});\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 401:\n\t\t\t\t\t\treject();\n\t\t\t\t\t\tShowPopup({\n\t\t\t\t\t\t\ttitle: \"Site Mesajı\",\n\t\t\t\t\t\t\tmessage:\n\t\t\t\t\t\t\t\t'Bu işlemi yapabilmek için giriş yapmanız gerekmektedir. Devam etmek için giriş yapınız.Giriş Yap',\n\t\t\t\t\t\t\tautoSize: true,\n\t\t\t\t\t\t});\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 422:\n\t\t\t\t\t\treject();\n\t\t\t\t\t\tShowPopup({\n\t\t\t\t\t\t\ttitle: \"Site Mesajı\",\n\t\t\t\t\t\t\tmessage: \"Oturumunuz sonlandı lütfen giriş yapınız.\",\n\t\t\t\t\t\t\tautoSize: true,\n\t\t\t\t\t\t});\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 413:\n\t\t\t\t\t\treject();\n\t\t\t\t\t\tShowPopup({\n\t\t\t\t\t\t\ttitle: \"Site Mesajı\",\n\t\t\t\t\t\t\tmessage:\n\t\t\t\t\t\t\t\t'
Yüklemeye çalıştığınız dosyaların toplam boyutu en fazla 6MB olabilir. Lütfen dosyalarınızı küçülterek yeniden deneyin.
https://www.resizenow.com/tr
yada benzer bir online araç kullanarak yeniden boyutlandırabilirsiniz
',\n\t\t\t\t\t\t\tautoSize: true,\n\t\t\t\t\t\t});\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tdefault:\n\t\t\t\t\t\treject();\n\t\t\t\t\t\tShowPopup({\n\t\t\t\t\t\t\ttitle: \"Site Mesajı\",\n\t\t\t\t\t\t\tmessage:\n\t\t\t\t\t\t\t\t'
İşlem yapılırken bilinmeyen bir hata oluştu. Lütfen sayfayı yenileyerek tekrar deneyiniz. Sorun devam ederse yaptığınız işlemi canlı destek ekibimizle paylaşarak yardım alabilirsiniz.
',\n\t\t\t\t\t\t\tautoSize: true,\n\t\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t});\n}\n","function Decimal(number){\n\treturn Number(number.toString().replace(/[^0-9\\.\\,]/g, '').replace(',', '.'));\n}\n\nexport default Decimal;","function DateDiff(dateString1, dateString2){\n\tconst date1 = new Date(dateString1);\n\tconst date2 = new Date(dateString2);\n\tif(!dateString2){\n\t\treturn new Date() - date1;\n\t}\n\telse{\n\t\treturn date1 - date2;\n\t}\n}\n\nexport default DateDiff;","function Currency(number){\n\tconst newNumber = Number(number).toFixed(2).replace('.', ',');\n\treturn newNumber.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \".\");\n}\nexport default Currency;","import DateDiff from \"./DateDiff\";\nimport DateFormat from \"./DateFormat\";\n\nfunction RelativeDate(dateString){\n\n\tconst diff = DateDiff(dateString) / 1000;\n\t// const dateObj = new Date(dateString);\n\t// const current = new Date();\n\t\n\tif(diff > (365 * 24 * 60 * 60)){\n\t\treturn DateFormat(dateString);\n\t}\n\telse if(diff > (30 * 24 * 60 * 60)){\n\t\treturn Math.floor(diff / (30 * 24 * 60 * 60)) + \" ay önce\";\n\t}\n\telse if(diff > 24 * 60 * 60){\n\t\treturn Math.floor(diff / (24 * 60 * 60)) + \" gün önce\";\n\t}\n\telse if(diff > 60 * 60){\n\t\treturn Math.floor(diff / (60 * 60)) + \" saat önce\";\n\t}\n\telse if(diff > 60){\n\t\treturn Math.floor(diff / (60)) + \" dk önce\";\n\t}\n\telse if(diff > 3){\n\t\treturn Math.floor(diff) + \" sn önce\";\n\t}\n\telse{\n\t\treturn \"Şimdi\";\n\t}\n\n\n\t\t// const years = dateObj.getFullYear();\n\t\t// const months = dateObj.getMonth();\n\t\t// const days = dateObj.getDate();\n\t\t// const hours = dateObj.getHours();\n\t\t// const minutes = dateObj.getMinutes();\n\t\t// const seconds = dateObj.getSeconds();\n\n\t\t// if(years > current.getFullYear()){\n\t\t// \treturn DateFormat(dateString);\n\t\t// }\n\t\t// else if(months > current.getMonth()){\n\t\t// \treturn (months - current.getMonth()) + \" ay önce\";\n\t\t// }\n\t\t// else if(days > current.getDate()){\n\t\t// \treturn (days - current.getDate()) + \" gün önce\";\n\t\t// }\n\t\t// else if(hours > current.getHours()){\n\t\t// \treturn (hours - current.getHours()) + \" saat önce\";\n\t\t// }\n\t\t// else if(minutes > current.getMinutes()){\n\t\t// \treturn (minutes - current.getMinutes()) + \" dakika önce\";\n\t\t// }\n\t\t// else if(seconds > current.getSeconds()){\n\t\t// \treturn (seconds - current.getSeconds()) + \" saniye önce\";\n\t\t// }\n\t\t// else{\n\t\t// \treturn DateFormat(dateString);\n\t\t// }\n}\n\nexport default RelativeDate;","function FitSlider(fitSlider){\n\tconst intervalTime = 5000;\n\tconst touchDiff = 100;\n\n\tconst prev = fitSlider.querySelector('[data-direction=\"prev\"]');\n\tconst next = fitSlider.querySelector('[data-direction=\"next\"]');\n\tconst wrapper = fitSlider.querySelector('.fit-slider-wrapper');\n\tconst slideCount = wrapper.childElementCount;\n\tlet activeSlide = 0;\n\tlet touchStart = 0;\n\t// let touchMove = 0;\n\tlet cancelClick = false;\n\tlet sliderIntervalId;\n\n\tprev.addEventListener('click', function(){\n\t\tactiveSlide--;\n\t\tif(activeSlide < 0){\n\t\t\tactiveSlide = slideCount - 1;\n\t\t}\n\t\twrapper.style.transform = `translateX(${activeSlide * -100}%)`;\n\t})\n\tnext.addEventListener('click', function(){\n\t\tactiveSlide++;\n\t\tif(activeSlide >= slideCount){\n\t\t\tactiveSlide = 0;\n\t\t}\n\t\twrapper.style.transform = `translateX(${activeSlide * -100}%)`;\n\t})\n\n\tconst StartSlider = () => {\n\t\tStopSlider();\n\t\tsliderIntervalId = setInterval(() => next.click(), intervalTime);\n\t\ttouchStart = null;\n\t}\n\n\tconst StopSlider = () => {\n\t\tclearInterval(sliderIntervalId);\n\t}\n\n\tconst StartTouch = e => {\n\t\te.preventDefault();\n\t\ttouchStart = e.clientX || e.touches[0].clientX;\n\t\tStopSlider();\n\t}\n\n\tconst StopTouch = e => {\n\t\te.preventDefault();\n\n\t\tconst touchEnd = e.clientX || e.changedTouches[0].clientX;\n\n\n\t\tif(Math.abs(touchEnd - touchStart) > touchDiff){\n\t\t\tif(touchEnd > touchStart){\n\t\t\t\tprev.click();\n\t\t\t}\n\t\t\telse{\n\t\t\t\tnext.click()\n\t\t\t}\n\t\t\tcancelClick = true;\n\t\t}\n\t\ttouchStart = null;\n\t\tStartSlider();\n\n\t}\n\n\tconst OnClick = e => {\n\t\tconst touchEnd = e.clientX || e.touches[0].clientX;\n\t\tif(cancelClick){\n\t\t\te.preventDefault();\n\t\t}\n\t\tcancelClick = false;\n\t}\n\n\tStartSlider();\n\n\tfitSlider.addEventListener('mouseenter', StopSlider);\n\tfitSlider.addEventListener('mouseleave', StartSlider);\n\n\twrapper.addEventListener('mousedown', StartTouch);\n\twrapper.addEventListener('mouseup', StopTouch);\n\n\twrapper.addEventListener('touchstart', StartTouch, {passive: true});\n\twrapper.addEventListener('touchend', StopTouch, {passive: true});\n\n\twrapper.addEventListener('click', OnClick);\n}\n\nexport default FitSlider;\n","import Decimal from \"./Decimal\";\n\nfunction JustFloat(value, integerPartLength = 99, fractionalPartLength = 2) {\n\tconst regExp = new RegExp('[0-9]{0,'+integerPartLength+'}'+(fractionalPartLength ? '[\\,\\.]?' : '') + '[0-9]{0,'+fractionalPartLength+'}');\n\tconst val = value.match(regExp)[0].replace(\",\", \".\");\n\tif (!val) {\n\t\treturn \"\";\n\t} else if (val.substr(-1) === \".\") {\n\t\treturn val.replace(\".\", \",\");\n\t} else {\n\t\treturn Number.parseFloat(val).toString().replace(\".\", \",\");\n\t}\n}\n\nfunction Str2Number(element){\n\tconst [integerPartLength, fractionalPartLength] = (element.dataset.number + \",0\").split(',').map(n => parseInt(n) || 0);\n\tconst maxLength = (integerPartLength || 0) + (fractionalPartLength || 0) + (fractionalPartLength ? 1 : 0);\n\n\tconst OnChange = e => {\n\t\tconst newValue = JustFloat(e.currentTarget.value, integerPartLength, fractionalPartLength) || \"\";\n\t\tif(newValue > maxLength){\n\t\t\telement.value = newValue.substr(0, maxLength);\n\t\t}\n\t\telse{\n\t\t\telement.value = newValue;\n\t\t}\t\n\t}\n\n\telement.addEventListener('input', OnChange);\n}\n\nfunction InputNumberFixer(){\n\tconst numberElements = document.querySelectorAll('[data-number]');\n\t[...numberElements].forEach(Str2Number);\t\n}\n\nexport default InputNumberFixer;","import InputNumberFixer from \"../../../packs_helper/scripts/InputNumberFixer\";\nimport FitSlider from \"../../../packs_helper/scripts/FitSlider\";\nimport RelativeDate from \"../../../packs_helper/scripts/RelativeDate\";\nimport PostData from \"../../../packs_helper/scripts/PostData\";\nimport Currency from \"../../../packs_helper/scripts/Currency\";\nimport Decimal from \"../../../packs_helper/scripts/Decimal\";\n\nconst fitSlider = document.querySelector('.fit-slider');\nif(fitSlider){\n\tFitSlider(fitSlider);\n}\n\nInputNumberFixer();\n\nconst productDetailComments = document.getElementById('product-detail-comments');\n\nfunction PaginationButtonsInit(){\n\tconst paginationButtons = productDetailComments.querySelectorAll('.paginate [data-remote]');\n\tpaginationButtons.forEach(paginationButton => {\n\t\tpaginationButton.addEventListener('ajax:success', e => {\n\n\n\t\t\tconst xhrResponse = e.detail[2].responseText;\n\t\t\tproductDetailComments.innerHTML = xhrResponse;\n\t\t\tPaginationButtonsInit();\n\t\t});\n\t});\t\n}\n\nif(productDetailComments){\n\tPaginationButtonsInit();\n}\n\nwindow.CalculatePrice = (quantity) => {\n\tconst calculatedBys = document.querySelectorAll(`[data-calculated-by]`);\n\tcalculatedBys.forEach(calculatedBy => {\n\t\tconst price = quantity * Decimal(calculatedBy.dataset.unitPrice);\n\t\tif(!price){\n\t\t\tcalculatedBy.innerText = `${Decimal(calculatedBy.dataset.unitPrice).toFixed(2)} ₺`;\n\t\t}\n\t\telse{\n\t\t\tcalculatedBy.innerText = `${price.toFixed(2)} ₺`;\n\t\t}\n\t})\n}\n\nwindow.ToggleFavorite = (product_id) => {\n\tlet favorite_count = document.getElementById(\"favorite_count\");\n\tlet result_count = 0;\n\t\n\tPostData('/favorilere-ekle', {product_id}).then(response => {\n\t\tlet favorite_icon, favorite_title, favorite_class;\n\t\tif(response.status === 1){\n\t\t\tfavorite_icon = \"#gs-icon-product-detail-heart-full\";\n\t\t\tfavorite_title = \"Favoriden Kaldır\";\n\t\t\tfavorite_class = \"icon favorite-icon-selected\";\n\t\t\tif(parseInt(favorite_count.getAttribute(\"count\")) !== \"\"){\n\t\t\t\tresult_count = parseInt(favorite_count.getAttribute(\"count\")) + 1;\n\t\t\t\tfavorite_count.innerHTML = result_count;\n\t\t\t\tfavorite_count.setAttribute(\"count\", result_count)\n\t\t\t}else{\n\t\t\t\tfavorite_count.innerHTML = 1;\n\t\t\t\tfavorite_count.setAttribute(\"count\", 1);\n\t\t\t}\n\t\t\tdocument.getElementById(\"favorite_\"+product_id).setAttribute(\"title\", favorite_title);\n\t\t\tdocument.getElementById(\"favorite_icon_\"+product_id).setAttribute(\"class\", favorite_class);\n\t\t\tdocument.getElementById(\"favorite_icon_result_\"+product_id).setAttribute(\"xlink:href\", favorite_icon);\n\t\t}else if(response.status === 0){\n\t\t\tfavorite_icon = \"#gs-icon-product-detail-heart\";\n\t\t\tfavorite_title = \"Favorilere Ekle\";\n\t\t\tfavorite_class= \"icon favorite-icon\";\n\t\t\tdocument.getElementById(\"favorite_\"+product_id).setAttribute(\"title\", favorite_title);\n\t\t\tdocument.getElementById(\"favorite_icon_\"+product_id).setAttribute(\"class\", favorite_class);\n\t\t\tdocument.getElementById(\"favorite_icon_result_\"+product_id).setAttribute(\"xlink:href\", favorite_icon);\n\t\t\tif((favorite_count.getAttribute(\"count\") - 1) !== 0){\n\t\t\t\tresult_count = parseInt(favorite_count.getAttribute(\"count\")) - 1\n\t\t\t\tfavorite_count.innerHTML = result_count;\n\t\t\t\tfavorite_count.setAttribute(\"count\", result_count);\n\t\t\t}else{\n\t\t\t\tfavorite_count.innerHTML = \"\";\n\t\t\t\tfavorite_count.setAttribute(\"count\", 0);\n\t\t\t}\n\t\t}\n\n\t}).catch(err => {\n\t\tthis.disabled = false;\n\t})\n}\n\nconst offerAd = document.getElementById(\"offer_ad\")\nofferAd &&\n\tofferAd.addEventListener(\"click\", function (){\n\t\tconst category = offerAd.getAttribute(\"category\");\n\t\tconst active_tab = offerAd.getAttribute(\"active_tab\");\n\t\tPostData(\"/ilanlarim\", {filter: \"1\", category_id: category}, {})\n\t\t\t.then((data) => {\n\t\t\t\tlet title = \"Teklif Bulunamadı.\";\n\t\t\t\tlet message = \"Teklif edilecek bir ilan bulunamadı. Lütfen önce ilan ekleyin ardından teklif edin.\" +\n\t\t\t\t\t\"\" +\n\t\t\t\t\t\t\"İlan Ekle\" +\n\t\t\t\t\t\"\";\n\t\t\t\tlet offerCount = 0;\n\t\t\t\tdata.my_items.map((item) => {\n\t\t\t\t\titem.type !== \"purchase\" && offerCount++;\n\t\t\t\t})\n\n\t\t\t\tif(offerCount > 0) {\n\t\t\t\t\ttitle = \"Teklif Edilecek İlanı Seçin\";\n\t\t\t\t\t message = '
' + data.my_items.map((item) =>\n\t\t\t\t\t\titem.type !== \"purchase\" ? (\n\t\t\t\t\t\t\t\"\" +\n\t\t\t\t\t\t\t\"
\" + item.name.substr(0, 25) + \"...
\" +\n\t\t\t\t\t\t\t\"\" + Currency(item.cost) + \" ₺\" +\n\t\t\t\t\t\t\t\"
\"\n\t\t\t\t\t\t) : (\"\")\n\t\t\t\t\t).join('') + '
';\n\t\t\t\t}\n\n\t\t\t\tShowPopup({\n\t\t\t\t\ttitle: title,\n\t\t\t\t\tmessage: message,\n\t\t\t\t\tautoResize: true\n\t\t\t\t});\n\t\t\t})\n\t\t\t.catch((err) => {\n\n\t\t\t})\n\t});\n\nconst lastSeenEl = document.getElementById('last-seen');\nlet lastSeenResult = RelativeDate(String(lastSeenEl.dataset.seen));\nif(\n\tlastSeenResult == \"Şimdi\" \n\t|| lastSeenResult.includes(\"sn önce\") \n\t|| (lastSeenResult.includes(\"dk önce\") && parseInt(lastSeenResult.substr(0,2)) < 6)\n ){ \n\tlastSeenResult = ' Çevrimiçi';\n\tdocument.getElementById('last-seen-text').innerHTML = \"\"\n}\nlastSeenEl.innerHTML = lastSeenResult;","function DateFormat(dateString, format){\n\tif(!format){\n\t\tformat = '%d/%m/%Y - %H:%M';\n\t}\n\tconst dateObj = new Date(dateString);\n\t// dateObj.toLocaleFormat(format);\n\n\tconst options = {\n\t\t'%m':\t(\"00\" + (dateObj.getMonth() + 1)).slice(-2),\n\t\t'%d': (\"00\" + dateObj.getDate()).slice(-2),\n\t\t'%Y': dateObj.getFullYear(),\n\t\t'%H': (\"00\" + dateObj.getHours()).slice(-2),\n\t\t'%M': (\"00\" + dateObj.getMinutes()).slice(-2),\n\t\t'%S': (\"00\" + dateObj.getSeconds()).slice(-2),\n\t};\n\n\tconst regex = format.match(/%.{1}|.{1}/g);\n\n\treturn regex.map(r => options[r] || r).join('');\n}\n\nexport default DateFormat;"],"sourceRoot":""}