OwlCyberSecurity - MANAGER
Edit File: interfaces.js.map
{"version":3,"file":"interfaces.js","sourceRoot":"","sources":["../src/interfaces.ts"],"names":[],"mappings":"","sourcesContent":["declare global {\n interface Window {\n gapi: any;\n wp: any;\n jQuery: any;\n prestoPlayerAdmin: {\n i18n: i18nConfig;\n };\n prestoPlayer: {\n debug: boolean;\n debug_navigator: boolean;\n ajaxurl: string;\n nonce: string;\n isPremium: string;\n logged_in: boolean;\n i18n: i18nConfig;\n };\n }\n}\n\nexport interface BunnyConfig extends Object {\n hostname: string;\n thumbnail: string;\n preview: string;\n}\n\nexport interface i18nConfig extends Object {\n startOver?: string;\n upNext?: string;\n rewatch: string;\n emailPlaceholder?: string;\n skip?: string;\n emailDefaultHeadline?: string;\n play: string;\n}\n\nexport interface ActionBarConfig extends Object {\n enabled: boolean;\n percentage_start: number;\n text: string;\n background_color: string;\n button_type: string;\n button_radius: string;\n button_text?: string;\n button_color?: string;\n button_count?: boolean;\n button_link?: ButtonLinkObject;\n button_text_color?: string;\n}\n\nexport interface ButtonLinkObject extends Object {\n id: string;\n url: string;\n type: string;\n opensInNewTab: boolean;\n}\n\nexport interface PlaylistItem extends Object {\n id: number;\n config: PrestoConfig;\n duration: string;\n title: string;\n}\nexport interface PrestoConfig extends Object {\n styles?: string;\n type?: string;\n preset?: presetAttributes;\n autoplay?: boolean;\n id?: number;\n title?: string;\n playerClass?: string;\n blockAttributes?: blockAttributes;\n chapters?: prestoChapters;\n branding?: prestoBranding;\n src?: string;\n analytics?: boolean;\n automations?: boolean;\n provider?: string;\n provider_video_id?: string;\n isAdmin?: boolean;\n save_player_position?: boolean;\n ajaxProgress?: boolean;\n youtube?: YoutubeConfig;\n i18n?: i18nConfig;\n search?: SearchBarConfig;\n markers?: any;\n storage?: {\n enabled?: boolean;\n key?: string;\n };\n}\n\nexport interface prestoChapters extends Object {\n [index: number]: { time: number; title: string };\n}\n\nexport interface DynamicOverlay extends Object {\n key?: number;\n startTime: string;\n endTime: string;\n text: string;\n position: 'top-left' | 'top-right';\n link?: {\n url: string;\n type?: string;\n id?: number;\n opensInNewTab?: boolean;\n };\n color: string;\n backgroundColor: string;\n opacity: number;\n}\n\nexport interface blockAttributes extends Object {\n color?: string;\n id?: number;\n title?: string;\n src?: string;\n poster?: string;\n playsInline?: boolean;\n autoplay?: boolean;\n mutedPreview?: {\n enabled?: boolean;\n captions?: boolean;\n };\n mutedOverlay?: MutedOverlay;\n}\n\nexport interface MutedOverlay extends Object {\n enabled?: boolean;\n width?: number;\n src?: string;\n focalPoint?: {\n x: number;\n y: number;\n };\n}\n\nexport interface YoutubeConfig extends Object {\n noCookie?: boolean; // Whether to use an alternative version of YouTube without cookies\n channelId?: string;\n}\n\nexport interface presetAttributes extends Object {\n id?: number;\n lazy_load_youtube?: boolean;\n after_video_action?: string;\n hide_youtube?: boolean;\n sticky_scroll?: boolean;\n sticky_scroll_position?: string;\n on_video_end?: string;\n play?: boolean;\n play_video_viewport?: boolean;\n invert_time?: boolean;\n skin?: string;\n save_player_position?: boolean;\n captions?: boolean;\n captions_enabled?: boolean;\n hide_logo?: boolean;\n reset_on_end?: boolean;\n auto_hide?: boolean;\n show_time_elapsed?: boolean;\n speed?: boolean;\n background_color?: string;\n caption_style?: string;\n email_collection?: EmailCollection;\n cta?: CTA;\n watermark?: Watermark;\n search?: Search;\n action_bar?: ActionBarConfig;\n}\n\nexport interface Search extends Object {\n enabled?: boolean;\n minMatchCharLength?: number;\n threshold?: number;\n placeholder?: string;\n}\n\nexport interface Watermark extends Object {\n enabled?: boolean;\n text?: string;\n backgroundColor?: string;\n color?: string;\n opacity?: number;\n position?: 'top-left' | 'top-right' | 'randomize';\n}\n\nexport interface SearchBarConfig extends Object {\n showSearchResults?: boolean; // If any search results are shown.\n searchResults?: any;\n}\n\nexport interface prestoBranding extends Object {\n logo?: string;\n logo_width?: number;\n}\n\nexport interface CTA extends Object {\n enabled?: boolean;\n percentage?: number;\n show_rewatch?: boolean;\n show_skip?: boolean;\n headline?: string;\n show_button?: boolean;\n bottom_text?: string;\n button_color?: string;\n background_opacity?: number;\n button_text_color?: string;\n button_text?: string;\n button_link?: ButtonLinkObject;\n button_radius?: number;\n}\nexport interface EmailCollection extends Object {\n enabled?: boolean;\n percentage?: number;\n allow_skip?: boolean;\n headline?: string;\n bottom_text?: string;\n button_text?: string;\n border_radius?: number;\n button_text_color?: string;\n button_color?: string;\n}\n\ninterface OnVolumeChangeParam {\n muted: boolean;\n volume: number;\n}\nexport interface PlyrProps {\n id?: number;\n type?: 'youtube' | 'vimeo' | 'video' | 'audio';\n className?: string;\n videoId?: string;\n url?: string;\n\n config: PrestoConfig;\n\n on?: (eventName: string, event?: any) => void;\n onReady?: (player?: any) => void;\n onPlay?: () => void;\n onPause?: () => void;\n onEnd?: () => void;\n onLoadedData?: () => void;\n onSeeked?: (time?: number) => void;\n onTimeUpdate?: (time?: number) => void;\n onEnterFullscreen?: () => void;\n onExitFullscreen?: () => void;\n onVolumeChange?: (params: OnVolumeChangeParam) => void;\n onCaptionsEnabled?: () => void;\n onCaptionsDisabled?: () => void;\n\n enabled?: boolean;\n title?: string;\n debug?: boolean;\n autoplay?: boolean;\n autopause?: boolean;\n seekTime?: number;\n volume?: number;\n muted?: boolean;\n duration?: number;\n displayDuration?: boolean;\n invertTime?: boolean;\n toggleInvert?: boolean;\n ratio?: string;\n clickToPlay?: boolean;\n hideControls?: boolean;\n resetOnEnd?: boolean;\n disableContextMenu?: boolean;\n loadSprite?: boolean;\n iconPrefix?: string;\n iconUrl?: string;\n icon_url?: string;\n blankVideo?: string;\n quality?: {\n default?: string | number;\n option?: string[] | number[];\n };\n loop?: {\n active?: boolean;\n };\n speed?: {\n selected?: number;\n options?: number[];\n };\n keyboard?: {\n focused?: boolean;\n global?: boolean;\n };\n tooltips?: {\n controls?: boolean;\n seek?: boolean;\n };\n fullscreen?: {\n enabled?: boolean;\n fallback?: boolean;\n iosNative?: boolean;\n };\n storage?: {\n enabled?: boolean;\n key?: string;\n };\n controls?: string[];\n settings?: string[];\n\n poster?: string;\n sources?: Array<{\n src: string;\n type: string;\n size?: string;\n }>;\n captions?: Array<{\n kind?: string;\n label?: string;\n src: string;\n srclang?: string;\n default?: boolean;\n key?: any;\n }>;\n}\n"]}