{"version":3,"sources":["webpack:///./node_modules/@aws-amplify/ui-components/dist/esm-es5/amplify-checkbox.entry.js"],"names":["amplifyCheckboxCss","AmplifyCheckbox","hostRef","_this","this","checked","disabled","onClick","prototype","componentWillLoad","console","warn","render","class","type","name","value","id","fieldId","htmlFor","label","style"],"mappings":"gHAAA,wEACIA,EAAqB,uNACrBC,EAAiC,WACjC,SAASA,EAAgBC,GACrB,IAAIC,EAAQC,KACZ,eAAiBA,KAAMF,GAEvBE,KAAKC,SAAU,EAEfD,KAAKE,UAAW,EAChBF,KAAKG,QAAU,WACXJ,EAAME,SAAWF,EAAME,SAS/B,OANAJ,EAAgBO,UAAUC,kBAAoB,WAC1CC,QAAQC,KAAK,qMAEjBV,EAAgBO,UAAUI,OAAS,WAC/B,OAAQ,cAAD,CAAG,OAAQ,CAAEC,MAAO,YAAc,eAAE,QAAS,CAAEN,QAASH,KAAKG,QAASO,KAAM,WAAYC,KAAMX,KAAKW,KAAMC,MAAOZ,KAAKY,MAAOC,GAAIb,KAAKc,QAASb,QAASD,KAAKC,QAASC,SAAUF,KAAKE,WAAa,eAAE,gBAAiB,CAAEa,QAASf,KAAKc,SAAWd,KAAKgB,SAExPnB,EAlByB,GAoBpCA,EAAgBoB,MAAQrB","file":"js/chunk-2d228cf2.10c31801.js","sourcesContent":["import { r as registerInstance, h } from './index-83f2275b.js';\nvar amplifyCheckboxCss = \":host{--font-family:var(--amplify-font-family)}.checkbox{margin-bottom:22px;display:block;width:100%;padding:16px;font-size:var(--amplify-text-sm);font-family:var(--font-family)}.checkbox input{margin-right:12px}\";\nvar AmplifyCheckbox = /** @class */ (function () {\n function AmplifyCheckbox(hostRef) {\n var _this = this;\n registerInstance(this, hostRef);\n /** If `true`, the checkbox is selected. */\n this.checked = false;\n /** If `true`, the checkbox is disabled */\n this.disabled = false;\n this.onClick = function () {\n _this.checked = !_this.checked;\n };\n }\n AmplifyCheckbox.prototype.componentWillLoad = function () {\n console.warn('Version `1.x` of Amplify UI has been deprecated and will be removed in a future major version of `aws-amplify`. Please visit https://ui.docs.amplify.aws/ for the current version of Amplify UI.');\n };\n AmplifyCheckbox.prototype.render = function () {\n return (h(\"span\", { class: \"checkbox\" }, h(\"input\", { onClick: this.onClick, type: \"checkbox\", name: this.name, value: this.value, id: this.fieldId, checked: this.checked, disabled: this.disabled }), h(\"amplify-label\", { htmlFor: this.fieldId }, this.label)));\n };\n return AmplifyCheckbox;\n}());\nAmplifyCheckbox.style = amplifyCheckboxCss;\nexport { AmplifyCheckbox as amplify_checkbox };\n"],"sourceRoot":""}