{"id":1549,"date":"2024-05-26T22:52:42","date_gmt":"2024-05-26T21:52:42","guid":{"rendered":"https:\/\/3p-sport.com\/?page_id=1549"},"modified":"2024-05-26T23:24:09","modified_gmt":"2024-05-26T22:24:09","slug":"test-booking","status":"publish","type":"page","link":"https:\/\/3p-sport.com\/ar\/test-booking\/","title":{"rendered":"test booking"},"content":{"rendered":"<p>\n<script>\n  if (typeof hasAmeliaEntitiesApiCall === 'undefined' && '' === '') {\n    var hasAmeliaEntitiesApiCall = true;\n  }\n  var ameliaShortcodeData = (typeof ameliaShortcodeData === 'undefined') ? [] : ameliaShortcodeData;\n  ameliaShortcodeData.push(\n    {\n      'hasApiCall': (typeof hasAmeliaEntitiesApiCall !== 'undefined') && hasAmeliaEntitiesApiCall,\n      'trigger': '',\n      'trigger_type': '',\n      'triggered_form': 'sbsNew',\n      'in_dialog': '',\n      'show': '',\n      'counter': '1000',\n      'category': '',\n      'service': '',\n      'employee': '',\n      'location': '',\n      'package': ''\n    }\n  );\n\n  var ameliaShortcodeDataTriggered = (typeof ameliaShortcodeDataTriggered === 'undefined') ? [] : ameliaShortcodeDataTriggered;\n  if (ameliaShortcodeData[ameliaShortcodeData.length - 1].trigger !== '') {\n    if (ameliaShortcodeDataTriggered.filter(a => a.counter === ameliaShortcodeData[ameliaShortcodeData.length - 1].counter).length === 0) {\n      ameliaShortcodeDataTriggered.push(ameliaShortcodeData.pop());\n    } else {\n      ameliaShortcodeData.pop()\n    }\n  }\n  if (typeof hasAmeliaEntitiesApiCall !== 'undefined' && hasAmeliaEntitiesApiCall) {\n    hasAmeliaEntitiesApiCall = false;\n  }\n<\/script>\n\n<div\n  id=\"amelia-v2-booking-1000\"\n  class=\"amelia-v2-booking\"\n >\n    <step-form-wrapper><\/step-form-wrapper><\/div>\n<br><\/p>\n\n\n\n<script>\n  if (typeof hasAmeliaAppointment === 'undefined') {\n    var hasAmeliaAppointment = true;\n  }\n  if (typeof hasAppointmentApiCall === 'undefined' && '' === '') {\n    var hasAppointmentApiCall = true;\n  }\n  var hasBookingShortcode = (typeof hasBookingShortcode === 'undefined') ? false : true;\n  var bookingEntitiesIds = (typeof bookingEntitiesIds === 'undefined') ? [] : bookingEntitiesIds;\n  bookingEntitiesIds.push(\n    {\n      'hasApiCall': (typeof hasAppointmentApiCall !== 'undefined') && hasAppointmentApiCall,\n      'trigger': '',\n      'show': '',\n      'counter': '0',\n      'category': '',\n      'service': '',\n      'employee': '',\n      'location': ''\n    }\n  );\n  var lazyBookingEntitiesIds = (typeof lazyBookingEntitiesIds === 'undefined') ? [] : lazyBookingEntitiesIds;\n  if (bookingEntitiesIds[bookingEntitiesIds.length - 1].trigger !== '') {\n    lazyBookingEntitiesIds.push(bookingEntitiesIds.pop());\n  }\n  if (typeof hasAppointmentApiCall !== 'undefined' && hasAppointmentApiCall) {\n    hasAppointmentApiCall = false;\n  }\n<\/script>\n\n<div id=\"amelia-app-booking0\" class=\"amelia-booking amelia-frontend amelia-app-booking\">\n  <booking id=\"amelia-step-booking0\"><\/booking>\n<\/div>\n\n\n\n\n<script>\n  if (typeof hasAmeliaAppointment === 'undefined') {\n    var hasAmeliaAppointment = true;\n  }\n  if (typeof hasAppointmentApiCall === 'undefined' && '' === '') {\n    var hasAppointmentApiCall = true;\n  }\n  var bookingEntitiesIds = (typeof bookingEntitiesIds === 'undefined') ? [] : bookingEntitiesIds;\n  bookingEntitiesIds.push(\n    {\n      'hasApiCall': (typeof hasAppointmentApiCall !== 'undefined') && hasAppointmentApiCall,\n      'trigger': '',\n      'show': '',\n      'counter': '1',\n      'employee': '',\n      'location': ''\n    }\n  );\n  var lazyBookingEntitiesIds = (typeof lazyBookingEntitiesIds === 'undefined') ? [] : lazyBookingEntitiesIds;\n  if (bookingEntitiesIds[bookingEntitiesIds.length - 1].trigger !== '') {\n    lazyBookingEntitiesIds.push(bookingEntitiesIds.pop());\n  }\n  if (typeof hasAppointmentApiCall !== 'undefined' && hasAppointmentApiCall) {\n    hasAppointmentApiCall = false;\n  }\n<\/script>\n\n<div id=\"amelia-app-booking1\" class=\"amelia-service amelia-frontend amelia-app-booking\">\n  <catalog><\/catalog>\n<\/div>\n\n\n\n<script>\n  if (typeof hasAmeliaEvent === 'undefined') {\n    var hasAmeliaEvent = true;\n  }\n  if (typeof hasEventApiCall === 'undefined' && '' === '') {\n    var hasEventApiCall = true;\n  }\n  var hasEventShortcode = (typeof hasEventShortcode === 'undefined') ? false : true;\n  var bookingEntitiesIds = (typeof bookingEntitiesIds === 'undefined') ? [] : bookingEntitiesIds;\n  bookingEntitiesIds.push(\n    {\n      'hasApiCall': (typeof hasEventApiCall !== 'undefined') && hasEventApiCall,\n      'trigger': '',\n      'counter': '2',\n      'employee': '',\n      'eventId': '',\n      'eventRecurring': 0,\n      'eventTag': \"\"\n    }\n  );\n  var lazyBookingEntitiesIds = (typeof lazyBookingEntitiesIds === 'undefined') ? [] : lazyBookingEntitiesIds;\n  if (bookingEntitiesIds[bookingEntitiesIds.length - 1].trigger !== '') {\n    lazyBookingEntitiesIds.push(bookingEntitiesIds.pop());\n  }\n  if (typeof hasEventApiCall !== 'undefined' && hasEventApiCall) {\n    hasEventApiCall = false;\n  }\n<\/script>\n\n<div id=\"amelia-app-booking2\" class=\"amelia-service amelia-frontend amelia-app-booking\">\n    <events-list><\/events-list><\/div>\n\n\n\n\n\n<script>\n  if (typeof hasAmeliaEntitiesApiCall === 'undefined' && '' === '') {\n    var hasAmeliaEntitiesApiCall = true;\n  }\n  var ameliaShortcodeData = (typeof ameliaShortcodeData === 'undefined') ? [] : ameliaShortcodeData;\n  ameliaShortcodeData.push(\n    {\n      'hasApiCall': (typeof hasAmeliaEntitiesApiCall !== 'undefined') && hasAmeliaEntitiesApiCall,\n      'trigger': '',\n      'trigger_type': '',\n      'triggered_form': 'cbf',\n      'in_dialog': '',\n      'show': '',\n      'counter': '1001',\n      'package': '',\n      'category': '',\n      'service': '',\n      'employee': '',\n      'location': '',\n      'categories_hidden': ''\n    }\n  );\n  var ameliaShortcodeDataTriggered = (typeof ameliaShortcodeDataTriggered === 'undefined') ? [] : ameliaShortcodeDataTriggered;\n  if (ameliaShortcodeData[ameliaShortcodeData.length - 1].trigger !== '') {\n    if (ameliaShortcodeDataTriggered.filter(a => a.counter === ameliaShortcodeData[ameliaShortcodeData.length - 1].counter).length === 0) {\n      ameliaShortcodeDataTriggered.push(ameliaShortcodeData.pop());\n    } else {\n      ameliaShortcodeData.pop()\n    }\n  }\n  if (typeof hasAmeliaEntitiesApiCall !== 'undefined' && hasAmeliaEntitiesApiCall) {\n    hasAmeliaEntitiesApiCall = false;\n  }\n<\/script>\n\n<div\n  id=\"amelia-v2-booking-1001\"\n  class=\"amelia-v2-booking\"\n>\n    <catalog-form-wrapper><\/catalog-form-wrapper><\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/3p-sport.com\/ar\/wp-json\/wp\/v2\/pages\/1549"}],"collection":[{"href":"https:\/\/3p-sport.com\/ar\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/3p-sport.com\/ar\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/3p-sport.com\/ar\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/3p-sport.com\/ar\/wp-json\/wp\/v2\/comments?post=1549"}],"version-history":[{"count":2,"href":"https:\/\/3p-sport.com\/ar\/wp-json\/wp\/v2\/pages\/1549\/revisions"}],"predecessor-version":[{"id":1552,"href":"https:\/\/3p-sport.com\/ar\/wp-json\/wp\/v2\/pages\/1549\/revisions\/1552"}],"wp:attachment":[{"href":"https:\/\/3p-sport.com\/ar\/wp-json\/wp\/v2\/media?parent=1549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}