<?php

$regex = [
	'IS_IMG_URL' => '/https?:\/\/[^ ]+?(?:\.jpg|\.jpeg)/',
	'IS_IMG_URL_DEMO' => '/https?:\/\/demo.flothemes.com\/([a-z])+?-template\/files\/[^ ]+?(?:\.jpg|\.jpeg|\.gif)/',
	'IS_IMG_URL_STAGING' => '/https?:\/\/demo.stage.flosites.com\/([a-z])+?-template\/files\/[^ ]+?(?:\.jpg|\.jpeg|\.gif)/',
	'IS_VIDEO_URL' => '/https?:\/\/demo.flothemes.com\/([a-z])+?-template\/files\/[^ ]+?(?:\.mp4)/',
	'IS_VIMEO_URL' => '/(?:http|https)?:?\/?\/?(?:www\.)?vimeo\.com\/(\d+)(?:|\/\?)/',
	'IS_FLO_FORM' => '/\[(\/?floform.*?(?=\]))\]/',
	'IS_LINK' =>'/(%3C*|<)*href(%3D%22)[^ ]+?(%22)/',
	'IS_BUTTON' =>'/((blockLink).?[\{u}]0022:[^ ][\{u}]0022http?:\/\/[^ ]+?flosites.com\/([a-z])+?-template[^ ]+?u0022)/',
	'IS_BUTTON_GUTENBERG' =>'/("buttonLink":"http?:\/\/[^ ]+?flosites.com\/[^ ]+?")/',



];

$dummy = [
	'IMG_URL' => 'https://flothemes-dashboard-images.s3-us-west-2.amazonaws.com/flo-flex-builder/dummy-import.jpg',
	'VIDEO_URL' => 'https://flothemes-dashboard-images.s3.us-west-2.amazonaws.com/flo-flex-builder/pedestrians.mp4',
	'YOUTUBE_URL' => 'https://www.youtube.com/watch?v=A6x5AtpmqAQ',
	'HOME_URL' => 'href%3D%22'.get_home_url().'%22',
	'HOME_BUTTON_URL' => 'blockLink\u0022:\u0022'.get_home_url().'/\u0022',
	'HOME_BUTTON_URL_GUTENBERG' => '"buttonLink":"'.get_home_url().'/"',
];

$s3 = [
	'BASE' => 'https://bucket-flexblock-assets.s3.amazonaws.com/',
	'POSTS_GALLERIES' => 'https://bucket-flexblock-assets.s3.amazonaws.com/stylekits/flex_platform/demos/posts_galleries/',
];
