{"version":3,"file":"one.js","names":["NativeMenu","NativeContextMenu","UI","NativeUI","NativeCrypto","NativeClipboard","NativeBarometer","NativeLightSensor","NativePedometer","NativeBattery","NativeBrightness","NativeSpeechSynthesis","NativeNetwork","NativeBrowser","NativeSecureStore","NativeSpeech","NativeUpdates"],"sources":["esm/one.js"],"sourcesContent":["import {\n  Auth,\n  Browser as NativeBrowser,\n  Widgets,\n  LiveActivities,\n  LocalAuthentication,\n  ProtectedStore,\n  KeepAwake,\n  Print,\n  StoreReview,\n  QuickActions,\n  Location,\n  FileSystem,\n  Audio,\n  CameraView,\n  Share,\n  Open,\n  PhotoLibrary,\n  MapServices,\n  AppTracking,\n  AppIcon,\n  ScreenOrientation,\n  ScreenCapture,\n  Purchases,\n  ImageManipulator,\n  Device,\n  Crypto as NativeCrypto,\n  Localization,\n  Motion,\n  BackgroundTasks,\n  AppIntents,\n  DeviceAttestation,\n  Contacts,\n  Calendar,\n  WidgetUI,\n  VNDocumentCameraViewController,\n  DataScannerViewController,\n  CNContactViewController,\n  CNMutableContact,\n  CNContactStore,\n  MFMailComposeViewController,\n  MFMessageComposeViewController,\n  Clipboard as NativeClipboard,\n  Barometer as NativeBarometer,\n  LightSensor as NativeLightSensor,\n  Pedometer as NativePedometer,\n  Battery as NativeBattery,\n  Brightness as NativeBrightness,\n  SpeechSynthesis as NativeSpeechSynthesis,\n  AppInfo,\n  Color,\n  Database,\n  Compose,\n  Fonts,\n  DocumentPicker,\n  Haptics,\n  ImagePicker,\n  LaunchScreen,\n  MenuAction,\n  Menu as NativeMenu,\n  ContextMenu as NativeContextMenu,\n  Notifications,\n  Network as NativeNetwork,\n  SecureStore as NativeSecureStore,\n  Storage,\n  Speech as NativeSpeech,\n  Updates as NativeUpdates,\n  SplitView,\n  Swift,\n  TextInput,\n  ToolbarHost,\n  ToolbarItem,\n  UI as NativeUI,\n  ReservedRegions,\n  ZoomTransitionAlignmentRectDetector,\n  ZoomTransitionEnabler,\n  ZoomTransitionSource\n} from \"./platform\";\nimport { SafeAreaProvider, SafeAreaView, initialWindowMetrics } from \"./safe-area-context\";\nfunction currentPlatform() {\n  const defined = Reflect.get(globalThis, \"__ONE_PLATFORM__\") ?? (typeof process !== \"undefined\" ? process.env.ONE_PLATFORM : void 0);\n  return defined === \"ios\" || defined === \"android\" ? defined : \"web\";\n}\nconst iOS = Object.freeze({\n  ...Swift,\n  VNDocumentCameraViewController,\n  DataScannerViewController,\n  CNContactViewController,\n  CNMutableContact,\n  CNContactStore,\n  MFMailComposeViewController,\n  MFMessageComposeViewController,\n  WidgetUI,\n  CameraView,\n  Color: Color.ios,\n  MenuAction,\n  SplitView,\n  ToolbarHost,\n  BarButtonItem: ToolbarItem,\n  ZoomTransitionAlignmentRectDetector,\n  ZoomTransitionEnabler,\n  ZoomTransitionSource\n});\nconst Android = Object.freeze({\n  ...Compose,\n  Color: Color.android,\n  Menu: NativeMenu,\n  ContextMenu: NativeContextMenu,\n  CameraView\n});\nconst SafeArea = Object.freeze({\n  Provider: SafeAreaProvider,\n  View: SafeAreaView,\n  initialMetrics: initialWindowMetrics\n});\nconst UI = Object.freeze({\n  ...NativeUI,\n  Fonts,\n  SafeArea,\n  TextInput,\n  ReservedRegions\n});\nconst One = Object.freeze({\n  get platform() {\n    return currentPlatform();\n  },\n  openURL: Open.openURL,\n  openShare: Open.openShare,\n  openSettings: Open.openSettings,\n  AppInfo,\n  Database,\n  Widgets,\n  LiveActivities,\n  LocalAuthentication,\n  ProtectedStore,\n  KeepAwake,\n  Print,\n  StoreReview,\n  QuickActions,\n  Location,\n  FileSystem,\n  Audio,\n  Share,\n  PhotoLibrary,\n  MapServices,\n  AppTracking,\n  AppIcon,\n  ScreenOrientation,\n  ScreenCapture,\n  Purchases,\n  ImageManipulator,\n  Device,\n  Crypto: NativeCrypto,\n  Localization,\n  Motion,\n  BackgroundTasks,\n  AppIntents,\n  DeviceAttestation,\n  Contacts,\n  Calendar,\n  iOS,\n  Android,\n  UI,\n  Notifications,\n  Clipboard: NativeClipboard,\n  Barometer: NativeBarometer,\n  LightSensor: NativeLightSensor,\n  Pedometer: NativePedometer,\n  Battery: NativeBattery,\n  Brightness: NativeBrightness,\n  SpeechSynthesis: NativeSpeechSynthesis,\n  Haptics,\n  LaunchScreen,\n  Network: NativeNetwork,\n  Auth,\n  Browser: NativeBrowser,\n  ImagePicker,\n  DocumentPicker,\n  SecureStore: NativeSecureStore,\n  Storage,\n  Speech: NativeSpeech,\n  Updates: NativeUpdates\n});\nexport {\n  One\n};\n//# sourceMappingURL=one.js.map\n"],"mappings":";;;;AA+EA,SAAS,kBAAkB;CACzB,MAAM,UAAU,QAAQ,IAAI,YAAY,kBAAkB,MAAM,OAAO,YAAY,cAAc,QAAQ,IAAI,eAAe,KAAK;CACjI,OAAO,YAAY,SAAS,YAAY,YAAY,UAAU;AAChE;AACA,MAAM,MAAM,OAAO,OAAO;CACxB,GAAG;CACH;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,OAAO,MAAM;CACb;CACA;CACA;CACA,eAAe;CACf;CACA;CACA;AACF,CAAC;AACD,MAAM,UAAU,OAAO,OAAO;CAC5B,GAAG;CACH,OAAO,MAAM;CACPA;CACOC;CACb;AACF,CAAC;AACD,MAAM,WAAW,OAAO,OAAO;CAC7B,UAAU;CACV,MAAM;CACN,gBAAgB;AAClB,CAAC;AACD,MAAMC,OAAK,OAAO,OAAO;CACvB,GAAGC;CACH;CACA;CACA;CACA;AACF,CAAC;AACD,MAAM,MAAM,OAAO,OAAO;CACxB,IAAI,WAAW;EACb,OAAO,gBAAgB;CACzB;CACA,SAAS,KAAK;CACd,WAAW,KAAK;CAChB,cAAc,KAAK;CACnB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACQC;CACR;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACWC;CACAC;CACEC;CACFC;CACFC;CACGC;CACKC;CACjB;CACA;CACSC;CACT;CACSC;CACT;CACA;CACaC;CACb;CACQC;CACCC;AACX,CAAC"}