{"version":3,"sources":["polyfill.js","Apfco.js","HttpPostedFileBase.js","PageHomeEntryForm.js"],"names":["String","prototype","includes","search","start","length","this","indexOf","Apfco","rootUrl","ApfcoRootUrl","HttpPostedFileBase","targetInputFile","thisObj","elLabelWrapper","parentElement","elLabelSpan","getElementsByTagName","classList","add","contains","style","lineHeight","offsetHeight","toString","jQuery","on","filename","files","name","value","split","pop","substring","e","innerHTML","HttpPostedFileBaseList","PageHomeEntryForm","HttpPostedFileBasesByClass","document","getElementsByClassName","i","push","item","console","log"],"mappings":"AACAA,OAAAC,UAAAC,WACAF,OAAAC,UAAAC,SAAA,SAAAC,EAAAC,GACA,aAIA,MAAAA,GAFAA,EADA,UAAA,OAAAA,EACA,EAEAA,GAAAD,EAAAE,OAAAC,KAAAD,SAIA,CAAA,IAAAC,KAAAC,QAAAJ,EAAAC,CAAA,CAEA,ICRAI,MAAAA,OAAA,IADAC,QAAAC,aAHA,IAAAA,aACAF,MCAAG,mBAEA,SAAAC,GACA,IAAAC,EAAAP,KAEAA,KAAAM,gBAAAA,EACAN,KAAAQ,eAAAF,EAAAG,cACAT,KAAAU,YAAAV,KAAAQ,eAAAG,qBAAA,MAAA,EAAA,GAEAX,KAAAQ,eAAAI,UAAAC,IAAA,2BAAA,EACAb,KAAAM,gBAAAM,UAAAE,SAAA,wBAAA,GACAd,KAAAQ,eAAAI,UAAAC,IAAA,wBAAA,EAEAb,KAAAU,YAAAK,MAAAC,WAAAhB,KAAAQ,eAAAS,aAAAC,SAAA,EAAA,KAEAC,OAAAZ,EAAAD,eAAA,EAAAc,GAAA,SAAA,WAEA,IAAAC,EAAA,GACA,IASA,IANAA,EADArB,KAAAsB,MACAtB,KAAAsB,MAAA,GAAAC,KAGAvB,KAAAwB,MAAAC,MAAA,UAAA,EAAAC,IAAA,GAGA3B,SACAsB,EAAAA,EAAAM,UAAA,EAAA,EAAA,EAAA,MAIA,CAFA,MAAAC,GACAP,EAAA,eACA,CAEAd,EAAAG,YAAAmB,UAAAR,CACA,CAAA,CACA,EAIAS,uBAAA,GCzCAC,mBD0CAZ,OAAA,WAEA,IADA,IAAAa,EAAAC,SAAAC,uBAAA,oBAAA,EACAC,EAAA,EAAAA,EAAAH,EAAAjC,OAAAoC,CAAA,GACAL,uBAAAM,KAAA,IAAA/B,mBAAA2B,EAAAK,KAAAF,CAAA,CAAA,CAAA,CAGA,CAAA,EC7CA,WAEAG,QAAAC,IAAA,aAAArC,MAAAC,OAAA,CAEA","file":"site.min.js","sourcesContent":["//Any polyfills for older browser support can be put here - this is loaded before any other .js files in site.js\r\nif (!String.prototype.includes) {\r\n String.prototype.includes = function (search, start) {\r\n 'use strict';\r\n if (typeof start !== 'number') {\r\n start = 0;\r\n }\r\n if (start + search.length > this.length) {\r\n return false;\r\n }\r\n else {\r\n return this.indexOf(search, start) !== -1;\r\n }\r\n };\r\n}\r\n//# sourceMappingURL=polyfill.js.map","/// \r\nvar ApfcoRootUrl; //This should be defined in the HTML layout\r\nvar Apfco;\r\n(function (Apfco) {\r\n Apfco.rootUrl = ApfcoRootUrl; //Pull this into the namespace variable so it's strongly typed\r\n})(Apfco || (Apfco = {}));\r\n//# sourceMappingURL=Apfco.js.map","/// \r\n//Used in the HttpPostedFileBase editor template - scripts those inputs to show the name of the selected file\r\nvar HttpPostedFileBase = /** @class */ (function () {\r\n //Methods\r\n function HttpPostedFileBase(targetInputFile) {\r\n var thisObj = this;\r\n //Assign elements\r\n this.targetInputFile = targetInputFile;\r\n this.elLabelWrapper = targetInputFile.parentElement;\r\n this.elLabelSpan = this.elLabelWrapper.getElementsByTagName('span')[0];\r\n //All class to adjust styles\r\n this.elLabelWrapper.classList.add('HttpPostedFileBaseWrapper');\r\n if (this.targetInputFile.classList.contains('input-validation-error')) { //ASP.Net MVC - If a server-side validation error class was found on the