[cmsmasters_row data_width=”boxed” data_top_style=”default” data_bot_style=”default” data_color=”default” data_padding_top=”0″ data_padding_bottom=”0″][cmsmasters_column data_width=”1/1″][/cmsmasters_column][/cmsmasters_row][cmsmasters_row data_width=”fullwidth” data_padding_left=”0″ data_padding_right=”0″ data_no_margin=”true” data_top_style=”default” data_bot_style=”default” data_color=”default” data_padding_top=”0″ data_padding_bottom=”0″][cmsmasters_column data_width=”1/1″][cmsmasters_google_map_markers address_type=”address” address=”LOL ASIA, 3-8, Oval Damansara, Jln Damansara, 60000 Kuala Lumpur” type=”ROADMAP” zoom=”16″ height_type=”auto” double_click_zoom=”true” pan_control=”true” zoom_control=”true” scale_control=”true” street_view_control=”true” overview_map_control=”true” animation_delay=”0″][cmsmasters_google_map_marker address_type=”address” address=”LOL ASIA, 3-8, Oval Damansara, Jln Damansara, 60000 Kuala Lumpur”][/cmsmasters_google_map_marker][/cmsmasters_google_map_markers][/cmsmasters_column][/cmsmasters_row][cmsmasters_row data_id=”map” data_padding_bottom=”50″ data_padding_top=”50″ data_bg_parallax_ratio=”0.5″ data_bg_size=”cover” data_bg_attachment=”scroll” data_bg_repeat=”no-repeat” data_bg_position=”top center” data_bg_img=”1603|http://wearelol.asia/wp-content/uploads/2019/06/Gradient-BG-300×169.jpg|medium” data_color=”default” data_bot_style=”default” data_top_style=”default” data_width=”boxed”][cmsmasters_column data_width=”1/3″][cmsmasters_simple_icon icon=”cmsmasters-icon-phone-4″ size=”50″ space=”70″ display=”block” text_align=”center” border_width=”0″ border_radius=”50%” color=”#ffffff” animation_delay=”0″][/cmsmasters_simple_icon][cmsmasters_heading type=”h6″ font_weight=”normal” font_style=”normal” text_align=”center” color=”#ffffff” margin_top=”0″ margin_bottom=”20″ animation_delay=”0″]Phone[/cmsmasters_heading][cmsmasters_heading type=”h2″ font_size=”18″ font_weight=”600″ font_style=”normal” text_align=”center” margin_top=”0″ margin_bottom=”0″ animation_delay=”0″]+603 7732 8872[/cmsmasters_heading][/cmsmasters_column][cmsmasters_column data_width=”1/3″][cmsmasters_simple_icon icon=”cmsmasters-icon-location-3″ size=”50″ space=”70″ display=”block” text_align=”center” border_width=”0″ border_radius=”50%” color=”#ffffff” animation_delay=”0″][/cmsmasters_simple_icon][cmsmasters_heading type=”h6″ font_weight=”normal” font_style=”normal” text_align=”center” color=”#ffffff” margin_top=”0″ margin_bottom=”20″ animation_delay=”0″]Address[/cmsmasters_heading][cmsmasters_heading type=”h2″ font_size=”18″ font_weight=”600″ font_style=”normal” text_align=”center” margin_top=”0″ margin_bottom=”0″ animation_delay=”0″]3-8 Oval Damansara, 685 Jalan Damansara, 60000 Kuala Lumpur, Malaysia[/cmsmasters_heading][/cmsmasters_column][cmsmasters_column data_width=”1/3″][cmsmasters_simple_icon icon=”cmsmasters-icon-mail-3″ size=”50″ space=”70″ display=”block” text_align=”center” border_width=”0″ border_radius=”50%” color=”#ffffff” animation_delay=”0″][/cmsmasters_simple_icon][cmsmasters_heading type=”h6″ font_weight=”normal” font_style=”normal” text_align=”center” color=”#ffffff” margin_top=”0″ margin_bottom=”20″ animation_delay=”0″]Email[/cmsmasters_heading][cmsmasters_heading type=”h2″ font_size=”18″ font_weight=”600″ font_style=”normal” text_align=”center” margin_top=”0″ margin_bottom=”0″ animation_delay=”0″]info@wearelol.asia[/cmsmasters_heading][/cmsmasters_column][/cmsmasters_row][cmsmasters_row data_width=”fullwidth” data_padding_left=”0″ data_padding_right=”0″ data_no_margin=”true” data_columns_behavior=”true” data_top_style=”default” data_bot_style=”default” data_color=”default” data_padding_top=”0″ data_padding_bottom=”0″][cmsmasters_column data_width=”1/1″][cmsmasters_featured_block text_width=”75″ text_position=”center” text_align=”center” bg_img=”1869|https://wearelol.asia/wp-content/uploads/2019/08/LR-200-2-e1585648128629.jpg|full” bg_position=”center center” bg_repeat=”no-repeat” bg_attachment=”fixed” bg_size=”cover” top_padding=”300″ bottom_padding=”300″ animation_delay=”0″]
[/cmsmasters_featured_block][/cmsmasters_column][/cmsmasters_row][cmsmasters_row data_padding_bottom=”0″ data_padding_top=”0″ data_bg_size=”cover” data_bg_attachment=”scroll” data_bg_repeat=”no-repeat” data_bg_position=”center left” data_bg_img=”1850|https://wearelol.asia/wp-content/uploads/2019/08/David-Blaine_Crowd-1.jpg|full” data_color=”default” data_bot_style=”default” data_top_style=”default” data_columns_behavior=”true” data_no_margin=”true” data_width=”fullwidth”][cmsmasters_column data_width=”1/2″][cmsmasters_featured_block text_width=”69″ text_position=”center” text_align=”center” bg_img=”1623|http://wearelol.asia/wp-content/uploads/2019/06/4.jpg|full” bg_position=”center center” bg_repeat=”no-repeat” bg_attachment=”fixed” bg_size=”cover” top_padding=”0″ bottom_padding=”30″ animation_delay=”0″]

[cmsmasters_heading type=”h2″ font_size=”44″ line_height=”46″ tablet_check=”true” tablet_font_size=”37″ font_weight=”600″ font_style=”normal” text_align=”center” margin_top=”10″ margin_bottom=”10″ animation_delay=”0″]SUBSCRIBE TO GET YOUR LAUGHTER DOSE [/cmsmasters_heading][cmsmasters_html]PGZvcm0gaWQ9ImVtYV9zaWdudXBfZm9ybSIgYWNjZXB0LWNoYXJzZXQ9IlVURi04IiBhY3Rpb249Imh0dHBzOi8vbWFkbWltaS5jb20vc2lnbnVwcy9zdWJzY3JpYmUvYWE0ZTYzMDZkODIxNGIzNDgwYjU2ZDAyODc5MmFjMmEiIG1ldGhvZD0icG9zdCIgdGFyZ2V0PSJfYmxhbmsiPjxpbnB1dCBuYW1lPSJ1dGY4IiB0eXBlPSJoaWRkZW4iIHZhbHVlPSLinJMiIC8+CjxkaXYgY2xhc3M9Im1pbWlfZmllbGQgcmVxdWlyZWQiPjxsYWJlbCBmb3I9InNpZ251cF9uYW1lIj5Zb3VyIE5hbWUqPC9sYWJlbD4gPGJyIC8+IDxpbnB1dCBpZD0ic2lnbnVwX25hbWUiIG5hbWU9InNpZ251cFtuYW1lXSIgdHlwZT0idGV4dCIgZGF0YS1yZXF1aXJlZC1maWVsZD0iVGhpcyBmaWVsZCBpcyByZXF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tib3hBbmRSYWRpb1ZhbGlkYXRpb24oZmllbGQpOwogICAgICAgIH0gZWxzZSB7CiAgICAgICAgICB0aGlzLnRleHRBbmREcm9wZG93blZhbGlkYXRpb24oZmllbGQsIHR5cGUpOwogICAgICAgIH0KICAgICAgfQogICAgfSwKCiAgICBmaWVsZFR5cGU6IGZ1bmN0aW9uKGZpZWxkKSB7CiAgICAgIHZhciB0eXBlID0gZmllbGQucXVlcnlTZWxlY3RvckFsbCgnLmZpZWxkX3R5cGUnKTsKCiAgICAgIGlmICh0eXBlLmxlbmd0aCkgewogICAgICAgIHJldHVybiB0eXBlWzBdLmdldEF0dHJpYnV0ZSgnZGF0YS1maWVsZC10eXBlJyk7CiAgICAgIH0gZWxzZSBpZiAoZmllbGQuY2xhc3NOYW1lLmluZGV4T2YoJ2NoZWNrZ3JvdXAnKSA+PSAwKSB7CiAgICAgICAgcmV0dXJuICdjaGVja2JveGVzJzsKICAgICAgfSBlbHNlIHsKICAgICAgICByZXR1cm4gJ3RleHRfZmllbGQnOwogICAgICB9CiAgICB9LAoKICAgIGNoZWNrYm94QW5kUmFkaW9WYWxpZGF0aW9uOiBmdW5jdGlvbihmaWVsZCkgewogICAgICB2YXIgaW5wdXRzICAgPSBmaWVsZC5nZXRFbGVtZW50c0J5VGFnTmFtZSgnaW5wdXQnKSwKICAgICAgICAgIHNlbGVjdGVkID0gZmFsc2U7CgogICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGlucHV0cy5sZW5ndGg7ICsraSkgewogICAgICAgIHZhciBpbnB1dCA9IGlucHV0c1tpXTsKICAgICAgICBpZigoaW5wdXQudHlwZSA9PT0gJ2NoZWNrYm94JyB8fCBpbnB1dC50eXBlID09PSAncmFkaW8nKSAmJiBpbnB1dC5jaGVja2VkKSB7CiAgICAgICAgICBzZWxlY3RlZCA9IHRydWU7CiAgICAgICAgfQogICAgICB9CgogICAgICBpZiAoc2VsZWN0ZWQpIHsKICAgICAgICBmaWVsZC5jbGFzc05hbWUgPSBmaWVsZC5jbGFzc05hbWUucmVwbGFjZSgvIGludmFsaWQvZywgJycpOwogICAgICB9IGVsc2UgewogICAgICAgIGlmIChmaWVsZC5jbGFzc05hbWUuaW5kZXhPZignaW52YWxpZCcpID09PSAtMSkgewogICAgICAgICAgZmllbGQuY2xhc3NOYW1lICs9ICcgaW52YWxpZCc7CiAgICAgICAgfQoKICAgICAgICB0aGlzLmlzVmFsaWQgPSBmYWxzZTsKICAgICAgfQogICAgfSwKCiAgICB0ZXh0QW5kRHJvcGRvd25WYWxpZGF0aW9uOiBmdW5jdGlvbihmaWVsZCwgdHlwZSkgewogICAgICB2YXIgaW5wdXRzID0gZmllbGQuZ2V0RWxlbWVudHNCeVRhZ05hbWUoJ2lucHV0Jyk7CgogICAgICBmb3IgKHZhciBpID0gMDsgaSA8IGlucHV0cy5sZW5ndGg7ICsraSkgewogICAgICAgIHZhciBpbnB1dCA9IGlucHV0c1tpXTsKICAgICAgICBpZiAoaW5wdXQubmFtZS5pbmRleE9mKCdzaWdudXAnKSA+PSAwKSB7CiAgICAgICAgICBpZiAodHlwZSA9PT0gJ3RleHRfZmllbGQnKSB7CiAgICAgICAgICAgIHRoaXMudGV4dFZhbGlkYXRpb24oaW5wdXQpOwogICAgICAgICAgfSBlbHNlIHsKICAgICAgICAgICAgdGhpcy5kcm9wZG93blZhbGlkYXRpb24oZmllbGQsIGlucHV0KTsKICAgICAgICAgIH0KICAgICAgICB9CiAgICAgIH0KICAgICAgdGhpcy5odG1sRW1iZWREcm9wZG93blZhbGlkYXRpb24oZmllbGQpOwogICAgfSwKCiAgICB0ZXh0VmFsaWRhdGlvbjogZnVuY3Rpb24oaW5wdXQpIHsKICAgICAgaWYgKGlucHV0LmlkID09PSAnc2lnbnVwX2VtYWlsJykgcmV0dXJuOwoKICAgICAgaWYgKGlucHV0LnZhbHVlKSB7CiAgICAgICAgdGhpcy5yZW1vdmVUZXh0RmllbGRFcnJvcihpbnB1dCk7CiAgICAgIH0gZWxzZSB7CiAgIC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hciBvblRleHRGaWVsZENoYW5nZSA9IGZ1bmN0aW9uKCkgewogICAgICAgIGlmICh0aGlzLmdldEF0dHJpYnV0ZSgnbmFtZScpID09PSAnc2lnbnVwW2VtYWlsXScpIHsKICAgICAgICAgIGlmIChfdGhpcy52YWxpZEVtYWlsLnRlc3QodGhpcy52YWx1ZSkpIF90aGlzLnZhbGlkYXRlKCk7CiAgICAgICAgfSBlbHNlIHsKICAgICAgICAgIGlmICh0aGlzLnZhbHVlLmxlbmd0aCA9PT0gMSkgX3RoaXMudmFsaWRhdGUoKTsKICAgICAgICB9CiAgICAgIH0KCiAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgZmllbGRzLmxlbmd0aDsgKytpKSB7CiAgICAgICAgdmFyIGlucHV0cyA9IGZpZWxkc1tpXS5nZXRFbGVtZW50c0J5VGFnTmFtZSgnaW5wdXQnKTsKICAgICAgICBmb3IgKHZhciBqID0gMDsgaiA8IGlucHV0cy5sZW5ndGg7ICsraikgewogICAgICAgICAgaWYgKHRoaXMuZmllbGRUeXBlKGZpZWxkc1tpXSkgPT09ICd0ZXh0X2ZpZWxkJykgewogICAgICAgICAgICBpbnB1dHNbal0ub25rZXl1cCA9IG9uVGV4dEZpZWxkQ2hhbmdlOwogICAgICAgICAgICBpbnB1dHNbal0ub25jaGFuZ2UgPSBvblRleHRGaWVsZENoYW5nZTsgCiAgICAgICAgICB9IGVsc2UgewogICAgICAgICAgICBpbnB1dHNbal0ub25jaGFuZ2UgPSBmdW5jdGlvbigpeyBfdGhpcy52YWxpZGF0ZSgpIH07CiAgICAgICAgICB9CiAgICAgICAgfQogICAgICB9CiAgICB9CiAgfSk7CgogIGlmIChkb2N1bWVudC5hZGRFdmVudExpc3RlbmVyKSB7CiAgICBkb2N1bWVudC5hZGRFdmVudExpc3RlbmVyKCJET01Db250ZW50TG9hZGVkIiwgZnVuY3Rpb24oKSB7CiAgICAgIG5ldyBNaW1pLlNpZ251cHMuRW1iZWRWYWxpZGF0aW9uKCk7CiAgICB9KTsKICB9CiAgZWxzZSB7CiAgICB3aW5kb3cuYXR0YWNoRXZlbnQoJ29ubG9hZCcsIGZ1bmN0aW9uKCkgewogICAgICBuZXcgTWltaS5TaWdudXBzLkVtYmVkVmFsaWRhdGlvbigpOwogICAgfSk7CiAgfQp9KSh0aGlzKTsKPC9zY3JpcHQ+Cg==[/cmsmasters_html]

[/cmsmasters_featured_block][/cmsmasters_column][/cmsmasters_row][cmsmasters_row data_width=”boxed” data_no_margin=”true” data_columns_behavior=”true” data_top_style=”default” data_bot_style=”default” data_color=”default” data_padding_top=”0″ data_padding_bottom=”0″][cmsmasters_column data_width=”1/1″][cmsmasters_css]Lm1pbWlfZmllbGQucmVxdWlyZWQgewogICAgcGFkZGluZy1ib3R0b206IDIwcHg7Cn0KCiNlbWFfc2lnbnVwX2Zvcm0gewoKICAgIHdpZHRoOiAxMDAlOwogICAgbWFyZ2luOiBhdXRvOwoKfQoKI3NpZ251cF9uYW1lLCAjc2lnbnVwX2VtYWlsIHsKICAgIHdpZHRoOiAxMDAlOwp9[/cmsmasters_css][/cmsmasters_column][/cmsmasters_row][cmsmasters_row data_padding_bottom=”50″ data_padding_top=”0″ data_bg_parallax_ratio=”0.5″ data_bg_size=”cover” data_bg_attachment=”scroll” data_bg_repeat=”no-repeat” data_bg_position=”top center” data_color=”default” data_bot_style=”default” data_top_style=”default” data_padding_right=”3″ data_padding_left=”3″ data_width=”boxed”][cmsmasters_column data_width=”1/1″][/cmsmasters_column][/cmsmasters_row]