{"version":3,"sources":["webpack:///./node_modules/@aws-amplify/ui-components/dist/esm-es5/amplify-picker.entry.js"],"names":["amplifyPickerCss","AmplifyPicker","hostRef","this","pickerText","PICKER_TEXT","acceptValue","prototype","render","_this","class","name","get","title","type","accept","onChange","e","inputHandler","style"],"mappings":"gHAAA,8FAIIA,EAAmB,wQACnBC,EAA+B,WAC/B,SAASA,EAAcC,GACnB,eAAiBC,KAAMD,GAEvBC,KAAKC,WAAa,OAAaC,YAE/BF,KAAKG,YAAc,MAMvB,OAJAL,EAAcM,UAAUC,OAAS,WAC7B,IAAIC,EAAQN,KACZ,OAAQ,cAAD,CAAG,MAAO,CAAEO,MAAO,UAAY,eAAE,OAAQ,CAAEC,KAAM,UAAY,eAAE,iBAAkB,KAAM,OAAKC,IAAIT,KAAKC,cAAe,eAAE,QAAS,CAAES,MAAO,OAAKD,IAAIT,KAAKC,YAAaU,KAAM,OAAQC,OAAQZ,KAAKG,YAAaU,SAAU,SAAUC,GAAK,OAAOR,EAAMS,aAAaD,QAElQhB,EAZuB,GAclCA,EAAckB,MAAQnB","file":"js/chunk-2d21d0be.9d5dd782.js","sourcesContent":["import { r as registerInstance, h } from './index-83f2275b.js';\nimport { I18n } from '@aws-amplify/core';\nimport '@aws-amplify/auth';\nimport { T as Translations } from './Translations-c833f663.js';\nvar amplifyPickerCss = \".picker{position:relative;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}input[type=file]{width:100%;height:100%;display:inline-block;position:absolute;left:0;top:0;opacity:0;cursor:pointer}\";\nvar AmplifyPicker = /** @class */ (function () {\n function AmplifyPicker(hostRef) {\n registerInstance(this, hostRef);\n /** Picker button text */\n this.pickerText = Translations.PICKER_TEXT;\n /** File input accept value */\n this.acceptValue = '*/*';\n }\n AmplifyPicker.prototype.render = function () {\n var _this = this;\n return (h(\"div\", { class: \"picker\" }, h(\"slot\", { name: \"picker\" }, h(\"amplify-button\", null, I18n.get(this.pickerText))), h(\"input\", { title: I18n.get(this.pickerText), type: \"file\", accept: this.acceptValue, onChange: function (e) { return _this.inputHandler(e); } })));\n };\n return AmplifyPicker;\n}());\nAmplifyPicker.style = amplifyPickerCss;\nexport { AmplifyPicker as amplify_picker };\n"],"sourceRoot":""}