[
  {
    "path": ".gitignore",
    "content": "# Logs\nlogs\n*.log\n\n# Runtime data\npids\n*.pid\n*.seed\n\n# Directory for instrumented libs generated by jscoverage/JSCover\nlib-cov\n\n# Coverage directory used by tools like istanbul\ncoverage\n\n# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)\n.grunt\n\n# Compiled binary addons (http://nodejs.org/api/addons.html)\nbuild/Release\n\n# Dependency directory\n# Commenting this out is preferred by some people, see\n# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-\nnode_modules\n\n# Users Environment Variables\n.lock-wscript\n\n# Distro files\ndist\n"
  },
  {
    "path": ".jshintrc",
    "content": "{\n  \"node\": true,\n  \"browser\": true,\n  \"esnext\": true,\n  \"bitwise\": true,\n  \"curly\": true,\n  \"eqeqeq\": true,\n  \"immed\": true,\n  \"indent\": 2,\n  \"latedef\": true,\n  \"noarg\": true,\n  \"regexp\": true,\n  \"undef\": true,\n  \"unused\": true,\n  \"strict\": true,\n  \"trailing\": true,\n  \"smarttabs\": true,\n  \"newcap\": false\n}"
  },
  {
    "path": ".npmignore",
    "content": "lib\ngulpfile.js\n.jshintrc"
  },
  {
    "path": "LICENSE",
    "content": "The MIT License (MIT)\n\nCopyright (c) 2015 Jake Marsh\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n"
  },
  {
    "path": "README.md",
    "content": "react-tour-guide [![npm version](https://badge.fury.io/js/react-tour-guide.svg)](http://badge.fury.io/js/react-tour-guide)\n==========================================================================================================================\n\nA ReactJS mixin to give new users a popup-based tour of your application. An example can be seen [here](http://jakemmarsh.com/react-tour-guide/).\n\n---\n\n### Getting Started\n\n1. `npm install --save react-tour-guide`\n2. `var TourGuideMixin = require('react-tour-guide').Mixin`\n\n```javascript\nvar TourGuideMixin = require('react-tour-guide').Mixin;\nvar tour = {\n  startIndex: 0,\n  scrollToSteps: true,\n  steps: [\n    {\n      text: 'This is the first step in the tour.',\n      element: 'header',\n      position: 'bottom',\n      closeButtonText: 'Next'\n    },\n    {\n      text: 'This is the second step in the tour.',\n      element: '.navigation',\n      position: 'right'\n    }\n  ]\n};\nvar cb = function() {\n  console.log('User has completed tour!');\n};\n\nvar App = React.createClass({\n\n  mixins: [TourGuideMixin(tour, cb)],\n\n  ...\n\n});\n```\n\nIf you're going to initialize the mixin without steps and add them later asynchronously, set your `startIndex` to a negative value\n```javascript\n...\nstartIndex: -1,\nsteps: []\n...\n\n```\n\n---\n\n### Options\n\nA Javascript object is passed to the `TourGuideMixin` to specify options, as well as the steps of your tour as an array (there is also a method to define these asynchronously, discussed below). The options are:\n\n- `startIndex` (int): the index from which to begin the steps of the tour. This can be retrieved and saved via `getUserTourProgress` (discussed below), in order to be specified when a user returns. Defaults to `0`.\n- `scrollToSteps` (bool): if true, the page will be automatically scrolled to the next indicator (if one exists) after a tooltip is dismissed. Defaults to `true`.\n- `steps` (array): the array of steps to be included in your tour. Defaults to an empty array.\n\n\nEach \"step\" in the array represents one indicator and tooltip that a user must click through in the guided tour. A step has the following structure:\n\n```json\n{\n  \"text\": \"The helpful tip or information the user should read at this step.\",\n  \"element\": \"A jQuery selector for the element which the step relates to.\",\n  \"position\": \"Where to position the indicator in relation to the element.\",\n  \"closeButtonText\": \"An optional string to be used as the text for the tooltip close button.\"\n}\n```\n\nPositions can be chosen from: `top-left`, `top-right`, `right`, `bottom-right`, `bottom`, `bottom-left`, `left`, and `center`. This defaults to `center`.\n\n---\n\n### Completion Callback\n\nAn optional callback may be passed as the second parameter to `TourGuideMixin`, which will be called once the current user has completed all the steps of your tour.\n\n---\n\n### Methods\n\n##### `setTourSteps(steps, cb)`\n\nThis function is intended to provide you with a method to asynchronously define your steps (if they need to be fetched from a database, etc.) It takes a list of steps (of the form discussed earlier), along with an optional callback function as parameters. **This will completely overwrite any existing steps or progress**. Once the state is updated, the callback function will be invoked.\n\n##### `getUserTourProgress()`\n\nUpon including the mixin, this will be available to your component. At any point, this method can be called to retrieve information about the current user's progress through the guided tour. The object returned looks like this:\n\n```json\n{\n  \"index\": 2,\n  \"percentageComplete\": 50,\n  \"step\": {\n    \"text\": \"...\",\n    \"element\": \"...\",\n    \"position\": \"...\"\n  }\n}\n```\nThis information can be used to save a user's progress upon navigation from the page or application, allowing you to return them back to their correct spot when they visit next using the `startIndex` option (discussed above).\n\n---\n\n### Styling\n\nSome basic styling is provided in `/dist/css/tour-guide.css`. This can either be included directly in your project, or used as a base for your own custom styles. Below, the HTML structure of the tour is also outlined for custom styling.\n\nThe guided tour consists of two main elements for each step: an `indicator` and a `tooltip`. An indicator is a flashing element positioned on a specific element on the page, cueing the user to click. Upon click, the associated tooltip is triggered which the user must then read and dismiss.\n\n**Note:** Elements are dynamically positioned by initially setting their `top` and `left` CSS properties to `-1000px`. Once they have been initially rendered and measured, they are then positioned correctly. Animations on these CSS properties should be avoided.\n\n##### Indicator\n\n```html\n<div class=\"tour-indicator\"></div>\n```\n\n##### Tooltip\n\n```html\n<div>\n  <div class=\"tour-backdrop\"></div>\n  <div class=\"tour-tooltip\">\n    <p>{The step's text goes here.}</p>\n    <div class=\"tour-btn close\">Close</div>\n  </div>\n</div>\n```\n"
  },
  {
    "path": "gulpfile.js",
    "content": "'use strict';\n\nvar gulp        = require('gulp');\nvar del         = require('del');\nvar react       = require('gulp-react');\nvar runSequence = require('run-sequence');\nvar stripDebug  = require('gulp-strip-debug');\nvar gulpif      = require('gulp-if');\n\ngulp.task('clean', function(cb) {\n\n  return del(['./dist/css/*', './dist/js/*'], cb);\n\n});\n\ngulp.task('styles', function() {\n\n  return gulp.src('./lib/styles/**/*.css')\n  .pipe(gulp.dest('./dist/css/'));\n\n});\n\ngulp.task('scripts', function() {\n\n  return gulp.src('./lib/js/**/*.js')\n  .pipe(react())\n  .pipe(gulpif(global.isProd, stripDebug()))\n  .pipe(gulp.dest('./dist/js/'));\n\n});\n\ngulp.task('dev', function() {\n\n  global.isProd = false;\n\n  runSequence(['styles', 'scripts']);\n\n  gulp.watch('./lib/js/**/*.js',      ['scripts']);\n  gulp.watch('./lib/styles/**/*.css', ['styles']);\n\n});\n\ngulp.task('prod', ['clean'], function() {\n\n  global.isProd = true;\n\n  return runSequence(['styles', 'scripts']);\n\n});"
  },
  {
    "path": "index.js",
    "content": "'use strict';\n\nmodule.exports = {\n\n  Mixin: require('./dist/js/Mixin'),\n\n  Indicator: require('./dist/js/Indicator'),\n\n  Tooltip: require('./dist/js/Tooltip')\n\n};"
  },
  {
    "path": "lib/js/Indicator.js",
    "content": "'use strict';\n\nvar React = require('react/addons');\n\nvar Indicator = React.createClass({\n\n  propTypes: {\n    cssPosition: React.PropTypes.string.isRequired,\n    xPos: React.PropTypes.oneOfType([\n      React.PropTypes.number,\n      React.PropTypes.string\n    ]).isRequired,\n    yPos: React.PropTypes.oneOfType([\n      React.PropTypes.number,\n      React.PropTypes.string\n    ]).isRequired,\n    handleIndicatorClick: React.PropTypes.func.isRequired\n  },\n\n  getDefaultProps: function() {\n    return {\n      cssPosition: 'absolute',\n      xPos: -1000,\n      yPos: -1000\n    };\n  },\n\n  render: function() {\n    var styles = {\n      'position': this.props.cssPosition === 'fixed' ? 'fixed' : 'absolute',\n      'top': this.props.yPos,\n      'left': this.props.xPos\n    };\n\n    return (\n      <div className=\"tour-indicator\" style={styles} onClick={this.props.handleIndicatorClick} />\n    );\n  }\n\n});\n\nmodule.exports = Indicator;"
  },
  {
    "path": "lib/js/Mixin.js",
    "content": "'use strict';\n\nvar React     = require('react/addons');\nvar $         = require('jquery');\n\nvar Indicator = require('./Indicator');\nvar Tooltip   = require('./Tooltip');\n\nmodule.exports = function(settings, done) {\n\n  var mixin = {\n\n    settings: $.extend({\n      startIndex: 0,\n      scrollToSteps: true,\n      steps: []\n    }, settings),\n\n    completionCallback: done || function() {},\n\n    getInitialState: function() {\n      return {\n        currentIndex: this.settings.startIndex,\n        showTooltip: false,\n        xPos: -1000,\n        yPos: -1000\n      };\n    },\n\n    _renderLayer: function() {\n      // By calling this method in componentDidMount() and componentDidUpdate(), you're effectively\n      // creating a \"wormhole\" that funnels React's hierarchical updates through to a DOM node on an\n      // entirely different part of the page.\n      this.setState({ xPos: -1000, yPos: -1000 });\n      React.render(this.renderCurrentStep(), this._target);\n      this.calculatePlacement();\n    },\n\n    _unrenderLayer: function() {\n      React.unmountComponentAtNode(this._target);\n    },\n\n    componentDidUpdate: function(prevProps, prevState) {\n      var hasNewIndex = this.state.currentIndex !== prevState.currentIndex;\n      var hasNewStep = !!this.settings.steps[this.state.currentIndex];\n      var hasSteps =  this.settings.steps.length > 0;\n      var hasNewX = this.state.xPos !== prevState.xPos;\n      var hasNewY = this.state.yPos !== prevState.yPos;\n      var didToggleTooltip = this.state.showTooltip && this.state.showTooltip !== prevState.showTooltip;\n\n      if ( (hasNewIndex && hasNewStep) || didToggleTooltip || hasNewX || hasNewY ) {\n        this._renderLayer();\n      } else if ( hasSteps && hasNewIndex && !hasNewStep ) {\n        this.completionCallback();\n        this._unrenderLayer();\n      }\n    },\n\n    componentDidMount: function() {\n      // Appending to the body is easier than managing the z-index of everything on the page.\n      // It's also better for accessibility and makes stacking a snap (since components will stack\n      // in mount order).\n      this._target = document.createElement('div');\n      document.body.appendChild(this._target);\n\n      if ( this.settings.steps[this.state.currentIndex] ) {\n        this._renderLayer();\n      }\n      $(window).on('resize', this.calculatePlacement);\n    },\n\n    componentWillUnmount: function() {\n      this._unrenderLayer();\n      document.body.removeChild(this._target);\n      $(window).off('resize', this.calculatePlacement);\n    },\n\n    setTourSteps: function(steps, cb) {\n      if (!(steps instanceof Array)) {\n        return false;\n      }\n      cb = cb || function() {};\n      this.settings.steps = steps;\n\n      this.setState({\n        currentIndex: this.state.currentIndex < 0 ? 0 : this.state.currentIndex,\n        setTourSteps: steps.length\n      }, cb);\n    },\n\n    getUserTourProgress: function() {\n      return {\n        index: this.state.currentIndex,\n        percentageComplete: (this.state.currentIndex/this.settings.steps.length)*100,\n        step: this.settings.steps[this.state.currentIndex]\n      };\n    },\n\n    preventWindowOverflow: function(value, axis, elWidth, elHeight) {\n      var winWidth = parseInt($(window).width());\n      var docHeight = parseInt($(document).height());\n\n      if ( axis.toLowerCase() === 'x' ) {\n        if ( value + elWidth > winWidth ) {\n          console.log('right overflow. value:', value, 'elWidth:', elWidth);\n          value = winWidth - elWidth;\n        } else if ( value < 0 ) {\n          console.log('left overflow. value:', value, 'elWidth:', elWidth);\n          value = 0;\n        }\n      } else if ( axis.toLowerCase() === 'y' ) {\n        if ( value + elHeight > docHeight ) {\n          console.log('bottom overflow. value:', value, 'elHeight:', elHeight);\n          value = docHeight - elHeight;\n        } else if ( value < 0 ) {\n          console.log('top overflow. value:', value, 'elHeight:', elHeight);\n          value = 0;\n        }\n      }\n\n      return value;\n    },\n\n    calculatePlacement: function() {\n      var step = this.settings.steps[this.state.currentIndex];\n      var $target = $(step.element);\n      var offset = $target.offset();\n      var targetWidth = $target.outerWidth();\n      var targetHeight = $target.outerHeight();\n      var position = step.position.toLowerCase();\n      var topRegex = new RegExp('top', 'gi');\n      var bottomRegex = new RegExp('bottom', 'gi');\n      var leftRegex = new RegExp('left', 'gi');\n      var rightRegex = new RegExp('right', 'gi');\n      var $element = this.state.showTooltip ? $('.tour-tooltip') : $('.tour-indicator');\n      var elWidth = $element.outerWidth();\n      var elHeight = $element.outerHeight();\n      var placement = {\n        x: -1000,\n        y: -1000\n      };\n\n      // Calculate x position\n      if ( leftRegex.test(position) ) {\n        placement.x = offset.left - elWidth/2;\n      } else if ( rightRegex.test(position) ) {\n        placement.x = offset.left + targetWidth - elWidth/2;\n      } else {\n        placement.x = offset.left + targetWidth/2 - elWidth/2;\n      }\n\n      // Calculate y position\n      if ( topRegex.test(position) ) {\n        placement.y = offset.top - elHeight/2;\n      } else if ( bottomRegex.test(position) ) {\n        placement.y = offset.top + targetHeight - elHeight/2;\n      } else {\n        placement.y = offset.top + targetHeight/2 - elHeight/2;\n      }\n\n      this.setState({\n        xPos: this.preventWindowOverflow(placement.x, 'x', elWidth, elHeight),\n        yPos: this.preventWindowOverflow(placement.y, 'y', elWidth, elHeight)\n      });\n    },\n\n    handleIndicatorClick: function(evt) {\n      evt.preventDefault();\n\n      this.setState({ showTooltip: true });\n    },\n\n    closeTooltip: function(evt) {\n      evt.preventDefault();\n\n      this.setState({\n        showTooltip: false,\n        currentIndex: this.state.currentIndex + 1\n      }, this.scrollToNextStep);\n    },\n\n    scrollToNextStep: function() {\n      var $nextIndicator = $('.tour-indicator');\n\n      if ( $nextIndicator && $nextIndicator.length && this.settings.scrollToSteps ) {\n        $('html, body').animate({\n          'scrollTop': $nextIndicator.offset().top - $(window).height()/2\n        }, 500);\n      }\n    },\n\n    renderCurrentStep: function() {\n      var element = null;\n      var currentStep = this.settings.steps[this.state.currentIndex];\n      var $target = currentStep && currentStep.element ? $(currentStep.element) : null;\n      var cssPosition = $target ? $target.css('position') : null;\n\n      if ( $target && $target.length ) {\n        if ( this.state.showTooltip ) {\n          element = (\n            <Tooltip cssPosition={cssPosition}\n                     xPos={this.state.xPos}\n                     yPos={this.state.yPos}\n                     text={currentStep.text}\n                     closeTooltip={this.closeTooltip}\n                     closeButtonText={currentStep.closeButtonText} />\n          );\n        } else {\n          element = (\n            <Indicator cssPosition={cssPosition}\n                       xPos={this.state.xPos}\n                       yPos={this.state.yPos}\n                       handleIndicatorClick={this.handleIndicatorClick} />\n          );\n        }\n      }\n\n      return element;\n    }\n\n  };\n\n  return mixin;\n\n};\n"
  },
  {
    "path": "lib/js/Tooltip.js",
    "content": "'use strict';\n\nvar React = require('react/addons');\n\nvar Tooltip = React.createClass({\n\n  propTypes: {\n    cssPosition: React.PropTypes.string.isRequired,\n    xPos: React.PropTypes.oneOfType([\n      React.PropTypes.number,\n      React.PropTypes.string\n    ]).isRequired,\n    yPos: React.PropTypes.oneOfType([\n      React.PropTypes.number,\n      React.PropTypes.string\n    ]).isRequired,\n    text: React.PropTypes.string.isRequired,\n    closeButtonText: React.PropTypes.string,\n    closeTooltip: React.PropTypes.func.isRequired\n  },\n\n  getDefaultProps: function() {\n    return {\n      cssPosition: 'absolute',\n      xPos: -1000,\n      yPos: -1000,\n      text: ''\n    };\n  },\n\n  render: function() {\n    var styles = {\n      'position': this.props.cssPosition === 'fixed' ? 'fixed' : 'absolute',\n      'top': this.props.yPos,\n      'left': this.props.xPos\n    };\n\n    return (\n      <div>\n        <div className=\"tour-backdrop\" onClick={this.props.closeTooltip} />\n        <div className=\"tour-tooltip\" style={styles}>\n          <p>{this.props.text || ''}</p>\n          <div className=\"tour-btn close\" onClick={this.props.closeTooltip}>\n            {this.props.closeButtonText || 'Close'}\n          </div>\n        </div>\n      </div>\n    );\n  }\n\n});\n\nmodule.exports = Tooltip;\n"
  },
  {
    "path": "lib/styles/tour-guide.css",
    "content": ".tour-indicator {\n  height: 30px;\n  width: 30px;\n  -webkit-border-radius: 100%;\n  -moz-border-radius: 100%;\n  border-radius: 100%;\n\n  background-color: #3f94d0;\n  cursor: pointer;\n\n  /* Animate */\n  -webkit-animation-name: pulse;\n  -webkit-animation-duration: 1.5s;\n  -webkit-animation-iteration-count: infinite;\n  -webkit-animation-timing-function: ease-out;\n  -moz-animation-name: pulse;\n  -moz-animation-duration: 1.5s;\n  -moz-animation-iteration-count: infinite;\n  -moz-animation-timing-function: ease-out;\n  -o-animation-name: pulse;\n  -o-animation-duration: 1.5s;\n  -o-animation-iteration-count: infinite;\n  -o-animation-timing-function: ease-out;\n  animation-name: pulse;\n  animation-duration: 1.5s;\n  animation-iteration-count: infinite;\n  animation-timing-function: ease-out;\n}\n\n/* WebKit/Safari and Chrome */\n@-webkit-keyframes pulse {\n  0% {\n    -webkit-transform: scale(1);\n    transform: scale(1);\n  }\n\n  80% {\n    -webkit-transform: scale(1.5);\n    transform: scale(1.5);\n  }\n\n  100% {\n    -webkit-transform: scale(2.5);\n    transform: scale(2.5);\n    opacity: 0;\n  }\n}\n/* Gecko/Firefox */\n@-moz-keyframes pulse {\n  0% {\n    -moz-transform: scale(0.3);\n    transform: scale(0.3);\n    opacity: 0.5;\n  }\n\n  80% {\n    -moz-transform: scale(1.5);\n    transform: scale(1.5);\n    opacity: 0;\n  }\n\n  100% {\n    -moz-transform: scale(2.5);\n    transform: scale(2.5);\n    opacity: 0;\n  }\n}\n/* Presto/Opera */\n@-o-keyframes pulse {\n  0% {\n    -o-transform: scale(0.3);\n    transform: scale(0.3);\n    opacity: 0.5;\n  }\n\n  80% {\n    -o-transform: scale(1.5);\n    transform: scale(1.5);\n    opacity: 0;\n  }\n\n  100% {\n    -o-transform: scale(2.5);\n    transform: scale(2.5);\n    opacity: 0;\n  }\n}\n/* Standard */\n@keyframes pulse {\n  0% {\n    transform: scale(0.3);\n    opacity: 0.5;\n  }\n\n  80% {\n    transform: scale(1.5);\n    opacity: 0;\n  }\n\n  100% {\n    transform: scale(2.5);\n    opacity: 0;\n  }\n}\n\n.tour-backdrop {\n  z-index: 998; /* one below z-index of tour-toolip (999) */\n  position: fixed;\n  top: 0;\n  right: 0;\n  bottom: 0;\n  left: 0;\n\n  text-align: center;\n  background: rgba(0, 0, 0, 0.45);\n}\n\n.tour-tooltip {\n  z-index: 999;\n  width: 250px;\n  background-color: #ffffff;\n  color: #545454;\n  border: 1px solid #dddddd;\n  -webkit-border-radius: 4px;\n  -moz-border-radius: 4px;\n  border-radius: 4px;\n  padding: 5px;\n  -webkit-box-shadow: 0 8px 6px -6px rgba(0,0,0,0.4);\n  -moz-box-shadow: 0 8px 6px -6px rgba(0,0,0,0.4);\n  box-shadow: 0 8px 6px -6px rgba(0,0,0,0.4);\n}\n\n  .tour-tooltip p {\n    margin: 5px 3px;\n  }\n\n  .tour-tooltip .tour-btn.close {\n    cursor: pointer;\n    display: block;\n    width: auto;\n    margin: 0 auto;\n    background-color: #ffffff;\n    border: 1px solid #dddddd;\n    -webkit-border-radius: 4px;\n    -moz-border-radius: 4px;\n    border-radius: 4px;\n    padding: 3px;\n    text-align: center;\n  }\n\n    .tour-tooltip .tour-btn.close:hover {\n      border-color: #3f94d0;\n      color: #3f94d0;\n    }"
  },
  {
    "path": "package.json",
    "content": "{\n  \"name\": \"react-tour-guide\",\n  \"version\": \"0.0.8\",\n  \"author\": \"Jake Marsh <jakemmarsh@gmail.com>\",\n  \"description\": \"A ReactJS mixin to give new users a popup-based tour of your application.\",\n  \"repository\": {\n    \"type\": \"git\",\n    \"url\": \"https://github.com/jakemmarsh/react-tour-guide.git\"\n  },\n  \"private\": false,\n  \"license\": \"MIT\",\n  \"keywords\": [\n    \"ReactJS\",\n    \"react\",\n    \"tour\",\n    \"walkthrough\",\n    \"guide\"\n  ],\n  \"engines\": {\n    \"node\": \">=0.12.x\"\n  },\n  \"dependencies\": {\n    \"jquery\": \"^2.1.3\",\n    \"react\": \"^0.13.1\"\n  },\n  \"devDependencies\": {\n    \"del\": \"^1.1.1\",\n    \"gulp\": \"^3.8.11\",\n    \"gulp-if\": \"^1.2.5\",\n    \"gulp-react\": \"^3.0.0\",\n    \"gulp-strip-debug\": \"^1.0.2\",\n    \"run-sequence\": \"^1.0.2\"\n  },\n  \"scripts\": {\n    \"prepublish\": \"gulp prod\"\n  }\n}\n"
  }
]